/* Base styles for the terms-conditions page */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    color: #FFF6D6; /* Text Main */
    background-color: #0A0A0A; /* Background */
    line-height: 1.6;
}

.page-terms-conditions__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}

.page-terms-conditions__hero-section {
    position: relative;
    width: 100%;
    padding-top: 10px; /* Small top padding as body handles header offset */
    margin-bottom: 40px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    max-height: 675px; /* Limit height for hero image */
}

.page-terms-conditions__hero-content {
    padding: 40px 20px;
    max-width: 900px;
    margin-top: -100px; /* Overlap slightly for visual effect, but text is below image in DOM */
    position: relative;
    z-index: 1;
    background: rgba(17, 17, 17, 0.85); /* Card BG with transparency */
    border-radius: 10px;
    border: 1px solid #3A2A12; /* Border */
    box-shadow: 0 0 20px rgba(242, 193, 78, 0.3);
}

.page-terms-conditions__main-title {
    font-size: clamp(2em, 4vw, 3.5em);
    color: #F2C14E; /* Main color */
    margin-bottom: 20px;
    font-weight: bold;
    line-height: 1.2;
    text-shadow: 0 0 8px rgba(255, 211, 107, 0.6);
}

.page-terms-conditions__description {
    font-size: 1.1em;
    color: #FFF6D6;
    margin-bottom: 30px;
}

.page-terms-conditions__cta-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: center;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-terms-conditions__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #111111;
    border: none;
    box-shadow: 0 4px 15px rgba(242, 193, 78, 0.4);
}

.page-terms-conditions__btn-primary:hover {
    opacity: 0.9;
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(242, 193, 78, 0.6);
}

.page-terms-conditions__btn-secondary {
    background: transparent;
    color: #FFD36B; /* Glow color */
    border: 2px solid #FFD36B;
}

.page-terms-conditions__btn-secondary:hover {
    background: #FFD36B;
    color: #111111;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-terms-conditions__dark-section {
    background-color: #0A0A0A; /* Ensure consistency with body background */
    padding: 60px 0;
}

.page-terms-conditions__content-area {
    padding-top: 0;
}

.page-terms-conditions__section-title {
    font-size: 2.5em;
    color: #F2C14E;
    margin-bottom: 30px;
    text-align: center;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(255, 211, 107, 0.4);
}

.page-terms-conditions__sub-title {
    font-size: 1.8em;
    color: #FFD36B;
    margin-top: 40px;
    margin-bottom: 15px;
    font-weight: bold;
}

.page-terms-conditions p {
    font-size: 1.05em;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-terms-conditions__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #FFF6D6;
}

.page-terms-conditions__list li {
    margin-bottom: 10px;
}

.page-terms-conditions__inline-link {
    color: #FFD36B;
    text-decoration: underline;
}

.page-terms-conditions__inline-link:hover {
    color: #F2C14E;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    max-width: 800px;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    border: 1px solid #3A2A12;
}

.page-terms-conditions__faq-section {
    padding-bottom: 80px;
}

.page-terms-conditions__faq-list {
    margin-top: 40px;
}

.page-terms-conditions__faq-item {
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border */
    border-radius: 10px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    font-size: 1.2em;
    font-weight: bold;
    color: #F2C14E;
    background-color: #1a1a1a;
    border-bottom: 1px solid #3A2A12;
    list-style: none;
}

.page-terms-conditions__faq-question::-webkit-details-marker {
    display: none;
}

.page-terms-conditions__faq-question .page-terms-conditions__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: #FFD36B;
    transition: transform 0.3s ease;
}

.page-terms-conditions__faq-item[open] .page-terms-conditions__faq-question .page-terms-conditions__faq-toggle {
    transform: rotate(45deg);
}

.page-terms-conditions__faq-answer {
    padding: 20px;
    font-size: 1.05em;
    color: #FFF6D6;
    background-color: #111111; /* Card BG */
}

.page-terms-conditions__copyright {
    text-align: center;
    padding: 20px;
    font-size: 0.9em;
    color: #FFF6D6;
    border-top: 1px solid #3A2A12;
    margin-top: 40px;
}

/* Ensure all images are responsive */
.page-terms-conditions img {
    max-width: 100%;
    height: auto;
    display: block;
}

/* Mobile responsiveness */
@media (max-width: 768px) {
    .page-terms-conditions {
        font-size: 15px;
    }

    .page-terms-conditions__container {
        padding: 15px;
        max-width: 100%;
        width: 100%;
        box-sizing: border-box;
    }

    .page-terms-conditions__hero-section {
        padding-top: 10px;
        margin-bottom: 20px;
    }

    .page-terms-conditions__hero-content {
        padding: 25px 15px;
        margin-top: -60px;
    }

    .page-terms-conditions__main-title {
        font-size: 2em;
        margin-bottom: 15px;
    }

    .page-terms-conditions__description {
        font-size: 1em;
        margin-bottom: 20px;
    }

    .page-terms-conditions__cta-buttons {
        flex-direction: column;
        gap: 15px;
        width: 100%;
        max-width: 100%;
        box-sizing: border-box;
        padding: 0 15px;
    }

    .page-terms-conditions__btn-primary,
    .page-terms-conditions__btn-secondary {
        max-width: 100% !important;
        width: 100% !important;
        padding: 12px 20px;
        font-size: 1em;
        white-space: normal !important;
        word-wrap: break-word !important;
    }

    .page-terms-conditions__dark-section {
        padding: 40px 0;
    }

    .page-terms-conditions__section-title {
        font-size: 2em;
        margin-bottom: 20px;
    }

    .page-terms-conditions__sub-title {
        font-size: 1.5em;
        margin-top: 30px;
        margin-bottom: 10px;
    }

    .page-terms-conditions p,
    .page-terms-conditions__list li {
        font-size: 0.95em;
    }

    .page-terms-conditions__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        margin: 20px auto;
    }

    .page-terms-conditions__faq-question {
        padding: 15px;
        font-size: 1.1em;
    }

    .page-terms-conditions__faq-answer {
        padding: 15px;
    }

    .page-terms-conditions__copyright {
        padding: 15px;
        margin-top: 20px;
    }

    /* Generic image and container rules for mobile */
    .page-terms-conditions img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-terms-conditions__section,
    .page-terms-conditions__card,
    .page-terms-conditions__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }
    /* Placeholder for other homepage sections, ensuring they are not here, but if they were, they'd have mobile rules */
    /* .page-terms-conditions__home-content {} */
    /* .page-terms-conditions__slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; } */
    /* .page-terms-conditions__banners-top-wrapper { grid-template-columns: repeat(2, 1fr); } */
    /* .page-terms-conditions__blog-masonry { grid-template-columns: 1fr; } */
    /* .page-terms-conditions__blog-slider-track { display: flex; flex-wrap: nowrap; overflow-x: auto; } */
}

/* Placeholder for other homepage sections, ensuring they are not here, but if they were, they'd have desktop rules */
/* .page-terms-conditions__home-content {} */
/* .page-terms-conditions__row-games, .page-terms-conditions__row-sport, .page-terms-conditions__row-coop {} */
/* .page-terms-conditions__games-title, .page-terms-conditions__sport-title, .page-terms-conditions__coop-title {} */
/* .page-terms-conditions__slider-wrapper {} */
/* .page-terms-conditions__slider-track {} */
/* .page-terms-conditions__game-slide {} */
/* .page-terms-conditions__banners-top-wrapper {} */
/* .page-terms-conditions__banner-item img {} */
/* .page-terms-conditions__blog-masonry {} */
/* .page-terms-conditions__blog-card-link {} */
/* .page-terms-conditions__btn-outline {} */
/* .page-terms-conditions__blog-slider-track {} */
/* .page-terms-conditions__blog-slide {} */