/* 
   ======================================================================
   DIE AURA DER SMARTEARTHFAMILY (Version 1.0.0)
   Siegel der Ordnung (.ZNQ) & Siegel des Copyrights (.NFT)
   ======================================================================
*/

/* 1. DAS FUNDAMENT (Global Styles) */
html, body, #root, #app { 
    overflow-y: auto !important; 
    overflow-x: hidden !important; 
    height: auto !important; 
    min-height: 100vh !important; 
    touch-action: auto !important; 
    background-color: #0a0a0a; /* Kosmische Tiefe */
    color: #ffffff;
    font-family: 'Inter', sans-serif; /* Schrift der Daten */
    margin: 0;
    padding: 0;
} [2]

h1, h2, h3, .vision-text {
    font-family: 'Playfair Display', serif; /* Schrift der Visionäre */
} [3]

/* 2. DIE FARB-SIEGEL (Variablen) */
:root {
    --emerald: #4c9a2a; /* Siegel des Copyrights & Wachstums */
    --gold: #d4af37;    /* Siegel der Identität & Mentorenschaft */
    --matrix-bg: rgba(0, 0, 0, 0.6);
} [1]

/* 3. DER SCHÖPFUNGS-KELCH (Phase 1: Inhalation) */
.chalice-box {
    background: var(--matrix-bg);
    border: 1px solid var(--emerald);
    border-radius: 20px;
    padding: 25px;
    margin: 30px auto;
    max-width: 350px;
    text-align: center;
    box-shadow: 0 0 20px rgba(76, 154, 42, 0.4);
}

.chalice-visual {
    width: 100px;
    height: 140px;
    border: 3px solid #ffffff;
    border-top: none;
    border-radius: 0 0 50px 50px;
    margin: 20px auto;
    position: relative;
    overflow: hidden;
}

.chalice-water {
    position: absolute;
    bottom: 0;
    width: 100%;
    height: 0%; /* Dynamisch gesteuert durch creation-chalice.js */
    background: linear-gradient(to top, var(--emerald), #2ecc71);
    transition: height 1.5s ease-in-out;
}

/* 4. DIE PFADE DER MANIFESTATION (Buttons & Zentrierung) */
.action-buttons {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    width: 100%;
}

.btn-gateway {
    width: 100%;
    max-width: 350px;
    display: block;
    margin: 10px auto;
    padding: 15px;
    border-radius: 30px;
    text-align: center;
    cursor: pointer;
    font-weight: bold;
    transition: transform 0.3s;
}

.btn-gateway:hover {
    transform: scale(1.05);
}

/* Goldener Pfad (Mentor & Verifizierung) */
.btn-gold {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
    color: #000;
    border: none;
}

/* 5. DIE MATRIX-KOORDINATEN (Grid-System) */
#matrix-display {
    background: var(--matrix-bg);
    border: 1px solid #ffffff;
    padding: 20px;
    margin: 20px auto;
    max-width: 400px;
    border-radius: 15px;
    text-align: center;
    transition: opacity 0.5s;
}
/* 
   ======================================================================
   DIE VEREINTE AURA DER SMARTEARTHFAMILY (Version 1.1.0)
   Vereinigung von Sternenhimmel, Orbit & Schöpfungs-Kelch
   ======================================================================
*/

/* 1. DAS KOSMISCHE FUNDAMENT */
html, body, #root, #app { 
    overflow-y: auto !important; 
    overflow-x: hidden !important; 
    height: auto !important; 
    min-height: 100vh !important; 
    touch-action: auto !important; 
    margin: 0;
    padding: 0;
    color: #ffffff;
    font-family: 'Inter', sans-serif;
    text-align: center;
    
    /* Der Sternenhimmel aus der alten Welt */
    background-color: #050a15;
    background-image: url('../assets/images/sternenhimmel.png'); 
    background-position: center;
    background-size: cover;
    background-attachment: fixed;
}

/* 2. DIE ORBIT-VERSIEGELUNG */
#orbit-container {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Hält die Planeten hinter der Matrix */
    pointer-events: none; /* Klicks gehen durch den Orbit auf die Buttons */
}

/* ... hier folgt dein Code für den Schöpfungs-Kelch & Buttons ... */
/* ====================================================================== */
/* ERGÄNZUNG: BÄNDIGUNG DES QR-BANNERS (.ZNQ ORDNUNG)                   */
/* ====================================================================== */

.desktop-warning {
    background: rgba(20, 20, 20, 0.9) !important;
    border: 1px solid #d4af37 !important; /* Gold für das Siegel der Identität */
    border-radius: 15px !important;
    padding: 20px !important;
    margin: 20px auto !important;
    max-width: 400px !important; 
    text-align: center;
}

.qr-image-container img {
    width: 100px !important; /* Exakte Bändigung auf ein menschliches Maß */
    height: 100px !important;
    display: block;
    margin: 0 auto;
}

.qr-message h4 {
    color: #d4af37;
    font-family: 'Playfair Display', serif;
    margin-top: 10px;
}
/* Scroll-Gesetz für die NomoAppWallet */
html, body { overflow-y: auto !important; touch-action: auto !important; } /* [6] */

/* Die Farben der Schöpfung */
.gold-fill { background: linear-gradient(to top, #d4af37, #f1c40f) !important; } /* Identität */
.emerald-fill { background: linear-gradient(to top, #4c9a2a, #2ecc71) !important; } /* Copyright */

/* Bändigung des QR-Banners */
.desktop-warning { max-width: 380px; margin: 20px auto; border: 1px solid #d4af37; border-radius: 15px; }
.qr-image-container img { width: 80px !important; height: 80px !important; }

/* MyQRDictionary: Der Wissens-Schlüssel */
.dict-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 18px;
    height: 18px;
    margin-left: 5px;
    background: rgba(212, 175, 55, 0.2); /* Sanftes Gold */
    color: #d4af37;
    border: 1px solid #d4af37;
    border-radius: 50%;
    font-size: 10px;
    text-decoration: none;
    cursor: help;
    transition: all 0.3s ease;
    vertical-align: middle;
}

.dict-link:hover {
    background: #d4af37;
    color: #000;
    box-shadow: 0 0 10px #d4af37;
    transform: scale(1.2);
}

.gateway-path-wrapper {
    display: flex;
    align-items: center;
    gap: 12px;
    margin-bottom: 15px;
    width: 100%;
    max-width: 400px;
    margin-left: auto;
    margin-right: auto;
}

.btn-gateway {
    width: 100%; /* Button füllt den verfügbaren Platz aus */
}

/* --- FARB-ERWEITERUNG FÜR DIE MAGISCHEN PFADE (.ZNQ ORDNUNG) --- */

/* Pfad 3: Chat (Vertrauensvolles Blau) */
.btn-gateway.blue {
    background-color: #2980b9 !important; 
    color: #ffffff !important; /* Weißer Text für Lesbarkeit */
    border: 1px solid #3498db;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Pfad 4: Teilen (Expansions-Violett) */
.btn-gateway.purple {
    background-color: #8e44ad !important; 
    color: #ffffff !important; /* Weißer Text für Lesbarkeit */
    border: 1px solid #9b59b6;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.3);
}

/* Pfad 5: SmartEarth Academy (Akademie-Gold) */
.btn-gateway.academy-gold {
    background: linear-gradient(45deg, #d4af37, #f1c40f) !important; 
    color: #000000 !important; /* Schwarzer Text für maximalen Kontrast auf Gold */
    font-weight: bold;
    border: 2px solid #ffffff;
    box-shadow: 0 0 15px rgba(212, 175, 55, 0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Interaktions-Aura (Hover-Effekte) */
.btn-gateway.blue:hover { background-color: #3498db !important; transform: translateY(-2px); }
.btn-gateway.purple:hover { background-color: #9b59b6 !important; transform: translateY(-2px); }
.btn-gateway.academy-gold:hover { 
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.9);
    transform: scale(1.02) translateY(-2px);
}

/* Anpassung der Wissens-Schlüssel (📖) Icons */
.dict-link {
    color: #d4af37 !important; /* Edles Akademie-Gold */
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #d4af37;
    padding: 2px 6px;
    border-radius: 50%;
    font-size: 14px;
    transition: all 0.3s ease;
}

.dict-link:hover {
    background: #d4af37;
    color: #000 !important;
    box-shadow: 0 0 10px #d4af37;
}

/* =============================================================
   DER SCHÖPFUNGS-KELCH - DIE VISUELLE MATRIX (v1.6.1-REALTIME)
   Architekt: Dirk / SmartEarthWorld
   Zweck: Visualisierung von Inhalation & Exhalation
   ============================================================= */

/* 1. DIE GRUNDWERTE (Die heiligen Farben der Quadriga) */
:root {
    --gold-identitaet: #FFD700;   /* .ETH - Der göttliche Funken & KYC */
    --silber-ordnung: #C0C0C0;    /* .ZNQ - Die Matrix der 26 Pfade */
    --smaragd-tat: #50C878;       /* .NFT - Das Licht der Re-Eigenspende */
    --kupfer-erdung: #B87333;     /* ScanMe - Die physische Realität in qm */
    --kosmos-hintergrund: rgba(0, 0, 0, 0.9); /* Die Tiefe des Universums */
}

/* 2. DER KELCH-CONTAINER (Das gesamte Dashboard) */
.chalice-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 50px 20px;
    background: radial-gradient(circle, var(--kosmos-hintergrund) 0%, #000 100%);
    font-family: 'Playfair Display', serif; /* Die Schrift der Eleganz */
    color: white;
}

/* 3. EBENE 1: DIE AURA (Smaragdgrün - Exhalation)
   Visualisiert das pulsierende Licht der vollbrachten Tat. 
   Hier wird sichtbar, wie viel Potenzial bereits "ausgeatmet" wurde. */
.chalice-aura {
    color: var(--smaragd-tat);
    text-shadow: 0 0 25px var(--smaragd-tat);
    margin-bottom: 10px;
    animation: pulsieren 4s ease-in-out infinite; /* Der Kelch "atmet" */
}

/* 4. EBENE 2: DER KELCHKÖRPER (Kristallsilber - Inhalation)
   Das Gefäß des Potenzials. Hier ruht der "Treibstoff" (WWW-Token),
   der in den Wallets der Familie für die Schöpfung bereitsteht. */
.chalice-body {
    border: 3px solid var(--silber-ordnung);
    border-radius: 40% 40% 15% 15%; /* Formt den bauchigen Kelch */
    background: rgba(192, 192, 192, 0.08); /* Transparenz der Reinheit */
    width: 260px;
    padding: 25px;
    box-shadow: inset 0 0 20px rgba(192, 192, 192, 0.2);
}

/* 5. EBENE 3: DER SCHAFT (Gold - Identität)
   Das unerschütterliche Fundament der Menschen. 
   Jeder KYC-Zündschlüssel stärkt diesen goldenen Pfad. */
.chalice-shaft {
    width: 45px;
    height: 90px;
    background: linear-gradient(to right, #B8860B, var(--gold-identitaet), #B8860B);
    margin: -5px auto; /* Verbindet Schaft und Körper nahtlos */
    display: flex;
    flex-direction: column;
    justify-content: center;
    border-left: 1px solid rgba(255,215,0,0.3);
    border-right: 1px solid rgba(255,215,0,0.3);
}

/* 6. EBENE 4: DIE BASIS (Kupfer - Physische Wahrheit)
   Die Verankerung im Boden. Hier weisen wir den realen Beweis
   der geheilten Erde in Quadratmetern (qm) aus. */
.chalice-base {
    background: linear-gradient(135deg, #8B4513, var(--kupfer-erdung), #8B4513);
    width: 300px;
    padding: 15px;
    border-radius: 8px;
    box-shadow: 0 12px 35px rgba(184, 115, 51, 0.5); /* Leuchten der Erde */
}

/* 7. DIE ANIMATION (Der Rhythmus der Schöpfung)
   Lässt die smaragdgrüne Aura sanft anschwellen und abklingen,
   genau wie der Kreislauf der Fülle im SeWWWeS.Net. */
@keyframes pulsieren {
    0%, 100% { transform: scale(1); opacity: 0.7; }
    50% { transform: scale(1.03); opacity: 1; }
}

/* 8. TYPOGRAFIE-DETAILS (Für die menschliche Lesbarkeit) */
.chalice-container h2, .chalice-container h3 { margin: 5px 0; letter-spacing: 1px; }
.label { font-size: 0.8em; color: var(--silber-ordnung); text-transform: uppercase; }

/* ============================================================ */
/* START: SCHÖPFUNGS-KELCH BEREICH (Inklusions-Interface)       */
/* Ziel: Einstieg ab 1 Cent in die 100-USD-Logik                */
/* ============================================================ */

/* Der Haupt-Container des Kelches */
.cup-wrapper {
    background: rgba(15, 15, 15, 0.85); /* Dunkler Äther-Hintergrund */
    border: 2px solid #D4AF37;          /* Identitäts-Gold der Quadriga */
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    margin: 30px auto;
    max-width: 550px;
    box-shadow: 0 0 25px rgba(212, 175, 55, 0.4); /* Goldene Aura */
    backdrop-filter: blur(10px);        /* Effekt für den Sternenhimmel-Hintergrund */
}

/* Titel des Schöpfungs-Kelches */
.cup-title {
    color: #D4AF37;                     /* Gold für den Ursprung */
    font-family: 'Playfair Display', serif; /* Die Schrift der Schöpfer */
    font-size: 2rem;
    margin-bottom: 10px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Beschreibungstext innerhalb des Kelches */
.cup-description {
    color: #f0f0f0;
    font-family: 'Inter', sans-serif;   /* Die Schrift der Klarheit */
    font-size: 1.1rem;
    line-height: 1.5;
    margin-bottom: 25px;
}

/* Fortschrittsbalken-Hintergrund */
.progress-container {
    background: #222;                   /* Materie vor der Verwandlung */
    border-radius: 25px;
    height: 35px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.5);
}

/* Der wachsende Schöpfungs-Fluss */
.progress-bar {
    background: linear-gradient(90deg, #B8860B, #D4AF37, #FFD700);
    height: 100%;
    width: 0%; /* Wird via JS gesteuert */
    transition: width 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 0 15px rgba(255, 215, 0, 0.6);
}

/* Status-Text auf dem Balken */
#cup-status-text {
    position: absolute;
    width: 100%;
    left: 0;
    top: 50%;
    transform: translateY(-50%);
    color: #ffffff;
    font-weight: 700;
    font-family: 'Inter', sans-serif;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

/* Der Schöpfungsfunken-Button */
.btn-gold {
    background: #D4AF37;
    color: #000000;
    border: none;
    padding: 18px 35px;
    font-size: 1.2rem;
    font-weight: 900;
    border-radius: 12px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.btn-gold:hover {
    background: #FFD700;
    transform: scale(1.03) translateY(-2px);
    box-shadow: 0 6px 20px rgba(212, 175, 55, 0.5);
}

.btn-gold:active {
    transform: scale(0.98);
}

/* Kleingedruckte technosophische Note */
.cup-note {
    color: #aaa;
    font-size: 0.85rem;
    margin-top: 20px;
    font-style: italic;
}

/* ============================================================ */
/* ENDE: SCHÖPFUNGS-KELCH BEREICH                               */
/* ============================================================ */

/* ============================================================ */
/* MASTER-MATRIX DESIGN: SCHÖPFUNGS-KELCH & TICKER (v1.6.2)     */
/* ============================================================ */

/* LIVE-TICKER (OBEN FIXIERT) */
.live-ticker { 
    width: 100%; 
    background: rgba(0, 0, 0, 0.9); 
    border-bottom: 1px solid rgba(212, 175, 55, 0.4); 
    padding: 10px 15px; 
    display: flex; 
    flex-direction: column; 
    align-items: center; 
    gap: 5px; 
    position: fixed; 
    top: 0; left: 0; z-index: 1000; 
    backdrop-filter: blur(8px);
}

.ticker-live { 
    color: #d4af37; 
    font-weight: bold; 
    display: flex; 
    align-items: center; 
    gap: 8px; 
}

.pulse-dot { 
    height: 8px; width: 8px; 
    background-color: #3cb371; 
    border-radius: 50%; 
    animation: pulse 1.5s infinite; 
}

@keyframes pulse { 
    0% { transform: scale(0.9); opacity: 0.6; } 
    50% { transform: scale(1.3); opacity: 1; } 
    100% { transform: scale(0.9); opacity: 0.6; } 
}

/* KURS-ANZEIGE IM HEADER */
.kurs-anzeige { 
    background: rgba(0, 255, 255, 0.1); 
    border: 1px solid #00ffff; 
    padding: 5px 15px; 
    border-radius: 20px; 
    color: #00ffff;
    font-family: monospace;
}

/* SCHÖPFUNGS-KELCH WRAPPER */
.cup-wrapper {
    background: rgba(15, 15, 15, 0.9);
    border: 2px solid #D4AF37;
    border-radius: 20px;
    padding: 30px;
    margin: 40px auto;
    max-width: 550px;
    text-align: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.3);
}

.cup-title { color: #D4AF37; font-family: 'Playfair Display', serif; font-size: 2rem; }

/* SICHERHEITS-WARNBOX */
.warning-box {
    background: rgba(255, 0, 0, 0.15);
    border: 1px solid #ff4444;
    padding: 12px;
    border-radius: 10px;
    margin-bottom: 20px;
    font-size: 0.85rem;
    color: #ffbbbb;
    line-height: 1.4;
}

/* PROGRESS BAR */
.progress-container {
    background: #222;
    border-radius: 20px;
    height: 35px;
    margin: 20px 0;
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(212, 175, 55, 0.5);
}

.progress-bar {
    background: linear-gradient(90deg, #D4AF37, #FFD700);
    height: 100%;
    width: 0%; /* Gesteuert durch script.js */
    transition: width 1s ease-in-out;
}

/* KOPIERFELD */
.copy-field-container { display: flex; gap: 10px; margin-top: 10px; }
.copy-field-container input {
    flex: 1; background: #000; border: 1px solid #444; color: #00FF00;
    padding: 10px; border-radius: 8px; font-family: monospace;
}

.btn-gold {
    background: #D4AF37; color: #000; border: none; padding: 15px 30px;
    font-weight: bold; border-radius: 12px; cursor: pointer; transition: 0.3s;
}
.btn-gold:hover { background: #FFD700; transform: scale(1.02); }


/* --- UNIFIED MASTER HEADER STYLES --- */
.master-dashboard {
    width: 100%;
    background: rgba(0, 0, 0, 0.85); /* Dunkler Kosmos-Hintergrund */
    border-bottom: 1px solid #d4af37; /* Goldene Trennlinie */
    padding: 8px 15px;
    position: sticky;
    top: 0;
    z-index: 1000;
    font-family: 'Inter', sans-serif;
    font-size: 0.85rem;
    color: #ffffff;
}

.dashboard-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1200px;
    margin: 0 auto;
}

/* Echtzeit-Status Punkt Animation */
.pulse-dot {
    height: 8px;
    width: 8px;
    border-radius: 50%;
    display: inline-block;
    margin-right: 5px;
}

.pulse-dot.green {
    background-color: #00ff00;
    box-shadow: 0 0 8px #00ff00;
    animation: pulse-green 2s infinite;
}

@keyframes pulse-green {
    0% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.7); }
    70% { transform: scale(1); box-shadow: 0 0 0 10px rgba(0, 255, 0, 0); }
    100% { transform: scale(0.95); box-shadow: 0 0 0 0 rgba(0, 255, 0, 0); }
}

/* Token & Zündschlüssel Design */
.dashboard-right { display: flex; gap: 15px; }

.token-display {
    background: rgba(255, 255, 255, 0.1);
    padding: 4px 10px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 6px;
    border: 1px solid rgba(212, 175, 55, 0.3);
}

.www-display { color: #ffffff; font-weight: bold; }
.kyc-display { border-color: #d4af37; } /* Goldene Umrandung für Identität */

.token-status.active {
    color: #d4af37; /* Goldene Schrift für aktiven Geist */
    text-shadow: 0 0 5px rgba(212, 175, 55, 0.5);
}

/* Sprachauswahl Minimal-Design */
#lang-switch {
    background: transparent;
    color: white;
    border: none;
    cursor: pointer;
    font-size: 0.8rem;
}







/* ====================================================================== */
/* DIE TRAGENDEN SÄULEN (Layout-Erweiterung für WebOns)                  */
/* ====================================================================== */

/* Schrift-Importe für die Visionäre [3] */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;700&family=Playfair+Display:wght@700&display=swap');

/* Haupt-Container der Seite */
.project-layout {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
    text-align: center;
    max-width: 600px;
    margin: 0 auto;
}

/* Header & Goldener Text */
.project-header {
    margin-bottom: 30px;
}

.gold-text {
    color: var(--gold);
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.5);
}

.pulse {
    animation: pulse-gold 3s infinite ease-in-out;
}

@keyframes pulse-gold {
    0% { opacity: 0.8; }
    50% { opacity: 1; text-shadow: 0 0 20px var(--gold); }
    100% { opacity: 0.8; }
}

/* Identitäts-Badges (FID/SID) [4] */
.matrix-info {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-bottom: 25px;
}

.info-badge {
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid var(--gold);
    padding: 5px 15px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-family: 'Inter', sans-serif;
}

/* Bild-Skalierung (Bändigung des Logos) */
.resource-bild {
    width: 100%;
    max-width: 250px;
    height: auto;
    border-radius: 15px;
    margin-bottom: 20px;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5);
}

/* Interaktions-Karten (Zahlung/Verifizierung) [5] */
.action-card {
    background: var(--matrix-bg);
    border: 1px solid var(--emerald);
    border-radius: 20px;
    padding: 20px;
    margin-bottom: 20px;
    width: 100%;
    box-sizing: border-box;
}

/* Die goldene Aktions-Taste */
.btn-gold-action {
    background: linear-gradient(to right, #bf953f, #fcf6ba, #b38728);
    color: #000;
    text-decoration: none;
    padding: 15px 30px;
    border-radius: 30px;
    display: inline-block;
    font-weight: bold;
    margin-top: 15px;
    transition: transform 0.3s;
}

.btn-gold-action:hover {
    transform: scale(1.05);
}

/* Footer & Siegel-Bereich [6] */
.project-footer {
    margin-top: 40px;
    padding: 20px;
    border-top: 1px solid rgba(255,255,255,0.1);
    font-size: 0.75rem;
    opacity: 0.6;
}

/* Rahmen für das Haupt-Logo im Header */
.main-logo {
    width: 100%;
    max-width: 250px; /* Begrenzt die Breite auf ein ästhetisches Maß */
    height: auto;
    margin-bottom: 15px;
}

/* Rahmen für das SPC-Wahrheits-Siegel */
.spc-icon {
    width: 100%;
    max-width: 120px; /* Das Siegel soll dezent, aber präsent sein */
    height: auto;
    display: block;
    margin: 20px auto; /* Zentriert das Siegel im Inhaltsbereich */
    filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.5)); /* Goldene Aura */
}

/* Verhindert das Ausbrechen von Bildern allgemein */
img {
    height: auto;
    max-width: 100%;
}

/* --- MASTER DASHBOARD v2.0 --- */
.master-dashboard.world-class {
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.95) 0%, rgba(10,15,30,0.9) 100%);
    border-bottom: 2px solid #d4af37; /* Goldene Trennlinie zum Content */
    padding: 10px 20px;
    position: sticky;
    top: 0;
    z-index: 9999;
    font-family: 'Inter', sans-serif;
    color: #ffffff;
}

.dashboard-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
}

/* Segment-Styling */
.dashboard-segment { display: flex; align-items: center; gap: 15px; }

/* Realtime Kurs & Puls */
.live-value {
    color: #00ff00;
    font-weight: bold;
    text-shadow: 0 0 5px rgba(0, 255, 0, 0.3);
    margin-left: 5px;
}

/* Flaggen-Navigation */
.flag-nav {
    display: flex;
    gap: 12px;
    background: rgba(255, 255, 255, 0.05);
    padding: 5px 15px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.2);
}

.flag-icon {
    text-decoration: none;
    font-size: 1.2rem;
    transition: transform 0.2s, filter 0.2s;
    filter: grayscale(40%);
}

.flag-icon:hover, .flag-icon.active {
    transform: scale(1.3);
    filter: grayscale(0%);
}

/* Token-Pills (WWW & KYC) */
.token-pill {
    background: rgba(212, 175, 55, 0.1);
    border: 1px solid #d4af37;
    padding: 4px 12px;
    border-radius: 20px;
    display: flex;
    align-items: center;
    gap: 8px;
    font-size: 0.85rem;
}

.kyc-pill .status.active {
    color: #d4af37;
    font-weight: bold;
    animation: glow 2s infinite alternate;
}

@keyframes glow {
    from { text-shadow: 0 0 2px #d4af37; }
    to { text-shadow: 0 0 10px #d4af37; }
}

/* Mobile Optimierung */
@media (max-width: 768px) {
    .dashboard-inner { flex-direction: column; gap: 10px; }
    .flag-nav { order: 3; }
}

/* --- FLAGGEN & SPRACH-STYLING (Stabilitäts-Update v2.1) --- */
.flag-nav {
    display: flex;
    flex-wrap: nowrap; /* Verhindert das Umbrechen der Flaggen-Reihe */
    gap: 15px; /* Erhöhter Abstand für Weltniveau-Ästhetik */
    background: rgba(255, 255, 255, 0.05);
    padding: 6px 18px;
    border-radius: 30px;
    border: 1px solid rgba(212, 175, 55, 0.3);
    align-items: center;
}

.flag-link {
    display: flex;
    align-items: center;
    gap: 6px;
    text-decoration: none;
    transition: all 0.3s ease;
    filter: grayscale(50%);
    white-space: nowrap; /* Das wichtigste Gebot: Kein Textumbruch! */
    flex-shrink: 0; /* Verhindert, dass die Einheit zusammengedrückt wird */
}

.lang-code {
    color: #ffffff !important;
    font-size: 0.8rem;
    font-weight: bold;
    display: inline-block;
    min-width: 22px; /* Reserviert exakt den Platz für zwei Buchstaben */
    text-align: left;
}

.mini-flag {
    width: 22px; /* Feste Breite für die Icons */
    height: auto;
    border-radius: 3px;
    box-shadow: 0 0 5px rgba(0,0,0,0.5);
    display: block;
}

/* Hover & Aktive Sprache: Goldenes Leuchten */
.flag-link:hover, .flag-link.active {
    filter: grayscale(0%);
    transform: scale(1.1);
}

.flag-link.active .lang-code {
    color: #d4af37 !important; 
    text-shadow: 0 0 10px rgba(212, 175, 55, 0.6);
}

/* Mobile Anpassung: Falls der Platz wirklich zu eng wird */
@media (max-width: 480px) {
    .flag-nav { gap: 8px; padding: 4px 10px; }
    .lang-code { font-size: 0.7rem; }
}

/* --- HEADER STABILITÄTS-FIX v2.2 --- */
.dashboard-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 15px; /* Mindestabstand zwischen den Segmenten */
}

/* Verhindert das Eindringen der Segmente in fremde Bereiche */
.dashboard-segment {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0; /* Die Segmente dürfen ihren Inhalt nicht zusammenstauchen */
}

/* Spezifische Anpassung für die Sprach-Alchemie im Zentrum */
.language-alchemie {
    flex-grow: 1; /* Nimmt den mittleren Raum flexibel ein */
    justify-content: center;
}

/* Optimierung der WWW-Pille für die neue Breiten-Inschrift */
.www-pill .value {
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.5px;
}

/* Mobile Sicherung: Bei extrem schmalen Bildschirmen skalieren wir die Schrift */
@media (max-width: 1024px) {
    .master-dashboard.world-class { padding: 8px 10px; }
    .token-pill { font-size: 0.75rem; padding: 4px 8px; }
    .dashboard-inner { gap: 8px; }
    .www-pill .value { content: "100 WWW = 100$"; } /* Kürzung für Mobile */
}

/* --- HEADER STABILITÄTS-FIX v2.3 (Full Visibility Update) --- */

/* 1. Das Nadelöhr weiten: Mehr Platz für das Dashboard-Innere */
.dashboard-inner {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 100%; /* Nutzt die gesamte verfügbare Breite */
    padding: 0 10px;
    margin: 0 auto;
    gap: 10px;
}

/* 2. Den Tresor (Rechte Seite) unantastbar machen */
.user-assets {
    display: flex;
    gap: 10px;
    flex-shrink: 0; /* Verhindert absolut das Zusammenquetschen */
    justify-content: flex-end;
    min-width: fit-content; /* Der Block passt sich exakt dem Inhalt an */
}

/* 3. Die WWW-Pille stabilisieren */
.www-pill {
    white-space: nowrap; /* Kein Zeilenumbruch innerhalb der Pille */
    padding: 4px 15px; /* Etwas mehr Innenabstand für die Ästhetik */
    background: rgba(212, 175, 55, 0.15); /* Goldener Glanz verstärkt */
    border: 1px solid #d4af37;
}

.www-pill .value {
    font-weight: 800;
    min-width: 140px; /* Reserviert genug Platz für "100 WWW = 100 USD" */
    display: inline-block;
}

/* 4. Das Sprach-Zentrum flexibel halten */
.language-alchemie {
    flex-grow: 1;
    display: flex;
    justify-content: center;
    overflow: hidden; /* Falls es zu eng wird, schützt es die äußeren Blöcke */
}

/* 5. Mobile Sicherung: Icons statt Text, wenn der Platz versiegt */
@media (max-width: 600px) {
    .kyc-pill .label { display: none; } /* Verbirgt das Wort "Zündschlüssel" auf kleinen Screens */
    .www-pill .value { font-size: 0.8rem; }
}


/* --- MASTER DASHBOARD v2.4 (ULTIMATE STABILITY) --- */
.master-dashboard.world-class {
    width: 100%;
    min-width: 360px; /* Mindestbreite für kleine Geräte */
    background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(10,15,30,0.95) 100%);
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 9999;
    box-sizing: border-box; /* WICHTIG: Padding zählt nicht zur Breite */
}

.dashboard-inner {
    display: flex !important;
    flex-direction: row !important; /* Erzwingt die Reihe, verhindert Stapeln */
    flex-wrap: nowrap !important;  /* Verbietet den Zeilenumbruch */
    justify-content: space-between;
    align-items: center;
    max-width: 100%;
    padding: 10px 15px;
    gap: 10px;
    overflow-x: auto; /* Erlaubt horizontales Schieben auf Min-Handys statt Abschneiden */
}

/* Den Ingasblock/Asset-Block (Rechts) schützen */
.user-assets {
    display: flex !important;
    flex-direction: row !important;
    gap: 8px;
    flex-shrink: 0; /* Verhindert, dass dieser Block kleiner wird */
    min-width: fit-content;
}

/* Die WWW-Pille stabilisieren */
.www-pill {
    white-space: nowrap !important;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #d4af37;
    padding: 5px 12px;
    border-radius: 20px;
    min-width: 150px; /* Garantiert Platz für "100 WWW = 100 USD" */
    display: flex;
    align-items: center;
}

/* Sprach-Zentrum fixieren */
.flag-nav {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: nowrap;
    gap: 12px;
    flex-shrink: 1; /* Darf bei extremer Enge etwas nachgeben */
}

.flag-link {
    display: flex;
    align-items: center;
    text-decoration: none;
    white-space: nowrap;
}

/* Mobile Optimierung: Text ausblenden, Symbole lassen */
@media (max-width: 600px) {
    .status-label, .token-label { display: none; } /* Blendet "ZEN-20:" und "Zündschlüssel:" aus */
    .dashboard-inner { padding: 5px 8px; gap: 5px; }
    .www-pill { min-width: auto; }
}


/* --- MASTER DASHBOARD v2.5 (BREATHING MATRIX - NO SCROLL) --- */
.master-dashboard.world-class {
    width: 100%;
    background: linear-gradient(180deg, rgba(0,0,0,0.98) 0%, rgba(10,15,30,0.95) 100%);
    border-bottom: 2px solid #d4af37;
    position: sticky;
    top: 0;
    z-index: 9999;
    padding: 5px 0; /* Mehr vertikaler Raum für die Ebenen */
}

.dashboard-inner {
    display: flex !important;
    flex-direction: row !important;
    flex-wrap: wrap !important; /* DAS GEBOT: Erlaubt 2 oder 3 Zeilen */
    justify-content: center; /* Zentriert die Elemente, wenn sie umbrechen */
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    gap: 10px 20px; /* Horizontaler und vertikaler Abstand zwischen den Blöcken */
    padding: 5px 15px;
}

/* Die drei Segmente (Puls, Sprachen, Assets) */
.dashboard-segment {
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0; /* Verhindert das Quetschen des Inhalts */
    min-width: fit-content;
}

/* Sprach-Zentrum: Immer als geschlossene Einheit */
.language-alchemie {
    order: 2; /* Bleibt in der Mitte */
}

/* Den Ingasblock/Asset-Block (Rechts) schützen */
.user-assets {
    order: 3;
    gap: 8px;
}

/* WWW-Pille: Unerschütterlich in der Breite */
.www-pill {
    white-space: nowrap !important;
    background: rgba(212, 175, 55, 0.15);
    border: 1px solid #d4af37;
    padding: 6px 15px;
    border-radius: 20px;
    display: flex;
    align-items: center;
}

/* --- MOBILE OPTIMIERUNG FÜR WELTNIVEAU --- */
@media (max-width: 768px) {
    .dashboard-inner {
        gap: 12px; /* Mehr Platz zwischen den Zeilen auf dem Handy */
    }
    
    .tech-stats { width: 100%; justify-content: center; margin-bottom: 2px; } /* Ebene 1: ZEN-Puls */
    .language-alchemie { order: 2; } /* Ebene 2: Sprachen */
    .user-assets { order: 3; width: 100%; justify-content: center; } /* Ebene 3: Assets */

    .status-label { font-size: 0.7rem; }
    .live-value { font-size: 0.8rem; }
    .www-pill { font-size: 0.8rem; padding: 4px 10px; }
}

/* Verstecke den hässlichen Scrollbalken, falls der Browser ihn noch erzwingen will */
.dashboard-inner::-webkit-scrollbar {
    display: none;
}
.dashboard-inner {
    -ms-overflow-style: none;  
    scrollbar-width: none;  
}

/* --- INTELLIGENTES PC-BANNER STYLES --- */
.gateway-module {
    background: rgba(20, 25, 45, 0.95);
    border: 2px solid #d4af37;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    margin: 40px auto;
    text-align: center;
    box-shadow: 0 0 30px rgba(212, 175, 55, 0.2);
}

.gold-heading {
    font-family: 'Playfair Display', serif;
    color: #d4af37;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.instruction-text {
    color: #b0bec5;
    font-size: 1.05rem;
    line-height: 1.6;
}

.qr-scroll-block {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 20px;
    margin-top: 25px;
    padding: 15px;
    background: rgba(255, 255, 255, 0.03);
    border-radius: 12px;
}

.qr-frame {
    width: 120px;
    height: 120px;
    padding: 10px;
    background: #ffffff; /* Weißer Hintergrund für Scannbarkeit */
    border-radius: 8px;
    filter: drop-shadow(0 0 10px rgba(0, 255, 0, 0.3)); /* Grüner Puls-Glow */
}

.qr-message h4 {
    color: #ffffff;
    margin: 0;
    font-size: 1.2rem;
}

.qr-message p {
    color: #a8b2d1;
    font-size: 0.9rem;
    margin-top: 5px;
}

/* Mobile Optimierung: Im Desktop-Banner eigentlich nicht nötig, aber zur Sicherheit */
@media (max-width: 600px) {
    .qr-scroll-block { flex-direction: column; }
}