/**
 * ============================================================================
 * MYTHFORGE STUDIO - DARK TECH ELITE
 * Theme: Cyberpunk Nordic - Premium Gaming Aesthetic
 * "Forging Myths. Building Legends."
 * ============================================================================
 */

/* ============================================================================
   GOOGLE FONTS IMPORTS
   ============================================================================ */
@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@300;400;500;600;700&family=Inter:wght@300;400;500;600;700&family=JetBrains+Mono:wght@400;500;600&display=swap');

/* ============================================================================
   CSS VARIABLES - DARK TECH ELITE PALETTE
   ============================================================================ */
:root {
    /* Background Depths */
    --bg-void: #000000;
    --bg-deep: #0a0a0f;
    --bg-dark: #12121a;
    --bg-card: #1a1a24;
    --bg-elevated: #242430;
    --bg-hover: #2a2a38;

    /* Neon Accents */
    --neon-orange: #FF6B00;
    --neon-orange-bright: #FF8533;
    --neon-orange-dim: #CC5500;
    --neon-cyan: #00D4FF;
    --neon-cyan-bright: #33DFFF;
    --neon-cyan-dim: #00A8CC;
    --neon-green: #00FF88;
    --neon-green-dim: #00CC6A;
    --neon-red: #FF3366;
    --neon-red-dim: #CC2952;
    --neon-gold: #FFD700;

    /* Text Colors */
    --text-primary: #FFFFFF;
    --text-secondary: #8888AA;
    --text-muted: #555566;
    --text-dim: #444455;

    /* Glow Effects */
    --glow-orange: 0 0 20px rgba(255, 107, 0, 0.5), 0 0 40px rgba(255, 107, 0, 0.3);
    --glow-orange-intense: 0 0 30px rgba(255, 107, 0, 0.7), 0 0 60px rgba(255, 107, 0, 0.4), 0 0 100px rgba(255, 107, 0, 0.2);
    --glow-cyan: 0 0 20px rgba(0, 212, 255, 0.5), 0 0 40px rgba(0, 212, 255, 0.3);
    --glow-cyan-intense: 0 0 30px rgba(0, 212, 255, 0.7), 0 0 60px rgba(0, 212, 255, 0.4);
    --glow-green: 0 0 20px rgba(0, 255, 136, 0.5), 0 0 40px rgba(0, 255, 136, 0.3);
    --glow-red: 0 0 20px rgba(255, 51, 102, 0.5), 0 0 40px rgba(255, 51, 102, 0.3);

    /* Typography */
    --font-display: 'Orbitron', sans-serif;
    --font-heading: 'Rajdhani', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-mono: 'JetBrains Mono', monospace;

    /* Shadows */
    --shadow-card: 0 10px 40px rgba(0, 0, 0, 0.5);
    --shadow-elevated: 0 20px 60px rgba(0, 0, 0, 0.6);
    --shadow-glow: 0 0 60px rgba(255, 107, 0, 0.2);

    /* Borders */
    --border-subtle: 1px solid rgba(255, 255, 255, 0.05);
    --border-card: 1px solid rgba(255, 255, 255, 0.08);
    --border-accent: 1px solid var(--neon-orange);

    /* Transitions */
    --transition-fast: 0.15s ease;
    --transition-normal: 0.3s ease;
    --transition-slow: 0.5s ease;
    --transition-smooth: 0.4s cubic-bezier(0.4, 0, 0.2, 1);

    /* Spacing */
    --nav-height: 70px;
}

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

/* Neon Pulse */
@keyframes neonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.7; }
}

/* Glow Pulse */
@keyframes glowPulse {
    0%, 100% {
        box-shadow: 0 0 20px rgba(255, 107, 0, 0.4);
        border-color: var(--neon-orange);
    }
    50% {
        box-shadow: 0 0 40px rgba(255, 107, 0, 0.6), 0 0 80px rgba(255, 107, 0, 0.3);
        border-color: var(--neon-orange-bright);
    }
}

/* Shimmer Sweep */
@keyframes shimmerSweep {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Float Animation */
@keyframes float {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

/* Gradient Flow */
@keyframes gradientFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Fade In Up */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Slide In */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

/* Border Glow */
@keyframes borderGlow {
    0%, 100% {
        border-color: var(--neon-orange);
        box-shadow: 0 0 15px rgba(255, 107, 0, 0.3);
    }
    50% {
        border-color: var(--neon-cyan);
        box-shadow: 0 0 25px rgba(0, 212, 255, 0.4);
    }
}

/* Typing Cursor */
@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* Grid Pulse */
@keyframes gridPulse {
    0%, 100% { opacity: 0.03; }
    50% { opacity: 0.06; }
}

/* Rune Fall - For background effect */
@keyframes runeFall {
    0% { transform: translateY(-100%); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(100vh); opacity: 0; }
}

/* ============================================================================
   BASE STYLES
   ============================================================================ */
*, *::before, *::after {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--font-body);
    background: var(--bg-void);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    line-height: 1.6;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* Tech Grid Background */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        linear-gradient(rgba(255, 107, 0, 0.03) 1px, transparent 1px),
        linear-gradient(90deg, rgba(255, 107, 0, 0.03) 1px, transparent 1px);
    background-size: 50px 50px;
    animation: gridPulse 4s ease-in-out infinite;
    pointer-events: none;
    z-index: 0;
}

/* Gradient Overlay */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background:
        radial-gradient(ellipse at 20% 0%, rgba(255, 107, 0, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 80% 100%, rgba(0, 212, 255, 0.05) 0%, transparent 50%);
    pointer-events: none;
    z-index: 0;
}

/* ============================================================================
   SCROLLBAR - MINIMAL DARK
   ============================================================================ */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--bg-deep);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--neon-orange);
}

::selection {
    background: rgba(255, 107, 0, 0.3);
    color: var(--text-primary);
}

/* ============================================================================
   LOADING SCREEN
   ============================================================================ */
.loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: var(--bg-void);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10000;
    transition: opacity 0.5s ease, visibility 0.5s ease;
}

.loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}

.forge-loader {
    text-align: center;
}

.forge-anvil {
    position: relative;
    width: 120px;
    height: 120px;
    margin: 0 auto 30px;
}

.anvil-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 150%;
    height: 150%;
    background: radial-gradient(circle, rgba(255, 107, 0, 0.3) 0%, transparent 60%);
    animation: neonPulse 2s ease-in-out infinite;
}

.anvil-icon {
    position: relative;
    font-size: 80px;
    z-index: 2;
    filter: drop-shadow(0 0 30px var(--neon-orange));
}

.anvil-sparks {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.spark {
    position: absolute;
    color: var(--neon-orange);
    font-size: 12px;
    animation: float 1s ease-in-out infinite;
}

.forge-text {
    margin-bottom: 30px;
    display: flex;
    justify-content: center;
    gap: 4px;
}

.forge-letter {
    font-family: var(--font-display);
    font-size: 28px;
    font-weight: 700;
    color: var(--neon-orange);
    text-shadow: 0 0 20px var(--neon-orange);
    animation: neonPulse 1.5s ease-in-out infinite;
}

.loading-bar-container {
    width: 300px;
    margin: 0 auto;
}

.loading-bar {
    height: 4px;
    background: var(--bg-card);
    border-radius: 2px;
    overflow: hidden;
    position: relative;
}

.loading-progress {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-cyan));
    transition: width 0.3s ease;
    box-shadow: var(--glow-orange);
}

.loading-glow {
    display: none;
}

/* ============================================================================
   PARTICLE SYSTEMS
   ============================================================================ */
#bg-particles,
#forge-sparks {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

#steam-container,
#ember-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    overflow: hidden;
    z-index: 1;
}

.steam-particle,
.ember-particle {
    display: none;
}

/* ============================================================================
   NAVIGATION - DARK GLASS BAR
   ============================================================================ */
.main-nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    height: var(--nav-height);
    display: flex;
    justify-content: center;
    align-items: center;
    background: rgba(10, 10, 15, 0.85);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.2);
    transition: all var(--transition-smooth);
}

/* Accent Line */
.main-nav::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg,
        transparent,
        var(--neon-orange) 20%,
        var(--neon-cyan) 50%,
        var(--neon-orange) 80%,
        transparent
    );
    opacity: 0.6;
}

.main-nav.scrolled {
    background: rgba(0, 0, 0, 0.95);
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
}

/* Nav Links Container */
.nav-links {
    display: flex;
    gap: 8px;
    padding: 0 20px;
}

/* Nav Link */
.nav-link {
    padding: 12px 24px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    text-transform: uppercase;
    letter-spacing: 0.1em;
}

/* Hover underline */
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    width: 0;
    height: 2px;
    background: var(--neon-cyan);
    transition: all var(--transition-normal);
    transform: translateX(-50%);
    box-shadow: 0 0 10px var(--neon-cyan);
}

.nav-link:hover {
    color: var(--text-primary);
}

.nav-link:hover::after {
    width: 80%;
}

/* Active state */
.nav-link.active {
    color: var(--neon-orange);
}

.nav-link.active::after {
    width: 80%;
    background: var(--neon-orange);
    box-shadow: 0 0 15px var(--neon-orange);
}

.nav-icon {
    font-size: 16px;
    transition: all var(--transition-normal);
}

.nav-link:hover .nav-icon {
    transform: scale(1.1);
    filter: drop-shadow(0 0 8px currentColor);
}

/* Mobile Menu Button */
.mobile-menu-btn {
    display: none;
    flex-direction: column;
    gap: 5px;
    padding: 12px;
    background: transparent;
    border: 1px solid var(--neon-orange);
    cursor: pointer;
    transition: all var(--transition-normal);
}

.mobile-menu-btn:hover {
    background: rgba(255, 107, 0, 0.1);
    box-shadow: var(--glow-orange);
}

.menu-bar {
    width: 24px;
    height: 2px;
    background: var(--neon-orange);
    transition: all var(--transition-normal);
}

/* Mobile Menu */
.mobile-menu {
    display: none;
    position: fixed;
    top: var(--nav-height);
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(20px);
    border-bottom: 1px solid rgba(255, 107, 0, 0.3);
    z-index: 999;
    padding: 20px;
}

.mobile-menu.active {
    display: block;
    animation: fadeInUp 0.3s ease;
}

.mobile-menu .nav-link {
    width: 100%;
    justify-content: flex-start;
    padding: 16px 20px;
    margin-bottom: 8px;
    border: 1px solid transparent;
}

.mobile-menu .nav-link:hover {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
}

/* ============================================================================
   MAIN CONTENT
   ============================================================================ */
#app-container {
    position: relative;
    z-index: 10;
    min-height: 100vh;
}

.page {
    animation: fadeInUp 0.5s ease;
}

.page-container {
    min-height: 100vh;
    padding: calc(var(--nav-height) + 40px) 40px 60px;
}

.page-content {
    max-width: 1400px;
    margin: 0 auto;
}

/* ============================================================================
   BUTTONS
   ============================================================================ */
.btn {
    padding: 14px 32px;
    border-radius: 4px;
    font-family: var(--font-heading);
    font-size: 14px;
    font-weight: 600;
    letter-spacing: 0.08em;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    cursor: pointer;
    transition: all var(--transition-normal);
    position: relative;
    overflow: hidden;
    text-transform: uppercase;
    border: 2px solid transparent;
}

/* Shimmer effect */
.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: none;
}

.btn:hover::before {
    animation: shimmerSweep 0.6s ease;
}

.btn:hover {
    transform: translateY(-2px);
}

.btn:active {
    transform: translateY(0);
}

/* Primary Button - Orange */
.btn-forge {
    background: var(--neon-orange);
    border-color: var(--neon-orange);
    color: var(--bg-void);
    box-shadow: var(--glow-orange);
}

.btn-forge:hover {
    background: var(--neon-orange-bright);
    box-shadow: var(--glow-orange-intense);
}

/* Secondary Button - Cyan Outline */
.btn-steel {
    background: transparent;
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.btn-steel:hover {
    background: rgba(0, 212, 255, 0.1);
    box-shadow: var(--glow-cyan);
}

/* Green Button */
.btn-myth {
    background: var(--neon-green);
    border-color: var(--neon-green);
    color: var(--bg-void);
    box-shadow: var(--glow-green);
}

.btn-myth:hover {
    background: var(--neon-green-dim);
}

/* Ghost Button */
.btn-brass {
    background: transparent;
    border-color: var(--text-muted);
    color: var(--text-secondary);
}

.btn-brass:hover {
    border-color: var(--text-primary);
    color: var(--text-primary);
}

/* Danger Button */
.btn-danger {
    background: var(--neon-red);
    border-color: var(--neon-red);
    color: white;
    box-shadow: var(--glow-red);
}

.btn-danger:hover {
    background: var(--neon-red-dim);
}

.btn-sm { padding: 10px 20px; font-size: 12px; }
.btn-lg { padding: 18px 40px; font-size: 16px; }
.btn-block { width: 100%; }

/* ============================================================================
   CARDS - DARK GLASS
   ============================================================================ */
.card {
    position: relative;
    padding: 24px;
    background: var(--bg-card);
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all var(--transition-smooth);
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-orange), transparent);
    opacity: 0;
    transition: opacity var(--transition-normal);
}

.card:hover {
    border-color: rgba(255, 107, 0, 0.3);
    transform: translateY(-4px);
    box-shadow: var(--shadow-elevated), var(--shadow-glow);
}

.card:hover::before {
    opacity: 1;
}

.card.no-hover:hover {
    transform: none;
    box-shadow: none;
    border-color: rgba(255, 255, 255, 0.05);
}

.card::after {
    display: none;
}

.card-image {
    width: 100%;
    height: 200px;
    background-size: cover;
    background-position: center;
    border-radius: 4px;
    margin-bottom: 20px;
    position: relative;
    overflow: hidden;
}

.card-image::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 50%;
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.8));
}

.card-badge {
    position: absolute;
    padding: 6px 14px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    font-family: var(--font-heading);
    letter-spacing: 0.05em;
    z-index: 2;
    text-transform: uppercase;
}

.card-badge.top-left { top: 12px; left: 12px; }
.card-badge.top-right { top: 12px; right: 12px; }
.card-badge.bottom-right { bottom: 12px; right: 12px; }

.card-badge.featured {
    background: var(--neon-orange);
    color: var(--bg-void);
    box-shadow: var(--glow-orange);
}

.card-badge.status {
    background: var(--bg-elevated);
    color: var(--text-secondary);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card-badge.status.active {
    background: var(--neon-green);
    color: var(--bg-void);
}

.card-badge.status.beta {
    background: var(--neon-cyan);
    color: var(--bg-void);
}

.card-badge.free {
    background: var(--neon-green);
    color: var(--bg-void);
}

.card-badge.type {
    background: rgba(0, 0, 0, 0.8);
    color: var(--neon-orange);
    border: 1px solid var(--neon-orange);
}

.card-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
    line-height: 1.3;
}

.card-description {
    color: var(--text-secondary);
    font-size: 14px;
    line-height: 1.7;
    margin-bottom: 16px;
}

.card-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-bottom: 16px;
}

.card-tag {
    padding: 5px 12px;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    font-size: 11px;
    color: var(--text-secondary);
    font-family: var(--font-mono);
    text-transform: uppercase;
    letter-spacing: 0.03em;
}

.card-tag.green {
    background: rgba(0, 255, 136, 0.1);
    border-color: rgba(0, 255, 136, 0.3);
    color: var(--neon-green);
}

.card-tag.orange {
    background: rgba(255, 107, 0, 0.1);
    border-color: rgba(255, 107, 0, 0.3);
    color: var(--neon-orange);
}

/* ============================================================================
   PROGRESS BARS
   ============================================================================ */
.progress-container {
    margin-top: 20px;
}

.progress-header {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    font-size: 12px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.progress-label { color: var(--text-secondary); }
.progress-value { color: var(--neon-orange); font-weight: 700; }

.progress-bar {
    height: 6px;
    background: var(--bg-elevated);
    border-radius: 3px;
    overflow: hidden;
    position: relative;
}

.progress-bar::before {
    display: none;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--neon-orange), var(--neon-cyan));
    border-radius: 3px;
    transition: width 1s ease;
    box-shadow: var(--glow-orange);
}

.progress-fill::after {
    display: none;
}

/* ============================================================================
   FORMS
   ============================================================================ */
.form-group { margin-bottom: 24px; }

.form-label {
    display: block;
    margin-bottom: 8px;
    font-family: var(--font-heading);
    font-size: 13px;
    color: var(--text-secondary);
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.form-input,
.form-textarea,
.form-select {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 14px;
    outline: none;
    transition: all var(--transition-normal);
}

.form-input:focus,
.form-textarea:focus,
.form-select:focus {
    border-color: var(--neon-orange);
    box-shadow: 0 0 20px rgba(255, 107, 0, 0.2);
}

.form-input::placeholder,
.form-textarea::placeholder {
    color: var(--text-muted);
}

.form-textarea {
    resize: vertical;
    min-height: 120px;
}

.form-checkbox {
    display: flex;
    align-items: center;
    gap: 12px;
    cursor: pointer;
}

.form-checkbox input {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--neon-orange);
}

.form-checkbox span {
    color: var(--text-secondary);
    font-size: 14px;
}

/* ============================================================================
   MODAL
   ============================================================================ */
.modal-container {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 2000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px;
}

.modal-container.hidden { display: none; }

.modal-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
}

.modal-content {
    position: relative;
    width: 100%;
    max-width: 900px;
    max-height: 90vh;
    background: var(--bg-dark);
    border-radius: 8px;
    border: 1px solid rgba(255, 107, 0, 0.3);
    box-shadow: var(--shadow-elevated), var(--glow-orange);
    overflow: hidden;
    animation: scaleIn 0.3s ease;
}

.modal-close {
    position: absolute;
    top: 16px;
    right: 16px;
    width: 40px;
    height: 40px;
    background: transparent;
    border: 1px solid var(--neon-red);
    border-radius: 4px;
    color: var(--neon-red);
    font-size: 18px;
    cursor: pointer;
    transition: all var(--transition-normal);
    z-index: 10;
}

.modal-close:hover {
    background: rgba(255, 51, 102, 0.2);
    box-shadow: var(--glow-red);
}

.modal-header {
    padding: 24px 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 700;
    color: var(--text-primary);
    padding-right: 50px;
}

.modal-body {
    padding: 30px;
    max-height: calc(90vh - 100px);
    overflow-y: auto;
}

/* ============================================================================
   NOTIFICATIONS
   ============================================================================ */
.notification-container {
    position: fixed;
    top: calc(var(--nav-height) + 20px);
    right: 20px;
    z-index: 3000;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.notification {
    padding: 16px 24px;
    border-radius: 4px;
    color: white;
    font-family: var(--font-heading);
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 12px;
    animation: slideIn 0.3s ease;
    box-shadow: var(--shadow-card);
    border: 1px solid;
    min-width: 280px;
}

.notification.success {
    background: rgba(0, 255, 136, 0.15);
    border-color: var(--neon-green);
    color: var(--neon-green);
}

.notification.error {
    background: rgba(255, 51, 102, 0.15);
    border-color: var(--neon-red);
    color: var(--neon-red);
}

.notification.warning {
    background: rgba(255, 107, 0, 0.15);
    border-color: var(--neon-orange);
    color: var(--neon-orange);
}

.notification.info {
    background: rgba(0, 212, 255, 0.15);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

/* ============================================================================
   SECTION HEADERS
   ============================================================================ */
.section-header {
    text-align: center;
    margin-bottom: 60px;
    position: relative;
}

.section-header::before,
.section-header::after {
    display: none;
}

.section-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 6vw, 52px);
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 16px;
    letter-spacing: 0.05em;
    text-transform: uppercase;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 16px;
    max-width: 600px;
    margin: 0 auto;
    line-height: 1.7;
}

/* ============================================================================
   FILTER TABS
   ============================================================================ */
.filter-tabs {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-bottom: 40px;
    flex-wrap: wrap;
}

.filter-tab {
    padding: 12px 28px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    color: var(--text-secondary);
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 600;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-transform: uppercase;
    letter-spacing: 0.08em;
}

.filter-tab:hover {
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
}

.filter-tab.active {
    background: var(--neon-orange);
    border-color: var(--neon-orange);
    color: var(--bg-void);
    box-shadow: var(--glow-orange);
}

/* ============================================================================
   GRID LAYOUTS
   ============================================================================ */
.grid {
    display: grid;
    gap: 24px;
}

.grid-2 { grid-template-columns: repeat(2, 1fr); }
.grid-3 { grid-template-columns: repeat(auto-fill, minmax(350px, 1fr)); }
.grid-4 { grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); }

/* ============================================================================
   SPLASH PAGE - HERO SECTION
   ============================================================================ */
.splash-page {
    position: relative;
}

.splash-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(ellipse at center, transparent 0%, var(--bg-void) 70%);
    z-index: 3;
    pointer-events: none;
}

.splash-hero {
    position: relative;
    z-index: 10;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: calc(var(--nav-height) + 40px) 40px 60px;
    text-align: center;
}

.hero-content {
    max-width: 1000px;
    opacity: 0;
    transform: translateY(40px);
    transition: all 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.hero-content.loaded {
    opacity: 1;
    transform: translateY(0);
}

.hero-logo-container {
    position: relative;
    margin-bottom: 24px;
    display: inline-block;
}

.hero-logo-effects {
    display: none;
}

.logo-ring,
.logo-ring-1,
.logo-ring-2,
.logo-ring-3 {
    display: none;
}

.hero-logo-image {
    max-width: 280px;
    height: auto;
    filter: drop-shadow(0 0 40px var(--neon-orange));
}

.hero-logo-text {
    font-family: var(--font-display);
    font-size: clamp(48px, 12vw, 120px);
    font-weight: 900;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-shadow: 0 0 60px rgba(255, 107, 0, 0.5);
    line-height: 1;
}

.hero-subtitle {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 20px);
    color: var(--neon-cyan);
    letter-spacing: 0.5em;
    text-transform: uppercase;
    margin-top: 8px;
}

.hero-mantra {
    font-family: var(--font-heading);
    font-size: clamp(24px, 4vw, 40px);
    font-weight: 700;
    margin: 40px 0 24px;
    color: var(--text-primary);
    letter-spacing: 0.02em;
}

.hero-description {
    font-family: var(--font-body);
    font-size: 17px;
    color: var(--text-secondary);
    max-width: 700px;
    margin: 0 auto 40px;
    line-height: 1.8;
}

.hero-cta-group {
    display: flex;
    gap: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

/* Gold Banner */
.gold-banner {
    position: relative;
    padding: 16px 40px;
    background: var(--bg-card);
    border-top: 1px solid var(--neon-orange);
    border-bottom: 1px solid var(--neon-orange);
    cursor: pointer;
    text-align: center;
    z-index: 10;
    transition: all var(--transition-normal);
}

.gold-banner:hover {
    background: rgba(255, 107, 0, 0.1);
}

.gold-banner::before {
    display: none;
}

.gold-banner-content {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 600;
    color: var(--neon-orange);
    letter-spacing: 0.05em;
}

/* Featured Section */
.featured-section {
    position: relative;
    z-index: 10;
    padding: 80px 40px;
    background: linear-gradient(180deg, transparent, var(--bg-deep) 20%);
}

/* ============================================================================
   WIKI LAYOUT
   ============================================================================ */
.wiki-layout {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.wiki-sidebar {
    position: sticky;
    top: calc(var(--nav-height) + 20px);
    height: fit-content;
}

.wiki-category {
    padding: 14px 18px;
    background: transparent;
    border: 1px solid transparent;
    border-radius: 4px;
    margin-bottom: 8px;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 12px;
    transition: all var(--transition-normal);
    width: 100%;
    text-align: left;
    font-family: var(--font-heading);
    font-size: 14px;
    color: var(--text-secondary);
}

.wiki-category:hover {
    background: rgba(255, 255, 255, 0.03);
    color: var(--text-primary);
}

.wiki-category.active {
    background: rgba(255, 107, 0, 0.1);
    border-color: var(--neon-orange);
    color: var(--neon-orange);
}

.wiki-article {
    padding: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 4px;
    cursor: pointer;
    transition: all var(--transition-normal);
    margin-bottom: 12px;
}

.wiki-article:hover {
    border-color: var(--neon-cyan);
    transform: translateX(4px);
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.site-footer {
    position: relative;
    z-index: 10;
    padding: 60px 40px;
    text-align: center;
    border-top: 1px solid rgba(255, 107, 0, 0.2);
    background: var(--bg-deep);
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 16px;
    flex-wrap: wrap;
    margin-bottom: 32px;
}

.social-link {
    width: 48px;
    height: 48px;
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    cursor: pointer;
    transition: all var(--transition-normal);
    text-decoration: none;
}

.social-link:hover {
    border-color: var(--neon-orange);
    transform: translateY(-4px);
    box-shadow: var(--glow-orange);
}

.footer-mantra {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 12px;
}

.footer-text {
    color: var(--text-muted);
    font-size: 13px;
}

/* ============================================================================
   RESPONSIVE DESIGN
   ============================================================================ */
@media (max-width: 1200px) {
    .wiki-layout { grid-template-columns: 260px 1fr; }
    .page-container { padding: calc(var(--nav-height) + 30px) 30px 50px; }
}

@media (max-width: 992px) {
    .nav-links { display: none; }
    .mobile-menu-btn { display: flex; }
    .wiki-layout { grid-template-columns: 1fr; }
    .wiki-sidebar { position: static; }
    .grid-2 { grid-template-columns: 1fr; }
    .splash-hero { padding: calc(var(--nav-height) + 30px) 24px 40px; }
    .featured-section { padding: 60px 24px; }
}

@media (max-width: 768px) {
    .page-container { padding: calc(var(--nav-height) + 20px) 20px 40px; }
    .hero-logo-text { font-size: 50px; }
    .grid-3, .grid-4 { grid-template-columns: 1fr; }
    .card { padding: 20px; }
    .modal-body { padding: 20px; }
    .section-title { font-size: 28px; }
}

@media (max-width: 480px) {
    .hero-cta-group { flex-direction: column; width: 100%; }
    .hero-cta-group .btn { width: 100%; }
    .filter-tabs { gap: 8px; }
    .filter-tab { padding: 10px 18px; font-size: 11px; }
    .gold-banner { padding: 12px 16px; }
    .gold-banner-content { font-size: 13px; }
    .hero-mantra { font-size: 22px; }
}

/* ============================================================================
   UTILITY CLASSES
   ============================================================================ */
.hidden { display: none !important; }
.text-center { text-align: center; }
.text-gold { color: var(--neon-gold); }
.text-forge { color: var(--neon-orange); }
.text-myth { color: var(--neon-green); }
.text-brass { color: var(--text-secondary); }
.text-muted { color: var(--text-muted); }

.mb-0 { margin-bottom: 0; }
.mb-1 { margin-bottom: 12px; }
.mb-2 { margin-bottom: 24px; }
.mb-3 { margin-bottom: 36px; }
.mb-4 { margin-bottom: 48px; }

.mt-0 { margin-top: 0; }
.mt-1 { margin-top: 12px; }
.mt-2 { margin-top: 24px; }
.mt-3 { margin-top: 36px; }

.flex { display: flex; }
.flex-center { display: flex; align-items: center; justify-content: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.gap-1 { gap: 12px; }
.gap-2 { gap: 24px; }
.gap-3 { gap: 36px; }
