/* Seraphonix Studios - Neural Sphere Interface Styles */
/* Complete End-to-End Implementation */

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

:root {
    /* FIX 8: Z-Index Hierarchy - Centralized values to prevent collisions */
    --z-canvas: 1;
    --z-node-labels: 50;
    --z-hud: 100;
    --z-windows: 200;
    --z-loading: 10000;
    --z-notification: 10001;
    
    /* Core Color System */
    --cyan: #00D4FF;
    --cyan-glow: rgba(0, 212, 255, 0.5);
    --violet: #7000FF;
    --violet-glow: rgba(112, 0, 255, 0.5);
    --pink: #FF006E;
    --pink-glow: rgba(255, 0, 110, 0.5);
    --green: #00FF88;
    --green-glow: rgba(0, 255, 136, 0.5);
    --gold: #FFB800;
    --gold-glow: rgba(255, 184, 0, 0.5);
    --red: #FF3333;
    --red-glow: rgba(255, 51, 51, 0.5);
    
    /* Background Colors */
    --bg-dark: #050508;
    --bg-panel: rgba(10, 10, 15, 0.98);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    /* Spacing */
    --space-xs: 0.25rem;
    --space-sm: 0.5rem;
    --space-md: 1rem;
    --space-lg: 1.5rem;
    --space-xl: 2rem;
    --space-2xl: 3rem;
    
    /* Shadows */
    --shadow-glow-cyan: 0 0 20px var(--cyan-glow), 0 0 40px var(--cyan-glow);
    --shadow-glow-violet: 0 0 20px var(--violet-glow), 0 0 40px var(--violet-glow);
    --shadow-glow-pink: 0 0 20px var(--pink-glow), 0 0 40px var(--pink-glow);
    --shadow-glow-gold: 0 0 20px var(--gold-glow), 0 0 40px var(--gold-glow);
    --shadow-glow-green: 0 0 20px var(--green-glow), 0 0 40px var(--green-glow);
    --shadow-glow-red: 0 0 20px var(--red-glow), 0 0 40px var(--red-glow);
    --shadow-window: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 30px var(--cyan-glow);
}

html, body {
    height: 100%;
    overflow: hidden;
    font-family: 'Rajdhani', sans-serif;
    background: var(--bg-dark);
    color: #fff;
    line-height: 1.6;
    /* Performance optimizations */
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* ===== LOADING SCREEN ===== */
#loading-screen {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: radial-gradient(ellipse at center, #0a0a15 0%, #050508 100%);
    z-index: var(--z-loading);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: opacity 0.6s ease, visibility 0.6s ease;
}

/* Seraph symbol during loading */
.loader-container::before {
    content: '◉';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 3rem;
    color: var(--cyan);
    text-shadow: 0 0 40px var(--cyan-glow);
    animation: seraphSymbolPulse 2s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes seraphSymbolPulse {
    0%, 100% { 
        opacity: 0.2; 
        transform: translate(-50%, -50%) scale(1);
    }
    50% { 
        opacity: 0.5; 
        transform: translate(-50%, -50%) scale(1.1);
    }
}

#loading-screen.hidden {
    opacity: 0;
    visibility: hidden;
}

.loader-container {
    text-align: center;
    max-width: 400px;
}

.loader-sphere {
    position: relative;
    width: 150px;
    height: 150px;
    margin: 0 auto 30px;
}

.ring {
    position: absolute;
    border: 2px solid transparent;
    border-radius: 50%;
    animation: spin 3s linear infinite;
}

.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--cyan);
    animation-duration: 3s;
}

.ring-2 {
    width: 70%;
    height: 70%;
    top: 15%;
    left: 15%;
    border-right-color: var(--violet);
    animation-duration: 2s;
    animation-direction: reverse;
}

.ring-3 {
    width: 40%;
    height: 40%;
    top: 30%;
    left: 30%;
    border-bottom-color: var(--pink);
    animation-duration: 1.5s;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

.loader-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: var(--cyan);
    letter-spacing: 3px;
    margin-bottom: 10px;
}

.glitch {
    position: relative;
    animation: glitch 3s infinite;
}

@keyframes glitch {
    0%, 90%, 100% { text-shadow: none; }
    92% { text-shadow: 3px 0 var(--pink), -3px 0 var(--cyan); }
    94% { text-shadow: -3px 0 var(--pink), 3px 0 var(--cyan); }
    96% { text-shadow: 3px 0 var(--pink), -3px 0 var(--cyan); }
}

.dots {
    animation: dots 1.5s infinite;
}

@keyframes dots {
    0%, 20% { opacity: 0; }
    40% { opacity: 1; }
    60% { opacity: 1; }
    80%, 100% { opacity: 0; }
}

.progress-bar {
    width: 300px;
    height: 3px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
    margin: 20px auto;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--cyan), var(--violet), var(--pink));
    animation: fillProgress 2.5s ease-out forwards;
}

@keyframes fillProgress {
    0% { width: 0%; }
    50% { width: 60%; }
    100% { width: 100%; }
}

.loader-status {
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    animation: pulse 1.5s infinite;
}

.loader-sigil {
    font-size: 4rem;
    color: var(--cyan);
    text-shadow: 0 0 60px var(--cyan-glow);
    animation: sigilRotate 4s linear infinite;
    margin-top: 20px;
    opacity: 0.8;
}

@keyframes sigilRotate {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes pulse {
    0%, 100% { opacity: 0.5; }
    50% { opacity: 1; }
}

/* ===== MAIN INTERFACE ===== */
#interface {
    position: relative;
    width: 100%;
    height: 100%;
}

/* ===== HUD OVERLAY ===== */
.hud-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-hud);
    padding: 20px;
    background: radial-gradient(ellipse at center, transparent 0%, rgba(5, 5, 8, 0.3) 100%);
}

.hud-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
    padding-bottom: 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hud-left, .hud-right {
    display: flex;
    align-items: center;
    gap: 20px;
}

.logo-small {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 2px;
    font-weight: 600;
}

.logo-icon {
    font-size: 1.25rem;
    animation: iconPulse 2s infinite;
}

@keyframes iconPulse {
    0%, 100% { opacity: 1; text-shadow: 0 0 10px var(--cyan); }
    50% { opacity: 0.6; text-shadow: 0 0 20px var(--cyan); }
}

.system-status {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    display: flex;
    align-items: center;
    gap: 8px;
    color: var(--green);
    letter-spacing: 2px;
    font-weight: 500;
}

.status-indicator {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--green);
    animation: statusPulse 2s infinite;
}

@keyframes statusPulse {
    0%, 100% { box-shadow: 0 0 0 0 var(--green-glow); }
    50% { box-shadow: 0 0 0 10px rgba(0, 255, 136, 0); }
}

.admin-trigger {
    background: rgba(255, 0, 110, 0.1);
    border: 1px solid var(--pink);
    color: var(--pink);
    padding: 8px 16px;
    border-radius: 8px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 8px;
    letter-spacing: 1px;
    pointer-events: auto;
}

.admin-trigger:hover {
    background: rgba(255, 0, 110, 0.3);
    box-shadow: var(--shadow-glow-pink);
}

.time-display {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--cyan);
    letter-spacing: 2px;
    font-weight: 500;
}

/* HUD Controls */
.hud-controls {
    position: absolute;
    top: 80px;
    right: 20px;
    display: flex;
    flex-direction: column;
    gap: 15px;
    pointer-events: auto;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.95) 0%, rgba(20, 20, 35, 0.9) 100%);
    padding: 20px;
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(20px);
    box-shadow: 
        0 10px 40px rgba(0, 0, 0, 0.6),
        0 0 20px rgba(0, 212, 255, 0.1),
        inset 0 0 30px rgba(0, 212, 255, 0.03);
}

.control-group {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.control-group label {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 2px;
}

.control-group input[type="range"] {
    width: 150px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    outline: none;
    -webkit-appearance: none;
}

.control-group input[type="range"]::-webkit-slider-thumb {
    -webkit-appearance: none;
    width: 14px;
    height: 14px;
    background: var(--cyan);
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 0 10px var(--cyan);
}

.hud-btn {
    padding: 12px 18px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: rgba(255, 255, 255, 0.8);
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.625rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
    text-transform: uppercase;
}

.hud-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.15);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.2),
        inset 0 0 10px rgba(0, 212, 255, 0.1);
    transform: translateY(-2px);
}

.hud-btn:hover {
    border-color: var(--cyan);
    color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
}

/* HUD Bottom */
.hud-bottom {
    position: absolute;
    bottom: 20px;
    left: 20px;
    right: 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    pointer-events: auto;
}

.coordinates {
    display: flex;
    gap: 24px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
}

.coord {
    display: flex;
    flex-direction: column;
    gap: 2px;
}

.coord-label {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.625rem;
    letter-spacing: 1px;
}

.coord-value {
    color: var(--cyan);
    font-weight: 500;
    letter-spacing: 1px;
}

.instructions {
    display: flex;
    gap: 20px;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.instructions span {
    display: flex;
    align-items: center;
    gap: 6px;
}

/* ===== 3D CANVAS ===== */
#sphere-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: var(--z-canvas);
    cursor: grab;
    /* Performance: GPU acceleration */
    transform: translateZ(0);
    will-change: transform;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

#sphere-canvas:active {
    cursor: grabbing;
}

/* ===== NODE LABELS ===== */
#node-labels {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-node-labels);
}

.node-label {
    position: absolute;
    transform: translate(-50%, -50%);
    font-family: 'Orbitron', sans-serif;
    font-size: 0.7rem;
    color: var(--cyan);
    text-shadow: 
        0 0 10px var(--cyan-glow), 
        0 0 20px var(--cyan-glow),
        0 0 30px var(--cyan-glow);
    letter-spacing: 2px;
    pointer-events: none;
    opacity: 0;
    transition: all 0.3s ease;
    white-space: nowrap;
    background: rgba(0, 0, 0, 0.8);
    padding: 8px 14px;
    border-radius: 8px;
    border: 1px solid rgba(0, 212, 255, 0.4);
    backdrop-filter: blur(8px);
    box-shadow: 
        0 4px 20px rgba(0, 0, 0, 0.5),
        0 0 20px rgba(0, 212, 255, 0.2),
        inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.node-label.visible {
    opacity: 1;
}

.node-label.admin-label {
    color: var(--pink);
    text-shadow: 0 0 10px var(--pink-glow), 0 0 20px var(--pink-glow);
    border-color: rgba(255, 0, 110, 0.4);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(255, 0, 110, 0.2);
}

/* ===== CONTENT WINDOWS ===== */
#content-windows {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: var(--z-windows);
}

.content-window {
    position: absolute;
    background: linear-gradient(135deg, rgba(10, 10, 15, 0.98) 0%, rgba(20, 20, 35, 0.95) 100%);
    border: 1px solid rgba(0, 212, 255, 0.4);
    border-radius: 16px;
    width: 600px;
    max-height: 80vh;
    pointer-events: auto;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8), 
        0 0 30px rgba(0, 212, 255, 0.3),
        inset 0 0 60px rgba(0, 212, 255, 0.05);
    display: flex;
    flex-direction: column;
    opacity: 0;
    transform: scale(0.9) translateY(20px);
    transition: opacity 0.4s cubic-bezier(0.4, 0, 0.2, 1), 
                transform 0.4s cubic-bezier(0.4, 0, 0.2, 1),
                width 0.3s ease,
                height 0.3s ease,
                top 0.3s ease,
                left 0.3s ease;
    overflow: hidden;
}

.content-window::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--cyan), transparent);
    opacity: 0.6;
}

.content-window.active {
    opacity: 1;
    transform: scale(1) translateY(0);
}

.content-window.minimized {
    height: 50px !important;
    max-height: 50px;
    overflow: hidden;
}

.content-window.maximized {
    width: 90vw !important;
    height: 85vh !important;
    max-height: 85vh;
    top: 7.5vh !important;
    left: 5vw !important;
}

/* Genesis, Store & Neural-OS iframe containers */
.genesis-content,
.store-content,
.vps-content {
    padding: 0 !important;
    overflow: hidden !important;
}

.genesis-content iframe,
.store-content iframe,
.vps-content iframe {
    width: 100% !important;
    height: 100% !important;
    border: none !important;
    display: block;
}

.content-window.admin-window {
    border-color: rgba(0, 243, 255, 0.4);
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.8), 
        0 0 30px rgba(0, 243, 255, 0.4),
        inset 0 0 60px rgba(0, 243, 255, 0.05);
}

.content-window.admin-window::before {
    background: linear-gradient(90deg, transparent, #00f3ff, #7000ff, transparent);
    background-size: 200% 100%;
    animation: borderFlow 3s linear infinite;
}

@keyframes borderFlow {
    0% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

/* Window Header */
.window-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 18px;
    background: rgba(0, 212, 255, 0.05);
    border-bottom: 1px solid rgba(0, 212, 255, 0.2);
    cursor: move;
    user-select: none;
    flex-shrink: 0;
}

.admin-window .window-header {
    background: rgba(255, 0, 110, 0.05);
    border-color: rgba(255, 0, 110, 0.2);
}

.window-title {
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--cyan);
    letter-spacing: 1px;
    font-weight: 500;
}

.admin-window .window-title {
    color: var(--pink);
}

.window-icon {
    font-size: 1.1rem;
}

.status-badge {
    font-size: 0.625rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    font-weight: 600;
    letter-spacing: 1px;
}

.status-badge.beta {
    background: var(--gold);
    color: #000;
}

.status-badge.active {
    background: var(--green);
    color: #000;
    animation: pulse 2s infinite;
}

.admin-badge {
    background: var(--red);
    color: #fff;
    font-size: 0.625rem;
    padding: 2px 8px;
    border-radius: 4px;
    margin-left: 8px;
    letter-spacing: 1px;
}

.window-controls {
    display: flex;
    gap: 6px;
}

.window-controls button {
    width: 26px;
    height: 26px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    background: transparent;
    color: rgba(255, 255, 255, 0.6);
    border-radius: 6px;
    cursor: pointer;
    font-size: 0.9375rem;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s ease;
}

.window-controls button:hover {
    background: rgba(255, 255, 255, 0.1);
    color: #fff;
    border-color: rgba(255, 255, 255, 0.4);
}

.close-btn:hover {
    background: rgba(255, 0, 110, 0.3) !important;
    border-color: var(--pink) !important;
}

/* Window Content */
.window-content {
    flex: 1;
    overflow-y: auto;
    padding: 24px;
}

.window-content::-webkit-scrollbar {
    width: 6px;
}

.window-content::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
    border-radius: 3px;
}

.window-content::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 3px;
}

.window-content::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* ===== CENTRAL WINDOW ===== */
.intro-hero {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.glitch-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 6px;
    margin-bottom: 12px;
    text-shadow: 0 0 30px var(--cyan-glow);
}

@keyframes titleGlitch {
    0%, 92%, 100% { text-shadow: 0 0 30px var(--cyan-glow); transform: translate(0); }
    93% { text-shadow: 3px 0 var(--pink), -3px 0 var(--violet); transform: translate(-3px); }
    94% { text-shadow: -3px 0 var(--pink), 3px 0 var(--violet); transform: translate(3px); }
    95% { text-shadow: 3px 0 var(--pink), -3px 0 var(--violet); transform: translate(-2px); }
    96% { text-shadow: none; transform: translate(0); }
}

.subtitle {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--violet);
    letter-spacing: 4px;
    font-weight: 500;
    margin-bottom: 12px;
}

.tagline {
    font-style: italic;
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.stat-card {
    text-align: center;
    padding: 20px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 12px;
    border: 1px solid rgba(0, 212, 255, 0.15);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.stat-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 212, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.stat-card:hover::before {
    left: 100%;
}

.stat-card:hover {
    border-color: var(--cyan);
    transform: translateY(-4px);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.4),
        0 0 30px rgba(0, 212, 255, 0.2),
        inset 0 0 20px rgba(0, 212, 255, 0.05);
}

.stat-icon {
    font-size: 1.75rem;
    margin-bottom: 8px;
}

.stat-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.75rem;
    color: var(--cyan);
    font-weight: 700;
    margin-bottom: 4px;
}

.stat-label {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.intro-text {
    padding: 20px;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 24px;
}

.intro-text p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    margin-bottom: 12px;
}

.intro-text p:last-child {
    margin-bottom: 0;
}

.quick-links h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--cyan);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.link-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

.quick-link {
    padding: 14px 18px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(0, 212, 255, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.9);
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
    text-align: left;
    display: flex;
    align-items: center;
    gap: 8px;
}

.quick-link:hover {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.15);
    transform: translateX(4px);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.15),
        inset 0 0 10px rgba(0, 212, 255, 0.05);
}

/* ===== NAVIGATION WINDOW ===== */
.nav-visualization {
    display: flex;
    justify-content: center;
    margin-bottom: 30px;
}

.sphere-preview {
    position: relative;
    width: 120px;
    height: 120px;
}

.preview-ring {
    position: absolute;
    border: 2px solid rgba(255, 255, 255, 0.15);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.preview-ring.ring-1 {
    width: 100%;
    height: 100%;
    border-top-color: var(--cyan);
    animation: rotate 4s linear infinite;
}

.preview-ring.ring-2 {
    width: 70%;
    height: 70%;
    border-right-color: var(--violet);
    animation: rotate 3s linear infinite reverse;
}

.preview-ring.ring-3 {
    width: 40%;
    height: 40%;
    border-bottom-color: var(--pink);
    animation: rotate 2s linear infinite;
}

.preview-nodes {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.p-node {
    position: absolute;
    width: 12px;
    height: 12px;
    border-radius: 50%;
    transform: translate(-50%, -50%);
}

.p-node.central {
    width: 24px;
    height: 24px;
    background: var(--cyan);
    top: 50%;
    left: 50%;
    box-shadow: 0 0 15px var(--cyan-glow);
}

.p-node.n-1 { top: 20%; left: 50%; background: var(--violet); box-shadow: 0 0 10px var(--violet-glow); }
.p-node.n-2 { top: 35%; left: 85%; background: var(--pink); box-shadow: 0 0 10px var(--pink-glow); }
.p-node.n-3 { top: 65%; left: 85%; background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }
.p-node.n-4 { top: 80%; left: 50%; background: var(--pink); box-shadow: 0 0 10px var(--pink-glow); }
.p-node.n-5 { top: 65%; left: 15%; background: var(--green); box-shadow: 0 0 10px var(--green-glow); }
.p-node.n-6 { top: 35%; left: 15%; background: var(--red); box-shadow: 0 0 10px var(--red-glow); }

@keyframes rotate {
    to { transform: translate(-50%, -50%) rotate(360deg); }
}

.content-window h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--cyan);
    margin-bottom: 20px;
    letter-spacing: 2px;
}

.nav-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 16px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.nav-item:hover {
    border-color: var(--cyan);
    background: rgba(0, 212, 255, 0.1);
    transform: translateX(8px);
}

.nav-item.admin-item {
    border-color: rgba(255, 0, 110, 0.2);
}

.nav-item.admin-item:hover {
    border-color: var(--pink);
    background: rgba(255, 0, 110, 0.1);
}

.nav-bullet {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    flex-shrink: 0;
}

.nav-bullet.cyan { background: var(--cyan); box-shadow: 0 0 10px var(--cyan-glow); }
.nav-bullet.pink { background: var(--pink); box-shadow: 0 0 10px var(--pink-glow); }
.nav-bullet.gold { background: var(--gold); box-shadow: 0 0 10px var(--gold-glow); }
.nav-bullet.magenta { background: var(--pink); box-shadow: 0 0 10px var(--pink-glow); }
.nav-bullet.green { background: var(--green); box-shadow: 0 0 10px var(--green-glow); }
.nav-bullet.red { background: var(--red); box-shadow: 0 0 10px var(--red-glow); }

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

.nav-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: #fff;
    letter-spacing: 1px;
    margin-bottom: 2px;
}

.nav-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.lock-badge {
    font-size: 0.875rem;
}

/* ===== LORE WINDOW ===== */
.lore-book {
    position: relative;
    background: linear-gradient(to right, rgba(255, 0, 110, 0.05), transparent);
    border-radius: 12px;
    padding: 30px;
    border-left: 3px solid var(--pink);
}

.book-spine {
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 3px;
    background: var(--pink);
    box-shadow: 0 0 20px var(--pink-glow);
}

.lore-chapters {
    position: relative;
}

.chapter {
    display: none;
    animation: fadeInUp 0.5s ease;
}

.chapter.active {
    display: block;
}

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

.chapter-header {
    display: flex;
    align-items: center;
    gap: 16px;
    margin-bottom: 24px;
}

.chapter-number {
    font-family: 'Orbitron', sans-serif;
    font-size: 3rem;
    color: var(--pink);
    font-weight: 900;
    line-height: 1;
    text-shadow: 0 0 20px var(--pink-glow);
}

.chapter-header h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 2px;
}

.chapter-content p {
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.9;
    margin-bottom: 16px;
    font-size: 0.9375rem;
}

.chapter-content .lead {
    font-size: 1.125rem;
    color: var(--pink);
    font-weight: 500;
    border-left: 2px solid var(--pink);
    padding-left: 16px;
    margin-left: -18px;
}

.quote-block {
    margin: 30px 0;
    padding: 24px;
    background: rgba(255, 0, 110, 0.05);
    border-radius: 12px;
    border: 1px solid rgba(255, 0, 110, 0.2);
}

.quote-block blockquote {
    font-style: italic;
    font-size: 1.125rem;
    color: #fff;
    line-height: 1.7;
    margin-bottom: 12px;
}

.quote-block cite {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: var(--pink);
    letter-spacing: 1px;
}

.lore-list {
    list-style: none;
    margin: 20px 0;
}

.lore-list li {
    padding: 10px 0;
    padding-left: 24px;
    position: relative;
    color: rgba(255, 255, 255, 0.8);
}

.lore-list li::before {
    content: '◉';
    position: absolute;
    left: 0;
    color: var(--pink);
}

.lore-list li strong {
    color: var(--pink);
}

.pillars-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin: 24px 0;
}

.pillar {
    display: flex;
    flex-direction: column;
    gap: 6px;
    padding: 16px;
    background: linear-gradient(135deg, rgba(255, 184, 0, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 10px;
    border: 1px solid rgba(255, 184, 0, 0.2);
    transition: all 0.3s ease;
}

.pillar:hover {
    border-color: rgba(255, 184, 0, 0.4);
    box-shadow: 0 0 20px rgba(255, 184, 0, 0.1);
    transform: translateY(-2px);
}

.pillar-icon {
    font-size: 1.5rem;
}

.pillar-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--gold);
    letter-spacing: 1px;
}

.pillar-desc {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
}

.closing {
    margin-top: 30px;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-style: italic;
    color: var(--gold) !important;
}

.chapter-nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 30px;
    padding-top: 24px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 12px 20px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 0, 110, 0.3);
    color: var(--pink);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.nav-btn:hover:not(:disabled) {
    background: rgba(255, 0, 110, 0.2);
    box-shadow: 0 0 15px var(--pink-glow);
}

.nav-btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

.nav-btn span {
    font-size: 1rem;
}

.chapter-dots {
    display: flex;
    gap: 10px;
}

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

.chapter-dots .dot.active {
    background: var(--pink);
    box-shadow: 0 0 15px var(--pink-glow);
}

/* ===== BRAND BIBLE WINDOW ===== */
.brand-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 24px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    padding-bottom: 12px;
    flex-wrap: wrap;
}

.brand-tab {
    padding: 10px 18px;
    background: transparent;
    border: 1px solid transparent;
    color: rgba(255, 255, 255, 0.5);
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9375rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.brand-tab:hover {
    color: #fff;
    background: var(--bg-glass);
}

.brand-tab.active {
    background: rgba(255, 184, 0, 0.1);
    border-color: var(--gold);
    color: var(--gold);
}

.brand-panels {
    position: relative;
}

.brand-panel {
    display: none;
    animation: fadeIn 0.4s ease;
}

.brand-panel.active {
    display: block;
}

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

/* Brand Identity Panel */
.identity-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.logo-showcase {
    text-align: center;
    padding: 40px;
    background: var(--bg-glass);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-main-display {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
}

.logo-mark {
    font-size: 4rem;
    color: var(--cyan);
    text-shadow: 0 0 30px var(--cyan-glow);
    line-height: 1;
}

.logo-text {
    display: flex;
    flex-direction: column;
    align-items: center;
}

.logo-word {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    color: var(--cyan);
    letter-spacing: 8px;
}

.logo-sub {
    font-family: 'Rajdhani', sans-serif;
    font-size: 1rem;
    color: var(--violet);
    letter-spacing: 12px;
    font-weight: 500;
}

.mission-statement h3,
.core-values h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--gold);
    margin-bottom: 12px;
    letter-spacing: 2px;
}

.mission-statement p {
    color: rgba(255, 255, 255, 0.8);
    line-height: 1.8;
    padding-left: 16px;
    border-left: 2px solid var(--gold);
}

.values-list {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.value-item {
    display: flex;
    align-items: flex-start;
    gap: 14px;
    padding: 16px;
    background: var(--bg-glass);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.value-icon {
    font-size: 1.5rem;
    color: var(--gold);
    line-height: 1;
}

.value-content h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9375rem;
    color: #fff;
    margin-bottom: 4px;
    letter-spacing: 1px;
}

.value-content p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Colors Panel */
.colors-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.color-group h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.colors-row {
    display: flex;
    gap: 16px;
    flex-wrap: wrap;
}

.color-card {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 16px;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    flex: 1;
    min-width: 200px;
}

.color-card.primary {
    border-color: rgba(255, 184, 0, 0.3);
}

.color-swatch {
    width: 60px;
    height: 60px;
    border-radius: 12px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    flex-shrink: 0;
}

.color-info {
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.color-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: #fff;
    letter-spacing: 1px;
}

.color-hex {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.color-rgb {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.4);
}

.usage-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.usage-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 16px;
    background: var(--bg-glass);
    border-radius: 8px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.usage-color {
    width: 20px;
    height: 20px;
    border-radius: 4px;
}

.usage-color.cyan { background: var(--cyan); }
.usage-color.violet { background: var(--violet); }
.usage-color.pink { background: var(--pink); }
.usage-color.green { background: var(--green); }

/* Typography Panel */
.typography-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.font-showcase {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.font-card {
    padding: 24px;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.font-name {
    font-size: 1.5rem;
    margin-bottom: 16px;
    color: var(--cyan);
}

.font-sample {
    margin-bottom: 16px;
}

.sample-large {
    font-size: 1.75rem;
    margin-bottom: 8px;
    color: #fff;
}

.sample-medium {
    font-size: 1rem;
    color: rgba(255, 255, 255, 0.7);
    margin-bottom: 12px;
}

.sample-small {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 2px;
}

.font-weights {
    display: flex;
    gap: 16px;
    padding-top: 16px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.type-scale h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.scale-items {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.scale-item {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 16px;
    background: var(--bg-glass);
    border-radius: 8px;
}

.scale-size {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--cyan);
}

.scale-use {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

/* Logo Panel */
.logo-section {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.logo-variations {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
}

.logo-variant {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.logo-variant h5 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.6);
    letter-spacing: 1px;
}

.logo-box {
    padding: 30px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.logo-box.dark {
    background: var(--bg-dark);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.logo-box.light {
    background: #fff;
}

.logo-display {
    display: flex;
    align-items: center;
    gap: 8px;
}

.logo-box.dark .l-mark {
    font-size: 2rem;
    color: var(--cyan);
}

.logo-box.dark .l-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #fff;
    letter-spacing: 2px;
}

.logo-box.light .l-mark {
    font-size: 2rem;
    color: var(--cyan);
}

.logo-box.light .l-text {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: #000;
    letter-spacing: 2px;
}

.l-mark.large {
    font-size: 3rem !important;
}

.logo-variant > p {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.logo-clearspace h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.clearspace-demo {
    position: relative;
    padding: 40px;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: inline-block;
}

.demo-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--cyan);
    letter-spacing: 2px;
}

.clearspace-box {
    position: absolute;
    top: 10px;
    left: 10px;
    right: 10px;
    bottom: 10px;
    border: 1px dashed rgba(255, 184, 0, 0.5);
    border-radius: 8px;
}

.logo-clearspace > p {
    margin-top: 12px;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
}

.download-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.download-btn {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    padding: 14px 28px;
    background: rgba(255, 184, 0, 0.1);
    border: 1px solid var(--gold);
    color: var(--gold);
    border-radius: 10px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.download-btn:hover {
    background: rgba(255, 184, 0, 0.2);
    box-shadow: 0 0 20px var(--gold-glow);
}

/* Voice Panel */
.voice-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.voice-traits {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.voice-card {
    padding: 20px;
    background: linear-gradient(135deg, rgba(112, 0, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border-radius: 12px;
    border-left: 3px solid var(--violet);
    border: 1px solid rgba(112, 0, 255, 0.15);
    border-left-width: 3px;
    transition: all 0.3s ease;
}

.voice-card:hover {
    border-color: rgba(112, 0, 255, 0.3);
    border-left-width: 3px;
    box-shadow: 0 0 30px rgba(112, 0, 255, 0.1);
}

.voice-header {
    display: flex;
    align-items: center;
    gap: 10px;
    margin-bottom: 12px;
}

.voice-icon {
    font-size: 1.5rem;
}

.voice-header h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: #fff;
    letter-spacing: 1px;
}

.voice-card > p {
    font-size: 0.9375rem;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.7;
    margin-bottom: 16px;
}

.voice-example {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.voice-example span {
    font-size: 0.875rem;
    padding: 8px 12px;
    border-radius: 6px;
}

.voice-example .bad {
    background: rgba(255, 51, 51, 0.1);
    color: #ff6666;
}

.voice-example .good {
    background: rgba(0, 255, 136, 0.1);
    color: var(--green);
}

.writing-guidelines {
    padding: 24px;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.writing-guidelines h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: var(--gold);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.writing-guidelines ul {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.writing-guidelines li {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
    padding-left: 20px;
    position: relative;
}

.writing-guidelines li::before {
    content: '→';
    position: absolute;
    left: 0;
    color: var(--violet);
}

/* ===== VERILY WINDOW ===== */
.verily-hero {
    text-align: center;
    padding-bottom: 30px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
    margin-bottom: 30px;
}

.verily-visual {
    margin-bottom: 24px;
}

.brain-canvas {
    width: 140px;
    height: 140px;
    margin: 0 auto;
    position: relative;
}

.neural-network {
    width: 100%;
    height: 100%;
    position: relative;
}

.n-node {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--pink);
    border-radius: 50%;
    box-shadow: 0 0 15px var(--pink-glow);
    animation: nodePulse 2s infinite;
}

.n-node.n-1 { top: 50%; left: 50%; width: 20px; height: 20px; background: var(--violet); }
.n-node.n-2 { top: 30%; left: 30%; animation-delay: 0.2s; }
.n-node.n-3 { top: 30%; left: 70%; animation-delay: 0.4s; }
.n-node.n-4 { top: 70%; left: 30%; animation-delay: 0.6s; }
.n-node.n-5 { top: 70%; left: 70%; animation-delay: 0.8s; }
.n-node.n-6 { top: 20%; left: 50%; width: 10px; height: 10px; animation-delay: 1s; }

@keyframes nodePulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.3); opacity: 0.7; }
}

.connections {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
}

.n-line {
    stroke: var(--pink);
    stroke-width: 1;
    opacity: 0.4;
    animation: linePulse 2s infinite;
}

.verily-intro h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    color: var(--pink);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.verily-intro .tagline {
    color: rgba(255, 255, 255, 0.6);
    font-size: 1rem;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
    margin-bottom: 30px;
}

.feature-card {
    padding: 20px;
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    border-color: var(--pink);
    transform: translateY(-4px);
}

.f-icon {
    font-size: 2rem;
    margin-bottom: 12px;
}

.feature-card h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9375rem;
    color: #fff;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

.feature-card p {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.6);
    line-height: 1.6;
}

.showcase-section h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--cyan);
    margin-bottom: 16px;
    letter-spacing: 2px;
}

.image-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.showcase-img {
    aspect-ratio: 1;
    border-radius: 12px;
    position: relative;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.showcase-img:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.img-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 12px;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), transparent);
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.showcase-img:hover .img-overlay {
    opacity: 1;
}

.cta-section {
    text-align: center;
    padding-top: 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.cta-btn {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 6px;
    padding: 18px 40px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    border: none;
    border-radius: 12px;
    color: #fff;
    cursor: not-allowed;
    opacity: 0.6;
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    letter-spacing: 2px;
    transition: all 0.3s ease;
}

.cta-btn:not(:disabled) {
    cursor: pointer;
    opacity: 1;
}

.cta-btn:not(:disabled):hover {
    box-shadow: 0 0 40px var(--pink-glow);
    transform: translateY(-2px);
}

.btn-text {
    font-weight: 600;
}

.btn-badge {
    font-size: 0.625rem;
    opacity: 0.8;
    letter-spacing: 2px;
}

.cta-note {
    margin: 16px 0;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.5);
}

.waitlist-form {
    display: flex;
    gap: 12px;
    justify-content: center;
    max-width: 400px;
    margin: 0 auto;
}

.email-input {
    flex: 1;
    padding: 12px 16px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    color: #fff;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9375rem;
    outline: none;
    transition: all 0.3s ease;
}

.email-input:focus {
    border-color: var(--pink);
    box-shadow: 0 0 15px var(--pink-glow);
}

.email-input::placeholder {
    color: rgba(255, 255, 255, 0.4);
}

.submit-btn {
    padding: 12px 24px;
    background: var(--pink);
    border: none;
    border-radius: 8px;
    color: #fff;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.submit-btn:hover {
    background: #ff3388;
    box-shadow: 0 0 20px var(--pink-glow);
}

/* ===== STORE WINDOW ===== */
.store-header {
    display: flex;
    justify-content: flex-end;
    margin-bottom: 20px;
}

.cart-summary {
    display: flex;
    align-items: center;
    gap: 16px;
    padding: 12px 20px;
    background: var(--bg-glass);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.cart-icon {
    font-size: 1.25rem;
}

.cart-count {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.7);
}

.cart-total {
    font-family: 'Orbitron', sans-serif;
    font-size: 1rem;
    color: var(--green);
    font-weight: 600;
}

.store-categories {
    display: flex;
    gap: 10px;
    margin-bottom: 24px;
    flex-wrap: wrap;
}

.category-btn {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 10px 18px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 20px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-family: 'Rajdhani', sans-serif;
    font-size: 0.9375rem;
    transition: all 0.3s ease;
}

.category-btn:hover {
    border-color: var(--green);
    color: #fff;
}

.category-btn.active {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--green);
    color: var(--green);
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
}

.product-card {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.05) 0%, rgba(255, 255, 255, 0.02) 100%);
    border: 1px solid rgba(0, 255, 136, 0.15);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.product-card:hover {
    border-color: var(--green);
    transform: translateY(-4px);
    box-shadow: 
        0 15px 40px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(0, 255, 136, 0.15);
}

.product-image {
    height: 140px;
    position: relative;
}

.product-badge {
    position: absolute;
    top: 12px;
    left: 12px;
    padding: 4px 10px;
    background: var(--gold);
    color: #000;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.625rem;
    font-weight: 600;
    letter-spacing: 1px;
    border-radius: 4px;
}

.product-info {
    padding: 16px;
}

.product-name {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9375rem;
    color: #fff;
    margin-bottom: 6px;
    letter-spacing: 1px;
}

.product-desc {
    font-size: 0.8125rem;
    color: rgba(255, 255, 255, 0.5);
    margin-bottom: 12px;
}

.product-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.product-price {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.125rem;
    color: var(--green);
    font-weight: 600;
}

.add-to-cart {
    padding: 8px 16px;
    background: transparent;
    border: 1px solid var(--green);
    color: var(--green);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.625rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.add-to-cart:hover {
    background: var(--green);
    color: var(--bg-dark);
}

/* ===== VPS MANAGER WINDOW ===== */
.auth-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 5, 8, 0.98);
    z-index: calc(var(--z-windows) + 10);
    display: flex;
    align-items: center;
    justify-content: center;
    backdrop-filter: blur(10px);
}

.auth-overlay.hidden {
    display: none;
}

.auth-panel {
    text-align: center;
    padding: 40px;
    max-width: 400px;
}

.auth-visual {
    margin-bottom: 24px;
}

.lock-icon-large {
    font-size: 4rem;
    animation: lockPulse 2s infinite;
}

@keyframes lockPulse {
    0%, 100% { transform: scale(1); opacity: 1; }
    50% { transform: scale(1.1); opacity: 0.8; }
}

.auth-panel h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: var(--pink);
    margin-bottom: 8px;
    letter-spacing: 2px;
}

.auth-subtitle {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.875rem;
    margin-bottom: 30px;
}

.auth-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

#admin-password {
    width: 100%;
    padding: 14px 18px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 0, 110, 0.3);
    border-radius: 10px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 1.125rem;
    letter-spacing: 4px;
    text-align: center;
    outline: none;
    transition: all 0.3s ease;
}

#admin-password:focus {
    border-color: var(--pink);
    box-shadow: var(--shadow-glow-pink);
}

.auth-btn {
    width: 100%;
    padding: 14px;
    background: linear-gradient(135deg, var(--pink), var(--violet));
    border: none;
    border-radius: 10px;
    color: #fff;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.9375rem;
    letter-spacing: 2px;
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-btn:hover {
    box-shadow: var(--shadow-glow-pink);
}

.auth-error {
    color: var(--red);
    font-size: 0.875rem;
    margin-top: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.auth-error.visible {
    opacity: 1;
}

.auth-hint {
    margin-top: 20px;
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.3);
}

/* 2FA Styles */
.two-factor-input {
    text-align: center;
    font-size: 1.5rem;
    letter-spacing: 8px;
    border-color: #00f3ff !important;
    font-family: 'Orbitron', monospace;
    width: 200px;
    margin: 0 auto;
}

.two-factor-input:focus {
    box-shadow: 0 0 20px rgba(0, 243, 255, 0.3);
}

.two-factor-buttons {
    display: flex;
    flex-direction: column;
    gap: 10px;
    margin-top: 20px;
}

.two-factor-buttons .auth-btn {
    margin-top: 0;
}

.two-factor-buttons .auth-btn.secondary {
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.3);
    color: rgba(255, 255, 255, 0.7);
}

.two-factor-buttons .auth-btn.secondary:hover {
    border-color: #00f3ff;
    color: #00f3ff;
}

.two-factor-buttons .auth-btn.cancel {
    background: transparent;
    border: 1px solid #ff006e;
    color: #ff006e;
}

.two-factor-buttons .auth-btn.cancel:hover {
    background: rgba(255, 0, 110, 0.1);
}

.phone-display {
    color: #ff00ff;
    font-family: 'Orbitron', monospace;
    font-size: 1.1rem;
    margin: 10px 0;
    padding: 8px 16px;
    background: rgba(255, 0, 255, 0.1);
    border-radius: 8px;
    display: inline-block;
    letter-spacing: 2px;
}

.code-expiry {
    color: rgba(255, 255, 255, 0.5);
    font-size: 0.75rem;
    margin-top: 10px;
}

.auth-btn:disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* Dashboard */
.dashboard-overview {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.metric-cards {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
}

.metric-card {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 16px;
    background: var(--bg-glass);
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.metric-icon {
    font-size: 1.5rem;
}

.metric-data {
    display: flex;
    flex-direction: column;
}

.metric-value {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.25rem;
    color: var(--pink);
    font-weight: 600;
}

.metric-label {
    font-size: 0.625rem;
    color: rgba(255, 255, 255, 0.5);
    letter-spacing: 1px;
}

.servers-section {
    background: var(--bg-glass);
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

.section-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.section-header-bar h4 {
    font-family: 'Orbitron', sans-serif;
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.8);
    letter-spacing: 2px;
}

.refresh-btn {
    padding: 8px 14px;
    background: transparent;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 6px;
    color: rgba(255, 255, 255, 0.6);
    cursor: pointer;
    font-size: 0.75rem;
    transition: all 0.3s ease;
}

.refresh-btn:hover {
    border-color: var(--pink);
    color: var(--pink);
}

.servers-list {
    display: flex;
    flex-direction: column;
}

.server-row {
    display: grid;
    grid-template-columns: 20px 1.5fr 1.5fr 80px 80px auto;
    align-items: center;
    gap: 16px;
    padding: 14px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    font-size: 0.8125rem;
}

.server-row:last-child {
    border-bottom: none;
}

.server-status {
    width: 12px;
    height: 12px;
    border-radius: 50%;
}

.server-status.online {
    background: var(--green);
    box-shadow: 0 0 10px var(--green-glow);
}

.server-status.warning {
    background: var(--gold);
    box-shadow: 0 0 10px var(--gold-glow);
    animation: warningPulse 1s infinite;
}

@keyframes warningPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.server-name {
    font-family: 'Orbitron', sans-serif;
    color: #fff;
    letter-spacing: 1px;
}

.server-specs {
    color: rgba(255, 255, 255, 0.5);
}

.server-region {
    color: rgba(255, 255, 255, 0.4);
    font-size: 0.75rem;
}

.server-load {
    display: flex;
    align-items: center;
    gap: 8px;
}

.load-bar {
    width: 40px;
    height: 4px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 2px;
    overflow: hidden;
}

.load-fill {
    height: 100%;
    background: var(--green);
    border-radius: 2px;
    transition: width 0.3s ease;
}

.load-fill.high {
    background: var(--gold);
}

.server-load span {
    font-size: 0.75rem;
    color: rgba(255, 255, 255, 0.5);
}

.server-btn {
    padding: 6px 12px;
    background: transparent;
    border: 1px solid var(--pink);
    color: var(--pink);
    border-radius: 6px;
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.625rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.server-btn:hover {
    background: var(--pink);
    color: #fff;
}

.action-bar {
    display: flex;
    gap: 12px;
}

.action-btn {
    flex: 1;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    padding: 14px;
    background: var(--bg-glass);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    color: rgba(255, 255, 255, 0.7);
    cursor: pointer;
    font-family: 'Orbitron', sans-serif;
    font-size: 0.75rem;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.action-btn:hover {
    border-color: var(--pink);
    color: #fff;
    background: rgba(255, 0, 110, 0.1);
}

.action-btn.primary {
    background: rgba(0, 255, 136, 0.1);
    border-color: var(--green);
    color: var(--green);
}

.action-btn.primary:hover {
    background: var(--green);
    color: var(--bg-dark);
}

.action-btn.danger {
    background: rgba(255, 51, 51, 0.1);
    border-color: var(--red);
    color: var(--red);
}

.action-btn.danger:hover {
    background: var(--red);
    color: #fff;
}

.action-btn span {
    font-size: 1rem;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
    .content-window {
        width: 90vw !important;
        left: 5vw !important;
    }
    
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .metric-cards {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .products-grid {
        grid-template-columns: 1fr;
    }
    
    .logo-variations {
        grid-template-columns: 1fr;
    }
    
    .pillars-grid {
        grid-template-columns: 1fr;
    }
    
    .image-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .hud-controls {
        display: none;
    }
    
    .instructions {
        display: none;
    }
    
    .coordinates {
        flex-wrap: wrap;
        gap: 12px;
    }
    
    .glitch-title {
        font-size: 1.75rem;
    }
    
    .link-grid {
        grid-template-columns: 1fr;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
    }
    
    .colors-row {
        flex-direction: column;
    }
    
    .color-card {
        min-width: auto;
    }
    
    .chapter-number {
        font-size: 2rem;
    }
    
    .server-row {
        grid-template-columns: 1fr;
        gap: 8px;
    }
    
    .action-bar {
        flex-direction: column;
    }
    
    .waitlist-form {
        flex-direction: column;
    }
}

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

::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.03);
}

::-webkit-scrollbar-thumb {
    background: rgba(0, 212, 255, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(0, 212, 255, 0.5);
}

/* ===== ANIMATIONS ===== */
@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

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

/* ===== PERFORMANCE OPTIMIZATIONS ===== */
/* GPU acceleration for animated elements */
.content-window,
.node-label,
.auth-overlay,
#loading-screen {
    transform: translateZ(0);
    will-change: auto;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
}

/* Reduce paint areas */
.content-window {
    contain: layout style paint;
}

/* Optimize iframes */
iframe {
    will-change: auto;
    transform: translateZ(0);
}

/* Reduce motion for users who prefer it */
@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;
    }
    
    #sphere-canvas {
        display: none;
    }
    
    .sphere-container::before {
        content: '◉';
        position: fixed;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        font-size: 8rem;
        color: var(--cyan);
        text-shadow: 0 0 50px var(--cyan-glow);
        z-index: 10;
    }
}

/* Low power mode detection */
@media (prefers-reduced-data: reduce) {
    #sphere-canvas {
        opacity: 0.5;
    }
}