/* ==========================================================================
   FUTURISTIC SIGNUP EXPERIENCE - REHMAN TOOLS
   ========================================================================== */

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary: #00ffea;
    --primary-glow: rgba(0, 255, 234, 0.6);
    --secondary: #ff00ff;
    --accent: #00ff9d;
    --danger: #ff4757;
    --warning: #ffd166;
    --success: #00ff9d;
    
    --bg-dark: #0a0e17;
    --bg-darker: #050811;
    --bg-card: rgba(20, 25, 40, 0.85);
    --bg-glass: rgba(255, 255, 255, 0.05);
    
    --text-primary: #ffffff;
    --text-secondary: #8892b0;
    --text-glow: rgba(255, 255, 255, 0.8);
    
    --border-glow: rgba(0, 255, 234, 0.3);
    --shadow-glow: 0 0 30px rgba(0, 255, 234, 0.3);
    
    --font-title: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
}

body {
    font-family: var(--font-body);
    background: var(--bg-darker);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Cinematic Loader */
.cinematic-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-darker);
    z-index: 9999;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.cinematic-loader.hidden {
    opacity: 0;
    pointer-events: none;
}

.loader-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(0, 255, 234, 0.1) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(0, 255, 234, 0.1) 50%, transparent 51%);
    background-size: 50px 50px;
    animation: gridMove 20s linear infinite;
}

.loader-text {
    font-family: var(--font-title);
    font-size: 2.5rem;
    letter-spacing: 0.5em;
    margin-bottom: 2rem;
    display: flex;
    gap: 0.2em;
}

.loader-char {
    display: inline-block;
    animation: charGlow 2s ease-in-out infinite;
    animation-delay: calc(var(--i) * 0.1s);
}

.progress-bar {
    width: 300px;
    height: 2px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 1px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    animation: progressLoad 2s ease-in-out;
}

/* Universe Background */
.universe-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
}

.particles-layer {
    position: absolute;
    width: 100%;
    height: 100%;
}

.particle {
    position: absolute;
    background: var(--primary);
    border-radius: 50%;
    pointer-events: none;
    filter: blur(1px);
    animation: particleFloat 20s linear infinite;
}

.energy-grid {
    position: absolute;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(90deg, transparent 49%, rgba(0, 255, 234, 0.03) 50%, transparent 51%),
        linear-gradient(transparent 49%, rgba(0, 255, 234, 0.03) 50%, transparent 51%);
    background-size: 100px 100px;
    animation: gridPulse 4s ease-in-out infinite;
}

.nebula-layer {
    position: absolute;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle at 30% 30%, rgba(255, 0, 255, 0.05) 0%, transparent 50%),
                radial-gradient(circle at 70% 70%, rgba(0, 255, 234, 0.05) 0%, transparent 50%);
    animation: nebulaFloat 40s linear infinite;
}

.light-orbs {
    position: absolute;
    width: 100%;
    height: 100%;
}

.light-orb {
    position: absolute;
    border-radius: 50%;
    filter: blur(40px);
    opacity: 0.3;
    animation: orbFloat 30s ease-in-out infinite;
}

.orb-1 {
    width: 300px;
    height: 300px;
    background: var(--primary);
    top: 10%;
    left: 10%;
    animation-delay: 0s;
}

.orb-2 {
    width: 200px;
    height: 200px;
    background: var(--secondary);
    top: 60%;
    left: 80%;
    animation-delay: 10s;
}

.orb-3 {
    width: 150px;
    height: 150px;
    background: var(--accent);
    top: 80%;
    left: 20%;
    animation-delay: 20s;
}

.scan-line {
    position: absolute;
    width: 100%;
    height: 1px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    top: 0;
    filter: drop-shadow(0 0 10px var(--primary));
    animation: scan 5s linear infinite;
}

/* Cyber Container */
.cyber-container {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 2rem;
    position: relative;
}

/* HUD Container */
.hud-container {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    flex-wrap: wrap;
    justify-content: center;
}

.hud-item {
    background: rgba(0, 0, 0, 0.5);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 8px;
    padding: 1rem 1.5rem;
    min-width: 150px;
    position: relative;
    overflow: hidden;
}

.hud-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.1), transparent);
    animation: hudScan 3s linear infinite;
}

.hud-label {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.hud-value {
    font-family: var(--font-title);
    font-size: 1.2rem;
    font-weight: 700;
    position: relative;
}

.hud-value::after {
    content: '';
    position: absolute;
    right: -10px;
    top: 50%;
    transform: translateY(-50%);
    width: 6px;
    height: 6px;
    border-radius: 50%;
    animation: statusPulse 2s ease-in-out infinite;
}

.hud-value.online::after { background: var(--success); }
.hud-value.active::after { background: var(--primary); }
.hud-value.secure::after { background: var(--accent); }

/* Cyber Card */
.cyber-card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    border-radius: 20px;
    padding: 3px;
    position: relative;
    max-width: 500px;
    width: 100%;
    animation: cardEntrance 1s ease-out;
    box-shadow: 
        0 20px 60px rgba(0, 0, 0, 0.5),
        inset 0 0 0 1px rgba(255, 255, 255, 0.1);
}

.card-border {
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 22px;
    overflow: hidden;
    pointer-events: none;
    z-index: 1;
}

.border-glow {
    position: absolute;
    width: 100%;
    height: 100%;
    background: conic-gradient(from 0deg, transparent, var(--primary), var(--secondary), var(--primary), transparent);
    animation: borderRotate 4s linear infinite;
    opacity: 0.3;
}

.border-scan {
    position: absolute;
    width: 100%;
    height: 2px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    top: 0;
    animation: borderScan 3s linear infinite;
    filter: drop-shadow(0 0 10px var(--primary));
}

.card-inner {
    background: rgba(10, 14, 23, 0.9);
    border-radius: 18px;
    padding: 2.5rem;
    position: relative;
    z-index: 2;
}

/* Panel Header */
.panel-header {
    display: flex;
    align-items: center;
    margin-bottom: 2.5rem;
    gap: 1.5rem;
    flex-wrap: wrap;
}

.logo-hologram {
    position: relative;
    width: 60px;
    height: 60px;
}

.logo-glow {
    width: 100%;
    height: 100%;
    filter: drop-shadow(0 0 15px var(--primary));
    animation: logoFloat 6s ease-in-out infinite;
}

.hologram-effect {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.2;
    filter: blur(20px);
    animation: hologramPulse 3s ease-in-out infinite;
}

.header-text {
    flex: 1;
    min-width: 200px;
}

.cyber-title {
    font-family: var(--font-title);
    font-size: 1.8rem;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 0.5rem;
    letter-spacing: 0.1em;
}

.cyber-subtitle {
    color: var(--text-secondary);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
}

.header-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: rgba(0, 255, 234, 0.1);
    border-radius: 4px;
    border: 1px solid rgba(0, 255, 234, 0.2);
}

.status-led {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    animation: ledPulse 1.5s ease-in-out infinite;
}

.status-text {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--primary);
}

/* Input Fields */
.input-container {
    margin-bottom: 1.5rem;
    position: relative;
}

.input-field {
    position: relative;
}

.cyber-input {
    width: 100%;
    padding: 1.2rem 1rem 0.5rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(0, 255, 234, 0.1);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-body);
    font-size: 1rem;
    transition: all 0.3s ease;
    position: relative;
    z-index: 2;
}

.cyber-input:focus {
    outline: none;
    border-color: var(--primary);
    box-shadow: 0 0 20px rgba(0, 255, 234, 0.2);
    background: rgba(255, 255, 255, 0.08);
}

.cyber-input:focus + .cyber-label {
    transform: translateY(-150%);
    font-size: 0.8rem;
    color: var(--primary);
}

.cyber-input:not(:placeholder-shown) + .cyber-label {
    transform: translateY(-150%);
    font-size: 0.8rem;
}

.cyber-label {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: var(--text-secondary);
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: all 0.3s ease;
    z-index: 3;
    pointer-events: none;
}

.input-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.1), transparent);
    opacity: 0;
    border-radius: 8px;
    transition: opacity 0.3s ease;
    pointer-events: none;
}

.cyber-input:focus ~ .input-glow {
    opacity: 1;
    animation: inputGlow 2s linear infinite;
}

.input-underline {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, var(--primary), var(--secondary));
    border-radius: 2px;
    transition: width 0.3s ease;
}

.cyber-input:focus ~ .input-underline {
    width: 100%;
}

/* Password Field with AI Mascot */
.password-field {
    position: relative;
}

.ai-mascot-container {
    position: absolute;
    right: -100px;
    top: 50%;
    transform: translateY(-50%);
    width: 80px;
    height: 120px;
    z-index: 10;
}

.mascot-body {
    width: 100%;
    height: 100%;
    position: relative;
    animation: mascotFloat 6s ease-in-out infinite;
}

.mascot-head {
    width: 40px;
    height: 40px;
    background: var(--primary);
    border-radius: 50% 50% 40% 40%;
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    overflow: hidden;
}

.mascot-antenna {
    position: absolute;
    top: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 10px;
    background: var(--primary);
    border-radius: 2px;
}

.mascot-face {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 60%;
    height: 60%;
}

.eye {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #000;
    border-radius: 50%;
    top: 30%;
}

.left-eye {
    left: 15%;
}

.right-eye {
    right: 15%;
}

.pupil {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.eye-glow {
    position: absolute;
    width: 12px;
    height: 12px;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.3;
    filter: blur(4px);
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
}

.mouth {
    position: absolute;
    bottom: 20%;
    left: 50%;
    transform: translateX(-50%);
    width: 12px;
    height: 2px;
    background: #000;
    border-radius: 1px;
    transition: all 0.3s ease;
}

.mascot-torso {
    position: absolute;
    top: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 60px;
    background: var(--primary);
    border-radius: 10px;
    overflow: hidden;
}

.mascot-screen {
    position: absolute;
    top: 5px;
    left: 5px;
    right: 5px;
    bottom: 5px;
    background: rgba(0, 0, 0, 0.8);
    border-radius: 5px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--font-title);
    font-size: 0.6rem;
    color: var(--primary);
    text-align: center;
    padding: 0.2rem;
}

.mascot-base {
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 20px;
    background: var(--primary);
    border-radius: 5px 5px 10px 10px;
}

.mascot-glow {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120%;
    height: 120%;
    background: var(--primary);
    border-radius: 50%;
    opacity: 0.1;
    filter: blur(20px);
    animation: mascotGlow 3s ease-in-out infinite;
}

.password-toggle {
    position: absolute;
    right: 10px;
    top: 50%;
    transform: translateY(-50%);
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1rem;
    cursor: pointer;
    width: 30px;
    height: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    z-index: 3;
}

.password-toggle:hover {
    color: var(--primary);
    background: rgba(0, 255, 234, 0.1);
}

.toggle-ripple {
    position: absolute;
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: var(--primary);
    opacity: 0;
    pointer-events: none;
}

/* Strength Analyzer */
.strength-analyzer {
    margin-top: 1rem;
    background: rgba(0, 0, 0, 0.3);
    border-radius: 8px;
    padding: 1rem;
    border: 1px solid rgba(0, 255, 234, 0.1);
}

.analyzer-header {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--primary);
}

.ai-status {
    margin-left: auto;
    font-size: 0.8rem;
    color: var(--accent);
    animation: statusPulse 2s ease-in-out infinite;
}

.strength-meter {
    position: relative;
}

.meter-track {
    height: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 4px;
    overflow: hidden;
    position: relative;
    margin-bottom: 0.5rem;
}

.meter-fill {
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, var(--danger), var(--warning), var(--success));
    border-radius: 4px;
    transition: width 0.5s ease, background 0.5s ease;
    position: relative;
    z-index: 1;
}

.meter-glow {
    position: absolute;
    top: 0;
    left: 0;
    height: 100%;
    width: 0%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    animation: meterGlow 2s linear infinite;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.meter-segments {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    display: flex;
    justify-content: space-between;
    padding: 0 2px;
}

.segment {
    width: 2px;
    height: 100%;
    background: rgba(255, 255, 255, 0.2);
}

.strength-text {
    font-family: var(--font-title);
    font-size: 0.8rem;
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    transition: color 0.3s ease;
}

.strength-details {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    font-size: 0.7rem;
}

.detail {
    display: flex;
    align-items: center;
    gap: 0.2rem;
    color: var(--text-secondary);
}

.detail i {
    font-size: 0.6rem;
    transition: color 0.3s ease;
}

.detail.valid {
    color: var(--success);
}

/* Error Messages */
.error-message {
    color: var(--danger);
    font-size: 0.8rem;
    margin-top: 0.5rem;
    padding-left: 0.5rem;
    opacity: 0;
    transform: translateY(-10px);
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.error-message.show {
    opacity: 1;
    transform: translateY(0);
}

.input-field.error .cyber-input {
    border-color: var(--danger);
    animation: errorShake 0.5s ease;
}

.input-field.valid .cyber-input {
    border-color: var(--success);
}

.input-field.valid .cyber-label {
    color: var(--success);
}

/* Cyber Button */
.cyber-button {
    width: 100%;
    padding: 1.2rem;
    background: linear-gradient(135deg, rgba(0, 255, 234, 0.1), rgba(255, 0, 255, 0.1));
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 8px;
    color: var(--text-primary);
    font-family: var(--font-title);
    font-size: 1rem;
    letter-spacing: 0.1em;
    cursor: pointer;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
    margin-top: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
}

.cyber-button:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 10px 30px rgba(0, 255, 234, 0.3),
        inset 0 0 20px rgba(0, 255, 234, 0.1);
}

.cyber-button:hover .button-energy {
    animation: energySweep 1.5s linear infinite;
}

.button-glow {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-button:hover .button-glow {
    opacity: 0.3;
    animation: buttonGlow 2s linear infinite;
}

.button-energy {
    position: absolute;
    top: -2px;
    left: -100%;
    width: 50%;
    height: calc(100% + 4px);
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    transform: skewX(-20deg);
    opacity: 0;
}

.button-content {
    position: relative;
    z-index: 2;
    display: flex;
    align-items: center;
    gap: 0.8rem;
}

.button-loader {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.cyber-button.loading .button-content {
    opacity: 0;
}

.cyber-button.loading .button-loader {
    opacity: 1;
}

.loader-ring {
    width: 24px;
    height: 24px;
    border: 3px solid transparent;
    border-top-color: var(--primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

/* Terms */
.terms-container {
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 8px;
}

.cyber-checkbox {
    display: flex;
    align-items: center;
    gap: 0.8rem;
    cursor: pointer;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.checkbox-check {
    width: 18px;
    height: 18px;
    border: 2px solid var(--primary);
    border-radius: 4px;
    position: relative;
    transition: all 0.3s ease;
}

.cyber-checkbox input:checked + .checkbox-check {
    background: var(--primary);
}

.cyber-checkbox input:checked + .checkbox-check::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: #000;
    font-weight: bold;
}

.cyber-link {
    color: var(--primary);
    text-decoration: none;
    transition: all 0.3s ease;
}

.cyber-link:hover {
    text-shadow: 0 0 10px var(--primary);
}

/* Cyber Navigation */
.cyber-nav {
    display: flex;
    justify-content: space-between;
    margin-top: 2rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-link {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: var(--text-secondary);
    text-decoration: none;
    font-family: var(--font-title);
    font-size: 0.9rem;
    letter-spacing: 0.05em;
    padding: 0.8rem 1.2rem;
    border-radius: 6px;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.nav-link:hover {
    color: var(--primary);
    background: rgba(0, 255, 234, 0.1);
}

.nav-glow {
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(0, 255, 234, 0.1), transparent);
    transition: left 0.5s ease;
}

.nav-link:hover .nav-glow {
    left: 100%;
    animation: navGlow 1s ease;
}

/* System Console */
.system-console {
    margin-top: 2rem;
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 0, 0.5);
    border-radius: 8px;
    border: 1px solid rgba(0, 255, 234, 0.1);
    overflow: hidden;
}

.console-header {
    background: rgba(0, 0, 0, 0.7);
    padding: 0.8rem 1rem;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--primary);
    border-bottom: 1px solid rgba(0, 255, 234, 0.1);
}

.console-output {
    padding: 1rem;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--text-secondary);
    max-height: 150px;
    overflow-y: auto;
}

.log-entry {
    margin-bottom: 0.5rem;
    animation: logEntry 0.5s ease;
}

/* Toast Messages */
.cyber-toast {
    position: fixed;
    bottom: 2rem;
    right: 2rem;
    background: rgba(20, 25, 40, 0.95);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 234, 0.2);
    border-radius: 8px;
    padding: 1rem;
    max-width: 300px;
    display: flex;
    align-items: center;
    gap: 1rem;
    transform: translateX(400px);
    transition: transform 0.5s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    z-index: 1000;
}

.cyber-toast.show {
    transform: translateX(0);
}

.toast-icon {
    font-size: 1.5rem;
    color: var(--primary);
}

.toast-content {
    flex: 1;
}

.toast-title {
    font-family: var(--font-title);
    font-size: 0.9rem;
    color: var(--primary);
    margin-bottom: 0.2rem;
}

.toast-text {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.toast-progress {
    position: absolute;
    bottom: 0;
    left: 0;
    height: 2px;
    width: 100%;
    background: var(--primary);
    transform: scaleX(0);
    transform-origin: left;
    animation: toastProgress 5s linear forwards;
}

/* Success Animation */
.success-animation {
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0);
    z-index: 2000;
    pointer-events: none;
    opacity: 0;
    transition: all 0.5s ease;
}

.success-animation.show {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

.success-particles {
    position: absolute;
    width: 300px;
    height: 300px;
    animation: successParticles 2s ease-out;
}

.success-ring {
    width: 200px;
    height: 200px;
    border: 4px solid transparent;
    border-top-color: var(--success);
    border-radius: 50%;
    animation: successRing 1.5s ease-out;
}

.success-check {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 4rem;
    color: var(--success);
    animation: successCheck 1s ease-out 0.5s both;
}

.success-text {
    position: absolute;
    top: calc(50% + 120px);
    left: 50%;
    transform: translateX(-50%);
    font-family: var(--font-title);
    font-size: 1.5rem;
    color: var(--success);
    letter-spacing: 0.1em;
    animation: successText 1s ease-out 1s both;
}

/* Animations */
@keyframes charGlow {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 1; text-shadow: 0 0 10px var(--primary); }
}

@keyframes progressLoad {
    0% { width: 0%; }
    100% { width: 100%; }
}

@keyframes gridMove {
    0% { transform: translate(0, 0); }
    100% { transform: translate(50px, 50px); }
}

@keyframes particleFloat {
    0% { transform: translateY(0) rotate(0deg); opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { transform: translateY(-100vh) rotate(360deg); opacity: 0; }
}

@keyframes gridPulse {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.5; }
}

@keyframes nebulaFloat {
    0% { transform: translate(0, 0) rotate(0deg); }
    100% { transform: translate(-50%, -50%) rotate(360deg); }
}

@keyframes orbFloat {
    0%, 100% { transform: translate(0, 0) scale(1); }
    25% { transform: translate(100px, 50px) scale(1.2); }
    50% { transform: translate(50px, -50px) scale(0.8); }
    75% { transform: translate(-100px, 50px) scale(1.1); }
}

@keyframes scan {
    0% { top: 0; }
    100% { top: 100%; }
}

@keyframes hudScan {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes statusPulse {
    0%, 100% { opacity: 0.5; transform: scale(1); }
    50% { opacity: 1; transform: scale(1.2); }
}

@keyframes cardEntrance {
    0% { opacity: 0; transform: translateY(50px) scale(0.9); }
    100% { opacity: 1; transform: translateY(0) scale(1); }
}

@keyframes borderRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes borderScan {
    0% { top: 0; }
    100% { top: 100%; }
}

@keyframes logoFloat {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-10px); }
}

@keyframes hologramPulse {
    0%, 100% { opacity: 0.1; transform: scale(1); }
    50% { opacity: 0.3; transform: scale(1.1); }
}

@keyframes ledPulse {
    0%, 100% { opacity: 0.5; box-shadow: 0 0 5px var(--primary); }
    50% { opacity: 1; box-shadow: 0 0 15px var(--primary); }
}

@keyframes inputGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes mascotFloat {
    0%, 100% { transform: translateY(-50%); }
    50% { transform: translateY(-55%); }
}

@keyframes mascotGlow {
    0%, 100% { opacity: 0.05; }
    50% { opacity: 0.15; }
}

@keyframes meterGlow {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

@keyframes errorShake {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-10px); }
    75% { transform: translateX(10px); }
}

@keyframes energySweep {
    0% { left: -100%; opacity: 0; }
    10% { opacity: 1; }
    90% { opacity: 1; }
    100% { left: 100%; opacity: 0; }
}

@keyframes buttonGlow {
    0% { transform: translateX(-100%) skewX(-20deg); }
    100% { transform: translateX(200%) skewX(-20deg); }
}

@keyframes navGlow {
    0% { left: -100%; }
    100% { left: 100%; }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes logEntry {
    0% { opacity: 0; transform: translateX(-10px); }
    100% { opacity: 1; transform: translateX(0); }
}

@keyframes toastProgress {
    0% { transform: scaleX(1); }
    100% { transform: scaleX(0); }
}

@keyframes successParticles {
    0% { transform: scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: scale(1); opacity: 0; }
}

@keyframes successRing {
    0% { transform: rotate(0deg) scale(0); opacity: 0; }
    50% { opacity: 1; }
    100% { transform: rotate(360deg) scale(1); opacity: 1; }
}

@keyframes successCheck {
    0% { transform: translate(-50%, -50%) scale(0); opacity: 0; }
    70% { transform: translate(-50%, -50%) scale(1.2); }
    100% { transform: translate(-50%, -50%) scale(1); opacity: 1; }
}

@keyframes successText {
    0% { opacity: 0; transform: translateX(-50%) translateY(20px); }
    100% { opacity: 1; transform: translateX(-50%) translateY(0); }
}

/* Responsive Design */
@media (max-width: 768px) {
    .cyber-container {
        padding: 1rem;
    }
    
    .cyber-card {
        max-width: 100%;
    }
    
    .card-inner {
        padding: 1.5rem;
    }
    
    .ai-mascot-container {
        position: relative;
        right: 0;
        top: 0;
        transform: none;
        width: 60px;
        height: 90px;
        margin: 1rem auto;
    }
    
    .hud-container {
        flex-direction: column;
        align-items: center;
        gap: 1rem;
    }
    
    .hud-item {
        min-width: 200px;
    }
    
    .cyber-nav {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .nav-link {
        justify-content: center;
    }
    
    .cyber-toast {
        left: 1rem;
        right: 1rem;
        max-width: none;
    }
}

@media (max-width: 480px) {
    .cyber-title {
        font-size: 1.5rem;
    }
    
    .cyber-subtitle {
        font-size: 0.8rem;
    }
    
    .panel-header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .header-status {
        margin-top: 0.5rem;
    }
}

/* Performance Optimizations */
@media (prefers-reduced-motion: reduce) {
    *,
    *::before,
    *::after {
        animation-duration: 0.01ms !important;
        animation-iteration-count: 1 !important;
        transition-duration: 0.01ms !important;
    }
}

/* Print Styles */
@media print {
    .universe-background,
    .cinematic-loader,
    .cyber-button,
    .success-animation,
    .cyber-toast {
        display: none !important;
    }
    
    body {
        background: white !important;
        color: black !important;
    }
    
    .cyber-card {
        box-shadow: none !important;
        border: 1px solid #ccc !important;
    }
}