/* ============================================
   Projekt: moversjeddah.com (site37-de)
   CSS-Architektur: SMACSS (Base/Layout/Module/State/Theme)
   HTML-Klassenstil: Feature-based (interactive-header, scrollable-navigation, welcome-banner)
   Farbpalette: Deutsche Natur (forest-deep, mountain-stone, river-blue, sunset-amber, meadow-green, twilight-gray)
   Einzigartiger Effekt: Neumorphism (weiche Schatten, erhabene Karten)
   Typografie: Geometric (Montserrat + Poppins)
   Button-Stil: 3D Effect (box-shadow depth + transform)
   JS Naming: snake_case
   ============================================ */

:root {
    /* Deutsche Natur Palette */
    --forest-deep: #1a5f2f;
    --mountain-stone: #5c6b73;
    --river-blue: #2e86ab;
    --sunset-amber: #f4a460;
    --meadow-green: #7dd56f;
    --twilight-gray: #2d3436;
    --snow-white: #f8f9fa;
    --text-dark: #1a1a1a;
    --text-light: #f1f4ff;
    --border-soft: rgba(92, 107, 115, 0.3);
    --shadow-soft: rgba(0, 0, 0, 0.1);
    
    /* Header height */
    --header-height: 70px;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
}

/* ============================================
   BASE - SMACSS
   ============================================ */

*,
*::before,
*::after {
    box-sizing: border-box;
    max-width: 100%;
}

html,
body {
    margin: 0;
    padding: 0;
    overflow-x: hidden !important;
    width: 100% !important;
    background: var(--snow-white);
    color: var(--text-dark);
    font-family: 'Poppins', sans-serif;
    line-height: 1.6;
}

body {
    min-height: 100vh;
}

a {
    color: inherit;
    text-decoration: none;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
    line-height: 1.2;
    margin: 0 0 var(--spacing-md) 0;
}

/* ============================================
   LAYOUT - SMACSS
   ============================================ */

.layout-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.layout-section {
    padding: var(--spacing-xl) 0;
}

.layout-grid {
    display: grid;
    gap: var(--spacing-lg);
}

/* ============================================
   MODULE - SMACSS
   ============================================ */

/* Header Module */
.interactive-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background: var(--snow-white);
    border-bottom: 2px solid var(--border-soft);
    box-shadow: 0 2px 10px var(--shadow-soft);
}

.interactive-header__container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: flex;
    align-items: center;
    justify-content: space-between;
    height: var(--header-height);
}

.welcome-banner {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.welcome-banner__logo {
    font-size: 1.75rem;
}

.welcome-banner__text {
    display: flex;
    flex-direction: column;
    font-family: 'Montserrat', sans-serif;
    font-weight: 700;
}

.welcome-banner__subtitle {
    font-size: 0.75rem;
    font-weight: 400;
    opacity: 0.7;
}

.scrollable-navigation {
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
}

.scrollable-navigation__menu {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: var(--spacing-md);
}

.scrollable-navigation__link {
    font-weight: 600;
    color: var(--text-dark);
    transition: color 0.3s ease;
}

.scrollable-navigation__link:hover {
    color: var(--river-blue);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    border: none;
    cursor: pointer;
    padding: 8px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--text-dark);
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(8px, 8px);
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(7px, -7px);
}

.mobile-navigation-panel {
    display: none;
    position: fixed;
    top: calc(var(--header-height) - 1px);
    left: 0;
    width: 100%;
    background: var(--snow-white);
    border-bottom: 2px solid var(--border-soft);
    box-shadow: 0 4px 10px var(--shadow-soft);
    z-index: 999;
}

.mobile-navigation-panel.active {
    display: block;
}

.mobile-navigation-panel__list {
    list-style: none;
    margin: 0;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.mobile-navigation-panel__link {
    display: block;
    padding: var(--spacing-sm);
    font-weight: 600;
    color: var(--text-dark);
    border-bottom: 1px solid var(--border-soft);
}

/* Hero Module */
.welcome-banner-section {
    padding-top: calc(var(--header-height) + 60px);
    padding-bottom: var(--spacing-xl);
    min-height: calc(100vh - var(--header-height));
    background: linear-gradient(135deg, var(--river-blue) 0%, var(--forest-deep) 100%);
    color: var(--text-light);
    background-attachment: scroll;
}

.welcome-banner-section__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: var(--spacing-xl);
    align-items: center;
}

.welcome-banner-section__title {
    font-size: clamp(2rem, 5vw, 3.5rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.welcome-banner-section__description {
    font-size: clamp(1rem, 2vw, 1.25rem);
    margin-bottom: var(--spacing-lg);
    opacity: 0.95;
}

.welcome-banner-section__actions {
    display: flex;
    gap: var(--spacing-md);
    flex-wrap: wrap;
}

.welcome-banner-section__features {
    list-style: none;
    padding: 0;
    margin: var(--spacing-lg) 0 0 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.welcome-banner-section__feature {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

/* Benefits Module */
.entertainment-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.entertainment-card {
    background: var(--snow-white);
    padding: var(--spacing-lg);
    border-radius: 20px;
    /* Neumorphism Effect */
    background: #e0e0e0;
    box-shadow: 
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.entertainment-card:hover {
    transform: translateY(-5px);
    box-shadow: 
        25px 25px 70px #bebebe,
        -25px -25px 70px #ffffff;
}

.entertainment-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--forest-deep);
}

.entertainment-card__description {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Games Module */
.games-showcase {
    padding: var(--spacing-xl) 0;
    background: var(--snow-white);
}

.games-showcase__header {
    text-align: center;
    margin-bottom: var(--spacing-xl);
}

.games-showcase__title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    color: var(--forest-deep);
    margin-bottom: var(--spacing-sm);
}

.games-showcase__subtitle {
    color: var(--mountain-stone);
    font-size: 1.1rem;
}

.games-showcase__grid {
    display: flex;
    justify-content: center;
    align-items: stretch;
    gap: clamp(1.5rem, 3vw, 2.5rem);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.game-entry-card {
    flex: 0 0 auto;
    width: clamp(280px, 25vw, 350px);
    max-width: 350px;
    min-width: 280px;
    background: var(--snow-white);
    border-radius: 20px;
    overflow: hidden;
    /* Neumorphism Effect */
    background: #e0e0e0;
    box-shadow: 
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
    transition: transform 0.3s ease;
}

.game-entry-card:hover {
    transform: translateY(-8px);
}

.game-entry-card__image {
    width: 100%;
    height: 200px;
    object-fit: cover;
    background: var(--twilight-gray);
}

.game-entry-card__content {
    padding: var(--spacing-md);
}

.game-entry-card__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--forest-deep);
}

.game-entry-card__description {
    color: var(--text-dark);
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
}

.game-entry-card__meta {
    list-style: none;
    padding: 0;
    margin: 0 0 var(--spacing-md) 0;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
    font-size: 0.9rem;
    color: var(--mountain-stone);
}

/* Buttons - 3D Effect */
.action-button {
    display: inline-block;
    padding: 12px 30px;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    border: none;
    border-radius: 12px;
    cursor: pointer;
    transition: all 0.1s ease;
    text-decoration: none;
    /* 3D Effect */
    background: var(--river-blue);
    color: var(--text-light);
    box-shadow: 0 5px 0 var(--forest-deep);
    transform: translateY(-2px);
}

.action-button:hover {
    transform: translateY(-4px);
    box-shadow: 0 7px 0 var(--forest-deep);
}

.action-button:active {
    transform: translateY(2px);
    box-shadow: 0 1px 0 var(--forest-deep);
}

.action-button--primary {
    background: var(--river-blue);
    color: var(--text-light);
    box-shadow: 0 5px 0 var(--forest-deep);
}

.action-button--secondary {
    background: var(--sunset-amber);
    color: var(--text-dark);
    box-shadow: 0 5px 0 var(--mountain-stone);
}

/* FAQ Module */
.collapsible-faq {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.collapsible-faq__item {
    margin-bottom: var(--spacing-md);
    background: var(--snow-white);
    border-radius: 12px;
    overflow: hidden;
    /* Neumorphism Effect */
    background: #e0e0e0;
    box-shadow: 
        10px 10px 30px #bebebe,
        -10px -10px 30px #ffffff;
}

.collapsible-faq__question {
    width: 100%;
    padding: var(--spacing-md);
    background: transparent;
    border: none;
    text-align: left;
    font-family: 'Montserrat', sans-serif;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--forest-deep);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.collapsible-faq__question::after {
    content: '+';
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.collapsible-faq__item.active .collapsible-faq__question::after {
    transform: rotate(45deg);
}

.collapsible-faq__answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
    padding: 0 var(--spacing-md);
}

.collapsible-faq__item.active .collapsible-faq__answer {
    max-height: 500px;
    padding: 0 var(--spacing-md) var(--spacing-md) var(--spacing-md);
}

.collapsible-faq__answer-content {
    color: var(--text-dark);
    line-height: 1.7;
}

/* Testimonials Module */
.testimonial-showcase {
    padding: var(--spacing-xl) 0;
    background: linear-gradient(135deg, var(--meadow-green) 0%, var(--river-blue) 100%);
    color: var(--text-light);
}

.testimonial-showcase__grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--spacing-lg);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.testimonial-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.testimonial-card__text {
    font-style: italic;
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
}

.testimonial-card__author {
    font-weight: 600;
    text-align: right;
}

/* Leaderboard Module */
.leaderboard-showcase {
    padding: var(--spacing-xl) 0;
    background: var(--snow-white);
}

.leaderboard-showcase__grid {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: var(--spacing-md);
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.leaderboard-card {
    flex: 0 0 auto;
    width: clamp(250px, 20vw, 300px);
    background: var(--snow-white);
    padding: var(--spacing-md);
    border-radius: 15px;
    /* Neumorphism Effect */
    background: #e0e0e0;
    box-shadow: 
        15px 15px 40px #bebebe,
        -15px -15px 40px #ffffff;
    text-align: center;
}

.leaderboard-card__rank {
    font-size: 2rem;
    font-weight: 700;
    color: var(--sunset-amber);
    margin-bottom: var(--spacing-sm);
}

.leaderboard-card__name {
    font-size: 1.2rem;
    font-weight: 600;
    color: var(--forest-deep);
    margin-bottom: var(--spacing-xs);
}

.leaderboard-card__score {
    font-size: 1.5rem;
    color: var(--river-blue);
    font-weight: 700;
}

/* Disclaimer Module */
.disclaimer-section {
    padding: var(--spacing-lg) 0;
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a24 100%);
    color: var(--text-light);
    border-top: 3px solid var(--sunset-amber);
    border-bottom: 3px solid var(--sunset-amber);
}

.disclaimer-section__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    text-align: center;
}

.disclaimer-section__title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
}

.disclaimer-section__text {
    margin-bottom: var(--spacing-sm);
    line-height: 1.7;
}

.disclaimer-section__badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

.disclaimer-badge {
    background: rgba(255, 255, 255, 0.2);
    padding: 8px 16px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
}

/* Footer Module */
.page-footer {
    background: var(--twilight-gray);
    color: var(--text-light);
    padding: var(--spacing-lg) 0 var(--spacing-sm) 0;
}

.page-footer__content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1.5fr;
    gap: var(--spacing-md);
    margin-bottom: var(--spacing-md);
}

.page-footer__section-title {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
    font-weight: 600;
}

.page-footer__description {
    line-height: 1.5;
    opacity: 0.85;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.page-footer__links {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.page-footer__link {
    color: var(--text-light);
    opacity: 0.75;
    transition: opacity 0.3s ease;
    font-size: 0.9rem;
    line-height: 1.4;
}

.page-footer__link:hover {
    opacity: 1;
}

.page-footer__compliance {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-xs);
}

.page-footer__compliance-title {
    font-size: 1rem;
    margin-bottom: var(--spacing-xs);
    color: var(--text-light);
    font-weight: 600;
}

.page-footer__compliance-logos {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    align-items: center;
    margin-bottom: var(--spacing-xs);
}

.compliance-logo {
    height: 30px !important;
    width: auto !important;
    background: rgba(255, 255, 255, 0.95);
    padding: 6px;
    border-radius: 6px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid var(--border-soft);
}

.compliance-logo:hover {
    opacity: 1;
    border-color: var(--river-blue);
    box-shadow: 0 0 8px rgba(46, 134, 171, 0.3);
}

.compliance-logo[src*="gambling-therapy-logo.svg"] {
    background: transparent !important;
    padding: 0 !important;
    border: none !important;
}

.page-footer__age-restriction {
    font-size: 1.2rem;
    font-weight: 700;
    color: var(--sunset-amber);
    margin-right: 8px;
}

.page-footer__compliance-text {
    font-size: 0.8rem;
    opacity: 0.75;
    line-height: 1.4;
    margin-top: var(--spacing-xs);
}

.page-footer__disclaimer-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 8px;
    border-radius: 4px;
    font-size: 0.85rem;
    font-weight: 600;
    margin-top: var(--spacing-xs);
}

.page-footer__bottom {
    text-align: center;
    padding-top: var(--spacing-sm);
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.7;
    font-size: 0.85rem;
    max-width: 1200px;
    margin: 0 auto;
    padding-left: var(--spacing-md);
    padding-right: var(--spacing-md);
    line-height: 1.5;
}

/* ============================================
   STATE - SMACSS
   ============================================ */

.is-hidden {
    display: none !important;
}

.is-active {
    display: block !important;
}

.is-visible {
    visibility: visible;
}

/* ============================================
   THEME - SMACSS
   ============================================ */

.theme-dark {
    background: var(--twilight-gray);
    color: var(--text-light);
}

/* ============================================
   MODAL - Age Verification & Cookie Consent
   ============================================ */

.age-verification-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
}

.age-verification-modal.active {
    display: flex;
}

.age-verification-modal__content {
    background: var(--snow-white);
    padding: var(--spacing-xl);
    border-radius: 20px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    /* Neumorphism Effect */
    background: #e0e0e0;
    box-shadow: 
        30px 30px 80px #bebebe,
        -30px -30px 80px #ffffff;
}

.age-verification-modal__title {
    font-size: 1.8rem;
    margin-bottom: var(--spacing-md);
    color: var(--forest-deep);
}

.age-verification-modal__text {
    margin-bottom: var(--spacing-md);
    line-height: 1.7;
    color: var(--text-dark);
}

.age-verification-modal__actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    margin-top: var(--spacing-lg);
}

.age-verification-modal__warning {
    margin-top: var(--spacing-md);
    font-size: 0.9rem;
    opacity: 0.7;
}

.age-denied-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10001;
    align-items: center;
    justify-content: center;
}

.age-denied-modal.active {
    display: flex;
}

.age-denied-modal__content {
    background: var(--snow-white);
    padding: var(--spacing-xl);
    border-radius: 20px;
    max-width: 400px;
    width: 90%;
    text-align: center;
    /* Neumorphism Effect */
    background: #e0e0e0;
    box-shadow: 
        30px 30px 80px #bebebe,
        -30px -30px 80px #ffffff;
}

.cookie-consent-banner {
    display: none;
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: var(--snow-white);
    padding: var(--spacing-md);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 9999;
    /* Neumorphism Effect */
    background: #e0e0e0;
    box-shadow: 
        20px 20px 60px #bebebe,
        -20px -20px 60px #ffffff;
}

.cookie-consent-banner.active {
    display: block;
}

.cookie-consent-banner__text {
    margin-bottom: var(--spacing-md);
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-dark);
}

.cookie-consent-banner__actions {
    display: flex;
    gap: var(--spacing-sm);
    justify-content: flex-end;
}

.cookie-consent-banner__link {
    color: var(--river-blue);
    font-size: 0.9rem;
    text-decoration: underline;
}

/* ============================================
   RESPONSIVE - Mobile First
   ============================================ */

@media (max-width: 900px) {
    .scrollable-navigation__menu {
        display: none;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .welcome-banner-section__content {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .welcome-banner-section__actions {
        justify-content: center;
    }
    
    .games-showcase__grid {
        flex-direction: column;
        align-items: center;
    }
    
    .game-entry-card {
        width: 100%;
        max-width: 400px;
    }
    
    .entertainment-grid {
        grid-template-columns: 1fr;
    }
    
    .testimonial-showcase__grid {
        grid-template-columns: 1fr;
    }
    
    .leaderboard-showcase__grid {
        flex-direction: column;
        align-items: center;
    }
    
    .leaderboard-card {
        width: 100%;
        max-width: 400px;
    }
    
    .cookie-consent-banner {
        right: 10px;
        left: 10px;
        max-width: none;
        bottom: 10px;
    }
    
    .page-footer__content {
        grid-template-columns: 1fr 1fr;
        gap: var(--spacing-md);
    }
    
    .page-footer__compliance {
        grid-column: 1 / -1;
    }
}

@media (max-width: 600px) {
    :root {
        --header-height: 60px;
    }
    
    .welcome-banner-section {
        padding-top: calc(var(--header-height) + 40px);
        min-height: calc(100vh - var(--header-height));
    }
    
    .welcome-banner-section__title {
        font-size: 1.8rem;
    }
    
    .welcome-banner-section__actions {
        flex-direction: column;
    }
    
    .action-button {
        width: 100%;
    }
    
    .page-footer__content {
        grid-template-columns: 1fr;
        gap: var(--spacing-sm);
    }
    
    .page-footer__compliance-logos {
        justify-content: center;
    }
}

