/* style/privacy-policy.css */

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

/* Base styles for the page content, assuming body has a dark background from shared.css */
.page-privacy-policy {
    background-color: var(--huebet-background); /* Explicitly setting for safety */
    color: var(--huebet-text-main); /* Light text for dark background */
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    padding-bottom: 60px; /* Space for footer */
}

/* Hero Section */
.page-privacy-policy__hero-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column; /* Image above text */
    align-items: center;
    padding: 60px 20px 40px; /* Reduced top padding as body handles header offset */
    padding-top: 10px; /* Small top padding */
    text-align: center;
    overflow: hidden; /* Ensure no overflow */
}

.page-privacy-policy__hero-image {
    width: 100%;
    max-width: 100%;
    height: auto;
    object-fit: cover;
    display: block;
    margin-bottom: 30px; /* Space between image and content */
    border-radius: 8px;
}

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

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

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

/* CTA Button */
.page-privacy-policy__cta-button {
    display: inline-block;
    background: var(--huebet-button-gradient);
    color: var(--huebet-text-main);
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease, transform 0.2s ease;
    border: none;
    cursor: pointer;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.page-privacy-policy__cta-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
}

.page-privacy-policy__cta-button--secondary {
    background: var(--huebet-background);
    color: var(--huebet-gold);
    border: 2px solid var(--huebet-gold);
}

.page-privacy-policy__cta-button--secondary:hover {
    background: var(--huebet-gold);
    color: var(--huebet-background);
}

/* Content Area */
.page-privacy-policy__content-area {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--huebet-card-bg); /* Darker background for content blocks */
    border-radius: 12px;
    margin-bottom: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    box-sizing: border-box; /* Ensure padding is included in width */
}

.page-privacy-policy__section-title {
    font-size: clamp(1.8em, 3vw, 2.5em);
    color: var(--huebet-primary);
    margin-bottom: 25px;
    font-weight: 600;
    line-height: 1.3;
    border-bottom: 2px solid var(--huebet-divider);
    padding-bottom: 10px;
}

.page-privacy-policy__sub-title {
    font-size: clamp(1.3em, 2.2vw, 1.8em);
    color: var(--huebet-gold);
    margin-top: 30px;
    margin-bottom: 15px;
    font-weight: 500;
}

.page-privacy-policy p {
    margin-bottom: 15px;
    color: var(--huebet-text-main);
}

.page-privacy-policy ul {
    list-style: disc;
    margin-left: 20px;
    margin-bottom: 15px;
    color: var(--huebet-text-main);
}

.page-privacy-policy li {
    margin-bottom: 8px;
    color: var(--huebet-text-main);
}

.page-privacy-policy a {
    color: var(--huebet-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-privacy-policy a:hover {
    color: var(--huebet-secondary);
}

/* Image specific styles within content */
.page-privacy-policy__security-image,
.page-privacy-policy__rights-image,
.page-privacy-policy__contact-image {
    width: 100%;
    max-width: 800px; /* Max width for content images */
    height: auto;
    display: block;
    margin: 20px auto 30px;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

/* Contact List */
.page-privacy-policy__contact-list {
    list-style: none;
    padding-left: 0;
    margin-top: 20px;
    margin-bottom: 30px;
}

.page-privacy-policy__contact-list li {
    margin-bottom: 10px;
    font-size: 1.1em;
    color: var(--huebet-text-main);
}

.page-privacy-policy__contact-list li strong {
    color: var(--huebet-gold);
}

/* FAQ Section */
.page-privacy-policy__faq-list {
    margin-top: 30px;
}

.page-privacy-policy__faq-item {
    background-color: var(--huebet-deep-green);
    border: 1px solid var(--huebet-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.15);
}

.page-privacy-policy__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    cursor: pointer;
    font-weight: bold;
    font-size: 1.1em;
    color: var(--huebet-text-main);
    background-color: var(--huebet-primary);
    border-bottom: 1px solid var(--huebet-border);
    transition: background-color 0.3s ease;
}

.page-privacy-policy__faq-question:hover {
    background-color: var(--huebet-secondary);
}

.page-privacy-policy__faq-item[open] .page-privacy-policy__faq-question {
    border-bottom: 1px solid var(--huebet-border);
}

.page-privacy-policy__faq-qtext {
    flex-grow: 1;
    color: var(--huebet-text-main);
}

.page-privacy-policy__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    margin-left: 15px;
    color: var(--huebet-text-main);
}

.page-privacy-policy__faq-answer {
    padding: 20px 25px;
    font-size: 1em;
    color: var(--huebet-text-secondary);
}

/* Details element specific styling for FAQ */
.page-privacy-policy__faq-item summary {
    list-style: none; /* Remove default marker */
}
.page-privacy-policy__faq-item summary::-webkit-details-marker {
    display: none; /* Remove default marker for webkit browsers */
}

/* Responsive Styles */
@media (max-width: 1024px) {
    .page-privacy-policy__content-area {
        padding-left: 15px;
        padding-right: 15px;
    }
}

@media (max-width: 768px) {
    .page-privacy-policy {
        font-size: 16px;
        line-height: 1.6;
    }

    .page-privacy-policy__hero-section {
        padding: 40px 15px 30px;
        padding-top: 10px !important; /* Small top padding */
    }

    .page-privacy-policy__main-title {
        font-size: 2em;
    }

    .page-privacy-policy__intro-description {
        font-size: 1em;
    }

    .page-privacy-policy__cta-button,
    .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;
        padding-right: 15px;
        margin-bottom: 10px; /* Add space between stacked buttons */
    }

    .page-privacy-policy__cta-buttons,
    .page-privacy-policy__button-group,
    .page-privacy-policy__btn-container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
        flex-wrap: wrap !important;
        gap: 10px;
        flex-direction: column; /* Stack buttons vertically */
    }

    .page-privacy-policy__content-area,
    .page-privacy-policy__section,
    .page-privacy-policy__card,
    .page-privacy-policy__container {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 15px;
        padding-right: 15px;
    }

    .page-privacy-policy img {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    /* Video responsive styles - included for general compliance, though no video on this page */
    .page-privacy-policy video,
    .page-privacy-policy__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
      display: block !important;
    }
    
    .page-privacy-policy__video-section,
    .page-privacy-policy__video-container,
    .page-privacy-policy__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      padding-left: 15px;
      padding-right: 15px;
      overflow: hidden !important;
    }
    .page-privacy-policy__video-section {
        padding-top: 10px !important;
    }

    .page-privacy-policy__section-title {
        font-size: 1.6em;
    }

    .page-privacy-policy__sub-title {
        font-size: 1.2em;
    }

    .page-privacy-policy__faq-question {
        padding: 15px 20px;
        font-size: 1em;
    }

    .page-privacy-policy__faq-answer {
        padding: 15px 20px;
    }
}