/* style/privacy-policy.css */

/* Base styles for the privacy policy page */
.page-privacy-policy {
    font-family: Arial, sans-serif;
    line-height: 1.6;
    color: #333333; /* Dark text for light body background */
    background-color: #FFFFFF; /* Explicitly set for clarity, though body is already white */
    padding-top: var(--header-offset, 120px); /* Space for fixed header */
}

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

/* Hero Section */
.page-privacy-policy__hero-section {
    background-color: #000000; /* Main color as background for hero */
    color: #FFFFFF; /* White text for dark background */
    padding: 80px 20px;
    text-align: center;
    overflow: hidden; /* Prevent content overflow */
    position: relative;
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.page-privacy-policy__hero-title {
    font-size: 3.2em;
    margin-bottom: 20px;
    font-weight: bold;
    color: #FFFFFF;
}

.page-privacy-policy__hero-description {
    font-size: 1.2em;
    margin-bottom: 40px;
    color: #F0F0F0;
}

.page-privacy-policy__hero-image {
    margin-top: 40px;
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__hero-image img {
    display: block;
    width: 100%;
    height: auto; /* Ensure image scales correctly */
    object-fit: cover;
    border-radius: 10px;
}

/* Content Area */
.page-privacy-policy__content-area {
    padding: 60px 0;
}

.page-privacy-policy__section-title {
    font-size: 2.2em;
    color: #000000; /* Dark color for titles */
    margin-top: 50px;
    margin-bottom: 25px;
    text-align: left;
    border-bottom: 2px solid #FCBC45; /* Login button color for accent */
    padding-bottom: 10px;
}

.page-privacy-policy__subsection-title {
    font-size: 1.6em;
    color: #000000;
    margin-top: 40px;
    margin-bottom: 15px;
    text-align: left;
}

.page-privacy-policy__paragraph {
    font-size: 1em;
    margin-bottom: 20px;
    line-height: 1.8;
    color: #333333;
}

.page-privacy-policy__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: #333333;
}

.page-privacy-policy__list-item {
    margin-bottom: 10px;
    font-size: 1em;
}

.page-privacy-policy__list-item strong {
    color: #000000;
}

.page-privacy-policy__list-item a {
    color: #FCBC45; /* Link color for internal links */
    text-decoration: underline;
}

.page-privacy-policy__list-item a:hover {
    color: #E0A83A;
    text-decoration: none;
}

/* Image containers within content */
.page-privacy-policy__image-container {
    margin: 40px 0;
    text-align: center;
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__image-container img {
    display: block;
    width: 100%;
    height: auto; /* Ensure image scales correctly */
    object-fit: cover;
    min-width: 200px; /* Enforce minimum width */
    min-height: 200px; /* Enforce minimum height */
    border-radius: 10px;
}

/* Call to action section */
.page-privacy-policy__call-to-action {
    background-color: #000000; /* Dark background for CTA */
    color: #FFFFFF;
    padding: 60px 20px;
    text-align: center;
    margin-top: 60px;
    border-radius: 10px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

.page-privacy-policy__call-to-action .page-privacy-policy__paragraph {
    font-size: 1.3em;
    margin-bottom: 30px;
    color: #F0F0F0;
}

.page-privacy-policy__button-group {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

.page-privacy-policy__button {
    display: inline-block;
    padding: 15px 30px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    border-radius: 8px;
    transition: background-color 0.3s ease, color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
    min-width: 200px; /* Ensure buttons are not too small */
}

.page-privacy-policy__button--register {
    background-color: #FFFFFF; /* Register color */
    color: #000000;
}

.page-privacy-policy__button--register:hover {
    background-color: #F0F0F0;
    transform: translateY(-2px);
}

.page-privacy-policy__button--login {
    background-color: #FCBC45; /* Login color */
    color: #000000;
}

.page-privacy-policy__button--login:hover {
    background-color: #E0A83A;
    transform: translateY(-2px);
}

.page-privacy-policy__button--play {
    background-color: #FCBC45; /* Play button color */
    color: #000000;
}

.page-privacy-policy__button--play:hover {
    background-color: #E0A83A;
    transform: translateY(-2px);
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-title {
        font-size: 2.8em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1.1em;
    }
    .page-privacy-policy__section-title {
        font-size: 2em;
    }
    .page-privacy-policy__subsection-title {
        font-size: 1.5em;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        padding-top: var(--header-offset, 80px); /* Adjust for smaller header on mobile */
    }
    .page-privacy-policy__hero-section {
        padding: 60px 15px;
    }
    .page-privacy-policy__hero-title {
        font-size: 2.2em;
    }
    .page-privacy-policy__hero-description {
        font-size: 1em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__subsection-title {
        font-size: 1.3em;
    }
    .page-privacy-policy__paragraph,
    .page-privacy-policy__list-item {
        font-size: 0.95em;
    }
    .page-privacy-policy__button-group {
        flex-direction: column;
        gap: 15px;
    }
    .page-privacy-policy__button {
        width: 100%;
        max-width: 300px; /* Limit button width on small screens */
        margin: 0 auto;
    }
    /* Mobile content image constraint to prevent overflow */
    .page-privacy-policy__content-area img {
        max-width: 100%;
        height: auto;
        min-width: 200px; /* Still enforce minimum size */
        min-height: 200px;
    }
    /* Ensure content area itself doesn't cause horizontal scroll */
    .page-privacy-policy__container {
        padding: 0 15px;
    }
    .page-privacy-policy__content-area {
        overflow-x: hidden; /* Prevent horizontal scroll for content */
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-title {
        font-size: 1.8em;
    }
    .page-privacy-policy__section-title {
        font-size: 1.5em;
    }
    .page-privacy-policy__subsection-title {
        font-size: 1.2em;
    }
}

/* Ensure no content area img is smaller than 200px */
/* This rule is intentionally broad to catch all images within the main content area */
.page-privacy-policy__content-area img {
    min-width: 200px;
    min-height: 200px;
    /* Ensure CSS does not override HTML width/height with smaller values */
    /* Only allow responsive scaling down to min-width/height */
    width: auto; /* Allow HTML width to be respected */
    height: auto; /* Allow HTML height to be respected */
}
/* Specific rule for mobile to ensure responsiveness */
@media (max-width: 768px) {
    .page-privacy-policy__content-area img {
        max-width: 100%;
        height: auto;
    }
}