/**
 * GHOSTMIX AI - Main Stylesheet
 * Neon cyberpunk theme with dark background
 */

/* CSS Variables for Neon Colors */
:root {
    --neon-blue: #00d4ff;
    --neon-cyan: #00ffff;
    --neon-pink: #ff00ff;
    --neon-purple: #9d00ff;
    --neon-magenta: #ff006e;
    --dark-bg: #0a0a1a;
    --dark-bg-secondary: #13132b;
    --dark-bg-tertiary: #1a1a3e;
    --text-primary: #ffffff;
    --text-secondary: #b0b0d0;
    --border-radius: 15px;
}

/* Global Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    background: url('../../images/Image4.png') center center / cover no-repeat fixed;
    color: var(--text-primary);
    min-height: 100vh;
    overflow-x: hidden;
    position: relative;
}

/* Dark overlay for better text readability */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(10, 10, 26, 0.7);
    z-index: -1;
}

@keyframes bgShift {
    0%, 100% { opacity: 0.3; }
    50% { opacity: 0.6; }
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 20px;
}

/* Neon Text Effects */
.neon-text {
    text-shadow: 
        0 0 10px var(--neon-blue),
        0 0 20px var(--neon-blue),
        0 0 30px var(--neon-blue),
        0 0 40px var(--neon-cyan);
    animation: neonPulse 2s ease-in-out infinite;
}

.neon-text-pink {
    text-shadow: 
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink),
        0 0 30px var(--neon-magenta);
}

@keyframes neonPulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Header */
header {
    padding: 20px 0;
    border-bottom: 2px solid rgba(0, 212, 255, 0.3);
    background: rgba(10, 10, 26, 0.8);
    backdrop-filter: blur(10px);
    position: sticky;
    top: 0;
    z-index: 1000;
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 20px;
}

.logo {
    font-size: 2.5rem;
    font-weight: bold;
    background: linear-gradient(90deg, var(--neon-cyan), var(--neon-pink));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    letter-spacing: 2px;
}

/* Navigation */
.nav-menu {
    display: flex;
    gap: 5px;
    list-style: none;
    align-items: center;
}

.nav-menu li {
    margin: 0;
}

.nav-menu a {
    color: var(--text-primary);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 600;
    transition: all 0.3s ease;
    position: relative;
    padding: 10px 15px;
    white-space: nowrap;
    display: block;
    background: rgba(19, 19, 43, 0.4);
    border: 1px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.nav-menu a:hover {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 15px rgba(0, 212, 255, 0.4);
    text-shadow: 0 0 10px var(--neon-cyan);
    transform: translateY(-2px);
}

/* User Profile Icon */
.user-profile {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    border: 2px solid var(--neon-pink);
    box-shadow: 0 0 20px var(--neon-pink);
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    background: var(--dark-bg-secondary);
}

.user-profile:hover {
    transform: scale(1.1);
    box-shadow: 0 0 30px var(--neon-pink);
}

.user-profile svg {
    width: 30px;
    height: 30px;
    fill: var(--neon-pink);
}

/* Hamburger Menu */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    cursor: pointer;
    padding: 10px;
}

.hamburger span {
    width: 30px;
    height: 3px;
    background: var(--neon-cyan);
    box-shadow: 0 0 10px var(--neon-cyan);
    transition: all 0.3s ease;
}

/* Neon Border Box */
.neon-box {
    background: rgba(19, 19, 43, 0.6);
    border: 2px solid var(--neon-blue);
    border-radius: var(--border-radius);
    padding: 30px;
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.3),
        inset 0 0 20px rgba(0, 212, 255, 0.1);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.neon-box:hover {
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.5),
        inset 0 0 30px rgba(0, 212, 255, 0.15);
    transform: translateY(-5px);
}

.neon-box-pink {
    border-color: var(--neon-pink);
    box-shadow: 
        0 0 20px rgba(255, 0, 255, 0.3),
        inset 0 0 20px rgba(255, 0, 255, 0.1);
}

.neon-box-pink:hover {
    box-shadow: 
        0 0 30px rgba(255, 0, 255, 0.5),
        inset 0 0 30px rgba(255, 0, 255, 0.15);
}

.neon-box-purple {
    border-color: var(--neon-purple);
    box-shadow: 
        0 0 20px rgba(157, 0, 255, 0.3),
        inset 0 0 20px rgba(157, 0, 255, 0.1);
}

.neon-box-purple:hover {
    box-shadow: 
        0 0 30px rgba(157, 0, 255, 0.5),
        inset 0 0 30px rgba(157, 0, 255, 0.15);
}

/* Buttons */
.btn {
    padding: 12px 30px;
    border: 2px solid var(--neon-cyan);
    background: transparent;
    color: var(--neon-cyan);
    font-size: 1rem;
    font-weight: bold;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    box-shadow: 0 0 20px rgba(0, 255, 255, 0.3);
    text-decoration: none;
    display: inline-block;
}

.btn:hover {
    background: var(--neon-cyan);
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(0, 255, 255, 0.6);
    transform: translateY(-2px);
}

.btn-pink {
    border-color: var(--neon-pink);
    color: var(--neon-pink);
    box-shadow: 0 0 20px rgba(255, 0, 255, 0.3);
}

.btn-pink:hover {
    background: var(--neon-pink);
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(255, 0, 255, 0.6);
}

.btn-purple {
    border-color: var(--neon-purple);
    color: var(--neon-purple);
    box-shadow: 0 0 20px rgba(157, 0, 255, 0.3);
}

.btn-purple:hover {
    background: var(--neon-purple);
    color: var(--dark-bg);
    box-shadow: 0 0 30px rgba(157, 0, 255, 0.6);
}

/* Form Elements */
.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: var(--neon-cyan);
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 1px;
}

.form-control {
    width: 100%;
    padding: 12px 15px;
    background: rgba(19, 19, 43, 0.6);
    border: 2px solid rgba(0, 212, 255, 0.3);
    border-radius: 8px;
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-control:focus {
    outline: none;
    border-color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Dashboard Grid */
.dashboard-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 30px;
}

/* Card Styles */
.card {
    background: rgba(19, 19, 43, 0.6);
    border: 2px solid var(--neon-blue);
    border-radius: var(--border-radius);
    padding: 25px;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: linear-gradient(
        45deg,
        transparent,
        rgba(0, 212, 255, 0.1),
        transparent
    );
    transform: rotate(45deg);
    transition: all 0.5s ease;
}

.card:hover::before {
    left: 100%;
}

.card:hover {
    transform: translateY(-10px);
    box-shadow: 0 0 40px rgba(0, 212, 255, 0.4);
}

.card-title {
    font-size: 1.5rem;
    margin-bottom: 15px;
    color: var(--neon-cyan);
    text-transform: uppercase;
    letter-spacing: 2px;
}

.card-content {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Waveform Animation */
.waveform {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 3px;
    height: 100px;
    margin: 20px 0;
}

.waveform-bar {
    width: 4px;
    background: linear-gradient(to top, var(--neon-pink), var(--neon-cyan));
    border-radius: 2px;
    animation: waveAnimation 1s ease-in-out infinite;
}

.waveform-bar:nth-child(1) { animation-delay: 0s; height: 20%; }
.waveform-bar:nth-child(2) { animation-delay: 0.1s; height: 40%; }
.waveform-bar:nth-child(3) { animation-delay: 0.2s; height: 60%; }
.waveform-bar:nth-child(4) { animation-delay: 0.3s; height: 80%; }
.waveform-bar:nth-child(5) { animation-delay: 0.4s; height: 100%; }
.waveform-bar:nth-child(6) { animation-delay: 0.5s; height: 80%; }
.waveform-bar:nth-child(7) { animation-delay: 0.6s; height: 60%; }
.waveform-bar:nth-child(8) { animation-delay: 0.7s; height: 40%; }
.waveform-bar:nth-child(9) { animation-delay: 0.8s; height: 20%; }

@keyframes waveAnimation {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

/* Mixer Faders */
.mixer-channel {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    padding: 15px;
    background: rgba(19, 19, 43, 0.4);
    border: 1px solid rgba(157, 0, 255, 0.3);
    border-radius: 10px;
}

.fader-container {
    position: relative;
    height: 150px;
    width: 40px;
    background: rgba(10, 10, 26, 0.6);
    border: 2px solid var(--neon-purple);
    border-radius: 20px;
    box-shadow: inset 0 0 10px rgba(157, 0, 255, 0.3);
}

.fader-track {
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: calc(100% - 20px);
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-pink));
    border-radius: 2px;
}

.fader-thumb {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 30px;
    height: 20px;
    background: var(--neon-purple);
    border: 2px solid var(--neon-cyan);
    border-radius: 5px;
    cursor: pointer;
    box-shadow: 0 0 15px var(--neon-purple);
    transition: all 0.2s ease;
}

.fader-thumb:hover {
    box-shadow: 0 0 25px var(--neon-purple);
    transform: translateX(-50%) scale(1.1);
}

.channel-label {
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

.channel-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

/* Knobs */
.knob-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
}

.knob {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: radial-gradient(circle at 30% 30%, rgba(0, 212, 255, 0.3), rgba(10, 10, 26, 0.8));
    border: 3px solid var(--neon-cyan);
    box-shadow: 
        0 0 20px rgba(0, 212, 255, 0.4),
        inset 0 0 20px rgba(0, 212, 255, 0.2);
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
}

.knob:hover {
    box-shadow: 
        0 0 30px rgba(0, 212, 255, 0.6),
        inset 0 0 30px rgba(0, 212, 255, 0.3);
}

.knob::after {
    content: '';
    position: absolute;
    top: 10px;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 30px;
    background: var(--neon-pink);
    box-shadow: 0 0 10px var(--neon-pink);
    border-radius: 2px;
}

.knob-label {
    color: var(--neon-cyan);
    font-size: 0.8rem;
    font-weight: bold;
    text-transform: uppercase;
}

/* EQ Visualizer */
.eq-visualizer {
    display: flex;
    align-items: flex-end;
    justify-content: space-around;
    height: 200px;
    padding: 20px;
    background: rgba(10, 10, 26, 0.6);
    border: 2px solid var(--neon-cyan);
    border-radius: var(--border-radius);
    position: relative;
}

.eq-curve {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.eq-curve path {
    stroke: var(--neon-cyan);
    stroke-width: 3;
    fill: none;
    filter: drop-shadow(0 0 10px var(--neon-cyan));
}

/* Loading Animation */
.loading {
    display: inline-block;
    width: 50px;
    height: 50px;
    border: 4px solid rgba(0, 212, 255, 0.3);
    border-top-color: var(--neon-cyan);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    to { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    border: 2px solid;
    backdrop-filter: blur(10px);
}

.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border-color: #00ff00;
    color: #00ff00;
    box-shadow: 0 0 20px rgba(0, 255, 0, 0.3);
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border-color: #ff0000;
    color: #ff0000;
    box-shadow: 0 0 20px rgba(255, 0, 0, 0.3);
}

.alert-info {
    background: rgba(0, 212, 255, 0.1);
    border-color: var(--neon-cyan);
    color: var(--neon-cyan);
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.3);
}

/* Responsive Design */
@media (max-width: 768px) {
    .hamburger {
        display: flex;
    }
    
    .nav-menu {
        position: fixed;
        top: 80px;
        right: -100%;
        flex-direction: column;
        background: rgba(10, 10, 26, 0.95);
        width: 250px;
        padding: 30px;
        border-left: 2px solid var(--neon-cyan);
        box-shadow: -5px 0 30px rgba(0, 212, 255, 0.3);
        transition: right 0.3s ease;
        height: calc(100vh - 80px);
    }
    
    .nav-menu.active {
        right: 0;
    }
    
    .dashboard-grid {
        grid-template-columns: 1fr;
    }
    
    .logo {
        font-size: 1.8rem;
    }
}

/* Utility Classes */
.text-center { text-align: center; }
.mt-1 { margin-top: 10px; }
.mt-2 { margin-top: 20px; }
.mt-3 { margin-top: 30px; }
.mb-1 { margin-bottom: 10px; }
.mb-2 { margin-bottom: 20px; }
.mb-3 { margin-bottom: 30px; }
.p-1 { padding: 10px; }
.p-2 { padding: 20px; }
.p-3 { padding: 30px; }

.flex { display: flex; }
.flex-center { display: flex; justify-content: center; align-items: center; }
.flex-between { display: flex; justify-content: space-between; align-items: center; }
.flex-column { flex-direction: column; }
.gap-1 { gap: 10px; }
.gap-2 { gap: 20px; }
.gap-3 { gap: 30px; }

.w-100 { width: 100%; }
.h-100 { height: 100%; }

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: linear-gradient(to bottom, var(--neon-cyan), var(--neon-purple));
    border-radius: 5px;
    box-shadow: 0 0 10px var(--neon-cyan);
}

::-webkit-scrollbar-thumb:hover {
    box-shadow: 0 0 20px var(--neon-cyan);
}
