/* 
   ======================================================================
   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); }

/* ====================================================================== */
/* 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;
}