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

:root {
    --bg-dark: #070b19;
    --bg-card: rgba(13, 20, 41, 0.55);
    --border-glow: rgba(0, 242, 254, 0.15);
    --border-glass: rgba(255, 255, 255, 0.08);
    
    --text-primary: #f8fafc;
    --text-secondary: #94a3b8;
    --text-muted: #64748b;
    
    --neon-cyan: #00f2fe;
    --neon-purple: #9d4edd;
    --neon-blue: #3b82f6;
    --neon-pink: #ff007f;
    --neon-green: #10b981;
    --neon-red: #ef4444;
    
    --gradient-primary: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-purple: linear-gradient(135deg, #7f00ff 0%, #ff007f 100%);
    --gradient-dark: linear-gradient(135deg, #0f172a 0%, #070b19 100%);
    --gradient-card: linear-gradient(135deg, rgba(20, 30, 60, 0.6) 0%, rgba(10, 15, 30, 0.8) 100%);
    
    --glow-cyan: 0 0 15px rgba(0, 242, 254, 0.35);
    --glow-purple: 0 0 15px rgba(157, 78, 221, 0.35);
    --shadow-soft: 0 15px 35px rgba(0, 0, 0, 0.4);
    
    --transition-fast: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
    --transition-normal: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* Global Reset & Futuristic Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', 'Segoe UI', sans-serif;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(at 10% 20%, rgba(157, 78, 221, 0.08) 0px, transparent 50%),
        radial-gradient(at 90% 80%, rgba(0, 242, 254, 0.08) 0px, transparent 50%);
    background-attachment: fixed;
    color: var(--text-primary);
    min-height: 100vh;
    line-height: 1.6;
}

h1, h2, h3, h4, h5, h6 {
    font-family: 'Rajdhani', sans-serif;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-primary);
}

/* Glassmorphism Card styling */
.glass-card {
    background: var(--bg-card);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--border-glass);
    border-radius: 16px;
    padding: 30px;
    box-shadow: var(--shadow-soft);
    position: relative;
    overflow: hidden;
    transition: var(--transition-normal);
}

.glass-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 50%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.05),
        transparent
    );
    transition: 0.5s;
}

.glass-card:hover::before {
    left: 150%;
}

.glass-card:hover {
    border-color: rgba(0, 242, 254, 0.25);
    box-shadow: 0 20px 40px rgba(0, 242, 254, 0.05), var(--shadow-soft);
}

/* Futuristic Inputs */
.futur-input {
    background: rgba(15, 23, 42, 0.6);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    color: var(--text-primary);
    padding: 14px 18px;
    font-size: 14px;
    width: 100%;
    transition: var(--transition-normal);
}

.futur-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 12px rgba(0, 242, 254, 0.25);
    background: rgba(15, 23, 42, 0.8);
}

.futur-input::placeholder {
    color: var(--text-muted);
}

/* Glowing Buttons */
.btn-glow {
    background: var(--gradient-primary);
    color: #070b19;
    font-weight: 700;
    font-family: 'Rajdhani', sans-serif;
    font-size: 16px;
    letter-spacing: 1px;
    text-transform: uppercase;
    border: none;
    border-radius: 10px;
    padding: 14px 28px;
    cursor: pointer;
    box-shadow: var(--glow-cyan);
    transition: var(--transition-normal);
    text-decoration: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-glow:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.btn-glow:active {
    transform: translateY(0);
}

.btn-glow-purple {
    background: var(--gradient-purple);
    color: white;
    box-shadow: var(--glow-purple);
}

.btn-glow-purple:hover {
    box-shadow: 0 0 25px rgba(157, 78, 221, 0.6);
}

.btn-glow-red {
    background: linear-gradient(135deg, #f87171, #ef4444);
    color: white;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
}

.btn-glow-red:hover {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.5);
}

/* Badges */
.badge-neon {
    padding: 5px 12px;
    border-radius: 6px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    border: 1px solid transparent;
    display: inline-block;
}

.badge-neon-cyan {
    background: rgba(0, 242, 254, 0.1);
    color: var(--neon-cyan);
    border-color: rgba(0, 242, 254, 0.2);
}

.badge-neon-purple {
    background: rgba(157, 78, 221, 0.1);
    color: var(--neon-purple);
    border-color: rgba(157, 78, 221, 0.2);
}

.badge-neon-pink {
    background: rgba(255, 0, 127, 0.1);
    color: var(--neon-pink);
    border-color: rgba(255, 0, 127, 0.2);
}

.badge-neon-green {
    background: rgba(16, 185, 129, 0.1);
    color: var(--neon-green);
    border-color: rgba(16, 185, 129, 0.2);
}

.badge-neon-red {
    background: rgba(239, 68, 68, 0.1);
    color: var(--neon-red);
    border-color: rgba(239, 68, 68, 0.2);
}

/* Tables styling */
.futur-table {
    width: 100%;
    border-collapse: separate;
    border-spacing: 0 8px;
    margin-top: 15px;
}

.futur-table th {
    background: transparent;
    border-bottom: 2px solid rgba(0, 242, 254, 0.2);
    color: var(--neon-cyan);
    font-family: 'Rajdhani', sans-serif;
    font-size: 15px;
    font-weight: 700;
    text-transform: uppercase;
    padding: 15px;
    letter-spacing: 0.5px;
}

.futur-table td {
    background: rgba(255, 255, 255, 0.02);
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    border-bottom: 1px solid rgba(255, 255, 255, 0.05);
    padding: 15px;
    transition: var(--transition-fast);
}

.futur-table tr td:first-child {
    border-left: 1px solid rgba(255, 255, 255, 0.05);
    border-top-left-radius: 8px;
    border-bottom-left-radius: 8px;
}

.futur-table tr td:last-child {
    border-right: 1px solid rgba(255, 255, 255, 0.05);
    border-top-right-radius: 8px;
    border-bottom-right-radius: 8px;
}

.futur-table tr:hover td {
    background: rgba(0, 242, 254, 0.04);
    border-color: rgba(0, 242, 254, 0.15);
    color: white;
}

/* Animations */
@keyframes pulseGlow {
    0% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
    50% { box-shadow: 0 0 25px rgba(0, 242, 254, 0.5); }
    100% { box-shadow: 0 0 15px rgba(0, 242, 254, 0.3); }
}

.glow-pulse {
    animation: pulseGlow 2s infinite ease-in-out;
}

/* Custom Neon Modal Styles */
.neon-modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(7, 11, 25, 0.85);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 99999;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.neon-modal-overlay.active {
    opacity: 1;
}

.neon-modal-card {
    background: var(--bg-card);
    border: 1px solid var(--border-glass);
    border-radius: 20px;
    padding: 35px 30px;
    width: 90%;
    max-width: 450px;
    box-shadow: var(--shadow-soft), 0 0 30px rgba(0, 242, 254, 0.15);
    text-align: center;
    transform: translateY(-50px) scale(0.9);
    transition: transform 0.3s cubic-bezier(0.34, 1.56, 0.64, 1);
    position: relative;
    overflow: hidden;
}

.neon-modal-overlay.active .neon-modal-card {
    transform: translateY(0) scale(1);
}

.neon-modal-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 4px;
    background: var(--gradient-primary);
}

.neon-modal-card.error::before {
    background: linear-gradient(135deg, #ef4444 0%, #ff007f 100%);
}

.neon-modal-card.warning::before {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
}

.neon-modal-icon {
    font-size: 48px;
    margin-bottom: 20px;
    display: inline-block;
    filter: drop-shadow(0 0 10px rgba(0, 242, 254, 0.3));
}

.neon-modal-card.error .neon-modal-icon {
    filter: drop-shadow(0 0 10px rgba(239, 68, 68, 0.3));
}

.neon-modal-title {
    font-family: 'Rajdhani', sans-serif;
    font-size: 22px;
    font-weight: 700;
    margin-bottom: 12px;
    color: var(--text-primary);
}

.neon-modal-message {
    color: var(--text-secondary);
    font-size: 15px;
    line-height: 1.6;
    margin-bottom: 25px;
}

.neon-modal-btn {
    background: var(--gradient-primary);
    color: #070b19;
    border: none;
    padding: 12px 30px;
    border-radius: 10px;
    font-size: 14px;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition-fast);
    box-shadow: var(--glow-cyan);
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

.neon-modal-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 0 25px rgba(0, 242, 254, 0.6);
}

.neon-modal-card.error .neon-modal-btn {
    background: linear-gradient(135deg, #ef4444 0%, #ff007f 100%);
    color: white;
    box-shadow: 0 0 15px rgba(239, 68, 68, 0.35);
}

.neon-modal-card.error .neon-modal-btn:hover {
    box-shadow: 0 0 25px rgba(239, 68, 68, 0.6);
}

.neon-modal-card.warning .neon-modal-btn {
    background: linear-gradient(135deg, #f59e0b 0%, #eab308 100%);
    color: #070b19;
    box-shadow: 0 0 15px rgba(245, 158, 11, 0.35);
}

.neon-modal-card.warning .neon-modal-btn:hover {
    box-shadow: 0 0 25px rgba(245, 158, 11, 0.6);
}
