/* terms-conditions.css */

.page-terms-conditions {
    background-color: #100224; /* Deep purple-black, matching WOW88 style */
    color: #FFFFFF; /* Auxiliary color for text */
    font-family: Arial, sans-serif; /* Roboto气质 - Arial is a safe sans-serif */
    line-height: 1.6;
    padding-bottom: 40px; /* General padding for the bottom of the main content */
}

/* Hero Section */
.page-terms-conditions__hero-section {
    display: flex;
    flex-direction: column; /* Default to column for mobile, will change for desktop */
    align-items: center;
    text-align: center;
    padding: 10px 20px 40px; /* Small top padding, good bottom padding */
    background-color: #1a0833; /* Slightly lighter dark background for hero */
}

.page-terms-conditions__main-visual {
    width: 100%;
    max-width: 1200px; /* Max width for the image */
    height: auto;
    display: block;
    border-radius: 8px;
    margin-bottom: 20px; /* Space between image and text */
    object-fit: cover;
}

.page-terms-conditions__hero-content {
    max-width: 800px;
    width: 100%; /* Ensure content takes full width on mobile */
}

.page-terms-conditions__main-title {
    font-weight: bold;
    line-height: 1.2;
    letter-spacing: -0.02em;
    margin-bottom: 15px;
    color: #FFFFFF; /* White for contrast */
    /* No fixed font-size, rely on default or clamp for responsiveness */
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Example clamp for responsive font size */
}

.page-terms-conditions__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    color: #E0E0E0; /* Slightly off-white for description */
}

.page-terms-conditions__cta-button {
    display: inline-block;
    background: linear-gradient(to right, #ff9500, #ff5e3a); /* Orange-red gradient CTA */
    color: #FFFFFF;
    padding: 14px 28px;
    border-radius: 30px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    min-width: 180px; /* Ensure button is not too small */
    text-align: center;
}

.page-terms-conditions__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 16px rgba(255, 94, 58, 0.4);
}

/* Content Sections */
.page-terms-conditions__content-section,
.page-terms-conditions__section,
.page-terms-conditions__contact-section {
    padding: 30px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1); /* Subtle separator */
}

.page-terms-conditions__content-section {
    background-color: #100224; /* Same as main background */
}

.page-terms-conditions__section:last-of-type {
    border-bottom: none;
}

.page-terms-conditions__container {
    max-width: 960px;
    margin: 0 auto;
    padding: 0 15px; /* Inner padding for content */
}

.page-terms-conditions__section-title {
    color: #26A9E0; /* Primary color for section titles */
    font-size: clamp(1.5rem, 3vw, 2.2rem); /* Responsive font size */
    margin-bottom: 20px;
    font-weight: bold;
    border-bottom: 2px solid #26A9E0; /* Underline for emphasis */
    padding-bottom: 10px;
    display: inline-block; /* To make border-bottom only under text */
    max-width: 100%; /* Prevent overflow */
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    color: #E0E0E0;
}

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

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

.page-terms-conditions__list-item a,
.page-terms-conditions__paragraph a {
    color: #26A9E0; /* Primary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__list-item a:hover,
.page-terms-conditions__paragraph a:hover {
    color: #ff9500; /* Orange-red on hover */
    text-decoration: underline;
}

.page-terms-conditions__contact-section {
    text-align: center;
    padding-top: 50px;
    padding-bottom: 50px;
    background-color: #1a0833; /* Slightly different background for contact section */
}

.page-terms-conditions__contact-button {
    display: inline-block;
    background-color: #26A9E0; /* Primary color for contact button */
    color: #FFFFFF;
    padding: 12px 25px;
    border-radius: 25px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1rem;
    transition: background-color 0.3s ease, transform 0.3s ease;
    min-width: 160px;
    text-align: center;
}

.page-terms-conditions__contact-button:hover {
    background-color: #1a8ccb; /* Darker primary color on hover */
    transform: translateY(-2px);
}

/* General Link Styling (for WCAG AA contrast) */
.page-terms-conditions a {
    color: #26A9E0; /* Ensure links are visible on dark background */
}

/* Responsive adjustments */
@media (min-width: 768px) {
    .page-terms-conditions__hero-section {
        flex-direction: row; /* Desktop layout: image and content side-by-side */
        justify-content: center;
        gap: 40px; /* Space between image and content */
        padding-top: 40px;
        padding-bottom: 60px;
    }

    .page-terms-conditions__main-visual {
        order: 1; /* Image first as per rule */
        margin-bottom: 0;
        max-width: 50%; /* Adjust width for side-by-side layout */
    }

    .page-terms-conditions__hero-content {
        order: 2; /* Content second */
        text-align: left;
        max-width: 40%; /* Adjust width for side-by-side layout */
        display: flex;
        flex-direction: column;
        justify-content: center;
    }

    .page-terms-conditions__main-title {
        font-size: 2.8rem; /* Specific desktop font size */
    }

    .page-terms-conditions__hero-description {
        font-size: 1.2rem;
    }
}

/* Mobile specific rules for images (prevent overflow) */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding: 10px 15px 30px;
    }
    .page-terms-conditions__main-visual {
        max-width: 100%;
        height: auto;
        margin-bottom: 20px;
    }
    .page-terms-conditions__container {
        padding: 0 10px;
    }
    /* Ensure all content area images are responsive and don't overflow */
    .page-terms-conditions img {
        max-width: 100%;
        height: auto;
        display: block;
    }
    /* Content area images CSS dimensions lower bound */
    .page-terms-conditions__container img,
    .page-terms-conditions__section img,
    .page-terms-conditions__content-section img {
        min-width: 200px; /* Enforce minimum size for content images */
        min-height: 200px;
        object-fit: cover; /* Ensure images fill their space nicely */
    }
}