/* style/gdpr.css */
:root {
    --ebet-primary: #11A84E;
    --ebet-secondary: #22C768;
    --ebet-bg-main: #08160F;
    --ebet-card-bg: #11271B;
    --ebet-text-main: #F2FFF6;
    --ebet-text-secondary: #A7D9B8;
    --ebet-border: #2E7A4E;
    --ebet-glow: #57E38D;
    --ebet-gold: #F2C14E;
    --ebet-divider: #1E3A2A;
    --ebet-deep-green: #0A4B2C;
}

.page-gdpr {
    background-color: var(--ebet-bg-main);
    color: var(--ebet-text-main);
    font-family: Arial, sans-serif;
    line-height: 1.6;
}

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

.page-gdpr__hero-image-wrapper {
    width: 100%;
    max-height: 700px; /* Limit height for large screens */
    overflow: hidden;
    position: relative;
}

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

.page-gdpr__hero-content {
    position: relative; /* Ensure content is above image wrapper if needed, but not overlaying */
    z-index: 10;
    max-width: 900px;
    margin: 40px auto 0;
    padding: 0 20px;
}

.page-gdpr__main-title {
    font-size: clamp(2.5rem, 5vw, 3.5rem);
    color: var(--ebet-gold);
    font-weight: bold;
    line-height: 1.2;
    margin-bottom: 20px;
    text-shadow: 0 0 10px rgba(87, 227, 141, 0.5); /* Glow effect */
}

.page-gdpr__description {
    font-size: 1.2rem;
    color: var(--ebet-text-secondary);
    margin-bottom: 30px;
}

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: bold;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-sizing: border-box;
    max-width: 100%;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.page-gdpr__btn-primary {
    background: linear-gradient(180deg, #2AD16F 0%, #13994A 100%);
    color: var(--ebet-text-main);
    border: none;
}

.page-gdpr__btn-primary:hover {
    background: linear-gradient(180deg, #13994A 0%, #2AD16F 100%);
}

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

.page-gdpr__btn-secondary:hover {
    background: var(--ebet-primary);
    color: var(--ebet-text-main);
}

.page-gdpr__video-section {
    position: relative;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 60px 20px;
    padding-top: 10px; /* Small top padding, body handles --header-offset */
    background-color: var(--ebet-card-bg);
}

.page-gdpr__video-container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    box-sizing: border-box;
    text-align: center;
}

.page-gdpr__video-wrapper {
    position: relative;
    padding-bottom: 56.25%; /* 16:9 Aspect Ratio */
    height: 0;
    overflow: hidden;
    margin-bottom: 20px;
    width: 100%; /* Ensure width is set for desktop as well */
    max-width: 100%;
    box-sizing: border-box;
}

.page-gdpr__video {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: block;
    object-fit: cover;
    cursor: pointer;
}

.page-gdpr__video-caption {
    color: var(--ebet-text-secondary);
    font-size: 1rem;
}

.page-gdpr__section-title {
    font-size: clamp(2rem, 4vw, 2.8rem);
    color: var(--ebet-gold);
    font-weight: bold;
    margin-bottom: 30px;
    text-align: center;
    text-shadow: 0 0 8px rgba(87, 227, 141, 0.3);
}

.page-gdpr__content-area {
    max-width: 1200px;
    margin: 0 auto;
    padding: 40px 20px;
    background-color: var(--ebet-bg-main);
    color: var(--ebet-text-main);
}

.page-gdpr__dark-section {
    background-color: var(--ebet-card-bg);
    color: var(--ebet-text-main);
}

.page-gdpr__text-block {
    font-size: 1.1rem;
    margin-bottom: 20px;
    color: var(--ebet-text-main);
}

.page-gdpr__sub-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: var(--ebet-primary);
    font-weight: bold;
    margin-top: 30px;
    margin-bottom: 15px;
}

.page-gdpr__list {
    list-style: disc;
    margin-left: 25px;
    margin-bottom: 20px;
    color: var(--ebet-text-main);
}

.page-gdpr__list li {
    margin-bottom: 10px;
    font-size: 1.1rem;
}

.page-gdpr__list strong {
    color: var(--ebet-text-secondary);
}

.page-gdpr__link {
    color: var(--ebet-gold);
    text-decoration: underline;
    transition: color 0.3s ease;
}

.page-gdpr__link:hover {
    color: var(--ebet-glow);
}

.page-gdpr__image-inline {
    width: 100%;
    height: auto;
    display: block;
    margin: 30px auto;
    border-radius: 10px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.5);
    min-width: 200px; /* Ensure minimum size */
    min-height: 200px;
}

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

.page-gdpr__faq-item {
    background-color: var(--ebet-bg-main);
    border: 1px solid var(--ebet-divider);
    border-radius: 8px;
    margin-bottom: 15px;
    overflow: hidden;
}

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

.page-gdpr__faq-question:hover {
    background-color: var(--ebet-deep-green);
}

.page-gdpr__faq-toggle {
    font-size: 1.5rem;
    line-height: 1;
    margin-left: 15px;
    color: var(--ebet-primary);
}

.page-gdpr__faq-item[open] .page-gdpr__faq-toggle {
    content: '−';
}

.page-gdpr__faq-answer {
    padding: 0 20px 20px;
    color: var(--ebet-text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.page-gdpr__faq-answer p {
    margin-top: 10px;
}

/* CTA Section */
.page-gdpr__cta-section {
    background-color: var(--ebet-deep-green);
    padding: 80px 20px;
    text-align: center;
    margin-top: 40px;
}

.page-gdpr__cta-section .page-gdpr__section-title {
    color: var(--ebet-gold);
    margin-bottom: 20px;
}

.page-gdpr__cta-section .page-gdpr__description {
    font-size: 1.1rem;
    color: var(--ebet-text-secondary);
    max-width: 800px;
    margin: 0 auto 40px;
}

/* Responsive Design */
@media (max-width: 1024px) {
    .page-gdpr__hero-content {
        margin-top: 20px;
    }
    .page-gdpr__main-title {
        font-size: clamp(2rem, 4.5vw, 3rem);
    }
    .page-gdpr__description {
        font-size: 1.1rem;
    }
    .page-gdpr__cta-button {
        padding: 12px 25px;
        font-size: 1rem;
    }
}

@media (max-width: 768px) {
    .page-gdpr {
        font-size: 16px;
        line-height: 1.6;
    }
    .page-gdpr__hero-section {
        padding-bottom: 40px;
    }
    .page-gdpr__main-title {
        font-size: clamp(1.8rem, 6vw, 2.5rem);
    }
    .page-gdpr__description {
        font-size: 1rem;
        margin-bottom: 20px;
    }
    .page-gdpr__cta-button {
        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: 15px; /* Add spacing between stacked buttons */
        margin-left: 0 !important; /* Remove left margin for stacking */
    }
    .page-gdpr__hero-content .page-gdpr__cta-button {
      margin-left: 0;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.5rem, 5vw, 2rem);
        margin-bottom: 20px;
    }
    .page-gdpr__sub-title {
        font-size: clamp(1.2rem, 4vw, 1.5rem);
    }
    .page-gdpr__content-area {
        padding: 30px 15px;
    }
    .page-gdpr__list {
        margin-left: 20px;
    }
    .page-gdpr__image-inline {
        margin: 20px auto;
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
    }
    .page-gdpr__video-section {
      padding: 30px 15px;
      padding-top: 10px !important;
    }
    .page-gdpr__video-container,
    .page-gdpr__video-wrapper {
      max-width: 100% !important;
      width: 100% !important;
      box-sizing: border-box !important;
      overflow: hidden !important;
      padding-left: 0;
      padding-right: 0;
    }
    .page-gdpr__video {
      max-width: 100% !important;
      width: 100% !important;
      height: auto !important;
    }
    .page-gdpr__faq-question {
        font-size: 1rem;
        padding: 15px;
    }
    .page-gdpr__faq-answer {
        font-size: 0.95rem;
        padding: 0 15px 15px;
    }
    .page-gdpr__cta-section {
        padding: 60px 15px;
    }
    .page-gdpr__cta-section .page-gdpr__cta-button {
        margin-left: 0;
        margin-right: 0;
    }
    .page-gdpr__hero-image-wrapper {
        max-height: 400px;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: clamp(1.5rem, 8vw, 2rem);
    }
    .page-gdpr__description {
        font-size: 0.95rem;
    }
    .page-gdpr__section-title {
        font-size: clamp(1.3rem, 6vw, 1.8rem);
    }
    .page-gdpr__cta-button {
        padding: 10px 20px;
        font-size: 0.95rem;
    }
}