:root {
    --bg-color: #0a0a0b;
    --primary-blue: #00f3ff;
    --deep-blue: #004dff;
    --glass-bg: rgba(255, 255, 255, 0.03);
    --glass-border: rgba(255, 255, 255, 0.08);
    --text-color: #e0e0e0;
    --accent-gray: #444444;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    scroll-behavior: smooth;
}

body {
    font-family: 'Inter', sans-serif;
    background-color: var(--bg-color);
    color: var(--text-color);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Background & Scanline Layer */
.bg-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: 
        radial-gradient(circle at 50% 50%, rgba(0, 243, 255, 0.03) 0%, transparent 70%),
        linear-gradient(rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.9)),
        repeating-linear-gradient(
            0deg,
            rgba(0, 0, 0, 0.1) 0px,
            rgba(0, 0, 0, 0.1) 1px,
            transparent 1px,
            transparent 2px
        );
    pointer-events: none;
    z-index: 0;
}

header {
    padding: 1rem 2rem;
    position: fixed;
    top: 0;
    width: 100%;
    backdrop-filter: blur(15px);
    border-bottom: 1px solid var(--glass-border);
    z-index: 100;
    background: rgba(10, 10, 11, 0.8);
}

nav {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    font-family: 'Orbitron', sans-serif;
    letter-spacing: 3px;
    font-weight: 700;
    font-size: 1.3rem;
}

.fx-logo {
    color: var(--primary-blue);
    text-shadow: 0 0 10px var(--primary-blue);
}

.nav-links {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.home-btn {
    text-decoration: none;
    color: white;
    padding: 0.5rem;
    border: 1px solid var(--glass-border);
    border-radius: 50%;
    transition: 0.3s;
}

.home-btn:hover {
    background: var(--glass-bg);
    border-color: var(--primary-blue);
    box-shadow: 0 0 15px var(--primary-blue);
}

.glass-btn-small {
    text-decoration: none;
    color: white;
    font-size: 0.75rem;
    letter-spacing: 2px;
    border: 1px solid var(--glass-border);
    padding: 0.4rem 1rem;
    border-radius: 4px;
}

main {
    position: relative;
    z-index: 1;
    padding: 120px 1.5rem 50px;
    max-width: 1200px;
    margin: 0 auto;
}

.hero {
    text-align: center;
    padding: 80px 0;
    animation: fadeInUp 1s ease-out;
}

.hero h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: clamp(3rem, 10vw, 6rem);
    margin-bottom: 1rem;
    line-height: 1.1;
}

.neon-text {
    color: var(--primary-blue);
    text-shadow: 0 0 20px var(--primary-blue), 0 0 40px var(--deep-blue);
}

.status-bar {
    margin-top: 20px;
    font-family: monospace;
    font-size: 0.8rem;
    color: var(--primary-blue);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    opacity: 0.8;
}

.dot {
    width: 8px;
    height: 8px;
    background: var(--primary-blue);
    border-radius: 50%;
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

.portfolio-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 50px;
}

.card {
    padding: 3rem 2rem;
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    border-radius: 20px;
    backdrop-filter: blur(20px);
    text-align: center;
    transition: all 0.4s ease;
    animation: fadeInUp 1s ease-out backwards;
}

.card:nth-child(2) { animation-delay: 0.1s; }
.card:nth-child(3) { animation-delay: 0.2s; }

.card:hover {
    transform: translateY(-8px);
    border-color: var(--primary-blue);
    background: var(--card-hover-bg);
    box-shadow: 0 10px 30px rgba(0, 243, 255, 0.1);
}

.card-icon {
    margin-bottom: 1.5rem;
}

.icon {
    width: 36px;
    height: 36px;
    color: var(--primary-blue);
}

.track-title {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 1rem;
    font-size: 1.2rem;
    letter-spacing: 1px;
}

.card p {
    margin-bottom: 2rem;
    opacity: 0.8;
    font-size: 0.9rem;
    line-height: 1.6;
}

.glass-btn {
    display: inline-block;
    padding: 0.8rem 2rem;
    background: rgba(255, 255, 255, 0.05);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 50px;
    color: white;
    text-decoration: none;
    font-weight: 600;
    transition: 0.3s;
}

.glass-btn:hover {
    background: var(--primary-blue);
    color: black;
    border-color: var(--primary-blue);
    box-shadow: 0 0 20px var(--primary-blue);
}

/* Gallery Styles */
.gallery-section {
    padding: 80px 0;
    text-align: center;
}

.gallery-header {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    margin-bottom: 40px;
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 25px;
    max-width: 1200px;
    margin: 0 auto;
}

.project-card {
    position: relative;
    border-radius: 15px;
    overflow: hidden;
    border: 1px solid var(--glass-border);
    transition: 0.4s;
}

.project-img-container {
    position: relative;
    aspect-ratio: 16 / 9;
    overflow: hidden;
    background: #000;
}

.project-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s;
    display: block;
}

.project-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 1.5rem;
    background: linear-gradient(transparent, rgba(0,0,0,0.9));
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.project-card:hover .project-overlay {
    transform: translateY(0);
}

.project-card:hover .project-img {
    transform: scale(1.05);
}

/* Video card specific styles */
.video-card .project-overlay {
    display: none;
}

.video-card .project-img-container {
    border: 1px solid var(--glass-border);
}

.video-card .project-img-container iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.project-overlay h3 {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.1rem;
}

.project-overlay p {
    font-size: 0.8rem;
    opacity: 0.7;
}

footer {
    text-align: center;
    padding: 60px 20px;
    opacity: 0.5;
    font-size: 0.8rem;
    letter-spacing: 1px;
}

.partner-text {
    color: var(--primary-blue);
    font-weight: 600;
}

@media (max-width: 992px) {
    .gallery-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 768px) {
    header {
        padding: 1rem;
    }
    .logo {
        font-size: 1.1rem;
    }
    .nav-links {
        display: none;
    }
    .hero h1 {
        font-size: 3rem;
    }
    .portfolio-grid {
        grid-template-columns: 1fr;
    }
    .gallery-grid {
        grid-template-columns: 1fr;
    }
    .card {
        padding: 2rem 1.5rem;
    }
}
