/* DUX DEV PREMIUM THEME - V2.0
   Author: Dux Dev
   Updated: Smart Color System (Clean Presets) & Mobile Nav
*/

:root {
    /* =================================================================
       FARB-PRESETS (COPY & PASTE AREA)
       ================================================================= */

    /* 1. PINK (Vibe / Neon) */
    /*
    --accent-primary: #ec4899;
    --accent-secondary: #be185d;
    --accent-rgb: 236, 72, 153;
    --accent-glow: rgba(236, 72, 153, 0.5);
    --border-color: rgba(236, 72, 153, 0.15);
    */

    /* 2. LILA (Standard) */
    /*
    --accent-primary: #8b5cf6;
    --accent-secondary: #6d28d9;
    --accent-rgb: 139, 92, 246;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --border-color: rgba(139, 92, 246, 0.15);
    */

    /* =================================================================
       ↓↓↓ AKTIVE EINSTELLUNGEN (HIER EINFÜGEN) ↓↓↓
       ================================================================= */
    --accent-primary: #8b5cf6;
    --accent-secondary: #6d28d9;
    --accent-rgb: 139, 92, 246;
    --accent-glow: rgba(139, 92, 246, 0.5);
    --border-color: rgba(139, 92, 246, 0.15);
    /* ================================================================= */


    /* Automatisch generierter Verlauf (NICHT ÄNDERN) */
    --accent-gradient: linear-gradient(135deg, var(--accent-primary) 0%, var(--accent-secondary) 100%);
    

    /* =========================================
       [2] HINTERGRUND & TEXT (DARK MODE)
       ========================================= */
    --bg-body: #050507;        /* Haupt-Hintergrund (Fast Schwarz) */
    --bg-card: #0f0f13;        /* Karten-Hintergrund (Dunkles Grau) */
    --bg-header: rgba(5, 5, 7, 0.85); /* Header mit Blur-Effekt */
    --bg-input: #181820;       /* Formularfelder */
    
    --text-main: #ffffff;      /* Weißer Text */
    --text-muted: #a1a1aa;     /* Grauer Text */
    
    /* =========================================
       [3] LAYOUT & ABSTÄNDE
       ========================================= */
    --container-width: 1200px;
    --radius-sm: 8px;
    --radius-md: 16px;
    --radius-lg: 24px;
    
    /* Schatten */
    --shadow-card: 0 8px 30px rgba(0,0,0,0.4);
    --shadow-glow: 0 0 30px var(--accent-glow);
}

/* =========================================
   GENERAL RESET & TYPOGRAPHY
   ========================================= */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--bg-body);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
    line-height: 1.6;
    font-size: 16px;
    overflow-x: hidden;
    text-rendering: optimizeLegibility;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

a { 
    text-decoration: none; 
    color: inherit; 
    transition: color 0.15s ease-out; 
}
a:hover { color: var(--accent-primary); }
ul { list-style: none; }
img { max-width: 100%; display: block; height: auto; }

/* =========================================
   ANIMATIONS
   ========================================= */
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-in {
    animation: fadeInUp 0.5s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0;
    will-change: transform, opacity;
    transform: translateZ(0); 
}

.delay-1 { animation-delay: 0.05s; }
.delay-2 { animation-delay: 0.1s; }
.delay-3 { animation-delay: 0.15s; }

/* =========================================
   UTILITY CLASSES
   ========================================= */
.container {
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 20px;
}

.text-gradient {
    background: var(--accent-gradient);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    font-weight: 800;
}

.text-center { text-align: center; }
.text-right { text-align: right; }
.hidden { display: none; }

/* =========================================
   BUTTONS
   ========================================= */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 12px 28px;
    border-radius: 50px; 
    font-weight: 600;
    font-size: 0.95rem;
    cursor: pointer;
    border: none;
    transition: transform 0.1s cubic-bezier(0.4, 0, 0.2, 1), box-shadow 0.15s ease, background 0.15s ease, color 0.15s ease;
    gap: 8px;
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    text-decoration: none;
    user-select: none;
    will-change: transform, box-shadow;
}

.btn:active {
    transform: scale(0.96);
}

.btn-primary {
    background: var(--accent-gradient);
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2); 
}

.btn-primary:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 30px var(--accent-glow);
    color: #fff;
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-main);
    border: 1px solid var(--border-color);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.08);
    border-color: var(--accent-primary);
    color: #fff;
}

.btn-danger {
    background: #ef4444;
    color: white;
}
.btn-danger:hover {
    background: #dc2626;
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

.btn-success {
    background: #10b981;
    color: white;
}
.btn-success:hover {
    background: #059669;
    box-shadow: 0 4px 15px rgba(16, 185, 129, 0.4);
}
.btn-block { width: 100%; }
.btn-sm { padding: 8px 16px; font-size: 0.8rem; }

/* Highlight Action Button (Green for Buy/Subscribe) */
.btn-highlight-action {
    display: flex; align-items: center; justify-content: center; gap: 10px; width: 100%; padding: 18px;
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: white; font-weight: 800; font-size: 1.2rem; text-transform: uppercase;
    border-radius: 12px; border: none; cursor: pointer; text-decoration: none;
    box-shadow: 0 0 20px rgba(74, 222, 128, 0.4), 0 4px 0 #16a34a;
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1); position: relative; top: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.2);
}
.btn-highlight-action:hover {
    background: linear-gradient(135deg, #86efac 0%, #4ade80 100%);
    box-shadow: 0 0 35px rgba(74, 222, 128, 0.6), 0 6px 0 #16a34a;
    transform: translateY(-2px);
    color: white;
}
.btn-highlight-action:active {
    top: 4px;
    box-shadow: 0 0 10px rgba(74, 222, 128, 0.4), 0 0 0 #16a34a;
    transform: translateY(0);
}

/* Checkout Proceed Button */
.btn-checkout-action {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    padding: 20px; 
    background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); 
    color: #fff;
    font-weight: 900; 
    font-size: 1.2rem; 
    text-transform: uppercase;
    border-radius: 12px;
    border: none;
    cursor: pointer;
    text-decoration: none;
    box-shadow: 0 0 20px rgba(34, 197, 94, 0.4), 0 4px 0 #15803d; 
    transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    top: 0;
    text-shadow: 0 1px 2px rgba(0,0,0,0.3);
}

.btn-checkout-action:hover {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%); 
    box-shadow: 0 0 35px rgba(34, 197, 94, 0.6), 0 6px 0 #15803d; 
    transform: translateY(-2px);
    color: white;
}
.btn-checkout-action:active {
    top: 4px;
    box-shadow: 0 0 10px rgba(34, 197, 94, 0.4), 0 0 0 #15803d;
    transform: translateY(0);
}

/* Only the Farms & Bases button (green + purple blend) */
.btn.btn-primary.btn-farms{
    background: linear-gradient(
        135deg,
        #1f7a4a 0%,   /* deep green */
        #5b3fd9 100%  /* soft purple */
    );
    color: #fff;
    box-shadow: 0 4px 20px rgba(0,0,0,0.25);
}

.btn.btn-primary.btn-farms:hover{
    transform: translateY(-2px);
    background: linear-gradient(
        135deg,
        #2b8a5e 0%,   /* slightly lighter green */
        #6d4aff 100%  /* brighter purple */
    );
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.45);
    color: #fff;
}

/* =========================================
   HEADER / NAVBAR
   ========================================= */
header {
    background-color: var(--bg-header);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid rgba(255,255,255,0.05);
    padding: 15px 0;
    position: sticky;
    top: 0;
    z-index: 1000;
    transform: translateZ(0);
    will-change: transform;
}

.navbar {
    display: flex;
    justify-content: space-between; 
    align-items: center;
    position: relative;
    /* FIX: Umbruch verhindern, damit das Menü nicht nach unten rutscht */
    flex-wrap: nowrap; 
}

/* FIX: NAV - ZENTRIERUNG MIT "EQUAL SIDES" TRICK */
.logo {
    font-size: 1.5rem;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 12px;
    z-index: 10;
    position: relative;
    
    /* FIX: Gleiche Breite wie die Rechte Seite erzwingen */
    flex: 1 1 0px; 
    min-width: max-content; /* Verhindert das Zerquetschen des Logos */
}

.logo i { 
    color: var(--accent-primary); 
    filter: drop-shadow(0 0 8px var(--accent-primary));
}

.navbar > nav {
    /* FIX: 'absolute' entfernt für Stabilität */
    position: static; 
    transform: none;
    
    /* FIX: Darf schrumpfen wenn nötig, aber nimmt Platz ein */
    flex: 1 1 auto; 
    
    display: flex;
    justify-content: center;
    margin: 0 10px; /* Kleiner Puffer */
    
    width: auto;
    z-index: 5;
}

.nav-links {
    display: flex;
    /* FIX: Abstand verringert (von 20px auf 15px), damit mehr Menüpunkte passen */
    gap: 15px; 
    align-items: center;
    margin: 0;
    padding: 0;
    list-style: none;
    
    /* FIX: Umbruch verbieten - erzwingt eine Zeile */
    flex-wrap: nowrap; 
    justify-content: center;
}

.nav-links > li {
    position: relative;
    white-space: nowrap; /* Sicherstellen, dass Text nicht umbricht */
}

.nav-links a {
    color: var(--text-muted);
    font-weight: 600;
    font-size: 0.95rem;
    padding: 10px 5px;
    display: block;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    position: relative;
    transition: color 0.2s ease;
    border-bottom: none;
    white-space: nowrap; /* Kein Textumbruch innerhalb von Links */
}

.nav-links a:hover, 
.nav-links li.active > a {
    color: var(--text-main);
}

/* Nav Link Underline with Glow */
.nav-links a::after {
    content: '';
    position: absolute;
    bottom: 8px;   
    left: 5px;      
    width: calc(100% - 10px); 
    height: 3px;   
    background-color: var(--accent-primary);
    border-radius: 2px;
    box-shadow: 0 0 8px var(--accent-primary), 0 0 15px var(--accent-secondary);
    opacity: 0;
    transform: scaleX(0.5); 
    transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
}

.nav-links a:hover::after,
.nav-links li.active > a::after {
    opacity: 1;
    transform: scaleX(1); 
}

.nav-actions {
    z-index: 10;
    position: relative;
    
    /* FIX: Rechte Seite nimmt exakt so viel Platz ein wie das Logo */
    flex: 1 1 0px;
    display: flex;
    justify-content: flex-end; /* Inhalt nach rechts schieben */
    align-items: center;
    gap: 15px; /* Gap aus HTML übernehmen/überschreiben */
    min-width: max-content; /* Verhindert das Zerquetschen der Buttons */
}


/* =========================================
   HERO SECTION
   ========================================= */
.hero-landing {
    min-height: 70vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
    padding: 100px 0;
    contain: layout; 
}

/* IMPORTANT: Text & Buttons must be above the canvas */
.hero-landing > .container {
    position: relative;
    z-index: 10; /* Higher priority than canvas (2) */
}

/* Hero Background Glow */
.hero-landing::before {
    content: '';
    position: absolute;
    top: -20%;
    left: 50%;
    transform: translateX(-50%) translateZ(0);
    width: 60vw;
    height: 60vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, rgba(0,0,0,0) 70%);
    z-index: -1;
    pointer-events: none;
    will-change: transform; 
}

.hero-landing h1 {
    font-size: 4rem;
    font-weight: 900;
    line-height: 1.1;
    margin-bottom: 25px;
}

.hero-landing p {
    font-size: 1.2rem;
    color: var(--text-muted);
    max-width: 700px;
    margin: 0 auto 40px;
}

/* Hero Media Background (Video/GIF support) */
.hero-media-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -2;
}

.hero-media-bg video,
.hero-media-bg img {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transform: translate(-50%, -50%);
}

.hero-media-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 7, 0.7);
    z-index: 1;
}

/* --- INTERACTIVE CANVAS LAYER (NEU) --- */
/* Placed above overlay (z=1) but below text (z=10) */
#hero-canvas-wrapper {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 2; 
    pointer-events: none; /* Allows clicks to pass through to text/buttons */
    overflow: hidden;
}


/* =========================================
   FEATURES SECTION
   ========================================= */
.features-section {
    padding: 80px 0;
    background: #0a0a0e;
    content-visibility: auto;
    contain-intrinsic-size: 600px;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
}

.section-title h2 {
    font-size: 2.2rem;
    margin-bottom: 15px;
}

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

.feature-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    transition: transform 0.2s ease-out, box-shadow 0.2s ease-out, border-color 0.2s ease;
    text-align: center;
    will-change: transform, box-shadow; 
}

.feature-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-glow);
    border-color: var(--accent-primary);
}

.feature-icon {
    width: 60px;
    height: 60px;
    background: rgba(var(--accent-rgb), 0.1); 
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 20px;
    color: var(--accent-primary);
    font-size: 1.5rem;
}

/* =========================================
   PRODUCTS GRID & CARDS
   ========================================= */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 30px;
}

.product-card {
    background: linear-gradient(180deg, var(--bg-card) 0%, rgba(15, 15, 19, 0.95) 100%);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: var(--radius-lg);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.25, 0.8, 0.25, 1);
    display: flex;
    flex-direction: column;
    position: relative;
    box-shadow: 0 4px 6px rgba(0,0,0,0.2);
    cursor: pointer;
    contain: content;
}

.product-card:hover {
    transform: translateY(-8px);
    border-color: var(--accent-primary);
    box-shadow: 0 20px 40px rgba(0,0,0,0.4), 0 0 0 1px var(--accent-primary);
}

.product-card:active {
    transform: scale(0.98);
}

.product-image {
    height: 220px;
    background: #121216;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #333;
    position: relative;
    overflow: hidden;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.product-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.6s cubic-bezier(0.25, 0.8, 0.25, 1);
}

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

.product-image::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.6) 0%, transparent 50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-image::after {
    opacity: 1;
}

.product-content {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 10px;
    line-height: 1.4;
    min-height: 1.4em;
}

.product-price { 
    color: #fff; 
    font-weight: 800; 
    font-size: 1.25rem; 
    display: flex;
    align-items: center;
    gap: 8px;
}
.product-price small {
    font-size: 0.6em;
    font-weight: 500;
    color: var(--text-muted);
}

.product-action-btn {
    padding: 8px 18px;
    border-radius: 10px;
    background: rgba(255,255,255,0.05);
    color: var(--text-main);
    font-weight: 600;
    font-size: 0.85rem;
    transition: all 0.2s ease;
    border: 1px solid transparent;
}

.product-card:hover .product-action-btn {
    background: var(--accent-primary);
    color: #fff;
    box-shadow: 0 4px 15px var(--accent-glow);
}

/* Category Card Specifics */
.category-card-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    height: 100%;
    padding: 30px;
    text-align: center;
    transition: 0.3s;
}

.category-card-inner i {
    font-size: 3rem;
    margin-bottom: 15px;
    color: var(--text-muted);
    transition: 0.3s;
}

.product-card:hover .category-card-inner i {
    color: var(--accent-primary);
    transform: scale(1.1) rotate(-5deg);
}

/* =========================================
   TEBEX DROPDOWNS & MENUS
   ========================================= */
.dropdown {
    position: relative;
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    margin-top: 10px;
    left: 0;
    z-index: 1000;
    display: none; 
    min-width: 200px;
    padding: 10px 0;
    background-color: var(--bg-card);
    border: 1px solid var(--border-color);
    border-radius: var(--radius-sm);
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
    list-style: none;
    transform-origin: top center;
}

/* FIX: Secondary Bridge attached to the menu itself (Doppelte Sicherung) */
.dropdown-menu::before {
    content: '';
    position: absolute;
    top: -30px; /* Increased buffer to cover gaps safely */
    left: -50px; /* Massive side buffer to catch diagonal exits */
    width: calc(100% + 100px); /* Total width buffer */
    height: 40px; /* Height buffer */
    background: transparent;
}

/* Bridge to keep hover active */
.dropdown:hover::after {
    content: '';
    position: absolute;
    /* FIX: Start earlier to guarantee overlap */
    top: 60%; 
    left: -50px; /* Side buffer */
    /* FIX: Massive invisible safe zone */
    min-width: 350px; 
    width: calc(100% + 100px);
    height: 100px; /* Extend deep into menu area */
    background: transparent;
    z-index: 999;
    pointer-events: auto; /* Ensure it catches pointer events */
}

.dropdown-menu.show, 
.dropdown:hover .dropdown-menu {
    display: block;
    animation: fadeInUp 0.15s ease-out forwards;
}

.dropdown-menu li a {
    display: block;
    padding: 8px 20px;
    color: var(--text-muted);
    font-weight: 500;
    font-size: 0.9rem;
    white-space: nowrap;
    transition: 0.15s ease;
}

/* FIX: Remove glow line inheritance in dropdowns */
.nav-links .dropdown-menu a::after {
    display: none !important;
    content: none !important;
}

.dropdown-menu li a:hover {
    /* background: rgba(var(--accent-rgb), 0.1); REMOVED */
    background: transparent;
    color: var(--accent-primary);
    padding-left: 24px;
}

/* =========================================
   [FIXED] BASKET DROPDOWN STYLES
   ========================================= */
.basket-dropdown {
    right: 0;
    left: auto;
    width: 350px;
    padding: 0;
    max-height: 85vh; /* Prevent overflow on small screens */
    border: 1px solid var(--border-color);
}

.basket-item {
    display: flex;
    align-items: center; /* Center vertically */
    justify-content: space-between;
    padding: 15px 20px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
    gap: 15px; /* Add gap between text and trash icon */
}
.basket-item:last-child { border-bottom: none; }

/* FIX: Ensure content stacks vertically and wraps correctly */
.basket-item-info {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: flex-start;
    gap: 4px;
    flex: 1; /* Take all available space */
}

.basket-item-name { 
    color: #fff; 
    font-weight: 600; 
    font-size: 0.95rem; 
    line-height: 1.3;
}

.basket-item-price { 
    color: var(--accent-primary); 
    font-size: 0.85rem; 
    font-weight: 700;
}

/* Clean trash icon button */
.basket-actions a { 
    color: #ef4444; 
    font-size: 0.9rem; 
    transition: 0.2s; 
    width: 32px;
    height: 32px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 6px;
    background: rgba(239, 68, 68, 0.1);
}
.basket-actions a:hover { 
    background: #ef4444;
    color: white;
}

.basket-footer {
    padding: 20px;
    background: rgba(0,0,0,0.3);
    text-align: center;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.basket-total {
    display: flex;
    justify-content: space-between;
    margin-bottom: 15px;
    font-weight: 800;
    color: #fff;
    font-size: 1.1rem;
}

/* =========================================
   FORMS & ALERTS
   ========================================= */
.form-control {
    display: block;
    width: 100%;
    padding: 12px 15px;
    font-size: 1rem;
    color: #fff;
    background-color: var(--bg-input);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: var(--radius-sm);
    transition: border-color 0.2s, box-shadow 0.2s;
}
.form-control:focus {
    outline: none;
    border-color: var(--accent-primary);
    box-shadow: 0 0 0 3px rgba(var(--accent-rgb), 0.2);
}

.alert {
    padding: 15px;
    margin-bottom: 20px;
    border: 1px solid transparent;
    border-radius: var(--radius-sm);
    color: #fff;
    animation: fadeInUp 0.3s ease-out;
}
.alert-info { background: rgba(59, 130, 246, 0.2); border-color: rgba(59, 130, 246, 0.5); }
.alert-success { background: rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.5); }
.alert-danger { background: rgba(239, 68, 68, 0.2); border-color: rgba(239, 68, 68, 0.5); }

.badge {
    display: inline-block;
    padding: 4px 8px;
    font-size: 0.75rem;
    font-weight: 700;
    line-height: 1;
    color: #fff;
    text-align: center;
    white-space: nowrap;
    vertical-align: baseline;
    border-radius: 10px;
}
.badge-cart {
    background: var(--accent-secondary);
    position: absolute;
    top: -5px;
    right: -5px;
    animation: bounceIn 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes bounceIn {
  from { transform: scale(0); opacity: 0; }
  to { transform: scale(1); opacity: 1; }
}

/* =========================================
   MODALS
   ========================================= */
.modal {
    display: none; 
    position: fixed; 
    z-index: 2000; 
    left: 0;
    top: 0;
    width: 100%; 
    height: 100%; 
    overflow: auto; 
    background-color: rgba(0,0,0,0.8); 
    backdrop-filter: blur(8px);
    will-change: opacity;
    animation: fadeIn 0.2s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

.modal-content {
    background-color: var(--bg-card);
    margin: 5% auto; 
    padding: 30px;
    border: 1px solid var(--border-color);
    width: 90%; 
    max-width: 600px;
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-card);
    position: relative;
    color: var(--text-main);
    animation: scaleIn 0.25s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes scaleIn {
    from { transform: scale(0.95); opacity: 0; }
    to { transform: scale(1); opacity: 1; }
}

.close {
    color: var(--text-muted);
    float: right;
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.2s;
}
.close:hover { color: #fff; transform: rotate(90deg); }


/* =========================================
   FOOTER
   ========================================= */
footer {
    border-top: 1px solid rgba(255,255,255,0.05);
    padding: 60px 0 30px;
    background: #08080a;
    text-align: center;
    content-visibility: auto;
    contain-intrinsic-size: 300px;
}


/* =========================================
   CUSTOM: ANNOUNCEMENT BAR (MARQUEE)
   ========================================= */
.announcement-bar {
    background: rgba(10, 10, 12, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    overflow: hidden;
    height: 45px;
    display: flex;
    align-items: center;
    width: 100%;
    position: relative;
    z-index: 50;
    white-space: nowrap;
}

.announcement-track {
    display: flex;
    align-items: center;
    width: max-content;
    animation: marquee-scroll-smooth 120s linear infinite; 
    will-change: transform;
}

.announcement-bar:hover .announcement-track {
    animation-play-state: paused;
}

.announcement-content {
    display: flex;
    align-items: center;
    padding-right: 80px; 
}

.announcement-content span {
    color: #ffffff;
    font-size: 0.9rem;
    font-weight: 500;
    letter-spacing: 1px;
    text-transform: uppercase;
    opacity: 0.9;
    display: flex;
    align-items: center;
    gap: 8px;
}

.announcement-content strong {
    color: var(--accent-primary);
    font-weight: 800;
    text-shadow: 0 0 15px var(--accent-glow);
    background: rgba(var(--accent-rgb), 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid var(--border-color);
}

@keyframes marquee-scroll-smooth {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); } 
}


/* =========================================
   CUSTOM: TECH DASHBOARD HEADER
   ========================================= */
.store-header-dashboard {
    padding: 80px 0;
    background-color: var(--bg-body);
    position: relative;
    border-bottom: 1px solid rgba(255,255,255,0.08);
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 200 200' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noiseFilter'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.65' numOctaves='3' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noiseFilter)' opacity='0.05'/%3E%3C/svg%3E");
}

.dashboard-layout {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 40px;
    flex-wrap: wrap;
}

.dashboard-info {
    flex: 1;
    min-width: 300px;
    border-left: 4px solid var(--accent-primary);
    padding-left: 25px;
}

.dashboard-actions {
    flex-shrink: 0;
    width: 100%;
    max-width: 400px;
}

.dashboard-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 10px 0;
    line-height: 1;
    letter-spacing: -0.5px;
}

.dashboard-desc {
    color: var(--text-muted);
    font-size: 1.05rem;
    margin: 0;
    max-width: 600px;
    line-height: 1.5;
}

.dashboard-breadcrumbs {
    font-size: 0.75rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    color: rgba(255,255,255,0.4);
    margin-bottom: 10px;
    font-weight: 600;
}
.dashboard-breadcrumbs a:hover { color: var(--accent-primary); }
.dashboard-breadcrumbs span { color: #fff; }

.search-dashboard { position: relative; width: 100%; }

.search-input-dashboard {
    width: 100%;
    padding: 16px 20px 16px 50px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    color: #fff;
    font-size: 0.95rem;
    transition: all 0.2s ease;
}

.search-input-dashboard:focus {
    outline: none;
    border-color: var(--accent-primary);
    background: rgba(255, 255, 255, 0.05);
}

.search-icon-dashboard {
    position: absolute;
    left: 20px;
    top: 50%;
    transform: translateY(-50%);
    color: rgba(255,255,255,0.3);
}

/* =========================================
   CUSTOM: REVIEWS SECTION
   ========================================= */
.reviews-section {
    padding: 80px 0;
    background: radial-gradient(circle at center, rgba(var(--accent-rgb), 0.05) 0%, transparent 70%);
    border-top: 1px solid rgba(255,255,255,0.02);
    border-bottom: 1px solid rgba(255,255,255,0.02);
}

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

.review-card {
    background: var(--bg-card);
    padding: 30px;
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-color);
    position: relative;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    overflow: hidden;
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-card);
    border-color: var(--accent-primary);
}

.review-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
    gap: 15px;
}

.review-avatar {
    width: 45px;
    height: 45px;
    aspect-ratio: 1/1;
    background: var(--accent-primary);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    color: #fff;
    font-size: 1.1rem;
    box-shadow: 0 0 10px rgba(var(--accent-rgb), 0.2);
}

.review-info {
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.review-name {
    font-weight: 700;
    color: #fff;
    font-size: 1rem;
}

.review-role {
    font-size: 0.8rem;
    color: var(--text-muted);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.review-stars {
    color: #fbbf24;
    font-size: 0.9rem;
    letter-spacing: 2px;
    align-self: flex-start;
    margin-top: 2px;
}

.review-text {
    color: var(--text-muted);
    font-style: italic;
    line-height: 1.6;
    font-size: 0.95rem;
}

.review-card::before {
    content: '\f10d'; /* Quote Icon */
    font-family: 'Font Awesome 6 Free'; 
    font-weight: 900;
    position: absolute;
    bottom: 10px;
    right: 20px;
    font-size: 4rem;
    color: #fff;
    opacity: 0.02;
    pointer-events: none;
    line-height: 1;
}

/* =========================================
   CUSTOM: PACKAGE GALLERY SLIDER
   ========================================= */
.pkg-slider-wrapper {
    position: relative;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    overflow: hidden;
    border-radius: var(--radius-md);
    background-color: #000; 
}

.pkg-slides-viewport {
    position: relative;
    width: 100%;
    aspect-ratio: 16 / 9;
    overflow: hidden;
}

.pkg-slide-item {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1.2s ease-in-out;
    will-change: opacity;
    z-index: 1;
}

.pkg-slide-item.active {
    opacity: 1;
    z-index: 2;
}

.pkg-slide-item img,
.pkg-slide-item video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* Ken Burns Effect for active images */
@keyframes kenBurnsEffect {
    from { transform: scale(1); }
    to { transform: scale(1.05); }
}
.pkg-slide-item[data-type="image"].active img {
    animation: kenBurnsEffect 10s ease-in-out infinite alternate;
}

.pkg-dots-nav {
    position: absolute;
    bottom: 15px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    background-color: rgba(0, 0, 0, 0.4);
    padding: 8px 12px;
    border-radius: 20px;
    z-index: 10;
}

.pkg-dot-item {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background-color: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
}

.pkg-dot-item:hover { background-color: rgba(255, 255, 255, 0.8); }
.pkg-dot-item.active {
    background-color: var(--accent-primary);
    transform: scale(1.1);
}

/* =========================================
   CUSTOM: SEASONAL & FX (Snow, Bats, Glow)
   ========================================= */

/* Cursor Glow removed - replaced by Stardust Trail particles */
/* Die Partikel-Klasse für den JS-Effekt */
.cursor-particle {
    position: fixed;
    top: 0;
    left: 0;
    /* Größe wird im JS oder hier definiert, 4px ist gut für Sternenstaub */
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--accent-primary);
    /* Leichter Glow um den Punkt */
    box-shadow: 0 0 6px var(--accent-primary), 0 0 10px var(--accent-glow);
    pointer-events: none;
    z-index: 9999;
    /* Damit wir sie zentrieren können */
    transform: translate(-50%, -50%);
    /* Mix-Blend für coolen Look auf hellem/dunklem Hintergrund */
    mix-blend-mode: screen; 
    opacity: 1;
    /* Keine Transition hier, da wir jeden Frame neu zeichnen/animieren */
    will-change: transform, opacity;
}

@media (hover: hover) {
    /* Nur auf Desktop aktivieren */
}

/* Snowfall */
.snow-container {
    position: fixed;
    top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9999; overflow: hidden;
}
.snowflake {
    position: absolute; top: -10px; background-color: #fff; border-radius: 50%; opacity: 0.8;
    animation: snowfall linear infinite;
}
@keyframes snowfall {
    0% { transform: translateY(-10vh) translateX(0); opacity: 0; }
    10% { opacity: 0.8; }
    100% { transform: translateY(100vh) translateX(20px); opacity: 0.3; }
}
/* Snowflake Randomization (15) */
.snowflake:nth-child(1) { left: 5%; width: 4px; height: 4px; animation-duration: 12s; animation-delay: 0s; }
.snowflake:nth-child(2) { left: 15%; width: 6px; height: 6px; animation-duration: 15s; animation-delay: 2s; }
.snowflake:nth-child(3) { left: 25%; width: 3px; height: 3px; animation-duration: 10s; animation-delay: 4s; }
.snowflake:nth-child(4) { left: 35%; width: 5px; height: 5px; animation-duration: 18s; animation-delay: 1s; }
.snowflake:nth-child(5) { left: 45%; width: 4px; height: 4px; animation-duration: 14s; animation-delay: 6s; }
.snowflake:nth-child(6) { left: 55%; width: 6px; height: 6px; animation-duration: 11s; animation-delay: 3s; }
.snowflake:nth-child(7) { left: 65%; width: 3px; height: 3px; animation-duration: 16s; animation-delay: 7s; }
.snowflake:nth-child(8) { left: 75%; width: 5px; height: 5px; animation-duration: 13s; animation-delay: 2s; }
.snowflake:nth-child(9) { left: 85%; width: 4px; height: 4px; animation-duration: 17s; animation-delay: 5s; }
.snowflake:nth-child(10) { left: 95%; width: 5px; height: 5px; animation-duration: 19s; animation-delay: 0s; }
.snowflake:nth-child(11) { left: 10%; width: 3px; height: 3px; animation-duration: 22s; animation-delay: 8s; }
.snowflake:nth-child(12) { left: 50%; width: 4px; height: 4px; animation-duration: 20s; animation-delay: 10s; }
.snowflake:nth-child(13) { left: 80%; width: 3px; height: 3px; animation-duration: 25s; animation-delay: 1s; }
.snowflake:nth-child(14) { left: 30%; width: 5px; height: 5px; animation-duration: 21s; animation-delay: 12s; }
.snowflake:nth-child(15) { left: 60%; width: 4px; height: 4px; animation-duration: 23s; animation-delay: 15s; }

/* Halloween Bats */
.halloween-container {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    pointer-events: none; z-index: 9999; overflow: hidden;
}
.bat {
    position: absolute; bottom: -50px; font-size: 24px; opacity: 0;
    animation: batFly linear infinite; filter: drop-shadow(0 0 2px rgba(0,0,0,0.5));
}
@keyframes batFly {
    0% { transform: translate(0, 0) scale(0.5) rotate(-10deg); opacity: 0; bottom: -50px; }
    10% { opacity: 0.7; }
    100% { transform: translate(200px, -120vh) scale(1.2) rotate(20deg); opacity: 0; bottom: -50px; }
}
/* Bat Randomization */
.bat:nth-child(1) { left: 10%; animation-duration: 8s; animation-delay: 0s; font-size: 20px; }
.bat:nth-child(2) { left: 30%; animation-duration: 12s; animation-delay: 2s; font-size: 28px; }
.bat:nth-child(3) { left: 50%; animation-duration: 7s; animation-delay: 4s; font-size: 18px; }
.bat:nth-child(4) { left: 70%; animation-duration: 11s; animation-delay: 1s; font-size: 25px; }
.bat:nth-child(5) { left: 90%; animation-duration: 9s; animation-delay: 3s; font-size: 22px; }

/* Page Load Fade In */
@keyframes smoothPageFadeIn {
    0% { opacity: 0; transform: translateY(20px); }
    100% { opacity: 1; transform: translateY(0); }
}
.page-fade-in-wrapper {
    animation: smoothPageFadeIn 1.2s cubic-bezier(0.2, 0.8, 0.2, 1) forwards;
    opacity: 0; will-change: opacity, transform;
}

/* Scroll Trigger */
.scroll-fade-up {
    opacity: 0; transform: translateY(40px);
    transition: opacity 1.2s cubic-bezier(0.2, 0.8, 0.2, 1), transform 1.2s cubic-bezier(0.2, 0.8, 0.2, 1);
    will-change: opacity, transform;
}
.scroll-fade-up.is-visible {
    opacity: 1; transform: translateY(0);
}

/* --- PAYMENT METHODS (DARK MODE) --- */
.payment-methods-section {
    margin-top: 40px; text-align: center; padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.payment-icons {
    display: flex; justify-content: center; gap: 10px; flex-wrap: wrap;
}
.pay-card {
    background: #181820; width: 50px; height: 32px; border-radius: 5px;
    display: flex; align-items: center; justify-content: center;
    transition: transform 0.2s; cursor: default; font-size: 1.2rem;
    border: 1px solid rgba(255,255,255,0.1); color: #a1a1aa;
}
.pay-card:hover {
    transform: translateY(-2px); border-color: var(--accent-primary); color: #fff;
}
.pay-card.more {
    background: #1f2937; color: #fff; font-size: 0.75rem; font-weight: 700;
}
.fa-paypal { color: #3b82f6; }
.fa-cc-visa { color: #fff; }
.fa-cc-mastercard { color: #eb001b; }
.fa-university { color: #fff; }

/* =========================================
   CUSTOM: ODOMETER / ROLLING NUMBERS
   ========================================= */
.odometer-wrapper {
    display: inline-flex;
    align-items: center;
    position: relative;
    height: 1em; /* Passt sich der Font-Size an */
    line-height: 1;
    overflow: hidden;
    vertical-align: text-bottom;
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}

.odometer-digit {
    position: relative;
    height: 1em;
    width: 0.6em; /* Breite pro Ziffer anpassen */
    text-align: center;
    font-variant-numeric: tabular-nums;
    
    /* FIX: Overflow Hidden hier erzwingen, damit man die Zahlenleiste nicht sieht */
    overflow: hidden;
    display: block; 
}

.odometer-ribbon {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    display: flex;
    flex-direction: column;
    /* Übergangseffekt für das Rollen: */
    transition: transform 2.5s cubic-bezier(0.1, 1, 0.2, 1);
    will-change: transform;
}

/* Die Zahlen auf dem Band (0-9) */
.odometer-ribbon div {
    height: 1em;
    display: flex;
    align-items: center;
    justify-content: center;
    /* Damit Gradient-Text auch hier funktioniert: */
    background: inherit; 
    -webkit-background-clip: text;
    background-clip: text;
    color: inherit; /* Nimmt Farbe vom Parent an */
}

/* Fallback Farbe, falls kein Gradient aktiv ist */
.stat-number .odometer-wrapper {
    color: #fff;
}

/* =========================================
   CUSTOM: MODERN LUCKY WHEEL (WIDGET MODE)
   ========================================= */

/* Container positioniert das Widget unten rechts */
.lucky-widget-container {
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 9990;
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    /* WICHTIG: Erlaubt Klicks auf die Webseite dahinter */
    pointer-events: none; 
}

.lucky-widget-card {
    /* Glassmorphism Background - etwas dunkler für Lesbarkeit */
    background: rgba(18, 18, 24, 0.95);
    border: 1px solid rgba(255, 255, 255, 0.1);
    box-shadow: 0 10px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(255,255,255,0.05);
    
    /* Größe etwas kompakter als beim Fullscreen Popup */
    width: 340px; 
    border-radius: 20px;
    padding: 25px;
    text-align: center;
    position: relative;
    
    /* Animation beim Erscheinen (Slide In von rechts) */
    animation: slideInRight 0.5s cubic-bezier(0.19, 1, 0.22, 1);
    overflow: hidden;
    
    /* WICHTIG: Interaktion auf der Karte wieder aktivieren */
    pointer-events: auto;
}

@keyframes slideInRight {
    from { opacity: 0; transform: translateX(50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* NEU: Fade Out Animation Class */
.lucky-widget-card.closing {
    animation: slideOutRight 0.5s cubic-bezier(0.19, 1, 0.22, 1) forwards;
    pointer-events: none; /* Verhindert Klicks während des Verschwindens */
}

@keyframes slideOutRight {
    from { opacity: 1; transform: translateX(0); }
    to { opacity: 0; transform: translateX(50px) scale(0.95); }
}

/* Subtle top glow highlight */
.lucky-widget-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.4), transparent);
}

.lucky-close-btn {
    position: absolute; 
    top: 15px; 
    right: 15px;
    background: rgba(255,255,255,0.05); 
    width: 28px; height: 28px;
    border-radius: 50%;
    border: none; 
    color: var(--text-muted);
    font-size: 0.9rem; 
    cursor: pointer;
    transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
    z-index: 30; /* Über allem */
}
.lucky-close-btn:hover { background: rgba(255,255,255,0.1); color: #fff; transform: rotate(90deg); }

.lucky-header { margin-bottom: 20px; }
.lucky-header h3 { 
    margin: 0; 
    color: #fff; 
    font-weight: 800;
    letter-spacing: -0.5px;
    text-shadow: 0 4px 10px rgba(0,0,0,0.5);
}

/* WHEEL CONTAINER STYLING (Kompakter für Widget) */
.wheel-outer-ring {
    position: relative;
    width: 240px; height: 240px; /* Kleiner als vorher */
    margin: 0 auto 25px;
    border-radius: 50%;
    background: conic-gradient(from 0deg, #333, #111, #333, #111, #333);
    box-shadow: 
        0 0 0 4px rgba(0,0,0,0.5),
        0 0 0 6px rgba(var(--accent-rgb), 0.3),
        0 0 30px rgba(var(--accent-rgb), 0.15);
    display: flex; align-items: center; justify-content: center;
}

.wheel-wrapper {
    width: 210px; /* Kleiner als vorher */
    height: 210px;
    position: relative;
    border-radius: 50%;
    overflow: hidden;
    border: 3px solid #1a1a20;
    box-shadow: inset 0 0 20px rgba(0,0,0,0.8);
}

/* MODERN POINTER */
.wheel-pointer-modern {
    position: absolute; 
    top: -12px; 
    left: 50%; 
    transform: translateX(-50%);
    width: 26px; height: 26px;
    background: #fff;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 20;
    filter: drop-shadow(0 4px 4px rgba(0,0,0,0.5));
}

/* SPINNER GRADIENTS */
.wheel-spinner {
    width: 100%; 
    height: 100%;
    border-radius: 50%;
    background: conic-gradient(
        var(--accent-primary) 0deg 60deg,
        #222228 60deg 120deg,
        var(--accent-secondary) 120deg 180deg,
        #222228 180deg 240deg,
        var(--accent-primary) 240deg 300deg,
        #222228 300deg 360deg
    );
    position: relative;
    transition: transform 5s cubic-bezier(0.15, 0.85, 0.35, 1.05);
}

/* WHEEL HUB (CENTER DOT) */
.wheel-hub {
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%);
    width: 44px; height: 44px;
    background: linear-gradient(135deg, #333, #111);
    border-radius: 50%;
    z-index: 10;
    border: 2px solid rgba(255,255,255,0.1);
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    display: flex; align-items: center; justify-content: center;
    color: var(--accent-primary);
    font-size: 1.1rem;
}

/* SEGMENT TEXT */
.wheel-segment {
    position: absolute; 
    top: 0; left: 0;
    width: 100%; height: 100%;
    transform-origin: center;
    pointer-events: none;
    z-index: 15;
}

.wheel-segment span {
    position: absolute;
    top: 50%; left: 50%;
    /* Radius angepasst auf 65px für das kleinere Rad */
    transform: 
        translate(-50%, -50%) 
        rotate(calc(((var(--i) - 1) * 60deg) + 30deg)) 
        translateY(-65px); 
    
    color: #fff; 
    font-weight: 800; 
    font-size: 1rem;
    text-transform: uppercase;
    text-shadow: 0 1px 4px rgba(0,0,0,0.8);
    white-space: nowrap;
    text-align: center;
}

/* BUTTONS & FOOTER */
.btn-spin-glow {
    position: relative;
    overflow: hidden;
    background: var(--accent-gradient);
    border: none;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 14px;
    border-radius: 12px;
    box-shadow: 0 0 20px rgba(var(--accent-rgb), 0.4);
    transition: all 0.3s;
    font-size: 0.9rem;
}
.btn-spin-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 40px rgba(var(--accent-rgb), 0.6);
}
.btn-spin-glow:active { transform: translateY(0); }

/* RESULT AREA */
.win-animation-wrapper {
    margin-top: 20px;
    animation: fadeInUp 0.5s ease;
}
.win-label {
    color: #10b981;
    font-weight: 900;
    font-size: 1rem;
    letter-spacing: 1px;
    margin-bottom: 8px;
    text-transform: uppercase;
}
.coupon-modern-display {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    border-radius: 12px;
    padding: 12px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    box-shadow: 0 4px 20px rgba(0,0,0,0.2);
}
.coupon-modern-display span {
    font-family: 'Courier New', monospace;
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: 1px;
}
.btn-copy-modern {
    width: 36px; height: 36px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    transition: 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.btn-copy-modern:hover {
    background: #fff; color: #000;
}
.win-subtitle {
    font-size: 0.75rem; color: var(--text-muted); margin-top: 8px;
}

/* Win Pulse Animation */
.win-pulse {
    animation: winPulse 1s ease infinite alternate;
}
@keyframes winPulse {
    from { box-shadow: 0 0 20px rgba(16, 185, 129, 0.2); border-color: rgba(16, 185, 129, 0.3); }
    to { box-shadow: 0 0 50px rgba(16, 185, 129, 0.5); border-color: rgba(16, 185, 129, 0.8); }
}

/* Mobile Responsiveness for Lucky Wheel */
@media (max-width: 600px) {
    .lucky-widget-container {
        bottom: 0; right: 0; left: 0;
        align-items: center;
        padding: 15px;
    }
    .lucky-widget-card {
        width: 100%;
        max-width: 400px;
    }
}

/* =========================================
   MEDIA QUERIES & MOBILE MENU
   ========================================= */

/* Burger Toggle - Default Hidden */
.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: var(--text-main);
    font-size: 1.6rem;
    cursor: pointer;
    padding: 10px;
    z-index: 1010;
}

@media (max-width: 900px) {
    .hero-landing h1 { font-size: 3rem; }
    
    /* Navbar Anpassung für Mobile */
    .navbar {
        flex-wrap: nowrap; /* Wichtig: Auch mobil nicht umbrechen */
        justify-content: space-between;
        padding-left: 15px;
        padding-right: 15px;
    }
    
    /* Logo und Actions behalten ihre Position */
    .navbar > nav {
        position: static;
        width: 100%;
        order: 4; /* Nach unten schieben */
        margin: 0;
    }
    
    /* Toggle sichtbar machen */
    .mobile-toggle {
        display: block;
        order: 3;
    }

    /* Standardmäßig versteckt */
    .nav-links { 
        display: none; 
        flex-direction: column;
        width: 100%;
        background: rgba(15, 15, 19, 0.98);
        backdrop-filter: blur(15px);
        -webkit-backdrop-filter: blur(15px);
        padding: 20px 0;
        border-top: 1px solid rgba(255,255,255,0.05);
        border-bottom: 1px solid rgba(255,255,255,0.05);
        margin-top: 15px;
        animation: slideDownMenu 0.3s ease-out forwards;
    } 

    /* Wenn geöffnet (durch JS Klasse 'mobile-open') */
    .nav-links.mobile-open {
        display: flex;
    }

    .nav-links li {
        width: 100%;
        text-align: center;
        opacity: 0;
        animation: fadeInItem 0.4s ease forwards;
    }
    
    /* Staggered Animation für Items */
    .nav-links li:nth-child(1) { animation-delay: 0.05s; }
    .nav-links li:nth-child(2) { animation-delay: 0.1s; }
    .nav-links li:nth-child(3) { animation-delay: 0.15s; }
    .nav-links li:nth-child(4) { animation-delay: 0.2s; }
    .nav-links li:nth-child(5) { animation-delay: 0.25s; }

    .nav-links a {
        display: block;
        padding: 12px 0;
        font-size: 1.1rem;
        border-bottom: 1px solid rgba(255,255,255,0.02);
    }

    /* Mobile Dropdowns */
    .nav-links .dropdown-menu {
        position: static;
        float: none;
        width: 100%;
        background: transparent;
        border: none;
        box-shadow: none;
        padding: 0;
        display: none; /* JS toggles display:block */
        text-align: center;
    }
    
    .nav-links .dropdown-menu li a {
        padding: 10px 0;
        color: var(--text-muted);
        font-size: 0.95rem;
        padding-left: 0; /* Override desktop padding */
    }
    
    .products-grid { grid-template-columns: 1fr; }
    
    .dashboard-layout {
        flex-direction: column;
        align-items: flex-start;
        gap: 30px;
    }
    .dashboard-actions { max-width: 100%; }
    
    .announcement-bar { height: 40px; }
    .announcement-content span { font-size: 0.75rem; }
    .announcement-track { animation-duration: 25s; }
}

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

@keyframes fadeInItem {
    to { opacity: 1; }
}