/* 🚀 Futuristic Website Base Styles - Complete Design System */

@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@400;700;900&family=Audiowide&family=Exo:wght@300;400;600&display=swap');

:root {
    /* Colors */
    --bg-primary: #0D1B2A;
    --bg-secondary: #415A77;
    --neon-cyan: #00FFF3;
    --neon-magenta: #FF00FF;
    --neon-lime: #BFFF00;
    --text-primary: #FFFFFF;
    --text-secondary: #B0BEC5;
    --glass-bg: rgba(13, 27, 42, 0.4);
    --glass-border: rgba(0, 255, 243, 0.3);
    
    /* Typography */
    --font-primary: 'Orbitron', monospace;
    --font-secondary: 'Exo', sans-serif;
    --font-accent: 'Audiowide', cursive;
    
    /* Spacing */
    --border-radius: 16px;
    --transition: all 0.3s ease;
    --glow: 0 0 20px rgba(0, 255, 243, 0.5);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

/* Custom Scrollbar */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(45deg, #00ffff, #ff00ff);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: linear-gradient(45deg, #00cccc, #cc00cc);
}

body {
    font-family: var(--font-secondary);
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
    position: relative;
    background: transparent;
}

/* Ensure all content is above the background */
.content-wrapper {
    position: relative;
    z-index: 10;
}

/* 🎨 Futuristic Forms */
.form-container {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 100vh;
    padding: 40px 20px;
}

.futuristic-form {
    width: 100%;
    max-width: 500px;
    background: rgba(0, 0, 20, 0.7);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: var(--border-radius);
    padding: 40px;
    box-shadow: 
        0 0 20px rgba(0, 255, 255, 0.2),
        0 0 60px rgba(0, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
    z-index: 1;
}

.futuristic-form::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        linear-gradient(45deg, transparent 48%, rgba(0, 255, 255, 0.1) 50%, transparent 52%),
        linear-gradient(135deg, transparent 48%, rgba(0, 255, 255, 0.1) 50%, transparent 52%);
    background-size: 4px 4px;
    z-index: -1;
}

/* Form Groups */
.form-group {
    margin-bottom: 25px;
    position: relative;
}

.form-label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon-cyan);
    font-weight: 600;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.form-input {
    width: 100%;
    padding: 15px;
    background: rgba(0, 0, 20, 0.5);
    border: 1px solid rgba(0, 255, 255, 0.3);
    border-radius: 8px;
    color: #ffffff;
    font-size: 1rem;
    transition: var(--transition);
}

.form-input:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.form-input::placeholder {
    color: #606060;
}

/* Form Button */
.form-button {
    width: 100%;
    padding: 15px;
    background: linear-gradient(45deg, #00c6ff, #0072ff);
    border: none;
    border-radius: 8px;
    color: white;
    font-family: var(--font-primary);
    font-size: 1rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
}

.form-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
    transition: var(--transition);
}

.form-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(0, 114, 255, 0.3);
}

.form-button:hover::before {
    left: 100%;
    transition: 0.7s;
}

/* 🎯 Dashboard Cards */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 25px;
    margin-bottom: 40px;
}

.dashboard-card {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.dashboard-card::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, #00ffff, #ff00ff, #00ffff);
    border-radius: 22px;
    z-index: -1;
    animation: borderPulse 3s ease-in-out infinite;
    opacity: 0.3;
}

@keyframes borderPulse {
    0%, 100% { opacity: 0.2; }
    50% { opacity: 0.5; }
}

.dashboard-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(0, 255, 255, 0.2);
}

.card-icon {
    font-size: 2.5em;
    margin-bottom: 18px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.card-title {
    font-family: var(--font-primary);
    font-size: 1.3em;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 12px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.card-description {
    color: rgba(0, 255, 255, 0.8);
    font-size: 0.9em;
    line-height: 1.5;
    margin-bottom: 18px;
}

.card-action {
    background: linear-gradient(45deg, #ff00ff, #00ffff);
    border: none;
    padding: 10px 20px;
    border-radius: 12px;
    color: #000000;
    font-family: var(--font-primary);
    font-weight: 600;
    font-size: 0.8em;
    text-transform: uppercase;
    letter-spacing: 1px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
}

.card-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(0, 255, 255, 0.4);
    color: #000000;
    text-decoration: none;
}

/* 🎨 Content Sections */
.section-content {
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 255, 0.3);
    border-radius: 15px;
    padding: 25px;
    margin-bottom: 25px;
}

.section-title {
    font-family: var(--font-primary);
    font-size: 1.8em;
    font-weight: 700;
    color: #00ffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-align: center;
}

.section-description {
    color: rgba(0, 255, 255, 0.8);
    font-size: 1em;
    line-height: 1.5;
    margin-bottom: 25px;
    text-align: center;
}

/* 🔘 Futuristic Buttons */
.futuristic-btn {
    border: none;
    padding: 12px 30px;
    border-radius: var(--border-radius);
    font-family: var(--font-primary);
    font-weight: 700;
    font-size: 1em;
    text-transform: uppercase;
    letter-spacing: 2px;
    cursor: pointer;
    transition: var(--transition);
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-flex !important;
    align-items: center;
    justify-content: center;
    white-space: nowrap;
    height: 44px !important;
    min-height: 44px !important;
    box-sizing: border-box;
}

.futuristic-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.3), transparent);
    transition: left 0.5s;
}

.futuristic-btn:hover::before {
    left: 100%;
}

.futuristic-btn:hover {
    transform: translateY(-3px);
}

/* 🌟 Info Cards */
.info-card {
    background: rgba(0, 0, 0, 0.6);
    backdrop-filter: blur(20px);
    border: 2px solid rgba(0, 255, 255, 0.2);
    border-radius: 20px;
    padding: 30px;
    text-align: center;
    transition: all 0.3s ease;
}

.info-card:hover {
    border-color: rgba(0, 255, 255, 0.4);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 255, 255, 0.2);
}

.info-icon {
    font-size: 3em;
    margin-bottom: 20px;
    text-shadow: 0 0 20px rgba(0, 255, 255, 0.6);
}

.info-card h3 {
    font-family: var(--font-primary);
    font-size: 1.3em;
    color: #00ffff;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.info-card p {
    color: rgba(0, 255, 255, 0.8);
    font-size: 1em;
    line-height: 1.6;
}

/* 📱 Responsive Design */
@media (max-width: 768px) {
    .dashboard-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .futuristic-form {
        margin: 20px;
        padding: 30px;
    }
    
    .section-title {
        font-size: 1.5em;
    }
    
    .card-title {
        font-size: 1.1em;
    }
}

@media (max-width: 480px) {
    .futuristic-form {
        margin: 10px;
        padding: 20px;
    }
    
    .section-title {
        font-size: 1.3em;
    }
    
    .dashboard-card {
        padding: 20px;
    }
    
    .info-card {
        padding: 20px;
    }
}

/* 🎭 Animation Classes */
.fade-in {
    animation: fadeIn 0.5s ease;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.glow-effect {
    text-shadow: 0 0 10px currentColor;
}

.pulse-animation {
    animation: pulse 2s ease-in-out infinite;
}

/* 🚀 Page Loading Animation */
.page-loader {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 9999;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.page-loader.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loader-text {
    font-family: var(--font-primary);
    font-size: 1.5em;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 3px;
    animation: pulse 1.5s ease-in-out infinite;
}
