/* ==========================================
   TopVotely — NEURAL CYBERPUNK Design System
   "Next-Level Bot-Grade Visual Engine"
   ========================================== */

/* --- Animated gradient border property --- */
@property --border-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}
@property --shimmer-x {
    syntax: '<percentage>';
    initial-value: -100%;
    inherits: false;
}

/* --- Tokens --- */
:root {
    /* Surfaces – deep cyber-space */
    --bg-0: #04060f;
    --bg-1: #080c1a;
    --bg-2: #0d1228;
    --bg-3: #121838;
    --bg-4: #1a2250;
    --bg-hover: #1e2860;
    --bg-glass: rgba(8,12,26,.78);

    /* Borders – cyan-tinted */
    --border: rgba(0,229,255,.07);
    --border-subtle: rgba(0,229,255,.04);
    --border-vivid: rgba(0,229,255,.14);
    --border-gold: rgba(0,229,255,.28);
    --border-neon: rgba(0,229,255,.5);

    /* Text */
    --text-0: #e0e8ff;
    --text-1: #8892b0;
    --text-2: #4c5672;
    --text-3: #2d3555;

    /* Cyan – primary neon */
    --gold: #00e5ff;
    --gold-light: #67f5ff;
    --gold-dark: #00a0b4;
    --gold-dim: rgba(0,229,255,.08);
    --gold-glow: rgba(0,229,255,.25);

    /* True gold accent (brand heritage) */
    --true-gold: #ffd700;
    --true-gold-dim: rgba(255,215,0,.08);

    /* Secondary accents */
    --violet: #8b5cf6;
    --violet-dim: rgba(139,92,246,.10);
    --blue: #3b82f6;
    --blue-dim: rgba(59,130,246,.10);
    --emerald: #00ff88;
    --emerald-dim: rgba(0,255,136,.10);
    --amber: #ffaa00;
    --amber-dim: rgba(255,170,0,.10);
    --rose: #ff3355;
    --rose-dim: rgba(255,51,85,.10);
    --cyan: #00e5ff;
    --cyan-dim: rgba(0,229,255,.10);
    --magenta: #ff2d78;
    --magenta-dim: rgba(255,45,120,.10);

    /* Gradients */
    --grad-gold: linear-gradient(135deg, #00a0b4 0%, #00e5ff 50%, #67f5ff 100%);
    --grad-brand: linear-gradient(135deg, #00b4d8 0%, #00e5ff 50%, #00ffd5 100%);
    --grad-shine: linear-gradient(120deg, #00e5ff, #8b5cf6, #ff2d78, #00e5ff);
    --grad-hero: radial-gradient(ellipse 80% 50% at 50% -10%, rgba(0,229,255,.06), transparent 70%);
    --grad-admin: linear-gradient(135deg, #ff2d78 0%, #8b5cf6 100%);
    --grad-cyber: linear-gradient(135deg, #00e5ff 0%, #8b5cf6 50%, #ff2d78 100%);
    --grad-neon-border: conic-gradient(from var(--border-angle), #00e5ff, #8b5cf6, #ff2d78, #00ff88, #00e5ff);

    /* Radii */
    --r-xs: 4px;
    --r-sm: 6px;
    --r: 10px;
    --r-lg: 14px;
    --r-xl: 18px;
    --r-full: 9999px;

    /* Shadows */
    --shadow-sm: 0 1px 3px rgba(0,0,0,.4);
    --shadow: 0 4px 24px rgba(0,0,0,.45);
    --shadow-lg: 0 12px 48px rgba(0,0,0,.65);
    --shadow-gold: 0 0 40px rgba(0,229,255,.06);
    --shadow-glow: 0 0 60px rgba(0,229,255,.05);
    --shadow-neon: 0 0 20px rgba(0,229,255,.15), 0 0 60px rgba(0,229,255,.05);

    /* Typography */
    --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-display: 'Cinzel', 'Palatino Linotype', 'Book Antiqua', serif;
    --mono: 'JetBrains Mono', 'Fira Code', monospace;

    /* Transition */
    --ease: cubic-bezier(.4,0,.2,1);
    --ease-out: cubic-bezier(0,.5,.25,1);
    --dur: .22s;
}

/* --- Reset --- */
*, *::before, *::after { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-font-smoothing: antialiased; -moz-osx-font-smoothing: grayscale; }
body { font-family: var(--font); background: var(--bg-0); color: var(--text-0); line-height: 1.6; overflow-x: hidden; font-size: 14.5px; }
a { color: var(--gold); text-decoration: none; transition: color var(--dur) var(--ease); }
a:hover { color: var(--gold-light); }
img { display: block; max-width: 100%; }
.page { display: none; } .page.active { display: block; }
.hidden { display: none !important; }

/* --- Custom Scrollbar --- */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: var(--bg-1); }
::-webkit-scrollbar-thumb { background: rgba(0,229,255,.2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(0,229,255,.35); }

/* --- Global Background Grain --- */
body::before {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9998;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
    background-repeat: repeat;
    background-size: 128px 128px;
    opacity: .018;
    mix-blend-mode: overlay;
}

/* --- Global Scanlines --- */
body::after {
    content: '';
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: 9997;
    background: repeating-linear-gradient(0deg,
        transparent, transparent 2px,
        rgba(0,229,255,.012) 2px, rgba(0,229,255,.012) 4px
    );
    opacity: .5;
}

/* =========================
   LOADING SCREEN
   ========================= */
#page-loader {
    position: fixed;
    inset: 0;
    z-index: 99999;
    background: #04060f;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    transition: opacity .6s ease, visibility .6s ease;
}
#page-loader.loaded {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
}
.loader-brand {
    font-family: var(--font-display);
    font-size: 32px;
    font-weight: 800;
    letter-spacing: 8px;
    text-transform: uppercase;
    margin-bottom: 32px;
    position: relative;
}
.loader-brand .brand-top { color: var(--text-0); }
.loader-brand .brand-accent {
    background: var(--grad-cyber);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: loaderShine 2s linear infinite;
}
@keyframes loaderShine { 0% { background-position: 0% center; } 100% { background-position: 200% center; } }

.loader-bar {
    width: 200px;
    height: 2px;
    background: var(--bg-3);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}
.loader-bar::after {
    content: '';
    position: absolute;
    left: -40%;
    top: 0;
    width: 40%;
    height: 100%;
    background: var(--grad-cyber);
    border-radius: 1px;
    animation: loaderSlide 1.2s ease-in-out infinite;
}
@keyframes loaderSlide {
    0% { left: -40%; }
    100% { left: 100%; }
}
.loader-text {
    font-family: var(--mono);
    font-size: 10px;
    color: var(--text-3);
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-top: 16px;
    animation: loaderBlink 1s step-end infinite;
}
@keyframes loaderBlink {
    0%, 100% { opacity: 1; }
    50% { opacity: .3; }
}
/* Neural dots around loader */
.loader-dots {
    position: absolute;
    width: 300px;
    height: 300px;
    animation: loaderRotate 8s linear infinite;
}
@keyframes loaderRotate { 100% { transform: rotate(360deg); } }
.loader-dots span {
    position: absolute;
    width: 3px;
    height: 3px;
    background: var(--cyan);
    border-radius: 50%;
    box-shadow: 0 0 6px var(--cyan);
    opacity: .4;
}
.loader-dots span:nth-child(1) { top: 0; left: 50%; }
.loader-dots span:nth-child(2) { top: 50%; right: 0; }
.loader-dots span:nth-child(3) { bottom: 0; left: 50%; }
.loader-dots span:nth-child(4) { top: 50%; left: 0; }
.loader-dots span:nth-child(5) { top: 14%; left: 86%; opacity: .2; }
.loader-dots span:nth-child(6) { top: 86%; left: 86%; opacity: .2; }
.loader-dots span:nth-child(7) { top: 86%; left: 14%; opacity: .2; }
.loader-dots span:nth-child(8) { top: 14%; left: 14%; opacity: .2; }

/* =========================
   PAGE TRANSITIONS
   ========================= */
.page {
    animation: none;
}
.page.active {
    animation: pageIn .5s var(--ease-out) both;
}
@keyframes pageIn {
    from { opacity: 0; transform: translateY(12px); }
    to { opacity: 1; transform: translateY(0); }
}

/* =========================
   SCROLL REVEAL
   ========================= */
[data-reveal] {
    opacity: 0;
    transform: translateY(40px);
    transition: opacity .7s var(--ease-out), transform .7s var(--ease-out);
}
[data-reveal].revealed {
    opacity: 1;
    transform: translateY(0);
}
[data-reveal="left"] { transform: translateX(-40px); }
[data-reveal="left"].revealed { transform: translateX(0); }
[data-reveal="right"] { transform: translateX(40px); }
[data-reveal="right"].revealed { transform: translateX(0); }
[data-reveal="scale"] { transform: scale(.92); }
[data-reveal="scale"].revealed { transform: scale(1); }

/* =========================
   GLITCH TEXT EFFECT
   ========================= */
.glitch {
    position: relative;
}
.glitch::before,
.glitch::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}
.glitch::before {
    left: 2px;
    text-shadow: -2px 0 #ff2d78;
    clip-path: inset(0 0 65% 0);
    animation: glitch-top 3s infinite linear alternate-reverse;
}
.glitch::after {
    left: -2px;
    text-shadow: 2px 0 #00e5ff;
    clip-path: inset(35% 0 0 0);
    animation: glitch-bottom 2.5s infinite linear alternate-reverse;
}
@keyframes glitch-top {
    0%, 90%, 100% { clip-path: inset(0 0 65% 0); transform: translate(0); }
    92% { clip-path: inset(10% 0 55% 0); transform: translate(-3px, 1px); }
    94% { clip-path: inset(25% 0 40% 0); transform: translate(3px, -1px); }
    96% { clip-path: inset(0 0 70% 0); transform: translate(-2px, 2px); }
    98% { clip-path: inset(15% 0 50% 0); transform: translate(1px, -1px); }
}
@keyframes glitch-bottom {
    0%, 90%, 100% { clip-path: inset(35% 0 0 0); transform: translate(0); }
    91% { clip-path: inset(45% 0 0 0); transform: translate(2px, 1px); }
    93% { clip-path: inset(30% 0 0 0); transform: translate(-3px, -1px); }
    95% { clip-path: inset(50% 0 0 0); transform: translate(1px, 2px); }
    97% { clip-path: inset(40% 0 0 0); transform: translate(-1px, -2px); }
}

/* --- Buttons --- */
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 7px; font-family: var(--font); font-weight: 600; border: none; cursor: pointer; transition: all var(--dur) var(--ease); white-space: nowrap; line-height: 1; letter-spacing: .2px; position: relative; }
.btn:active { transform: scale(.97); }

.btn-primary {
    background: var(--grad-brand);
    color: #000;
    padding: 12px 28px;
    border-radius: var(--r);
    font-size: 13.5px;
    font-weight: 700;
    box-shadow: 0 2px 4px rgba(0,0,0,.3), 0 0 24px rgba(0,229,255,.15);
    text-shadow: none;
    letter-spacing: .3px;
    position: relative;
    overflow: hidden;
}
.btn-primary::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(255,255,255,.15), transparent 50%); opacity: 0; transition: opacity .3s; }
.btn-primary:hover { box-shadow: 0 4px 30px rgba(0,229,255,.35), 0 0 60px rgba(0,229,255,.12); transform: translateY(-2px); }
.btn-primary:hover::before { opacity: 1; }

.btn-white { background: var(--text-0); color: var(--bg-0); padding: 11px 24px; border-radius: var(--r-sm); font-size: 13.5px; font-weight: 700; }
.btn-white:hover { background: #fff; transform: translateY(-1px); box-shadow: 0 4px 20px rgba(224,232,255,.15); }

.btn-ghost {
    background: rgba(0,229,255,.03);
    color: var(--text-1);
    padding: 12px 22px;
    border-radius: var(--r);
    font-size: 13px;
    border: 1px solid var(--border-vivid);
    backdrop-filter: blur(4px);
    position: relative;
    overflow: hidden;
}
.btn-ghost::before { content: ''; position: absolute; inset: 0; background: linear-gradient(135deg, rgba(0,229,255,.04), transparent); opacity: 0; transition: opacity .3s; }
.btn-ghost:hover { background: rgba(0,229,255,.06); color: var(--text-0); border-color: var(--gold); box-shadow: 0 0 16px rgba(0,229,255,.08); }
.btn-ghost:hover::before { opacity: 1; }

.btn-outline {
    background: transparent;
    color: var(--text-0);
    padding: 11px 24px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    border: 1px solid var(--border-vivid);
}
.btn-outline:hover { background: var(--bg-3); border-color: var(--gold); color: var(--gold-light); box-shadow: 0 0 20px rgba(0,229,255,.08); }

.btn-glass {
    background: rgba(0,229,255,.04);
    backdrop-filter: blur(10px);
    color: var(--text-0);
    padding: 11px 24px;
    border-radius: var(--r-sm);
    font-size: 13.5px;
    border: 1px solid var(--border-vivid);
}
.btn-glass:hover { background: rgba(0,229,255,.08); border-color: var(--border-gold); }

.btn-social { flex: 1; background: var(--bg-3); color: var(--text-0); padding: 11px 16px; border-radius: var(--r-sm); font-size: 13px; font-weight: 500; border: 1px solid var(--border); gap: 8px; }
.btn-social:hover { background: var(--bg-4); border-color: var(--border-vivid); }

.btn-danger { background: transparent; color: var(--rose); padding: 6px 14px; border-radius: var(--r-xs); font-size: 12px; border: 1px solid rgba(255,51,85,.2); }
.btn-danger:hover { background: rgba(255,51,85,.06); box-shadow: 0 0 12px rgba(255,51,85,.08); }
.btn-success { background: transparent; color: var(--emerald); padding: 6px 14px; border-radius: var(--r-xs); font-size: 12px; border: 1px solid rgba(0,255,136,.2); }
.btn-success:hover { background: rgba(0,255,136,.06); box-shadow: 0 0 12px rgba(0,255,136,.08); }

.btn-xs { padding: 5px 12px; font-size: 11.5px; }
.btn-sm { padding: 8px 16px; font-size: 13px; }
.btn-lg { padding: 14px 30px; font-size: 15px; }
.btn-full { width: 100%; }

/* =========================
   BRAND — Cyber Logo
   ========================= */
.brand { display: inline-flex; align-items: center; gap: 0; text-decoration: none; color: var(--text-0); }
.brand-text { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: 3px; text-transform: uppercase; }
.brand-top { color: var(--text-0); text-shadow: 0 0 20px rgba(224,232,255,.15); }
.brand-accent {
    background: var(--grad-cyber);
    background-size: 200% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: brandPulse 4s linear infinite;
    filter: drop-shadow(0 0 8px rgba(0,229,255,.3));
}
@keyframes brandPulse {
    0% { background-position: 0% center; }
    100% { background-position: 200% center; }
}
.brand-glow { text-shadow: 0 0 30px rgba(0,229,255,.3); }
.brand-sm .brand-text { font-size: 16px; letter-spacing: 2.5px; }

/* =========================
   NAVIGATION — Glass Cyber
   ========================= */
.nav {
    position: fixed;
    top: 0; left: 0; right: 0;
    z-index: 100;
    padding: 0 40px;
    height: 68px;
    display: flex;
    align-items: center;
    background: rgba(4,6,15,.7);
    backdrop-filter: blur(24px) saturate(1.6);
    border-bottom: 1px solid var(--border);
}
/* Animated neon line under nav */
.nav::after {
    content: '';
    position: absolute;
    bottom: -1px; left: 0; right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(0,229,255,.3), rgba(139,92,246,.2), rgba(255,45,120,.2), transparent);
    animation: navLine 4s ease-in-out infinite;
}
@keyframes navLine {
    0%, 100% { opacity: .4; }
    50% { opacity: 1; }
}
.nav-inner { width: 100%; max-width: 1200px; margin: 0 auto; display: flex; align-items: center; justify-content: space-between; }
.nav-center { display: flex; gap: 6px; }
.nav-link {
    color: var(--text-2);
    padding: 7px 16px;
    border-radius: var(--r-xs);
    font-size: 13px;
    font-weight: 500;
    letter-spacing: .3px;
    text-transform: uppercase;
    transition: all var(--dur) var(--ease);
    position: relative;
}
.nav-link:hover { color: var(--gold); background: rgba(0,229,255,.04); }
.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0; left: 50%; right: 50%;
    height: 1px;
    background: var(--gold);
    transition: all .3s var(--ease);
    box-shadow: 0 0 6px var(--gold);
}
.nav-link:hover::after { left: 20%; right: 20%; }
.nav-right { display: flex; align-items: center; gap: 10px; }

/* =========================
   HERO — Full-Viewport Immersive Cyber
   ========================= */
.hero { position: relative; width: 100%; min-height: 100vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }

/* Background layers */
.hero-bg { position: absolute; inset: 0; z-index: 0; background: radial-gradient(ellipse 120% 80% at 50% 40%, #0a0e20 0%, #04060f 100%); }

/* Floating particles - recolored to neon */
.hero-particles { position: absolute; inset: 0; }
.particle { position: absolute; width: 2px; height: 2px; background: var(--gold); border-radius: 50%; opacity: 0; animation: particleRise linear infinite; }
.particle::after { content: ''; position: absolute; inset: -1px; background: inherit; border-radius: 50%; filter: blur(2px); }
@keyframes particleRise {
    0% { opacity: 0; transform: translateY(0) scale(.5); }
    15% { opacity: .8; }
    85% { opacity: .6; }
    100% { opacity: 0; transform: translateY(-100vh) scale(0); }
}
.p1  { left: 5%;  bottom: -5%;  animation-duration: 8s;  animation-delay: 0s;   width: 2px; height: 2px; }
.p2  { left: 12%; bottom: -8%;  animation-duration: 11s; animation-delay: 1.2s; width: 3px; height: 3px; }
.p3  { left: 20%; bottom: -3%;  animation-duration: 9s;  animation-delay: 0.5s; width: 1.5px; height: 1.5px; }
.p4  { left: 28%; bottom: -10%; animation-duration: 13s; animation-delay: 2s; }
.p5  { left: 35%; bottom: -6%;  animation-duration: 7s;  animation-delay: 0.8s; width: 3px; height: 3px; }
.p6  { left: 42%; bottom: -4%;  animation-duration: 10s; animation-delay: 3.5s; }
.p7  { left: 50%; bottom: -7%;  animation-duration: 12s; animation-delay: 1s;   width: 2.5px; height: 2.5px; }
.p8  { left: 58%; bottom: -9%;  animation-duration: 8.5s; animation-delay: 4s; }
.p9  { left: 65%; bottom: -5%;  animation-duration: 9.5s; animation-delay: 2.5s; width: 1.5px; height: 1.5px; }
.p10 { left: 72%; bottom: -3%;  animation-duration: 11s; animation-delay: 0.3s; width: 3px; height: 3px; }
.p11 { left: 78%; bottom: -8%;  animation-duration: 14s; animation-delay: 5s; }
.p12 { left: 85%; bottom: -6%;  animation-duration: 7.5s; animation-delay: 1.8s; width: 2px; height: 2px; }
.p13 { left: 91%; bottom: -4%;  animation-duration: 10s; animation-delay: 3s; }
.p14 { left: 8%;  bottom: -12%; animation-duration: 15s; animation-delay: 6s;  width: 2px; height: 2px; background: var(--magenta); }
.p15 { left: 33%; bottom: -8%;  animation-duration: 12s; animation-delay: 4.5s; width: 2px; height: 2px; background: var(--violet); }
.p16 { left: 55%; bottom: -10%; animation-duration: 13s; animation-delay: 2.2s; width: 1.5px; height: 1.5px; background: var(--magenta); }
.p17 { left: 70%; bottom: -6%;  animation-duration: 9s;  animation-delay: 3.8s; width: 1.5px; height: 1.5px; background: var(--violet); }
.p18 { left: 45%; bottom: -5%;  animation-duration: 16s; animation-delay: 7s;  width: 1.5px; height: 1.5px; }
.p19 { left: 17%; bottom: -7%;  animation-duration: 10s; animation-delay: 5.5s; background: var(--emerald); }
.p20 { left: 88%; bottom: -9%;  animation-duration: 11s; animation-delay: 1.5s; background: var(--emerald); }

/* Radial light rays */
.hero-rays { position: absolute; top: 50%; left: 50%; width: 200vw; height: 200vh; transform: translate(-50%, -50%); background: conic-gradient(from 0deg at 50% 50%, transparent 0deg, rgba(0,229,255,.015) 10deg, transparent 20deg, transparent 40deg, rgba(139,92,246,.012) 50deg, transparent 60deg, transparent 90deg, rgba(0,229,255,.015) 100deg, transparent 110deg, transparent 140deg, rgba(255,45,120,.01) 150deg, transparent 160deg, transparent 180deg, rgba(0,229,255,.015) 190deg, transparent 200deg, transparent 230deg, rgba(139,92,246,.012) 240deg, transparent 250deg, transparent 270deg, rgba(0,229,255,.015) 280deg, transparent 290deg, transparent 320deg, rgba(255,45,120,.01) 330deg, transparent 340deg, transparent 360deg); animation: raysRotate 90s linear infinite; }
@keyframes raysRotate { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* Hex grid pattern → Circuit grid */
.hero-hex {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,229,255,.04) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,.04) 1px, transparent 1px);
    background-size: 80px 80px;
    mask-image: radial-gradient(ellipse 60% 60% at 50% 45%, rgba(0,0,0,.6) 0%, transparent 100%);
    animation: gridScroll 20s linear infinite;
}
@keyframes gridScroll {
    0% { background-position: 0 0; }
    100% { background-position: 80px 80px; }
}

/* Vignette */
.hero-vignette { position: absolute; inset: 0; background: radial-gradient(ellipse 70% 60% at 50% 45%, transparent 30%, rgba(4,6,15,.8) 100%); pointer-events: none; }

/* Scanlines */
.hero-scanlines { position: absolute; inset: 0; background: repeating-linear-gradient(0deg, transparent, transparent 2px, rgba(0,229,255,.015) 2px, rgba(0,229,255,.015) 4px); pointer-events: none; opacity: .6; }

/* Horizon glow */
.hero-horizon { position: absolute; bottom: 0; left: 0; right: 0; height: 300px; background: linear-gradient(180deg, transparent 0%, rgba(0,229,255,.02) 50%, rgba(0,229,255,.05) 100%); pointer-events: none; }
.hero-horizon::before { content: ''; position: absolute; bottom: 0; left: 5%; right: 5%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.3), rgba(139,92,246,.4), rgba(255,45,120,.3), rgba(0,229,255,.3), transparent); box-shadow: 0 0 40px rgba(0,229,255,.12), 0 0 80px rgba(139,92,246,.06); }

/* Ornament SVG */
.hero-ornament { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); opacity: .2; animation: ornamentSpin 45s linear infinite; pointer-events: none; filter: hue-rotate(170deg) brightness(1.5); }
@keyframes ornamentSpin { 100% { transform: translate(-50%, -50%) rotate(360deg); } }

/* Center content */
.hero-center { position: relative; z-index: 2; text-align: center; max-width: 800px; padding: 120px 40px 80px; display: flex; flex-direction: column; align-items: center; }

.hero-pill {
    display: inline-flex; align-items: center; gap: 8px;
    padding: 5px 18px 5px 10px;
    background: rgba(0,229,255,.04);
    border: 1px solid rgba(0,229,255,.2);
    border-radius: var(--r-full);
    font-size: 11px; font-weight: 600; color: var(--gold);
    margin-bottom: 40px;
    letter-spacing: .8px; text-transform: uppercase;
    backdrop-filter: blur(6px);
    box-shadow: 0 0 20px rgba(0,229,255,.05);
}
.hero-pill-dot { width: 7px; height: 7px; background: var(--emerald); border-radius: 50%; box-shadow: 0 0 10px var(--emerald), 0 0 20px rgba(0,255,136,.2); animation: pulse-dot-neon 2s ease-in-out infinite; }
@keyframes pulse-dot-neon { 0%,100% { opacity: 1; box-shadow: 0 0 10px var(--emerald); } 50% { opacity: .35; box-shadow: 0 0 20px var(--emerald), 0 0 40px rgba(0,255,136,.2); } }

/* Hero Title */
.hero-title { display: flex; flex-direction: column; align-items: center; margin-bottom: 28px; line-height: 1; }
.hero-title-top { font-family: var(--font); font-size: 15px; font-weight: 500; letter-spacing: 6px; text-transform: uppercase; color: var(--text-2); margin-bottom: 14px; }
.hero-title-main {
    font-family: var(--font-display); font-size: 72px; font-weight: 800; letter-spacing: 2px; line-height: 1.1; margin-bottom: 10px;
    text-shadow: 0 0 80px rgba(0,229,255,.15), 0 2px 4px rgba(0,0,0,.5), 0 0 120px rgba(139,92,246,.08);
}
.hero-title-sub-line { font-family: var(--font-display); font-size: 20px; font-weight: 500; letter-spacing: 4px; text-transform: uppercase; color: var(--text-1); }

.text-shine {
    background: linear-gradient(120deg, #00a0b4, #00e5ff, #67f5ff, #8b5cf6, #ff2d78, #00e5ff, #67f5ff, #00a0b4);
    background-size: 400% auto;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: textShine 6s linear infinite;
}
@keyframes textShine { 0% { background-position: 0% center; } 100% { background-position: 400% center; } }

.hero-sub { font-size: 15.5px; color: var(--text-1); line-height: 1.8; margin-bottom: 44px; max-width: 560px; }

/* Hero buttons */
.hero-ctas { display: flex; gap: 16px; margin-bottom: 48px; }

.btn-hero-primary {
    position: relative; overflow: hidden;
    background: var(--grad-brand); color: #000;
    padding: 16px 38px; border-radius: var(--r-sm);
    font-size: 14.5px; font-weight: 700; letter-spacing: .3px;
    border: 1px solid rgba(0,229,255,.5);
    box-shadow: 0 0 40px rgba(0,229,255,.2), 0 4px 20px rgba(0,0,0,.3), 0 0 80px rgba(0,229,255,.06);
}
.btn-hero-primary:hover {
    box-shadow: 0 0 60px rgba(0,229,255,.35), 0 8px 32px rgba(0,0,0,.3), 0 0 100px rgba(0,229,255,.1);
    transform: translateY(-2px);
}
.btn-hero-glow { position: absolute; top: 50%; left: 50%; width: 120%; height: 0; padding-bottom: 120%; transform: translate(-50%, -50%); background: radial-gradient(circle, rgba(255,255,255,.1), transparent 60%); pointer-events: none; animation: heroGlowPulse 3s ease-in-out infinite; }
@keyframes heroGlowPulse { 0%,100% { opacity: .3; } 50% { opacity: .8; } }

.btn-hero-outline {
    background: rgba(0,229,255,.03); color: var(--text-0);
    padding: 16px 38px; border-radius: var(--r-sm);
    font-size: 14.5px; font-weight: 600;
    border: 1px solid rgba(0,229,255,.2);
    backdrop-filter: blur(4px);
}
.btn-hero-outline:hover { background: rgba(0,229,255,.06); border-color: rgba(0,229,255,.4); transform: translateY(-2px); box-shadow: 0 0 30px rgba(0,229,255,.08); }

/* Hero terminal */
.hero-terminal { max-width: 520px; width: 100%; margin-bottom: 48px; }
.hero-terminal .tv { background: rgba(8,12,26,.9); backdrop-filter: blur(16px); border-color: rgba(0,229,255,.15); box-shadow: 0 8px 40px rgba(0,0,0,.5), 0 0 40px rgba(0,229,255,.04), inset 0 1px 0 rgba(0,229,255,.05); }
.hero-terminal .tv-body { line-height: 1.9; padding: 14px 18px; }
.hero-terminal .tv-body code { font-size: 12px; }

/* Hero metrics */
.hero-metrics { display: flex; gap: 36px; }
.hm { display: flex; flex-direction: column; align-items: center; text-align: center; }
.hm-val { font-family: var(--font-display); font-size: 28px; font-weight: 700; letter-spacing: .5px; color: var(--gold-light); text-shadow: 0 0 20px rgba(0,229,255,.25); }
.hm-lbl { font-size: 10px; color: var(--text-3); margin-top: 4px; text-transform: uppercase; letter-spacing: 1.5px; font-weight: 600; }
.hm-sep { width: 1px; align-self: stretch; background: linear-gradient(180deg, transparent, rgba(0,229,255,.25), transparent); }

/* Scroll indicator */
.hero-scroll { position: absolute; bottom: 32px; left: 50%; transform: translateX(-50%); z-index: 3; display: flex; flex-direction: column; align-items: center; gap: 8px; }
.hero-scroll span { font-size: 9px; font-weight: 600; letter-spacing: 3px; text-transform: uppercase; color: var(--text-3); }
.hero-scroll-line { width: 1px; height: 32px; background: linear-gradient(180deg, var(--gold), transparent); animation: scrollPulse 2s ease-in-out infinite; }
@keyframes scrollPulse { 0%,100% { opacity: .3; height: 32px; } 50% { opacity: 1; height: 40px; } }

/* --- Terminal Visual --- */
.tv {
    background: var(--bg-2);
    border: 1px solid var(--border-vivid);
    border-radius: var(--r-lg);
    overflow: hidden;
    box-shadow: var(--shadow-lg), 0 0 30px rgba(0,229,255,.04);
    position: relative;
}
.tv::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.3), rgba(139,92,246,.2), transparent); }
.tv-chrome { display: flex; align-items: center; padding: 12px 16px; background: var(--bg-3); border-bottom: 1px solid var(--border); gap: 12px; }
.tv-dots { display: flex; gap: 6px; } .tv-dots i { width: 9px; height: 9px; border-radius: 50%; display: block; }
.tv-dots i:nth-child(1) { background: #ff3355; box-shadow: 0 0 4px rgba(255,51,85,.4); }
.tv-dots i:nth-child(2) { background: #ffaa00; box-shadow: 0 0 4px rgba(255,170,0,.4); }
.tv-dots i:nth-child(3) { background: #00ff88; box-shadow: 0 0 4px rgba(0,255,136,.4); }
.tv-label { font-size: 11px; color: var(--text-3); flex: 1; font-family: var(--mono); }
.tv-status { display: flex; align-items: center; gap: 5px; font-size: 11px; color: var(--emerald); font-weight: 600; }
.pulse-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 8px var(--emerald); animation: pulse-dot-neon 2s ease-in-out infinite; }
.tv-body { padding: 18px 20px; font-family: var(--mono); font-size: 12.5px; line-height: 2; display: flex; flex-direction: column; }
.tv-body code { display: block; color: var(--text-1); white-space: pre; }
.c-muted { color: var(--text-3); user-select: none; margin-right: 10px; }
.c-key { color: var(--gold); } .c-ok { color: var(--emerald); } .c-str { color: var(--cyan); }
.c-num { color: var(--amber); } .c-info { color: var(--blue); } .c-dimmed { color: var(--text-2); }
.tv-typing::after { content: '█'; animation: blink 1s step-end infinite; color: var(--gold); margin-left: 2px; }
@keyframes blink { 50% { opacity: 0; } }

/* --- Trusted --- */
.trusted { text-align: center; padding: 48px 40px 64px; position: relative; }
.trusted::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 600px; height: 1px; background: linear-gradient(90deg, transparent, var(--border-gold), rgba(139,92,246,.15), transparent); }
.trusted p { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: 2px; font-weight: 600; margin-bottom: 22px; }
.trusted-logos { display: flex; justify-content: center; gap: 44px; flex-wrap: wrap; }
.trusted-logos span { font-family: var(--font-display); font-size: 13px; font-weight: 600; color: var(--text-2); opacity: .5; transition: all .3s; letter-spacing: .5px; }
.trusted-logos span:hover { opacity: 1; color: var(--gold); text-shadow: 0 0 12px rgba(0,229,255,.3); }

/* =========================
   SECTIONS
   ========================= */
.section { padding: 110px 40px; position: relative; }
.section-alt { background: var(--bg-1); }
.container { max-width: 1200px; margin: 0 auto; }
.section-head { text-align: center; margin-bottom: 72px; }
.sh-label {
    display: inline-block; padding: 5px 16px;
    background: var(--gold-dim);
    border: 1px solid rgba(0,229,255,.18);
    border-radius: var(--r-full);
    font-size: 10.5px; font-weight: 700;
    color: var(--gold);
    text-transform: uppercase; letter-spacing: 2px;
    margin-bottom: 18px;
    box-shadow: 0 0 12px rgba(0,229,255,.06);
}
.section-head h2 { font-family: var(--font-display); font-size: 40px; font-weight: 700; letter-spacing: .5px; line-height: 1.2; margin-bottom: 16px; }
.section-head p { font-size: 15.5px; color: var(--text-1); max-width: 500px; margin: 0 auto; }

/* Section dividers */
.section::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 200px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.2), rgba(139,92,246,.15), transparent); }

/* Features — Premium Holographic cards */
.feat-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.feat-card {
    padding: 36px;
    background: linear-gradient(135deg, rgba(8,12,26,.85) 0%, rgba(13,18,40,.9) 100%);
    backdrop-filter: blur(16px);
    border: 1px solid rgba(0,229,255,.06);
    border-radius: var(--r-lg);
    transition: all .4s var(--ease);
    position: relative;
    overflow: hidden;
}
/* Holographic shimmer on hover */
.feat-card::before {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(105deg, transparent 40%, rgba(0,229,255,.04) 45%, rgba(139,92,246,.04) 50%, rgba(255,45,120,.03) 55%, transparent 60%);
    background-size: 300% 100%;
    opacity: 0;
    transition: opacity .4s;
    animation: shimmerSlide 3s linear infinite paused;
}
.feat-card:hover::before { opacity: 1; animation-play-state: running; }
@keyframes shimmerSlide { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }
/* Neon top line on hover */
.feat-card::after {
    content: '';
    position: absolute; top: 0; left: 0; right: 0; height: 2px;
    background: linear-gradient(90deg, var(--gold), var(--violet), var(--magenta));
    opacity: 0; transition: opacity .3s;
}
.feat-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0,229,255,.2);
    box-shadow: 0 16px 48px rgba(0,0,0,.5), 0 0 60px rgba(0,229,255,.06), 0 0 100px rgba(139,92,246,.03);
}
.feat-card:hover::after { opacity: 1; }
.feat-ico {
    width: 52px; height: 52px;
    display: flex; align-items: center; justify-content: center;
    border-radius: var(--r);
    background: linear-gradient(135deg, rgba(0,229,255,.1) 0%, rgba(139,92,246,.06) 100%);
    color: var(--gold);
    margin-bottom: 22px;
    font-size: 22px;
    box-shadow: 0 0 20px rgba(0,229,255,.08);
    border: 1px solid rgba(0,229,255,.12);
}
.feat-card h3 { font-family: var(--font-display); font-size: 16px; font-weight: 600; margin-bottom: 10px; letter-spacing: .3px; }
.feat-card p { font-size: 13.5px; color: var(--text-1); line-height: 1.65; }

/* Toplists */
.toplist-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 12px; }
.tl-card {
    display: flex; align-items: center; gap: 14px;
    padding: 18px 20px;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--r);
    font-size: 14px; font-weight: 500;
    transition: all .3s var(--ease);
    flex-wrap: wrap;
}
.tl-card:hover { border-color: var(--gold); transform: translateY(-2px); box-shadow: 0 0 28px rgba(0,229,255,.08), 0 4px 16px rgba(0,0,0,.3); }
.tl-emoji { font-size: 20px; flex-shrink: 0; }
.tl-check { margin-left: auto; color: var(--emerald); font-weight: 700; font-size: 13px; }
.tl-name { flex: 1; min-width: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.tl-health { font-size: 12px; flex-shrink: 0; }
.tl-stats { display: flex; gap: 10px; font-size: 10px; color: var(--text-3); font-family: var(--mono); width: 100%; padding-top: 6px; border-top: 1px solid var(--border-subtle); margin-top: 4px; }

/* Pricing — Premium Glass cards */
.price-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 28px; align-items: stretch; }
.price-card {
    padding: 44px 36px 40px;
    background: linear-gradient(165deg, rgba(10,14,30,.95) 0%, rgba(13,18,40,.98) 100%);
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0,229,255,.06);
    border-radius: var(--r-xl);
    position: relative;
    transition: all .45s var(--ease);
    overflow: hidden;
    display: flex;
    flex-direction: column;
}
.price-card::after { content: ''; position: absolute; inset: 0; border-radius: var(--r-xl); background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,.03) 0%, transparent 60%); pointer-events: none; opacity: 0; transition: opacity .45s var(--ease); }
.price-card:hover { transform: translateY(-8px); box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 40px rgba(0,229,255,.06); }
.price-card:hover::after { opacity: 1; }

/* Popular card */
.price-card-pop {
    border-color: rgba(0,229,255,.25);
    background: linear-gradient(165deg, rgba(0,229,255,.06) 0%, rgba(8,12,26,.97) 50%, rgba(13,18,40,.98) 100%);
    box-shadow: 0 0 80px rgba(0,229,255,.06), 0 4px 40px rgba(0,0,0,.3);
    transform: scale(1.04);
    z-index: 2;
}
.price-card-pop:hover { transform: scale(1.04) translateY(-8px); box-shadow: 0 28px 68px rgba(0,0,0,.6), 0 0 60px rgba(0,229,255,.1); }
.price-card-pop::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; background: var(--grad-cyber); border-radius: var(--r-lg) var(--r-lg) 0 0; }
.price-card-pop::after { opacity: 1; background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,.06) 0%, transparent 55%); }

/* Enterprise card */
.price-card-ent { border-color: rgba(139,92,246,.12); }
.price-card-ent:hover { box-shadow: 0 24px 64px rgba(0,0,0,.5), 0 0 40px rgba(139,92,246,.06); }

/* Badge */
.pc-badge { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 7px 22px; background: var(--grad-cyber); color: #000; font-size: 11px; font-weight: 800; border-radius: var(--r-full); letter-spacing: 1.2px; text-transform: uppercase; box-shadow: 0 4px 20px rgba(0,229,255,.3); white-space: nowrap; }

/* Tier icon */
.pc-tier-icon { font-size: 36px; margin-bottom: 16px; filter: drop-shadow(0 0 12px rgba(0,229,255,.2)); }

/* Head */
.pc-head { margin-bottom: 0; }
.pc-name { font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text-2); letter-spacing: 2px; text-transform: uppercase; }
.pc-price { margin: 12px 0 8px; display: flex; align-items: baseline; gap: 2px; }
.pc-dollar { font-size: 24px; font-weight: 700; color: var(--text-2); align-self: flex-start; margin-top: 8px; }
.pc-amount { font-family: var(--font-display); font-size: 56px; font-weight: 800; letter-spacing: -2px; color: #e0e6f0; line-height: 1; }
.pc-amount-sm { font-size: 30px; font-weight: 700; letter-spacing: -1px; }
.price-card-pop .pc-amount { color: #fff; text-shadow: 0 0 30px rgba(0,229,255,.25); }
.price-card-ent .pc-amount { color: #d4d8e8; }
.pc-period { font-size: 15px; color: var(--text-2); margin-left: 4px; font-weight: 500; }
.pc-desc { font-size: 14px; color: var(--text-2); margin-top: 2px; }
.pc-save { display: inline-block; margin-top: 10px; padding: 4px 12px; background: rgba(0,229,255,.08); color: var(--gold); font-size: 11.5px; font-weight: 700; border-radius: var(--r-full); letter-spacing: .5px; border: 1px solid rgba(0,229,255,.15); }
.pc-save-ent { background: rgba(139,92,246,.08); color: #a78bfa; border-color: rgba(139,92,246,.15); }

/* Divider */
.pc-divider { height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.1), transparent); margin: 24px 0; }
.pc-divider-glow { background: linear-gradient(90deg, transparent, rgba(0,229,255,.25), transparent); box-shadow: 0 0 12px rgba(0,229,255,.08); }

/* Features */
.pc-features { list-style: none; margin-bottom: 32px; flex: 1; }
.pc-features li { display: flex; align-items: center; gap: 12px; padding: 9px 0; font-size: 14px; color: var(--text-1); }
.pc-features li:last-child { border-bottom: none; }
.pc-check { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; font-weight: 800; background: rgba(0,229,255,.08); color: var(--gold); flex-shrink: 0; border: 1px solid rgba(0,229,255,.15); }
.pc-check-pop { background: rgba(0,229,255,.15); color: #00e5ff; border-color: rgba(0,229,255,.3); box-shadow: 0 0 8px rgba(0,229,255,.1); }
.pc-check-ent { background: rgba(139,92,246,.1); color: #a78bfa; border-color: rgba(139,92,246,.2); }
.pc-x { display: inline-flex; align-items: center; justify-content: center; width: 20px; height: 20px; border-radius: 50%; font-size: 11px; background: rgba(255,255,255,.03); color: var(--text-3); flex-shrink: 0; border: 1px solid rgba(255,255,255,.04); }
.pc-feat-dim { opacity: .4; }

/* Enterprise button */
.btn-ent { border-color: rgba(139,92,246,.25); color: #a78bfa; }
.btn-ent:hover { background: rgba(139,92,246,.1); border-color: rgba(139,92,246,.4); box-shadow: 0 0 20px rgba(139,92,246,.1); }

/* Glow button */
.btn-glow { box-shadow: 0 4px 24px rgba(0,229,255,.2); }
.btn-glow:hover { box-shadow: 0 6px 32px rgba(0,229,255,.35); }

/* Footnote */
.price-footnote { text-align: center; margin-top: 28px; color: var(--text-2); font-size: 14px; }
.price-footnote a { color: var(--gold); font-weight: 600; }

/* CTA */
.cta-section { padding: 80px 40px 130px; }
.cta-box {
    position: relative; overflow: hidden;
    padding: 80px 48px;
    border-radius: var(--r-xl);
    background: var(--bg-glass);
    backdrop-filter: blur(16px);
    border: 1px solid var(--border-vivid);
    text-align: center;
}
.cta-box::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.3), rgba(139,92,246,.2), transparent); }
/* Animated neon border */
.cta-box::after {
    content: '';
    position: absolute; inset: -1px;
    border-radius: var(--r-xl);
    background: var(--grad-neon-border);
    -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
    -webkit-mask-composite: xor;
    mask-composite: exclude;
    padding: 1px;
    opacity: .3;
    animation: borderSpin 4s linear infinite;
}
@keyframes borderSpin { 100% { --border-angle: 360deg; } }
.cta-glow { position: absolute; top: -120px; left: 50%; transform: translateX(-50%); width: 500px; height: 300px; background: radial-gradient(ellipse, rgba(0,229,255,.08), rgba(139,92,246,.04), transparent 70%); pointer-events: none; }
.cta-box h2 { font-family: var(--font-display); font-size: 38px; font-weight: 700; letter-spacing: .5px; margin-bottom: 16px; position: relative; z-index: 1; }
.cta-box p { font-size: 16px; color: var(--text-1); margin-bottom: 36px; position: relative; z-index: 1; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); background: var(--bg-1); padding: 72px 40px 36px; position: relative; }
.site-footer::before { content: ''; position: absolute; top: 0; left: 50%; transform: translateX(-50%); width: 400px; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.2), transparent); }
.footer-top { display: flex; justify-content: space-between; gap: 64px; margin-bottom: 52px; }
.footer-brand p { margin-top: 16px; color: var(--text-2); font-size: 13px; line-height: 1.65; }
.footer-cols { display: flex; gap: 56px; }
.footer-col h4 { font-family: var(--font-display); font-size: 11px; font-weight: 600; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin-bottom: 16px; }
.footer-col a { display: block; color: var(--text-2); font-size: 13px; padding: 4px 0; transition: color var(--dur); }
.footer-col a:hover { color: var(--text-0); text-shadow: 0 0 8px rgba(0,229,255,.15); }
.footer-bottom { display: flex; justify-content: space-between; align-items: center; padding-top: 28px; border-top: 1px solid var(--border-subtle); font-size: 12px; color: var(--text-3); }
.footer-socials { display: flex; gap: 16px; }
.footer-socials a { color: var(--text-3); transition: color var(--dur); }
.footer-socials a:hover { color: var(--gold); }

/* =========================
   AUTH PAGES — Cyber Gates
   ========================= */
.auth-shell { position: relative; min-height: 100vh; display: flex; align-items: center; justify-content: center; }
.auth-bg { position: fixed; inset: 0; z-index: 0; overflow: hidden; }
.auth-orb { position: absolute; border-radius: 50%; filter: blur(140px); }
.auth-orb-1 { width: 500px; height: 400px; background: rgba(0,229,255,.08); top: -80px; right: 15%; animation: orbFloat 10s ease-in-out infinite alternate; }
.auth-orb-2 { width: 400px; height: 300px; background: rgba(139,92,246,.05); bottom: -60px; left: 10%; animation: orbFloat 12s ease-in-out infinite alternate-reverse; }
@keyframes orbFloat { 0% { transform: translate(0, 0); } 100% { transform: translate(30px, -20px); } }
.auth-mesh {
    position: absolute; inset: 0;
    background-image:
        linear-gradient(rgba(0,229,255,.02) 1px, transparent 1px),
        linear-gradient(90deg, rgba(0,229,255,.02) 1px, transparent 1px);
    background-size: 40px 40px;
}

.auth-container { position: relative; z-index: 1; display: flex; min-height: 100vh; width: 100%; }
.auth-form-wrap { flex: 1; display: flex; flex-direction: column; align-items: center; justify-content: center; padding: 48px 56px; overflow-y: auto; }
.auth-logo { margin-bottom: 40px; }
.auth-card {
    max-width: 420px; width: 100%; padding: 40px;
    background: var(--bg-glass);
    backdrop-filter: blur(24px) saturate(1.2);
    border: 1px solid var(--border-vivid);
    border-radius: var(--r-lg);
    position: relative;
}
.auth-card::before { content: ''; position: absolute; top: 0; left: 20%; right: 20%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.3), transparent); }
.auth-card-head { margin-bottom: 28px; text-align: center; }
.auth-card-head h1 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: .5px; margin-bottom: 8px; }
.auth-card-head p { font-size: 14px; color: var(--text-1); }

.alert { padding: 12px 16px; border-radius: var(--r-sm); font-size: 13px; margin-bottom: 20px; }
.alert-error { background: rgba(255,51,85,.06); border: 1px solid rgba(255,51,85,.15); color: var(--rose); }

.field { margin-bottom: 18px; position: relative; }
.field label { display: flex; align-items: center; gap: 4px; font-size: 11px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; text-transform: uppercase; letter-spacing: .8px; }
.input-wrap {
    display: flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, rgba(18,24,56,.8) 0%, rgba(13,18,40,.9) 100%);
    border: 1px solid rgba(0,229,255,.08);
    border-radius: var(--r);
    padding: 0 16px;
    transition: all .3s var(--ease);
    position: relative;
}
.input-wrap::before { content: ''; position: absolute; inset: 0; border-radius: var(--r); background: linear-gradient(135deg, rgba(0,229,255,.02) 0%, transparent 100%); pointer-events: none; opacity: 0; transition: opacity .3s; }
.input-wrap:hover { border-color: rgba(0,229,255,.15); }
.input-wrap:hover::before { opacity: 1; }
.input-wrap:focus-within { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(0,229,255,.06), 0 0 30px rgba(0,229,255,.06), 0 4px 20px rgba(0,0,0,.2); }
.input-wrap:focus-within::before { opacity: 1; }
.input-wrap svg { color: var(--text-3); flex-shrink: 0; transition: color .3s; }
.input-wrap:focus-within svg { color: var(--gold); }
.input-wrap input,
.input-wrap select { flex: 1; background: none; border: none; color: var(--text-0); font-family: var(--font); font-size: 14px; padding: 13px 0; outline: none; }
.input-wrap input::placeholder { color: var(--text-3); font-weight: 400; }
.field-hint { display: block; font-size: 11px; margin-top: 6px; color: var(--text-3); transition: color .2s; padding-left: 2px; }

/* reCAPTCHA dark theme integration */
#login-recaptcha-wrap,
#register-recaptcha-wrap {
    display: flex;
    justify-content: center;
    margin-bottom: 18px;
}
#login-recaptcha,
#register-recaptcha {
    background: linear-gradient(135deg, rgba(12,16,38,.9) 0%, rgba(8,12,26,.95) 100%);
    border: 1px solid rgba(0,229,255,.1);
    border-radius: 12px;
    padding: 12px 16px;
    display: inline-flex;
    justify-content: center;
    align-items: center;
    transition: border-color .3s, box-shadow .3s;
    position: relative;
    overflow: hidden;
}
#login-recaptcha::before,
#register-recaptcha::before {
    content: '';
    position: absolute;
    inset: 0;
    border-radius: 12px;
    background: radial-gradient(ellipse at 50% 0%, rgba(0,229,255,.04) 0%, transparent 70%);
    pointer-events: none;
}
#login-recaptcha:hover,
#register-recaptcha:hover {
    border-color: rgba(0,229,255,.2);
    box-shadow: 0 0 24px rgba(0,229,255,.06), 0 4px 16px rgba(0,0,0,.3);
}
#login-recaptcha iframe,
#register-recaptcha iframe { border-radius: 4px; }
/* Scale the Google widget slightly for better fit */
#login-recaptcha > div,
#register-recaptcha > div { transform: scale(1.03); transform-origin: center center; }

.input-wrap select { cursor: pointer; }
.input-wrap select option { background: var(--bg-2); color: var(--text-0); padding: 8px; }

.textarea { width: 100%; padding: 13px 16px; background: linear-gradient(135deg, rgba(18,24,56,.8) 0%, rgba(13,18,40,.9) 100%); border: 1px solid rgba(0,229,255,.08); border-radius: var(--r); color: var(--text-0); font-family: var(--font); font-size: 14px; resize: vertical; outline: none; transition: all .3s var(--ease); }
.textarea:hover { border-color: rgba(0,229,255,.15); }
.textarea:focus { border-color: var(--gold); box-shadow: 0 0 0 3px rgba(0,229,255,.06), 0 0 30px rgba(0,229,255,.06); }

.auth-sep { display: flex; align-items: center; gap: 14px; margin: 22px 0; color: var(--text-3); font-size: 11px; text-transform: uppercase; letter-spacing: 1px; }
.auth-sep::before, .auth-sep::after { content: ''; flex: 1; height: 1px; background: var(--border); }

.social-row { display: flex; gap: 10px; margin-bottom: 24px; }
.auth-switch { font-size: 13px; color: var(--text-2); text-align: center; }

/* Auth side panel */
.auth-side { flex: 0 0 500px; background: var(--bg-1); border-left: 1px solid var(--border); display: flex; align-items: center; justify-content: center; padding: 48px; position: relative; }
.auth-side::before { content: ''; position: absolute; inset: 0; background: radial-gradient(ellipse at 50% 30%, rgba(0,229,255,.03), transparent 70%); }
.auth-side-content { max-width: 380px; position: relative; }
.auth-quote-icon { font-family: var(--font-display); font-size: 80px; font-weight: 700; color: var(--gold); line-height: 1; margin-bottom: -15px; opacity: .2; }
.auth-side blockquote { font-size: 18px; font-weight: 500; line-height: 1.65; margin-bottom: 28px; color: var(--text-0); font-style: italic; }
.auth-author { display: flex; align-items: center; gap: 12px; margin-bottom: 16px; }
.auth-author-ava { width: 42px; height: 42px; border-radius: 50%; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 15px; color: #000; flex-shrink: 0; border: 2px solid var(--gold-dim); box-shadow: 0 0 12px rgba(0,229,255,.15); }
.auth-author strong { display: block; font-size: 14px; font-weight: 600; }
.auth-author span { display: block; font-size: 12px; color: var(--text-2); margin-top: 2px; }
.auth-stars { color: var(--gold); font-size: 16px; letter-spacing: 3px; }

/* =========================
   DASHBOARD LAYOUT
   ========================= */
.app-layout { display: flex; min-height: 100vh; }

/* Sidebar — Premium Cyber panel */
.sidebar {
    width: 256px;
    background: linear-gradient(180deg, rgba(8,12,26,.98) 0%, rgba(4,6,15,.99) 100%);
    border-right: 1px solid rgba(0,229,255,.06);
    display: flex;
    flex-direction: column;
    position: fixed;
    top: 0; bottom: 0; left: 0;
    z-index: 50;
}
.sidebar::after {
    content: '';
    position: absolute;
    top: 0; right: -1px; bottom: 0;
    width: 1px;
    background: linear-gradient(180deg, rgba(0,229,255,.2), rgba(139,92,246,.1), rgba(255,45,120,.08), rgba(0,229,255,.2));
    animation: sidebarLine 6s ease-in-out infinite;
}
@keyframes sidebarLine { 0%, 100% { opacity: .4; } 50% { opacity: .8; } }

.sidebar-admin { border-right-color: rgba(255,45,120,.08); }
.sidebar-admin::after { background: linear-gradient(180deg, rgba(255,45,120,.15), rgba(139,92,246,.08), rgba(255,45,120,.15)); }
.sidebar-admin .sb-link.active { background: rgba(255,45,120,.06); border-color: rgba(255,45,120,.12); }

.sb-head { padding: 22px 24px; border-bottom: 1px solid var(--border-subtle); }
.sb-nav { flex: 1; padding: 16px 12px; overflow-y: auto; }
.sb-section-label { display: block; font-family: var(--font-display); font-size: 9.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: 2px; padding: 18px 14px 6px; }
.sb-link {
    display: flex; align-items: center; gap: 11px;
    padding: 10px 14px;
    color: var(--text-2);
    font-size: 13px; font-weight: 500;
    border-radius: var(--r-sm);
    margin-bottom: 2px;
    transition: all .25s var(--ease);
    border: 1px solid transparent;
    text-decoration: none;
    position: relative;
}
.sb-link:hover { color: var(--text-0); background: rgba(0,229,255,.04); }
.sb-link.active { color: var(--gold-light); background: linear-gradient(135deg, rgba(0,229,255,.06) 0%, rgba(139,92,246,.03) 100%); border-color: rgba(0,229,255,.12); box-shadow: 0 0 16px rgba(0,229,255,.04); }
.sb-link.active::before { content: ''; position: absolute; left: 0; top: 25%; bottom: 25%; width: 2px; background: var(--gold); border-radius: 1px; box-shadow: 0 0 6px var(--gold); }
.sb-link svg { flex-shrink: 0; opacity: .5; }
.sb-link.active svg { opacity: 1; color: var(--gold); }

.sb-foot { padding: 16px 14px; border-top: 1px solid var(--border-subtle); }
.sb-user { display: flex; align-items: center; gap: 10px; }
.sb-avatar { width: 34px; height: 34px; border-radius: 50%; background: var(--grad-brand); display: flex; align-items: center; justify-content: center; font-weight: 700; font-size: 14px; color: #000; flex-shrink: 0; border: 2px solid var(--gold-dim); box-shadow: 0 0 10px rgba(0,229,255,.1); }
.sb-user-info { flex: 1; min-width: 0; }
.sb-user-name { display: block; font-size: 13px; font-weight: 500; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.sb-user-plan { display: inline-block; font-size: 9.5px; font-weight: 700; color: var(--gold); background: var(--gold-dim); padding: 2px 8px; border-radius: var(--r-full); text-transform: uppercase; letter-spacing: .8px; margin-top: 2px; }
.sb-logout { padding: 6px; border: none; background: transparent; color: var(--text-3); cursor: pointer; border-radius: var(--r-xs); transition: all var(--dur); }
.sb-logout:hover { color: var(--rose); background: var(--rose-dim); }

/* Main */
.main-area { flex: 1; margin-left: 256px; padding: 36px 40px; }
.main-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 32px; gap: 16px; flex-wrap: wrap; }
.main-header h1 { font-family: var(--font-display); font-size: 24px; font-weight: 700; letter-spacing: .5px; text-shadow: 0 0 30px rgba(0,229,255,.06); }
.main-header p { font-size: 13px; color: var(--text-2); margin-top: 4px; }
.mh-right { display: flex; align-items: center; gap: 12px; }

.credit-pill { display: inline-flex; align-items: center; gap: 8px; padding: 8px 18px; background: linear-gradient(135deg, rgba(0,229,255,.08) 0%, rgba(139,92,246,.04) 100%); border: 1px solid rgba(0,229,255,.18); border-radius: var(--r-full); color: var(--gold); font-size: 13px; font-weight: 700; box-shadow: 0 0 16px rgba(0,229,255,.06); letter-spacing: .3px; }

/* Announcements */
.ann-bar { padding: 11px 20px; border-radius: var(--r-sm); margin-bottom: 20px; font-size: 13px; display: flex; align-items: center; gap: 10px; }
.ann-bar.info { background: var(--blue-dim); border: 1px solid rgba(59,130,246,.12); color: var(--blue); }
.ann-bar.warning { background: var(--amber-dim); border: 1px solid rgba(255,170,0,.12); color: var(--amber); }
.ann-bar.success { background: var(--emerald-dim); border: 1px solid rgba(0,255,136,.12); color: var(--emerald); }
.ann-bar.error { background: var(--rose-dim); border: 1px solid rgba(255,51,85,.12); color: var(--rose); }

/* KPI Cards — Premium Neon accented */
.kpi-row { display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px; margin-bottom: 24px; }
.kpi {
    display: flex; align-items: center; gap: 16px;
    padding: 24px;
    background: linear-gradient(135deg, rgba(8,12,26,.85) 0%, rgba(13,18,40,.9) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,229,255,.06);
    border-radius: var(--r);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
}
.kpi::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.15), transparent); opacity: 0; transition: opacity .3s; }
.kpi:hover { border-color: rgba(0,229,255,.18); box-shadow: 0 8px 32px rgba(0,0,0,.4), 0 0 30px rgba(0,229,255,.04); transform: translateY(-3px); }
.kpi:hover::before { opacity: 1; }
.kpi-icon { width: 46px; height: 46px; display: flex; align-items: center; justify-content: center; border-radius: var(--r); background: linear-gradient(135deg, rgba(0,229,255,.1) 0%, rgba(139,92,246,.06) 100%); color: var(--gold); flex-shrink: 0; box-shadow: 0 0 16px rgba(0,229,255,.06); border: 1px solid rgba(0,229,255,.1); }
.kpi-data { display: flex; flex-direction: column; }
.kpi-val { font-family: var(--font-display); font-size: 26px; font-weight: 700; letter-spacing: -.3px; line-height: 1.2; text-shadow: 0 0 20px rgba(0,229,255,.08); }
.kpi-lbl { font-size: 11px; color: var(--text-2); margin-top: 3px; text-transform: uppercase; letter-spacing: .6px; font-weight: 500; }
.kpi-compact { justify-content: center; text-align: center; }
.kpi-compact .kpi-val { font-size: 22px; }

/* Tabs & Panels */
.tab-content { display: none; } .tab-content.active { display: block; }
.panel {
    background: linear-gradient(180deg, rgba(8,12,26,.85) 0%, rgba(13,18,40,.9) 100%);
    backdrop-filter: blur(12px);
    border: 1px solid rgba(0,229,255,.06);
    border-radius: var(--r);
    overflow: hidden;
    position: relative;
}
.panel::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.12), transparent); }
.panel-head { display: flex; align-items: center; justify-content: space-between; padding: 20px 24px; border-bottom: 1px solid var(--border-subtle); }
.panel-head h3 { font-family: var(--font-display); font-size: 15px; font-weight: 700; letter-spacing: .4px; }

.form-area { padding: 24px; max-width: 480px; }
.plan-row { display: flex; align-items: center; gap: 14px; }
.badge-plan { display: inline-block; padding: 3px 12px; font-size: 10px; font-weight: 700; border-radius: var(--r-full); background: var(--gold-dim); color: var(--gold); text-transform: uppercase; letter-spacing: .8px; }

/* Search */
.search-wrap { display: flex; gap: 8px; }
.search-input { padding: 7px 14px; background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r-xs); color: var(--text-0); font-family: var(--font); font-size: 13px; width: 200px; outline: none; transition: border-color var(--dur); }
.search-input:focus { border-color: var(--gold); box-shadow: 0 0 12px rgba(0,229,255,.06); }

/* Jobs */
.jobs-wrap { min-height: 100px; }

/* Job Cards — Premium Neon styled */
.job-card {
    background: linear-gradient(135deg, rgba(8,12,26,.85) 0%, rgba(13,18,40,.9) 100%);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0,229,255,.06);
    border-radius: var(--r);
    transition: all .35s var(--ease);
    position: relative;
    overflow: hidden;
    margin-bottom: 12px;
}
.job-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.1), transparent); }
.job-card:last-child { margin-bottom: 0; }
.job-card:hover { border-color: rgba(0,229,255,.18); box-shadow: 0 8px 32px rgba(0,0,0,.35), 0 0 28px rgba(0,229,255,.04); transform: translateY(-2px); }
.job-card.vote-success-flash { animation: voteFlash 1.3s ease; }
@keyframes voteFlash { 0%,100% { background: var(--bg-glass); border-color: var(--border); } 30% { background: rgba(0,255,136,.05); border-color: var(--emerald); box-shadow: 0 0 30px rgba(0,255,136,.1); } }
.job-dot { width: 9px; height: 9px; border-radius: 50%; flex-shrink: 0; }
.job-dot.running { background: var(--emerald); box-shadow: 0 0 10px var(--emerald), 0 0 20px rgba(0,255,136,.2); animation: pulse-dot-neon 2s ease-in-out infinite; }
.job-dot.stopped { background: var(--text-3); }
.job-dot.paused { background: var(--amber); box-shadow: 0 0 6px rgba(255,170,0,.3); }
.job-dot.error { background: var(--rose); box-shadow: 0 0 6px rgba(255,51,85,.3); }
.job-card-header { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px 0; gap: 12px; }
.job-card-left { display: flex; align-items: center; gap: 12px; flex: 1; min-width: 0; }
.job-card-title { min-width: 0; flex: 1; }
.job-card-title h4 { font-size: 13.5px; font-weight: 600; color: var(--text-0); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.job-url-text { display: block; font-size: 10.5px; color: var(--text-3); font-family: var(--mono); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 540px; margin-top: 2px; }
.job-card-right { display: flex; align-items: center; gap: 8px; flex-shrink: 0; }
.job-status-tag { font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: var(--r-full); letter-spacing: .3px; }
.job-status-tag.running { background: var(--emerald-dim); color: var(--emerald); border: 1px solid rgba(0,255,136,.2); }
.job-status-tag.paused { background: var(--amber-dim); color: var(--amber); border: 1px solid rgba(255,170,0,.2); }
.job-status-tag.stopped { background: var(--bg-4); color: var(--text-3); border: 1px solid var(--border); }
.job-card-body { padding: 14px 20px 16px; }
.job-stats-row { display: grid; grid-template-columns: repeat(6, 1fr); gap: 8px; margin-bottom: 12px; }
.job-stat { text-align: center; background: var(--bg-3); border-radius: var(--r-xs); padding: 9px 4px 7px; }
.job-stat-val { display: block; font-size: 17px; font-weight: 700; line-height: 1.2; color: var(--text-0); font-family: var(--mono); transition: transform .15s, color .15s; }
.job-stat-val.job-stat-ok { color: var(--emerald); }
.job-stat-val.job-stat-err { color: var(--rose); }
.job-stat-val.stat-bump { animation: statBump .5s ease; }
@keyframes statBump { 0%,100% { transform: scale(1); } 40% { transform: scale(1.3); } }
.job-stat-lbl { display: block; font-size: 9px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; margin-top: 3px; }
.job-progress-row { margin-bottom: 12px; }
.job-progress-bar { height: 3px; background: var(--bg-3); border-radius: var(--r-full); overflow: hidden; display: flex; }
.job-progress-fill { height: 100%; border-radius: var(--r-full); transition: width .5s ease; }
.job-progress-ok { background: linear-gradient(90deg, #00cc6f, var(--emerald)); box-shadow: 0 0 6px rgba(0,255,136,.3); }
.job-progress-err { background: var(--rose); }
.job-card-footer { display: flex; align-items: center; justify-content: space-between; gap: 10px; flex-wrap: wrap; }
.job-footer-left { display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.job-footer-right { display: flex; align-items: center; gap: 10px; }
.job-toplist-badge { font-size: 10px; font-weight: 700; color: var(--gold); background: var(--gold-dim); border: 1px solid rgba(0,229,255,.15); padding: 2px 9px; border-radius: var(--r-xs); letter-spacing: .3px; }
.job-credit-info { font-size: 11px; color: var(--text-3); }
.job-last-vote-time { font-size: 11px; color: var(--text-3); }
.vote-ticks { display: flex; gap: 3px; align-items: center; }
.vote-tick { display: inline-block; width: 8px; height: 8px; border-radius: 50%; flex-shrink: 0; cursor: default; position: relative; }
.vote-tick.success { background: var(--emerald); box-shadow: 0 0 6px rgba(0,255,136,.5); }
.vote-tick.failed { background: var(--rose); box-shadow: 0 0 6px rgba(255,51,85,.5); }

/* Live Badges */
.live-badge { display: inline-flex; align-items: center; gap: 5px; font-size: 10px; font-weight: 700; padding: 2px 9px; border-radius: var(--r-full); letter-spacing: .3px; }
.live-voting { background: rgba(0,255,136,.08); color: var(--emerald); border: 1px solid rgba(0,255,136,.2); }
.live-waiting { background: var(--bg-3); color: var(--text-2); border: 1px solid var(--border); font-family: var(--mono); }
.live-idle { background: var(--bg-3); color: var(--text-3); border: 1px solid var(--border-subtle); }
.live-ping { width: 6px; height: 6px; border-radius: 50%; background: var(--emerald); display: inline-block; flex-shrink: 0; animation: livePing 1s ease-in-out infinite; box-shadow: 0 0 6px var(--emerald); }
@keyframes livePing { 0%,100% { transform: scale(1); opacity: 1; } 50% { transform: scale(1.6); opacity: .5; } }

.btn-toggle { padding: 5px 12px; font-size: 11px; font-weight: 600; border: 1px solid var(--border-vivid); border-radius: var(--r-xs); background: transparent; color: var(--text-2); cursor: pointer; font-family: var(--font); transition: all var(--dur); }
.btn-toggle:hover { border-color: var(--emerald); color: var(--emerald); }
.btn-toggle.active { background: var(--emerald-dim); border-color: var(--emerald); color: var(--emerald); box-shadow: 0 0 8px rgba(0,255,136,.08); }
.btn-del { padding: 5px 8px; border: none; background: transparent; color: var(--text-3); cursor: pointer; border-radius: var(--r-xs); transition: all var(--dur); }
.btn-del:hover { color: var(--rose); background: var(--rose-dim); }
.empty-state { text-align: center; padding: 48px 24px; color: var(--text-3); }
.empty-state p { margin-bottom: 16px; }

/* Tables — Premium */
.tbl-wrap { overflow-x: auto; }
.dtbl, .tbl { width: 100%; border-collapse: collapse; }
.dtbl th, .tbl th { padding: 13px 18px; text-align: left; font-family: var(--font-display); font-size: 10px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: 1.2px; background: linear-gradient(135deg, rgba(18,24,56,.6) 0%, rgba(13,18,40,.8) 100%); border-bottom: 1px solid var(--border); }
.dtbl td, .tbl td { padding: 13px 18px; font-size: 13px; color: var(--text-1); border-bottom: 1px solid var(--border-subtle); transition: background .2s; }
.dtbl tr:hover td, .tbl tr:hover td { background: rgba(0,229,255,.02); }
.dtbl .user-cell { display: flex; align-items: center; gap: 10px; }

/* Anti-spam challenge */
.spam-challenge { background: var(--bg-3); border: 1px solid var(--border); border-radius: var(--r); padding: 14px 18px; margin-bottom: 4px; }
.spam-challenge-q { font-size: 13px; color: var(--gold); font-weight: 600; margin-bottom: 8px; display: flex; align-items: center; gap: 8px; }
.spam-challenge-q svg { flex-shrink: 0; }
.dot { display: inline-block; width: 7px; height: 7px; border-radius: 50%; margin-right: 6px; }
.dot-ok { background: var(--emerald); box-shadow: 0 0 4px rgba(0,255,136,.4); }
.dot-err { background: var(--rose); box-shadow: 0 0 4px rgba(255,51,85,.4); }
.dot-warn { background: var(--amber); box-shadow: 0 0 4px rgba(255,170,0,.4); }
.dot-off { background: var(--text-3); }
.tag { display: inline-block; padding: 2px 10px; border-radius: var(--r-full); font-size: 10.5px; font-weight: 600; letter-spacing: .3px; }
.tag-green { background: var(--emerald-dim); color: var(--emerald); }
.tag-red { background: var(--rose-dim); color: var(--rose); }
.tag-blue { background: var(--blue-dim); color: var(--blue); }
.tag-orange { background: var(--amber-dim); color: var(--amber); }
.tag-purple { background: var(--violet-dim); color: var(--violet); }
.tag-cyan { background: var(--cyan-dim); color: var(--cyan); }

/* Modal — Premium Neon framed */
.modal-bg { position: fixed; inset: 0; background: rgba(2,3,8,.75); backdrop-filter: blur(16px) saturate(1.3); display: flex; align-items: center; justify-content: center; z-index: 200; animation: modalBgIn .3s ease; }
@keyframes modalBgIn { from { opacity: 0; } to { opacity: 1; } }
.modal {
    background: linear-gradient(180deg, rgba(13,18,40,.97) 0%, rgba(8,12,26,.98) 100%);
    border: 1px solid rgba(0,229,255,.12);
    border-radius: var(--r-xl);
    width: 100%; max-width: 460px;
    padding: 36px;
    box-shadow: 0 25px 80px rgba(0,0,0,.7), 0 0 100px rgba(0,229,255,.04), inset 0 1px 0 rgba(255,255,255,.03);
    position: relative;
    animation: modalSlideIn .4s var(--ease-out);
    overflow: hidden;
}
@keyframes modalSlideIn { from { opacity: 0; transform: translateY(20px) scale(.97); } to { opacity: 1; transform: translateY(0) scale(1); } }
.modal::before { content: ''; position: absolute; top: 0; left: 10%; right: 10%; height: 1px; background: linear-gradient(90deg, transparent, rgba(0,229,255,.4), rgba(139,92,246,.3), rgba(0,229,255,.4), transparent); }
.modal::after { content: ''; position: absolute; top: -150px; left: 50%; transform: translateX(-50%); width: 400px; height: 300px; background: radial-gradient(ellipse, rgba(0,229,255,.06) 0%, rgba(139,92,246,.03) 40%, transparent 70%); pointer-events: none; }
.modal-top { display: flex; align-items: center; justify-content: space-between; margin-bottom: 24px; position: relative; z-index: 1; }
.modal-top h3 { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: .5px; background: linear-gradient(135deg, #e0e8ff, #67f5ff); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.modal-x { width: 34px; height: 34px; display: flex; align-items: center; justify-content: center; border: 1px solid var(--border); background: rgba(0,229,255,.03); color: var(--text-2); font-size: 18px; border-radius: var(--r-sm); cursor: pointer; transition: all .25s var(--ease); backdrop-filter: blur(4px); }
.modal-x:hover { background: rgba(255,51,85,.08); color: var(--rose); border-color: rgba(255,51,85,.2); box-shadow: 0 0 12px rgba(255,51,85,.06); transform: rotate(90deg); }
.modal-btns { display: flex; justify-content: flex-end; gap: 12px; margin-top: 20px; padding-top: 20px; border-top: 1px solid var(--border-subtle); position: relative; z-index: 1; }

/* Toast — Premium Neon alerts */
.toast { position: fixed; bottom: 28px; right: 28px; padding: 14px 24px; border-radius: var(--r); font-size: 13px; font-weight: 600; z-index: 300; box-shadow: var(--shadow-lg); transition: all .35s var(--ease); opacity: 0; transform: translateY(12px) scale(.95); backdrop-filter: blur(12px); }
.toast.show { opacity: 1; transform: translateY(0) scale(1); }
.toast.success { background: linear-gradient(135deg, rgba(0,255,136,.08) 0%, rgba(0,255,136,.04) 100%); border: 1px solid rgba(0,255,136,.25); color: var(--emerald); box-shadow: var(--shadow-lg), 0 0 30px rgba(0,255,136,.08); }
.toast.error { background: linear-gradient(135deg, rgba(255,51,85,.08) 0%, rgba(255,51,85,.04) 100%); border: 1px solid rgba(255,51,85,.25); color: var(--rose); box-shadow: var(--shadow-lg), 0 0 30px rgba(255,51,85,.08); }
.toast.info { background: linear-gradient(135deg, rgba(59,130,246,.08) 0%, rgba(59,130,246,.04) 100%); border: 1px solid rgba(59,130,246,.25); color: var(--blue); }

/* =========================
   ENGINE
   ========================= */
.engine-header {
    display: flex; align-items: center; justify-content: space-between;
    margin-bottom: 22px; flex-wrap: wrap; gap: 16px;
    padding: 20px 24px;
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--r);
}
.engine-status-badge { display: inline-flex; align-items: center; gap: 8px; padding: 6px 16px 6px 10px; border-radius: var(--r-full); font-size: 13px; font-weight: 600; background: var(--emerald-dim); border: 1px solid rgba(0,255,136,.15); color: var(--emerald); }
.engine-status-badge.offline { background: var(--rose-dim); border-color: rgba(255,51,85,.15); color: var(--rose); }
.engine-status-badge.offline .engine-pulse { background: var(--rose); box-shadow: 0 0 8px var(--rose); }
.engine-status-badge-lg { padding: 8px 20px 8px 14px; font-size: 14px; }
.engine-pulse { width: 8px; height: 8px; border-radius: 50%; background: var(--emerald); box-shadow: 0 0 10px var(--emerald), 0 0 20px rgba(0,255,136,.2); animation: pulse-dot-neon 2s ease-in-out infinite; flex-shrink: 0; }
.engine-version { font-family: var(--mono); font-size: 11px; color: var(--gold); background: var(--gold-dim); border: 1px solid rgba(0,229,255,.12); padding: 3px 10px; border-radius: var(--r-full); font-weight: 600; letter-spacing: .3px; }
.engine-meta { display: flex; gap: 24px; flex-wrap: wrap; }
.engine-stat { display: flex; flex-direction: column; align-items: center; }
.engine-stat-val { font-family: var(--font-display); font-size: 18px; font-weight: 700; letter-spacing: -.2px; }
.engine-stat-lbl { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .8px; margin-top: 1px; }
.engine-admin-controls { display: flex; align-items: center; justify-content: space-between; gap: 16px; padding: 20px 24px; background: var(--bg-glass); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--r); flex-wrap: wrap; }
.engine-btns { display: flex; gap: 8px; }
.engine-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; margin-top: 14px; }
.engine-workers-panel { max-height: 550px; overflow: hidden; display: flex; flex-direction: column; }
.engine-workers-list { overflow-y: auto; max-height: 470px; }
.engine-worker { display: flex; align-items: center; gap: 12px; padding: 14px 18px; border-bottom: 1px solid var(--border-subtle); transition: background var(--dur); }
.engine-worker:last-child { border-bottom: none; }
.engine-worker:hover { background: rgba(0,229,255,.02); }
.worker-dot { width: 10px; height: 10px; border-radius: 50%; flex-shrink: 0; transition: all .3s; }
.worker-dot.voting { background: var(--emerald); box-shadow: 0 0 12px var(--emerald), 0 0 24px rgba(0,255,136,.2); animation: pulse-dot-neon 1s ease-in-out infinite; }
.worker-dot.waiting, .worker-dot.cooldown { background: var(--blue); box-shadow: 0 0 8px rgba(59,130,246,.3); }
.worker-dot.idle { background: var(--text-3); }
.worker-dot.error { background: var(--rose); box-shadow: 0 0 8px rgba(255,51,85,.3); }
.worker-info { flex: 1; min-width: 0; }
.worker-name { font-size: 13px; font-weight: 600; color: var(--text-1); }
.worker-toplist { font-size: 10px; color: var(--gold); font-weight: 600; text-transform: uppercase; letter-spacing: .5px; margin-top: 1px; }
.worker-detail { font-size: 11px; color: var(--text-3); margin-top: 3px; display: flex; align-items: center; gap: 8px; flex-wrap: wrap; }
.worker-detail-tag { display: inline-flex; align-items: center; gap: 3px; padding: 1px 6px; border-radius: 3px; font-size: 10px; font-weight: 500; }
.worker-detail-tag.tag-status { background: rgba(59,130,246,.08); color: var(--blue); }
.worker-detail-tag.tag-speed { background: rgba(0,255,136,.06); color: var(--emerald); }
.worker-detail-tag.tag-next { background: rgba(0,229,255,.06); color: var(--gold); }
.worker-detail-tag.tag-fail { background: rgba(255,51,85,.06); color: var(--rose); }
.worker-detail-tag.tag-detail { background: rgba(0,229,255,.04); color: var(--text-3); }
.worker-stats { display: flex; gap: 10px; font-size: 12px; flex-shrink: 0; align-items: center; }
.worker-stat-ok { color: var(--emerald); font-weight: 600; }
.worker-stat-fail { color: var(--rose); font-weight: 600; }
.worker-stat-avg { color: var(--text-3); font-size: 10px; font-family: var(--mono); }
.engine-feed-panel { max-height: 550px; overflow: hidden; display: flex; flex-direction: column; }
.engine-feed { overflow-y: auto; max-height: 470px; font-family: var(--mono); font-size: 12px; padding: 6px 0; background: var(--bg-1); scroll-behavior: smooth; }
.feed-controls { display: flex; gap: 6px; }
.feed-line { display: flex; align-items: flex-start; gap: 8px; padding: 5px 16px; line-height: 1.5; transition: background .15s; border-left: 2px solid transparent; }
.feed-line:hover { background: rgba(0,229,255,.015); }
.feed-time { color: var(--text-3); flex-shrink: 0; font-size: 10px; min-width: 60px; margin-top: 2px; opacity: .7; }
.feed-icon { flex-shrink: 0; width: 16px; text-align: center; margin-top: 1px; font-size: 13px; }
.feed-msg { color: var(--text-2); word-break: break-word; flex: 1; }
.feed-meta { font-size: 10px; color: var(--text-3); opacity: .6; flex-shrink: 0; margin-top: 2px; font-family: var(--mono); }
.feed-line.feed-success { border-left-color: var(--emerald); }
.feed-line.feed-success .feed-icon { color: var(--emerald); }
.feed-line.feed-success .feed-msg { color: var(--emerald); }
.feed-line.feed-fail { border-left-color: var(--rose); }
.feed-line.feed-fail .feed-icon { color: var(--rose); }
.feed-line.feed-fail .feed-msg { color: var(--rose); }
.feed-line.feed-error { border-left-color: var(--rose); }
.feed-line.feed-error .feed-icon { color: var(--rose); }
.feed-line.feed-error .feed-msg { color: var(--rose); opacity: .85; }
.feed-line.feed-warn { border-left-color: var(--amber); }
.feed-line.feed-warn .feed-icon { color: var(--amber); }
.feed-line.feed-warn .feed-msg { color: var(--amber); }
.feed-line.feed-info .feed-icon { color: var(--blue); }
.feed-line.feed-start { border-left-color: var(--gold); }
.feed-line.feed-start .feed-icon { color: var(--gold); }
.feed-line.feed-stop .feed-icon { color: var(--text-3); }

/* ============================================
   SHOP & CREDITS SYSTEM
   ============================================ */
.shop-tabs { display: flex; gap: 4px; padding: 4px; background: var(--bg-glass); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--r); margin-bottom: 20px; overflow-x: auto; }
.shop-tab { padding: 10px 18px; border: none; background: transparent; color: var(--text-3); font-family: var(--font); font-size: 13px; font-weight: 600; cursor: pointer; border-radius: 6px; transition: all var(--dur); white-space: nowrap; }
.shop-tab:hover { color: var(--text-1); background: rgba(0,229,255,.04); }
.shop-tab.active { background: var(--gold-dim); color: var(--gold); box-shadow: 0 1px 3px rgba(0,0,0,.2), 0 0 8px rgba(0,229,255,.04); }
.shop-content { display: none; }
.shop-content.active { display: block; }
.shop-section-head { margin-bottom: 20px; }
.shop-section-head h3 { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-1); margin-bottom: 4px; }
.shop-desc { font-size: 13px; color: var(--text-3); }
.shop-loading, .shop-empty { text-align: center; padding: 40px 20px; color: var(--text-3); font-size: 14px; }

.shop-smart-strip { margin: 0 0 18px; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 10px; }
.smart-chip { background: linear-gradient(135deg, rgba(0,229,255,.08) 0%, rgba(0,255,136,.04) 100%); border: 1px solid rgba(0,229,255,.12); border-radius: 10px; padding: 10px 12px; display: flex; flex-direction: column; gap: 2px; }
.smart-chip-label { font-size: 10px; text-transform: uppercase; letter-spacing: .7px; color: var(--text-3); }
.smart-chip-val { font-size: 12px; font-weight: 700; color: var(--text-1); }

/* Credit Package Cards */
.packages-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(240px, 1fr)); gap: 16px; }
.pkg-card {
    background: var(--bg-glass);
    backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    border-radius: var(--r);
    padding: 24px 20px;
    position: relative;
    transition: all .3s ease;
    display: flex;
    flex-direction: column;
}
.pkg-card:hover { border-color: rgba(0,229,255,.25); transform: translateY(-3px); box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 30px rgba(0,229,255,.04); }
.pkg-featured { border-color: rgba(0,229,255,.3); background: linear-gradient(135deg, rgba(0,229,255,.04) 0%, transparent 60%); }
.pkg-badge { position: absolute; top: -10px; right: 16px; background: var(--grad-brand); color: #000; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 12px; border-radius: var(--r-full); box-shadow: 0 0 12px rgba(0,229,255,.2); }
.pkg-header { margin-bottom: 16px; }
.pkg-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-1); margin-bottom: 8px; }
.pkg-price { display: flex; align-items: baseline; }
.pkg-dollar { font-size: 18px; color: var(--gold); font-weight: 700; margin-right: 1px; }
.pkg-amount { font-family: var(--font-display); font-size: 32px; font-weight: 800; color: var(--gold); letter-spacing: -.5px; text-shadow: 0 0 12px rgba(0,229,255,.15); }
.pkg-credits { text-align: center; padding: 16px 0; border-top: 1px solid var(--border-subtle); border-bottom: 1px solid var(--border-subtle); margin-bottom: 14px; }
.pkg-credits-num { font-family: var(--font-display); font-size: 28px; font-weight: 800; color: var(--text-1); }
.pkg-credits-lbl { font-size: 13px; color: var(--text-3); margin-left: 6px; }
.pkg-bonus { display: inline-block; background: rgba(0,255,136,.1); color: var(--emerald); font-size: 12px; font-weight: 700; padding: 2px 10px; border-radius: var(--r-full); margin-left: 8px; }
.pkg-meta { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; margin-bottom: 16px; }
.pkg-stat { text-align: center; padding: 8px; background: rgba(0,229,255,.03); border-radius: 6px; }
.pkg-stat-val { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--gold); }
.pkg-stat-lbl { display: block; font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }
.pkg-smart-tag { margin: 0 0 10px; font-size: 11px; font-weight: 600; color: var(--emerald); background: rgba(0,255,136,.06); border: 1px solid rgba(0,255,136,.12); border-radius: 999px; padding: 4px 10px; text-align: center; }
.pkg-buy-btn { margin-top: auto; }

/* Subscription Plan Cards */
.plans-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(280px, 1fr)); gap: 16px; }
.plan-card { background: var(--bg-glass); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--r); padding: 28px 22px; position: relative; transition: all .3s ease; display: flex; flex-direction: column; }
.plan-card:hover { border-color: rgba(0,229,255,.25); box-shadow: 0 8px 24px rgba(0,0,0,.3), 0 0 30px rgba(0,229,255,.04); }
.plan-featured { border-color: rgba(0,229,255,.3); background: linear-gradient(135deg, rgba(0,229,255,.04) 0%, transparent 60%); }
.plan-active { border-color: rgba(0,255,136,.35); background: linear-gradient(135deg, rgba(0,255,136,.04) 0%, transparent 60%); }
.plan-badge { position: absolute; top: -10px; right: 16px; background: var(--grad-brand); color: #000; font-size: 10px; font-weight: 800; letter-spacing: .6px; text-transform: uppercase; padding: 3px 12px; border-radius: var(--r-full); box-shadow: 0 0 12px rgba(0,229,255,.2); }
.plan-header { text-align: center; margin-bottom: 20px; }
.plan-name { font-family: var(--font-display); font-size: 22px; font-weight: 700; color: var(--text-1); }
.plan-tier { font-size: 11px; color: var(--gold); text-transform: uppercase; letter-spacing: 1px; font-weight: 700; margin: 4px 0 8px; }
.plan-price { display: flex; align-items: baseline; justify-content: center; gap: 1px; }
.plan-dollar { font-size: 18px; color: var(--gold); font-weight: 700; }
.plan-amount { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--gold); letter-spacing: -.5px; text-shadow: 0 0 12px rgba(0,229,255,.15); }
.plan-period { font-size: 14px; color: var(--text-3); margin-left: 2px; }
.plan-free { font-family: var(--font-display); font-size: 36px; font-weight: 800; color: var(--text-2); }
.plan-smart-row { margin-top: 10px; display: flex; justify-content: center; gap: 10px; font-size: 11px; color: var(--text-3); font-family: var(--mono); }
.plan-features { list-style: none; padding: 0; margin: 0 0 20px 0; flex-grow: 1; }
.plan-features li { padding: 8px 0; font-size: 13px; color: var(--text-2); border-bottom: 1px solid var(--border-subtle); }
.plan-features li:last-child { border-bottom: none; }

/* Current Subscription Banner */
.current-sub-banner { display: flex; align-items: center; justify-content: space-between; padding: 16px 20px; background: rgba(0,255,136,.04); border: 1px solid rgba(0,255,136,.15); border-radius: var(--r); margin-bottom: 20px; gap: 16px; flex-wrap: wrap; }
.sub-info { font-size: 14px; color: var(--text-1); }
.sub-period { display: block; font-size: 12px; color: var(--text-3); margin-top: 2px; }

/* Cost Analytics Cards */
.analytics-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(200px, 1fr)); gap: 14px; }
.anal-card { background: var(--bg-glass); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; display: flex; align-items: center; gap: 14px; transition: all var(--dur); }
.anal-card:hover { border-color: rgba(0,229,255,.15); }
.anal-card-primary { border-color: rgba(0,229,255,.25); background: linear-gradient(135deg, rgba(0,229,255,.06) 0%, transparent 70%); }
.anal-card-highlight { border-color: rgba(0,255,136,.25); background: linear-gradient(135deg, rgba(0,255,136,.06) 0%, transparent 70%); }
.anal-icon { font-size: 24px; flex-shrink: 0; }
.anal-data { display: flex; flex-direction: column; }
.anal-val { font-family: var(--font-display); font-size: 20px; font-weight: 700; color: var(--text-1); letter-spacing: -.3px; }
.anal-lbl { font-size: 11px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; margin-top: 2px; }

.paypal-button-container { margin-top: 10px; min-height: 45px; }
.badge-gold { background: rgba(0,229,255,.12); color: var(--gold); }
.badge-info { background: rgba(59,130,246,.12); color: #63b3ed; }

/* =========================
   V5.0 — MULTI-WORKER UI
   ========================= */
.range-input {
    -webkit-appearance: none; appearance: none;
    width: 100%; height: 6px;
    background: linear-gradient(90deg, var(--bg-4), rgba(0,229,255,.08));
    border-radius: 3px;
    outline: none;
    cursor: pointer;
    position: relative;
}
.range-input::-webkit-slider-runnable-track { border-radius: 3px; }
.range-input::-webkit-slider-thumb {
    -webkit-appearance: none; appearance: none;
    width: 20px; height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 35%, #67f5ff, #00a0b4);
    box-shadow: 0 0 12px rgba(0,229,255,.5), 0 0 30px rgba(0,229,255,.15), 0 2px 8px rgba(0,0,0,.4);
    cursor: pointer;
    transition: box-shadow .2s;
    border: 2px solid rgba(255,255,255,.2);
}
.range-input::-webkit-slider-thumb:hover { box-shadow: 0 0 20px rgba(0,229,255,.7), 0 0 40px rgba(0,229,255,.25), 0 2px 8px rgba(0,0,0,.4); transform: scale(1.1); }
.range-input::-moz-range-thumb { width: 20px; height: 20px; border-radius: 50%; border: 2px solid rgba(255,255,255,.2); background: radial-gradient(circle at 35% 35%, #67f5ff, #00a0b4); box-shadow: 0 0 12px rgba(0,229,255,.5); cursor: pointer; }
.range-sm { height: 4px; }
.range-sm::-webkit-slider-thumb { width: 14px; height: 14px; }
.range-sm::-moz-range-thumb { width: 14px; height: 14px; }

.field-val-badge {
    display: inline-flex; align-items: center; justify-content: center;
    min-width: 34px; padding: 3px 10px;
    background: linear-gradient(135deg, rgba(0,229,255,.12) 0%, rgba(139,92,246,.08) 100%);
    color: var(--gold);
    font-family: var(--mono); font-size: 13px; font-weight: 700;
    border-radius: var(--r-sm); border: 1px solid rgba(0,229,255,.2);
    box-shadow: 0 0 8px rgba(0,229,255,.08);
    text-shadow: 0 0 6px rgba(0,229,255,.3);
}

.btn-clone {
    background: none; border: 1px solid var(--border); color: var(--text-3);
    width: 28px; height: 28px; border-radius: var(--r-sm);
    display: inline-flex; align-items: center; justify-content: center;
    cursor: pointer; font-size: 13px; transition: all var(--dur);
}
.btn-clone:hover { border-color: var(--gold); color: var(--gold); background: var(--gold-dim); }

.job-workers-badge {
    display: inline-flex; align-items: center; gap: 4px;
    padding: 3px 8px;
    background: var(--gold-dim); color: var(--gold);
    font-size: 11px; font-weight: 700; font-family: var(--mono);
    border-radius: var(--r-sm); border: 1px solid rgba(0,229,255,.12);
    white-space: nowrap;
}

.job-scale-row {
    display: flex; align-items: center; gap: 8px;
    padding: 8px 20px 12px;
    border-top: 1px solid var(--border-subtle);
}
.job-scale-label { font-size: 10px; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; white-space: nowrap; }
.job-scale-val { font-size: 12px; font-weight: 700; color: var(--gold); font-family: var(--mono); min-width: 22px; text-align: center; }
.job-scale-row .range-input { flex: 1; }

.worker-index { font-size: 10px; color: var(--gold); font-weight: 700; font-family: var(--mono); opacity: .7; }

.engine-stat-velocity { color: var(--emerald) !important; text-shadow: 0 0 15px rgba(0,255,136,.3); }

/* =========================
   PROMO BANNER — Neon pulse
   ========================= */
.promo-banner {
    position: fixed;
    top: 68px;
    left: 0;
    right: 0;
    z-index: 99;
    background: linear-gradient(90deg, rgba(0,229,255,.08) 0%, rgba(139,92,246,.06) 50%, rgba(255,45,120,.06) 100%);
    border-bottom: 1px solid rgba(0,229,255,.12);
    padding: 10px 0;
    text-align: center;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--gold-light);
    letter-spacing: .3px;
    animation: promoPulse 3s ease-in-out infinite;
}
@keyframes promoPulse { 0%, 100% { opacity: 1; } 50% { opacity: .8; } }

/* =========================
   ADMIN SETTINGS GROUPS
   ========================= */
.settings-group {
    margin-bottom: 24px;
    padding: 20px;
    background: var(--bg-1);
    border: 1px solid var(--border);
    border-radius: var(--r);
}
.settings-group-title {
    font-family: var(--font-display);
    font-size: 14px;
    font-weight: 600;
    color: var(--gold);
    letter-spacing: .5px;
    margin-bottom: 16px;
    padding-bottom: 8px;
    border-bottom: 1px solid var(--border);
}
.field-inline {
    display: flex;
    align-items: center;
    gap: 12px;
}
.field-inline label { flex: 1; min-width: 0; }
.field-inline select {
    width: auto;
    min-width: 140px;
    padding: 8px 12px;
    background: var(--bg-3);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-0);
    font-family: var(--font);
    font-size: 13px;
}

/* =========================
   SHOP PROMO CODE INPUT
   ========================= */
.shop-promo-row {
    display: flex; align-items: center; gap: 12px;
    margin-bottom: 16px; padding: 14px 18px;
    background: linear-gradient(90deg, rgba(0,229,255,.04) 0%, rgba(139,92,246,.03) 100%);
    border: 1px solid rgba(0,229,255,.1);
    border-radius: var(--r);
}
.promo-input-group { display: flex; gap: 8px; flex: 1; }
.promo-input {
    flex: 1; padding: 8px 14px;
    background: var(--bg-2);
    border: 1px solid var(--border);
    border-radius: var(--r-sm);
    color: var(--text-0);
    font-family: var(--mono);
    font-size: 13px; font-weight: 600;
    letter-spacing: 1px;
    text-transform: uppercase;
}
.promo-input::placeholder { text-transform: none; letter-spacing: normal; font-weight: 400; color: var(--text-3); }
.promo-status { font-size: 12px; font-weight: 600; white-space: nowrap; }
.promo-valid { color: var(--emerald); }
.promo-invalid { color: var(--rose); }

/* =========================
   TOPLIST HEALTH DASHBOARD
   ========================= */
.health-scrappey-bar { display: grid; grid-template-columns: repeat(6, 1fr); gap: 10px; margin-bottom: 20px; padding: 18px 20px; background: var(--bg-glass); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--r); }
.health-scrappey-item { display: flex; flex-direction: column; align-items: center; text-align: center; }
.health-scrappey-lbl { font-size: 9.5px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .6px; margin-bottom: 4px; }
.health-scrappey-val { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-0); }

.toplist-health-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(320px, 1fr)); gap: 14px; }

.health-card { background: var(--bg-glass); backdrop-filter: blur(8px); border: 1px solid var(--border); border-radius: var(--r); padding: 20px; position: relative; overflow: hidden; transition: all .3s ease; }
.health-card::before { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 3px; border-radius: var(--r) var(--r) 0 0; }
.health-card.health-good::before { background: var(--emerald); box-shadow: 0 0 10px rgba(0,255,136,.2); }
.health-card.health-warn::before { background: var(--amber); box-shadow: 0 0 10px rgba(255,170,0,.2); }
.health-card.health-bad::before { background: var(--rose); box-shadow: 0 0 10px rgba(255,51,85,.2); }
.health-card:hover { border-color: var(--border-vivid); transform: translateY(-2px); box-shadow: 0 4px 20px rgba(0,0,0,.3); }

.health-card-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 14px; }
.health-card-name { font-family: var(--font-display); font-size: 16px; font-weight: 700; color: var(--text-0); }
.health-card-rate { font-family: var(--font-display); font-size: 28px; font-weight: 800; letter-spacing: -.5px; }

.health-card-stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 8px; margin-bottom: 12px; }
.health-stat { text-align: center; padding: 8px 4px; background: var(--bg-3); border-radius: var(--r-xs); }
.health-stat-val { display: block; font-family: var(--font-display); font-size: 14px; font-weight: 700; color: var(--text-0); line-height: 1.3; }
.health-stat-lbl { display: block; font-size: 9px; font-weight: 600; color: var(--text-3); text-transform: uppercase; letter-spacing: .4px; margin-top: 2px; }

.health-card-24h { display: flex; align-items: center; justify-content: space-between; padding: 8px 10px; background: rgba(0,229,255,.03); border: 1px solid var(--border-subtle); border-radius: var(--r-xs); margin-bottom: 10px; font-size: 11px; }
.health-24h-label { font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: .5px; font-size: 9px; }
.health-24h-val { color: var(--text-1); font-weight: 600; }

.health-card-errors { }
.health-errors-label { display: block; font-size: 9px; font-weight: 700; color: var(--text-3); text-transform: uppercase; letter-spacing: .5px; margin-bottom: 6px; }
.health-error-row { display: flex; align-items: flex-start; gap: 6px; padding: 3px 0; font-size: 11px; color: var(--text-2); }
.health-error-count { font-weight: 700; color: var(--rose); min-width: 28px; font-family: var(--mono); font-size: 10px; }
.health-error-msg { word-break: break-word; line-height: 1.4; }

/* =========================
   ENHANCED MODAL
   ========================= */
.modal-lg { max-width: 680px; max-height: 88vh; overflow-y: auto; scrollbar-width: thin; scrollbar-color: rgba(0,229,255,.2) transparent; }
.modal-lg::-webkit-scrollbar { width: 4px; }
.modal-lg::-webkit-scrollbar-track { background: transparent; }
.modal-lg::-webkit-scrollbar-thumb { background: rgba(0,229,255,.2); border-radius: 2px; }
.modal-section-label { font-family: var(--font-display); font-size: 11px; font-weight: 700; color: var(--gold); text-transform: uppercase; letter-spacing: 2px; margin: 24px 0 14px; padding: 10px 14px; border-radius: var(--r-sm); background: linear-gradient(90deg, rgba(0,229,255,.04) 0%, transparent 100%); border-left: 2px solid var(--gold); position: relative; z-index: 1; }
.modal-optional { font-weight: 400; color: var(--text-3); font-size: 9.5px; letter-spacing: .5px; }
.modal-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }

/* JOB CARD ENHANCEMENTS */
.job-priority-badge { display: inline-flex; align-items: center; gap: 3px; font-size: 10px; font-weight: 700; padding: 1px 7px; border-radius: var(--r-full); letter-spacing: .3px; margin-left: 6px; }
.priority-low { background: rgba(59,130,246,.08); color: var(--blue); border: 1px solid rgba(59,130,246,.15); }
.priority-normal { background: rgba(0,255,136,.06); color: var(--emerald); border: 1px solid rgba(0,255,136,.12); }
.priority-high { background: rgba(255,170,0,.06); color: var(--amber); border: 1px solid rgba(255,170,0,.12); }
.priority-urgent { background: rgba(255,51,85,.06); color: var(--rose); border: 1px solid rgba(255,51,85,.12); }

.job-budget-info, .job-daily-info, .job-schedule-info { font-size: 10px; color: var(--text-2); background: var(--bg-3); padding: 1px 7px; border-radius: var(--r-xs); border: 1px solid var(--border-subtle); }
.job-budget-bar { height: 4px; background: var(--bg-3); border-radius: var(--r-full); position: relative; margin-bottom: 10px; overflow: hidden; }
.job-budget-fill { height: 100%; border-radius: var(--r-full); background: linear-gradient(90deg, var(--gold), var(--amber)); transition: width .5s ease; }
.job-budget-label { position: absolute; top: 6px; left: 0; font-size: 9px; color: var(--text-3); }
.job-tag { display: inline-block; font-size: 9px; font-weight: 600; color: var(--text-2); background: var(--bg-3); padding: 1px 6px; border-radius: 3px; border: 1px solid var(--border-subtle); margin-right: 3px; }
.job-tags-row { display: flex; gap: 3px; align-items: center; flex-wrap: wrap; }

/* =========================
   RESPONSIVE
   ========================= */
@media (max-width: 1024px) {
    .hero-title-main { font-size: 52px; }
    .hero-title-sub-line { font-size: 16px; letter-spacing: 3px; }
    .hero-terminal { max-width: 420px; }
    .feat-grid { grid-template-columns: repeat(2, 1fr); }
    .toplist-grid { grid-template-columns: repeat(2, 1fr); }
    .price-grid { grid-template-columns: 1fr; max-width: 420px; margin: 0 auto; }
    .price-card-pop { transform: scale(1); }
    .price-card-pop:hover { transform: translateY(-8px); }
    .kpi-row { grid-template-columns: repeat(2, 1fr); }
    .footer-top { flex-direction: column; gap: 40px; }
    .auth-side { display: none; }
    .auth-form-wrap { padding: 32px 24px; }
    .engine-grid { grid-template-columns: 1fr; }
    .engine-meta { gap: 16px; }
}

@media (max-width: 768px) {
    .packages-grid, .plans-grid { grid-template-columns: 1fr; }
    .analytics-grid { grid-template-columns: 1fr 1fr; }
    .shop-smart-strip { grid-template-columns: 1fr; }
    .shop-tabs { gap: 2px; }
    .shop-tab { padding: 8px 12px; font-size: 12px; }
    .nav-center, .nav-right .btn-ghost { display: none; }
    .hero-center { padding: 100px 20px 60px; }
    .hero-title-top { font-size: 12px; letter-spacing: 4px; }
    .hero-title-main { font-size: 36px; }
    .hero-title-sub-line { font-size: 13px; letter-spacing: 2px; }
    .hero-sub { font-size: 14px; }
    .hero-sub br { display: none; }
    .hero-metrics { flex-wrap: wrap; gap: 20px; justify-content: center; }
    .hero-terminal { max-width: 100%; }
    .hero-ctas { flex-direction: column; width: 100%; max-width: 300px; }
    .btn-hero-primary, .btn-hero-outline { width: 100%; text-align: center; justify-content: center; }
    .hero-ornament { display: none; }
    .feat-grid, .toplist-grid { grid-template-columns: 1fr; }
    .section-head h2 { font-size: 28px; }
    .sidebar { display: none; }
    .main-area { margin-left: 0; padding: 24px 16px; }
    .kpi-row { grid-template-columns: 1fr; }
    .footer-cols { flex-wrap: wrap; gap: 32px; }
    .modal-lg { max-width: 95vw; }
    .modal-grid { grid-template-columns: 1fr; }
    .health-scrappey-bar { grid-template-columns: repeat(3, 1fr); }
    .toplist-health-grid { grid-template-columns: 1fr; }
    .health-card-stats { grid-template-columns: repeat(2, 1fr); }
}

/* =========================
   CURSOR GLOW EFFECT
   ========================= */
#cursor-glow {
    position: fixed;
    width: 300px;
    height: 300px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(0,229,255,.03), transparent 70%);
    pointer-events: none;
    z-index: 0;
    transform: translate(-50%, -50%);
    transition: opacity .3s;
    mix-blend-mode: screen;
}

/* =========================
   FLOATING ORBS BACKGROUND
   ========================= */
.bg-orbs {
    position: fixed;
    inset: 0;
    pointer-events: none;
    z-index: -1;
    overflow: hidden;
}
.bg-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(120px);
    opacity: .5;
}
.bg-orb-1 {
    width: 600px; height: 600px;
    background: rgba(0,229,255,.04);
    top: -200px; left: -100px;
    animation: orbDrift1 20s ease-in-out infinite alternate;
}
.bg-orb-2 {
    width: 500px; height: 500px;
    background: rgba(139,92,246,.035);
    bottom: -150px; right: -100px;
    animation: orbDrift2 25s ease-in-out infinite alternate;
}
.bg-orb-3 {
    width: 400px; height: 400px;
    background: rgba(255,45,120,.025);
    top: 40%; left: 60%;
    animation: orbDrift3 18s ease-in-out infinite alternate;
}
@keyframes orbDrift1 { 0% { transform: translate(0, 0); } 100% { transform: translate(80px, 60px); } }
@keyframes orbDrift2 { 0% { transform: translate(0, 0); } 100% { transform: translate(-70px, -50px); } }
@keyframes orbDrift3 { 0% { transform: translate(0, 0); } 100% { transform: translate(-40px, 30px); } }
