/* =========================================
   GLOBAL UI & APPLE TYPOGRAPHY
   ========================================= */
html { scroll-behavior: smooth; overflow-x: hidden; }
*, *::before, *::after { box-sizing: border-box; }

:root {
    --bg-base: #000000; 
    --glass-bg: rgba(25, 25, 25, 0.4); 
    --glass-border: rgba(255, 255, 255, 0.1);
    --glass-blur: blur(30px);
    
    --text-primary: #f5f5f7;
    --text-muted: #a1a1a6;
    --normal: #30d158;
    --warn: #ff9f0a;
    --electric-red: #ff003c;
    
    --font-sans: -apple-system, BlinkMacSystemFont, "SF Pro Display", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
    --font-mono: 'SF Mono', 'Monaco', monospace;
}

body {
    background-color: var(--bg-base);
    color: var(--text-primary); 
    font-family: var(--font-sans);
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    margin: 0; padding: 0; 
    overflow-x: hidden; 
    width: 100vw; min-height: 100vh;
    font-size: 15px; 
    display: flex;
    flex-direction: column;
}

/* Ambient Liquid Orbs */
.ambient-orb {
    position: fixed; border-radius: 50%; filter: blur(80px);
    z-index: 0; pointer-events: none; opacity: 0.4;
    animation: floatOrb 20s infinite ease-in-out alternate;
}
.orb-1 { width: 400px; height: 400px; background: rgba(255, 159, 10, 0.15); top: -10%; left: -10%; animation-delay: 0s; }
.orb-2 { width: 500px; height: 500px; background: rgba(10, 132, 255, 0.1); bottom: -20%; right: -10%; animation-delay: -5s; }
.orb-3 { width: 300px; height: 300px; background: rgba(48, 209, 88, 0.08); top: 40%; left: 60%; animation-delay: -10s; }

@keyframes floatOrb {
    0% { transform: translate(0, 0) scale(1); }
    50% { transform: translate(50px, 30px) scale(1.1); }
    100% { transform: translate(-30px, 80px) scale(0.9); }
}

.apple-bold-title {
    font-family: var(--font-sans); font-weight: 800; letter-spacing: -0.5px;
    color: #fff; font-size: 1.8rem; margin: 0 0 20px 0; text-align: center;
}

/* =========================================
   THE FIXED DYNAMIC HEADER
   ========================================= */
.top-sticky-zone { position: fixed; top: 0; left: 0; width: 100vw; z-index: 9999; pointer-events: none; display: flex; flex-direction: column; align-items: center; padding-top: 15px; }

.main-outer-pill {
    position: relative; overflow: hidden;
    background: rgba(20, 20, 20, 0.85); backdrop-filter: blur(30px); -webkit-backdrop-filter: blur(30px);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 40px;
    width: 95%; max-width: 1000px; height: 55px; margin: 0 auto;
    box-shadow: 0 10px 30px rgba(0,0,0,0.5); pointer-events: auto; transition: all 0.3s ease;
}

.header-view-default, .header-view-expanded {
    display: flex; justify-content: space-between; align-items: center;
    width: 100%; height: 100%; padding: 0 20px; position: absolute; top: 0; left: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
}

.header-view-expanded { opacity: 0; transform: translateY(-20px); pointer-events: none; }
.header-view-expanded.show { opacity: 1; transform: translateY(0); pointer-events: auto; }
.header-view-default.hide { opacity: 0; transform: translateY(20px); pointer-events: none; }

.h-left { display: flex; align-items: center; gap: 8px; width: 30%; }
.h-center { display: flex; justify-content: center; align-items: center; width: 40%; }
.h-right { display: flex; justify-content: flex-end; align-items: center; width: 30%; }

.h-date { font-size: 0.7rem; color: var(--normal); font-family: var(--font-mono); font-weight: 600;}

.title-stack { display: flex; flex-direction: column; align-items: center; text-align: center; text-decoration: none; cursor: pointer; transition: 0.2s;}
.title-stack:hover { transform: scale(1.05); }

/* ENFORCED EXACT HEADER FONT */
.title-stack h1 { margin: 0; font-size: 1.1rem; line-height: 1; font-family: 'League Spartan', sans-serif; font-weight: 800; letter-spacing: 1px; color: #fff;}
.title-stack span { font-size: 0.45rem; color: var(--text-muted); font-family: var(--font-mono); letter-spacing: 2px;}

.hamburger-btn { background: transparent; border: none; color: #fff; cursor: pointer; display: flex; justify-content: center; align-items: center; width: 36px; height: 36px; outline: none; }
.hamburger-btn svg { width: 20px; height: 20px; stroke: currentColor; }

.options-stack { display: flex; gap: 10px; }
.btn-green { border: 1px solid #30d158; color: #30d158; border-radius: 20px; padding: 6px 18px; font-weight: 700; text-transform: uppercase; letter-spacing: 1px; text-decoration: none; font-size: 0.7rem; background: rgba(48,209,88,0.1); }
.active-btn { background: #30d158; color: #000; box-shadow: 0 0 10px rgba(48,209,88,0.5); }
.close-btn-red { background: rgba(255,59,48,0.15); border: 1px solid #ff3b30; color: #ff3b30; border-radius: 50%; width: 30px; height: 30px; display: flex; justify-content: center; align-items: center; cursor: pointer; }

.pulse { height: 6px; width: 6px; background-color: var(--normal); border-radius: 50%; display: inline-block; box-shadow: 0 0 10px var(--normal); animation: pulse 2s infinite; }
@keyframes pulse { 0% { opacity: 1; } 50% { opacity: 0.3; } 100% { opacity: 1; } }

/* =========================================
   STATIC DASHBOARD PANELS
   ========================================= */
.static-dashboard { 
    display: flex; flex-direction: column; align-items: center; gap: 20px;
    position: relative; z-index: 5; 
    padding: 10px; padding-top: 100px; 
    max-width: 600px; margin: 0 auto; width: 100%; 
}

.panel { 
    background: rgba(30, 30, 30, 0.7); backdrop-filter: var(--glass-blur); -webkit-backdrop-filter: var(--glass-blur);
    border: 1px solid rgba(255,255,255,0.15); border-radius: 16px; 
    display: flex; flex-direction: column; width: 100%; overflow: hidden; 
}
.panel-glow-1 { box-shadow: 0 0 40px rgba(10, 132, 255, 0.1), inset 0 0 10px rgba(255,255,255,0.02); }

.panel-header { 
    height: 42px; padding: 0 15px; border-bottom: 1px solid var(--glass-border); 
    display: flex; align-items: center; 
    background: rgba(0,0,0,0.6); 
    font-size: 0.8rem; font-weight: 700; color: #fff; text-transform: uppercase; letter-spacing: 1px; 
}

.panel-content { padding: 25px 20px; } 
.panel-content p { font-size: 0.95rem; line-height: 1.6; margin-top: 0; margin-bottom: 15px; color: #d1d1d6; }

/* Restored Glowing Text Animation */
.glow-word {
    display: inline; 
    color: #666; 
    animation: wordSweep 5s infinite linear;
}
@keyframes wordSweep {
    0%, 100% { color: #666; text-shadow: none; }
    50% { color: #fff; text-shadow: 0 0 10px rgba(255,255,255,0.8); }
}

/* =========================================
   ANIMATED TEXT HEADER
   ========================================= */
.loader-wrapper {
    display: flex; justify-content: center; width: 100%; margin-bottom: 10px;
    background: transparent !important;
}
.loader {
    color: rgb(150, 150, 150); font-family: var(--font-sans); font-weight: 800; font-size: 22px; 
    height: 32px; padding: 5px; display: flex; align-items: center; letter-spacing: -0.5px;
}
.loader p { margin: 0; padding-right: 5px;}
.words {
    overflow: hidden; position: relative; height: 32px; line-height: 32px;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 20%, black 80%, transparent 100%);
}
.word {
    display: block; height: 32px; padding-left: 2px; color: var(--electric-red);
    animation: spin_4991 4s infinite; margin: 0; line-height: 32px;
}
/* Perfected 6-step Math for zero skipping */
@keyframes spin_4991 {
    0%, 15%   { transform: translateY(0); }
    20%, 35%  { transform: translateY(-100%); }
    40%, 55%  { transform: translateY(-200%); }
    60%, 75%  { transform: translateY(-300%); }
    80%, 95%  { transform: translateY(-400%); }
    100%      { transform: translateY(-500%); }
}

/* =========================================
   SUPPORT ACTION AREA (No Box)
   ========================================= */
.support-action-area {
    display: flex; flex-direction: column; align-items: center; justify-content: center;
    padding: 30px 20px 10px 20px; text-align: center; position: relative; z-index: 2; width: 100%;
}
.support-title-gradient {
    font-family: 'League Spartan', sans-serif;
    font-size: 2.2rem;
    font-weight: 800;
    margin-top: 0; 
    margin-bottom: 25px;
    background: linear-gradient(90deg, #ff9f0a, #ffcc00);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    filter: drop-shadow(0 4px 10px rgba(255, 159, 10, 0.3));
}

/* =========================================
   FORM CSS
   ========================================= */
.form-container { width: 100%; display: flex; justify-content: center; pointer-events: auto;}
.custom-form-layout { display: flex; flex-direction: column; align-items: center; width: 100%; max-width: 320px; }

.inputGroup { font-family: var(--font-sans); margin: 0.8em 0; width: 100%; position: relative; }
.inputGroup input, .inputGroup textarea {
    font-size: 0.95rem; padding: 1em; outline: none; border: 1px solid rgba(255,255,255,0.15);
    background-color: rgba(20,20,20,0.5); backdrop-filter: blur(10px);
    border-radius: 16px; width: 100%; color: #fff; font-family: var(--font-sans); box-sizing: border-box;
    transition: all 0.3s ease;
}
.inputGroup textarea { resize: none; overflow: hidden; min-height: 52px; line-height: 1.5;}

.inputGroup label {
    font-size: 0.95rem; position: absolute; left: 0; top: 0; padding: 1em; margin-left: 0.5em;
    pointer-events: none; transition: all 0.3s ease; color: rgb(150, 150, 150);
}

.inputGroup :is(input:focus, input:valid, textarea:focus, textarea:valid)~label {
    transform: translateY(-50%) scale(.85); margin: 0em; margin-left: 1em;
    padding: 0 0.5em; background-color: #111; border-radius: 4px; color: #fff;
}
.inputGroup :is(input:focus, input:valid, textarea:focus, textarea:valid) { border-color: rgba(255, 159, 10, 0.6); background-color: rgba(20,20,20,0.8);}

/* Premium Apple Shimmer Button */
.premium-shimmer-btn {
    position: relative; overflow: hidden;
    background: rgba(255, 255, 255, 0.05); backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 159, 10, 0.5); border-radius: 30px;
    color: #fff; font-family: var(--font-sans); font-weight: 700; font-size: 0.9rem;
    letter-spacing: 1px; padding: 14px 30px; cursor: pointer;
    transition: transform 0.2s, background 0.3s, box-shadow 0.3s, border-color 0.3s;
    margin-top: 15px; width: 100%; outline: none;
    box-shadow: 0 0 20px rgba(255, 159, 10, 0.3), inset 0 0 10px rgba(255, 159, 10, 0.1);
}
.premium-shimmer-btn::before {
    content: ''; position: absolute; top: 0; left: -100%; width: 50%; height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transform: skewX(-20deg); animation: shimmer 3s infinite;
}
@keyframes shimmer { 100% { left: 200%; } }
.premium-shimmer-btn:hover { 
    background: rgba(255, 159, 10, 0.15); 
    box-shadow: 0 0 35px rgba(255, 159, 10, 0.6), inset 0 0 15px rgba(255, 159, 10, 0.3); 
    border-color: rgba(255, 159, 10, 0.8); 
}
.premium-shimmer-btn:active { transform: scale(0.96); }
.premium-shimmer-btn span { position: relative; z-index: 2; }


/* =========================================
   VERTICAL GLOWING SLIDER (Unstoppable)
   ========================================= */
.vertical-marquee-viewport {
    height: 200px; 
    width: 100%;
    overflow: hidden;
    position: relative;
    display: flex;
    justify-content: center;
    -webkit-mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    mask-image: linear-gradient(to bottom, transparent 0%, black 25%, black 75%, transparent 100%);
    margin-bottom: 20px;
    z-index: 10;
}

.marquee-glow-backdrop {
    position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%);
    width: 200px; height: 200px; background: rgba(255, 159, 10, 0.15);
    filter: blur(50px); z-index: -1; border-radius: 50%; pointer-events: none;
}

.vertical-marquee-track {
    display: flex;
    flex-direction: column;
    height: max-content; 
    animation: scrollUp 15s linear infinite; /* Adjusted speed, unstoppable */
    will-change: transform;
}

.marquee-group {
    display: flex;
    flex-direction: column;
    gap: 15px;
    padding-bottom: 15px; 
}

@keyframes scrollUp {
    0% { transform: translateY(0); }
    100% { transform: translateY(-50%); } 
}

.supporter-pill {
    background: rgba(30, 30, 30, 0.6); backdrop-filter: blur(15px); -webkit-backdrop-filter: blur(15px);
    border: 1px solid rgba(255,255,255,0.1); border-radius: 20px;
    padding: 15px 25px; display: flex; flex-direction: column; justify-content: center; align-items: center; text-align: center;
    width: 320px; 
    min-height: 75px; 
    position: relative;
    box-shadow: 0 4px 15px rgba(0,0,0,0.2); transition: transform 0.2s ease, border-color 0.2s ease;
}

.supporter-pill:hover {
    transform: scale(1.03);
    border-color: rgba(255, 159, 10, 0.4);
    box-shadow: 0 10px 25px rgba(255, 159, 10, 0.2);
}

.card-header { font-size: 0.95rem; color: #fff; margin-bottom: 4px; font-family: var(--font-sans);}
.card-header strong { font-weight: 700; color: var(--warn); }
.card-text { font-size: 0.85rem; color: #a1a1a6; line-height: 1.4; font-style: italic;}

/* =========================================
   ATTACHMENT SVG LINK
   ========================================= */
.attach-link-container {
    display: flex; justify-content: center; margin: 10px 0 50px 0; width: 100%;
}
.attach-link-btn {
    cursor: pointer; transition: transform 0.2s ease; display: inline-flex; background: transparent; border: none; outline: none;
}
.attach-link-btn:hover { transform: scale(1.25); }
.attach-link-btn:active { transform: scale(1); }

.stroke-blue-300 { stroke: #93c5fd; }
.fill-none { fill: none; }

@media (max-width: 600px) {
    .static-dashboard { padding: 10px; padding-top: 100px; }
    .panel-content { padding: 20px; }
    .support-action-area { padding: 20px 10px;}
    .supporter-pill { width: 280px; }
}