/* --- 1. GLOBALE ALCHEMIE --- */
:root {
    --gold: #d4af37;
    --emerald: #00ff88; /* Farbe für CNS/Copyright/NodeLink */
    --blue-lyk: #00a2ff;
    --bg-dark: #050a15;
}

body {
    margin: 0; padding-top: 100px;
    background: #000 radial-gradient(circle at center, #0a1125 0%, #000 100%) fixed;
    color: #fff; font-family: 'Inter', sans-serif;
    display: flex; flex-direction: column; align-items: center;
    overflow-x: hidden;
}

/* --- 2. DIE KRONE (Dashboard) --- */
.master-dashboard {
    position: fixed; top: 0; left: 0; width: 100%; height: 80px;
    z-index: 10000; background: rgba(5, 10, 21, 0.9);
    backdrop-filter: blur(15px); border-bottom: 2px solid var(--gold);
    display: flex; justify-content: center;
}

.dashboard-inner {
    width: 100%; max-width: 1200px; display: flex;
    justify-content: space-between; align-items: center; padding: 0 20px;
}



/* ============================================================
   START BLOCK: HEADER ICON STYLING
   BESCHREIBUNG: Kompakte Flaggen-Icons & Edelmetall-Farben
   ============================================================ */

.flag-nav {
    display: flex;
    gap: 15px;
    align-items: center;
}

.flag-link {
    display: flex;
    flex-direction: row; /* Kürzel NEBEN die Flagge */
    align-items: center;
    text-decoration: none;
    gap: 6px;
    transition: all 0.3s ease;
}

.mini-icon {
    width: 28px !important; /* Exakte Icon-Größe für die Kopfzeile */
    height: auto;
    border-radius: 2px;
    border: 1px solid rgba(212, 175, 55, 0.3); /* Goldener Rahmen-Hauch */
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
}

.flag-label {
    font-size: 0.75rem;
    font-weight: 800;
    /* Farbe der Ordnung (Silber/Kristall) für beste Lesbarkeit */
    color: #e0e0e0; 
    font-family: 'Inter', sans-serif;
    letter-spacing: 0.5px;
}

/* Hover-Effekt: Der goldene Funke der Identität */
.flag-link:hover .flag-label {
    color: #d4af37; /* Wechselt zu Gold bei Berührung */
}

.flag-link.active .flag-label {
    color: #d4af37; /* Aktiv ist immer Gold */
    border-bottom: 1px solid #d4af37;
}

/* ============================================================
   END BLOCK: HEADER ICON STYLING
   ============================================================ */



/* Puls-Animationen */
.pulse-dot { height: 10px; width: 10px; border-radius: 50%; display: inline-block; margin-right: 8px; animation: pulse-glow 2s infinite; }
.pulse-dot.green { background: var(--emerald); box-shadow: 0 0 10px var(--emerald); }
.pulse-dot.blue { background: var(--blue-lyk); box-shadow: 0 0 10px var(--blue-lyk); }

/* ============================================================
   START BLOCK: CELESTIAL ORBIT STYLING v4.1
   BESCHREIBUNG: Erzwingt die Kreisbahn für 4 Token um SeWWWeS
   ============================================================ */

.token-orbit-container {
    position: relative;
    width: 100%;
    height: 500px; /* Genug Raum für die Schöpfung */
    display: flex;
    justify-content: center;
    align-items: center;
    margin-top: 30px;
    z-index: 50; /* Über dem Hintergrund, unter dem Header */
}

/* Zentrum: SeWWWeS Quelle */
.orbit-center {
    position: absolute;
    z-index: 100;
}

.orbit-center img {
    width: 130px !important;
    height: auto;
    filter: drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
}

/* Die Umlaufbahn (Pfad) */
.orbit-path {
    position: relative;
    width: 340px; /* Durchmesser des Systems */
    height: 340px;
    border: 1.5px solid rgba(255, 255, 255, 0.08);
    border-radius: 50%;
    /* Die ewige Rotation der Tat */
    animation: rotate-matrix 25s linear infinite; 
}

/* Grund-Styling der 4 Token-Satelliten */
.token-satellite {
    position: absolute;
    width: 65px;
    height: 65px;
    margin-left: -32.5px; /* Zentrierung auf der Linie */
    margin-top: -32.5px;
    transition: transform 0.3s ease;
}

.token-satellite img {
    width: 100% !important;
    height: auto;
    border-radius: 50%;
    box-shadow: 0 0 15px rgba(255, 255, 255, 0.2);
    /* Gegen-Rotation: Logos bleiben immer aufrecht lesbar */
    animation: counter-rotate-matrix 25s linear infinite;
}

/* Präzise 90-Grad-Positionierung der Quadriga */
.www-token { top: 0%; left: 50%; }      /* 12 Uhr */
.lyk-token { top: 50%; left: 100%; }    /* 03 Uhr */
.kyc-key   { top: 100%; left: 50%; }    /* 06 Uhr */
.zen-token { top: 50%; left: 0%; }      /* 09 Uhr */

/* Animationen: Inhalation & Exhalation des Orbits [8] */
@keyframes rotate-matrix {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes counter-rotate-matrix {
    from { transform: rotate(0deg); }
    to { transform: rotate(-360deg); }
}

/* Pulsieren der Quelle (Lebendiger Geist) [13] */
.main-source-pulse {
    animation: source-breath 5s ease-in-out infinite;
}

@keyframes source-breath {
    0%, 100% { transform: scale(1); filter: brightness(1) blur(0px); }
    50% { transform: scale(1.08); filter: brightness(1.2) blur(1px); }
}

.token-satellite:hover {
    transform: scale(1.25);
    z-index: 200;
}

/* ============================================================
   END BLOCK: CELESTIAL ORBIT STYLING
   ============================================================ */


/* ============================================================
   END BLOCK: CONTENT JUSTIERUNG
   ============================================================ */

/* --- 4. DER GENESIS-VAULT (NodeLink Style) --- */
.genesis-vault {
    width: 95%; max-width: 1100px;
    background: rgba(26, 32, 53, 0.75);
    backdrop-filter: blur(12px); border-radius: 30px;
    border: 2px solid rgba(0, 255, 136, 0.3); /* Smaragd-Rahmen */
    padding: 50px; box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.vault-inner { display: flex; gap: 50px; align-items: center; flex-wrap: wrap; justify-content: center; }

.playfair-heading, .spirit-text { font-family: 'Playfair Display', serif; color: var(--gold); }

.hex-vault {
    background: #000; padding: 15px; border-radius: 10px;
    border-left: 4px solid var(--emerald); margin: 20px 0;
}

.hex-value { color: var(--emerald); font-family: monospace; font-size: 0.9rem; }

.coord-pill { background: rgba(255,255,255,0.05); padding: 8px 15px; border-radius: 50px; font-size: 0.85rem; border: 1px solid rgba(255,255,255,0.1); }
.coord-pill.highlight { border-color: var(--gold); color: var(--gold); }

@keyframes pulse-glow { 0%, 100% { opacity: 0.7; transform: scale(0.9); } 50% { opacity: 1; transform: scale(1.1); } }

/* ============================================================
   START BLOCK: GATEWAY STYLING (Tresor-Optik)
   ============================================================ */
.gateway-vault {
    width: 100%;
    max-width: 800px;
    margin: 60px auto;
    padding: 30px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(212, 175, 55, 0.3); /* Goldener Rahmen */
    border-radius: 15px;
    box-shadow: 0 0 30px rgba(0, 0, 0, 0.6);
    text-align: center;
}

.qr-manifestation {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    margin-top: 30px;
}

.gateway-qr {
    width: 180px;
    height: 180px;
    border: 5px solid #fff;
    border-radius: 10px;
    box-shadow: 0 0 20px var(--gold);
}

.qr-instruction {
    font-family: 'Inter', sans-serif;
    color: #e0e0e0;
}

.qr-instruction strong {
    display: block;
    font-size: 1.2rem;
    color: var(--gold);
    margin-bottom: 5px;
}

.active-seal {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    padding: 20px;
    border: 1px solid var(--emerald); /* Smaragdgrünes Siegel */
    background: rgba(16, 124, 65, 0.1);
    border-radius: 10px;
}
/* ============================================================
   END BLOCK: GATEWAY STYLING
   ============================================================ */