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

/* Base styles for the page content */
.page-resources-popular-game-tips {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Default text color for light backgrounds */
    background-color: var(--background-color, #ffffff); /* Inherit from shared, default to white */
}

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

/* Section Styling */
.page-resources-popular-game-tips__section-title {
    font-size: 2.5em;
    color: #017439;
    text-align: center;
    margin-bottom: 20px;
    font-weight: bold;
}

.page-resources-popular-game-tips__section-description {
    font-size: 1.1em;
    color: #555555;
    text-align: center;
    margin-bottom: 40px;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

/* Dark Background Section */
.page-resources-popular-game-tips__dark-bg {
    background-color: #017439; /* Main brand color */
    color: #ffffff;
    padding: 60px 0;
}

.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__section-title,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__section-description,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__card-title,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__card-text,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__cta-banner-title,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__cta-banner-text,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__strategy-title,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__strategy-text,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__login-register-title,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__login-register-text,
.page-resources-popular-game-tips__dark-bg .page-resources-popular-game-tips__faq-title {
    color: #ffffff;
}

/* Light Background Section */
.page-resources-popular-game-tips__light-bg {
    background-color: #f8f8f8; /* Light grey for contrast */
    color: #333333;
    padding: 60px 0;
}

/* Hero Section */
.page-resources-popular-game-tips__hero-section {
    position: relative;
    width: 100%;
    height: 70vh; /* Adjust height as needed */
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    overflow: hidden;
    padding-top: var(--header-offset, 120px); /* Fixed header offset */
}

.page-resources-popular-game-tips__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -1;
}

.page-resources-popular-game-tips__hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.6);
    display: flex;
    align-items: center;
    justify-content: center;
}

.page-resources-popular-game-tips__hero-content {
    max-width: 800px;
    color: #ffffff;
    padding: 20px;
}

.page-resources-popular-game-tips__main-title {
    font-size: 3.5em;
    margin-bottom: 20px;
    line-height: 1.2;
    font-weight: bold;
    color: #FFFFFF; /* Ensure high contrast */
}

.page-resources-popular-game-tips__intro-text {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #f0f0f0;
}

/* CTA Buttons */
.page-resources-popular-game-tips__cta-button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, transform 0.3s ease;
    cursor: pointer;
    text-align: center;
    white-space: normal;
    word-wrap: break-word;
    box-sizing: border-box;
}

.page-resources-popular-game-tips__cta-button--register {
    background-color: #C30808; /* Register button color */
    color: #FFFF00; /* Register button text color */
    border: 2px solid #C30808;
}

.page-resources-popular-game-tips__cta-button--register:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

.page-resources-popular-game-tips__cta-button--highlight {
    background-color: #C30808; /* Highlight button color */
    color: #FFFF00; /* Highlight button text color */
    border: 2px solid #C30808;
}

.page-resources-popular-game-tips__cta-button--highlight:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

.page-resources-popular-game-tips__btn-login {
    background-color: #C30808; /* Login button color */
    color: #FFFF00; /* Login button text color */
    border: 2px solid #C30808;
    margin-right: 15px;
}

.page-resources-popular-game-tips__btn-login:hover {
    background-color: #e02020;
    transform: translateY(-2px);
}

.page-resources-popular-game-tips__btn-register {
    background-color: #017439; /* Secondary brand color for register */
    color: #FFFFFF;
    border: 2px solid #017439;
}

.page-resources-popular-game-tips__btn-register:hover {
    background-color: #005f2e;
    transform: translateY(-2px);
}

.page-resources-popular-game-tips__cta-button--primary {
    background-color: #017439;
    color: #ffffff;
    border: 2px solid #017439;
    margin-right: 15px;
}

.page-resources-popular-game-tips__cta-button--primary:hover {
    background-color: #005f2e;
    transform: translateY(-2px);
}

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

.page-resources-popular-game-tips__cta-button--secondary:hover {
    background-color: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* Video Section */
.page-resources-popular-game-tips__video-section {
    padding: 60px 0;
    background-color: #f0f0f0;
    position: relative;
    padding-top: calc(60px + var(--header-offset, 120px)); /* Ensure video section starts below header */
}

.page-resources-popular-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;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-resources-popular-game-tips__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 10px;
    cursor: pointer;
}

.page-resources-popular-game-tips__video-overlay-link {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 10;
    cursor: pointer;
}

/* Game Types Section */
.page-resources-popular-game-tips__game-types-section {
    padding: 80px 0;
}

.page-resources-popular-game-tips__game-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-resources-popular-game-tips__card {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-resources-popular-game-tips__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-popular-game-tips__card-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    display: block;
}

.page-resources-popular-game-tips__card-title {
    font-size: 1.5em;
    padding: 15px 20px 0;
    margin-bottom: 10px;
    color: #017439;
    font-weight: bold;
}

.page-resources-popular-game-tips__card-title a {
    color: #017439;
    text-decoration: none;
}

.page-resources-popular-game-tips__card-title a:hover {
    text-decoration: underline;
}

.page-resources-popular-game-tips__card-text {
    font-size: 0.95em;
    padding: 0 20px 15px;
    color: #555555;
}

.page-resources-popular-game-tips__card-button {
    display: block;
    width: calc(100% - 40px);
    margin: 0 20px 20px;
    padding: 10px 15px;
    background-color: #017439;
    color: #ffffff;
    text-align: center;
    text-decoration: none;
    border-radius: 5px;
    transition: background-color 0.3s ease;
    font-weight: bold;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-resources-popular-game-tips__card-button:hover {
    background-color: #005f2e;
}

/* CTA Banner within game types section */
.page-resources-popular-game-tips__cta-banner {
    position: relative;
    border-radius: 10px;
    overflow: hidden;
    margin-top: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 250px;
    background-color: #C30808; /* Fallback color */
}

.page-resources-popular-game-tips__cta-banner-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0.7; /* Slightly dim image to make text pop */
    z-index: 1;
}

.page-resources-popular-game-tips__cta-banner-content {
    position: relative;
    z-index: 2;
    text-align: center;
    color: #FFFF00; /* Text color for the banner */
    padding: 30px;
    max-width: 800px;
}

.page-resources-popular-game-tips__cta-banner-title {
    font-size: 2.2em;
    margin-bottom: 15px;
    font-weight: bold;
    color: #FFFF00;
}

.page-resources-popular-game-tips__cta-banner-text {
    font-size: 1.1em;
    margin-bottom: 25px;
    color: #f0f0f0;
}

/* Strategy Section */
.page-resources-popular-game-tips__strategy-section {
    padding: 80px 0;
    background-color: #f8f8f8;
}

.page-resources-popular-game-tips__strategy-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.page-resources-popular-game-tips__strategy-item {
    background-color: #ffffff;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    padding-bottom: 20px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: #333333;
}

.page-resources-popular-game-tips__strategy-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.page-resources-popular-game-tips__strategy-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    display: block;
    margin-bottom: 15px;
}

.page-resources-popular-game-tips__strategy-title {
    font-size: 1.4em;
    padding: 0 20px;
    margin-bottom: 10px;
    color: #017439;
    font-weight: bold;
}

.page-resources-popular-game-tips__strategy-text {
    font-size: 0.95em;
    padding: 0 20px;
    color: #555555;
}

.page-resources-popular-game-tips__login-register-promo {
    text-align: center;
    background-color: #ffffff;
    padding: 40px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    max-width: 900px;
    margin: 0 auto;
}

.page-resources-popular-game-tips__login-register-title {
    font-size: 2em;
    color: #017439;
    margin-bottom: 15px;
}

.page-resources-popular-game-tips__login-register-text {
    font-size: 1.1em;
    color: #555555;
    margin-bottom: 30px;
}

.page-resources-popular-game-tips__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap; /* Allow wrapping on small screens */
}

/* FAQ Section */
.page-resources-popular-game-tips__faq-section {
    padding: 80px 0;
}

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

.page-resources-popular-game-tips__faq-item {
    background-color: #ffffff;
    border: 1px solid #e0e0e0;
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.05);
}

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

.page-resources-popular-game-tips__faq-question:hover {
    background-color: #f0f0f0;
}

.page-resources-popular-game-tips__faq-title {
    font-size: 1.15em;
    margin: 0;
    color: #017439;
}

.page-resources-popular-game-tips__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    transition: transform 0.3s ease;
    color: #017439;
}

.page-resources-popular-game-tips__faq-item.active .page-resources-popular-game-tips__faq-toggle {
    transform: rotate(45deg); /* Plus to X / Minus */
}

.page-resources-popular-game-tips__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 25px; /* Initial padding-left/right, top/bottom will be 0 */
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: #555555;
}

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

.page-resources-popular-game-tips__faq-answer p {
    margin: 0;
    padding: 0;
}

/* Conclusion Section */
.page-resources-popular-game-tips__conclusion-section {
    padding: 80px 0;
    text-align: center;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-resources-popular-game-tips__main-title {
        font-size: 3em;
    }
    .page-resources-popular-game-tips__section-title {
        font-size: 2em;
    }
    .page-resources-popular-game-tips__hero-section {
        height: 60vh;
    }
}

@media (max-width: 768px) {
    .page-resources-popular-game-tips__hero-section {
        height: 50vh;
        padding-top: var(--header-offset, 120px) !important; /* Ensure header offset on mobile */
    }

    .page-resources-popular-game-tips__main-title {
        font-size: 2.2em;
    }

    .page-resources-popular-game-tips__intro-text {
        font-size: 1em;
    }

    .page-resources-popular-game-tips__section-title {
        font-size: 1.8em;
    }

    .page-resources-popular-game-tips__section-description {
        font-size: 0.95em;
        margin-bottom: 25px;
    }

    .page-resources-popular-game-tips__cta-button {
        padding: 12px 25px;
        font-size: 1em;
        max-width: 100% !important;
        width: 100% !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}