:root {
    /* Color Palette: Y2K Chrome & Red Gel */
    --metal-base: #a0a5b0;
    --metal-light: #e6ebf0;
    --metal-dark: #656972;
    --metal-shadow: #3b3d45;

    --screen-bg: #1c1f24;
    --screen-glass: rgba(28, 31, 36, 0.7);
    --screen-border: #0a0b0d;

    /* Accents */
    --hazard-yellow: #ffcc00;
    --hazard-black: #111;

    --gel-red: #ff3333;
    --gel-red-glow: rgba(255, 51, 51, 0.7);
    --gel-blue: #33ccff;

    /* Text */
    --text-primary: #f0f4f8;
    --text-secondary: #a9adb5;
    --text-dark: #222;

    /* Typography */
    --font-display: 'Orbitron', system-ui, sans-serif;
    --font-ui: 'Rajdhani', 'DIN Condensed', system-ui, sans-serif;
    --font-mono: 'Share Tech Mono', ui-monospace, monospace;

    /* Textures */
    --texture-micro-noise: url('data:image/svg+xml;utf8,%3Csvg viewBox="0 0 200 200" xmlns="http://www.w3.org/2000/svg"%3E%3Cfilter id="noiseFilter"%3E%3CfeTurbulence type="fractalNoise" baseFrequency="0.8" numOctaves="3" stitchTiles="stitch"/%3E%3C/filter%3E%3Crect width="100%25" height="100%25" filter="url(%23noiseFilter)"/%3E%3C/svg%3E');
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: #000;
    color: var(--text-primary);
    font-family: var(--font-ui);
    text-transform: uppercase;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: flex-start;
    overflow: auto;
    /* Allow scrolling again */
    position: relative;
    padding: 20px;
    cursor: crosshair;
    /* Interactive Minigame */
}

/* Background Canvas */
#ant-canvas {
    position: fixed;
    /* Keep canvas fixed while scrolling */
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

/* ==================================
   Y2K METALLIC CHASSIS
   ================================== */
.frame-chassis {
    position: relative;
    z-index: 10;
    width: 95%;
    max-width: 1800px;
    min-height: calc(100vh - 60px);
    background: transparent;
    border-radius: 20px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.8);
    border: 2px solid rgba(0,0,0,0.4);
    padding: 15px;
    pointer-events: none;
    margin: 0 auto;
}

/* Make everything inside the chassis clickable again except purely visual parts */
.outer-bezel {
    pointer-events: auto;
    height: 100%;
    border: 4px solid var(--metal-shadow);
    border-radius: 12px;
    background: transparent;
    box-shadow: inset 0 0 20px rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    position: relative;
}

/* Overlay noise for brushed metal look */
.outer-bezel::before {
    content: '';
    position: absolute;
    inset: 0;
    background: var(--texture-micro-noise);
    opacity: 0.15;
    mix-blend-mode: multiply;
    pointer-events: none;
    z-index: 1;
}

/* Top Header Bar */
.chassis-vent {
    position: relative;
    z-index: 2;
    height: 60px;
    background: linear-gradient(to bottom, var(--metal-light), var(--metal-base));
    border-bottom: 3px solid var(--metal-shadow);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.4), inset 0 2px 0 #fff;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 30px;
    border-radius: 8px 8px 0 0;
}

.hazard-stripe-insert {
    width: 200px;
    height: 18px;
    background: repeating-linear-gradient(45deg, var(--hazard-yellow) 0 10px, var(--hazard-black) 10px 20px);
    border: 2px solid var(--metal-shadow);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.7);
    border-radius: 3px;
}

.vent-group {
    display: flex;
    gap: 8px;
}

.vent-group span {
    width: 30px;
    height: 14px;
    background: #111;
    border-radius: 8px;
    box-shadow: inset 0 3px 6px rgba(0, 0, 0, 0.9), 0 1px 1px rgba(255, 255, 255, 0.4);
}

/* System Status Label */
.system-status {
    display: flex;
    align-items: center;
    gap: 20px;
    background: var(--screen-bg);
    padding: 5px 15px;
    border-radius: 20px;
    border: 2px solid var(--metal-shadow);
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.4);
}

.status-logo {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--text-secondary);
    letter-spacing: 2px;
}

/* Red Gel Buttons/LEDs */
.led-array {
    display: flex;
    gap: 10px;
}

.led-gel {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, #ff8888, var(--gel-red) 60%, #880000 100%);
    box-shadow: 0 0 8px var(--gel-red-glow), inset 0 -2px 4px rgba(0, 0, 0, 0.5), 0 1px 2px rgba(255, 255, 255, 0.5);
    border: 1px solid #440000;
}

.led-gel[data-state="blink"] {
    animation: gelBlink 1s infinite alternate;
}

@keyframes gelBlink {
    0% {
        opacity: 0.5;
        box-shadow: none;
        filter: brightness(0.7);
    }

    100% {
        opacity: 1;
        box-shadow: 0 0 15px var(--gel-red-glow);
        filter: brightness(1.2);
    }
}

/* ==================================
   MAIN BODY & THREE-PANE LAYOUT
   ================================== */
.chassis-body {
    flex: 1;
    display: flex;
    position: relative;
    z-index: 2;
    padding: 20px;
    gap: 20px;
}

/* Nav Panes (Left Only) */
.left-nav-pane {
    width: 220px;
    display: flex;
    flex-direction: column;
}

.nav-housing {
    background: var(--metal-base);
    border: 2px solid var(--metal-shadow);
    border-radius: 8px;
    box-shadow: inset 0 2px 0 var(--metal-light), 0 5px 15px rgba(0, 0, 0, 0.5);
    padding: 10px;
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.nav-header {
    background: var(--metal-shadow);
    color: #fff;
    text-align: center;
    font-family: var(--font-ui);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 2px;
    padding: 5px;
    border-radius: 4px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

.vertical-nav {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.nav-item {
    display: block;
    background: var(--screen-bg);
    color: var(--text-secondary);
    text-decoration: none;
    padding: 8px 12px;
    font-size: 12px;
    font-family: var(--font-mono);
    border: 1px solid #000;
    border-radius: 3px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8), 0 1px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.2s;
}

.nav-item:hover,
.nav-item.active {
    color: var(--text-primary);
    border-color: var(--gel-red);
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8), 0 0 8px rgba(255, 51, 51, 0.3);
}

.pointer {
    color: var(--gel-red);
    margin-right: 5px;
    opacity: 0;
}

.nav-item:hover .pointer,
.nav-item.active .pointer {
    opacity: 1;
}

.nav-cta-btn {
    display: block;
    margin-top: 16px;
    text-align: center;
    text-decoration: none;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1.5px;
    color: #111;
    background: linear-gradient(135deg, var(--hazard-yellow), #f0a500);
    border: 2px solid #111;
    border-radius: 5px;
    padding: 10px 14px;
    outline: 2px dashed rgba(0,0,0,0.5);
    outline-offset: 2px;
    box-shadow: 0 4px 0 #8a6000, 0 6px 14px rgba(0,0,0,0.5);
    transition: transform 0.15s, box-shadow 0.15s;
    animation: marchingAnts 0.8s steps(1) infinite;
}

.nav-cta-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 0 #8a6000, 0 10px 20px rgba(0,0,0,0.6);
    background: linear-gradient(135deg, #ffe033, #f0a500);
}

.nav-cta-btn:active {
    transform: translateY(2px);
    box-shadow: 0 2px 0 #8a6000;
}

.status-block {
    background: var(--screen-bg);
    padding: 15px;
    border: 1px solid #000;
    border-radius: 4px;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    gap: 8px;
    font-family: var(--font-mono);
    font-size: 11px;
    color: var(--gel-blue);
}

.vertical-leds {
    flex-direction: column;
    align-items: center;
    margin-top: 20px;
}

/* ==================================
   CENTER SCREEN HOUSING
   ================================== */
.center-screen-housing {
    flex: 1;
    background: transparent;
    border-radius: 12px;
    padding: 15px;
    box-shadow: none;
    display: flex;
    flex-direction: column;
}

.screen-glass {
    flex: 1;
    background: transparent;
    border: 4px solid var(--screen-border);
    border-radius: 8px;
    box-shadow: inset 0 0 30px rgba(0, 0, 0, 0.3);
    position: relative;
    overflow-y: auto;
    display: flex;
    flex-direction: column;
}

/* Screen Scanlines */
.screen-glass::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: repeating-linear-gradient(rgba(0, 0, 0, 0) 0, rgba(0, 0, 0, 0) 2px, rgba(0, 0, 0, 0.15) 2px, rgba(0, 0, 0, 0.15) 4px);
    pointer-events: none;
    z-index: 5;
}

.screen-content {
    padding: 30px;
    position: relative;
    z-index: 10;
    display: flex;
    flex-direction: column;
    gap: 30px;
}

/* Headers in screen */
.news-arena-header {
    border-bottom: 2px solid var(--metal-shadow);
    padding-bottom: 15px;
    margin-bottom: 20px;
}

/* ==================================
   HERO SECTION
   ================================== */
.hero-section {
    background: transparent !important;
    min-height: 75vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 60px 40px;
    position: relative;
}

.hero-inner {
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    margin: 0 auto;
    background: rgba(0, 0, 0, 0.55);
    border: 2px solid rgba(255, 200, 0, 0.35);
    border-radius: 12px;
    padding: 48px 52px;
    box-shadow:
        0 0 0 1px rgba(255,200,0,0.1),
        0 0 40px rgba(0,0,0,0.5),
        inset 0 0 60px rgba(0,0,0,0.2);
    backdrop-filter: blur(2px);
}

.hero-eyebrow {
    font-family: var(--font-mono);
    font-size: 12px;
    letter-spacing: 4px;
    color: var(--gel-red);
    opacity: 0.8;
}

.hero-title {
    font-family: var(--font-display);
    font-size: clamp(32px, 5vw, 58px);
    font-weight: 900;
    line-height: 1.1;
    letter-spacing: 1px;
    color: #fff;
    text-shadow:
        0 0 20px rgba(255,255,255,0.15),
        0 2px 0 rgba(0,0,0,0.8);
    text-transform: uppercase;
}

.hero-sub {
    font-family: var(--font-display);
    font-size: clamp(14px, 2vw, 20px);
    color: var(--hazard-yellow);
    letter-spacing: 3px;
    text-transform: uppercase;
    opacity: 0.9;
}

.hero-body {
    font-family: var(--font-ui);
    font-size: clamp(14px, 1.5vw, 17px);
    color: rgba(220,225,235,0.9);
    line-height: 1.65;
    text-transform: none;
    max-width: 580px;
    border-left: 3px solid var(--gel-red);
    border-right: 3px solid var(--gel-red);
    padding: 0 16px;
    text-align: center;
}

/* ==== QUEEN CTA BUTTON ==== */
.queen-cta-btn {
    position: relative;
    overflow: hidden;
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 15px;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
    color: #111;
    background: linear-gradient(135deg, var(--hazard-yellow), #f0a500);
    border: 3px solid #111;
    border-radius: 6px;
    padding: 14px 32px;
    cursor: pointer;
    /* Marching ants border */
    outline: 3px dashed rgba(0,0,0,0.6);
    outline-offset: 3px;
    box-shadow:
        0 6px 0 #8a6000,
        0 8px 20px rgba(0,0,0,0.6),
        inset 0 1px 0 rgba(255,255,255,0.5);
    transition: transform 0.15s, box-shadow 0.15s;
    animation: marchingAnts 0.8s steps(1) infinite;
}

@keyframes marchingAnts {
    0%   { outline-color: rgba(0,0,0,0.7); }
    50%  { outline-color: rgba(255,204,0,0.9); }
    100% { outline-color: rgba(0,0,0,0.7); }
}

.queen-cta-btn::before {
    content: '🐜🐜🐜🐜🐜🐜🐜🐜🐜🐜🐜🐜';
    position: absolute;
    top: -24px;
    left: -20px;
    font-size: 11px;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: transform 0.4s linear;
    transform: translateX(-100%);
    pointer-events: none;
}

.queen-cta-btn:hover::before {
    transform: translateX(120%);
    transition: transform 0.9s linear;
}

.queen-cta-btn::after {
    content: '🐜🐜🐜🐜🐜🐜🐜🐜🐜🐜🐜🐜';
    position: absolute;
    bottom: -24px;
    right: -20px;
    font-size: 11px;
    letter-spacing: 2px;
    white-space: nowrap;
    transition: transform 0.4s linear;
    transform: translateX(100%);
    pointer-events: none;
}

.queen-cta-btn:hover::after {
    transform: translateX(-120%);
    transition: transform 0.9s linear;
}

.queen-cta-btn:hover {
    transform: translateY(-3px);
    box-shadow:
        0 9px 0 #8a6000,
        0 14px 30px rgba(0,0,0,0.7),
        inset 0 1px 0 rgba(255,255,255,0.5);
    background: linear-gradient(135deg, #ffe033, #f0a500);
}

.queen-cta-btn:active {
    transform: translateY(3px);
    box-shadow: 0 3px 0 #8a6000, 0 4px 10px rgba(0,0,0,0.5);
}

/* Benefits Section Styles */
.flex-benefits {
    display: flex;
    flex-wrap: wrap;
    gap: 20px;
    justify-content: space-between;
}

.benefit-card {
    flex: 1 1 calc(33% - 20px);
    min-width: 280px;
    background: rgba(0, 0, 0, 0.4);
    border: 1px solid var(--metal-shadow);
    border-radius: 6px;
    padding: 20px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    gap: 15px;
    align-items: center;
    /* Center icons */
    text-align: center;
}

.benefit-icon-wrapper {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--metal-light) 0%, var(--metal-base) 50%, var(--metal-dark) 100%);
    border: 3px solid var(--metal-shadow);
    box-shadow:
        0 5px 15px rgba(0, 0, 0, 0.5),
        inset 0 2px 4px rgba(255, 255, 255, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
    margin-bottom: 5px;
}

.benefit-icon {
    width: 100%;
    height: 100%;
    object-fit: cover;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.benefit-title {
    font-family: var(--font-display);
    font-size: 16px;
    color: var(--gel-red);
    display: flex;
    align-items: center;
    gap: 10px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.sub-benefit {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.sub-benefit h3 {
    font-family: var(--font-ui);
    font-size: 14px;
    color: var(--text-primary);
    letter-spacing: 1px;
}

.sub-benefit .body-text {
    font-size: 13px;
    line-height: 1.4;
    color: var(--text-secondary);
}

.display-title {
    font-family: var(--font-display);
    font-size: 38px;
    letter-spacing: 2px;
    color: #fff;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.3);
}

.body-text {
    font-size: 14px;
    color: var(--text-secondary);
    line-height: 1.5;
    text-transform: none;
}

.large-body {
    font-size: 16px;
    color: #ccc;
}

/* Boxes in Screen */
.content-box {
    border: 1px solid var(--metal-shadow);
    border-radius: 4px;
    background: rgba(0, 0, 0, 0.4);
}

.box-header {
    background: linear-gradient(to right, #333, #111);
    color: var(--hazard-yellow);
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    padding: 6px 12px;
    border-bottom: 1px solid #000;
    display: flex;
    align-items: center;
    gap: 10px;
}

.box-icon {
    color: #fff;
    background: var(--gel-red);
    display: inline-block;
    width: 14px;
    height: 14px;
    text-align: center;
    line-height: 14px;
    border-radius: 2px;
}

.box-content {
    padding: 15px;
}

/* Tiers */
.tier-entry {
    margin-bottom: 15px;
}

.tier-entry:last-child {
    margin-bottom: 0;
}

.tier-title {
    font-family: var(--font-ui);
    font-size: 16px;
    color: #fff;
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 4px;
}

.gel-dot {
    width: 8px;
    height: 8px;
    background: var(--gel-blue);
    border-radius: 50%;
    box-shadow: 0 0 5px var(--gel-blue);
}

/* Features */
.grid-box {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 15px;
}

.feature-item {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.icon-chip {
    width: 50px;
    height: 50px;
    background: var(--metal-base);
    border: 2px solid var(--metal-shadow);
    border-radius: 10px;
    box-shadow: inset 0 2px 0 #fff, 0 4px 10px rgba(0, 0, 0, 0.5);
    display: flex;
    justify-content: center;
    align-items: center;
    font-family: var(--font-display);
    font-size: 20px;
    font-weight: 700;
    color: #333;
}

/* Buttons */
.action-bay {
    display: flex;
    gap: 15px;
    margin-top: 20px;
}

.console-button {
    background: var(--metal-base);
    color: #111;
    font-family: var(--font-ui);
    font-size: 14px;
    font-weight: 700;
    padding: 10px 20px;
    border: 1px solid var(--metal-shadow);
    border-radius: 4px;
    box-shadow: inset 0 1px 0 #fff, 0 2px 4px rgba(0, 0, 0, 0.4);
    cursor: pointer;
    transition: all 0.2s;
}

.console-button:hover {
    background: var(--metal-light);
    box-shadow: inset 0 1px 0 #fff, 0 4px 8px rgba(0, 0, 0, 0.6);
}

/* How it Works Section Styles */
.stepper-layout {
    display: flex;
    flex-direction: column;
    gap: 40px;
    padding: 10px;
}

.work-step {
    display: flex;
    gap: 25px;
    border-left: 2px solid var(--metal-shadow);
    padding-left: 25px;
    position: relative;
}

.work-step::before {
    content: '';
    position: absolute;
    left: -7px;
    top: 0;
    width: 12px;
    height: 12px;
    background: var(--gel-red);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--gel-red-glow);
}

.step-num {
    font-family: var(--font-mono);
    font-size: 24px;
    color: var(--metal-shadow);
    opacity: 0.5;
    flex-shrink: 0;
}

.step-body {
    flex: 1;
    min-width: 0;
    width: 100%;
}

.step-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--text-primary);
    margin-bottom: 20px;
}

.step-sub-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 20px;
}

.sub-step {
    background: rgba(255, 255, 255, 0.03);
    padding: 15px;
    border-radius: 4px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.sub-step .label {
    display: inline-block;
    font-family: var(--font-mono);
    color: var(--gel-red);
    margin-bottom: 8px;
    font-size: 12px;
}

/* Daily Cycle UI */
.daily-cycle {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.cycle-box {
    flex: 1;
    min-width: 250px;
    background: linear-gradient(to bottom, #2a2d35, #1c1f24);
    border: 2px solid var(--metal-shadow);
    padding: 20px;
    border-radius: 8px;
    position: relative;
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.5);
}

.time-stamp {
    position: absolute;
    top: -10px;
    right: 15px;
    background: var(--metal-base);
    color: var(--text-dark);
    font-family: var(--font-mono);
    font-size: 10px;
    padding: 2px 8px;
    border-radius: 4px;
    font-weight: bold;
}

.cycle-box h3 {
    font-size: 16px;
    margin-bottom: 10px;
    color: var(--gel-red);
}

.pulse {
    border-color: var(--gel-red);
    animation: borderPulse 2s infinite;
}

@keyframes borderPulse {
    0% {
        border-color: var(--metal-shadow);
    }

    50% {
        border-color: var(--gel-red);
    }

    100% {
        border-color: var(--metal-shadow);
    }
}

/* Nerd Schematic */
.nerd-schematic-container {
    background: #050a10;
    border: 1px solid #1a3a5a;
    border-radius: 8px;
    padding: 20px;
    margin-top: 20px;
    width: 100%;
}

.schematic-header {
    display: flex;
    align-items: center;
    gap: 15px;
    font-family: var(--font-mono);
    color: #4a9eff;
    font-size: 12px;
    border-bottom: 1px solid #1a3a5a;
    padding-bottom: 10px;
    margin-bottom: 15px;
}

.nerd-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid #4a9eff;
}

.interactive-diagram {
    width: 100%;
}

.blueprint-svg {
    width: 100%;
    display: block;
    margin: 0 auto;
}

.node {
    fill: none;
    stroke: #4a9eff;
    stroke-width: 2;
    cursor: help;
    transition: all 0.3s;
}

.queen-node {
    fill: rgba(74, 158, 255, 0.1);
    stroke: #4a9eff;
    stroke-width: 3;
    stroke-dasharray: 5;
    animation: rotateDash 10s linear infinite;
    cursor: help;
}

@keyframes rotateDash {
    to {
        stroke-dashoffset: 50;
    }
}

.flow-line {
    stroke: #1a3a5a;
    stroke-width: 2;
    stroke-dasharray: 4;
    animation: flow 2s linear infinite;
    pointer-events: none;
}

@keyframes flow {
    to {
        stroke-dashoffset: -20;
    }
}

.svg-text {
    fill: #4a9eff;
    font-family: var(--font-mono);
    font-size: 12px;
    pointer-events: none;
}

.backward-flow {
    pointer-events: none;
}

.node:hover,
.queen-node:hover {
    stroke: #fff;
    filter: drop-shadow(0 0 5px #4a9eff);
}

.diagram-tooltip {
    text-align: center;
    font-family: var(--font-mono);
    color: #4a9eff;
    font-size: 12px;
    margin-top: 15px;
    min-height: 40px;
    line-height: 1.4;
    text-transform: none;
}

/* Red Highlight Step */
.highlight-step {
    border-color: var(--gel-red);
}

/* Footer & Nav updates */
.screen-footer {
    margin-top: auto;

    padding: 15px;
    text-align: center;
    font-family: var(--font-mono);
    font-size: 10px;
    color: var(--metal-shadow);
    position: relative;
    z-index: 10;
}

.screen-footer span {
    color: var(--text-secondary);
    cursor: pointer;
}

.screen-footer span:hover {
    color: #fff;
}

/* Walkthrough Section (Nokia UI) */
.walkthrough-grid {
    display: flex;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    padding: 20px;
}

.walkthrough-item {
    text-align: center;
    flex: 1;
    min-width: 280px;
}

.nokia-container {
    perspective: 1000px;
    margin-top: 20px;
}

.nokia-phone {
    width: 260px;
    height: 520px;
    background: linear-gradient(135deg, #bdc3c7, #8e9eab);
    border-radius: 40px 40px 60px 60px;
    border: 3px solid #555;
    margin: 0 auto;
    position: relative;
    box-shadow:
        0 20px 40px rgba(0, 0, 0, 0.6),
        inset 0 2px 5px #fff;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 20px;
}

.nokia-earpiece {
    width: 40px;
    height: 6px;
    background: #333;
    border-radius: 10px;
    margin-bottom: 10px;
    box-shadow: inset 0 1px 2px #000;
}

.nokia-screen-bezel {
    width: 220px;
    height: 310px;
    background: #222;
    border-radius: 10px;
    padding: 8px;
    border: 2px solid #555;
    box-shadow: inset 0 0 10px #000;
    margin-bottom: 20px;
}

.nokia-lcd {
    width: 100%;
    height: 100%;
    background: #99ad53;
    /* Iconic Nokia Green */
    border-radius: 2px;
    box-shadow: inset 0 2px 10px rgba(0, 0, 0, 0.3);
    padding: 8px;
    display: flex;
    flex-direction: column;
    font-family: var(--font-mono);
    color: #2b3310;
    text-align: left;
    overflow: hidden;
    position: relative;
}

.nokia-lcd::after {
    content: "";
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(rgba(0, 0, 0, 0.05) 0px, transparent 1px, transparent 2px);
    pointer-events: none;
}

.lcd-header {
    font-size: 10px;
    border-bottom: 1px solid #2b3310;
    margin-bottom: 5px;
    font-weight: bold;
    text-align: center;
}

.lcd-content {
    font-size: 8px;
    line-height: 1.2;
}

.lcd-content p {
    margin-bottom: 4px;
}

.lcd-footer {
    margin-top: auto;
    font-size: 9px;
    font-weight: bold;
    display: flex;
    justify-content: space-between;
}

.nokia-buttons {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
}

.nav-key {
    width: 100px;
    height: 45px;
    background: #95a5a6;
    border-radius: 20px;
    border: 1px solid #7f8c8d;
    box-shadow: 0 4px 0 #555, inset 0 1px 0 #fff;
}

.keypad {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
    width: 180px;
}

.keypad span {
    width: 48px;
    height: 30px;
    background: #7f8c8d;
    border-radius: 8px;
    box-shadow: 0 3px 0 #333, inset 0 1px 0 #bdc3c7;
}

/* WhatsApp Style LCD */
.whatsapp-lcd {
    background: #e5ddd5;
    /* WhatsApp light grey/beige bg */
    padding: 10px;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #333;
    display: flex;
    flex-direction: column;
    gap: 8px;
    overflow-y: auto;
    font-size: 11px;
    text-transform: none;
    /* Turn off the UI uppercase for chat */
    scrollbar-width: none;
}

.whatsapp-lcd::-webkit-scrollbar {
    display: none;
}

.chat-bubble {
    max-width: 85%;
    padding: 8px 10px;
    border-radius: 8px;
    font-size: 10px;
    position: relative;
    line-height: 1.3;
    box-shadow: 0 1px 1px rgba(0, 0, 0, 0.1);
}

.chat-bubble.queen {
    align-self: flex-start;
    background: #fff;
    border-top-left-radius: 0;
}

.chat-bubble.me {
    align-self: flex-end;
    background: #dcf8c6;
    border-top-right-radius: 0;
}

.bubble-meta {
    font-size: 8px;
    color: #999;
    margin-top: 4px;
    text-align: right;
    display: block;
}

/* Setup Screen Interactive Elements */
.setup-selection-box {
    display: flex;
    flex-wrap: wrap;
    gap: 6px;
    margin-top: 8px;
}

.setup-toggle-chip {
    background: #fff;
    border: 1px solid #ccc;
    border-radius: 12px;
    padding: 4px 8px;
    font-size: 9px;
    font-family: 'Inter', -apple-system, sans-serif;
    color: #333;
    cursor: pointer;
    transition: all 0.2s;
    user-select: none;
    -webkit-tap-highlight-color: transparent;
}

.setup-toggle-chip:hover {
    background: #f0f0f0;
    border-color: #aaa;
}

.setup-toggle-chip.selected {
    background: #25d366; /* WhatsApp Green */
    color: #fff;
    border-color: #128c7e;
    box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}

.whatsapp-header {
    background: #075e54;
    color: #fff;
    padding: 10px;
    margin: -10px -10px 5px -10px;
    font-size: 10px;
    font-weight: bold;
    display: flex;
    align-items: center;
    gap: 8px;
}

.header-avatar {
    width: 20px;
    height: 20px;
    background: #ddd;
    border-radius: 50%;
    background-position: center;
    background-repeat: no-repeat;
}

.chat-summary-block {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 8px;
    padding: 8px;
    font-size: 9px;
}

.chat-summary-header {
    color: #075e54;
    font-weight: bold;
    margin-bottom: 4px;
    border-bottom: 1px solid rgba(0, 0, 0, 0.1);
    padding-bottom: 2px;
}

.list-item {
    margin-bottom: 6px;
}

.list-item b {
    color: #128c7e;
}

.action-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    background: #ff5252;
    border-radius: 50%;
    margin-left: 4px;
}

/* ---- Queen B Digest Components ---- */
.digest-section {
    margin-bottom: 8px;
}

.digest-section-title {
    font-weight: bold;
    color: #075e54;
    font-size: 9px;
    border-bottom: 1px dashed rgba(0,0,0,0.15);
    padding-bottom: 2px;
    margin-bottom: 5px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.digest-label {
    font-size: 8px;
    color: #888;
    margin: 4px 0 3px;
    text-transform: uppercase;
    letter-spacing: 0.4px;
}

.digest-event-card {
    background: #fff;
    border-radius: 6px;
    padding: 6px 8px;
    margin-bottom: 5px;
    border-left: 3px solid #25d366;
    box-shadow: 0 1px 3px rgba(0,0,0,0.08);
    font-size: 8.5px;
    line-height: 1.5;
}

.digest-event-card.your-plan {
    border-left-color: #128c7e;
    background: #f0faf7;
}

.digest-event-title {
    font-weight: bold;
    color: #1a1a1a;
    margin-bottom: 2px;
    font-size: 9px;
}

.digest-event-meta {
    color: #555;
    font-size: 8px;
    line-height: 1.6;
}

.digest-badge {
    background: #ff9800;
    color: #fff;
    border-radius: 6px;
    padding: 1px 5px;
    font-size: 7.5px;
    font-weight: bold;
    margin-left: 3px;
}

.digest-rsvp {
    display: flex;
    gap: 5px;
    margin-top: 5px;
}

.digest-btn {
    border: none;
    border-radius: 10px;
    padding: 3px 9px;
    font-size: 8px;
    cursor: pointer;
    font-family: 'Inter', sans-serif;
    font-weight: bold;
    transition: all 0.2s;
    opacity: 0.8;
}

.digest-btn.yes-btn {
    background: #e8f5e9;
    color: #2e7d32;
    border: 1px solid #a5d6a7;
}

.digest-btn.yes-btn:hover,
.digest-btn.yes-btn.active {
    background: #25d366;
    color: #fff;
    opacity: 1;
}

.digest-btn.no-btn {
    background: #fce4ec;
    color: #c62828;
    border: 1px solid #ef9a9a;
}

.digest-btn.no-btn:hover,
.digest-btn.no-btn.active {
    background: #e53935;
    color: #fff;
    opacity: 1;
}

.digest-brief-btn {
    margin-top: 4px;
    font-size: 8px !important;
    padding: 3px 8px !important;
}

/* Update cards */
.digest-update-card {
    display: flex;
    align-items: flex-start;
    gap: 6px;
    background: #fff;
    border-radius: 6px;
    padding: 5px 7px;
    margin-bottom: 4px;
    font-size: 8.5px;
    line-height: 1.4;
    box-shadow: 0 1px 2px rgba(0,0,0,0.07);
}

.digest-update-card.sad {
    background: #fdf4f8;
    border-left: 3px solid #e91e63;
}

.digest-img {
    width: 32px;
    height: 32px;
    border-radius: 4px;
    object-fit: cover;
    flex-shrink: 0;
    border: 1px solid rgba(0,0,0,0.1);
}

.digest-update-icon {
    font-size: 18px;
    flex-shrink: 0;
    line-height: 1;
}

.digest-nudge-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 4px;
    margin-top: 5px;
}



/* ==================================
   BOTTOM CHASSIS DECORATION
   ================================== */
.chassis-bottom {
    position: relative;
    z-index: 2;
    height: 40px;
    background: linear-gradient(to top, var(--metal-light), var(--metal-base));
    border-top: 3px solid var(--metal-shadow);
    border-radius: 0 0 8px 8px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 20px;
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.5), 0 -2px 10px rgba(0, 0, 0, 0.2);
    width: 100%;
    margin-top: auto;
}

.rivet {
    width: 16px;
    height: 16px;
    background: var(--metal-base);
    border-radius: 50%;
    box-shadow: inset 0 2px 4px rgba(0, 0, 0, 0.5), inset 0 -2px 2px rgba(255, 255, 255, 0.7), 0 1px 2px rgba(0, 0, 0, 0.5);
    position: relative;
}

.rivet::after {
    content: '+';
    position: absolute;
    inset: 0;
    text-align: center;
    line-height: 16px;
    color: rgba(0, 0, 0, 0.4);
    font-size: 12px;
    font-weight: bold;
    transform: rotate(45deg);
}

.bottom-branding {
    font-family: var(--font-display);
    font-size: 12px;
    letter-spacing: 2px;
    color: var(--metal-shadow);
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.4);
}

/* Custom Scrollbar */
.scroll-track::-webkit-scrollbar {
    width: 12px;
}

.scroll-track::-webkit-scrollbar-track {
    background: var(--screen-border);
    border-left: 1px solid var(--metal-shadow);
}

.scroll-track::-webkit-scrollbar-thumb {
    background: var(--metal-base);
    border: 1px solid var(--metal-shadow);
    border-radius: 2px;
}

/* WhatsApp Voice Message Player */
.voice-msg-container {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 5px 0;
    width: 100%;
}

.play-btn-wrapper {
    position: relative;
    width: 30px;
    height: 30px;
    cursor: pointer;
    background: #128c7e;
    /* WhatsApp Green */
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
}

.play-btn-wrapper .play-icon {
    width: 0;
    height: 0;
    border-top: 6px solid transparent;
    border-bottom: 6px solid transparent;
    border-left: 10px solid #fff;
    margin-left: 4px;
}

.play-btn-wrapper.playing .play-icon {
    border: none;
    width: 10px;
    height: 12px;
    border-left: 3px solid #fff;
    border-right: 3px solid #fff;
    margin-left: 0;
}

.voice-waveform {
    flex: 1;
    height: 12px;
    background: repeating-linear-gradient(90deg, #ccc 0, #ccc 2px, transparent 2px, transparent 4px);
    position: relative;
    border-radius: 1px;
}

.voice-progress {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: repeating-linear-gradient(90deg, #128c7e 0, #128c7e 2px, transparent 2px, transparent 4px);
    transition: width 0.1s linear;
}

.wa-status-mic {
    font-size: 14px;
    color: #4fc3f7;
    /* WhatsApp Blue for played messages */
}

/* ==================================
   STICKY & MOBILE NAVIGATION
   ================================== */

/* Persistent Nav for Desktop */
.left-nav-pane {
    position: sticky;
    top: 20px;
    align-self: flex-start;
}

/* Mobile Responsive Adjustments - v3.0 */
@media (max-width: 900px) {
    body {
        padding: 2px;
    }

    .frame-chassis {
        width: 100%;
        max-width: 100%;
        min-height: auto;
        padding: 3px;
        margin: 0;
        border-radius: 10px;
    }

    .outer-bezel {
        border-width: 2px;
        border-radius: 8px;
    }

    .chassis-vent {
        height: auto;
        flex-direction: column;
        padding: 8px;
        gap: 8px;
        border-radius: 6px 6px 0 0;
    }

    .hazard-stripe-insert {
        width: 100%;
        height: 10px;
    }

    .system-status {
        width: 100%;
        justify-content: center;
        padding: 4px 10px;
    }

    .chassis-body {
        flex-direction: column;
        padding: 4px;
        gap: 5px;
    }

    .left-nav-pane {
        position: sticky;
        top: 0;
        width: 100%;
        z-index: 1000;
        background: var(--metal-base);
        border-bottom: 2px solid var(--metal-shadow);
    }

    .nav-housing {
        padding: 2px;
        box-shadow: 0 4px 10px rgba(0, 0, 0, 0.5);
    }

    .vertical-nav {
        flex-direction: row;
        justify-content: space-around;
        gap: 2px;
    }

    .nav-item {
        flex: 1;
        text-align: center;
        padding: 12px 2px;
        font-size: 9px;
        white-space: nowrap;
    }

    .nav-header,
    .mini-vent-shaft,
    .vent-group {
        display: none;
    }

    /* === SCREEN AREA === */
    .center-screen-housing {
        padding: 5px;
    }

    .screen-glass {
        border-width: 2px;
    }

    .screen-content {
        padding: 10px 8px;
        gap: 15px;
    }

    .box-content {
        padding: 10px 8px;
    }

    /* === HERO === */
    .display-title {
        font-size: 22px !important;
        line-height: 1.2;
        letter-spacing: 1px;
        word-break: break-word;
    }

    .body-text.large-body {
        font-size: 13px;
    }

    .action-bay {
        flex-direction: column;
        gap: 8px;
    }

    .console-button {
        width: 100%;
        text-align: center;
    }

    /* === BENEFITS === */
    .flex-benefits {
        flex-direction: column;
        gap: 12px;
    }

    .benefit-card {
        min-width: 100%;
        width: 100%;
        padding: 15px 10px;
        margin-bottom: 0;
    }

    .benefit-title {
        font-size: 14px;
        justify-content: center;
    }

    /* === HOW IT WORKS === */
    .stepper-layout {
        padding: 5px 0;
        gap: 25px;
    }

    .work-step {
        flex-direction: column;
        gap: 10px;
        padding-left: 15px;
        border-left-width: 2px;
    }

    .work-step::before {
        left: -7px;
        width: 12px;
        height: 12px;
    }

    .step-num {
        font-size: 18px;
    }

    .step-title {
        font-size: 16px !important;
        margin-bottom: 10px;
        word-break: break-word;
    }

    .step-sub-grid {
        grid-template-columns: 1fr;
        gap: 12px;
    }

    .sub-step {
        padding: 10px;
    }

    .sub-step p {
        font-size: 13px;
        line-height: 1.4;
        word-break: break-word;
    }

    /* Daily Cycle */
    .daily-cycle {
        flex-direction: column;
        gap: 12px;
    }

    .cycle-box {
        min-width: 100%;
        padding: 15px;
    }

    /* Nerd Schematic */
    .nerd-schematic-container {
        padding: 10px;
    }

    .schematic-header {
        font-size: 10px;
    }

    /* === WALKTHROUGH === */
    .walkthrough-grid {
        flex-direction: column;
        align-items: center;
        padding: 10px 5px;
        gap: 20px;
    }

    .walkthrough-item {
        min-width: 100%;
        width: 100%;
    }

    .nokia-phone {
        width: 220px;
        height: 440px;
        padding: 15px;
        border-radius: 30px 30px 50px 50px;
    }

    .nokia-screen-bezel {
        width: 190px;
        height: 260px;
    }

    .keypad span {
        width: 40px;
        height: 25px;
    }

    .keypad {
        width: 150px;
    }

    /* === BOTTOM BAR === */
    .chassis-bottom {
        height: 35px;
        padding: 0 10px;
    }

    .bottom-branding {
        font-size: 8px;
        letter-spacing: 1px;
    }

    .rivet {
        width: 12px;
        height: 12px;
    }

    /* === FOOTER === */
    .screen-footer {
        padding: 10px;
        font-size: 9px;
    }
}

/* Global Smooth Scroll */
html {
    scroll-behavior: smooth;
}

/* REFINED SCHEMATIC STYLES - FINAL VERSION */
.blueprint-svg {
    width: 100%;
    max-width: 1200px !important;
    /* Forces it to span the full console width (two cards) */
    height: auto;
    display: block;
    margin: 0 auto;
}

.flow-line {
    stroke: #4a9eff !important;
    stroke-width: 2;
    stroke-dasharray: 4;
    animation: flowForward 2s linear infinite !important;
}

.backward-flow {
    stroke: #4fc3f7 !important;
    animation: flowBackward 2s linear infinite !important;
}

@keyframes flowForward {
    to {
        stroke-dashoffset: -20;
        /* Moves Left to Right */
    }
}

@keyframes flowBackward {
    from {
        stroke-dashoffset: -20;
    }

    to {
        stroke-dashoffset: 0;
        /* Moves Right to Left */
    }
}

.svg-text {
    fill: #4a9eff;
    font-family: var(--font-mono);
    font-size: 11px;
}

.tiny-text {
    font-size: 9px !important;
}

/* REFINED SCHEMATIC STYLES - FINAL VERSION */
.blueprint-svg {
    width: 100%;
    max-width: 1200px !important;
    height: auto;
    display: block;
    margin: 0 auto;
}

.flow-line {
    stroke: #4a9eff !important;
    stroke-width: 2;
    stroke-dasharray: 4;
    animation: flowForward 2s linear infinite !important;
}

.backward-flow {
    stroke: #4fc3f7 !important;
    animation: flowBackward 2s linear infinite !important;
}

@keyframes flowForward {
    to {
        stroke-dashoffset: -20;
    }
}

@keyframes flowBackward {
    from {
        stroke-dashoffset: -20;
    }

    to {
        stroke-dashoffset: 0;
    }
}

.svg-text {
    fill: #4a9eff;
    font-family: var(--font-mono);
    font-size: 11px;
}

.tiny-text {
    font-size: 9px !important;
}

/* REFINED SCHEMATIC STYLES - FINAL STABLE VERSION */
.nerd-schematic-container {
    background: #050a10;
    border: 1px solid #1a3a5a;
    border-radius: 8px;
    padding: 30px;
    margin-top: 20px;
    width: 100%;
}

.blueprint-svg {
    width: 100% !important;
    max-width: 1200px !important;
    /* Spans the full console width */
    height: auto;
    display: block;
    margin: 0 auto;
}

.flow-line {
    stroke: #4a9eff !important;
    stroke-width: 2 !important;
    stroke-dasharray: 4;
    animation: flowLines 1s linear infinite !important;
}

/* Lighter blue for backward flow for visual distinction, but flows in vector direction */
.backward-flow {
    stroke: #4fc3f7 !important;
}

@keyframes flowLines {
    to {
        stroke-dashoffset: -20;
    }
}

.svg-text {
    fill: #4a9eff;
    font-family: var(--font-mono);
    font-size: 11px;
}

.tiny-text {
    font-size: 9px !important;
}

.node:hover,
.queen-node:hover {
    stroke: #fff !important;
    filter: drop-shadow(0 0 8px #4a9eff);
}

/* ==================================
   TELEGRAM POPUP MODAL
   ================================== */
.tg-overlay {
    display: none;
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(0, 0, 0, 0.75);
    backdrop-filter: blur(4px);
    justify-content: center;
    align-items: center;
    padding: 20px;
}

.tg-overlay.open {
    display: flex;
}

.tg-popup {
    background: linear-gradient(160deg, #1c1f24 0%, #111316 100%);
    border: 2px solid var(--metal-shadow);
    border-radius: 10px;
    width: 100%;
    max-width: 480px;
    box-shadow:
        0 30px 80px rgba(0,0,0,0.8),
        inset 0 1px 0 rgba(255,255,255,0.06);
    overflow: hidden;
    animation: popupIn 0.25s cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

@keyframes popupIn {
    from { transform: scale(0.85) translateY(20px); opacity: 0; }
    to   { transform: scale(1) translateY(0);       opacity: 1; }
}

.tg-popup-header {
    background: linear-gradient(to right, #222, #1a1a1a);
    border-bottom: 3px solid var(--hazard-yellow);
    padding: 14px 18px;
    display: flex;
    align-items: center;
    gap: 10px;
    font-family: var(--font-display);
    font-size: 13px;
    letter-spacing: 2px;
    color: var(--hazard-yellow);
}

.tg-popup-icon {
    font-size: 20px;
}

.tg-popup-header span:nth-child(2) {
    flex: 1;
}

.tg-close-btn {
    background: none;
    border: 1px solid rgba(255,255,255,0.2);
    border-radius: 4px;
    color: #aaa;
    cursor: pointer;
    font-size: 14px;
    width: 28px;
    height: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.2s;
}

.tg-close-btn:hover {
    background: rgba(255,255,255,0.1);
    color: #fff;
}

#tg-form-state {
    padding: 24px 24px 20px;
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.tg-popup-body {
    font-family: var(--font-ui);
    font-size: 14px;
    color: #ccc;
    line-height: 1.6;
    text-transform: none;
}

.tg-popup-body strong {
    color: var(--hazard-yellow);
}

.tg-step-block {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    font-family: var(--font-ui);
    font-size: 13px;
    color: #bbb;
    text-transform: none;
    line-height: 1.5;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 6px;
    padding: 10px 14px;
}

.tg-step-num {
    background: var(--hazard-yellow);
    color: #111;
    font-family: var(--font-display);
    font-size: 11px;
    font-weight: 700;
    width: 22px;
    height: 22px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
    margin-top: 1px;
}

.tg-link {
    color: var(--hazard-yellow);
    text-decoration: none;
    font-weight: 600;
    border-bottom: 1px dashed rgba(255,200,0,0.4);
    transition: border-color 0.2s;
}

.tg-link:hover {
    border-color: var(--hazard-yellow);
    color: #ffe033;
}

.tg-input-row {
    display: flex;
    gap: 10px;
    align-items: stretch;
    margin-top: 4px;
}

.tg-input {
    flex: 1;
    background: #0a0c0f;
    border: 2px solid var(--metal-shadow);
    border-radius: 6px;
    color: #eee;
    font-family: var(--font-mono);
    font-size: 15px;
    padding: 10px 14px;
    outline: none;
    transition: border-color 0.2s;
    text-transform: none;
}

.tg-input:focus {
    border-color: var(--hazard-yellow);
    box-shadow: 0 0 0 2px rgba(255,200,0,0.15);
}

.tg-input.error {
    border-color: var(--gel-red);
    box-shadow: 0 0 0 2px rgba(255,50,50,0.15);
}

.tg-submit-btn {
    font-size: 12px !important;
    padding: 10px 18px !important;
    white-space: nowrap;
    animation: none !important;
}

.tg-disclaimer {
    font-family: var(--font-mono);
    font-size: 10px;
    color: #555;
    text-transform: none;
    text-align: center;
}

/* Success state */
.tg-success {
    padding: 36px 24px;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 12px;
}

.tg-success-icon {
    font-size: 48px;
    animation: popupIn 0.4s both;
}

.tg-success-title {
    font-family: var(--font-display);
    font-size: 20px;
    color: var(--hazard-yellow);
    letter-spacing: 2px;
}

.tg-success-body {
    font-family: var(--font-ui);
    font-size: 14px;
    color: #aaa;
    line-height: 1.6;
    text-transform: none;
    max-width: 340px;
}