/* style/gdpr.css */

/* Variables for colors */
:root {
    --okbet-primary: #F2C14E;
    --okbet-secondary: #FFD36B;
    --okbet-card-bg: #111111;
    --okbet-background: #0A0A0A;
    --okbet-text-main: #FFF6D6;
    --okbet-border: #3A2A12;
    --okbet-glow: #FFD36B;
    --button-gradient: linear-gradient(180deg, #FFD86A 0%, #DDA11D 100%);
}

.page-gdpr {
    background-color: var(--okbet-background);
    color: var(--okbet-text-main); /* Light text for dark background */
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

.page-gdpr__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    box-sizing: border-box;
}

/* Hero Section */
.page-gdpr__hero-section {
    position: relative;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
}

.page-gdpr__hero-image-wrapper {
    width: 100%;
    position: relative;
    z-index: 1;
}

.page-gdpr__hero-image {
    width: 100%;
    height: auto;
    display: block;
    object-fit: cover;
}

.page-gdpr__hero-content-wrapper {
    position: relative;
    z-index: 2;
    width: 100%;
    padding: 40px 0;
    text-align: center;
    background-color: var(--okbet-background);
    box-shadow: 0 -10px 20px rgba(0, 0, 0, 0.5);
    margin-top: -5px; /* Slightly overlap with image for visual continuity */
}

.page-gdpr__main-title {
    color: var(--okbet-primary);
    font-size: clamp(2em, 4vw, 3em); /* Responsive font size for H1 */
    font-weight: bold;
    margin-bottom: 20px;
    line-height: 1.2;
    letter-spacing: 0.05em;
    text-shadow: 0 0 10px rgba(242, 193, 78, 0.5);
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    color: var(--okbet-text-main);
    max-width: 800px;
    margin: 0 auto 30px auto;
}

.page-gdpr__cta-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
    flex-wrap: wrap;
}

/* General Section Styling */
.page-gdpr__section {
    padding: 60px 0;
    border-bottom: 1px solid var(--okbet-border);
}

.page-gdpr__section:last-of-type {
    border-bottom: none;
}

.page-gdpr__section-title {
    color: var(--okbet-primary);
    font-size: clamp(1.8em, 3vw, 2.5em);
    margin-bottom: 30px;
    text-align: center;
    position: relative;
    padding-bottom: 15px;
}

.page-gdpr__section-title::after {
    content: '';
    position: absolute;
    left: 50%;
    bottom: 0;
    transform: translateX(-50%);
    width: 80px;
    height: 3px;
    background: var(--okbet-secondary);
    border-radius: 5px;
}

.page-gdpr__sub-title {
    color: var(--okbet-secondary);
    font-size: 1.5em;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__bullet-list {
    list-style: disc inside;
    padding-left: 20px;
    margin-bottom: 20px;
    color: var(--okbet-text-main);
}

.page-gdpr__bullet-list li {
    margin-bottom: 10px;
}

/* Card Grid */
.page-gdpr__card-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__card {
    background-color: var(--okbet-card-bg);
    border: 1px solid var(--okbet-border);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    color: var(--okbet-text-main);
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.4), 0 0 15px var(--okbet-glow);
}

.page-gdpr__card-title {
    color: var(--okbet-secondary);
    font-size: 1.3em;
    margin-bottom: 15px;
}

/* Dark Section Specifics */
.page-gdpr__dark-section {
    background-color: var(--okbet-primary);
    color: #ffffff;
    padding: 80px 0;
}

.page-gdpr__dark-section .page-gdpr__section-title {
    color: #ffffff;
}

.page-gdpr__dark-section .page-gdpr__section-title::after {
    background: #ffffff;
}

.page-gdpr__dark-bg-card {
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.page-gdpr__dark-bg-card .page-gdpr__card-title {
    color: var(--okbet-secondary);
}

.page-gdpr__text-contrast-fix {
    color: #ffffff !important;
}

.page-gdpr__contact-info {
    text-align: center;
    margin-top: 40px;
    font-size: 1.1em;
}

.page-gdpr__contact-link {
    color: var(--okbet-secondary);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: #ffffff;
}

/* Image with Text Grid */
.page-gdpr__image-text-grid {
    display: flex;
    gap: 40px;
    align-items: flex-start;
    margin-top: 40px;
}

.page-gdpr__image-wrapper {
    flex: 1;
    min-width: 300px;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    display: block;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
}

.page-gdpr__text-content {
    flex: 2;
}

/* Buttons */
.page-gdpr__btn-primary,
.page-gdpr__btn-secondary {
    display: inline-block;
    padding: 12px 25px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
    text-align: center;
}

.page-gdpr__btn-primary {
    background: var(--button-gradient);
    color: #ffffff;
    border: none;
    box-shadow: 0 4px 15px rgba(255, 211, 107, 0.4);
}

.page-gdpr__btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 211, 107, 0.6);
}

.page-gdpr__btn-secondary {
    background-color: transparent;
    color: var(--okbet-primary);
    border: 2px solid var(--okbet-primary);
}

.page-gdpr__btn-secondary:hover {
    background-color: var(--okbet-primary);
    color: #ffffff;
}

/* Contact Card */
.page-gdpr__contact-card {
    background-color: var(--okbet-card-bg);
    border: 1px solid var(--okbet-border);
    border-radius: 10px;
    padding: 30px;
    text-align: center;
    max-width: 600px;
    margin: 40px auto 0 auto;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__contact-card p {
    margin-bottom: 15px;
    font-size: 1.1em;
}

.page-gdpr__contact-card a {
    color: var(--okbet-secondary);
    text-decoration: none;
    font-weight: bold;
}

.page-gdpr__contact-card a:hover {
    text-decoration: underline;
}

.page-gdpr__last-updated {
    text-align: right;
    font-size: 0.9em;
    color: rgba(255, 246, 214, 0.7);
    margin-top: 30px;
}

/* FAQ Section */
.page-gdpr__faq-section {
    padding: 60px 0;
    background-color: var(--okbet-background);
}

.page-gdpr__faq-list {
    margin-top: 40px;
}

.page-gdpr__faq-item {
    background-color: var(--okbet-card-bg);
    border: 1px solid var(--okbet-border);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px;
    cursor: pointer;
    color: var(--okbet-text-main);
    font-weight: bold;
    font-size: 1.1em;
    transition: background-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(242, 193, 78, 0.1);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    color: inherit;
}

.page-gdpr__faq-toggle {
    font-size: 1.5em;
    line-height: 1;
    color: var(--okbet-primary);
    transition: transform 0.3s ease;
}

.page-gdpr__faq-item.active .page-gdpr__faq-toggle {
    transform: rotate(45deg);
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    padding: 0 20px;
    transition: max-height 0.3s ease, padding 0.3s ease;
    color: var(--okbet-text-main);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 1000px !important; /* Sufficiently large to show content */
    padding: 20px;
}

.page-gdpr__faq-answer p {
    margin-bottom: 0;
}

/* Responsive Design */
@media (max-width: 992px) {
    .page-gdpr__image-text-grid {
        flex-direction: column;
        align-items: center;
    }

    .page-gdpr__image-wrapper,
    .page-gdpr__text-content {
        flex: none;
        width: 100%;
    }

    .page-gdpr__hero-content-wrapper {
        padding: 30px 0;
    }
}

@media (max-width: 768px) {
    .page-gdpr__container {
        padding: 0 15px !important;
    }

    .page-gdpr__hero-content-wrapper {
        padding: 20px 0;
    }

    .page-gdpr__main-title {
        font-size: clamp(1.8em, 7vw, 2.5em);
    }

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

    .page-gdpr__cta-buttons {
        flex-direction: column;
        gap: 15px;
        padding: 0 15px;
    }

    .page-gdpr__btn-primary,
    .page-gdpr__btn-secondary {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 15px !important;
    }

    .page-gdpr__section {
        padding: 40px 0;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.5em, 6vw, 2em);
        margin-bottom: 20px;
    }

    .page-gdpr__sub-title {
        font-size: 1.3em;
        margin-top: 20px;
    }

    .page-gdpr__card-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .page-gdpr__card {
        padding: 20px;
    }

    .page-gdpr__image,
    .page-gdpr__image-wrapper,
    .page-gdpr__text-content {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
    
    .page-gdpr img {
        max-width: 100% !important;
        height: auto !important;
        display: block !important;
    }

    .page-gdpr__faq-question {
        font-size: 1em;
        padding: 15px;
    }

    .page-gdpr__faq-answer {
        padding: 15px;
    }

    .page-gdpr__dark-section {
        padding: 50px 0;
    }
    
    /* Ensure video container responsiveness if any video is added in future */
    .page-gdpr__video-section {
        padding-top: 10px !important; /* Body handles --header-offset */
    }
    .page-gdpr__video-container {
        width: 100% !important;
        max-width: 100% !important;
        overflow: hidden !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.6em, 8vw, 2em);
    }

    .page-gdpr__hero-description {
        font-size: 0.9em;
    }

    .page-gdpr__section-title {
        font-size: clamp(1.3em, 7vw, 1.8em);
    }

    .page-gdpr__card-title {
        font-size: 1.1em;
    }
}