/**
 * ╔══════════════════════════════════════════════════════════════════════════╗
 * ║  ⚡ CRABION / REDGALAXY CYBERPUNK GLASSMORPHIC DESIGN SYSTEM v15.0       ║
 * ║  🎨 Masterclass UI/UX — Deep Obsidian Space & High-Tech HUD Suite        ║
 * ╚══════════════════════════════════════════════════════════════════════════╝
 */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;500;600;700;800;900&family=Rajdhani:wght@400;500;600;700&family=JetBrains+Mono:wght@400;500;700&display=swap');

/* ==========================================================================
   1. CSS CUSTOM PROPERTIES & DESIGN TOKENS
   ========================================================================== */
:root {
    /* Obsidian & Void Space Palette */
    --bg-void: #020617;
    --bg-space: #050a18;
    --bg-dark: #070d1e;
    --bg-surface: #0a1329;
    --bg-surface-elevated: #0f1c3f;
    --bg-card: rgba(10, 19, 41, 0.75);
    --bg-card-hover: rgba(15, 28, 60, 0.88);
    --bg-card-solid: #0c1630;
    --bg-input: rgba(4, 10, 24, 0.85);
    --bg-glass-blur: blur(20px);

    /* Electric Neon Accents */
    --neon-cyan: #38bdf8;
    --neon-cyan-bright: #00f0ff;
    --neon-cyan-deep: #0284c7;
    --neon-cyan-glow: rgba(56, 189, 248, 0.4);
    --accent-cyan: #38bdf8;

    --neon-emerald: #10b981;
    --neon-emerald-bright: #00ff87;
    --neon-emerald-deep: #059669;
    --neon-emerald-glow: rgba(16, 185, 129, 0.4);
    --accent-green: #10b981;

    --neon-amber: #f59e0b;
    --neon-amber-bright: #fbbf24;
    --neon-amber-deep: #d97706;
    --neon-amber-glow: rgba(245, 158, 11, 0.4);
    --accent-amber: #f59e0b;

    --neon-crimson: #ef4444;
    --neon-crimson-bright: #ff3366;
    --neon-crimson-deep: #dc2626;
    --neon-crimson-glow: rgba(239, 68, 68, 0.4);
    --accent-rose: #f43f5e;

    --neon-purple: #a855f7;
    --neon-purple-bright: #c084fc;
    --neon-purple-deep: #7e22ce;
    --neon-purple-glow: rgba(168, 85, 247, 0.4);

    --neon-discord: #5865F2;
    --neon-discord-glow: rgba(88, 101, 242, 0.45);

    /* Cyber Borders */
    --border-color: rgba(56, 189, 248, 0.18);
    --border-glow: rgba(56, 189, 248, 0.45);
    --border-cyber: rgba(56, 189, 248, 0.22);
    --border-cyber-hover: rgba(56, 189, 248, 0.65);
    --border-glass: rgba(255, 255, 255, 0.08);
    --border-glass-bright: rgba(255, 255, 255, 0.18);

    /* Typography Hierarchy */
    --font-heading: 'Orbitron', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-body: 'Rajdhani', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    --font-mono: 'JetBrains Mono', 'Fira Code', 'Courier New', monospace;

    /* Text Colors */
    --text-main: #f8fafc;
    --text-heading: #ffffff;
    --text-muted: #94a3b8;
    --text-dim: #64748b;
    --text-highlight: #38bdf8;

    /* Lighting & Shadows */
    --shadow-card: 0 15px 35px rgba(0, 0, 0, 0.6), 0 0 1px 1px rgba(255, 255, 255, 0.05);
    --shadow-card-hover: 0 22px 45px rgba(0, 0, 0, 0.75), 0 0 25px rgba(56, 189, 248, 0.18);
    --glow-cyan-sm: 0 0 10px rgba(56, 189, 248, 0.35);
    --glow-cyan-md: 0 0 20px rgba(56, 189, 248, 0.5), 0 0 40px rgba(14, 165, 233, 0.25);
    --glow-cyan-lg: 0 0 35px rgba(56, 189, 248, 0.6), 0 0 70px rgba(14, 165, 233, 0.35);
    --glow-emerald: 0 0 20px rgba(16, 185, 129, 0.45);
    --glow-crimson: 0 0 20px rgba(239, 68, 68, 0.45);
    --glow-amber: 0 0 20px rgba(245, 158, 11, 0.45);

    /* Animation Timings */
    --transition-snappy: all 0.18s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-smooth: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    --transition-bounce: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* ==========================================================================
   2. GLOBAL RESETS, TYPOGRAPHY & SCROLLBAR
   ========================================================================== */
*, *::before, *::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: 16px;
    scroll-behavior: smooth;
    color-scheme: dark;
    background-color: var(--bg-void);
}

body {
    background-color: var(--bg-void);
    color: var(--text-main);
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 500;
    line-height: 1.55;
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
    text-rendering: optimizeLegibility;
}

/* Selection Glow */
::selection {
    background: rgba(56, 189, 248, 0.35);
    color: #ffffff;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.8);
}

/* Cyber Scrollbar */
::-webkit-scrollbar {
    width: 8px;
    height: 8px;
}

::-webkit-scrollbar-track {
    background: #020617;
    border-left: 1px solid rgba(255, 255, 255, 0.04);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(180deg, #0ea5e9, #0284c7);
    border-radius: 4px;
    border: 1px solid rgba(56, 189, 248, 0.3);
    box-shadow: 0 0 10px rgba(14, 165, 233, 0.3);
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(180deg, #38bdf8, #0ea5e9);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.6);
}

/* ==========================================================================
   3. AMBIENT CYBER BACKGROUND & SCANLINES
   ========================================================================== */
.glow-bg {
    position: fixed;
    top: 0;
    left: 0;
    width: 100vw;
    height: 100vh;
    background: 
        radial-gradient(circle at 15% 15%, rgba(14, 165, 233, 0.16) 0%, transparent 40%),
        radial-gradient(circle at 85% 25%, rgba(168, 85, 247, 0.12) 0%, transparent 45%),
        radial-gradient(circle at 50% 80%, rgba(16, 185, 129, 0.10) 0%, transparent 50%),
        radial-gradient(circle at 80% 90%, rgba(245, 158, 11, 0.08) 0%, transparent 40%),
        linear-gradient(180deg, #020617 0%, #060b1e 50%, #030712 100%);
    pointer-events: none;
    z-index: -2;
    animation: ambientShift 20s ease-in-out infinite alternate;
}

/* Subtle Cyber Grid Overlay */
.glow-bg::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: 
        linear-gradient(to right, rgba(56, 189, 248, 0.035) 1px, transparent 1px),
        linear-gradient(to bottom, rgba(56, 189, 248, 0.035) 1px, transparent 1px);
    background-size: 40px 40px;
    mask-image: radial-gradient(ellipse at 50% 40%, black 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse at 50% 40%, black 40%, transparent 80%);
    pointer-events: none;
    z-index: -1;
}

/* Scanline Atmosphere */
.glow-bg::after {
    content: '';
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    opacity: 0.4;
    pointer-events: none;
    z-index: -1;
}

@keyframes ambientShift {
    0% { transform: scale(1) translateY(0); filter: hue-rotate(0deg); }
    50% { transform: scale(1.04) translateY(-10px); filter: hue-rotate(10deg); }
    100% { transform: scale(1) translateY(0); filter: hue-rotate(0deg); }
}

/* ==========================================================================
   4. NAVIGATION BAR (HUD HEADER)
   ========================================================================== */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 14px 36px;
    background: rgba(8, 14, 30, 0.82);
    -webkit-backdrop-filter: var(--bg-glass-blur);
    backdrop-filter: var(--bg-glass-blur);
    border-bottom: 1px solid var(--border-cyber);
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.5), inset 0 -1px 0 rgba(56, 189, 248, 0.15);
    position: sticky;
    top: 0;
    z-index: 1000;
    transition: var(--transition-smooth);
}

.navbar::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 10%;
    width: 80%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--neon-cyan), transparent);
    opacity: 0.6;
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.brand {
    display: flex;
    align-items: center;
    gap: 14px;
    text-decoration: none;
    cursor: default;
}

.logo-icon {
    font-size: 28px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    filter: drop-shadow(0 0 12px var(--neon-cyan-bright));
    transition: var(--transition-bounce);
    transform-origin: center;
}

.brand:hover .logo-icon {
    transform: scale(1.15) rotate(-5deg);
    filter: drop-shadow(0 0 18px var(--neon-cyan-bright));
}

.brand-text {
    display: flex;
    flex-direction: column;
}

.brand-text .title {
    font-family: var(--font-heading);
    font-size: 20px;
    font-weight: 900;
    letter-spacing: 2.5px;
    color: #ffffff;
    text-transform: uppercase;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.35);
    line-height: 1.15;
}

.brand-text .subtitle {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
    margin-top: 2px;
}

.nav-right {
    display: flex;
    align-items: center;
    gap: 16px;
}

/* High-Tech Status Orb & Badge */
.status-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    padding: 5px 14px;
    border-radius: 20px;
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.35);
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
}

.status-badge .dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--neon-emerald-bright);
    box-shadow: 0 0 10px var(--neon-emerald-bright), 0 0 20px var(--neon-emerald);
    animation: radarPulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite;
}

@keyframes radarPulse {
    0%, 100% {
        transform: scale(1);
        opacity: 1;
    }
    50% {
        transform: scale(1.3);
        opacity: 0.6;
        box-shadow: 0 0 16px var(--neon-emerald-bright);
    }
}

.btn-admin-link {
    color: var(--text-muted);
    background: rgba(15, 23, 42, 0.6);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    padding: 7px 16px;
    border-radius: 8px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: var(--transition-smooth);
    display: inline-flex;
    align-items: center;
    gap: 6px;
}

.btn-admin-link:hover {
    color: #ffffff;
    background: rgba(56, 189, 248, 0.15);
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(56, 189, 248, 0.35);
    transform: translateY(-1px);
}

/* ==========================================================================
   5. LAYOUT CONTAINERS & HERO SECTION
   ========================================================================== */
.container {
    max-width: 1140px;
    margin: 0 auto;
    padding: 40px 24px;
}

.admin-container {
    max-width: 1380px;
    padding: 30px 24px 60px 24px;
}

.stealth-container {
    max-width: 620px;
    margin: 45px auto 40px auto;
    padding: 0 20px;
    animation: fadeIn 0.4s ease-out;
}

.portal-header {
    text-align: center;
    margin-bottom: 28px;
    position: relative;
}

.portal-logo {
    font-size: 42px;
    margin-bottom: 10px;
    display: inline-block;
    filter: drop-shadow(0 0 18px var(--neon-cyan));
    animation: floatIcon 4s ease-in-out infinite;
}

.portal-title {
    font-family: var(--font-heading);
    font-size: 28px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    text-shadow: 0 0 25px rgba(56, 189, 248, 0.6);
    margin: 0 0 6px 0;
    text-transform: uppercase;
}

.portal-sub {
    font-size: 15px;
    color: var(--text-muted);
    letter-spacing: 0.5px;
    font-weight: 600;
}

.hero-section {
    text-align: center;
    margin-bottom: 40px;
}

.hero-title {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    letter-spacing: 2px;
    margin-bottom: 12px;
    text-transform: uppercase;
}

.neon-cyan {
    color: var(--neon-cyan);
    text-shadow: 0 0 18px rgba(56, 189, 248, 0.7);
}

.hero-desc {
    color: var(--text-muted);
    font-size: 18px;
    font-weight: 500;
    max-width: 650px;
    margin: 0 auto;
}

@keyframes floatIcon {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-6px); }
}

/* ==========================================================================
   6. GLASSMORPHIC CARDS & PANELS
   ========================================================================== */
.card, .glass-card {
    background: var(--bg-card);
    -webkit-backdrop-filter: var(--bg-glass-blur);
    backdrop-filter: var(--bg-glass-blur);
    border: 1px solid var(--border-cyber);
    border-radius: 18px;
    padding: 28px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.25), transparent);
    pointer-events: none;
}

.glass-card:hover {
    border-color: var(--border-cyber-hover);
    box-shadow: var(--shadow-card-hover);
    transform: translateY(-2px);
}

/* Primary Focus Card */
.main-card {
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 20px 45px rgba(0, 0, 0, 0.7), 0 0 35px rgba(14, 165, 233, 0.18);
    margin-bottom: 35px;
}

.card-header {
    margin-bottom: 22px;
}

.card-tag {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 2px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    display: inline-block;
    margin-bottom: 6px;
    padding: 3px 10px;
    border-radius: 6px;
    background: rgba(56, 189, 248, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.2);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}

.card-header h2, .card-header h3 {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 1px;
    text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
}

/* ==========================================================================
   7. INPUTS, CONTROLS & FORM GROUPS
   ========================================================================== */
.input-group {
    display: flex;
    gap: 12px;
    position: relative;
}

.input-group-vertical {
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.input-group-vertical label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 1px;
    color: var(--text-muted);
}

input[type="text"],
input[type="password"],
input[type="number"],
select,
textarea,
.input-text,
.select-input {
    background: var(--bg-input);
    border: 1px solid rgba(56, 189, 248, 0.28);
    border-radius: 12px;
    padding: 13px 18px;
    color: #ffffff;
    font-family: var(--font-body);
    font-size: 16px;
    font-weight: 600;
    outline: none;
    transition: var(--transition-snappy);
    width: 100%;
    box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.5), 0 0 0 1px transparent;
}

input::placeholder,
textarea::placeholder {
    color: rgba(148, 163, 184, 0.5);
    font-weight: 500;
}

input:focus,
select:focus,
textarea:focus,
.input-text:focus,
.select-input:focus {
    border-color: var(--neon-cyan-bright);
    background: rgba(6, 15, 36, 0.95);
    box-shadow: 
        0 0 0 3px rgba(56, 189, 248, 0.25),
        0 0 20px rgba(56, 189, 248, 0.35),
        inset 0 2px 4px rgba(0, 0, 0, 0.4);
}

/* Dropdown styling */
select, .select-input {
    appearance: none;
    -webkit-appearance: none;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='16' height='16' viewBox='0 0 24 24' fill='none' stroke='%2338bdf8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 14px center;
    background-size: 14px;
    padding-right: 40px;
    cursor: pointer;
}

select option {
    background: #081024;
    color: #ffffff;
    padding: 10px;
    font-family: var(--font-body);
    font-size: 15px;
}

.form-grid {
    display: flex;
    flex-direction: column;
    gap: 14px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 700;
    letter-spacing: 0.8px;
    color: #cbd5e1;
}

.form-row-compact {
    display: flex;
    gap: 14px;
}

.flex-1 {
    flex: 1;
}

/* ==========================================================================
   8. FUTURISTIC BUTTONS & RIPPLE INTERACTIONS
   ========================================================================== */
.btn-primary {
    background: linear-gradient(135deg, #0284c7 0%, #0ea5e9 50%, #38bdf8 100%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 12px;
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1.5px;
    padding: 13px 26px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    transition: var(--transition-snappy);
    box-shadow: 0 4px 20px rgba(14, 165, 233, 0.4), inset 0 1px 0 rgba(255, 255, 255, 0.4);
    text-transform: uppercase;
    text-decoration: none;
    white-space: nowrap;
    position: relative;
    overflow: hidden;
}

.btn-primary::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -60%;
    width: 40%;
    height: 200%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transform: rotate(25deg);
    transition: none;
}

.btn-primary:hover::before {
    left: 140%;
    transition: 0.7s ease-in-out;
}

.btn-primary:hover {
    background: linear-gradient(135deg, #0369a1 0%, #0284c7 50%, #0ea5e9 100%);
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(14, 165, 233, 0.6), 0 0 15px rgba(56, 189, 248, 0.5);
    border-color: #ffffff;
}

.btn-primary:active {
    transform: translateY(0) scale(0.98);
    box-shadow: 0 2px 10px rgba(14, 165, 233, 0.4);
}

.btn-primary:disabled {
    opacity: 0.65;
    cursor: not-allowed;
    filter: grayscale(0.5);
    transform: none !important;
}

.btn-outline {
    background: rgba(56, 189, 248, 0.06);
    border: 1px solid var(--neon-cyan);
    color: var(--neon-cyan);
    border-radius: 10px;
    padding: 9px 18px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-snappy);
    box-shadow: 0 0 10px rgba(56, 189, 248, 0.1);
}

.btn-outline:hover {
    background: rgba(56, 189, 248, 0.2);
    color: #ffffff;
    border-color: var(--neon-cyan-bright);
    box-shadow: 0 0 18px rgba(56, 189, 248, 0.4);
    transform: translateY(-1px);
}

.btn-danger {
    background: rgba(239, 68, 68, 0.15);
    border: 1px solid rgba(239, 68, 68, 0.45);
    color: #f87171;
    border-radius: 10px;
    padding: 9px 18px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 12px;
    letter-spacing: 1px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 6px;
    transition: var(--transition-snappy);
    box-shadow: 0 0 12px rgba(239, 68, 68, 0.15);
    text-transform: uppercase;
}

.btn-danger:hover {
    background: rgba(239, 68, 68, 0.35);
    color: #ffffff;
    border-color: #ef4444;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.5);
    transform: translateY(-1px);
}

.btn-sm {
    padding: 6px 12px;
    font-size: 11px;
}

.btn-discord {
    background: linear-gradient(135deg, #5865F2 0%, #4752C4 100%);
    color: #ffffff;
    padding: 13px 28px;
    border-radius: 10px;
    font-family: var(--font-heading);
    font-weight: 800;
    font-size: 13px;
    letter-spacing: 1px;
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    gap: 8px;
    box-shadow: 0 4px 20px rgba(88, 101, 242, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: var(--transition-snappy);
}

.btn-discord:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(88, 101, 242, 0.6), 0 0 15px rgba(88, 101, 242, 0.5);
    color: #ffffff;
}

/* ==========================================================================
   9. RESULT AREA & USER VALIDATION
   ========================================================================== */
.result-box {
    margin-top: 25px;
    background: rgba(4, 11, 26, 0.85);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 14px;
    padding: 22px;
    animation: fadeIn 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.5), 0 0 25px rgba(16, 185, 129, 0.15);
}

.result-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 15px;
}

.plan-info {
    display: flex;
    align-items: center;
    gap: 12px;
}

.badge-plan {
    background: linear-gradient(135deg, #10b981, #059669);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    padding: 5px 14px;
    border-radius: 20px;
    letter-spacing: 1.5px;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.user-note {
    font-size: 16px;
    font-weight: 700;
    color: #e2e8f0;
}

.expiry-info {
    display: flex;
    align-items: center;
    gap: 8px;
}

.lbl-exp {
    font-family: var(--font-heading);
    font-size: 12px;
    color: var(--text-muted);
    font-weight: 700;
    letter-spacing: 1px;
    text-transform: uppercase;
}

.val-exp {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 900;
    color: #34d399;
    text-shadow: 0 0 12px rgba(52, 211, 153, 0.5);
}

.action-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent, rgba(56, 189, 248, 0.25), transparent);
    margin: 20px 0;
}

.launch-actions {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px;
}

.action-col {
    background: rgba(14, 165, 233, 0.06);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    padding: 20px;
    box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.05);
}

.action-label {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    display: block;
    margin-bottom: 8px;
}

.action-sub {
    font-size: 13px;
    color: var(--text-muted);
    margin-bottom: 12px;
}

.bookmarklet-btn {
    display: block;
    text-align: center;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #000000;
    font-family: var(--font-heading);
    font-weight: 900;
    font-size: 14px;
    letter-spacing: 1px;
    padding: 14px 20px;
    border-radius: 12px;
    text-decoration: none;
    box-shadow: 0 4px 20px rgba(245, 158, 11, 0.4);
    cursor: grab;
    border: 2px dashed rgba(255, 255, 255, 0.5);
    transition: var(--transition-snappy);
}

.bookmarklet-btn:hover {
    transform: scale(1.02);
    box-shadow: 0 8px 30px rgba(245, 158, 11, 0.6);
}

.shortcut-tip-box {
    display: flex;
    align-items: flex-start;
    gap: 12px;
    background: rgba(14, 165, 233, 0.07);
    border: 1px dashed rgba(56, 189, 248, 0.35);
    border-radius: 10px;
    padding: 12px 16px;
    margin-top: 12px;
}

.shortcut-tip-box .tip-icon {
    font-size: 18px;
    line-height: 1.2;
    filter: drop-shadow(0 0 6px var(--neon-cyan));
}

.shortcut-tip-box .tip-text {
    font-size: 13px;
    color: #cbd5e1;
    line-height: 1.5;
}

.shortcut-tip-box .tip-text strong {
    color: var(--neon-cyan);
}

kbd, code {
    display: inline-block;
    padding: 2px 7px;
    font-family: var(--font-mono);
    font-size: 12px;
    font-weight: 700;
    color: #38bdf8;
    background: rgba(15, 23, 42, 0.9);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 5px;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.4);
}

.code-box {
    display: flex;
    gap: 8px;
}

.code-box input,
.code-box textarea {
    font-family: var(--font-mono);
    font-size: 13px;
    color: var(--neon-cyan-bright);
    background: #040816;
    border-color: rgba(56, 189, 248, 0.3);
}

.btn-copy {
    background: #0f1c3f;
    border: 1px solid var(--border-cyber);
    color: #ffffff;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1px;
    padding: 0 18px;
    border-radius: 10px;
    cursor: pointer;
    transition: var(--transition-snappy);
}

.btn-copy:hover {
    background: var(--neon-cyan);
    color: #020617;
    box-shadow: 0 0 15px var(--neon-cyan);
}

/* Error & Alert Banners */
.error-box {
    margin-top: 16px;
    background: rgba(239, 68, 68, 0.14);
    border: 1px solid rgba(239, 68, 68, 0.4);
    border-radius: 12px;
    padding: 14px 20px;
    color: #fca5a5;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 12px;
    box-shadow: 0 0 20px rgba(239, 68, 68, 0.15);
    animation: shakeError 0.4s ease;
}

.error-box .err-icon {
    font-size: 20px;
    filter: drop-shadow(0 0 8px #ef4444);
}

@keyframes shakeError {
    0%, 100% { transform: translateX(0); }
    20%, 60% { transform: translateX(-6px); }
    40%, 80% { transform: translateX(6px); }
}

/* ==========================================================================
   10. LIVE REMOTE SHIP TELEMETRY & USER CONTROLS
   ========================================================================== */
.user-live-card {
    background: radial-gradient(circle at top right, rgba(14, 165, 233, 0.18), rgba(8, 16, 36, 0.95));
    border: 1px solid rgba(56, 189, 248, 0.45);
    border-radius: 16px;
    padding: 22px;
    margin-top: 20px;
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.6), 0 0 30px rgba(14, 165, 233, 0.15);
    animation: fadeIn 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.user-live-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 14px;
    margin-bottom: 18px;
    flex-wrap: wrap;
    gap: 12px;
}

.user-live-controls {
    display: flex;
    gap: 10px;
    flex-wrap: wrap;
    margin-top: 16px;
}

/* High-Tech Telemetry Gauge Bars */
.gauge-container {
    width: 120px;
    display: flex;
    flex-direction: column;
    gap: 4px;
}

.gauge-row {
    display: flex;
    align-items: center;
    gap: 6px;
    font-size: 11px;
    font-weight: 800;
}

.gauge-bar-track {
    flex: 1;
    height: 7px;
    background: rgba(2, 6, 23, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    box-shadow: inset 0 1px 3px rgba(0, 0, 0, 0.7);
}

.gauge-bar-fill-hp {
    height: 100%;
    background: linear-gradient(90deg, #ef4444 0%, #f59e0b 50%, #10b981 100%);
    border-radius: 3px;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(16, 185, 129, 0.5);
}

.gauge-bar-fill-shd {
    height: 100%;
    background: linear-gradient(90deg, #0284c7 0%, #38bdf8 100%);
    border-radius: 3px;
    transition: width 0.35s cubic-bezier(0.16, 1, 0.3, 1);
    box-shadow: 0 0 8px rgba(56, 189, 248, 0.6);
}

/* ==========================================================================
   11. ADMIN DASHBOARD & KPI METRICS GRID
   ========================================================================== */
.metrics-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 28px;
}

.metric-card {
    background: rgba(10, 18, 40, 0.75);
    -webkit-backdrop-filter: var(--bg-glass-blur);
    backdrop-filter: var(--bg-glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 22px;
    box-shadow: var(--shadow-card);
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.metric-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 4px;
    height: 100%;
    background: var(--neon-cyan);
    opacity: 0.6;
}

.metric-card:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.metric-card.highlight-green::before { background: var(--neon-emerald-bright); }
.metric-card.highlight-green { border-color: rgba(16, 185, 129, 0.35); }
.metric-card.highlight-green:hover { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(16, 185, 129, 0.25); }

.metric-card.highlight-cyan::before { background: var(--neon-cyan-bright); }
.metric-card.highlight-cyan { border-color: rgba(56, 189, 248, 0.35); }
.metric-card.highlight-cyan:hover { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(56, 189, 248, 0.25); }

.metric-card.highlight-amber::before { background: var(--neon-amber-bright); }
.metric-card.highlight-amber { border-color: rgba(245, 158, 11, 0.35); }
.metric-card.highlight-amber:hover { box-shadow: 0 15px 35px rgba(0, 0, 0, 0.7), 0 0 25px rgba(245, 158, 11, 0.25); }

.metric-lbl {
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    color: var(--text-muted);
    text-transform: uppercase;
    display: block;
}

.metric-val {
    font-family: var(--font-heading);
    font-size: 36px;
    font-weight: 900;
    color: #ffffff;
    display: block;
    margin: 6px 0 2px 0;
    line-height: 1.1;
    text-shadow: 0 0 15px rgba(255, 255, 255, 0.25);
}

.metric-sub {
    font-size: 13px;
    color: var(--text-dim);
    font-weight: 600;
}

.text-green { color: #34d399; text-shadow: 0 0 10px rgba(52, 211, 153, 0.4); }
.text-cyan { color: var(--neon-cyan); text-shadow: 0 0 10px rgba(56, 189, 248, 0.4); }
.text-amber { color: #fbbf24; text-shadow: 0 0 10px rgba(251, 191, 36, 0.4); }
.text-muted { color: var(--text-muted); }
.font-bold { font-weight: 700; }

.admin-two-col {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 24px;
    margin-bottom: 28px;
}

.server-info-box {
    background: rgba(3, 8, 20, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 12px;
    padding: 14px;
}

.s-info-row {
    display: flex;
    justify-content: space-between;
    font-size: 14px;
    padding: 6px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.s-info-row:last-child { border-bottom: none; }
.s-lbl { color: var(--text-muted); font-weight: 600; }
.s-val { font-weight: 700; color: #ffffff; }

/* Generated Keys Box */
.gen-result {
    background: rgba(4, 12, 28, 0.9);
    border: 1px solid rgba(16, 185, 129, 0.4);
    border-radius: 12px;
    padding: 16px;
    box-shadow: 0 0 20px rgba(16, 185, 129, 0.15);
    animation: fadeIn 0.3s ease;
}

.gen-res-header {
    font-family: var(--font-heading);
    font-size: 12px;
    margin-bottom: 8px;
}

/* ==========================================================================
   12. FLEET CONTROL BAR & CYBER TABLE
   ========================================================================== */
.table-card {
    padding: 24px;
}

.fleet-quick-bar {
    display: flex;
    gap: 12px;
    align-items: center;
    background: rgba(14, 165, 233, 0.08);
    border: 1px solid rgba(56, 189, 248, 0.3);
    border-radius: 12px;
    padding: 12px 18px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    box-shadow: inset 0 0 20px rgba(56, 189, 248, 0.05);
}

.fleet-bar-title {
    font-family: var(--font-heading);
    font-size: 13px;
    font-weight: 800;
    letter-spacing: 1px;
    color: var(--neon-cyan);
    display: flex;
    align-items: center;
    gap: 8px;
    text-shadow: 0 0 8px rgba(56, 189, 248, 0.5);
}

.btn-fleet-start {
    background: rgba(16, 185, 129, 0.18);
    border: 1px solid rgba(16, 185, 129, 0.5);
    color: #34d399;
}
.btn-fleet-start:hover {
    background: #10b981;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(16, 185, 129, 0.6);
}

.btn-fleet-pause {
    background: rgba(245, 158, 11, 0.18);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
}
.btn-fleet-pause:hover {
    background: #f59e0b;
    color: #020617;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.6);
}

.btn-fleet-kill {
    background: rgba(239, 68, 68, 0.18);
    border: 1px solid rgba(239, 68, 68, 0.5);
    color: #f87171;
}
.btn-fleet-kill:hover {
    background: #ef4444;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.6);
}

.btn-fleet-base {
    background: rgba(168, 85, 247, 0.18);
    border: 1px solid rgba(168, 85, 247, 0.5);
    color: #c084fc;
}
.btn-fleet-base:hover {
    background: #a855f7;
    color: #ffffff;
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.6);
}

.btn-action {
    background: rgba(15, 23, 42, 0.8);
    border: 1px solid rgba(255, 255, 255, 0.15);
    color: #ffffff;
    border-radius: 8px;
    padding: 5px 10px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    cursor: pointer;
    transition: var(--transition-snappy);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 4px;
}

.btn-action:hover {
    background: var(--neon-cyan);
    color: #020617;
    border-color: var(--neon-cyan-bright);
    box-shadow: 0 0 12px var(--neon-cyan);
    transform: translateY(-1px);
}

.btn-group-table {
    display: flex;
    gap: 5px;
}

.btn-add-time:hover { background: #10b981; color: #ffffff; border-color: #10b981; box-shadow: 0 0 10px #10b981; }
.btn-delete:hover { background: #ef4444; color: #ffffff; border-color: #ef4444; box-shadow: 0 0 10px #ef4444; }

.table-header-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 16px;
    margin-bottom: 20px;
}

.th-right {
    display: flex;
    gap: 12px;
    align-items: center;
    flex-wrap: wrap;
}

.search-input {
    width: 240px;
    padding: 9px 14px;
    font-size: 13px;
}

.select-input-sm {
    padding: 9px 14px;
    font-size: 13px;
    width: auto;
}

.table-responsive {
    overflow-x: auto;
    border-radius: 12px;
    border: 1px solid var(--border-cyber);
    background: rgba(3, 8, 20, 0.7);
}

.cyber-table {
    width: 100%;
    border-collapse: collapse;
    font-size: 14px;
}

.cyber-table th {
    background: rgba(8, 16, 38, 0.95);
    color: var(--text-muted);
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 800;
    letter-spacing: 1.5px;
    text-align: left;
    padding: 14px 16px;
    border-bottom: 1px solid var(--border-cyber);
    text-transform: uppercase;
    white-space: nowrap;
}

.cyber-table td {
    padding: 14px 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    vertical-align: middle;
}

.cyber-table tr:hover {
    background: rgba(56, 189, 248, 0.05);
}

/* Badges */
.badge {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    padding: 4px 10px;
    border-radius: 14px;
    letter-spacing: 1px;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    text-transform: uppercase;
    border: 1px solid transparent;
}

.badge-active { background: rgba(16, 185, 129, 0.18); color: #34d399; border-color: rgba(16, 185, 129, 0.4); box-shadow: 0 0 10px rgba(16, 185, 129, 0.2); }
.badge-online { background: rgba(56, 189, 248, 0.22); color: #38bdf8; border-color: rgba(56, 189, 248, 0.5); box-shadow: 0 0 12px rgba(56, 189, 248, 0.3); }
.badge-frozen { background: rgba(148, 163, 184, 0.18); color: #cbd5e1; border-color: rgba(148, 163, 184, 0.4); }
.badge-expired { background: rgba(245, 158, 11, 0.18); color: #fbbf24; border-color: rgba(245, 158, 11, 0.4); box-shadow: 0 0 10px rgba(245, 158, 11, 0.2); }
.badge-revoked { background: rgba(239, 68, 68, 0.18); color: #f87171; border-color: rgba(239, 68, 68, 0.4); box-shadow: 0 0 10px rgba(239, 68, 68, 0.2); }

.plan-pill {
    background: rgba(255, 255, 255, 0.08);
    color: #e2e8f0;
    padding: 3px 10px;
    border-radius: 8px;
    font-family: var(--font-heading);
    font-weight: 700;
    font-size: 11px;
    letter-spacing: 0.5px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ==========================================================================
   13. MODALS & TELEMETRY OVERLAY
   ========================================================================== */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(2, 6, 23, 0.88);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    padding: 20px;
    animation: fadeIn 0.25s ease-out;
}

.modal-card {
    width: 100%;
    max-width: 440px;
    text-align: center;
    border-color: rgba(56, 189, 248, 0.35);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.85), 0 0 40px rgba(14, 165, 233, 0.25);
    animation: scaleModal 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.modal-header {
    margin-bottom: 20px;
}

.modal-header .logo-icon {
    font-size: 36px;
    margin-bottom: 8px;
}

.modal-header h2 {
    font-family: var(--font-heading);
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    letter-spacing: 1.5px;
}

.modal-header p {
    font-size: 14px;
    color: var(--text-muted);
    margin-top: 4px;
}

.modal-telemetry-card {
    max-width: 720px;
    width: 100%;
    text-align: left;
}

.telemetry-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 14px;
    margin: 20px 0;
}

.tel-stat-card {
    background: rgba(2, 6, 23, 0.75);
    border: 1px solid rgba(56, 189, 248, 0.2);
    border-radius: 10px;
    padding: 12px 14px;
    box-shadow: inset 0 0 15px rgba(0, 0, 0, 0.5);
}

.tel-stat-lbl {
    font-family: var(--font-heading);
    font-size: 10px;
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 1px;
    text-transform: uppercase;
}

.tel-stat-val {
    font-family: var(--font-heading);
    font-size: 18px;
    font-weight: 800;
    color: #ffffff;
    margin-top: 4px;
}

@keyframes scaleModal {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

/* ==========================================================================
   14. MAINTENANCE SUITE (VDS & REACTOR BREAKDOWN)
   ========================================================================== */
.maint-container {
    max-width: 820px;
    margin: 50px auto 40px auto;
    text-align: center;
    position: relative;
    z-index: 10;
}

.maint-icon-wrapper {
    position: relative;
    width: 130px;
    height: 130px;
    margin: 0 auto 28px auto;
    display: flex;
    align-items: center;
    justify-content: center;
}

.maint-gear-outer {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px dashed rgba(245, 158, 11, 0.7);
    border-radius: 50%;
    animation: spinGear 14s linear infinite;
    box-shadow: 0 0 30px rgba(245, 158, 11, 0.35);
}

.maint-gear-inner {
    position: absolute;
    width: 76%;
    height: 76%;
    border: 2px solid rgba(56, 189, 248, 0.6);
    border-top-color: #38bdf8;
    border-radius: 50%;
    animation: spinGearReverse 8s linear infinite;
}

.maint-icon-center {
    font-size: 52px;
    filter: drop-shadow(0 0 20px rgba(245, 158, 11, 0.9));
    animation: pulseIcon 2s ease-in-out infinite;
}

@keyframes spinGear {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

@keyframes spinGearReverse {
    from { transform: rotate(360deg); }
    to { transform: rotate(0deg); }
}

@keyframes pulseIcon {
    0%, 100% { transform: scale(1); filter: drop-shadow(0 0 14px rgba(245, 158, 11, 0.7)); }
    50% { transform: scale(1.12); filter: drop-shadow(0 0 28px rgba(239, 68, 68, 0.95)); }
}

.maint-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 18px;
    background: rgba(245, 158, 11, 0.14);
    border: 1px solid rgba(245, 158, 11, 0.45);
    border-radius: 24px;
    color: #fbbf24;
    font-family: var(--font-heading);
    font-size: 12px;
    font-weight: 800;
    letter-spacing: 1.5px;
    margin-bottom: 22px;
    box-shadow: 0 0 20px rgba(245, 158, 11, 0.25);
    text-transform: uppercase;
}

.maint-dot {
    width: 10px;
    height: 10px;
    background: #fbbf24;
    border-radius: 50%;
    animation: blinkDot 1s infinite alternate;
}

@keyframes blinkDot {
    from { opacity: 0.3; transform: scale(0.8); }
    to { opacity: 1; transform: scale(1.25); box-shadow: 0 0 10px #fbbf24; }
}

.maint-title {
    font-family: var(--font-heading);
    font-size: 40px;
    font-weight: 900;
    letter-spacing: 2px;
    color: #ffffff;
    margin-bottom: 16px;
    text-transform: uppercase;
}

.maint-title span {
    background: linear-gradient(135deg, #f59e0b 0%, #ef4444 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.maint-msg-box {
    background: rgba(10, 19, 41, 0.8);
    -webkit-backdrop-filter: var(--bg-glass-blur);
    backdrop-filter: var(--bg-glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.12);
    border-radius: 16px;
    padding: 24px 30px;
    margin: 25px auto;
    box-shadow: var(--shadow-card);
    font-size: 17px;
    color: #cbd5e1;
    line-height: 1.6;
}

.maint-msg-highlight {
    color: var(--neon-cyan);
    font-weight: 700;
    display: block;
    margin-top: 10px;
}

/* ETA Countdown Suite */
.countdown-wrapper {
    margin: 32px 0;
}

.countdown-title {
    font-size: 13px;
    font-family: var(--font-heading);
    font-weight: 800;
    color: var(--text-muted);
    letter-spacing: 2px;
    margin-bottom: 14px;
    text-transform: uppercase;
}

.countdown-grid {
    display: flex;
    justify-content: center;
    gap: 18px;
}

.countdown-card {
    background: rgba(4, 10, 24, 0.85);
    border: 1px solid rgba(56, 189, 248, 0.35);
    border-radius: 14px;
    padding: 16px 22px;
    min-width: 95px;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.5), inset 0 0 15px rgba(56, 189, 248, 0.1);
}

.countdown-num {
    font-family: var(--font-heading);
    font-size: 38px;
    font-weight: 900;
    color: #38bdf8;
    text-shadow: 0 0 15px rgba(56, 189, 248, 0.7);
    line-height: 1.1;
}

.countdown-lbl {
    font-family: var(--font-heading);
    font-size: 11px;
    color: var(--text-dim);
    font-weight: 800;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    margin-top: 6px;
}

.maint-actions {
    display: flex;
    justify-content: center;
    gap: 16px;
    margin-top: 36px;
    flex-wrap: wrap;
}

.maint-auto-reload {
    margin-top: 32px;
    font-size: 13px;
    color: var(--text-dim);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.spinner-mini {
    width: 16px;
    height: 16px;
    border: 2px solid rgba(56, 189, 248, 0.2);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spinGear 0.8s linear infinite;
}

/* ==========================================================================
   15. STEPS & FEATURES SECTIONS
   ========================================================================== */
.steps-section {
    margin: 50px 0;
}

.section-title {
    font-family: var(--font-heading);
    font-size: 22px;
    font-weight: 800;
    text-align: center;
    margin-bottom: 28px;
    letter-spacing: 1.5px;
    color: #ffffff;
    text-transform: uppercase;
}

.steps-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
}

.step-card {
    background: rgba(10, 18, 40, 0.65);
    -webkit-backdrop-filter: var(--bg-glass-blur);
    backdrop-filter: var(--bg-glass-blur);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    padding: 26px;
    position: relative;
    overflow: hidden;
    transition: var(--transition-smooth);
}

.step-card:hover {
    border-color: rgba(56, 189, 248, 0.4);
    transform: translateY(-3px);
    box-shadow: var(--shadow-card-hover);
}

.step-num {
    position: absolute;
    top: 10px;
    right: 15px;
    font-family: var(--font-heading);
    font-size: 42px;
    font-weight: 900;
    color: rgba(255, 255, 255, 0.04);
}

.step-icon {
    font-size: 34px;
    margin-bottom: 14px;
    display: inline-block;
    filter: drop-shadow(0 0 8px var(--neon-cyan));
}

.step-card h3 {
    font-family: var(--font-heading);
    font-size: 17px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

.step-card p {
    font-size: 14px;
    color: var(--text-muted);
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 18px;
    margin-bottom: 40px;
}

.feat-box {
    background: rgba(10, 18, 40, 0.55);
    border: 1px solid rgba(56, 189, 248, 0.18);
    border-radius: 14px;
    padding: 20px;
    transition: var(--transition-smooth);
}

.feat-box:hover {
    border-color: var(--neon-cyan);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.15);
    transform: translateY(-2px);
}

.feat-icon {
    font-size: 26px;
    margin-bottom: 10px;
    display: block;
}

.feat-box h4 {
    font-family: var(--font-heading);
    font-size: 15px;
    font-weight: 800;
    color: var(--neon-cyan);
    margin-bottom: 6px;
}

.feat-box p {
    font-size: 13px;
    color: var(--text-muted);
}

/* ==========================================================================
   16. FOOTER SECTION
   ========================================================================== */
.footer {
    text-align: center;
    padding: 30px 20px;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    color: var(--text-muted);
    font-size: 14px;
    font-weight: 600;
    margin-top: 60px;
    background: rgba(3, 7, 18, 0.6);
}

.secure-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    font-family: var(--font-heading);
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 1px;
    color: #34d399;
    text-shadow: 0 0 8px rgba(52, 211, 153, 0.4);
}

/* ==========================================================================
   17. KEYFRAME ANIMATIONS & UTILITIES
   ========================================================================== */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(8px); }
    to { opacity: 1; transform: translateY(0); }
}

/* ==========================================================================
   18. RESPONSIVE BREAKPOINTS (MOBILE, TABLET & 4K)
   ========================================================================== */
@media (max-width: 1024px) {
    .metrics-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .admin-two-col {
        grid-template-columns: 1fr;
    }
    .features-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .telemetry-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    .navbar {
        padding: 12px 20px;
    }
    .brand-text .title {
        font-size: 17px;
    }
    .brand-text .subtitle {
        font-size: 9px;
    }
    .container, .admin-container {
        padding: 24px 16px;
    }
    .hero-title {
        font-size: 28px;
    }
    .maint-title {
        font-size: 28px;
    }
    .steps-grid {
        grid-template-columns: 1fr;
    }
    .metrics-grid {
        grid-template-columns: 1fr;
    }
    .table-header-bar {
        flex-direction: column;
        align-items: flex-start;
    }
    .th-right {
        width: 100%;
    }
    .search-input {
        width: 100%;
    }
    .telemetry-grid {
        grid-template-columns: 1fr;
    }
    .form-row-compact {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .navbar {
        padding: 10px 14px;
    }
    .status-badge {
        font-size: 9px;
        padding: 4px 8px;
    }
    .btn-admin-link {
        font-size: 10px;
        padding: 5px 10px;
    }
    .card, .glass-card {
        padding: 20px 16px;
    }
    .countdown-grid {
        gap: 8px;
    }
    .countdown-card {
        min-width: 70px;
        padding: 10px 12px;
    }
    .countdown-num {
        font-size: 26px;
    }
}

@media (min-width: 2000px) {
    .admin-container {
        max-width: 1700px;
    }
    .container {
        max-width: 1400px;
    }
}
