.page-terms-conditions {
    background-color: #0A0A0A;
    color: #FFF6D6;
    font-family: Arial, sans-serif; /* Using a common sans-serif font */
    line-height: 1.6;
}

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

/* 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-bottom: 40px;
    background-color: #100224; /* Dark purple from Hero/Jackpot section */
    overflow: hidden; /* Prevent content overflow */
}

.page-terms-conditions__hero-image-wrapper {
    width: 100%;
}

.page-terms-conditions__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
    aspect-ratio: 16/5; /* Recommended aspect ratio for hero */
}

.page-terms-conditions__hero-content {
    padding: 20px;
    max-width: 800px;
    margin-top: 20px; /* Space between image and content */
}

.page-terms-conditions__main-title {
    font-size: clamp(1.8rem, 4vw, 2.8rem); /* Responsive font size for H1 */
    font-weight: 700;
    margin-bottom: 15px;
    line-height: 1.2;
    color: #F2C14E; /* Main color for important titles */
}

.page-terms-conditions__hero-description {
    font-size: 1.1rem;
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

.page-terms-conditions__cta-button {
    display: inline-block;
    padding: 12px 30px;
    background: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
    color: #111111; /* Dark text on bright button */
    text-decoration: none;
    border-radius: 8px;
    font-weight: bold;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-terms-conditions__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(255, 211, 107, 0.4); /* Glow color */
}

/* Content Section */
.page-terms-conditions__content-section {
    padding: 60px 0;
}

.page-terms-conditions__section-title {
    font-size: clamp(1.5rem, 3vw, 2.2rem);
    font-weight: 600;
    margin-top: 40px;
    margin-bottom: 20px;
    color: #FFD36B; /* Auxiliary color for section titles */
    border-bottom: 2px solid #3A2A12; /* Border color */
    padding-bottom: 10px;
}

.page-terms-conditions__sub-section-title {
    font-size: clamp(1.2rem, 2.5vw, 1.8rem);
    font-weight: 500;
    margin-top: 30px;
    margin-bottom: 15px;
    color: #F2C14E; /* Main color for sub-section titles */
}

.page-terms-conditions__paragraph {
    margin-bottom: 15px;
    font-size: 1rem;
}

.page-terms-conditions__content-image {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    min-width: 200px; /* Ensure images are not too small */
    min-height: 200px; /* Ensure images are not too small */
    object-fit: cover;
}

.page-terms-conditions__contact-info {
    margin-top: 20px;
    padding: 20px;
    background-color: #111111; /* Card BG */
    border: 1px solid #3A2A12; /* Border color */
    border-radius: 8px;
}

.page-terms-conditions__contact-text {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.page-terms-conditions__contact-text a {
    color: #FFD36B; /* Auxiliary color for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-terms-conditions__contact-text a:hover {
    color: #F2C14E; /* Main color on hover */
    text-decoration: underline;
}

/* Desktop styles */
@media (min-width: 769px) {
    .page-terms-conditions__hero-section {
        flex-direction: column; /* Still column, but content will be centered under image */
        padding-top: 10px; /* Small top padding for hero section */
    }

    .page-terms-conditions__hero-image {
        aspect-ratio: 16/5; /* Wider aspect ratio for desktop */
        height: 375px; /* Fixed height for desktop hero image, width will be 100% of container */
    }

    .page-terms-conditions__hero-content {
        margin-top: 40px; /* More space on desktop */
    }

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

/* Mobile specific styles */
@media (max-width: 768px) {
    .page-terms-conditions__hero-section {
        padding-top: 10px; /* Small top padding */
    }

    .page-terms-conditions__hero-image {
        aspect-ratio: 4/3; /* More square aspect ratio for mobile */
        max-height: 300px; /* Limit height on small screens */
    }

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

    .page-terms-conditions__main-title {
        font-size: 1.8rem;
    }

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

    .page-terms-conditions__section-title {
        font-size: 1.5rem;
    }

    .page-terms-conditions__sub-section-title {
        font-size: 1.2rem;
    }

    .page-terms-conditions__content-image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size even on mobile */
        min-height: 200px;
    }

    /* Ensure content area does not cause horizontal scroll */
    .page-terms-conditions__container {
        padding-left: 15px;
        padding-right: 15px;
        overflow-x: hidden;
    }
}