/* style/gdpr.css */

:root {
    --primary-color: #007bff;
    --secondary-color: #ffc107;
    --dark-background: #0d1117;
    --light-text: #ffffff;
    --dark-text: #333333;
    --card-background-dark: rgba(255, 255, 255, 0.1);
    --card-background-light: #ffffff;
    --border-color: #e0e0e0;
}

/* Base styles for the GDPR page */
.page-gdpr {
    font-family: 'Arial', sans-serif;
    line-height: 1.6;
    color: var(--light-text); /* Default text color for dark body background */
    background-color: var(--dark-background); /* Inherited from body, but explicitly set for clarity */
}

/* Top padding for main content to avoid overlap with fixed header */
.page-gdpr__hero-section {
    padding-top: 120px; /* Desktop: Adjust based on actual header height */
    padding-bottom: 60px;
    background-color: var(--dark-background);
    color: var(--light-text);
}

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

.page-gdpr__section--gdpr-intro {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-gdpr__section--principles {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-gdpr__section--rights {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-gdpr__section--security {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-gdpr__section--contact {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-gdpr__section--more-about {
    background-color: var(--dark-background);
    color: var(--light-text);
}

.page-gdpr__section--blog {
    background-color: var(--dark-background);
    color: var(--light-text);
}

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

.page-gdpr__main-title {
    font-size: 3.2em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 20px;
    line-height: 1.2;
}

.page-gdpr__hero-description {
    font-size: 1.1em;
    text-align: center;
    max-width: 900px;
    margin: 0 auto 40px auto;
    color: var(--light-text);
}

.page-gdpr__section-title {
    font-size: 2.5em;
    color: var(--secondary-color);
    text-align: center;
    margin-bottom: 30px;
}

.page-gdpr__section-intro {
    font-size: 1.1em;
    text-align: center;
    max-width: 800px;
    margin: 0 auto 40px auto;
    color: var(--light-text);
}

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

.page-gdpr__cta-button {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 8px;
    font-size: 1.1em;
    font-weight: bold;
    text-decoration: none;
    text-align: center;
    transition: background-color 0.3s ease, transform 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    border: none;
    cursor: pointer;
    max-width: 100%;
    box-sizing: border-box;
    white-space: normal;
    word-wrap: break-word;
}

.page-gdpr__cta-button--primary {
    background-color: var(--primary-color);
    color: var(--light-text);
}

.page-gdpr__cta-button--primary:hover {
    background-color: #0056b3;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-button--secondary {
    background-color: var(--card-background-dark);
    color: var(--secondary-color);
    border: 1px solid var(--secondary-color);
}

.page-gdpr__cta-button--secondary:hover {
    background-color: rgba(255, 193, 7, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.page-gdpr__cta-center {
    text-align: center;
    margin-top: 40px;
}

.page-gdpr__image-wrapper {
    text-align: center;
    margin-bottom: 40px;
}

.page-gdpr__image {
    max-width: 100%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.page-gdpr__grid-layout {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
}

.page-gdpr__card {
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

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

.page-gdpr__security-features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__feature-item {
    text-align: center;
    background-color: var(--card-background-dark);
    padding: 30px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    color: var(--light-text);
}

.page-gdpr__feature-icon {
    width: 100px;
    height: 100px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
    margin-left: auto;
    margin-right: auto;
}

.page-gdpr__feature-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-bottom: 15px;
}

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

.page-gdpr__contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease;
}

.page-gdpr__contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* FAQ styles */
.page-gdpr__faq-list {
    margin-top: 40px;
}

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

.page-gdpr__faq-question {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 18px 25px;
    background-color: rgba(255, 255, 255, 0.08);
    color: var(--light-text);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 8px;
    cursor: pointer;
    user-select: none;
    transition: background-color 0.3s ease, border-color 0.3s ease;
}

.page-gdpr__faq-question:hover {
    background-color: rgba(255, 255, 255, 0.15);
    border-color: var(--primary-color);
}

.page-gdpr__faq-question h3 {
    margin: 0;
    padding: 0;
    flex: 1;
    font-size: 1.15em;
    font-weight: 600;
    line-height: 1.5;
    color: var(--light-text);
    pointer-events: none;
}

.page-gdpr__faq-toggle {
    font-size: 2em;
    font-weight: bold;
    line-height: 1;
    color: var(--primary-color);
    transition: transform 0.3s ease, color 0.3s ease;
    flex-shrink: 0;
    margin-left: 15px;
    pointer-events: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 30px;
    height: 30px;
}

.page-gdpr__faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s cubic-bezier(0.4, 0, 0.2, 1), padding 0.4s ease, opacity 0.4s ease;
    padding: 0 25px;
    opacity: 0;
    background-color: var(--card-background-dark);
    color: var(--light-text);
}

.page-gdpr__faq-item.active .page-gdpr__faq-answer {
    max-height: 2000px !important; /* Sufficiently large to contain content */
    padding: 20px 25px !important;
    opacity: 1;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

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

/* More About Win55 Club section */
.page-gdpr__content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__content-item {
    background-color: var(--card-background-dark);
    padding: 25px;
    border-radius: 10px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    text-align: center;
    color: var(--light-text);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__content-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__content-image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 20px;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-gdpr__content-item-title {
    font-size: 1.4em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gdpr__content-link {
    display: inline-block;
    margin-top: 15px;
    color: var(--secondary-color);
    text-decoration: none;
    font-weight: bold;
    transition: color 0.3s ease, text-decoration 0.3s ease;
}

.page-gdpr__content-link:hover {
    color: var(--light-text);
    text-decoration: underline;
}

/* Blog List Section */
.page-gdpr__blog-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.page-gdpr__blog-item {
    background-color: var(--card-background-dark);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.page-gdpr__blog-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.page-gdpr__blog-link {
    display: block;
    text-decoration: none;
    color: var(--light-text);
    padding: 20px;
}

.page-gdpr__blog-image {
    width: 100%;
    height: 180px;
    object-fit: cover;
    border-radius: 8px;
    margin-bottom: 15px;
    max-width: 100%;
    height: auto;
    display: block;
}

.page-gdpr__blog-item-title {
    font-size: 1.3em;
    color: var(--primary-color);
    margin-top: 0;
    margin-bottom: 10px;
}

.page-gdpr__blog-item-excerpt {
    font-size: 0.95em;
    color: rgba(255, 255, 255, 0.8);
    margin-bottom: 15px;
}

.page-gdpr__blog-item-date {
    font-size: 0.85em;
    color: var(--secondary-color);
    display: block;
    text-align: right;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .page-gdpr__main-title {
        font-size: 2.8em;
    }
    .page-gdpr__section-title {
        font-size: 2em;
    }
}

@media (max-width: 768px) {
    .page-gdpr__hero-section {
        padding-top: 100px; /* Mobile: Adjust based on actual header height */
        padding-bottom: 40px;
    }
    .page-gdpr__section {
        padding: 40px 0;
    }
    .page-gdpr__container {
        padding: 0 15px;
    }
    .page-gdpr__main-title {
        font-size: 2.2em;
    }
    .page-gdpr__hero-description {
        font-size: 1em;
    }
    .page-gdpr__section-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-intro {
        font-size: 1em;
    }
    .page-gdpr__cta-buttons {
        flex-direction: column;
        align-items: center;
        gap: 15px;
    }
    .page-gdpr__cta-button {
        width: 100% !important;
        max-width: 100% !important;
        padding: 12px 20px !important;
        font-size: 1em !important;
    }
    .page-gdpr__grid-layout {
        grid-template-columns: 1fr;
    }
    .page-gdpr__card {
        padding: 20px;
    }
    .page-gdpr__card-title {
        font-size: 1.3em;
    }
    .page-gdpr__feature-item {
        padding: 20px;
    }
    .page-gdpr__feature-icon {
        width: 80px;
        height: 80px;
    }
    .page-gdpr__feature-title {
        font-size: 1.2em;
    }
    .page-gdpr__faq-question {
        padding: 15px 20px;
    }
    .page-gdpr__faq-question h3 {
        font-size: 1em;
    }
    .page-gdpr__faq-toggle {
        font-size: 1.8em;
        width: 25px;
        height: 25px;
    }
    .page-gdpr__faq-answer {
        padding: 0 20px;
    }
    .page-gdpr__faq-item.active .page-gdpr__faq-answer {
        padding: 15px 20px !important;
    }
    .page-gdpr__content-grid {
        grid-template-columns: 1fr;
    }
    .page-gdpr__content-item {
        padding: 20px;
    }
    .page-gdpr__content-image {
        height: 150px;
    }
    .page-gdpr__content-item-title {
        font-size: 1.2em;
    }
    .page-gdpr__blog-list {
        grid-template-columns: 1fr;
    }
    .page-gdpr__blog-link {
        padding: 15px;
    }
    .page-gdpr__blog-image {
        height: 150px;
    }
    .page-gdpr__blog-item-title {
        font-size: 1.1em;
    }
    .page-gdpr__blog-item-excerpt {
        font-size: 0.9em;
    }
    .page-gdpr img,
    .page-gdpr__image,
    .page-gdpr__feature-icon,
    .page-gdpr__content-image,
    .page-gdpr__blog-image {
        max-width: 100% !important;
        width: 100% !important;
        height: auto !important;
        box-sizing: border-box !important;
    }
    .page-gdpr__section,
    .page-gdpr__container,
    .page-gdpr__card,
    .page-gdpr__feature-item,
    .page-gdpr__content-item,
    .page-gdpr__blog-item {
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
        padding-left: 0;
        padding-right: 0;
    }
    .page-gdpr__cta-buttons,
    .page-gdpr__security-features,
    .page-gdpr__grid-layout,
    .page-gdpr__content-grid,
    .page-gdpr__blog-list {
        padding-left: 15px;
        padding-right: 15px;
        max-width: 100% !important;
        width: 100% !important;
        box-sizing: border-box !important;
    }
}

@media (max-width: 480px) {
    .page-gdpr__main-title {
        font-size: 1.8em;
    }
    .page-gdpr__section-title {
        font-size: 1.5em;
    }
    .page-gdpr__cta-button {
        font-size: 0.95em !important;
        padding: 10px 15px !important;
    }
    .page-gdpr__faq-question h3 {
        font-size: 0.95em;
    }
    .page-gdpr__faq-toggle {
        font-size: 1.5em;
        width: 20px;
        height: 20px;
    }
}