* {
            margin: 0;
            padding: 0;
            box-sizing: border-box;
        }

        body {
            font-family: 'Rajdhani', 'Noto Sans JP', sans-serif;
            background: #0a0a0a;
            color: #ffffff;
            overflow-x: hidden;
            line-height: 1.6;
        }

        /* Dynamic Background Effects */
        .bg-effects {
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            z-index: -1;
            pointer-events: none;
        }

        .sakura-petals {
            width: 100%;
            height: 100%;
            position: relative;
            overflow: hidden;
        }

        .petal {
            position: absolute;
            width: 8px;
            height: 8px;
            background: linear-gradient(45deg, #ff6b9d, #ffa8cc);
            border-radius: 50% 0 50% 0;
            animation: petalFall 8s infinite linear;
            opacity: 0.6;
        }

        @keyframes petalFall {
            0% {
                transform: translateY(-10vh) rotate(0deg);
                opacity: 0;
            }
            10% {
                opacity: 1;
            }
            90% {
                opacity: 1;
            }
            100% {
                transform: translateY(110vh) rotate(360deg);
                opacity: 0;
            }
        }

        .energy-grid {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background-image:
                linear-gradient(90deg, rgba(255, 107, 157, 0.1) 1px, transparent 1px),
                linear-gradient(0deg, rgba(255, 107, 157, 0.1) 1px, transparent 1px);
            background-size: 60px 60px;
            animation: gridPulse 6s ease-in-out infinite;
        }

        @keyframes gridPulse {
            0%, 100% { opacity: 0.2; }
            50% { opacity: 0.4; }
        }

        .ambient-aura {
            position: absolute;
            top: 30%;
            left: 50%;
            width: 1000px;
            height: 1000px;
            background: radial-gradient(circle, rgba(255, 107, 157, 0.15) 0%, transparent 70%);
            transform: translate(-50%, -50%);
            animation: auraFlow 10s ease-in-out infinite;
        }

        @keyframes auraFlow {
            0%, 100% {
                transform: translate(-50%, -50%) scale(1) rotate(0deg);
                opacity: 0.3;
            }
            50% {
                transform: translate(-50%, -50%) scale(1.3) rotate(180deg);
                opacity: 0.6;
            }
        }

        /* Header Navigation */
        .otaku-header {
            position: fixed;
            top: 0;
            width: 100%;
            z-index: 1000;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            border-bottom: 2px solid rgba(255, 107, 157, 0.3);
        }

        .header-container {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1rem 2rem;
            max-width: 1400px;
            margin: 0 auto;
        }

        .forge-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .logo-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ff6b9d, #c44569);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.5rem;
            color: white;
            box-shadow: 0 0 20px rgba(255, 107, 157, 0.5);
        }

        .logo-text {
            font-family: 'Orbitron', monospace;
            font-size: 1.8rem;
            font-weight: 900;
            background: linear-gradient(135deg, #ff6b9d, #ffffff);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-menu {
            display: flex;
            gap: 2rem;
            align-items: center;
        }

        .nav-link {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.25rem;
            padding: 0.75rem 1rem;
            color: #ffffff;
            text-decoration: none;
            border-radius: 12px;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .nav-link:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.2), transparent);
            transition: left 0.5s ease;
        }

        .nav-link:hover:before {
            left: 100%;
        }

        .nav-link:hover {
            background: rgba(255, 107, 157, 0.1);
            transform: translateY(-3px);
        }

        .nav-link.active {
            background: rgba(255, 107, 157, 0.2);
            border: 1px solid rgba(255, 107, 157, 0.4);
        }

        .nav-icon {
            font-size: 1.2rem;
            margin-bottom: 0.25rem;
        }

        .nav-text {
            font-size: 0.9rem;
            font-weight: 500;
        }

        .user-portal {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        /* Theme Toggle */
        .theme-selector {
            position: relative;
            display: flex;
            align-items: center;
            gap: 0.5rem;
        }

        .theme-toggle-btn {
            width: 40px;
            height: 40px;
            background: rgba(255, 107, 157, 0.1);
            border: 2px solid rgba(255, 107, 157, 0.3);
            border-radius: 50%;
            color: #ff6b9d;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .theme-toggle-btn:hover {
            background: rgba(255, 107, 157, 0.2);
            border-color: #ff6b9d;
            transform: rotate(180deg);
        }

        .theme-dropdown {
            position: absolute;
            top: 100%;
            right: 0;
            margin-top: 0.5rem;
            background: rgba(10, 10, 10, 0.95);
            backdrop-filter: blur(20px);
            border: 2px solid rgba(255, 107, 157, 0.3);
            border-radius: 16px;
            padding: 1rem;
            min-width: 280px;
            opacity: 0;
            visibility: hidden;
            transform: translateY(-10px);
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            z-index: 1000;
        }

        .theme-selector:hover .theme-dropdown {
            opacity: 1;
            visibility: visible;
            transform: translateY(0);
        }

        .theme-dropdown-title {
            font-family: 'Orbitron', monospace;
            font-size: 0.9rem;
            color: #ff6b9d;
            margin-bottom: 1rem;
            text-align: center;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .theme-options {
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 0.75rem;
        }

        .theme-option {
            display: flex;
            flex-direction: column;
            align-items: center;
            gap: 0.5rem;
            padding: 0.75rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid rgba(255, 255, 255, 0.1);
            border-radius: 12px;
            cursor: pointer;
            transition: all 0.3s ease;
            position: relative;
            overflow: hidden;
        }

        .theme-option:hover {
            background: rgba(255, 255, 255, 0.1);
            transform: translateY(-2px);
        }

        .theme-option.active {
            border-color: #ff6b9d;
            background: rgba(255, 107, 157, 0.1);
        }

        .theme-preview {
            width: 40px;
            height: 30px;
            border-radius: 8px;
            position: relative;
            overflow: hidden;
            border: 1px solid rgba(255, 255, 255, 0.2);
        }

        .theme-name {
            font-size: 0.8rem;
            font-weight: 500;
            text-align: center;
        }

        /* Theme Previews */
        .sakura-theme {
            background: linear-gradient(135deg, #ff6b9d, #ffa8cc, #c44569);
        }

        .cyberpunk-theme {
            background: linear-gradient(135deg, #00ff88, #00cc6a, #0099ff);
        }

        .midnight-theme {
            background: linear-gradient(135deg, #6a4c93, #9b5de5, #f15bb5);
        }

        .dragon-theme {
            background: linear-gradient(135deg, #ff4757, #ff3838, #ff6b35);
        }

        .ocean-theme {
            background: linear-gradient(135deg, #0099ff, #00ccff, #66d9ef);
        }

        .forest-theme {
            background: linear-gradient(135deg, #00ff88, #27ae60, #2ecc71);
        }

        /* CSS Variables for Dynamic Theming */
        :root {
            --primary-color: #ff6b9d;
            --primary-dark: #c44569;
            --primary-light: #ffa8cc;
            --accent-color: #ff6b9d;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(255, 107, 157, 0.3);
            --bg-secondary: rgba(255, 107, 157, 0.1);
        }

        /* Sakura Theme (Default) */
        [data-theme="sakura"] {
            --primary-color: #ff6b9d;
            --primary-dark: #c44569;
            --primary-light: #ffa8cc;
            --accent-color: #ff6b9d;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(255, 107, 157, 0.3);
            --bg-secondary: rgba(255, 107, 157, 0.1);
        }

        /* Cyberpunk Theme */
        [data-theme="cyberpunk"] {
            --primary-color: #00ff88;
            --primary-dark: #00cc6a;
            --primary-light: #66ffaa;
            --accent-color: #0099ff;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(0, 255, 136, 0.3);
            --bg-secondary: rgba(0, 255, 136, 0.1);
        }

        /* Midnight Theme */
        [data-theme="midnight"] {
            --primary-color: #9b5de5;
            --primary-dark: #6a4c93;
            --primary-light: #c77dff;
            --accent-color: #f15bb5;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(155, 93, 229, 0.3);
            --bg-secondary: rgba(155, 93, 229, 0.1);
        }

        /* Dragon Theme */
        [data-theme="dragon"] {
            --primary-color: #ff4757;
            --primary-dark: #ff3838;
            --primary-light: #ff6b35;
            --accent-color: #ffa502;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(255, 71, 87, 0.3);
            --bg-secondary: rgba(255, 71, 87, 0.1);
        }

        /* Ocean Theme */
        [data-theme="ocean"] {
            --primary-color: #0099ff;
            --primary-dark: #0066cc;
            --primary-light: #66d9ef;
            --accent-color: #00ccff;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(0, 153, 255, 0.3);
            --bg-secondary: rgba(0, 153, 255, 0.1);
        }

        /* Glass Neon Theme */
        [data-theme="glass-neon"] {
            --primary-color: #00ffff;
            --primary-dark: #0099cc;
            --primary-light: #66ffff;
            --accent-color: #ff00ff;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(0, 255, 255, 0.3);
            --bg-secondary: rgba(0, 255, 255, 0.1);
        }

        /* Vaporwave Theme */
        [data-theme="vaporwave"] {
            --primary-color: #ff00ff;
            --primary-dark: #cc00cc;
            --primary-light: #ff66ff;
            --accent-color: #00ffff;
            --bg-primary: #0a0a0a;
            --text-primary: #ffffff;
            --border-color: rgba(255, 0, 255, 0.3);
            --bg-secondary: rgba(255, 0, 255, 0.1);
        }

        /* Light Theme */
        [data-theme="light"] {
            --primary-color: #6366f1;
            --primary-dark: #4f46e5;
            --primary-light: #8b5cf6;
            --accent-color: #06b6d4;
            --bg-primary: #ffffff;
            --text-primary: #1f2937;
            --border-color: rgba(99, 102, 241, 0.2);
            --bg-secondary: rgba(99, 102, 241, 0.05);
        }

        /* Light Sakura Theme */
        [data-theme="light-sakura"] {
            --primary-color: #ec4899;
            --primary-dark: #db2777;
            --primary-light: #f472b6;
            --accent-color: #f97316;
            --bg-primary: #fef7f7;
            --text-primary: #374151;
            --border-color: rgba(236, 72, 153, 0.2);
            --bg-secondary: rgba(236, 72, 153, 0.08);
        }

        /* Mint Light Theme */
        [data-theme="mint-light"] {
            --primary-color: #10b981;
            --primary-dark: #059669;
            --primary-light: #34d399;
            --accent-color: #06b6d4;
            --bg-primary: #f0fdf4;
            --text-primary: #065f46;
            --border-color: rgba(16, 185, 129, 0.2);
            --bg-secondary: rgba(16, 185, 129, 0.08);
        }

        /* Lavender Light Theme */
        [data-theme="lavender-light"] {
            --primary-color: #8b5cf6;
            --primary-dark: #7c3aed;
            --primary-light: #a78bfa;
            --accent-color: #ec4899;
            --bg-primary: #faf5ff;
            --text-primary: #581c87;
            --border-color: rgba(139, 92, 246, 0.2);
            --bg-secondary: rgba(139, 92, 246, 0.08);
        }

        /* Sunset Light Theme */
        [data-theme="sunset-light"] {
            --primary-color: #f97316;
            --primary-dark: #ea580c;
            --primary-light: #fb923c;
            --accent-color: #ec4899;
            --bg-primary: #fffbf5;
            --text-primary: #9a3412;
            --border-color: rgba(249, 115, 22, 0.2);
            --bg-secondary: rgba(249, 115, 22, 0.08);
        }

        /* Theme Previews for Light Themes */
        .light-theme {
            background: linear-gradient(135deg, #6366f1, #8b5cf6, #06b6d4);
        }

        .light-sakura-theme {
            background: linear-gradient(135deg, #ec4899, #f472b6, #f97316);
        }

        .mint-light-theme {
            background: linear-gradient(135deg, #10b981, #34d399, #06b6d4);
        }

        .lavender-light-theme {
            background: linear-gradient(135deg, #8b5cf6, #a78bfa, #ec4899);
        }

        .sunset-light-theme {
            background: linear-gradient(135deg, #f97316, #fb923c, #ec4899);
        }

        /* Light Theme Specific Adjustments */
        [data-theme="light"],
        [data-theme="light-sakura"],
        [data-theme="mint-light"],
        [data-theme="lavender-light"],
        [data-theme="sunset-light"] {
            color: var(--text-primary);
        }

        /* Light theme header adjustments */
        [data-theme="light"] .otaku-header,
        [data-theme="light-sakura"] .otaku-header,
        [data-theme="mint-light"] .otaku-header,
        [data-theme="lavender-light"] .otaku-header,
        [data-theme="sunset-light"] .otaku-header {
            background: rgba(255, 255, 255, 0.95);
            border-bottom: 2px solid var(--border-color);
        }

        /* Light theme navigation adjustments */
        [data-theme="light"] .nav-link,
        [data-theme="light-sakura"] .nav-link,
        [data-theme="mint-light"] .nav-link,
        [data-theme="lavender-light"] .nav-link,
        [data-theme="sunset-light"] .nav-link {
            color: var(--text-primary);
        }

        [data-theme="light"] .nav-link:hover,
        [data-theme="light-sakura"] .nav-link:hover,
        [data-theme="mint-light"] .nav-link:hover,
        [data-theme="lavender-light"] .nav-link:hover,
        [data-theme="sunset-light"] .nav-link:hover {
            background: var(--bg-secondary);
            color: var(--primary-color);
        }

        /* Light theme button adjustments */
        [data-theme="light"] .power-btn,
        [data-theme="light-sakura"] .power-btn,
        [data-theme="mint-light"] .power-btn,
        [data-theme="lavender-light"] .power-btn,
        [data-theme="sunset-light"] .power-btn {
            background: var(--bg-secondary);
            color: var(--text-primary);
            border: 2px solid var(--border-color);
        }

        [data-theme="light"] .power-btn:hover,
        [data-theme="light-sakura"] .power-btn:hover,
        [data-theme="mint-light"] .power-btn:hover,
        [data-theme="lavender-light"] .power-btn:hover,
        [data-theme="sunset-light"] .power-btn:hover {
            background: rgba(var(--primary-color), 0.1);
            border-color: var(--primary-color);
            color: var(--primary-color);
        }

        /* Light theme footer adjustments */
        [data-theme="light"] .footer-realm,
        [data-theme="light-sakura"] .footer-realm,
        [data-theme="mint-light"] .footer-realm,
        [data-theme="lavender-light"] .footer-realm,
        [data-theme="sunset-light"] .footer-realm {
            background: linear-gradient(135deg, rgba(255, 255, 255, 0.98), rgba(248, 250, 252, 0.95));
            color: var(--text-primary);
        }

        [data-theme="light"] .footer-link,
        [data-theme="light-sakura"] .footer-link,
        [data-theme="mint-light"] .footer-link,
        [data-theme="lavender-light"] .footer-link,
        [data-theme="sunset-light"] .footer-link {
            color: var(--text-primary);
            opacity: 0.7;
        }

        [data-theme="light"] .footer-link:hover,
        [data-theme="light-sakura"] .footer-link:hover,
        [data-theme="mint-light"] .footer-link:hover,
        [data-theme="lavender-light"] .footer-link:hover,
        [data-theme="sunset-light"] .footer-link:hover {
            color: var(--primary-color);
            opacity: 1;
        }

        /* Light theme stats adjustments */
        [data-theme="light"] .stats-dojo,
        [data-theme="light-sakura"] .stats-dojo,
        [data-theme="mint-light"] .stats-dojo,
        [data-theme="lavender-light"] .stats-dojo,
        [data-theme="sunset-light"] .stats-dojo {
            background: var(--bg-secondary);
            color: var(--text-primary);
        }

        [data-theme="light"] .stat-shrine,
        [data-theme="light-sakura"] .stat-shrine,
        [data-theme="mint-light"] .stat-shrine,
        [data-theme="lavender-light"] .stat-shrine,
        [data-theme="sunset-light"] .stat-shrine {
            background: rgba(255, 255, 255, 0.8);
            color: var(--text-primary);
        }

        /* Light theme theme selector adjustments */
        [data-theme="light"] .theme-toggle-btn,
        [data-theme="light-sakura"] .theme-toggle-btn,
        [data-theme="mint-light"] .theme-toggle-btn,
        [data-theme="lavender-light"] .theme-toggle-btn,
        [data-theme="sunset-light"] .theme-toggle-btn {
            background: var(--bg-secondary);
            color: var(--primary-color);
        }

        [data-theme="light"] .theme-dropdown,
        [data-theme="light-sakura"] .theme-dropdown,
        [data-theme="mint-light"] .theme-dropdown,
        [data-theme="lavender-light"] .theme-dropdown,
        [data-theme="sunset-light"] .theme-dropdown {
            background: rgba(255, 255, 255, 0.95);
            border: 2px solid var(--border-color);
            color: var(--text-primary);
        }

        [data-theme="light"] .theme-option,
        [data-theme="light-sakura"] .theme-option,
        [data-theme="mint-light"] .theme-option,
        [data-theme="lavender-light"] .theme-option,
        [data-theme="sunset-light"] .theme-option {
            background: rgba(255, 255, 255, 0.5);
            border: 1px solid rgba(0, 0, 0, 0.1);
            color: var(--text-primary);
        }

        [data-theme="light"] .theme-option:hover,
        [data-theme="light-sakura"] .theme-option:hover,
        [data-theme="mint-light"] .theme-option:hover,
        [data-theme="lavender-light"] .theme-option:hover,
        [data-theme="sunset-light"] .theme-option:hover {
            background: rgba(255, 255, 255, 0.8);
        }

        /* Light theme petal adjustments */
        [data-theme="light"] .petal,
        [data-theme="light-sakura"] .petal,
        [data-theme="mint-light"] .petal,
        [data-theme="lavender-light"] .petal,
        [data-theme="sunset-light"] .petal {
            background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
            opacity: 0.4;
        }

        /* Light theme grid adjustments */
        [data-theme="light"] .energy-grid,
        [data-theme="light-sakura"] .energy-grid,
        [data-theme="mint-light"] .energy-grid,
        [data-theme="lavender-light"] .energy-grid,
        [data-theme="sunset-light"] .energy-grid {
            background-image:
                linear-gradient(90deg, var(--border-color) 1px, transparent 1px),
                linear-gradient(0deg, var(--border-color) 1px, transparent 1px);
            opacity: 0.3;
        }

        /* Light theme ambient aura adjustments */
        [data-theme="light"] .ambient-aura,
        [data-theme="light-sakura"] .ambient-aura,
        [data-theme="mint-light"] .ambient-aura,
        [data-theme="lavender-light"] .ambient-aura,
        [data-theme="sunset-light"] .ambient-aura {
            background: radial-gradient(circle, var(--bg-secondary) 0%, transparent 70%);
            opacity: 0.6;
        }

        /* Theme Previews */
        .glass-neon-theme {
            background: linear-gradient(135deg, #00ffff, #66ffff, #ff00ff);
        }

        .vaporwave-theme {
            background: linear-gradient(135deg, #ff00ff, #ff66ff, #00ffff);
        }

        /* Footer Realm */
        .footer-realm {
            background: linear-gradient(135deg, rgba(10, 10, 10, 0.98), rgba(0, 0, 0, 0.95));
            border-top: 2px solid var(--border-color);
            margin-top: 6rem;
            position: relative;
            overflow: hidden;
        }

        .footer-realm::before {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            right: 0;
            height: 1px;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            opacity: 0.7;
        }

        .footer-container {
            max-width: 1400px;
            margin: 0 auto;
            padding: 4rem 2rem 2rem;
            position: relative;
            z-index: 2;
        }

        .footer-main {
            display: grid;
            grid-template-columns: 2fr 1fr 1fr 1fr 1fr;
            gap: 3rem;
            margin-bottom: 3rem;
        }

        .footer-brand {
            display: flex;
            flex-direction: column;
            gap: 1.5rem;
        }

        .footer-logo {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .footer-logo-icon {
            width: 60px;
            height: 60px;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            border-radius: 15px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.8rem;
            color: white;
            box-shadow: 0 0 30px rgba(var(--primary-color), 0.4);
        }

        .footer-logo-text {
            font-family: 'Orbitron', monospace;
            font-size: 2rem;
            font-weight: 900;
            background: linear-gradient(135deg, var(--primary-color), var(--text-primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .footer-tagline {
            font-size: 1.1rem;
            line-height: 1.7;
            opacity: 0.8;
            max-width: 300px;
        }

        .footer-social {
            display: flex;
            gap: 1rem;
            margin-top: 1rem;
        }

        .social-link {
            width: 45px;
            height: 45px;
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            color: var(--text-primary);
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .social-link:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, var(--primary-color), transparent);
            transition: left 0.5s ease;
            opacity: 0.2;
        }

        .social-link:hover:before {
            left: 100%;
        }

        .social-link:hover {
            background: var(--primary-color);
            color: var(--bg-primary);
            transform: translateY(-3px);
            box-shadow: 0 10px 25px rgba(var(--primary-color), 0.3);
        }

        .footer-section {
            display: flex;
            flex-direction: column;
            gap: 1rem;
        }

        .footer-section-title {
            font-family: 'Orbitron', monospace;
            font-size: 1.2rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        .footer-link {
            color: var(--text-primary);
            text-decoration: none;
            padding: 0.5rem 0;
            transition: all 0.3s ease;
            position: relative;
            opacity: 0.8;
            border-radius: 8px;
            padding-left: 1rem;
        }

        .footer-link:before {
            content: '→';
            position: absolute;
            left: 0;
            opacity: 0;
            transition: all 0.3s ease;
            color: var(--primary-color);
        }

        .footer-link:hover:before {
            opacity: 1;
        }

        .footer-link:hover {
            color: var(--primary-color);
            opacity: 1;
            transform: translateX(8px);
        }

        .footer-newsletter {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
            border-radius: 16px;
            padding: 2rem;
            text-align: center;
            margin: 2rem 0;
            position: relative;
            overflow: hidden;
        }

        .footer-newsletter:before {
            content: '';
            position: absolute;
            top: -50%;
            left: -50%;
            width: 200%;
            height: 200%;
            background: radial-gradient(circle, var(--primary-color), transparent);
            opacity: 0.05;
            animation: newsletterGlow 8s ease-in-out infinite;
        }

        @keyframes newsletterGlow {
            0%, 100% { transform: scale(1) rotate(0deg); }
            50% { transform: scale(1.2) rotate(180deg); }
        }

        .newsletter-title {
            font-family: 'Orbitron', monospace;
            font-size: 1.4rem;
            font-weight: 700;
            color: var(--primary-color);
            margin-bottom: 0.5rem;
        }

        .newsletter-desc {
            margin-bottom: 1.5rem;
            opacity: 0.8;
        }

        .newsletter-form {
            display: flex;
            gap: 1rem;
            max-width: 400px;
            margin: 0 auto;
        }

        .newsletter-input {
            flex: 1;
            padding: 0.75rem 1rem;
            background: rgba(255, 255, 255, 0.05);
            border: 1px solid var(--border-color);
            border-radius: 12px;
            color: var(--text-primary);
            font-family: inherit;
            transition: all 0.3s ease;
        }

        .newsletter-input:focus {
            outline: none;
            border-color: var(--primary-color);
            box-shadow: 0 0 20px rgba(var(--primary-color), 0.2);
        }

        .newsletter-input::placeholder {
            color: rgba(255, 255, 255, 0.5);
        }

        .newsletter-btn {
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            border: none;
            border-radius: 12px;
            color: white;
            font-weight: 600;
            cursor: pointer;
            transition: all 0.3s ease;
        }

        .newsletter-btn:hover {
            transform: translateY(-2px);
            box-shadow: 0 8px 25px rgba(var(--primary-color), 0.4);
        }

        .footer-bottom {
            border-top: 1px solid var(--border-color);
            padding: 2rem 0;
            display: flex;
            justify-content: space-between;
            align-items: center;
            flex-wrap: wrap;
            gap: 1rem;
        }

        .footer-copyright {
            opacity: 0.7;
            font-size: 0.9rem;
        }

        .footer-legal {
            display: flex;
            gap: 2rem;
        }

        .footer-legal a {
            color: var(--text-primary);
            text-decoration: none;
            opacity: 0.7;
            transition: all 0.3s ease;
            font-size: 0.9rem;
        }

        .footer-legal a:hover {
            color: var(--primary-color);
            opacity: 1;
        }

        /* Footer Background Effects */
        .footer-bg-effect {
            position: absolute;
            bottom: 0;
            left: 0;
            width: 100%;
            height: 200px;
            background: radial-gradient(ellipse at center bottom, var(--bg-secondary), transparent);
            opacity: 0.3;
            pointer-events: none;
        }

        /* Responsive Footer */
        @media (max-width: 1024px) {
            .footer-main {
                grid-template-columns: 1fr 1fr 1fr;
                gap: 2rem;
            }

            .footer-brand {
                grid-column: 1 / -1;
                text-align: center;
                align-items: center;
            }
        }

        @media (max-width: 768px) {
            .footer-main {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .footer-brand {
                grid-column: 1;
            }

            .footer-social {
                justify-content: center;
            }

            .newsletter-form {
                flex-direction: column;
            }

            .footer-bottom {
                flex-direction: column;
                text-align: center;
            }

            .footer-legal {
                justify-content: center;
            }
        }

        /* Update existing styles to use CSS variables */
        .otaku-header {
            border-bottom: 2px solid var(--border-color);
        }

        .logo-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
            box-shadow: 0 0 20px rgba(var(--primary-color), 0.5);
        }

        .logo-text {
            background: linear-gradient(135deg, var(--primary-color), var(--text-primary));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .nav-link:hover {
            background: var(--bg-secondary);
        }

        .nav-link.active {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
        }

        .dojo-entry {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        }

        .user-avatar {
            border: 2px solid var(--primary-color);
        }

        .realm-title {
            background: linear-gradient(135deg, var(--text-primary), var(--primary-color), var(--primary-dark));
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .power-btn {
            background: var(--bg-secondary);
            border: 2px solid var(--border-color);
        }

        .power-btn:hover {
            border-color: var(--primary-color);
            box-shadow: 0 10px 30px rgba(var(--primary-color), 0.3);
        }

        .btn-icon {
            background: linear-gradient(135deg, var(--primary-color), var(--primary-dark));
        }

        .showcase-container {
            box-shadow: 0 20px 60px rgba(var(--primary-color), 0.3);
        }

        .showcase-overlay {
            background: linear-gradient(45deg, rgba(var(--primary-color), 0.2), rgba(var(--primary-dark), 0.2));
        }

        .stats-dojo {
            background: var(--bg-secondary);
            border-top: 1px solid var(--border-color);
            border-bottom: 1px solid var(--border-color);
        }

        .stat-shrine {
            background: var(--bg-secondary);
            border: 1px solid var(--border-color);
        }

        .stat-shrine:hover {
            box-shadow: 0 15px 35px rgba(var(--primary-color), 0.2);
        }

        .stat-number {
            color: var(--primary-color);
        }

        /* Dynamic background updates */
        .petal {
            background: linear-gradient(45deg, var(--primary-color), var(--primary-light));
        }

        .energy-grid {
            background-image:
                linear-gradient(90deg, var(--border-color) 1px, transparent 1px),
                linear-gradient(0deg, var(--border-color) 1px, transparent 1px);
        }

        .ambient-aura {
            background: radial-gradient(circle, var(--bg-secondary) 0%, transparent 70%);
        }

        .dojo-entry {
            padding: 0.75rem 1.5rem;
            background: linear-gradient(135deg, #ff6b9d, #c44569);
            border: none;
            border-radius: 25px;
            color: white;
            font-weight: 600;
            text-decoration: none;
            position: relative;
            overflow: hidden;
            transition: all 0.3s ease;
        }

        .dojo-entry:hover {
            transform: translateY(-2px);
            box-shadow: 0 10px 25px rgba(255, 107, 157, 0.4);
        }

        .user-profile {
            display: flex;
            align-items: center;
            gap: 0.75rem;
        }

        .user-avatar {
            position: relative;
            width: 40px;
            height: 40px;
            border-radius: 50%;
            overflow: hidden;
            border: 2px solid #ff6b9d;
        }

        .online-indicator {
            position: absolute;
            bottom: 2px;
            right: 2px;
            width: 12px;
            height: 12px;
            background: #00ff88;
            border-radius: 50%;
            border: 2px solid #0a0a0a;
        }

        /* Hero Section */
        .hero-realm {
            min-height: 100vh;
            display: flex;
            align-items: center;
            position: relative;
            padding-top: 80px;
        }

        .hero-content {
            width: 100%;
            max-width: 1400px;
            margin: 0 auto;
            padding: 2rem;
            display: grid;
            grid-template-columns: 1fr 1fr;
            gap: 4rem;
            align-items: center;
        }

        .story-panel {
            z-index: 2;
        }

        .realm-title {
            font-family: 'Orbitron', monospace;
            font-size: clamp(2.5rem, 5vw, 4.5rem);
            font-weight: 900;
            margin-bottom: 1.5rem;
            position: relative;
            background: linear-gradient(135deg, #ffffff, #ff6b9d, #c44569);
            -webkit-background-clip: text;
            -webkit-text-fill-color: transparent;
            background-clip: text;
        }

        .realm-subtitle {
            font-family: 'Noto Sans JP', sans-serif;
            font-size: 1.2rem;
            margin-bottom: 2rem;
            opacity: 0.9;
            line-height: 1.8;
        }

        .power-buttons {
            display: flex;
            flex-direction: column;
            gap: 1rem;
            margin-bottom: 2rem;
        }

        .power-btn {
            display: flex;
            align-items: center;
            justify-content: space-between;
            padding: 1.5rem 2rem;
            background: rgba(255, 107, 157, 0.1);
            border: 2px solid rgba(255, 107, 157, 0.3);
            border-radius: 16px;
            color: white;
            text-decoration: none;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .power-btn:before {
            content: '';
            position: absolute;
            top: 0;
            left: -100%;
            width: 100%;
            height: 100%;
            background: linear-gradient(90deg, transparent, rgba(255, 107, 157, 0.2), transparent);
            transition: left 0.6s ease;
        }

        .power-btn:hover:before {
            left: 100%;
        }

        .power-btn:hover {
            background: rgba(255, 107, 157, 0.2);
            border-color: #ff6b9d;
            transform: translateX(10px);
            box-shadow: 0 10px 30px rgba(255, 107, 157, 0.3);
        }

        .btn-content {
            display: flex;
            align-items: center;
            gap: 1rem;
        }

        .btn-icon {
            width: 50px;
            height: 50px;
            background: linear-gradient(135deg, #ff6b9d, #c44569);
            border-radius: 12px;
            display: flex;
            align-items: center;
            justify-content: center;
            font-size: 1.3rem;
        }

        .btn-text {
            display: flex;
            flex-direction: column;
        }

        .btn-title {
            font-size: 1.2rem;
            font-weight: 600;
            margin-bottom: 0.25rem;
        }

        .btn-desc {
            font-size: 0.9rem;
            opacity: 0.8;
        }

        .btn-arrow {
            font-size: 1.5rem;
            opacity: 0.6;
            transition: all 0.3s ease;
        }

        .power-btn:hover .btn-arrow {
            opacity: 1;
            transform: translateX(5px);
        }

        .visual-showcase {
            position: relative;
            z-index: 1;
        }

        .showcase-container {
            position: relative;
            width: 100%;
            height: 600px;
            border-radius: 20px;
            overflow: hidden;
            box-shadow: 0 20px 60px rgba(255, 107, 157, 0.3);
        }

        .showcase-image {
            width: 100%;
            height: 100%;
            object-fit: cover;
            transition: transform 0.3s ease;
        }

        .showcase-overlay {
            position: absolute;
            inset: 0;
            background: linear-gradient(45deg, rgba(255, 107, 157, 0.2), rgba(196, 69, 105, 0.2));
            opacity: 0;
            transition: opacity 0.3s ease;
        }

        .showcase-container:hover .showcase-overlay {
            opacity: 1;
        }

        .showcase-container:hover .showcase-image {
            transform: scale(1.05);
        }

        /* Stats Dojo */
        .stats-dojo {
            background: rgba(255, 107, 157, 0.03);
            border-top: 1px solid rgba(255, 107, 157, 0.2);
            border-bottom: 1px solid rgba(255, 107, 157, 0.2);
            padding: 4rem 2rem;
            margin: 4rem 0;
        }

        .stats-container {
            max-width: 1400px;
            margin: 0 auto;
            text-align: center;
        }

        .stats-title {
            font-family: 'Orbitron', monospace;
            font-size: 2.5rem;
            font-weight: 700;
            margin-bottom: 3rem;
            color: #ffffff;
        }

        .stats-grid {
            display: grid;
            grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
            gap: 2rem;
        }

        .stat-shrine {
            background: rgba(255, 107, 157, 0.1);
            border: 1px solid rgba(255, 107, 157, 0.3);
            border-radius: 20px;
            padding: 2rem;
            transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
            position: relative;
            overflow: hidden;
        }

        .stat-shrine:hover {
            transform: translateY(-5px);
            box-shadow: 0 15px 35px rgba(255, 107, 157, 0.2);
        }

        .stat-number {
            font-size: 3rem;
            font-weight: 700;
            color: #ff6b9d;
            margin-bottom: 0.5rem;
            display: block;
        }

        .stat-label {
            font-size: 1rem;
            opacity: 0.8;
            text-transform: uppercase;
            letter-spacing: 1px;
        }

        /* Responsive Design */
        @media (max-width: 1024px) {
            .hero-content {
                grid-template-columns: 1fr;
                gap: 2rem;
                text-align: center;
            }

            .visual-showcase {
                order: -1;
            }

            .showcase-container {
                height: 400px;
            }
        }

        @media (max-width: 768px) {
            .header-container {
                flex-direction: column;
                gap: 1rem;
                padding: 1rem;
            }

            .nav-menu {
                order: 1;
                width: 100%;
                justify-content: space-around;
            }

            .nav-link {
                flex: 1;
                text-align: center;
            }

            .realm-title {
                font-size: 2.5rem;
            }
        }

        @media (max-width: 480px) {
            .power-buttons {
                gap: 0.75rem;
            }

            .power-btn {
                padding: 1rem 1.5rem;
                flex-direction: column;
                text-align: center;
                gap: 1rem;
            }

            .btn-content {
                flex-direction: column;
                text-align: center;
            }

            .btn-arrow {
                display: none;
            }
        }