/* =============================================================================
   🍄 FLUGSVAMP 4.0 PORTAL - PSYCHEDELIC SCANDINAVIAN FOREST THEME
   Colors: Red, White, Metallic Silver with Psychedelic Accents
   ============================================================================= */

/* CSS Variables */
:root {
    /* Primary Colors - Fly Agaric Inspired */
    --color-red-50: #fef2f2;
    --color-red-100: #fee2e2;
    --color-red-200: #fecaca;
    --color-red-300: #fca5a5;
    --color-red-400: #f87171;
    --color-red-500: #ef4444;
    --color-red-600: #dc2626;
    --color-red-700: #b91c1c;
    --color-red-800: #991b1b;
    --color-red-900: #7f1d1d;
    
    /* Metallic/Silver */
    --color-metal-50: #fafafa;
    --color-metal-100: #f4f4f5;
    --color-metal-200: #e4e4e7;
    --color-metal-300: #d4d4d8;
    --color-metal-400: #a1a1aa;
    --color-metal-500: #71717a;
    --color-metal-600: #52525b;
    --color-metal-700: #3f3f46;
    --color-metal-800: #27272a;
    --color-metal-900: #18181b;
    
    /* Forest Greens */
    --color-forest-50: #f0fdf4;
    --color-forest-100: #dcfce7;
    --color-forest-200: #bbf7d0;
    --color-forest-300: #86efac;
    --color-forest-400: #4ade80;
    --color-forest-500: #22c55e;
    --color-forest-600: #16a34a;
    --color-forest-700: #15803d;
    --color-forest-800: #166534;
    --color-forest-900: #14532d;
    
    /* Psychedelic Colors */
    --color-psychedelic-purple: #9333ea;
    --color-psychedelic-pink: #ec4899;
    --color-psychedelic-cyan: #06b6d4;
    --color-psychedelic-yellow: #facc15;
    --color-psychedelic-orange: #f97316;
    
    /* Theme Colors */
    --color-primary: var(--color-red-600);
    --color-primary-light: var(--color-red-500);
    --color-primary-dark: var(--color-red-700);
    --color-secondary: var(--color-metal-400);
    --color-accent: var(--color-forest-500);
    
    /* Background */
    --color-bg-primary: #0a0a0a;
    --color-bg-secondary: #141414;
    --color-bg-card: rgba(20, 20, 20, 0.95);
    --color-bg-card-hover: rgba(30, 30, 30, 0.98);
    
    /* Text */
    --color-text-primary: #fafafa;
    --color-text-secondary: #a1a1aa;
    --color-text-muted: #71717a;
    
    /* Borders */
    --color-border: rgba(255, 255, 255, 0.08);
    --color-border-hover: rgba(220, 38, 38, 0.6);
    
    /* Gradients */
    --gradient-primary: linear-gradient(135deg, var(--color-red-600), var(--color-red-800));
    --gradient-metal: linear-gradient(135deg, var(--color-metal-400), var(--color-metal-600));
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,0.05), rgba(255,255,255,0));
    --gradient-psychedelic: linear-gradient(135deg, var(--color-red-600), var(--color-psychedelic-purple), var(--color-psychedelic-pink));
    --gradient-aurora: linear-gradient(135deg, rgba(220,38,38,0.3), rgba(147,51,234,0.3), rgba(6,182,212,0.2));
    
    /* Shadows */
    --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
    --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
    --shadow-lg: 0 10px 25px rgba(0, 0, 0, 0.5);
    --shadow-glow: 0 0 40px rgba(220, 38, 38, 0.4);
    --shadow-glow-purple: 0 0 30px rgba(147, 51, 234, 0.3);
    --shadow-glow-multi: 0 0 30px rgba(220, 38, 38, 0.3), 0 0 60px rgba(147, 51, 234, 0.2);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    --space-3xl: 4rem;
    
    /* Typography - Classic Darknet */
    --font-primary: 'Cinzel', 'Times New Roman', serif;
    --font-body: 'Source Sans Pro', 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Consolas', monospace;
    
    /* Border Radius */
    --radius-sm: 4px;
    --radius-md: 8px;
    --radius-lg: 12px;
    --radius-xl: 16px;
    --radius-full: 9999px;
    
    /* Transitions */
    --transition-fast: 150ms ease;
    --transition-normal: 300ms ease;
    --transition-slow: 500ms ease;
}

/* =============================================================================
   RESET & BASE
   ============================================================================= */

*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background-color: var(--color-bg-primary);
    color: var(--color-text-primary);
    line-height: 1.6;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* =============================================================================
   🌲 PSYCHEDELIC FOREST BACKGROUND ANIMATION
   ============================================================================= */

.forest-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
}

/* Psychedelic Aurora Background - Enhanced visibility */
.forest-bg::before {
    content: '';
    position: absolute;
    width: 200%;
    height: 200%;
    top: -50%;
    left: -50%;
    background: 
        radial-gradient(ellipse at 20% 30%, rgba(220, 38, 38, 0.25) 0%, transparent 45%),
        radial-gradient(ellipse at 80% 70%, rgba(147, 51, 234, 0.2) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 50%, rgba(6, 182, 212, 0.15) 0%, transparent 55%),
        radial-gradient(ellipse at 30% 80%, rgba(236, 72, 153, 0.18) 0%, transparent 40%);
    animation: auroraShift 20s ease-in-out infinite;
}

@keyframes auroraShift {
    0%, 100% { 
        transform: rotate(0deg) scale(1);
        opacity: 0.6;
    }
    25% { 
        transform: rotate(2deg) scale(1.05);
        opacity: 0.8;
    }
    50% { 
        transform: rotate(-1deg) scale(1.02);
        opacity: 0.7;
    }
    75% { 
        transform: rotate(1deg) scale(1.08);
        opacity: 0.9;
    }
}

/* Forest Layer - Trees */
.forest-layer {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 200%;
    height: 100%;
    opacity: 0.25;
}

.forest-layer-1 {
    animation: forestMove 60s linear infinite;
    filter: drop-shadow(0 0 8px rgba(220, 38, 38, 0.4));
    opacity: 0.3;
}

.forest-layer-2 {
    animation: forestMove 80s linear infinite reverse;
    opacity: 0.2;
    filter: drop-shadow(0 0 5px rgba(147, 51, 234, 0.3));
}

.forest-layer-3 {
    animation: forestMove 100s linear infinite;
    opacity: 0.15;
    filter: drop-shadow(0 0 3px rgba(6, 182, 212, 0.2));
}

@keyframes forestMove {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Psychedelic Fog Effect - Enhanced visibility */
.fog {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(220, 38, 38, 0.12) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(147, 51, 234, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(255, 255, 255, 0.1) 0%, transparent 45%),
        radial-gradient(ellipse at 70% 20%, rgba(236, 72, 153, 0.08) 0%, transparent 45%);
    animation: fogDrift 25s ease-in-out infinite;
}

@keyframes fogDrift {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateX(0) scale(1);
        filter: hue-rotate(0deg);
    }
    33% { 
        opacity: 0.9; 
        transform: translateX(30px) scale(1.02);
        filter: hue-rotate(10deg);
    }
    66% { 
        opacity: 0.7; 
        transform: translateX(-20px) scale(0.98);
        filter: hue-rotate(-5deg);
    }
}

/* Floating Particles (Magic Mushroom Spores) */
.particles {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    width: 8px;
    height: 8px;
    background: var(--color-red-500);
    border-radius: 50%;
    opacity: 0;
    animation: floatPsychedelic 10s ease-in-out infinite;
}

/* Multi-colored particles with enhanced glow */
.particle:nth-child(odd) {
    background: var(--color-red-500);
    box-shadow: 
        0 0 15px var(--color-red-500),
        0 0 30px var(--color-red-500),
        0 0 45px rgba(220, 38, 38, 0.6);
}

.particle:nth-child(even) {
    background: var(--color-psychedelic-purple);
    box-shadow: 
        0 0 15px var(--color-psychedelic-purple),
        0 0 30px var(--color-psychedelic-purple),
        0 0 45px rgba(147, 51, 234, 0.6);
}

.particle:nth-child(3n) {
    background: #fff;
    box-shadow: 
        0 0 15px #fff,
        0 0 30px rgba(255, 255, 255, 0.9),
        0 0 45px rgba(255, 255, 255, 0.6);
    width: 6px;
    height: 6px;
}

.particle:nth-child(1) { left: 10%; top: 20%; animation-delay: 0s; animation-duration: 8s; }
.particle:nth-child(2) { left: 20%; top: 60%; animation-delay: 1s; animation-duration: 12s; }
.particle:nth-child(3) { left: 30%; top: 40%; animation-delay: 2s; animation-duration: 9s; }
.particle:nth-child(4) { left: 40%; top: 80%; animation-delay: 3s; animation-duration: 11s; }
.particle:nth-child(5) { left: 50%; top: 30%; animation-delay: 4s; animation-duration: 10s; }
.particle:nth-child(6) { left: 60%; top: 70%; animation-delay: 5s; animation-duration: 13s; }
.particle:nth-child(7) { left: 70%; top: 50%; animation-delay: 6s; animation-duration: 8s; }
.particle:nth-child(8) { left: 80%; top: 25%; animation-delay: 7s; animation-duration: 14s; }
.particle:nth-child(9) { left: 90%; top: 65%; animation-delay: 0.5s; animation-duration: 9s; }
.particle:nth-child(10) { left: 15%; top: 85%; animation-delay: 1.5s; animation-duration: 11s; }
.particle:nth-child(11) { left: 85%; top: 15%; animation-delay: 2.5s; animation-duration: 10s; }
.particle:nth-child(12) { left: 45%; top: 55%; animation-delay: 3.5s; animation-duration: 12s; }

@keyframes floatPsychedelic {
    0%, 100% { 
        opacity: 0;
        transform: translateY(0) scale(1) rotate(0deg);
    }
    10% { 
        opacity: 1; 
    }
    25% { 
        transform: translateY(-20px) translateX(10px) scale(1.3) rotate(90deg);
    }
    50% { 
        opacity: 0.6;
        transform: translateY(-40px) translateX(-5px) scale(1.5) rotate(180deg);
    }
    75% { 
        transform: translateY(-60px) translateX(15px) scale(1.2) rotate(270deg);
    }
    90% { 
        opacity: 0.8; 
    }
}

/* Vignette Effect with Color */
.vignette {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 0;
    background: 
        radial-gradient(ellipse at center, transparent 40%, rgba(0,0,0,0.3) 85%, rgba(0,0,0,0.6) 100%),
        radial-gradient(ellipse at 10% 90%, rgba(220, 38, 38, 0.15) 0%, transparent 35%),
        radial-gradient(ellipse at 90% 10%, rgba(147, 51, 234, 0.12) 0%, transparent 35%);
}

/* Psychedelic Scan Lines (subtle) */
.forest-bg::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(0, 0, 0, 0.03) 2px,
        rgba(0, 0, 0, 0.03) 4px
    );
    pointer-events: none;
}

/* =============================================================================
   TYPOGRAPHY - Cinzel + Source Sans Pro
   ============================================================================= */

h1, h2, h3, h4, h5, h6 {
    font-family: var(--font-primary);
    font-weight: 600;
    line-height: 1.2;
    color: var(--color-text-primary);
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

h1 { 
    font-size: 2.5rem; 
    font-weight: 700;
    letter-spacing: 0.08em;
}
h2 { 
    font-size: 2rem; 
    font-weight: 600;
}
h3 { 
    font-size: 1.5rem; 
    font-weight: 600;
}
h4 { 
    font-size: 1.25rem; 
    font-weight: 500;
}

p {
    margin-bottom: var(--space-md);
    color: var(--color-text-secondary);
    line-height: 1.6;
}

a {
    color: var(--color-primary);
    text-decoration: none;
    transition: color var(--transition-fast);
}

a:hover {
    color: var(--color-primary-light);
}

code, pre {
    font-family: var(--font-mono);
    background: var(--color-bg-secondary);
    border-radius: var(--radius-sm);
}

code {
    padding: 0.2em 0.4em;
    font-size: 0.9em;
}

pre {
    padding: var(--space-md);
    overflow-x: auto;
    border: 1px solid var(--color-border);
}

/* =============================================================================
   HEADER & NAVIGATION
   ============================================================================= */

.header {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    background: rgba(13, 13, 13, 0.95);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--color-border);
}

.header-inner {
    max-width: 1400px;
    margin: 0 auto;
    padding: var(--space-md) var(--space-xl);
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.logo {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    text-decoration: none;
}

.logo-icon {
    width: 50px;
    height: 50px;
    filter: drop-shadow(0 0 10px rgba(220, 38, 38, 0.5));
}

.logo-text {
    font-family: var(--font-primary);
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--color-text-primary);
    letter-spacing: 0.1em;
    text-transform: uppercase;
}

.logo-text span {
    color: var(--color-primary);
    font-weight: 700;
}

.nav-list {
    display: flex;
    list-style: none;
    gap: var(--space-sm);
}

.nav-list a {
    display: block;
    padding: var(--space-sm) var(--space-md);
    color: var(--color-text-secondary);
    font-weight: 500;
    border-radius: var(--radius-md);
    transition: all var(--transition-fast);
}

.nav-list a:hover,
.nav-list a.active {
    color: var(--color-text-primary);
    background: rgba(220, 38, 38, 0.1);
}

.nav-list a.active {
    color: var(--color-primary);
}

/* Language Selector - Enhanced */
.lang-selector {
    position: relative;
}

.lang-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-sm) var(--space-md);
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.9), rgba(20, 20, 20, 0.95));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    color: var(--color-text-primary);
    cursor: pointer;
    font-size: 0.9rem;
    transition: all var(--transition-normal);
    backdrop-filter: blur(10px);
}

.lang-btn:hover {
    border-color: var(--color-primary);
    box-shadow: var(--shadow-glow);
    transform: translateY(-2px);
}

.lang-btn span:first-child {
    font-size: 1.4rem;
    filter: drop-shadow(0 0 3px rgba(255,255,255,0.3));
}

.lang-btn span:last-child {
    font-size: 0.7rem;
    opacity: 0.6;
    transition: transform var(--transition-fast);
}

.lang-selector:hover .lang-btn span:last-child {
    transform: rotate(180deg);
}

.lang-dropdown {
    position: absolute;
    top: 100%;
    right: 0;
    margin-top: var(--space-sm);
    background: linear-gradient(180deg, rgba(26, 26, 26, 0.98), rgba(15, 15, 15, 0.99));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    min-width: 200px;
    opacity: 0;
    visibility: hidden;
    transform: translateY(-10px) scale(0.95);
    transition: all var(--transition-normal);
    z-index: 1000;
    box-shadow: 
        var(--shadow-lg),
        0 0 30px rgba(220, 38, 38, 0.1);
    backdrop-filter: blur(20px);
    overflow: hidden;
}

.lang-selector:hover .lang-dropdown {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-dropdown a {
    display: flex;
    align-items: center;
    gap: var(--space-md);
    padding: var(--space-md) var(--space-lg);
    color: var(--color-text-secondary);
    transition: all var(--transition-fast);
    border-bottom: 1px solid rgba(255, 255, 255, 0.03);
    position: relative;
    overflow: hidden;
}

.lang-dropdown a::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 3px;
    background: var(--gradient-primary);
    transform: scaleY(0);
    transition: transform var(--transition-fast);
}

.lang-dropdown a:hover::before {
    transform: scaleY(1);
}

.lang-dropdown a:last-child {
    border-bottom: none;
}

.lang-dropdown a span:first-child {
    font-size: 1.5rem;
    filter: drop-shadow(0 0 5px rgba(255,255,255,0.2));
    transition: transform var(--transition-fast);
}

.lang-dropdown a:hover span:first-child {
    transform: scale(1.2);
}

.lang-dropdown a span:last-child {
    font-weight: 500;
}

.lang-dropdown a:hover {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.15), transparent);
    color: var(--color-text-primary);
    padding-left: calc(var(--space-lg) + 5px);
}

/* Language code badge */
.lang-dropdown a::after {
    content: attr(data-code);
    position: absolute;
    right: var(--space-md);
    font-size: 0.7rem;
    text-transform: uppercase;
    color: var(--color-text-muted);
    opacity: 0.5;
    font-family: var(--font-mono);
}

/* Mobile Menu */
.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: var(--color-text-primary);
    cursor: pointer;
    padding: var(--space-sm);
}

/* =============================================================================
   MAIN CONTENT
   ============================================================================= */

.main {
    padding-top: 80px;
    min-height: 100vh;
    position: relative;
    z-index: 2;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: var(--space-xl);
}

.section {
    padding: var(--space-3xl) 0;
}

/* =============================================================================
   HERO SECTION
   ============================================================================= */

.hero {
    min-height: calc(100vh - 80px);
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: var(--space-3xl) var(--space-xl);
    position: relative;
}

.hero-content {
    max-width: 800px;
    z-index: 2;
}

.hero-logo {
    width: 180px;
    height: 180px;
    margin: 0 auto var(--space-xl);
    animation: psychedelicPulse 4s ease-in-out infinite;
    filter: 
        drop-shadow(0 0 30px rgba(220, 38, 38, 0.6))
        drop-shadow(0 0 60px rgba(147, 51, 234, 0.3));
}

@keyframes psychedelicPulse {
    0%, 100% { 
        transform: scale(1) rotate(0deg);
        filter: 
            drop-shadow(0 0 30px rgba(220, 38, 38, 0.6))
            drop-shadow(0 0 60px rgba(147, 51, 234, 0.3))
            hue-rotate(0deg);
    }
    25% { 
        transform: scale(1.05) rotate(2deg);
        filter: 
            drop-shadow(0 0 40px rgba(220, 38, 38, 0.7))
            drop-shadow(0 0 70px rgba(147, 51, 234, 0.4))
            hue-rotate(10deg);
    }
    50% { 
        transform: scale(1.08) rotate(0deg);
        filter: 
            drop-shadow(0 0 50px rgba(220, 38, 38, 0.8))
            drop-shadow(0 0 80px rgba(236, 72, 153, 0.4))
            hue-rotate(0deg);
    }
    75% { 
        transform: scale(1.03) rotate(-2deg);
        filter: 
            drop-shadow(0 0 35px rgba(220, 38, 38, 0.65))
            drop-shadow(0 0 65px rgba(147, 51, 234, 0.35))
            hue-rotate(-10deg);
    }
}

.hero-title {
    font-family: var(--font-primary);
    font-size: 4rem;
    font-weight: 700;
    margin-bottom: var(--space-md);
    letter-spacing: 0.1em;
    text-transform: uppercase;
    background: linear-gradient(
        135deg, 
        var(--color-text-primary) 0%, 
        var(--color-metal-300) 50%,
        var(--color-primary-light) 100%
    );
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: none;
    filter: drop-shadow(0 0 30px rgba(220, 38, 38, 0.3));
}

.hero-subtitle {
    font-family: var(--font-body);
    font-size: 1.4rem;
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-weight: 600;
    letter-spacing: 0.02em;
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    margin-bottom: var(--space-2xl);
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* =============================================================================
   BUTTONS
   ============================================================================= */

/* =============================================================================
   🔘 PSYCHEDELIC BUTTONS
   ============================================================================= */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    position: relative;
    overflow: hidden;
    padding: var(--space-md) var(--space-xl);
    font-family: var(--font-body);
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    border-radius: var(--radius-md);
    border: 2px solid transparent;
    cursor: pointer;
    transition: all var(--transition-normal);
}

/* Animated gradient background for buttons */
.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transition: left 0.5s ease;
}

.btn:hover::before {
    left: 100%;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    border-color: var(--color-primary);
    box-shadow: 
        0 0 20px rgba(220, 38, 38, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.btn-primary:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 
        0 0 40px rgba(220, 38, 38, 0.6),
        0 0 60px rgba(147, 51, 234, 0.3),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
    filter: brightness(1.1);
}

.btn-primary:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-secondary {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.8), rgba(15, 15, 15, 0.9));
    color: var(--color-text-primary);
    border-color: var(--color-metal-500);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    border-color: var(--color-primary);
    color: var(--color-primary);
    box-shadow: 
        0 0 20px rgba(220, 38, 38, 0.2),
        inset 0 0 20px rgba(220, 38, 38, 0.05);
    transform: translateY(-2px);
}

.btn-outline {
    background: transparent;
    color: var(--color-primary);
    border-color: var(--color-primary);
    position: relative;
}

.btn-outline::after {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--gradient-primary);
    opacity: 0;
    transition: opacity var(--transition-normal);
    z-index: -1;
    border-radius: inherit;
}

.btn-outline:hover {
    color: white;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(220, 38, 38, 0.4);
}

.btn-outline:hover::after {
    opacity: 1;
}

.btn-sm {
    padding: var(--space-sm) var(--space-md);
    font-size: 0.875rem;
}

.btn-lg {
    padding: var(--space-lg) var(--space-2xl);
    font-size: 1.1rem;
}

/* =============================================================================
   🃏 PSYCHEDELIC CARDS
   ============================================================================= */

.card {
    background: linear-gradient(
        135deg,
        rgba(20, 20, 20, 0.95),
        rgba(15, 15, 15, 0.98)
    );
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

/* Psychedelic gradient border effect */
.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, 
        var(--color-red-600), 
        var(--color-psychedelic-purple), 
        var(--color-psychedelic-pink),
        var(--color-red-600)
    );
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
    animation: gradientShift 3s linear infinite paused;
}

.card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

@keyframes gradientShift {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Inner glow effect */
.card::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(
        ellipse at var(--mouse-x, 50%) var(--mouse-y, 50%),
        rgba(220, 38, 38, 0.1) 0%,
        transparent 50%
    );
    opacity: 0;
    transition: opacity var(--transition-normal);
    pointer-events: none;
}

.card:hover::after {
    opacity: 1;
}

.card:hover {
    border-color: rgba(220, 38, 38, 0.3);
    transform: translateY(-6px) scale(1.01);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(220, 38, 38, 0.15),
        inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.card-icon {
    font-size: 3rem;
    margin-bottom: var(--space-md);
    filter: drop-shadow(0 0 10px currentColor);
    transition: transform var(--transition-normal), filter var(--transition-normal);
}

.card:hover .card-icon {
    transform: scale(1.15) rotate(5deg);
    filter: drop-shadow(0 0 20px currentColor);
}

.card-title {
    font-size: 1.25rem;
    margin-bottom: var(--space-sm);
    color: var(--color-text-primary);
}

.card-description {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

/* Feature Grid */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-xl);
}

/* =============================================================================
   MIRROR CARDS
   ============================================================================= */

.mirrors-list {
    display: flex;
    flex-direction: column;
    gap: var(--space-lg);
}

.mirror-card {
    background: linear-gradient(135deg, rgba(26, 26, 26, 0.95), rgba(20, 20, 20, 0.98));
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    display: flex;
    position: relative;
    overflow: hidden;
    align-items: center;
    justify-content: space-between;
    gap: var(--space-md);
    transition: all var(--transition-normal);
}

.mirror-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, var(--color-red-600), var(--color-psychedelic-purple), var(--color-red-600));
    background-size: 200% 100%;
    opacity: 0;
    transition: opacity var(--transition-normal);
    animation: gradientShift 3s linear infinite paused;
}

.mirror-card:hover::before {
    opacity: 1;
    animation-play-state: running;
}

.mirror-card:hover {
    border-color: rgba(220, 38, 38, 0.4);
    transform: translateY(-4px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 20px rgba(220, 38, 38, 0.1);
}

.mirror-info {
    display: flex;
    align-items: center;
    gap: var(--space-lg);
}

.mirror-status {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
    position: relative;
}

.mirror-status::after {
    content: '';
    position: absolute;
    inset: -4px;
    border-radius: 50%;
    background: inherit;
    opacity: 0.3;
    filter: blur(4px);
}

.mirror-status.online {
    background: var(--color-forest-500);
    box-shadow: 
        0 0 10px var(--color-forest-500),
        0 0 20px rgba(34, 197, 94, 0.5);
    animation: statusGlow 2s ease-in-out infinite;
}

.mirror-status.slow {
    background: #f59e0b;
    box-shadow: 
        0 0 10px #f59e0b,
        0 0 20px rgba(245, 158, 11, 0.5);
    animation: statusGlow 3s ease-in-out infinite;
}

.mirror-status.offline {
    background: var(--color-red-500);
    box-shadow: 0 0 10px rgba(239, 68, 68, 0.3);
}

@keyframes statusGlow {
    0%, 100% { 
        opacity: 1;
        transform: scale(1);
    }
    50% { 
        opacity: 0.8;
        transform: scale(1.1);
    }
}

@keyframes statusPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.mirror-name {
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-xs);
    display: flex;
    align-items: center;
    gap: var(--space-sm);
}

.mirror-name span {
    font-size: 0.75rem;
    padding: 2px 8px;
    background: rgba(34, 197, 94, 0.2);
    border-radius: var(--radius-full);
}

.mirror-url {
    font-family: var(--font-mono);
    font-size: 0.9rem;
    color: var(--color-primary);
    word-break: break-all;
    background: rgba(0, 0, 0, 0.3);
    padding: var(--space-sm) var(--space-md);
    border-radius: var(--radius-md);
    border: 1px solid rgba(220, 38, 38, 0.2);
    transition: all var(--transition-fast);
}

.mirror-card:hover .mirror-url {
    border-color: rgba(220, 38, 38, 0.4);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.1);
}

.mirror-meta {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-md);
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-top: var(--space-sm);
}

.mirror-meta span {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    background: rgba(255, 255, 255, 0.03);
    border-radius: var(--radius-md);
}

.mirror-actions {
    display: flex;
    gap: var(--space-sm);
    margin-top: var(--space-md);
}

/* =============================================================================
   STATS
   ============================================================================= */

.stats-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-lg);
}

.stat-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    text-align: center;
}

.stat-value {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--color-primary);
    font-family: var(--font-primary);
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    margin-top: var(--space-sm);
}

/* =============================================================================
   FAQ
   ============================================================================= */

.faq-section {
    margin-bottom: var(--space-2xl);
}

.faq-category {
    font-size: 1.5rem;
    margin-bottom: var(--space-lg);
    padding-bottom: var(--space-sm);
    border-bottom: 2px solid var(--color-primary);
    display: inline-block;
}

.faq-item {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-md);
    overflow: hidden;
}

.faq-question {
    padding: var(--space-lg);
    cursor: pointer;
    font-weight: 600;
    color: var(--color-text-primary);
    display: flex;
    justify-content: space-between;
    align-items: center;
    transition: background var(--transition-fast);
}

.faq-question:hover {
    background: rgba(220, 38, 38, 0.05);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--color-primary);
    transition: transform var(--transition-fast);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    padding: 0 var(--space-lg);
    max-height: 0;
    overflow: hidden;
    transition: all var(--transition-normal);
    color: var(--color-text-secondary);
}

.faq-item.active .faq-answer {
    padding: var(--space-lg);
    max-height: 500px;
}

/* =============================================================================
   PAGE HEADERS
   ============================================================================= */

.page-header {
    text-align: center;
    padding: var(--space-3xl) 0;
    margin-bottom: var(--space-2xl);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.page-description {
    font-size: 1.1rem;
    color: var(--color-text-secondary);
    max-width: 600px;
    margin: 0 auto;
}

.breadcrumb {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
}

.breadcrumb a {
    color: var(--color-text-muted);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb span {
    color: var(--color-text-muted);
}

.breadcrumb .current {
    color: var(--color-text-primary);
}

/* =============================================================================
   GUIDES
   ============================================================================= */

.guides-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: var(--space-xl);
}

.guide-card {
    background: var(--color-bg-card);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    transition: all var(--transition-normal);
    text-decoration: none;
    display: block;
}

.guide-card:hover {
    border-color: var(--color-border-hover);
    transform: translateY(-4px);
}

.guide-icon {
    font-size: 2.5rem;
    margin-bottom: var(--space-md);
}

.guide-title {
    font-size: 1.25rem;
    color: var(--color-text-primary);
    margin-bottom: var(--space-sm);
}

.guide-description {
    color: var(--color-text-secondary);
    margin-bottom: var(--space-md);
}

.guide-meta {
    display: flex;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.difficulty-badge {
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-sm);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.difficulty-badge.beginner {
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-forest-400);
}

.difficulty-badge.intermediate {
    background: rgba(245, 158, 11, 0.2);
    color: #f59e0b;
}

.difficulty-badge.advanced {
    background: rgba(220, 38, 38, 0.2);
    color: var(--color-red-400);
}

/* =============================================================================
   FORMS
   ============================================================================= */

.form-group {
    margin-bottom: var(--space-lg);
}

.form-label {
    display: block;
    margin-bottom: var(--space-sm);
    font-weight: 500;
    color: var(--color-text-primary);
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: var(--space-md);
    background: var(--color-bg-secondary);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-md);
    color: var(--color-text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: border-color var(--transition-fast);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    outline: none;
    border-color: var(--color-primary);
}

.form-textarea {
    min-height: 150px;
    resize: vertical;
}

/* =============================================================================
   ALERTS
   ============================================================================= */

.alert {
    padding: var(--space-md) var(--space-lg);
    border-radius: var(--radius-md);
    margin-bottom: var(--space-lg);
    border: 1px solid;
}

.alert-warning {
    background: rgba(245, 158, 11, 0.1);
    border-color: rgba(245, 158, 11, 0.3);
    color: #fbbf24;
}

.alert-danger {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--color-red-400);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--color-forest-400);
}

.alert-info {
    background: rgba(59, 130, 246, 0.1);
    border-color: rgba(59, 130, 246, 0.3);
    color: #60a5fa;
}

/* =============================================================================
   TIP OF THE DAY
   ============================================================================= */

.tip-card {
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.1), rgba(220, 38, 38, 0.05));
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    font-weight: 600;
}

.tip-content {
    color: var(--color-text-secondary);
}

/* =============================================================================
   FOOTER
   ============================================================================= */

.footer {
    background: var(--color-bg-secondary);
    border-top: 1px solid var(--color-border);
    padding: var(--space-3xl) var(--space-xl);
    margin-top: var(--space-3xl);
    position: relative;
    z-index: 2;
}

.footer-inner {
    max-width: 1200px;
    margin: 0 auto;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: var(--space-2xl);
    margin-bottom: var(--space-2xl);
}

.footer-section h4 {
    color: var(--color-text-primary);
    margin-bottom: var(--space-md);
    font-size: 1rem;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: var(--space-sm);
}

.footer-section a {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
}

.footer-section a:hover {
    color: var(--color-primary);
}

.footer-bottom {
    text-align: center;
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

.footer-disclaimer {
    color: var(--color-text-muted);
    font-size: 0.85rem;
    margin-bottom: var(--space-md);
}

.footer-copyright {
    color: var(--color-text-muted);
    font-size: 0.8rem;
}

/* =============================================================================
   RESPONSIVE
   ============================================================================= */

@media (max-width: 1024px) {
    .header-inner {
        padding: var(--space-md);
    }
    
    .nav-list {
        display: none;
    }
    
    .mobile-menu-btn {
        display: block;
    }
    
    .hero-title {
        font-size: 3rem;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    .mirror-card {
        flex-direction: column;
        text-align: center;
    }
    
    .mirror-info {
        flex-direction: column;
    }
    
    .mirror-meta {
        justify-content: center;
    }
    
    .container {
        padding: var(--space-md);
    }
    
    .page-title {
        font-size: 2rem;
    }
}

@media (max-width: 480px) {
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-logo {
        width: 100px;
        height: 100px;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
    }
}

/* =============================================================================
   UTILITY CLASSES
   ============================================================================= */

.text-center { text-align: center; }
.text-left { text-align: left; }
.text-right { text-align: right; }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: var(--space-sm); }
.mb-2 { margin-bottom: var(--space-md); }
.mb-3 { margin-bottom: var(--space-lg); }
.mb-4 { margin-bottom: var(--space-xl); }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: var(--space-sm); }
.mt-2 { margin-top: var(--space-md); }
.mt-3 { margin-top: var(--space-lg); }
.mt-4 { margin-top: var(--space-xl); }

.hidden { display: none; }
.visible { display: block; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; align-items: center; justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: var(--space-sm); }
.gap-2 { gap: var(--space-md); }
.gap-3 { gap: var(--space-lg); }

.grid { display: grid; }
.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }

/* =============================================================================
   ANIMATIONS
   ============================================================================= */

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes slideUp {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

@keyframes slideDown {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}

.animate-fadeIn {
    animation: fadeIn 0.5s ease forwards;
}

.animate-slideUp {
    animation: slideUp 0.5s ease forwards;
}

.animate-slideDown {
    animation: slideDown 0.5s ease forwards;
}

/* Stagger animations */
.stagger > *:nth-child(1) { animation-delay: 0.1s; }
.stagger > *:nth-child(2) { animation-delay: 0.2s; }
.stagger > *:nth-child(3) { animation-delay: 0.3s; }
.stagger > *:nth-child(4) { animation-delay: 0.4s; }
.stagger > *:nth-child(5) { animation-delay: 0.5s; }
.stagger > *:nth-child(6) { animation-delay: 0.6s; }

/* =============================================================================
   🍄 PSYCHEDELIC ENHANCEMENTS
   ============================================================================= */

/* Active language indicator */
.lang-dropdown a.active {
    background: linear-gradient(90deg, rgba(220, 38, 38, 0.2), transparent);
    color: var(--color-primary);
    border-left: 3px solid var(--color-primary);
}

.lang-dropdown a.active::before {
    transform: scaleY(1);
}

/* Psychedelic text glow effect */
.glow-text {
    text-shadow: 
        0 0 10px currentColor,
        0 0 20px currentColor,
        0 0 40px currentColor;
}

/* Rainbow text animation */
.rainbow-text {
    background: linear-gradient(
        90deg,
        var(--color-red-500),
        var(--color-psychedelic-orange),
        var(--color-psychedelic-yellow),
        var(--color-forest-500),
        var(--color-psychedelic-cyan),
        var(--color-psychedelic-purple),
        var(--color-psychedelic-pink),
        var(--color-red-500)
    );
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: rainbowMove 5s linear infinite;
}

@keyframes rainbowMove {
    0% { background-position: 0% 50%; }
    100% { background-position: 200% 50%; }
}

/* Psychedelic border animation */
.psychedelic-border {
    position: relative;
}

.psychedelic-border::before {
    content: '';
    position: absolute;
    inset: -2px;
    background: linear-gradient(
        45deg,
        var(--color-red-600),
        var(--color-psychedelic-purple),
        var(--color-psychedelic-pink),
        var(--color-psychedelic-cyan),
        var(--color-red-600)
    );
    background-size: 300% 300%;
    border-radius: inherit;
    z-index: -1;
    animation: borderGradient 4s ease infinite;
    filter: blur(4px);
    opacity: 0.7;
}

@keyframes borderGradient {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
}

/* Tip card psychedelic upgrade */
.tip-card {
    background: linear-gradient(
        135deg, 
        rgba(220, 38, 38, 0.1), 
        rgba(147, 51, 234, 0.05),
        rgba(220, 38, 38, 0.08)
    );
    border: 1px solid rgba(220, 38, 38, 0.3);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    margin-bottom: var(--space-2xl);
    position: relative;
    overflow: hidden;
}

.tip-card::before {
    content: '🍄';
    position: absolute;
    right: -20px;
    bottom: -20px;
    font-size: 8rem;
    opacity: 0.05;
    transform: rotate(-15deg);
}

.tip-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
    color: var(--color-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.tip-header span:first-child {
    font-size: 1.5rem;
    animation: mushroomBounce 2s ease-in-out infinite;
}

@keyframes mushroomBounce {
    0%, 100% { transform: translateY(0) rotate(0deg); }
    25% { transform: translateY(-5px) rotate(-5deg); }
    75% { transform: translateY(-3px) rotate(5deg); }
}

/* Stats cards psychedelic */
.stat-card {
    background: linear-gradient(
        135deg,
        rgba(26, 26, 26, 0.95),
        rgba(20, 20, 20, 0.98)
    );
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    padding: var(--space-xl);
    text-align: center;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: var(--gradient-psychedelic);
    background-size: 200% 100%;
    animation: gradientShift 3s linear infinite;
}

.stat-card:hover {
    transform: translateY(-5px) scale(1.02);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(220, 38, 38, 0.2);
}

.stat-value {
    font-family: var(--font-primary);
    font-size: 2.5rem;
    font-weight: 700;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: var(--space-sm);
}

.stat-label {
    color: var(--color-text-secondary);
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Status indicators */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
    padding: var(--space-xs) var(--space-sm);
    border-radius: var(--radius-full);
    font-size: 0.75rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-online {
    background: rgba(34, 197, 94, 0.2);
    color: var(--color-forest-500);
    border: 1px solid rgba(34, 197, 94, 0.3);
}

.status-online::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-forest-500);
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.status-offline {
    background: rgba(239, 68, 68, 0.2);
    color: var(--color-red-500);
    border: 1px solid rgba(239, 68, 68, 0.3);
}

.status-offline::before {
    content: '';
    width: 8px;
    height: 8px;
    background: var(--color-red-500);
    border-radius: 50%;
}

@keyframes statusPulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(34, 197, 94, 0.4);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 0 6px rgba(34, 197, 94, 0);
    }
}

/* Hero title psychedelic glow effect (extends main style) */
@supports (filter: drop-shadow(0 0 10px red)) {
    .hero-title {
        filter: 
            drop-shadow(0 0 20px rgba(220, 38, 38, 0.4))
            drop-shadow(0 0 40px rgba(147, 51, 234, 0.2));
    }
}

.hero-description {
    font-size: 1.1rem;
    color: var(--color-text-muted);
    max-width: 600px;
    margin: 0 auto var(--space-xl);
}

.hero-buttons {
    display: flex;
    gap: var(--space-md);
    justify-content: center;
    flex-wrap: wrap;
}

/* Alert boxes */
.alert {
    padding: var(--space-lg);
    border-radius: var(--radius-lg);
    margin-bottom: var(--space-lg);
    border: 1px solid;
}

.alert-warning {
    background: rgba(220, 38, 38, 0.1);
    border-color: rgba(220, 38, 38, 0.3);
    color: var(--color-red-300);
}

.alert-success {
    background: rgba(34, 197, 94, 0.1);
    border-color: rgba(34, 197, 94, 0.3);
    color: var(--color-forest-300);
}

.alert-info {
    background: rgba(6, 182, 212, 0.1);
    border-color: rgba(6, 182, 212, 0.3);
    color: var(--color-psychedelic-cyan);
}

/* Code blocks psychedelic */
pre, .code-block {
    background: linear-gradient(135deg, #0a0a0a, #111);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    position: relative;
    overflow: hidden;
}

pre::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 2px;
    background: linear-gradient(90deg, 
        var(--color-red-600),
        var(--color-psychedelic-purple),
        var(--color-psychedelic-cyan)
    );
}

/* Page header improvements */
.page-header {
    margin-bottom: var(--space-2xl);
    padding-bottom: var(--space-lg);
    border-bottom: 1px solid var(--color-border);
    position: relative;
}

.page-header::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 0;
    width: 100px;
    height: 2px;
    background: var(--gradient-primary);
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: var(--space-sm);
    text-shadow: 0 0 30px rgba(220, 38, 38, 0.3);
}

.page-description {
    color: var(--color-text-secondary);
    font-size: 1.1rem;
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-lg);
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

.breadcrumb a {
    color: var(--color-text-secondary);
    transition: color var(--transition-fast);
}

.breadcrumb a:hover {
    color: var(--color-primary);
}

.breadcrumb .current {
    color: var(--color-primary);
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--color-bg-primary);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, var(--color-red-600), var(--color-red-800));
    border-radius: var(--radius-full);
    border: 2px solid var(--color-bg-primary);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, var(--color-red-500), var(--color-red-700));
}

/* Selection styling */
::selection {
    background: rgba(220, 38, 38, 0.4);
    color: white;
}

/* Link underline animation */
.animated-link {
    position: relative;
}

.animated-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient-primary);
    transition: width var(--transition-normal);
}

.animated-link:hover::after {
    width: 100%;
}

/* =============================================================================
   ⚡ PERFORMANCE OPTIMIZATIONS
   ============================================================================= */

/* GPU Acceleration for animated elements */
.forest-layer,
.particle,
.fog,
.hero-logo,
.card,
.btn,
.mirror-card,
.stat-card {
    will-change: transform, opacity;
    transform: translateZ(0);
    backface-visibility: hidden;
}

/* Reduce paint areas */
.forest-bg,
.vignette {
    contain: strict;
}

.card,
.mirror-card,
.stat-card {
    contain: layout style;
}

/* =============================================================================
   🔋 REDUCED MOTION - For users who prefer less animation
   ============================================================================= */

@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
        scroll-behavior: auto !important;
    }
    
    .forest-layer,
    .particle,
    .fog,
    .hero-logo {
        animation: none !important;
    }
    
    .forest-bg::before,
    .forest-bg::after {
        animation: none !important;
    }
    
    .vignette {
        display: none;
    }
}

/* =============================================================================
   💻 LOW-END DEVICE OPTIMIZATIONS
   ============================================================================= */

/* Detect low-end devices via update media query */
@media (update: slow) {
    .forest-layer,
    .particle,
    .fog {
        display: none !important;
    }
    
    .forest-bg::before,
    .forest-bg::after {
        display: none !important;
    }
    
    .card::before,
    .card::after,
    .btn::before,
    .mirror-card::before {
        display: none !important;
    }
}

/* Simplified mode for very low memory devices */
@media (prefers-reduced-data: reduce) {
    .forest-bg,
    .vignette,
    .particles {
        display: none !important;
    }
    
    body {
        background: var(--color-bg-primary) !important;
    }
}

/* =============================================================================
   📱 MOBILE PERFORMANCE OPTIMIZATIONS
   ============================================================================= */

@media (max-width: 768px) {
    /* Reduce particles on mobile */
    .particle:nth-child(n+7) {
        display: none;
    }
    
    /* Simplify forest animation */
    .forest-layer-2,
    .forest-layer-3 {
        display: none;
    }
    
    /* Reduce blur effects (expensive on mobile) */
    .fog {
        filter: none;
        opacity: 0.3;
    }
    
    /* Disable backdrop-filter on mobile (expensive) */
    .card,
    .lang-dropdown,
    .btn-secondary {
        backdrop-filter: none !important;
        -webkit-backdrop-filter: none !important;
    }
    
    /* Simplify shadows */
    .card:hover,
    .mirror-card:hover,
    .stat-card:hover {
        box-shadow: var(--shadow-md);
    }
}

/* =============================================================================
   🖥️ HIGH PERFORMANCE MODE (for capable devices)
   ============================================================================= */

@media (min-width: 1024px) and (prefers-reduced-motion: no-preference) {
    /* Enable smooth animations only on capable desktops */
    .hero-logo {
        will-change: transform, filter;
    }
    
    .card {
        will-change: transform, box-shadow;
    }
}

/* =============================================================================
   🎯 CRITICAL CSS LOADING INDICATOR
   ============================================================================= */

/* Hide content until CSS is fully loaded */
.js-loading {
    visibility: hidden;
}

.js-loaded {
    visibility: visible;
}

/* Simple loading state */
.loading-skeleton {
    background: linear-gradient(90deg, 
        var(--color-bg-secondary) 25%, 
        var(--color-bg-card) 50%, 
        var(--color-bg-secondary) 75%
    );
    background-size: 200% 100%;
    animation: skeleton-loading 1.5s infinite;
}

@keyframes skeleton-loading {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

/* =============================================================================
   🔧 UTILITY CLASSES FOR PERFORMANCE
   ============================================================================= */

/* Disable animations temporarily */
.no-animation *,
.no-animation *::before,
.no-animation *::after {
    animation: none !important;
    animation-duration: 0ms !important;
    transition: none !important;
    transition-duration: 0ms !important;
}

/* Low-end device mode - Keep basic forest, just simplify */
.low-end-device .particles {
    display: none !important;
}

.low-end-device .forest-bg::before,
.low-end-device .forest-bg::after,
.low-end-device .fog {
    animation: none !important;
}

.low-end-device .forest-layer {
    animation-duration: 120s !important; /* Slower = less CPU */
}

.low-end-device body {
    background: linear-gradient(180deg, #0a0a0a 0%, #1a0f0f 50%, #0a0a0a 100%) !important;
    background-attachment: fixed !important;
}

.low-end-device .card,
.low-end-device .btn,
.low-end-device .mirror-card {
    backdrop-filter: none !important;
    -webkit-backdrop-filter: none !important;
}

.low-end-device .card::before,
.low-end-device .card::after,
.low-end-device .btn::before,
.low-end-device .mirror-card::before {
    display: none !important;
}

/* Simple shadows for low-end */
.low-end-device .card,
.low-end-device .mirror-card,
.low-end-device .stat-card {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3) !important;
}

/* Simplified hover for low-end */
.low-end-device .card:hover,
.low-end-device .mirror-card:hover {
    transform: none !important;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4) !important;
}

/* Force GPU rendering */
.gpu-accelerated {
    transform: translateZ(0);
    will-change: transform;
}

/* Lazy load images */
img[loading="lazy"] {
    opacity: 0;
    transition: opacity 0.3s;
}

img[loading="lazy"].loaded,
img[loading="lazy"][src] {
    opacity: 1;
}

/* Content visibility for off-screen elements */
.section {
    content-visibility: auto;
    contain-intrinsic-size: auto 500px;
}

.footer {
    content-visibility: auto;
    contain-intrinsic-size: auto 300px;
}

/* =============================================================================
   🌞 LIGHT THEME - Flugsvamp 4.0 "DAY FOREST" Mode
   Complete light theme with morning forest aesthetic
   ============================================================================= */

[data-theme="light"] {
    /* Background - Soft cream/white with warm tones */
    --color-bg-primary: #f8f6f2;
    --color-bg-secondary: #f0ede8;
    --color-bg-card: rgba(255, 255, 255, 0.98);
    --color-bg-card-hover: rgba(255, 255, 255, 1);
    
    /* Text - Dark colors for readability */
    --color-text-primary: #1a1a1a;
    --color-text-secondary: #3a3a3a;
    --color-text-muted: #5a5a5a;
    
    /* Borders - Soft natural borders */
    --color-border: rgba(0, 0, 0, 0.1);
    --color-border-hover: rgba(196, 30, 30, 0.5);
    
    /* Primary colors - slightly darker red for contrast */
    --color-primary: #b91c1c;
    --color-primary-light: #dc2626;
    --color-primary-dark: #991b1b;
    
    /* Gradients for light mode */
    --gradient-primary: linear-gradient(135deg, #b91c1c, #991b1b);
    --gradient-card: linear-gradient(180deg, rgba(255,255,255,1), rgba(255,255,255,0.9));
    --gradient-aurora: linear-gradient(135deg, rgba(34,197,94,0.2), rgba(22,163,74,0.15), rgba(250,204,21,0.1));
    
    /* Shadows - Softer for light mode */
    --shadow-sm: 0 1px 3px rgba(0, 0, 0, 0.1);
    --shadow-md: 0 4px 15px rgba(0, 0, 0, 0.12);
    --shadow-lg: 0 10px 40px rgba(0, 0, 0, 0.15);
    --shadow-glow: 0 0 40px rgba(34, 197, 94, 0.3);
    --shadow-glow-purple: 0 0 30px rgba(250, 204, 21, 0.3);
    --shadow-glow-multi: 0 0 30px rgba(34, 197, 94, 0.2), 0 0 60px rgba(250, 204, 21, 0.15);
}

/* =========================================
   LIGHT MODE - BASE ELEMENTS
   ========================================= */

/* Body - Main light background */
[data-theme="light"] body {
    background: linear-gradient(180deg, 
        #e8f5e9 0%,      /* Light green top */
        #f1f8e9 25%,     /* Lighter */
        #fffde7 50%,     /* Warm cream center */
        #f1f8e9 75%,     /* Back to light green */
        #e8f5e9 100%     /* Light green bottom */
    ) !important;
    background-attachment: fixed !important;
    color: #1a1a1a !important;
}

/* All text elements - Dark text */
[data-theme="light"] h1,
[data-theme="light"] h2,
[data-theme="light"] h3,
[data-theme="light"] h4,
[data-theme="light"] h5,
[data-theme="light"] h6 {
    color: #1a1a1a !important;
}

[data-theme="light"] p {
    color: #2a2a2a !important;
}

[data-theme="light"] span,
[data-theme="light"] div,
[data-theme="light"] li {
    color: inherit;
}

[data-theme="light"] a {
    color: #b91c1c;
}

[data-theme="light"] a:hover {
    color: #991b1b;
}

/* Container */
[data-theme="light"] .container {
    color: #1a1a1a;
}

/* Page header */
[data-theme="light"] .page-header {
    color: #1a1a1a;
}

[data-theme="light"] .page-title {
    color: #1a1a1a !important;
}

[data-theme="light"] .page-description {
    color: #3a3a3a !important;
}

/* =========================================
   LIGHT MODE - DAY FOREST ANIMATION
   ========================================= */

/* Forest background - Bright and sunny */
[data-theme="light"] .forest-bg {
    opacity: 0.7;
}

/* Aurora - Sunny golden glow */
[data-theme="light"] .forest-bg::before {
    background: 
        radial-gradient(ellipse at 30% 20%, rgba(250, 204, 21, 0.25) 0%, transparent 50%),
        radial-gradient(ellipse at 70% 30%, rgba(251, 191, 36, 0.2) 0%, transparent 45%),
        radial-gradient(ellipse at 50% 80%, rgba(34, 197, 94, 0.15) 0%, transparent 50%),
        linear-gradient(180deg, rgba(250, 250, 210, 0.3) 0%, transparent 50%);
    animation: auroraShift 25s ease-in-out infinite;
}

/* Sunlight rays */
[data-theme="light"] .forest-bg::after {
    background: 
        radial-gradient(circle at 80% 10%, rgba(255, 255, 200, 0.4) 0%, transparent 40%),
        radial-gradient(circle at 20% 30%, rgba(250, 204, 21, 0.15) 0%, transparent 35%),
        radial-gradient(circle at 60% 60%, rgba(34, 197, 94, 0.1) 0%, transparent 50%);
}

/* Forest layers - Bright green trees */
[data-theme="light"] .forest-layer {
    filter: brightness(1.3) saturate(1.1);
}

[data-theme="light"] .forest-layer-1 {
    opacity: 0.5 !important;
}

[data-theme="light"] .forest-layer-1 path {
    fill: #4ade80 !important;
}

[data-theme="light"] .forest-layer-2 {
    opacity: 0.35 !important;
}

[data-theme="light"] .forest-layer-2 path {
    fill: #22c55e !important;
}

[data-theme="light"] .forest-layer-3 {
    opacity: 0.25 !important;
}

[data-theme="light"] .forest-layer-3 path {
    fill: #16a34a !important;
}

/* Vignette - Soft golden edges */
[data-theme="light"] .vignette {
    background: radial-gradient(
        ellipse at center, 
        transparent 50%, 
        rgba(250, 204, 21, 0.08) 80%,
        rgba(34, 197, 94, 0.1) 100%
    );
}

/* Fog - Morning mist with golden tint */
[data-theme="light"] .fog {
    background: 
        radial-gradient(ellipse at 20% 80%, rgba(255, 255, 255, 0.5) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 60%, rgba(250, 250, 210, 0.4) 0%, transparent 50%),
        radial-gradient(ellipse at 50% 90%, rgba(255, 255, 255, 0.3) 0%, transparent 40%);
    animation: fogDrift 30s ease-in-out infinite;
}

/* Particles - Golden sunlight specks */
[data-theme="light"] .particle {
    width: 10px !important;
    height: 10px !important;
    background: radial-gradient(circle, 
        rgba(255, 215, 0, 1) 0%, 
        rgba(250, 204, 21, 0.8) 30%,
        rgba(251, 191, 36, 0.4) 60%, 
        transparent 80%
    ) !important;
    box-shadow: 
        0 0 15px rgba(255, 215, 0, 0.8),
        0 0 30px rgba(250, 204, 21, 0.5),
        0 0 45px rgba(251, 191, 36, 0.3) !important;
}

[data-theme="light"] .particle:nth-child(odd) {
    background: radial-gradient(circle, 
        rgba(255, 255, 255, 1) 0%, 
        rgba(255, 255, 200, 0.8) 40%,
        transparent 70%
    ) !important;
    box-shadow: 
        0 0 10px rgba(255, 255, 255, 0.9),
        0 0 20px rgba(255, 255, 200, 0.6) !important;
}

[data-theme="light"] .particle:nth-child(3n) {
    background: radial-gradient(circle, 
        rgba(134, 239, 172, 0.9) 0%, 
        rgba(74, 222, 128, 0.5) 50%,
        transparent 70%
    ) !important;
    box-shadow: 
        0 0 12px rgba(134, 239, 172, 0.7),
        0 0 25px rgba(74, 222, 128, 0.4) !important;
}

/* =========================================
   LIGHT MODE - HEADER & NAVIGATION
   ========================================= */

[data-theme="light"] .header {
    background: rgba(255, 255, 255, 0.95) !important;
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 2px 20px rgba(34, 197, 94, 0.1);
}

[data-theme="light"] .logo-text {
    color: #1a1a1a !important;
}

[data-theme="light"] .logo-text span {
    color: #b91c1c !important;
}

[data-theme="light"] .logo-icon {
    filter: drop-shadow(0 2px 10px rgba(220, 38, 38, 0.4));
}

[data-theme="light"] .hero-logo {
    filter: drop-shadow(0 4px 25px rgba(220, 38, 38, 0.35));
}

[data-theme="light"] .nav-list a {
    color: #3a3a3a !important;
}

[data-theme="light"] .nav-list a:hover,
[data-theme="light"] .nav-list a.active {
    color: #b91c1c !important;
    background: rgba(185, 28, 28, 0.1) !important;
}

/* =========================================
   LIGHT MODE - CARDS
   ========================================= */

[data-theme="light"] .card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.08), 0 0 40px rgba(34, 197, 94, 0.05) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .card * {
    color: inherit;
}

[data-theme="light"] .card h1,
[data-theme="light"] .card h2,
[data-theme="light"] .card h3,
[data-theme="light"] .card h4 {
    color: #1a1a1a !important;
}

[data-theme="light"] .card p {
    color: #3a3a3a !important;
}

[data-theme="light"] .card::before {
    background: linear-gradient(
        135deg,
        rgba(34, 197, 94, 0.05) 0%,
        transparent 50%,
        rgba(250, 204, 21, 0.03) 100%
    ) !important;
}

[data-theme="light"] .card:hover {
    border-color: rgba(185, 28, 28, 0.3) !important;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12), 0 0 50px rgba(34, 197, 94, 0.1) !important;
}

/* Mirror cards */
[data-theme="light"] .mirror-card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .mirror-card:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: rgba(185, 28, 28, 0.4) !important;
}

[data-theme="light"] .mirror-name {
    color: #1a1a1a !important;
}

[data-theme="light"] .mirror-url {
    color: #b91c1c !important;
}

[data-theme="light"] .mirror-meta {
    color: #5a5a5a !important;
}

/* Stat cards */
[data-theme="light"] .stat-card {
    background: linear-gradient(135deg, rgba(255,255,255,0.98), rgba(232,245,233,0.9)) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .stat-value {
    background: linear-gradient(135deg, #b91c1c, #dc2626) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
}

[data-theme="light"] .stat-label {
    color: #3a3a3a !important;
}

/* =========================================
   LIGHT MODE - BUTTONS
   ========================================= */

[data-theme="light"] .btn-primary {
    background: linear-gradient(135deg, #b91c1c, #991b1b) !important;
    box-shadow: 0 4px 20px rgba(185, 28, 28, 0.35) !important;
    color: #fff !important;
}

[data-theme="light"] .btn-primary:hover {
    box-shadow: 0 6px 25px rgba(185, 28, 28, 0.45) !important;
}

[data-theme="light"] .btn-secondary {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 2px solid rgba(34, 197, 94, 0.3) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .btn-secondary:hover {
    background: rgba(255, 255, 255, 1) !important;
    border-color: #b91c1c !important;
    color: #b91c1c !important;
}

[data-theme="light"] .btn-outline {
    border-color: rgba(0, 0, 0, 0.2) !important;
    color: #3a3a3a !important;
    background: transparent !important;
}

[data-theme="light"] .btn-outline:hover {
    border-color: #b91c1c !important;
    color: #b91c1c !important;
    background: rgba(185, 28, 28, 0.08) !important;
}

/* =========================================
   LIGHT MODE - HERO SECTION
   ========================================= */

[data-theme="light"] .hero-title {
    background: linear-gradient(135deg, #1a1a1a 0%, #16a34a 50%, #b91c1c 100%) !important;
    -webkit-background-clip: text !important;
    -webkit-text-fill-color: transparent !important;
    background-clip: text !important;
    filter: drop-shadow(0 2px 10px rgba(0, 0, 0, 0.1)) !important;
}

[data-theme="light"] .hero-subtitle {
    color: #b91c1c !important;
}

[data-theme="light"] .hero-description {
    color: #3a3a3a !important;
}

[data-theme="light"] .hero-content {
    color: #1a1a1a;
}

/* Tip card */
[data-theme="light"] .tip-card {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(250, 204, 21, 0.08)) !important;
    border: 1px solid rgba(34, 197, 94, 0.25) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .tip-card * {
    color: #1a1a1a !important;
}

[data-theme="light"] .tip-header {
    color: #16a34a !important;
}

/* =========================================
   LIGHT MODE - FOOTER
   ========================================= */

[data-theme="light"] .footer {
    background: linear-gradient(180deg, rgba(232, 245, 233, 0.5) 0%, rgba(232, 245, 233, 0.8) 100%) !important;
    border-top: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .footer * {
    color: #3a3a3a;
}

[data-theme="light"] .footer h4 {
    color: #1a1a1a !important;
}

[data-theme="light"] .footer a {
    color: #3a3a3a !important;
}

[data-theme="light"] .footer a:hover {
    color: #b91c1c !important;
}

[data-theme="light"] .footer-bottom {
    border-top: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #5a5a5a !important;
}

/* =========================================
   LIGHT MODE - LANGUAGE SELECTOR
   ========================================= */

[data-theme="light"] .lang-btn {
    background: rgba(255, 255, 255, 0.95) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .lang-btn:hover {
    border-color: rgba(185, 28, 28, 0.3) !important;
}

[data-theme="light"] .lang-dropdown {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.15) !important;
}

[data-theme="light"] .lang-dropdown a {
    color: #3a3a3a !important;
}

[data-theme="light"] .lang-dropdown a:hover,
[data-theme="light"] .lang-dropdown a.active {
    background: rgba(34, 197, 94, 0.1) !important;
    color: #16a34a !important;
}

/* =========================================
   LIGHT MODE - FORMS
   ========================================= */

[data-theme="light"] input,
[data-theme="light"] textarea,
[data-theme="light"] select {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(34, 197, 94, 0.2) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] input::placeholder,
[data-theme="light"] textarea::placeholder {
    color: #888 !important;
}

[data-theme="light"] input:focus,
[data-theme="light"] textarea:focus,
[data-theme="light"] select:focus {
    border-color: #b91c1c !important;
    box-shadow: 0 0 0 3px rgba(185, 28, 28, 0.15) !important;
}

/* =========================================
   LIGHT MODE - ALERTS
   ========================================= */

[data-theme="light"] .alert-warning {
    background: rgba(250, 204, 21, 0.15) !important;
    border: 1px solid rgba(250, 204, 21, 0.4) !important;
    color: #854d0e !important;
}

[data-theme="light"] .alert-success {
    background: rgba(34, 197, 94, 0.15) !important;
    border: 1px solid rgba(34, 197, 94, 0.4) !important;
    color: #166534 !important;
}

[data-theme="light"] .alert-error {
    background: rgba(220, 38, 38, 0.1) !important;
    border: 1px solid rgba(220, 38, 38, 0.3) !important;
    color: #991b1b !important;
}

/* =========================================
   LIGHT MODE - CODE BLOCKS
   ========================================= */

[data-theme="light"] code,
[data-theme="light"] pre {
    background: rgba(34, 197, 94, 0.08) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] pre {
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
}

/* =========================================
   LIGHT MODE - SCROLLBAR
   ========================================= */

[data-theme="light"]::-webkit-scrollbar-track {
    background: #f0ede8 !important;
}

[data-theme="light"]::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #22c55e, #16a34a) !important;
}

[data-theme="light"]::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #16a34a, #15803d) !important;
}

/* =========================================
   LIGHT MODE - SELECTION
   ========================================= */

[data-theme="light"] ::selection {
    background: rgba(34, 197, 94, 0.3) !important;
    color: #1a1a1a !important;
}

/* =========================================
   LIGHT MODE - GUIDE CARDS
   ========================================= */

[data-theme="light"] .guide-card {
    background: rgba(255, 255, 255, 0.98) !important;
    border: 1px solid rgba(34, 197, 94, 0.15) !important;
    color: #1a1a1a !important;
}

[data-theme="light"] .guide-card * {
    color: inherit;
}

[data-theme="light"] .guide-title {
    color: #1a1a1a !important;
}

[data-theme="light"] .guide-description {
    color: #3a3a3a !important;
}

[data-theme="light"] .guide-card:hover {
    border-color: rgba(185, 28, 28, 0.3) !important;
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.12) !important;
}

/* =========================================
   LIGHT MODE - DIFFICULTY BADGES
   ========================================= */

[data-theme="light"] .difficulty-badge {
    border: 1px solid rgba(34, 197, 94, 0.3) !important;
    color: #166534 !important;
}

/* =========================================
   LIGHT MODE - BREADCRUMB
   ========================================= */

[data-theme="light"] .breadcrumb {
    color: #5a5a5a !important;
}

[data-theme="light"] .breadcrumb a {
    color: #5a5a5a !important;
}

[data-theme="light"] .breadcrumb a:hover {
    color: #b91c1c !important;
}

[data-theme="light"] .breadcrumb .current {
    color: #b91c1c !important;
}

/* =========================================
   LIGHT MODE - SECTION TITLES
   ========================================= */

[data-theme="light"] .section h2 {
    color: #1a1a1a !important;
}

[data-theme="light"] .section p {
    color: #3a3a3a !important;
}

/* =========================================
   LIGHT MODE - FEATURES GRID
   ========================================= */

[data-theme="light"] .features-grid .card-icon {
    color: #16a34a !important;
}

[data-theme="light"] .features-grid h4 {
    color: #1a1a1a !important;
}

[data-theme="light"] .features-grid .card-description {
    color: #3a3a3a !important;
}

/* =========================================
   LIGHT MODE - MISC ELEMENTS
   ========================================= */

[data-theme="light"] .text-center {
    color: inherit;
}

[data-theme="light"] strong {
    color: #1a1a1a;
}

[data-theme="light"] ul li {
    color: #2a2a2a;
}

/* =============================================================================
   🌓 THEME TOGGLE BUTTON
   ============================================================================= */

.theme-toggle {
    position: fixed;
    bottom: 24px;
    right: 24px;
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: none;
    cursor: pointer;
    z-index: 9999;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    transition: all var(--transition-normal);
    box-shadow: var(--shadow-lg);
}

/* Dark theme toggle (shows sun icon) */
.theme-toggle {
    background: linear-gradient(135deg, #1a1a1a, #2a2a2a);
    border: 2px solid rgba(255, 255, 255, 0.1);
    color: #facc15;
}

.theme-toggle:hover {
    transform: scale(1.1) rotate(15deg);
    box-shadow: var(--shadow-glow);
}

/* Light theme toggle (shows moon icon) */
[data-theme="light"] .theme-toggle {
    background: linear-gradient(135deg, #ffffff, #f5f5f5);
    border: 2px solid rgba(0, 0, 0, 0.1);
    color: #6366f1;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .theme-toggle:hover {
    transform: scale(1.1) rotate(-15deg);
    box-shadow: 0 8px 30px rgba(99, 102, 241, 0.3);
}

/* Theme toggle icon animation */
.theme-toggle .icon-sun,
.theme-toggle .icon-moon {
    position: absolute;
    transition: all var(--transition-normal);
}

.theme-toggle .icon-sun {
    opacity: 1;
    transform: rotate(0deg);
}

.theme-toggle .icon-moon {
    opacity: 0;
    transform: rotate(-90deg);
}

[data-theme="light"] .theme-toggle .icon-sun {
    opacity: 0;
    transform: rotate(90deg);
}

[data-theme="light"] .theme-toggle .icon-moon {
    opacity: 1;
    transform: rotate(0deg);
}

/* Mobile positioning */
@media (max-width: 768px) {
    .theme-toggle {
        bottom: 16px;
        right: 16px;
        width: 48px;
        height: 48px;
        font-size: 1.25rem;
    }
}

/* =============================================================================
   🎨 LUCIDE ICONS - Modern SVG Icon Styles
   ============================================================================= */

/* Base icon styles */
.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 1.25em;
    height: 1.25em;
    vertical-align: middle;
    stroke: currentColor;
    stroke-width: 2;
    stroke-linecap: round;
    stroke-linejoin: round;
    fill: none;
}

.icon-sm {
    width: 1em;
    height: 1em;
}

.icon-lg {
    width: 1.5em;
    height: 1.5em;
}

.icon-xl {
    width: 2em;
    height: 2em;
}

.icon-2xl {
    width: 2.5em;
    height: 2.5em;
}

.icon-3xl {
    width: 3em;
    height: 3em;
}

/* Card icons - Large with glow effect */
.card-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 60px;
    height: 60px;
    margin-bottom: var(--space-md);
    border-radius: var(--radius-lg);
    background: linear-gradient(135deg, rgba(220, 38, 38, 0.15), rgba(147, 51, 234, 0.1));
    color: var(--color-primary);
    font-size: 1.75rem;
}

.card-icon svg,
.card-icon [data-lucide] {
    width: 32px;
    height: 32px;
    stroke: currentColor;
    filter: drop-shadow(0 0 8px currentColor);
}

/* Feature icons with animation */
.feature-icon {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 48px;
    height: 48px;
    border-radius: var(--radius-md);
    background: var(--gradient-primary);
    color: #fff;
    margin-bottom: var(--space-sm);
    transition: transform var(--transition-normal), box-shadow var(--transition-normal);
}

.feature-icon svg,
.feature-icon [data-lucide] {
    width: 24px;
    height: 24px;
    stroke: currentColor;
}

.feature-icon:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: var(--shadow-glow);
}

/* Status icons */
.status-icon {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.status-icon.online {
    color: var(--color-forest-500);
}

.status-icon.offline {
    color: var(--color-red-500);
}

.status-icon.warning {
    color: var(--color-psychedelic-yellow);
}

/* Icon with text */
.icon-text {
    display: inline-flex;
    align-items: center;
    gap: var(--space-xs);
}

.icon-text svg,
.icon-text [data-lucide] {
    flex-shrink: 0;
}

/* Animated icons */
.icon-pulse {
    animation: iconPulse 2s ease-in-out infinite;
}

@keyframes iconPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.icon-spin {
    animation: iconSpin 2s linear infinite;
}

@keyframes iconSpin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.icon-bounce {
    animation: iconBounce 1s ease-in-out infinite;
}

@keyframes iconBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-5px); }
}

/* Light mode icon adjustments */
[data-theme="light"] .card-icon {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.15), rgba(250, 204, 21, 0.1));
    color: var(--color-forest-600);
}

[data-theme="light"] .feature-icon {
    background: linear-gradient(135deg, var(--color-forest-500), var(--color-forest-600));
}

/* Mirror status icons */
.mirror-status-icon {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    display: inline-block;
    position: relative;
}

.mirror-status-icon.online {
    background: var(--color-forest-500);
    box-shadow: 0 0 10px var(--color-forest-500);
}

.mirror-status-icon.online::after {
    content: '';
    position: absolute;
    top: -3px;
    left: -3px;
    right: -3px;
    bottom: -3px;
    border-radius: 50%;
    border: 2px solid var(--color-forest-500);
    animation: statusPing 1.5s ease-out infinite;
    opacity: 0;
}

@keyframes statusPing {
    0% { transform: scale(1); opacity: 0.8; }
    100% { transform: scale(1.5); opacity: 0; }
}

/* =============================================================================
   SEO CONTENT STYLING
   Optimized for keyword-rich content sections
   ============================================================================= */

.seo-intro,
.seo-card,
.seo-footer {
    background: linear-gradient(135deg, var(--color-bg-secondary) 0%, var(--color-bg-tertiary) 100%);
    border: 1px solid var(--color-border);
    border-radius: var(--radius-lg);
    padding: var(--space-xl);
}

.seo-intro h2,
.seo-card h2,
.seo-footer h2 {
    color: var(--color-primary);
    margin-bottom: var(--space-md);
    font-size: 1.4rem;
}

.seo-intro h3,
.seo-card h3,
.seo-footer h3 {
    color: var(--color-text);
    margin-top: var(--space-lg);
    margin-bottom: var(--space-sm);
    font-size: 1.1rem;
}

.seo-intro p,
.seo-card p,
.seo-footer p {
    color: var(--color-text-secondary);
    line-height: 1.7;
}

/* Keyword Tags */
.keyword-tags {
    display: flex;
    flex-wrap: wrap;
    gap: var(--space-xs);
    margin-top: var(--space-lg);
    padding-top: var(--space-md);
    border-top: 1px solid var(--color-border);
}

.keyword-tags .tag,
.tag {
    background: linear-gradient(135deg, var(--color-bg-tertiary), var(--color-bg-secondary));
    color: var(--color-text-muted);
    padding: 6px 14px;
    border-radius: 20px;
    font-size: 0.8rem;
    border: 1px solid var(--color-border);
    transition: all var(--transition-normal);
}

.keyword-tags .tag:hover,
.tag:hover {
    background: linear-gradient(135deg, var(--color-red-600), var(--color-red-700));
    color: white;
    border-color: var(--color-red-600);
}

/* Feature List */
.feature-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.feature-list li {
    padding: var(--space-sm) 0;
    border-bottom: 1px solid var(--color-border);
}

.feature-list li:last-child {
    border-bottom: none;
}

/* FAQ List in SEO content */
.faq-list {
    list-style: none;
    padding: 0;
    margin: var(--space-md) 0;
}

.faq-list li {
    padding: var(--space-sm) 0;
    border-left: 3px solid var(--color-primary);
    padding-left: var(--space-md);
    margin-bottom: var(--space-sm);
}

.faq-list li strong {
    color: var(--color-text);
}

/* Status Banner */
.status-banner {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1) 0%, var(--color-bg-tertiary) 100%);
    border: 1px solid var(--color-forest-500);
    border-radius: var(--radius-lg);
    padding: var(--space-lg);
    margin-bottom: var(--space-xl);
}

.status-header {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-sm);
    flex-wrap: wrap;
}

.status-indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.status-indicator.online {
    background: var(--color-forest-500);
    box-shadow: 0 0 10px var(--color-forest-500);
}

.status-indicator.offline {
    background: var(--color-red-500);
    box-shadow: 0 0 10px var(--color-red-500);
}

.status-time {
    margin-left: auto;
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

.status-text {
    color: var(--color-text-secondary);
    font-size: 0.95rem;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

/* SEO Footer */
.seo-footer {
    margin-top: var(--space-xxl);
    padding-top: var(--space-xl);
    border-top: 1px solid var(--color-border);
}

/* FAQ Grid on index page */
.faq-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: var(--space-md);
}

.faq-item.card {
    transition: transform var(--transition-normal);
}

.faq-item.card:hover {
    transform: translateY(-3px);
}

.faq-item h3 {
    font-size: 1rem;
    margin-bottom: var(--space-sm);
    color: var(--color-primary);
}

.faq-item p {
    font-size: 0.9rem;
    color: var(--color-text-muted);
}

/* Responsive adjustments for SEO content */
@media (max-width: 768px) {
    .seo-intro,
    .seo-card,
    .seo-footer {
        padding: var(--space-md);
    }
    
    .seo-intro h2,
    .seo-card h2,
    .seo-footer h2 {
        font-size: 1.2rem;
    }
    
    .keyword-tags {
        justify-content: center;
    }
    
    .status-header {
        justify-content: center;
    }
    
    .status-time {
        margin-left: 0;
        width: 100%;
        text-align: center;
        margin-top: var(--space-xs);
    }
}

/* =============================================================================
   MUSHROOM-THEMED BLUR PROTECTION FOR MIRROR LINKS
   Flugsvamp 4.0 - Psychedelic Forest Style
   ============================================================================= */

/* Grid for protected mirror cards */
.mirrors-grid-protected {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: var(--space-lg);
    margin-top: var(--space-lg);
}

.mirrors-grid-protected.full-width {
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
}

/* Protected mirror card container */
.mirror-card-protected {
    position: relative;
    background: linear-gradient(
        145deg,
        rgba(25, 25, 30, 0.95) 0%,
        rgba(15, 15, 18, 0.98) 100%
    );
    border: 1px solid var(--color-border);
    border-radius: var(--radius-xl);
    overflow: hidden;
    min-height: 220px;
    transition: all 0.4s ease;
}

.mirror-card-protected:hover {
    border-color: var(--color-red-500);
    box-shadow: 
        0 8px 32px rgba(220, 38, 38, 0.15),
        0 0 60px rgba(220, 38, 38, 0.05);
    transform: translateY(-4px);
}

/* Blurred content underneath */
.mirror-blur-content {
    padding: var(--space-lg);
    filter: blur(8px);
    opacity: 0.5;
    pointer-events: none;
    user-select: none;
    transition: all 0.4s ease;
}

.mirror-card-protected:hover .mirror-blur-content {
    filter: blur(12px);
    opacity: 0.3;
}

.mirror-header-blur {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    margin-bottom: var(--space-md);
}

.mirror-status-dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    flex-shrink: 0;
}

.mirror-status-dot.online {
    background: var(--color-forest-500);
    box-shadow: 0 0 10px var(--color-forest-500);
}

.mirror-status-dot.slow {
    background: #f59e0b;
    box-shadow: 0 0 10px #f59e0b;
}

.mirror-status-dot.offline {
    background: var(--color-red-500);
    box-shadow: 0 0 10px var(--color-red-500);
}

.mirror-blur-content .mirror-name {
    font-weight: 600;
    color: var(--color-text);
}

.verified-badge {
    color: var(--color-forest-500);
    font-size: 0.9rem;
}

.mirror-url-blur {
    font-family: var(--font-mono);
    font-size: 0.85rem;
    color: var(--color-text-muted);
    word-break: break-all;
    margin-bottom: var(--space-md);
    padding: var(--space-sm);
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-md);
}

.mirror-meta-blur {
    display: flex;
    gap: var(--space-md);
    font-size: 0.85rem;
    color: var(--color-text-muted);
}

/* Mushroom-themed overlay */
.mushroom-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: var(--space-md);
    background: linear-gradient(
        160deg,
        rgba(15, 10, 20, 0.85) 0%,
        rgba(30, 15, 25, 0.9) 50%,
        rgba(15, 10, 20, 0.85) 100%
    );
    backdrop-filter: blur(4px);
    z-index: 10;
    transition: all 0.4s ease;
}

.mirror-card-protected:hover .mushroom-overlay {
    background: linear-gradient(
        160deg,
        rgba(20, 15, 25, 0.88) 0%,
        rgba(40, 20, 30, 0.92) 50%,
        rgba(20, 15, 25, 0.88) 100%
    );
}

/* Spore particle effect */
.spore-particles {
    position: absolute;
    inset: 0;
    overflow: hidden;
    pointer-events: none;
}

.spore-particles::before,
.spore-particles::after {
    content: '';
    position: absolute;
    width: 4px;
    height: 4px;
    background: rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    animation: floatSpore 8s ease-in-out infinite;
}

.spore-particles::before {
    top: 20%;
    left: 30%;
    animation-delay: 0s;
}

.spore-particles::after {
    top: 60%;
    right: 25%;
    animation-delay: 4s;
}

@keyframes floatSpore {
    0%, 100% {
        transform: translateY(0) scale(1);
        opacity: 0.3;
    }
    50% {
        transform: translateY(-30px) scale(1.5);
        opacity: 0.8;
    }
}

/* Mirror number badge */
.mirror-number-badge {
    position: absolute;
    top: var(--space-md);
    left: var(--space-md);
    padding: 6px 14px;
    background: linear-gradient(135deg, var(--color-red-600) 0%, var(--color-red-700) 100%);
    color: white;
    font-family: var(--font-mono);
    font-size: 0.8rem;
    font-weight: 700;
    border-radius: 20px;
    box-shadow: 0 4px 12px rgba(220, 38, 38, 0.3);
}

/* Mushroom-themed enter button */
.enter-mushroom-btn {
    display: flex;
    align-items: center;
    gap: var(--space-sm);
    padding: var(--space-md) var(--space-xl);
    background: linear-gradient(
        135deg,
        var(--color-red-500) 0%,
        var(--color-red-600) 50%,
        var(--color-red-700) 100%
    );
    color: white;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
    border-radius: 50px;
    box-shadow: 
        0 6px 24px rgba(220, 38, 38, 0.4),
        0 0 40px rgba(220, 38, 38, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.2);
    transition: all 0.4s ease;
    position: relative;
    overflow: hidden;
}

.enter-mushroom-btn::before {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.2),
        transparent
    );
    transform: translateX(-100%);
    transition: transform 0.6s ease;
}

.enter-mushroom-btn:hover::before {
    transform: translateX(100%);
}

.enter-mushroom-btn:hover {
    transform: scale(1.05);
    box-shadow: 
        0 8px 32px rgba(220, 38, 38, 0.5),
        0 0 60px rgba(220, 38, 38, 0.2),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.enter-mushroom-btn:active {
    transform: scale(0.98);
}

/* Mushroom icon styling */
.mushroom-icon {
    width: 28px;
    height: 28px;
    stroke: white;
    fill: none;
    transition: transform 0.4s ease;
}

.enter-mushroom-btn:hover .mushroom-icon {
    transform: rotate(-10deg) scale(1.1);
}

/* Arrow icon */
.arrow-icon {
    width: 20px;
    height: 20px;
    stroke: white;
    transition: transform 0.3s ease;
}

.enter-mushroom-btn:hover .arrow-icon {
    transform: translateX(4px);
}

/* Button status variants */
.enter-mushroom-btn.online {
    background: linear-gradient(
        135deg,
        var(--color-red-500) 0%,
        var(--color-red-600) 50%,
        var(--color-red-700) 100%
    );
}

.enter-mushroom-btn.slow {
    background: linear-gradient(
        135deg,
        #f59e0b 0%,
        #d97706 50%,
        #b45309 100%
    );
    box-shadow: 
        0 6px 24px rgba(245, 158, 11, 0.4),
        0 0 40px rgba(245, 158, 11, 0.1);
}

.enter-mushroom-btn.slow:hover {
    box-shadow: 
        0 8px 32px rgba(245, 158, 11, 0.5),
        0 0 60px rgba(245, 158, 11, 0.2);
}

.enter-mushroom-btn.offline {
    background: linear-gradient(
        135deg,
        #6b7280 0%,
        #4b5563 50%,
        #374151 100%
    );
    pointer-events: none;
    opacity: 0.6;
    box-shadow: none;
}

/* Status text below button */
.status-text {
    font-size: 0.85rem;
    font-weight: 500;
    color: var(--color-text-muted);
    display: flex;
    align-items: center;
    gap: var(--space-xs);
}

.status-text.online {
    color: var(--color-forest-500);
}

.status-text.slow {
    color: #f59e0b;
}

.status-text.offline {
    color: var(--color-red-400);
}

/* White spot decorations on cards */
.mirror-card-protected::before,
.mirror-card-protected::after {
    content: '';
    position: absolute;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 50%;
    pointer-events: none;
    z-index: 1;
}

.mirror-card-protected::before {
    width: 60px;
    height: 60px;
    top: -20px;
    right: 20%;
}

.mirror-card-protected::after {
    width: 40px;
    height: 40px;
    bottom: 30%;
    left: 10%;
}

/* Responsive adjustments */
@media (max-width: 768px) {
    .mirrors-grid-protected {
        grid-template-columns: 1fr;
    }
    
    .mirror-card-protected {
        min-height: 200px;
    }
    
    .enter-mushroom-btn {
        padding: var(--space-sm) var(--space-lg);
        font-size: 0.9rem;
    }
    
    .mushroom-icon {
        width: 24px;
        height: 24px;
    }
    
    .arrow-icon {
        width: 18px;
        height: 18px;
    }
}

@media (max-width: 480px) {
    .mirror-card-protected {
        min-height: 180px;
    }
    
    .enter-mushroom-btn {
        padding: 12px 20px;
        font-size: 0.8rem;
        gap: var(--space-xs);
    }
    
    .mushroom-icon {
        width: 20px;
        height: 20px;
    }
    
    .mirror-number-badge {
        font-size: 0.7rem;
        padding: 4px 10px;
    }
}

/* =============================================================================
   DARK THEME - MUSHROOM BUTTON STYLES
   Deep forest night aesthetic - magical bioluminescent mushroom
   ============================================================================= */

[data-theme="dark"] .mirror-card-protected {
    background: linear-gradient(
        145deg,
        rgba(20, 20, 25, 0.95) 0%,
        rgba(30, 15, 20, 0.98) 50%,
        rgba(15, 25, 20, 0.95) 100%
    );
    border: 2px solid rgba(239, 68, 68, 0.25);
    box-shadow: 
        0 4px 30px rgba(239, 68, 68, 0.1),
        0 0 60px rgba(139, 92, 246, 0.05),
        inset 0 0 30px rgba(0, 0, 0, 0.3);
}

[data-theme="dark"] .mirror-card-protected:hover {
    border-color: rgba(239, 68, 68, 0.5);
    box-shadow: 
        0 8px 50px rgba(239, 68, 68, 0.2),
        0 0 80px rgba(139, 92, 246, 0.1),
        inset 0 0 40px rgba(239, 68, 68, 0.05);
}

/* Dark theme bioluminescent spots */
[data-theme="dark"] .mirror-card-protected::before,
[data-theme="dark"] .mirror-card-protected::after {
    background: radial-gradient(
        circle,
        rgba(139, 92, 246, 0.15) 0%,
        rgba(139, 92, 246, 0.05) 50%,
        transparent 70%
    );
    animation: biolumGlow 4s ease-in-out infinite;
}

[data-theme="dark"] .mirror-card-protected::before {
    width: 100px;
    height: 100px;
    top: -30px;
    right: 20%;
    animation-delay: 0s;
}

[data-theme="dark"] .mirror-card-protected::after {
    width: 70px;
    height: 70px;
    bottom: 20px;
    left: 15%;
    animation-delay: 2s;
}

@keyframes biolumGlow {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.7; transform: scale(1.1); }
}

/* Dark theme overlay - mysterious forest mist */
[data-theme="dark"] .mushroom-overlay {
    background: linear-gradient(
        160deg,
        rgba(20, 10, 15, 0.88) 0%,
        rgba(50, 20, 30, 0.92) 30%,
        rgba(20, 40, 30, 0.90) 70%,
        rgba(15, 15, 25, 0.88) 100%
    );
    backdrop-filter: blur(12px);
}

[data-theme="dark"] .mirror-card-protected:hover .mushroom-overlay {
    background: linear-gradient(
        160deg,
        rgba(30, 15, 20, 0.92) 0%,
        rgba(70, 25, 35, 0.95) 30%,
        rgba(25, 50, 35, 0.93) 70%,
        rgba(20, 20, 30, 0.92) 100%
    );
}

/* Dark theme spore particles - glowing */
[data-theme="dark"] .spore-particles::before,
[data-theme="dark"] .spore-particles::after {
    background: rgba(139, 92, 246, 0.4);
    box-shadow: 
        0 0 15px rgba(139, 92, 246, 0.6),
        0 0 30px rgba(168, 85, 247, 0.3);
}

/* Dark theme MAIN BUTTON - Bioluminescent mushroom glow */
[data-theme="dark"] .enter-mushroom-btn {
    background: linear-gradient(
        135deg,
        #b91c1c 0%,
        #991b1b 30%,
        #7f1d1d 60%,
        #450a0a 100%
    );
    color: #fef2f2;
    box-shadow: 
        0 0 30px rgba(185, 28, 28, 0.4),
        0 0 60px rgba(139, 92, 246, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.5),
        inset 0 1px 0 rgba(255, 255, 255, 0.15),
        inset 0 -2px 0 rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(255, 255, 255, 0.1);
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .enter-mushroom-btn::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(139, 92, 246, 0.3),
        transparent
    );
}

[data-theme="dark"] .enter-mushroom-btn:hover {
    background: linear-gradient(
        135deg,
        #dc2626 0%,
        #b91c1c 30%,
        #991b1b 60%,
        #7f1d1d 100%
    );
    box-shadow: 
        0 0 50px rgba(220, 38, 38, 0.5),
        0 0 80px rgba(139, 92, 246, 0.25),
        0 12px 40px rgba(0, 0, 0, 0.6),
        inset 0 1px 0 rgba(255, 255, 255, 0.2);
    transform: scale(1.05) translateY(-3px);
    border-color: rgba(255, 255, 255, 0.2);
}

[data-theme="dark"] .enter-mushroom-btn:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 
        0 0 25px rgba(185, 28, 28, 0.3),
        0 4px 16px rgba(0, 0, 0, 0.4),
        inset 0 2px 8px rgba(0, 0, 0, 0.4);
}

/* Dark theme button status variants */
[data-theme="dark"] .enter-mushroom-btn.online {
    background: linear-gradient(
        135deg,
        #b91c1c 0%,
        #991b1b 30%,
        #7f1d1d 60%,
        #450a0a 100%
    );
}

[data-theme="dark"] .enter-mushroom-btn.slow {
    background: linear-gradient(
        135deg,
        #d97706 0%,
        #b45309 30%,
        #92400e 60%,
        #451a03 100%
    );
    box-shadow: 
        0 0 30px rgba(217, 119, 6, 0.4),
        0 0 60px rgba(245, 158, 11, 0.15),
        0 8px 32px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .enter-mushroom-btn.slow:hover {
    background: linear-gradient(
        135deg,
        #f59e0b 0%,
        #d97706 30%,
        #b45309 60%,
        #92400e 100%
    );
    box-shadow: 
        0 0 50px rgba(245, 158, 11, 0.5),
        0 0 80px rgba(251, 191, 36, 0.2),
        0 12px 40px rgba(0, 0, 0, 0.6);
}

[data-theme="dark"] .enter-mushroom-btn.offline {
    background: linear-gradient(
        135deg,
        #4b5563 0%,
        #374151 30%,
        #1f2937 60%,
        #111827 100%
    );
    border-color: rgba(255, 255, 255, 0.05);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.4),
        inset 0 0 20px rgba(0, 0, 0, 0.3);
    opacity: 0.6;
}

/* Dark theme mushroom icon - glowing effect */
[data-theme="dark"] .mushroom-icon {
    stroke: #fecaca;
    filter: drop-shadow(0 0 8px rgba(254, 202, 202, 0.5));
}

[data-theme="dark"] .enter-mushroom-btn:hover .mushroom-icon {
    filter: drop-shadow(0 0 12px rgba(254, 202, 202, 0.8));
}

/* Dark theme mirror badge - neon glow */
[data-theme="dark"] .mirror-number-badge {
    background: linear-gradient(135deg, #991b1b 0%, #7f1d1d 100%);
    box-shadow: 
        0 0 20px rgba(153, 27, 27, 0.5),
        0 4px 16px rgba(0, 0, 0, 0.4),
        0 0 0 2px rgba(139, 92, 246, 0.2);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* Dark theme text styles */
[data-theme="dark"] .status-text {
    color: rgba(255, 255, 255, 0.7);
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.5);
}

[data-theme="dark"] .status-text.online {
    color: #86efac;
    text-shadow: 0 0 10px rgba(134, 239, 172, 0.3);
}

[data-theme="dark"] .status-text.slow {
    color: #fcd34d;
    text-shadow: 0 0 10px rgba(252, 211, 77, 0.3);
}

[data-theme="dark"] .status-text.offline {
    color: #fca5a5;
    text-shadow: 0 0 10px rgba(252, 165, 165, 0.2);
}

/* Dark theme URL blur */
[data-theme="dark"] .mirror-url-blur {
    background: rgba(139, 92, 246, 0.1);
    color: rgba(255, 255, 255, 0.5);
    border: 1px solid rgba(139, 92, 246, 0.2);
}

/* Dark theme verified badge - glowing */
[data-theme="dark"] .verified-badge {
    color: #86efac;
    text-shadow: 0 0 8px rgba(134, 239, 172, 0.5);
}

/* =============================================================================
   LIGHT THEME - MUSHROOM BUTTON STYLES
   Fresh forest meadow aesthetic for light mode
   ============================================================================= */

[data-theme="light"] .mirror-card-protected {
    background: linear-gradient(
        145deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(248, 250, 252, 0.98) 100%
    );
    border: 2px solid rgba(220, 38, 38, 0.15);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.08),
        0 0 40px rgba(220, 38, 38, 0.03);
}

[data-theme="light"] .mirror-card-protected:hover {
    border-color: var(--color-red-400);
    box-shadow: 
        0 8px 40px rgba(220, 38, 38, 0.12),
        0 0 60px rgba(220, 38, 38, 0.05);
}

/* Light theme blurred content */
[data-theme="light"] .mirror-blur-content {
    filter: blur(6px);
    opacity: 0.7;
}

[data-theme="light"] .mirror-card-protected:hover .mirror-blur-content {
    filter: blur(10px);
    opacity: 0.4;
}

[data-theme="light"] .mirror-url-blur {
    background: rgba(0, 0, 0, 0.05);
    color: var(--color-metal-600);
}

/* Light theme overlay - sunny forest clearing */
[data-theme="light"] .mushroom-overlay {
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.92) 0%,
        rgba(254, 242, 242, 0.95) 30%,
        rgba(255, 251, 235, 0.93) 70%,
        rgba(255, 255, 255, 0.92) 100%
    );
    backdrop-filter: blur(8px);
}

[data-theme="light"] .mirror-card-protected:hover .mushroom-overlay {
    background: linear-gradient(
        160deg,
        rgba(255, 255, 255, 0.95) 0%,
        rgba(254, 226, 226, 0.96) 30%,
        rgba(255, 247, 237, 0.95) 70%,
        rgba(255, 255, 255, 0.95) 100%
    );
}

/* Light theme spore particles - golden/warm */
[data-theme="light"] .spore-particles::before,
[data-theme="light"] .spore-particles::after {
    background: rgba(220, 38, 38, 0.2);
    box-shadow: 0 0 10px rgba(220, 38, 38, 0.3);
}

/* Light theme mirror badge */
[data-theme="light"] .mirror-number-badge {
    background: linear-gradient(135deg, var(--color-red-500) 0%, var(--color-red-600) 100%);
    box-shadow: 
        0 4px 16px rgba(220, 38, 38, 0.25),
        0 0 0 3px rgba(255, 255, 255, 0.8);
}

/* Light theme MAIN BUTTON - Fresh forest mushroom style */
[data-theme="light"] .enter-mushroom-btn {
    background: linear-gradient(
        135deg,
        #dc2626 0%,
        #b91c1c 40%,
        #991b1b 100%
    );
    color: white;
    box-shadow: 
        0 6px 24px rgba(185, 28, 28, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.25),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
}

[data-theme="light"] .enter-mushroom-btn::before {
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.4),
        transparent
    );
}

[data-theme="light"] .enter-mushroom-btn:hover {
    background: linear-gradient(
        135deg,
        #ef4444 0%,
        #dc2626 40%,
        #b91c1c 100%
    );
    box-shadow: 
        0 8px 32px rgba(185, 28, 28, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.15),
        inset 0 2px 0 rgba(255, 255, 255, 0.3),
        inset 0 -2px 0 rgba(0, 0, 0, 0.1);
    transform: scale(1.05) translateY(-2px);
}

[data-theme="light"] .enter-mushroom-btn:active {
    transform: scale(0.98) translateY(0);
    box-shadow: 
        0 4px 16px rgba(185, 28, 28, 0.3),
        0 2px 6px rgba(0, 0, 0, 0.1),
        inset 0 2px 4px rgba(0, 0, 0, 0.1);
}

/* Light theme button status variants */
[data-theme="light"] .enter-mushroom-btn.online {
    background: linear-gradient(
        135deg,
        #dc2626 0%,
        #b91c1c 40%,
        #991b1b 100%
    );
}

[data-theme="light"] .enter-mushroom-btn.slow {
    background: linear-gradient(
        135deg,
        #f59e0b 0%,
        #d97706 40%,
        #b45309 100%
    );
    box-shadow: 
        0 6px 24px rgba(217, 119, 6, 0.35),
        0 2px 8px rgba(0, 0, 0, 0.1),
        inset 0 2px 0 rgba(255, 255, 255, 0.25);
}

[data-theme="light"] .enter-mushroom-btn.slow:hover {
    background: linear-gradient(
        135deg,
        #fbbf24 0%,
        #f59e0b 40%,
        #d97706 100%
    );
    box-shadow: 
        0 8px 32px rgba(217, 119, 6, 0.45),
        0 4px 12px rgba(0, 0, 0, 0.15);
}

[data-theme="light"] .enter-mushroom-btn.offline {
    background: linear-gradient(
        135deg,
        #9ca3af 0%,
        #6b7280 40%,
        #4b5563 100%
    );
    border-color: rgba(255, 255, 255, 0.2);
    opacity: 0.7;
}

/* Light theme mushroom icon - with cap dots */
[data-theme="light"] .mushroom-icon {
    stroke: white;
    filter: drop-shadow(0 1px 2px rgba(0, 0, 0, 0.2));
}

[data-theme="light"] .mushroom-icon circle {
    fill: white;
}

/* Light theme status text */
[data-theme="light"] .status-text {
    color: var(--color-metal-600);
    font-weight: 600;
}

[data-theme="light"] .status-text.online {
    color: var(--color-forest-600);
}

[data-theme="light"] .status-text.slow {
    color: #b45309;
}

[data-theme="light"] .status-text.offline {
    color: var(--color-red-500);
}

/* Light theme white spots decoration - more visible */
[data-theme="light"] .mirror-card-protected::before,
[data-theme="light"] .mirror-card-protected::after {
    background: rgba(220, 38, 38, 0.04);
    border: 1px solid rgba(220, 38, 38, 0.08);
}

/* Light theme verified badge */
[data-theme="light"] .verified-badge {
    color: var(--color-forest-600);
    font-weight: 700;
}

/* Additional light theme enhancements */
[data-theme="light"] .mirror-blur-content .mirror-name {
    color: var(--color-metal-800);
}

[data-theme="light"] .mirror-meta-blur {
    color: var(--color-metal-500);
}

/* Sunlight ray effect for light theme cards */
[data-theme="light"] .mirror-card-protected::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(
        circle at 30% 30%,
        rgba(255, 255, 200, 0.1) 0%,
        transparent 50%
    );
    pointer-events: none;
    z-index: 0;
}

