/* ============================================
   UNIQUIZATION: ChapeauBateau.com (site22-de)
   
   CSS ARCHITECTURE: SMACSS (Scalable and Modular Architecture)
   - Categories: Base, Layout, Module, State, Theme
   
   COLOR PALETTE: Forest Magic (Fantasy/Nature Theme)
   - --forest-green: #2d5016 (Dark forest)
   - --elf-gold: #d4af37 (Magical gold)
   - --shadow-purple: #4b0082 (Deep shadows)
   - --nature-brown: #8b4513 (Earth tones)
   - --mystic-blue: #1e90ff (Magical glow)
   - --wood-bark: #654321 (Natural wood)
   
   CSS EFFECT: Neumorphism (soft shadows, embossed look)
   TYPOGRAPHY: Elegant Serif (Playfair Display + Lato)
   BUTTONS: Outline Morph (transparent with transform)
   HTML STRUCTURE: Prefix Style (layout-, module-, state-, theme-)
   LANGUAGE: German (Deutsch)
   ============================================ */

/* ============================================
   BASE RULES - Default element styling
   ============================================ */

:root {
    /* Forest Magic Theme Colors */
    --forest-green: #2d5016;
    --forest-green-light: #3d6826;
    --forest-green-dark: #1d3810;
    --elf-gold: #d4af37;
    --elf-gold-light: #e4c157;
    --shadow-purple: #4b0082;
    --shadow-purple-light: #6b20a2;
    --nature-brown: #8b4513;
    --nature-brown-light: #a85823;
    --mystic-blue: #1e90ff;
    --mystic-blue-light: #3ea8ff;
    --wood-bark: #654321;
    --wood-bark-light: #7d5a32;
    
    /* Semantic Colors */
    --text-light: #f5f5f5;
    --text-dark: #1a1a1a;
    --background-light: #fafaf8;
    --background-dark: #1a2e1a;
    --border-color: rgba(212, 175, 55, 0.3);
    
    /* Status Colors */
    --success-color: #28a745;
    --danger-color: #dc3545;
    --warning-color: #ffc107;
    --info-color: #17a2b8;
    
    /* Typography */
    --font-heading: 'Playfair Display', serif;
    --font-body: 'Lato', sans-serif;
    
    /* Spacing */
    --spacing-xs: 0.5rem;
    --spacing-sm: 1rem;
    --spacing-md: 1.5rem;
    --spacing-lg: 2rem;
    --spacing-xl: 3rem;
    
    /* Neumorphism Shadows */
    --shadow-light: 6px 6px 12px rgba(0,0,0,0.15), -6px -6px 12px rgba(255,255,255,0.05);
    --shadow-inset: inset 4px 4px 8px rgba(0,0,0,0.2), inset -4px -4px 8px rgba(255,255,255,0.05);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    overflow-x: hidden !important;
}

body {
    font-family: var(--font-body);
    line-height: 1.6;
    color: var(--text-light);
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--forest-green-dark) 100%);
    overflow-x: hidden !important;
    max-width: 100% !important;
    word-wrap: break-word;
}

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-heading);
    font-weight: 700;
    line-height: 1.2;
    color: var(--elf-gold);
}

a {
    color: var(--elf-gold);
    text-decoration: none;
    transition: all 0.3s ease;
}

a:hover {
    color: var(--elf-gold-light);
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    border: none;
    font-family: var(--font-body);
}

/* ============================================
   LAYOUT RULES - Major layout sections
   ============================================ */

.layout-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: rgba(26, 46, 26, 0.95);
    backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0,0,0,0.3);
    z-index: 1000;
    padding: 1rem 0;
}

.layout-container {
    max-width: 1200px;
    width: 100%;
    margin: 0 auto;
    padding: 0 var(--spacing-md);
}

.layout-header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: var(--spacing-md);
}

.layout-section {
    padding: clamp(3rem, 6vw, 5rem) 0;
    position: relative;
}

.layout-section-title {
    font-size: clamp(2rem, 4vw, 2.5rem);
    text-align: center;
    margin-bottom: var(--spacing-md);
    color: var(--elf-gold);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.layout-section-subtitle {
    text-align: center;
    font-size: clamp(1rem, 2vw, 1.2rem);
    color: var(--text-light);
    margin-bottom: var(--spacing-lg);
    opacity: 0.9;
}

.layout-footer {
    background: var(--background-dark);
    padding: var(--spacing-xl) 0 var(--spacing-md);
    border-top: 2px solid var(--elf-gold);
}

.layout-footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: var(--spacing-lg);
    margin-bottom: var(--spacing-lg);
}

.layout-footer-bottom {
    text-align: center;
    padding-top: var(--spacing-md);
    border-top: 1px solid var(--border-color);
}

/* ============================================
   MODULE RULES - Reusable components
   ============================================ */

/* Logo Module */
.module-logo {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.module-logo-link {
    display: flex;
    align-items: center;
    gap: var(--spacing-xs);
}

.module-logo-text {
    font-family: var(--font-heading);
    font-size: clamp(1.2rem, 3vw, 1.5rem);
    font-weight: 700;
    color: var(--elf-gold);
    white-space: nowrap;
}

/* Badge Module */
.module-badge {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.theme-success {
    background: var(--success-color);
    color: white;
}

.theme-danger {
    background: var(--danger-color);
    color: white;
}

.theme-warning {
    background: var(--warning-color);
    color: var(--text-dark);
}

.theme-info {
    background: var(--info-color);
    color: white;
}

.theme-success-large {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Navigation Module */
.module-nav {
    display: flex;
}

.module-nav-list {
    display: flex;
    align-items: center;
    gap: clamp(0.5rem, 2vw, 1.5rem);
    list-style: none;
}

.module-nav-item {
    position: relative;
}

.module-nav-link {
    color: var(--text-light);
    font-weight: 500;
    padding: 0.5rem 0.75rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    white-space: nowrap;
    font-size: clamp(0.85rem, 1.5vw, 1rem);
}

.module-nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--elf-gold);
}

.module-btn-nav {
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--forest-green-light) 100%);
    color: var(--elf-gold);
    font-weight: 700;
    padding: 0.6rem 1.2rem;
}

.module-btn-nav:hover {
    background: linear-gradient(135deg, var(--forest-green-light) 0%, var(--elf-gold) 100%);
    color: var(--background-dark);
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(212, 175, 55, 0.3);
}

/* Burger Menu Module */
.module-burger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: transparent;
    padding: 0.5rem;
    cursor: pointer;
    z-index: 1002;
}

.module-burger span {
    display: block;
    width: 25px;
    height: 3px;
    background: var(--elf-gold);
    border-radius: 2px;
    transition: all 0.3s ease;
}

/* Mobile Menu Module */
.module-mobile-menu {
    position: fixed;
    top: 0;
    right: -100%;
    width: 280px;
    height: 100vh;
    background: var(--background-dark);
    box-shadow: -5px 0 15px rgba(0,0,0,0.5);
    z-index: 1001;
    transition: right 0.3s ease;
    padding: var(--spacing-xl) var(--spacing-md);
}

.module-mobile-menu.state-active {
    right: 0;
}

.module-mobile-close {
    position: absolute;
    top: var(--spacing-sm);
    right: var(--spacing-sm);
    background: transparent;
    color: var(--elf-gold);
    font-size: 2rem;
    width: 40px;
    height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.module-mobile-close:hover {
    background: rgba(212, 175, 55, 0.1);
    transform: rotate(90deg);
}

.module-mobile-nav-list {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
    margin-top: var(--spacing-xl);
}

.module-mobile-nav-link {
    display: block;
    color: var(--text-light);
    padding: var(--spacing-sm);
    border-radius: 8px;
    font-size: 1.1rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.module-mobile-nav-link:hover {
    background: rgba(212, 175, 55, 0.1);
    color: var(--elf-gold);
    padding-left: calc(var(--spacing-sm) + 10px);
}

/* Hero Module */
.module-hero {
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    padding-top: 120px;
    background: 
        linear-gradient(135deg, rgba(26, 46, 26, 0.9) 0%, rgba(45, 80, 22, 0.8) 100%),
        radial-gradient(circle at 20% 30%, rgba(75, 0, 130, 0.2) 0%, transparent 50%),
        radial-gradient(circle at 80% 70%, rgba(212, 175, 55, 0.15) 0%, transparent 50%);
    background-attachment: scroll;
    position: relative;
    overflow: hidden;
}

.module-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        45deg,
        transparent,
        transparent 35px,
        rgba(212, 175, 55, 0.03) 35px,
        rgba(212, 175, 55, 0.03) 70px
    );
    pointer-events: none;
}

.module-hero-content {
    text-align: center;
    max-width: 800px;
    position: relative;
    z-index: 1;
}

.module-hero-title {
    font-size: clamp(2.5rem, 6vw, 4rem);
    margin-bottom: var(--spacing-md);
    color: var(--elf-gold);
    text-shadow: 3px 3px 6px rgba(0,0,0,0.5);
    animation: fadeInDown 1s ease;
}

.module-hero-subtitle {
    font-size: clamp(1.2rem, 3vw, 1.8rem);
    margin-bottom: var(--spacing-md);
    color: var(--text-light);
    font-weight: 300;
    animation: fadeInUp 1s ease 0.2s both;
}

.module-hero-description {
    font-size: clamp(1rem, 2vw, 1.2rem);
    margin-bottom: var(--spacing-lg);
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.8;
    animation: fadeInUp 1s ease 0.4s both;
}

.module-hero-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
    animation: fadeInUp 1s ease 0.6s both;
}

/* Button Module (Outline Morph style) */
.module-btn {
    display: inline-block;
    padding: 0.75rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-align: center;
    transition: all 0.3s ease;
    position: relative;
    z-index: 1;
    overflow: hidden;
    white-space: nowrap;
}

.module-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    z-index: -1;
    border-radius: 50px;
    transition: all 0.3s ease;
}

.module-btn--primary {
    background: transparent;
    border: 2px solid var(--elf-gold);
    color: var(--elf-gold);
}

.module-btn--primary::before {
    background: var(--elf-gold);
    transform: scaleX(0);
    transform-origin: left;
}

.module-btn--primary:hover {
    color: var(--background-dark);
}

.module-btn--primary:hover::before {
    transform: scaleX(1);
}

.module-btn--secondary {
    background: transparent;
    border: 2px solid var(--mystic-blue);
    color: var(--mystic-blue);
}

.module-btn--secondary::before {
    background: var(--mystic-blue);
    transform: scaleX(0);
    transform-origin: left;
}

.module-btn--secondary:hover {
    color: var(--background-dark);
}

.module-btn--secondary:hover::before {
    transform: scaleX(1);
}

.module-btn--large {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.module-btn--small {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

/* Benefits Module */
.module-benefits-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.module-benefit-card {
    flex: 0 0 auto;
    width: clamp(280px, 30%, 350px);
    max-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.module-benefit-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.2);
    border-color: var(--elf-gold);
}

.module-benefit-icon {
    font-size: 3rem;
    margin-bottom: var(--spacing-md);
}

.module-benefit-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--elf-gold);
}

.module-benefit-text {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.8;
}

/* Games Module */
.module-games-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;
}

.module-game-card {
    flex: 0 0 auto;
    width: clamp(280px, 28%, 350px);
    max-width: 350px;
    min-width: 280px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
    display: flex;
    flex-direction: column;
}

.module-game-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 30px rgba(212, 175, 55, 0.3);
    border-color: var(--elf-gold);
}

.module-game-image {
    width: 100%;
    height: 256px;
    overflow: hidden;
    background: linear-gradient(135deg, var(--forest-green-dark) 0%, var(--shadow-purple) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.module-game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.module-game-card:hover .module-game-image img {
    transform: scale(1.1);
}

.module-game-info {
    padding: var(--spacing-md);
    flex: 1;
    display: flex;
    flex-direction: column;
}

.module-game-title {
    font-size: 1.5rem;
    margin-bottom: var(--spacing-sm);
    color: var(--elf-gold);
}

.module-game-description {
    color: var(--text-light);
    opacity: 0.9;
    margin-bottom: var(--spacing-md);
    line-height: 1.6;
    flex: 1;
}

.module-game-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: var(--spacing-md);
    flex-wrap: wrap;
    gap: var(--spacing-xs);
}

.module-game-rating {
    font-size: 0.9rem;
    color: var(--elf-gold-light);
}

.module-game-tag {
    background: rgba(212, 175, 55, 0.2);
    color: var(--elf-gold);
    padding: 0.25rem 0.75rem;
    border-radius: 12px;
    font-size: 0.85rem;
    font-weight: 600;
}

/* FAQ Module */
.module-faq {
    max-width: 800px;
    margin: 0 auto;
}

.module-faq-item {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    border-radius: 12px;
    margin-bottom: var(--spacing-md);
    border: 1px solid rgba(212, 175, 55, 0.2);
    overflow: hidden;
}

.module-faq-question {
    width: 100%;
    padding: var(--spacing-md);
    background: transparent;
    color: var(--elf-gold);
    text-align: left;
    font-size: 1.1rem;
    font-weight: 600;
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: all 0.3s ease;
}

.module-faq-question:hover {
    background: rgba(212, 175, 55, 0.1);
}

.module-faq-icon {
    font-size: 1.5rem;
    transition: transform 0.3s ease;
}

.module-faq-item.state-active .module-faq-icon {
    transform: rotate(45deg);
}

.module-faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.3s ease;
}

.module-faq-item.state-active .module-faq-answer {
    max-height: 500px;
}

.module-faq-answer p {
    padding: 0 var(--spacing-md) var(--spacing-md);
    color: var(--text-light);
    line-height: 1.8;
}

.module-faq-answer strong {
    color: var(--elf-gold);
}

/* Testimonials Module */
.module-testimonials-grid {
    display: flex;
    justify-content: center;
    gap: var(--spacing-lg);
    flex-wrap: wrap;
    max-width: 1200px;
    margin: 0 auto;
}

.module-testimonial-card {
    flex: 0 0 auto;
    width: clamp(280px, 30%, 350px);
    max-width: 350px;
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-lg);
    border-radius: 20px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    box-shadow: var(--shadow-light);
    transition: all 0.3s ease;
}

.module-testimonial-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(212, 175, 55, 0.2);
}

.module-testimonial-rating {
    font-size: 1.2rem;
    margin-bottom: var(--spacing-sm);
    color: var(--elf-gold);
}

.module-testimonial-text {
    color: var(--text-light);
    line-height: 1.8;
    margin-bottom: var(--spacing-md);
    font-style: italic;
    opacity: 0.9;
}

.module-testimonial-author {
    display: flex;
    align-items: center;
    gap: var(--spacing-sm);
}

.module-testimonial-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--forest-green) 0%, var(--elf-gold) 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
}

.module-testimonial-name {
    font-weight: 600;
    color: var(--elf-gold);
}

.module-testimonial-location {
    font-size: 0.9rem;
    color: var(--text-light);
    opacity: 0.8;
}

/* Leaderboard Module */
.module-leaderboard {
    max-width: 600px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    gap: var(--spacing-sm);
}

.module-leaderboard-card {
    background: rgba(255, 255, 255, 0.05);
    backdrop-filter: blur(10px);
    padding: var(--spacing-md);
    border-radius: 12px;
    border: 1px solid rgba(212, 175, 55, 0.2);
    display: flex;
    align-items: center;
    gap: var(--spacing-md);
    transition: all 0.3s ease;
}

.module-leaderboard-card:hover {
    transform: translateX(10px);
    box-shadow: 0 5px 15px rgba(212, 175, 55, 0.2);
}

.module-leaderboard-card--gold {
    border-color: #ffd700;
    background: rgba(255, 215, 0, 0.1);
}

.module-leaderboard-card--silver {
    border-color: #c0c0c0;
    background: rgba(192, 192, 192, 0.1);
}

.module-leaderboard-card--bronze {
    border-color: #cd7f32;
    background: rgba(205, 127, 50, 0.1);
}

.module-leaderboard-rank {
    font-size: 2rem;
    font-weight: 700;
    min-width: 60px;
    text-align: center;
    color: var(--elf-gold);
}

.module-leaderboard-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--elf-gold);
}

.module-leaderboard-score {
    color: var(--text-light);
    opacity: 0.9;
}

/* Disclaimer Module */
.module-disclaimer {
    background: linear-gradient(135deg, #dc3545 0%, #c82333 100%);
    padding: var(--spacing-xl) 0;
    border-top: 3px solid #ff4d5e;
    border-bottom: 3px solid #ff4d5e;
}

.module-disclaimer-content {
    text-align: center;
}

.module-disclaimer-title {
    font-size: clamp(1.5rem, 3vw, 2rem);
    color: white;
    margin-bottom: var(--spacing-md);
    text-shadow: 2px 2px 4px rgba(0,0,0,0.3);
}

.module-disclaimer-content p {
    color: white;
    font-size: clamp(1rem, 2vw, 1.1rem);
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.module-disclaimer-content strong {
    font-weight: 700;
    text-shadow: 1px 1px 2px rgba(0,0,0,0.3);
}

.module-disclaimer-badges {
    display: flex;
    justify-content: center;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin-top: var(--spacing-md);
}

/* Modal Module */
.module-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    padding: var(--spacing-md);
}

.module-modal-content {
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--forest-green-dark) 100%);
    padding: var(--spacing-xl);
    border-radius: 20px;
    max-width: 500px;
    width: 100%;
    border: 2px solid var(--elf-gold);
    box-shadow: 0 10px 40px rgba(212, 175, 55, 0.3);
    text-align: center;
}

.module-modal-title {
    font-size: 2rem;
    color: var(--elf-gold);
    margin-bottom: var(--spacing-md);
}

.module-modal-text {
    color: var(--text-light);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: var(--spacing-lg);
}

.module-modal-actions {
    display: flex;
    gap: var(--spacing-md);
    justify-content: center;
    flex-wrap: wrap;
}

.module-modal-disclaimer {
    margin-top: var(--spacing-md);
    padding: var(--spacing-sm);
    background: rgba(220, 53, 69, 0.2);
    border-radius: 8px;
    color: var(--text-light);
    font-size: 0.9rem;
    border: 1px solid var(--danger-color);
}

/* Cookie Banner Module */
.module-cookie-banner {
    position: fixed;
    bottom: 20px;
    right: 20px;
    max-width: 350px;
    background: linear-gradient(135deg, var(--background-dark) 0%, var(--forest-green-dark) 100%);
    border: 2px solid var(--elf-gold);
    border-radius: 15px;
    padding: var(--spacing-md);
    z-index: 9998;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

.module-cookie-text {
    color: var(--text-light);
    font-size: 0.9rem;
    margin-bottom: var(--spacing-sm);
    line-height: 1.6;
}

.module-cookie-link {
    color: var(--elf-gold);
    text-decoration: underline;
}

/* Footer Module */
.module-footer-section {
    margin-bottom: var(--spacing-md);
}

.module-footer-title {
    font-size: 1.3rem;
    color: var(--elf-gold);
    margin-bottom: var(--spacing-sm);
}

.module-footer-text {
    color: var(--text-light);
    opacity: 0.9;
    line-height: 1.8;
    margin-bottom: var(--spacing-sm);
}

.module-footer-text--small {
    font-size: 0.9rem;
    margin-top: var(--spacing-sm);
}

.module-footer-links {
    list-style: none;
}

.module-footer-links li {
    margin-bottom: var(--spacing-xs);
}

.module-footer-link {
    color: var(--text-light);
    opacity: 0.8;
    transition: all 0.3s ease;
    display: inline-block;
}

.module-footer-link:hover {
    opacity: 1;
    color: var(--elf-gold);
    padding-left: 5px;
}

.module-compliance-logos {
    display: flex;
    gap: var(--spacing-sm);
    flex-wrap: wrap;
    margin: var(--spacing-sm) 0;
}

.module-compliance-logo {
    height: 40px !important;
    width: auto !important;
    max-width: 120px !important;
    background: var(--text-light);
    padding: 6px;
    border-radius: 8px;
    opacity: 0.9;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    object-fit: contain !important;
}

.module-compliance-logo:hover {
    opacity: 1;
    border-color: var(--elf-gold);
    box-shadow: 0 0 10px rgba(212, 175, 55, 0.3);
    transform: translateY(-2px);
}

.module-age-icon {
    display: inline-block;
    font-size: 2rem;
    margin-top: var(--spacing-sm);
}

.module-footer-free-badge {
    margin-top: var(--spacing-sm);
}

.module-footer-copyright {
    color: var(--text-light);
    opacity: 0.8;
    font-size: 0.9rem;
    margin-bottom: var(--spacing-xs);
}

.module-footer-disclaimer-small {
    color: var(--elf-gold);
    font-weight: 600;
    font-size: 0.9rem;
}

/* ============================================
   STATE RULES - State changes
   ============================================ */

.state-hidden {
    display: none !important;
}

.state-active {
    display: block;
}

.state-disabled {
    opacity: 0.5;
    pointer-events: none;
}

/* ============================================
   THEME RULES - Color schemes
   ============================================ */

.theme-light {
    background: linear-gradient(135deg, rgba(250, 250, 248, 0.05) 0%, rgba(255, 255, 255, 0.03) 100%);
}

.theme-dark {
    background: linear-gradient(135deg, rgba(26, 46, 26, 0.8) 0%, rgba(45, 80, 22, 0.6) 100%);
}

/* ============================================
   ANIMATIONS
   ============================================ */

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* ============================================
   MEDIA QUERIES - Responsive design
   ============================================ */

@media (max-width: 768px) {
    .layout-header {
        padding: 0.8rem 0;
    }
    
    .module-nav {
        display: none;
    }
    
    .module-burger {
        display: flex;
    }
    
    .module-hero {
        margin-top: 60px;
        padding-top: 2rem;
        min-height: calc(100vh - 60px);
    }
    
    .module-hero-actions {
        flex-direction: column;
    }
    
    .module-btn {
        width: 100%;
        max-width: 300px;
    }
    
    .module-benefits-grid,
    .module-games-grid,
    .module-testimonials-grid {
        flex-direction: column;
        align-items: center;
    }
    
    .module-benefit-card,
    .module-game-card,
    .module-testimonial-card {
        width: 100%;
        max-width: 400px;
    }
    
    .layout-footer-grid {
        grid-template-columns: 1fr;
    }
    
    .module-cookie-banner {
        bottom: 0;
        right: 0;
        left: 0;
        max-width: 100%;
        border-radius: 15px 15px 0 0;
    }
}

@media (min-width: 769px) and (max-width: 1024px) {
    .module-benefits-grid,
    .module-testimonials-grid {
        justify-content: center;
    }
    
    .module-benefit-card,
    .module-testimonial-card {
        width: calc(50% - var(--spacing-lg));
        max-width: 400px;
    }
}

/* ============================================
   ACCESSIBILITY
   ============================================ */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Focus states for keyboard navigation */
a:focus,
button:focus {
    outline: 2px solid var(--elf-gold);
    outline-offset: 2px;
}

/* ============================================
   PRINT STYLES
   ============================================ */

@media print {
    .layout-header,
    .module-burger,
    .module-mobile-menu,
    .module-modal,
    .module-cookie-banner {
        display: none !important;
    }
    
    body {
        background: white;
        color: black;
    }
}

