/* style/resources-game-tips.css */

/* Base Styles & Typography */
.page-resources-game-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #ffffff; /* Body background is dark #121212, so use light text */
    background-color: transparent; /* Inherit from body */
}

.page-resources-game-tips__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-resources-game-tips__section-title {
    font-size: 36px;
    color: #26A9E0;
    text-align: center;
    margin-bottom: 40px;
    font-weight: bold;
}

.page-resources-game-tips__section-title--light {
    color: #ffffff;
}

.page-resources-game-tips__text-block {
    font-size: 17px;
    margin-bottom: 20px;
    line-height: 1.8;
    text-align: justify;
}

.page-resources-game-tips__text-block--light {
    color: #f0f0f0;
}

/* Hero Section */
.page-resources-game-tips__hero-section {
    position: relative;
    padding: 100px 0;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: linear-gradient(135deg, #26A9E0 0%, #1a7bb5 100%);
    color: #ffffff;
    padding-top: var(--header-offset, 120px); /* Fixed header spacing */
}

.page-resources-game-tips__hero-title {
    font-size: 48px;
    margin-bottom: 20px;
    font-weight: 900;
    line-height: 1.2;
}

.page-resources-game-tips__hero-description {
    font-size: 20px;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Buttons */
.page-resources-game-tips__btn-primary,
.page-resources-game-tips__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 18px;
    transition: all 0.3s ease;
    cursor: pointer;
    margin: 10px;
    box-sizing: border-box;
    text-align: center;
}

.page-resources-game-tips__btn-primary {
    background-color: #EA7C07; /* Login color */
    color: #ffffff;
    border: 2px solid #EA7C07;
}

.page-resources-game-tips__btn-primary:hover {
    background-color: #d16b05;
    border-color: #d16b05;
}

.page-resources-game-tips__btn-secondary {
    background-color: transparent;
    color: #ffffff;
    border: 2px solid #ffffff;
}

.page-resources-game-tips__btn-secondary:hover {
    background-color: #ffffff;
    color: #26A9E0;
}

.page-resources-game-tips__cta-buttons {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 40px;
}

/* Content Sections */
.page-resources-game-tips__content-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for content */
    color: #ffffff;
}

.page-resources-game-tips__image-wrapper {
    margin-bottom: 30px;
    text-align: center;
}

.page-resources-game-tips__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    display: block;
    margin: 0 auto;
}

/* Video Section */
.page-resources-game-tips__video-section {
    padding: 60px 0;
    background-color: #121212; /* Dark background */
    color: #ffffff;
    text-align: center;
}

.page-resources-game-tips__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    max-width: 100%;
    background: #000;
    margin: 0 auto 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.page-resources-game-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    cursor: pointer;
}

/* FAQ Section */
.page-resources-game-tips__faq-section {
    padding: 60px 0;
    background-color: #1a1a1a; /* Dark background for content */
    color: #ffffff;
}

.page-resources-game-tips__faq-list {
    max-width: 800px;
    margin: 0 auto;
}

.page-resources-game-tips__faq-item {
    background-color: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.page-resources-game-tips__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-size: 18px;
    font-weight: bold;
    color: #ffffff;
    transition: background-color 0.3s ease;
}

.page-resources-game-tips__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.1);
}

.page-resources-game-tips__faq-question h3 {
    margin: 0;
    color: inherit;
    font-size: 18px;
}

.page-resources-game-tips__faq-toggle {
    font-size: 24px;
    font-weight: bold;
    color: #26A9E0;
    transition: transform 0.3s ease;
}

.page-resources-game-tips__faq-item.active .page-resources-game-tips__faq-toggle {
    transform: rotate(0deg);
}

.page-resources-game-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #f0f0f0;
}

.page-resources-game-tips__faq-item.active .page-resources-game-tips__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 15px 25px;
}

.page-resources-game-tips__faq-answer p {
    margin: 0;
    font-size: 16px;
    line-height: 1.7;
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-resources-game-tips__hero-title {
        font-size: 40px;
    }
    .page-resources-game-tips__hero-description {
        font-size: 18px;
    }
    .page-resources-game-tips__section-title {
        font-size: 30px;
    }
}

@media (max-width: 768px) {
    .page-resources-game-tips__hero-section {
        padding: 80px 0;
    }
    .page-resources-game-tips__hero-title {
        font-size: 32px;
    }
    .page-resources-game-tips__hero-description {
        font-size: 16px;
    }
    .page-resources-game-tips__section-title {
        font-size: 26px;
        margin-bottom: 30px;
    }
    .page-resources-game-tips__text-block {
        font-size: 16px;
        line-height: 1.7;
    }
    .page-resources-game-tips__btn-primary,
    .page-resources-game-tips__btn-secondary {
        padding: 12px 25px;
        font-size: 16px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        margin: 5px 0;
    }
    .page-resources-game-tips__cta-buttons {
        flex-direction: column;
        gap: 10px;
        padding: 0 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-game-tips__container {
        padding: 0 15px;
        width: 100%;
        max-width: 100% !important;
        box-sizing: border-box !important;
        overflow: hidden !important;
    }
    .page-resources-game-tips img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    .page-resources-game-tips__image-wrapper,
    .page-resources-game-tips__video-wrapper {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding: 0 15px;
        overflow: hidden !important;
    }
    .page-resources-game-tips__video-section {
        padding-top: var(--header-offset, 120px) !important; /* Ensure video section has correct top padding on mobile */
    }
    .page-resources-game-tips__faq-question {
        padding: 15px 20px;
        font-size: 16px;
    }
    .page-resources-game-tips__faq-answer {
        padding: 0 20px;
    }
    .page-resources-game-tips__faq-item.active .page-resources-game-tips__faq-answer {
        padding: 10px 20px;
    }
    .page-resources-game-tips__content-section,
    .page-resources-game-tips__video-section,
    .page-resources-game-tips__faq-section {
        padding: 40px 0;
    }
}

@media (max-width: 480px) {
    .page-resources-game-tips__hero-title {
        font-size: 28px;
    }
    .page-resources-game-tips__hero-description {
        font-size: 15px;
    }
    .page-resources-game-tips__section-title {
        font-size: 22px;
    }
}