/* ============================================================================
   CDARS ADMINISTRATION
   WHITE JURISDICTION (#F3F6FF) · CENTRAL GOVERNANCE · THE SPINAL CORD
   SURGICAL · PRECISE · MINIMAL · AUTHORITATIVE
   ============================================================================ */

:root {
    /* Administration Identity - White */
    --admin-white: #F3F6FF;
    --admin-white-dim: rgba(243, 246, 255, 0.1);
    --admin-white-glow: rgba(243, 246, 255, 0.15);
    --admin-white-soft: rgba(243, 246, 255, 0.05);
    --admin-silver: #E0E5F0;
    --admin-steel: #2A2F38;
    --admin-gold: #FFD700;
    
    /* GATE FOUNDATION */
    --void: #05070c;
    --void-deep: #03040a;
    --abyss: #020308;
    
    /* Surface Layers - Glass panels */
    --panel-glass: rgba(18, 22, 30, 0.6);
    --panel-deep: rgba(8, 12, 20, 0.85);
    --panel-edge: rgba(255, 255, 255, 0.08);
    --panel-edge-admin: rgba(243, 246, 255, 0.1);
    
    /* Typography */
    --text-primary: rgba(255, 255, 255, 0.98);
    --text-secondary: rgba(255, 255, 255, 0.82);
    --text-tertiary: rgba(255, 255, 255, 0.62);
    
    /* Spacing - Clean, precise */
    --radius-large: 24px;
    --radius-medium: 16px;
    --radius-small: 8px;
    --radius-pill: 999px;
    
    /* Shadows - Clean, minimal */
    --shadow-cosmic: 0 25px 50px -12px rgba(0, 0, 0, 0.8);
    --shadow-admin: 0 0 40px rgba(243, 246, 255, 0.1);
    
    /* Transitions - Micro only */
    --curve-smooth: cubic-bezier(0.16, 1, 0.3, 1);
    --curve-breathe: cubic-bezier(0.87, 0, 0.13, 1);
    --curve-spring: cubic-bezier(0.34, 1.56, 0.64, 1);
    --curve-surgical: cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Mouse position */
    --mouse-x: 50%;
    --mouse-y: 50%;
    
    /* Card index */
    --card-index: 0;
    
    /* White rhythm - very slow micro-breathing */
    --white-beat: 4s;
}

/* ============================================================================
   REALM BASE
   ============================================================================ */
* { margin: 0; padding: 0; box-sizing: border-box; }

html {
    background: var(--void-deep);
    color: var(--text-primary);
    font-size: 16px;
    overflow-x: hidden;
}

body {
    font-family: 'Inter', sans-serif;
    min-height: 100vh;
    background: var(--void-deep);
    opacity: 0;
    animation: reality-manifest 1.2s var(--curve-smooth) forwards;
    line-height: 1.6;
    padding-bottom: 50px;
    position: relative;
    overflow-x: hidden;
    font-weight: 400;
}

@keyframes reality-manifest {
    0% { opacity: 0; filter: blur(10px); }
    100% { opacity: 1; filter: blur(0); }
}

/* ============================================================================
   QUANTUM REALITY LAYER - MINIMAL VERSION (ALMOST INVISIBLE)
   ============================================================================ */
.quantum-reality-layer {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 4;
    overflow: hidden;
    opacity: 0.2;
}

.reality-thread {
    position: fixed;
    pointer-events: none;
    z-index: 5;
    mix-blend-mode: screen;
    will-change: transform, opacity;
    opacity: 0.15;
    filter: blur(1.5px);
    box-shadow: 0 0 15px currentColor;
}

.quantum-particle {
    position: fixed;
    width: 2px;
    height: 2px;
    border-radius: 50%;
    background: var(--admin-white);
    filter: blur(1px);
    animation: particle-drift linear infinite;
    pointer-events: none;
    z-index: 4;
    opacity: 0.1;
    mix-blend-mode: screen;
}

@keyframes particle-drift {
    from { transform: translate(0, 0) rotate(0deg); }
    to { transform: translate(100vw, 100vh) rotate(360deg); }
}

/* ============================================================================
   MAIN CONTAINER
   ============================================================================ */
.wrap {
    max-width: 1600px;
    margin: 0 auto;
    padding: 2rem;
    position: relative;
    z-index: 10;
}

/* ============================================================================
   TOPBAR NAVIGATION - GLASS PANEL
   ============================================================================ */
.topbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
    padding: 0.8rem 1.5rem;
    background: var(--panel-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-edge-admin);
    border-radius: var(--radius-medium);
    box-shadow: 0 8px 32px rgba(0, 0, 0, 0.2);
    z-index: 100;
    position: relative;
    width: 100%;
}

.brand {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-shrink: 0;
}

.sigil {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    border: 1px solid rgba(255, 215, 0, 0.3);
    position: relative;
    overflow: hidden;
    flex-shrink: 0;
}

.sigil::after {
    content: '';
    position: absolute;
    inset: -40%;
    background: 
        radial-gradient(6px 6px at 18% 30%, rgba(255,255,255,0.45), transparent 55%),
        radial-gradient(3px 3px at 65% 65%, rgba(255,255,255,0.30), transparent 55%);
    opacity: 0.8;
    animation: sigilSpin 18s linear infinite;
}

@keyframes sigilSpin {
    to { transform: rotate(360deg); }
}

.brand h1 {
    font-family: 'Cinzel', serif;
    font-size: 1.4rem;
    background: linear-gradient(135deg, #fff, var(--admin-white), var(--admin-gold));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    white-space: nowrap;
}

.sub {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    white-space: nowrap;
}

.presence-indicator {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background: rgba(0, 0, 0, 0.3);
    border-radius: var(--radius-medium);
    border: 1px solid var(--admin-white);
    flex-shrink: 0;
}

.presence-pulse {
    width: 8px;
    height: 8px;
    background: #50ffb4;
    border-radius: 50%;
    animation: pulse 2s infinite;
}

.presence-count {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
}

.nav {
    display: flex;
    gap: 0.8rem;
    align-items: center;
    flex-wrap: wrap;
    justify-content: flex-end;
    flex-shrink: 0;
}

.nav-item {
    padding: 0.6rem 1.2rem;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-medium);
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.85rem;
    transition: all 0.2s var(--curve-surgical);
    white-space: nowrap;
}

.nav-item:hover {
    border-color: var(--admin-white);
    background: var(--admin-white-dim);
    transform: translateY(-1px);
}

.user-badge {
    background: var(--admin-white-dim);
    border: 1px solid var(--admin-white);
    color: var(--admin-white);
    padding: 0.3rem 1rem;
    border-radius: var(--radius-medium);
    font-size: 0.75rem;
    font-weight: 700;
    white-space: nowrap;
}

.executive-badge {
    background: var(--admin-gold);
    border: 1px solid var(--admin-gold);
    color: #000;
    padding: 0.3rem 1rem;
    border-radius: var(--radius-medium);
    font-size: 0.75rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    white-space: nowrap;
}

/* ============================================================================
   JOURNEY PATH - FIXED POSITION
   ============================================================================ */
.journey-path {
    position: fixed;
    top: 100px;
    left: 20px;
    z-index: 9998;
    background: var(--panel-deep);
    border: 1px solid var(--admin-white);
    border-radius: var(--radius-medium);
    padding: 8px 16px;
    backdrop-filter: blur(8px);
    font-size: 0.8rem;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 20px var(--admin-white-glow);
    animation: journey-appear 0.5s var(--curve-spring);
    pointer-events: none;
    max-width: 80%;
    overflow-x: auto;
    white-space: nowrap;
}

.journey-path::-webkit-scrollbar {
    display: none;
}

.journey-icon {
    color: var(--admin-white);
    font-size: 1rem;
    flex-shrink: 0;
}

.journey-steps {
    display: flex;
    gap: 5px;
    color: var(--text-secondary);
}

.journey-step {
    display: flex;
    align-items: center;
    gap: 5px;
    white-space: nowrap;
}

.journey-step.active {
    color: var(--admin-white);
    font-weight: 700;
}

.journey-step::after {
    content: '→';
    margin-left: 5px;
    color: var(--text-tertiary);
}

.journey-step:last-child::after {
    display: none;
}

@keyframes journey-appear {
    from { opacity: 0; transform: translateX(-50px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================================================
   SPINAL MARKER - SYMBOL OF CENTRAL GOVERNANCE
   ============================================================================ */
.spinal-marker {
    position: relative;
    width: 120px;
    height: 120px;
    margin-bottom: 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.spinal-line {
    width: 100%;
    height: 2px;
    background: var(--admin-white);
    margin: 6px 0;
    opacity: 0.3;
    animation: spinal-pulse 5s ease-in-out infinite;
}

.spinal-line:nth-child(1) { animation-delay: 0s; width: 40%; }
.spinal-line:nth-child(2) { animation-delay: 0.5s; width: 70%; }
.spinal-line:nth-child(3) { animation-delay: 1s; width: 100%; }

.spinal-pulse {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: var(--admin-white);
    filter: blur(8px);
    animation: spinal-core 4s ease-in-out infinite;
    opacity: 0.2;
}

@keyframes spinal-pulse {
    0%, 100% { opacity: 0.3; transform: scaleX(1); }
    50% { opacity: 0.5; transform: scaleX(1.1); }
}

@keyframes spinal-core {
    0%, 100% { opacity: 0.2; transform: scale(1); }
    50% { opacity: 0.4; transform: scale(1.5); }
}

/* ============================================================================
   HERO SECTION
   ============================================================================ */
.hero {
    display: grid;
    grid-template-columns: 1.2fr 0.8fr;
    gap: 2rem;
    margin-bottom: 4rem;
    align-items: center;
}

.hero-left {
    padding: 2rem;
    background: var(--panel-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-edge-admin);
    border-radius: var(--radius-large);
    position: relative;
    overflow: hidden;
    transition: all 0.2s var(--curve-surgical);
    animation: admin-breathe 8s var(--curve-surgical) infinite;
    --card-index: 1;
}

.hero-left:hover {
    border-color: var(--admin-white);
    box-shadow: var(--shadow-admin);
    transform: translateY(-1px);
    animation-play-state: paused;
}

.hero-left::before {
    content: '';
    position: absolute;
    inset: 0;
    background: url('/assets/domains/administration/admin-hero.webp') center/cover no-repeat;
    opacity: 0.1;
    z-index: 0;
}

.hero-left::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at var(--mouse-x, 50%) var(--mouse-y, 50%), 
                var(--admin-white-glow), transparent 60%);
    opacity: 0;
    transition: opacity 0.2s ease;
    pointer-events: none;
    z-index: 1;
}

.hero-left:hover::after {
    opacity: 0.1;
}

.hero-left > * {
    position: relative;
    z-index: 2;
}

.kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.4rem 1rem;
    background: var(--admin-white-dim);
    border: 1px solid rgba(243, 246, 255, 0.2);
    border-radius: var(--radius-medium);
    color: var(--admin-white);
    font-size: 0.75rem;
    font-weight: 800;
    text-transform: uppercase;
    margin-bottom: 1.5rem;
}

.dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--admin-white);
    box-shadow: 0 0 15px var(--admin-white);
}

.title {
    font-family: 'Cinzel', serif;
    font-size: clamp(2.2rem, 4vw, 3.2rem);
    font-weight: 800;
    line-height: 1.2;
    margin-bottom: 1rem;
    color: var(--admin-white);
}

.desc {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    margin-bottom: 2rem;
    max-width: 600px;
    font-weight: 400;
}

.desc strong {
    color: var(--admin-white);
    font-weight: 700;
}

.stats {
    display: flex;
    gap: 2rem;
}

.stat {
    text-align: center;
}

.stat-number {
    font-size: 2rem;
    font-weight: 800;
    color: var(--admin-white);
    text-shadow: 0 0 20px var(--admin-white-glow);
    animation: stat-minimal 4s ease-in-out infinite;
}

@keyframes stat-minimal {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.95; }
}

.stat-label {
    color: var(--text-tertiary);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.hero-right {
    padding: 2rem;
    background: var(--panel-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-edge-admin);
    border-radius: var(--radius-large);
    transition: all 0.2s var(--curve-surgical);
    animation: admin-breathe 8s var(--curve-surgical) infinite;
    animation-delay: 0.3s;
    --card-index: 2;
}

.hero-right:hover {
    border-color: var(--admin-white);
    box-shadow: var(--shadow-admin);
    transform: translateY(-1px);
    animation-play-state: paused;
}

.seal {
    aspect-ratio: 1/1;
    background: url('/assets/domains/administration/admin-seal.webp') center/contain no-repeat;
    opacity: 0.9;
    margin-bottom: 1rem;
    transition: all 0.2s ease;
}

.seal:hover {
    opacity: 1;
    transform: scale(1.005);
    filter: drop-shadow(0 0 20px var(--admin-white));
}

.seal-meta {
    display: grid;
    gap: 0.8rem;
}

.meta-line {
    display: flex;
    justify-content: space-between;
    padding: 0.5rem 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    color: var(--text-tertiary);
    font-weight: 400;
}

.meta-line span:last-child {
    color: var(--admin-white);
    font-weight: 600;
}

/* ============================================================================
   LEGENDARY CROWN
   ============================================================================ */
.legendary-crown {
    margin: 2rem 0 3rem;
    padding: 2rem 0 1.5rem;
    background: var(--panel-deep);
    border-top: 2px solid var(--panel-edge-admin);
    border-bottom: 2px solid var(--panel-edge-admin);
    border-radius: var(--radius-large);
    position: relative;
    overflow: visible;
    z-index: 50;
}

.crown-glow {
    position: absolute;
    inset: -20px;
    background: radial-gradient(circle at 50% 50%, var(--admin-white-dim), transparent 70%);
    opacity: 0.3;
    pointer-events: none;
    animation: crown-pulse 8s ease-in-out infinite;
}

@keyframes crown-pulse {
    0%, 100% { opacity: 0.3; transform: scale(1); }
    50% { opacity: 0.5; transform: scale(1.05); }
}

.crown-header {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    background: var(--admin-white);
    color: #000;
    font-size: 0.7rem;
    font-weight: 800;
    padding: 0.2rem 1.2rem;
    border-radius: var(--radius-medium);
    letter-spacing: 0.2em;
    white-space: nowrap;
    box-shadow: 0 0 20px var(--admin-white);
    z-index: 55;
}

.crown-track-container {
    position: relative;
    overflow: visible;
    padding: 0 2rem;
}

.crown-gradient-left,
.crown-gradient-right {
    position: absolute;
    top: 0;
    bottom: 0;
    width: 100px;
    pointer-events: none;
    z-index: 52;
}

.crown-gradient-left {
    left: 0;
    background: linear-gradient(90deg, var(--panel-deep), transparent);
}

.crown-gradient-right {
    right: 0;
    background: linear-gradient(-90deg, var(--panel-deep), transparent);
}

.crown-track {
    display: flex;
    gap: 1.5rem;
    padding: 1rem 0.5rem 2rem;
    overflow-x: auto;
    overflow-y: visible;
    scroll-behavior: smooth;
    scrollbar-width: thin;
    scrollbar-color: var(--admin-white) var(--panel-edge);
    -webkit-overflow-scrolling: touch;
    position: relative;
    z-index: 51;
}

.crown-track::-webkit-scrollbar {
    height: 4px;
}

.crown-track::-webkit-scrollbar-track {
    background: var(--panel-edge);
    border-radius: 10px;
}

.crown-track::-webkit-scrollbar-thumb {
    background: var(--admin-white);
    border-radius: 4px;
}

/* Crown Jewel Styles */
.crown-jewel {
    position: relative;
    width: 80px;
    height: 80px;
    flex-shrink: 0;
    cursor: pointer;
    transition: all 0.4s var(--curve-surgical);
    filter: drop-shadow(0 0 8px var(--jewel-color));
    z-index: 53;
}

.crown-jewel::before {
    content: '';
    position: absolute;
    inset: -5px;
    border-radius: 50%;
    background: var(--jewel-color);
    opacity: 0;
    transition: opacity 0.3s ease;
    filter: blur(10px);
    z-index: -1;
}

.crown-jewel:hover::before {
    opacity: 0.4;
}

.crown-jewel:hover {
    transform: scale(1.12) translateY(-5px);
    z-index: 200;
}

.crown-jewel.active {
    transform: scale(1.08);
    filter: drop-shadow(0 0 20px var(--jewel-color));
    animation: admin-crown-pulse 5s var(--curve-surgical) infinite;
}

@keyframes admin-crown-pulse {
    0%, 100% {
        filter: drop-shadow(0 0 15px var(--jewel-color));
    }
    50% {
        filter: drop-shadow(0 0 25px var(--jewel-color));
    }
}

.crown-jewel.active::after {
    content: '✦';
    position: absolute;
    top: -15px;
    left: 50%;
    transform: translateX(-50%);
    color: var(--jewel-color);
    font-size: 1rem;
    animation: admin-star 3s ease-in-out infinite;
    text-shadow: 0 0 10px currentColor;
}

@keyframes admin-star {
    0%, 100% { 
        opacity: 0.6; 
        transform: translateX(-50%) scale(1);
    }
    50% { 
        opacity: 1; 
        transform: translateX(-50%) scale(1.2);
    }
}

.jewel-face {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--jewel-color);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    box-shadow: 0 0 25px var(--jewel-color), 
                inset 0 0 15px rgba(255, 255, 255, 0.6);
    border: 2px solid rgba(255, 255, 255, 0.5);
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.jewel-face::after {
    content: '';
    position: absolute;
    inset: 0;
    background: radial-gradient(circle at 30% 30%, 
                rgba(255, 255, 255, 0.9), 
                transparent 70%);
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.crown-jewel:hover .jewel-face::after {
    opacity: 0.5;
}

.jewel-icon {
    font-size: 2rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    transition: transform 0.2s var(--curve-surgical);
    line-height: 1;
}

.crown-jewel:hover .jewel-icon {
    transform: scale(1.08);
}

.jewel-name {
    font-size: 0.7rem;
    font-weight: 800;
    text-transform: uppercase;
    color: #000;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.9);
    letter-spacing: 0.05em;
    text-align: center;
    line-height: 1.2;
    max-width: 70px;
}

/* ============================================================================
   CROWN HOVER PORTAL
   ============================================================================ */
.crown-hover-portal {
    position: fixed;
    pointer-events: none;
    z-index: 9999;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.crown-hover-portal.visible {
    opacity: 1;
}

.hover-card {
    background: var(--panel-deep);
    border: 2px solid var(--hover-color);
    border-radius: var(--radius-large);
    padding: 1.5rem;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8), 
                0 0 30px var(--hover-color);
    backdrop-filter: blur(12px);
    width: 280px;
    transform-origin: center;
    animation: admin-hover-appear 0.3s var(--curve-surgical);
    position: relative;
}

@keyframes admin-hover-appear {
    from {
        opacity: 0;
        transform: scale(0.96);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

.hover-arrow {
    position: absolute;
    width: 14px;
    height: 14px;
    background: var(--panel-deep);
    border-right: 2px solid var(--hover-color);
    border-bottom: 2px solid var(--hover-color);
}

.hover-arrow.above {
    bottom: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(45deg);
}

.hover-arrow.below {
    top: -7px;
    left: 50%;
    transform: translateX(-50%) rotate(225deg);
}

.hover-title {
    display: block;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--hover-color);
    margin-bottom: 0.3rem;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    font-family: 'Cinzel', serif;
}

.hover-domain {
    display: block;
    font-size: 0.95rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.8rem;
    padding-bottom: 0.5rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.hover-meaning {
    display: block;
    font-size: 0.8rem;
    color: var(--text-secondary);
    line-height: 1.5;
    margin-bottom: 1rem;
    font-style: italic;
}

.hover-preview {
    display: flex;
    justify-content: space-between;
    font-size: 0.75rem;
    color: var(--text-tertiary);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 0.8rem;
}

.hover-preview span {
    display: flex;
    align-items: center;
    gap: 0.3rem;
}

.hover-preview i {
    color: var(--hover-color);
    font-size: 0.9rem;
}

/* ============================================================================
   LAYER SECTIONS
   ============================================================================ */
.layer-section {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--panel-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-edge-admin);
    border-radius: var(--radius-large);
}

.layer-1 { border-left: 4px solid #00ff8840; }
.layer-2 { border-left: 4px solid #ffd70040; }
.layer-3 { border-left: 4px solid #ff507840; }

.layer-header {
    margin-bottom: 2rem;
}

.layer-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--admin-white);
    margin: 0.5rem 0;
}

.layer-desc {
    color: var(--text-tertiary);
    font-size: 0.95rem;
}

.portals-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.2rem;
}

.portal-card {
    background: var(--panel-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-edge-admin);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s var(--curve-surgical);
    position: relative;
    overflow: hidden;
}

.portal-card:hover {
    transform: translateY(-2px);
    border-color: var(--admin-white);
    box-shadow: var(--shadow-admin);
}

.portal-number {
    font-size: 0.8rem;
    color: var(--admin-white);
    font-weight: 700;
    margin-bottom: 0.5rem;
}

.portal-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.portal-desc {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

.chambers-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.2rem;
}

.chamber-card {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--admin-gold);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.2s var(--curve-surgical);
}

.chamber-card:hover {
    transform: translateY(-2px);
    border-color: var(--admin-white);
    box-shadow: 0 0 20px var(--admin-gold);
}

.chamber-number {
    font-size: 0.8rem;
    color: var(--admin-gold);
    font-weight: 800;
    margin-bottom: 0.5rem;
}

.chamber-name {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.chamber-desc {
    font-size: 0.8rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ============================================================================
   MODEL SECTION - 6-LAYER ADMINISTRATIVE MODEL
   ============================================================================ */
.model-section {
    margin: 4rem 0;
}

.section-title {
    font-family: 'Cinzel', serif;
    font-size: 2rem;
    text-align: center;
    margin-bottom: 2rem;
    letter-spacing: 0.05em;
}

.model-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
}

.model-card {
    background: var(--panel-glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--panel-edge-admin);
    border-radius: var(--radius-large);
    padding: 1.5rem;
    text-align: center;
    transition: all 0.2s var(--curve-surgical);
}

.model-card:hover {
    border-color: var(--admin-white);
    transform: translateY(-2px);
}

.model-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--admin-white);
    margin-bottom: 0.5rem;
}

.model-title {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.model-desc {
    font-size: 0.85rem;
    color: var(--text-tertiary);
    line-height: 1.5;
}

/* ============================================================================
   COLOR MEANING PANEL
   ============================================================================ */
.color-meaning {
    margin: 3rem 0;
    padding: 2rem;
    background: var(--panel-glass);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1px solid var(--panel-edge-admin);
    border-radius: var(--radius-large);
    position: relative;
    overflow: hidden;
    animation: admin-breathe 8s var(--curve-surgical) infinite;
    animation-delay: 0.4s;
    --card-index: 3;
}

.color-meaning:hover {
    animation-play-state: paused;
    border-color: var(--admin-white);
}

@keyframes admin-breathe {
    0%, 100% {
        transform: scale(1);
        box-shadow: 0 4px 12px rgba(0,0,0,0.1);
    }
    50% {
        transform: scale(1.001);
        box-shadow: 0 8px 24px var(--admin-white-dim);
    }
}

.meaning-header {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
    position: relative;
    z-index: 2;
}

.meaning-color {
    width: 60px;
    height: 60px;
    border-radius: 8px;
    background: var(--admin-white);
    box-shadow: 0 0 30px var(--admin-white);
}

.meaning-title {
    font-family: 'Cinzel', serif;
    font-size: 1.8rem;
    color: var(--admin-white);
}

.meaning-text {
    position: relative;
    z-index: 2;
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.7;
    max-width: 800px;
    font-weight: 400;
}

.meaning-text strong {
    color: var(--admin-white);
}

/* ============================================================================
   PRESENCE BUBBLES - MINIMAL
   ============================================================================ */
.presence-container {
    position: fixed;
    bottom: 20px;
    right: 20px;
    z-index: 9999;
    display: flex;
    flex-direction: column;
    gap: 6px;
    pointer-events: none;
}

.presence-bubble {
    background: var(--panel-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--admin-white);
    border-radius: var(--radius-medium);
    padding: 6px 12px;
    display: flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 0 15px var(--admin-white-glow);
    animation: bubble-appear 0.3s var(--curve-spring);
    pointer-events: auto;
    cursor: pointer;
    transition: all 0.2s var(--curve-surgical);
    position: relative;
}

.presence-bubble:hover {
    transform: scale(1.01) translateX(-2px);
    border-color: var(--admin-gold);
    box-shadow: 0 0 20px var(--admin-gold);
}

.presence-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 12px;
    font-weight: 800;
    color: #000;
    box-shadow: 0 0 10px currentColor;
}

.presence-name {
    font-size: 0.8rem;
    font-weight: 500;
    color: var(--text-primary);
}

.presence-location {
    font-size: 0.65rem;
    color: var(--text-secondary);
}

.presence-role {
    position: absolute;
    top: -4px;
    right: -4px;
    font-size: 0.55rem;
    font-weight: 700;
    text-transform: uppercase;
    background: var(--panel-deep);
    padding: 2px 5px;
    border-radius: var(--radius-small);
    border: 1px solid currentColor;
    opacity: 0;
    transition: opacity 0.2s ease;
}

.presence-bubble:hover .presence-role {
    opacity: 1;
}

@keyframes bubble-appear {
    from { opacity: 0; transform: translateX(40px); }
    to { opacity: 1; transform: translateX(0); }
}

/* ============================================================================
   FOOTER
   ============================================================================ */
.footer {
    margin-top: 4rem;
    padding-top: 2rem;
    border-top: 1px solid rgba(243, 246, 255, 0.1);
    text-align: center;
    color: var(--text-tertiary);
    font-size: 0.8rem;
}

.admin-declaration {
    margin-top: 1rem;
    font-size: 0.9rem;
    font-style: italic;
    font-weight: 400;
}

/* ============================================================================
   RESPONSIVE
   ============================================================================ */
@media (max-width: 1000px) {
    .hero {
        grid-template-columns: 1fr;
    }
    
    .topbar {
        flex-direction: column;
        gap: 1rem;
        align-items: stretch;
    }
    
    .brand {
        justify-content: center;
    }
    
    .nav {
        justify-content: center;
    }
    
    .model-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .wrap { padding: 1rem; }
    .title { font-size: 2rem; }
    .stats { flex-direction: column; gap: 1rem; }
    .meaning-header { flex-direction: column; text-align: center; }
    
    .crown-jewel {
        width: 70px;
        height: 70px;
    }
    
    .jewel-icon {
        font-size: 1.8rem;
    }
    
    .jewel-name {
        font-size: 0.65rem;
    }
    
    .hover-card {
        width: 240px;
        padding: 1.2rem;
    }
    
    .journey-path {
        top: auto;
        bottom: 20px;
        left: 20px;
        max-width: 90%;
    }
}

@media (max-width: 480px) {
    .crown-jewel {
        width: 60px;
        height: 60px;
    }
    
    .jewel-icon {
        font-size: 1.5rem;
    }
    
    .jewel-name {
        font-size: 0.6rem;
    }
    
    .hover-card {
        width: 200px;
        padding: 1rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after {
        animation: none !important;
        transition: none !important;
    }
    
    .quantum-reality-layer {
        display: none;
    }
}