/* style/terms-conditions.css */

/* Base styles for the terms and conditions page */
.page-terms-conditions {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set background for content area if needed, otherwise inherit from body */
    padding-top: var(--header-offset, 120px); /* Ensures content starts below fixed header */
}

/* Hero Section */
.page-terms-conditions__hero-section {
    background-color: #000000; /* Main brand color for hero background */
    padding: 80px 20px;
    text-align: center;
    position: relative;
    overflow: hidden; /* Contains the image */
}

.page-terms-conditions__hero-container {
    max-width: 1200px;
    margin: 0 auto;
    position: relative;
    z-index: 2; /* Ensures text and buttons are above the image */
    color: #FFFFFF; /* Light text for dark hero background */
}

.page-terms-conditions__hero-title {
    font-size: 2.8em;
    color: #FCBC45; /* Accent color for title */
    margin-bottom: 20px;
    font-weight: bold;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.page-terms-conditions__hero-description {
    font-size: 1.2em;
    max-width: 800px;
    margin: 0 auto 40px;
    color: #F0F0F0;
}

.page-terms-conditions__hero-actions {
    margin-top: 30px;
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-terms-conditions__button {
    display: inline-block;
    padding: 14px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: background-color 0.3s ease, color 0.3s ease;
    min-width: 200px; /* Ensure buttons are not too small */
    text-align: center;
    font-size: 1.1em;
}

.page-terms-conditions__button--register {
    background-color: #FCBC45; /* Login color for register button background */
    color: #000000; /* Dark text for bright button */
    border: 2px solid #FCBC45;
}

.page-terms-conditions__button--register:hover {
    background-color: #E0A030;
    border-color: #E0A030;
}

.page-terms-conditions__button--login {
    background-color: transparent;
    color: #FCBC45; /* Login color for login button text */
    border: 2px solid #FCBC45;
}

.page-terms-conditions__button--login:hover {
    background-color: #FCBC45;
    color: #000000;
}

.page-terms-conditions__hero-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover; /* Cover the hero section */
    opacity: 0.2; /* Subtle background */
    z-index: 1;
}

/* Content Area */
.page-terms-conditions__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: #FFFFFF;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.05);
    border-radius: 10px;
    margin-top: -40px; /* Overlap with hero section for visual flow */
    position: relative;
    z-index: 3;
}

.page-terms-conditions__section {
    margin-bottom: 40px;
}

.page-terms-conditions__section-title {
    font-size: 2em;
    color: #000000;
    margin-bottom: 20px;
    border-bottom: 2px solid #FCBC45;
    padding-bottom: 10px;
}

.page-terms-conditions__sub-section-title {
    font-size: 1.5em;
    color: #000000;
    margin-top: 30px;
    margin-bottom: 15px;
}

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

.page-terms-conditions__list {
    list-style-type: disc;
    margin-left: 20px;
    margin-bottom: 15px;
}

.page-terms-conditions__list-item {
    margin-bottom: 8px;
    color: #333333;
}

.page-terms-conditions__link {
    color: #FCBC45;
    text-decoration: none;
    font-weight: bold;
}

.page-terms-conditions__link:hover {
    text-decoration: underline;
}

.page-terms-conditions__image {
    width: 100%;
    height: auto;
    max-width: 800px; /* Example max-width, ensuring it's >= 200px */
    display: block;
    margin: 30px auto;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    /* No filter to change color */
}

/* Responsible Gaming Button */
.page-terms-conditions__button--responsible-gaming {
    background-color: #000000;
    color: #FCBC45;
    border: 2px solid #FCBC45;
    margin-top: 20px;
}

.page-terms-conditions__button--responsible-gaming:hover {
    background-color: #FCBC45;
    color: #000000;
}

/* Call to Action Section */
.page-terms-conditions__call-to-action {
    background-color: #000000; /* Dark background */
    padding: 60px 20px;
    text-align: center;
    color: #FFFFFF; /* Light text */
    margin-top: 40px;
}

.page-terms-conditions__call-to-action-container {
    max-width: 800px;
    margin: 0 auto;
}

.page-terms-conditions__call-to-action-title {
    font-size: 2.5em;
    color: #FCBC45;
    margin-bottom: 20px;
}

.page-terms-conditions__call-to-action-description {
    font-size: 1.1em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-terms-conditions__button--cta {
    background-color: #FCBC45;
    color: #000000;
    border: 2px solid #FCBC45;
}

.page-terms-conditions__button--cta:hover {
    background-color: #E0A030;
    border-color: #E0A030;
}

/* Responsive Design */
@media (max-width: 768px) {
    .page-terms-conditions__hero-title {
        font-size: 2em;
    }

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

    .page-terms-conditions__hero-actions {
        flex-direction: column;
        gap: 15px;
    }

    .page-terms-conditions__button {
        width: 100%;
        max-width: 300px;
        margin: 0 auto;
    }

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

    .page-terms-conditions__section-title {
        font-size: 1.6em;
    }

    .page-terms-conditions__sub-section-title {
        font-size: 1.3em;
    }

    /* Ensure images are responsive and do not overflow */
    .page-terms-conditions__image {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Ensure min size is maintained for content images */
    }

    .page-terms-conditions__call-to-action-title {
        font-size: 2em;
    }
}

@media (max-width: 480px) {
    .page-terms-conditions__hero-section {
        padding: 60px 15px;
    }

    .page-terms-conditions__hero-title {
        font-size: 1.8em;
    }

    .page-terms-conditions__content-area {
        padding: 15px 10px;
    }

    .page-terms-conditions__section-title {
        font-size: 1.4em;
    }

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