/* style/privacy-policy.css */

/* Custom Variables from Palette */
:root {
    --e2bet-primary-color: #11A84E;
    --e2bet-secondary-color: #22C768;
    --e2bet-button-gradient: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    --e2bet-card-bg: #11271B;
    --e2bet-background: #08160F;
    --e2bet-text-main: #F2FFF6;
    --e2bet-text-secondary: #A7D9B8;
    --e2bet-border: #2E7A4E;
    --e2bet-glow: #57E38D;
    --e2bet-gold: #F2C14E;
    --e2bet-divider: #1E3A2A;
    --e2bet-deep-green: #0A4B2C;
}

.page-privacy-policy {
    background-color: var(--e2bet-background); /* Dark background */
    color: var(--e2bet-text-main); /* Light text for contrast */
    font-family: Arial, sans-serif;
    line-height: 1.6;
    padding-bottom: 40px; /* Ensure space before footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image on top, content below */
    align-items: center;
    justify-content: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    text-align: center;
    background-color: var(--e2bet-deep-green); /* Darker background for hero */
    overflow: hidden;
}

.page-privacy-policy__hero-image-wrapper {
    width: 100%;
    max-width: 1200px; /* Constrain image width on larger screens */
    margin-bottom: 30px; /* Space between image and text */
}

.page-privacy-policy__hero-image {
    width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__hero-content {
    max-width: 900px;
    width: 100%; /* Ensure content takes full width up to max-width */
    z-index: 1;
    color: var(--e2bet-text-main);
}

.page-privacy-policy__main-title {
    font-size: clamp(2em, 4vw, 3.2em); /* Responsive font size for H1 */
    color: var(--e2bet-gold); /* Gold for main title */
    margin-bottom: 20px;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: 0.05em;
}

.page-privacy-policy__intro-text {
    font-size: 1.1em;
    color: var(--e2bet-text-secondary);
    margin-bottom: 30px;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--e2bet-background); /* Consistent dark background */
    color: var(--e2bet-text-main); /* Light text for contrast */
}

.page-privacy-policy__container {
    padding: 20px;
    background-color: var(--e2bet-card-bg); /* Darker background for content blocks */
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 1px solid var(--e2bet-border);
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--e2bet-secondary-color); /* Green for section titles */
    margin-top: 40px;
    margin-bottom: 20px;
    font-weight: 600;
    border-bottom: 2px solid var(--e2bet-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-section-title {
    font-size: clamp(1.4em, 2.5vw, 2em);
    color: var(--e2bet-primary-color); /* Primary green for sub-titles */
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy__paragraph {
    margin-bottom: 15px;
    color: var(--e2bet-text-main);
}

.page-privacy-policy__list {
    list-style-type: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--e2bet-text-main);
}

.page-privacy-policy__list li {
    margin-bottom: 8px;
    color: var(--e2bet-text-secondary);
}

.page-privacy-policy__list strong {
    color: var(--e2bet-text-main);
}

.page-privacy-policy__image-block {
    margin: 30px 0;
    text-align: center;
}

.page-privacy-policy__content-image {
    width: 100%;
    max-width: 800px; /* Constrain content image width */
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 8px;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__contact-info {
    background-color: var(--e2bet-deep-green);
    border: 1px solid var(--e2bet-border);
    border-radius: 8px;
    padding: 25px;
    margin-top: 20px;
    margin-bottom: 30px;
    color: var(--e2bet-text-main);
}

.page-privacy-policy__contact-info p {
    margin-bottom: 10px;
    color: var(--e2bet-text-secondary);
}

.page-privacy-policy__contact-info strong {
    color: var(--e2bet-text-main);
}

.page-privacy-policy__contact-link {
    color: var(--e2bet-gold); /* Gold for links */
    text-decoration: none;
    transition: color 0.3s ease;
}

.page-privacy-policy__contact-link:hover {
    color: var(--e2bet-glow);
    text-decoration: underline;
}

/* Buttons */
.page-privacy-policy__btn-primary,
.page-privacy-policy__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1em;
    transition: all 0.3s ease;
    cursor: pointer;
    text-align: center;
    box-sizing: border-box; /* Crucial for responsive buttons */
    margin: 10px 5px;
}

.page-privacy-policy__btn-primary {
    background: var(--e2bet-button-gradient);
    color: #ffffff; /* White text for primary button */
    border: none;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    opacity: 0.9;
}

.page-privacy-policy__btn-secondary {
    background-color: #ffffff; /* White background for secondary button */
    color: var(--e2bet-primary-color); /* Primary green text */
    border: 2px solid var(--e2bet-primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.page-privacy-policy__btn-secondary:hover {
    background-color: var(--e2bet-primary-color);
    color: #ffffff;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-privacy-policy__hero-section {
        padding: 40px 15px;
        padding-top: 10px;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.8em, 4.5vw, 2.8em);
    }
    .page-privacy-policy__intro-text {
        font-size: 1em;
    }
    .page-privacy-policy__content-area {
        padding: 30px 15px;
    }
    .page-privacy-policy__container {
        padding: 15px;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.6em, 3.5vw, 2.2em);
    }
    .page-privacy-policy__sub-section-title {
        font-size: clamp(1.2em, 2.8vw, 1.8em);
    }
}

@media (max-width: 768px) {
    .page-privacy-policy__hero-section {
        padding: 30px 15px;
        padding-top: 10px !important; /* body already handles header offset */
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.6em, 6vw, 2.5em);
    }
    .page-privacy-policy__intro-text {
        font-size: 0.95em;
    }
    .page-privacy-policy__content-area {
        padding: 20px 15px;
    }
    .page-privacy-policy__container {
        padding: 15px;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.4em, 4.5vw, 2em);
    }
    .page-privacy-policy__sub-section-title {
        font-size: clamp(1.1em, 3.5vw, 1.6em);
    }
    .page-privacy-policy p,
    .page-privacy-policy li {
      font-size: 16px; /* Mobile increased font size */
      line-height: 1.6;
    }

    /* Mobile image responsiveness */
    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }
    
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container,
    .page-privacy-policy__hero-section,
    .page-privacy-policy__image-block {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        overflow: hidden !important; /* Prevent overflow */
    }

    /* Mobile button responsiveness */
    .page-privacy-policy__btn-primary,
    .page-privacy-policy__btn-secondary,
    .page-privacy-policy a[class*="button"],
    .page-privacy-policy a[class*="btn"] {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        white-space: normal !important;
        word-wrap: break-word !important;
        padding-left: 15px; /* Add padding to buttons to prevent text touching edges */
        padding-right: 15px;
        margin-left: 0 !important; /* Remove horizontal margins for full width */
        margin-right: 0 !important;
    }

    /* If buttons are in a flex container, ensure they stack or wrap */
    .page-privacy-policy__hero-content .page-privacy-policy__btn-primary {
        margin-left: auto;
        margin-right: auto;
    }
}

@media (max-width: 480px) {
    .page-privacy-policy__hero-section {
        padding: 20px 10px;
        padding-top: 10px !important;
    }
    .page-privacy-policy__main-title {
        font-size: clamp(1.4em, 7vw, 2.2em);
    }
    .page-privacy-policy__content-area {
        padding: 15px 10px;
    }
    .page-privacy-policy__container {
        padding: 10px;
    }
    .page-privacy-policy__section-title {
        font-size: clamp(1.2em, 5.5vw, 1.8em);
    }
    .page-privacy-policy__sub-section-title {
        font-size: clamp(1em, 4.5vw, 1.4em);
    }
    .page-privacy-policy__list {
        margin-left: 20px;
    }
}