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

.page-terms-conditions__hero-section {
    position: relative;
    padding-top: 10px; /* Small top padding as body handles header offset */
    padding-bottom: 40px;
    text-align: center;
    overflow: hidden;
    background: linear-gradient(180deg, #1A1A1A 0%, #0A0A0A 100%);
}

.page-terms-conditions__hero-image {
    max-width: 100%;
    height: auto;
    display: block;
    margin: 0 auto;
    object-fit: cover;
}

.page-terms-conditions__hero-content {
    max-width: 900px;
    margin: 30px auto 0;
    padding: 0 20px;
    z-index: 1;
    position: relative;
}

.page-terms-conditions__main-title {
    font-size: 48px;
    font-weight: bold;
    color: #FFD36B; /* Glow color for emphasis */
    margin-bottom: 20px;
    line-height: 1.2;
    text-shadow: 0 0 10px rgba(255, 211, 107, 0.6);
}

.page-terms-conditions__intro-text {
    font-size: 18px;
    color: #FFF6D6;
    margin-bottom: 30px;
}

.page-terms-conditions__content-section {
    padding: 60px 0;
    background-color: #0A0A0A;
}

.page-terms-conditions__container {
    max-width: 1000px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

.page-terms-conditions__section-title {
    font-size: 32px;
    color: #F2C14E; /* Main color */
    margin-top: 40px;
    margin-bottom: 20px;
    border-bottom: 2px solid #3A2A12; /* Border color */
    padding-bottom: 10px;
    text-shadow: 0 0 5px rgba(242, 193, 78, 0.4);
}

.page-terms-conditions__sub-title {
    font-size: 24px;
    color: #FFD36B; /* Auxiliary color */
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-terms-conditions p {
    margin-bottom: 15px;
    color: #FFF6D6;
}

.page-terms-conditions strong {
    color: #F2C14E;
}

.page-terms-conditions a {
    color: #FFD36B;
    text-decoration: underline;
}

.page-terms-conditions a:hover {
    color: #F2C14E;
    text-decoration: none;
}

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

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

.page-terms-conditions__image-wrapper {
    margin: 30px 0;
    text-align: center;
}

.page-terms-conditions__content-image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 0 15px rgba(242, 193, 78, 0.3);
}

/* FAQ Styles */
details.page-terms-conditions__faq-item {
    margin-bottom: 15px;
    border-radius: 8px;
    overflow: hidden;
    background: #111111; /* Card BG color */
    border: 1px solid #3A2A12; /* Border color */
}
details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 20px;
    cursor: pointer;
    user-select: none;
    list-style: none;
    transition: background-color 0.3s ease;
    color: #FFD36B; /* Auxiliary color for question text */
}
details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question::-webkit-details-marker {
    display: none;
}
details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question:hover {
    background: #1A1A1A; /* Slightly lighter dark for hover */
}
.page-terms-conditions__faq-qtext {
    flex: 1;
    font-size: 18px;
    font-weight: 600;
    line-height: 1.5;
    text-align: left;
    color: #FFF6D6; /* Text Main color */
}
.page-terms-conditions__faq-toggle {
    font-size: 28px; /* Larger for dark theme */
    font-weight: bold;
    color: #F2C14E; /* Main color for toggle */
    flex-shrink: 0;
    margin-left: 15px;
    width: 32px; /* Larger toggle */
    text-align: center;
}
details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
    padding: 0 20px 20px;
    background: #0A0A0A; /* Background color for answer */
    border-radius: 0 0 8px 8px;
    color: #FFF6D6; /* Text Main color */
}
.page-terms-conditions__faq-answer p {
    color: #FFF6D6;
}

.page-terms-conditions__cta-wrapper {
    text-align: center;
    margin-top: 50px;
    padding-top: 30px;
    border-top: 1px solid #3A2A12; /* Border color */
}

.page-terms-conditions__cta-wrapper p {
    font-size: 20px;
    margin-bottom: 25px;
    color: #FFF6D6;
}

.page-terms-conditions__btn-primary,
.page-terms-conditions__btn-secondary {
    display: inline-block;
    padding: 15px 30px;
    font-size: 18px;
    font-weight: bold;
    text-decoration: none;
    border-radius: 50px;
    transition: all 0.3s ease;
    cursor: pointer;
    box-sizing: border-box;
    max-width: 100%; /* For responsiveness */
    white-space: normal; /* Allow text wrap */
    word-wrap: break-word; /* Allow text wrap */
}

.page-terms-conditions__btn-primary {
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%); /* Button color */
    color: #ffffff;
    border: none;
    margin-right: 20px;
    box-shadow: 0 5px 15px rgba(255, 216, 106, 0.4);
}

.page-terms-conditions__btn-primary:hover {
    background: linear-gradient(180deg, #FFE082 0%, #E6AE2C 100%);
    box-shadow: 0 8px 20px rgba(255, 216, 106, 0.6);
    transform: translateY(-2px);
}

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

.page-terms-conditions__btn-secondary:hover {
    background: #F2C14E;
    color: #0A0A0A;
    box-shadow: 0 5px 15px rgba(242, 193, 78, 0.3);
    transform: translateY(-2px);
}

/* Responsive styles for mobile */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-top: 10px !important; /* Ensure small top padding */
        padding-bottom: 30px;
    }

    .page-terms-conditions__hero-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }

    .page-terms-conditions__hero-content {
        margin-top: 20px;
        padding: 0 15px;
    }

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

    .page-terms-conditions__intro-text {
        font-size: 16px;
        margin-bottom: 20px;
    }

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

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

    .page-terms-conditions__section-title {
        font-size: 26px;
        margin-top: 30px;
        margin-bottom: 15px;
    }

    .page-terms-conditions__sub-title {
        font-size: 20px;
        margin-top: 25px;
        margin-bottom: 10px;
    }

    .page-terms-conditions p,
    .page-terms-conditions__list li {
        font-size: 15px;
    }

    .page-terms-conditions__image-wrapper {
        margin: 20px 0;
    }

    .page-terms-conditions__content-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        padding-left: 0;
        padding-right: 0;
    }

    details.page-terms-conditions__faq-item summary.page-terms-conditions__faq-question {
        padding: 15px;
        flex-wrap: wrap; /* Allow wrapping for question text */
    }
    .page-terms-conditions__faq-qtext {
        font-size: 16px;
        margin-bottom: 0;
        width: calc(100% - 40px); /* Adjust width for toggle */
    }
    .page-terms-conditions__faq-toggle {
        margin-left: 10px;
        width: 28px;
        height: 28px;
        font-size: 24px;
    }
    details.page-terms-conditions__faq-item .page-terms-conditions__faq-answer {
        padding: 0 15px 15px;
    }

    .page-terms-conditions__cta-wrapper {
        margin-top: 40px;
        padding-top: 20px;
    }

    .page-terms-conditions__cta-wrapper p {
        font-size: 18px;
        margin-bottom: 20px;
    }

    .page-terms-conditions__btn-primary,
    .page-terms-conditions__btn-secondary {
        display: block !important;
        width: 100% !important;
        max-width: 100% !important;
        margin: 0 auto 15px auto !important; /* Stack buttons vertically */
        padding: 12px 20px !important;
        font-size: 16px !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
    }
}