@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Inter:wght@300;400;700;900&family=Outfit:wght@400;700;900&family=Pirata+One&display=swap');

:root {
    --bg-color: #080808;
    --acc-cyan: #cc1100;      /* Blood red — primary accent */
    --acc-purple: #6b0000;    /* Deep maroon */
    --acc-magenta: #c4b5a0;   /* Bone/aged ivory */
    --acc-blood: #8b0000;     /* Dark blood */
    --text-main: #ffffff;
    --text-dim: #a0a0a0;
    --glass-bg: rgba(255, 255, 255, 0.05);
    --glass-border: rgba(255, 255, 255, 0.1);
    --font-heading: 'Bebas Neue', sans-serif;
    --font-body: 'Inter', sans-serif;
    --font-accent: 'Outfit', sans-serif;
    --font-old-english: 'Pirata One', cursive;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
}

body {
    background-color: var(--bg-color);
    color: var(--text-main);
    font-family: var(--font-body);
    overflow-x: hidden;
    line-height: 1.6;
}

/* Scrollbar */
::-webkit-scrollbar {
    width: 6px;
}
::-webkit-scrollbar-track {
    background: var(--bg-color);
}
::-webkit-scrollbar-thumb {
    background: var(--glass-border);
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--acc-cyan);
}

/* --- NAVIGATION --- */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(10px);
    transition: 0.3s;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 3rem;
}

nav a {
    color: var(--text-main);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    letter-spacing: 2px;
    transition: 0.3s;
    text-transform: uppercase;
}

nav a:hover {
    color: var(--acc-cyan);
    text-shadow: 0 0 10px var(--acc-cyan);
}

.menu-toggle {
    display: none;
    cursor: pointer;
    font-size: 2rem;
    color: var(--acc-cyan);
}

/* Typography */
h1, h2, h3 {
    font-family: var(--font-heading);
    letter-spacing: 2px;
    text-transform: uppercase;
}

.graffiti-text {
    background: linear-gradient(45deg, var(--acc-cyan), var(--acc-magenta));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px rgba(204, 17, 0, 0.4));
}

/* Header */
header {
    position: fixed;
    top: 0;
    width: 100%;
    z-index: 1000;
    padding: 1.5rem 5%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(8, 8, 8, 0.8);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--glass-border);
}

.logo {
    font-size: 2rem;
    font-weight: 900;
    font-family: var(--font-heading);
    color: var(--text-main);
    text-decoration: none;
}

nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

nav a {
    color: var(--text-dim);
    text-decoration: none;
    font-family: var(--font-accent);
    font-weight: 700;
    font-size: 0.9rem;
    text-transform: uppercase;
    transition: 0.3s;
}

nav a:hover {
    color: var(--acc-cyan);
    text-shadow: 0 0 10px rgba(204, 17, 0, 0.5);
}

/* Tour Marquee */
.tour-marquee {
    position: fixed;
    top: 80px;
    width: 100%;
    background: var(--acc-blood);
    color: #fff;
    padding: 0.5rem 0;
    z-index: 999;
    overflow: hidden;
    font-family: var(--font-heading);
    font-size: 1.2rem;
    font-weight: 900;
    border-top: 1px solid rgba(255,255,255,0.1);
    border-bottom: 2px solid var(--acc-cyan);
}

.marquee-content {
    display: flex;
    white-space: nowrap;
    animation: marquee 20s linear infinite;
}

.marquee-content span {
    padding-right: 50px;
}

@keyframes marquee {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    padding: 0 10%;
    background: linear-gradient(rgba(8, 8, 8, 0.4), rgba(8, 8, 8, 0.8)), url('assets/hero_stairs.jpg');
    background-size: cover;
    background-position: center;
    position: relative;
}

.hero-content h1 {
    font-size: 8rem;
    line-height: 0.9;
    margin-bottom: 2rem;
    animation: slideIn 1s ease-out;
}

.hero-content p {
    font-size: 1.2rem;
    color: var(--text-dim);
    max-width: 600px;
    margin-bottom: 3rem;
    font-family: var(--font-accent);
}

.cta-button {
    display: inline-block;
    padding: 1rem 2.5rem;
    background: linear-gradient(135deg, var(--acc-cyan), var(--acc-purple));
    color: white;
    text-decoration: none;
    font-weight: 400;
    font-family: var(--font-old-english);
    font-size: 1.8rem;
    letter-spacing: 1px;
    clip-path: polygon(10% 0, 100% 0, 90% 100%, 0 100%);
    transition: 0.3s;
    border: none;
    cursor: pointer;
}

.cta-button:hover {
    transform: scale(1.05) rotate(-1deg);
    filter: brightness(1.2) drop-shadow(0 0 15px var(--acc-cyan));
}

/* Sections */
section {
    padding: 100px 10%;
}

.section-title {
    font-size: 4rem;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.section-title::after {
    content: '';
    height: 4px;
    width: 60px;
    background: var(--acc-cyan);
}

/* Music Section */
.music-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 400px));
    gap: 2rem;
    justify-content: center;
}

.track-card {
    background: var(--glass-bg);
    border: 1px solid var(--glass-border);
    padding: 1.5rem;
    border-radius: 12px;
    transition: 0.4s;
    backdrop-filter: blur(5px);
    width: 100%;
    margin: 0 auto;
}

/* Featured Track Section */
.featured-track {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    background: rgba(20, 20, 20, 0.4);
    padding: 3rem;
    border-radius: 20px;
    border: 1px solid var(--glass-border);
    backdrop-filter: blur(10px);
    margin-bottom: 4rem;
    align-items: center;
}

.track-img-main {
    width: 100%;
    border-radius: 12px;
    box-shadow: 0 0 40px rgba(0, 0, 0, 0.5);
    margin-bottom: 2rem;
    border: 1px solid var(--glass-border);
}

.track-meta h3 {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

@media (max-width: 1100px) {
    .featured-track {
        gap: 2rem;
        padding: 2rem;
    }
    .track-meta h3 {
        font-size: 2rem;
    }
}

@media (max-width: 850px) {
    .featured-track {
        grid-template-columns: 1fr;
        text-align: center;
    }
    .track-img-main {
        max-width: 500px;
        margin-left: auto;
        margin-right: auto;
    }
}

.track-card:hover {
    border-color: var(--acc-cyan);
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
}

.track-img {
    width: 100%;
    aspect-ratio: 1;
    background: #1a1a1a;
    border-radius: 8px;
    margin-bottom: 1rem;
    overflow: hidden;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
}

.track-img::after {
    content: '▶';
    font-size: 3rem;
    opacity: 0.5;
    transition: 0.3s;
}

.track-card:hover .track-img::after {
    opacity: 1;
    transform: scale(1.2);
}

/* Merch Section */
.merch-display {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.merch-image-container {
    position: relative;
}

.merch-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 0 50px rgba(0, 0, 0, 0.5);
    border: 1px solid var(--glass-border);
    transition: 0.5s;
}

.merch-image-container:hover .merch-image {
    transform: scale(1.02) rotate(1deg);
    border-color: var(--acc-purple);
}

.merch-info h3 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.price {
    font-size: 2rem;
    font-weight: 900;
    color: var(--acc-cyan);
    margin-bottom: 2rem;
    font-family: var(--font-accent);
}

/* Social Icons */
.social-links {
    margin-bottom: 3rem;
}

.social-icon {
    font-size: 3rem;
    color: var(--text-main);
    text-decoration: none;
    transition: 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    display: inline-block;
}

.social-icon:hover {
    color: var(--acc-cyan);
    transform: scale(1.3) rotate(5deg);
    filter: drop-shadow(0 0 15px rgba(204, 17, 0, 0.6));
}

.social-icon i.fa-spotify:hover {
    color: #1DB954;
    filter: drop-shadow(0 0 15px #1DB954);
}

.social-icon i.fa-youtube:hover {
    color: #FF0000;
    filter: drop-shadow(0 0 15px #FF0000);
}

.social-icon i.fa-instagram:hover {
    color: #E4405F;
    filter: drop-shadow(0 0 15px #E4405F);
}

/* Animations Reference */
@keyframes slideIn {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* --- MOBILE RESPONSIVENESS --- */
@media (max-width: 992px) {
    .hero-content h1 {
        font-size: 5rem;
    }
    .merch-display, #about .grid-container {
        grid-template-columns: 1fr !important;
        text-align: center;
        gap: 2rem;
    }
    #about .grid-container > div {
        text-align: center !important;
    }
}

/* --- MOBILE UTILITIES --- */
.mobile-only {
    display: none;
}

.desktop-only {
    display: block;
}

    @media (max-width: 768px) {
        .mobile-only {
            display: block;
        }
        .desktop-only {
            display: none;
        }
    }

    /* ── PRELOADER & CRT EFFECT (GLOBAL) ── */
    #video-preloader {
        position: fixed;
        top: 0;
        left: 0;
        width: 100vw;
        height: 100vh;
        z-index: 100000;
        background: radial-gradient(circle, #0a0a0a, #000); /* Adds depth to black space */
        display: flex;
        justify-content: center;
        align-items: center;
        overflow: hidden;
    }

    #video-preloader video {
        width: 100%;
        height: 100%;
        object-fit: contain;
        background: transparent;
    }

    .film-strip {
        position: absolute;
        left: -10%;
        width: 120%;
        height: 120px;
        background-color: #000; /* Fallback */
        background-image: url('assets/filmstrip.png');
        background-repeat: repeat-x;
        background-size: auto 100%;
        z-index: 100002;
        opacity: 1;
        filter: brightness(1.2) contrast(1.1);
        pointer-events: none;
    }

    .film-strip.top { 
        top: 0; 
        transform: rotate(-1.5deg);
        border-bottom: 2px solid #222;
    }
    .film-strip.bottom { 
        bottom: 0; 
        transform: rotate(1deg);
        border-top: 2px solid #222;
    }

    #crtEffect {
        position: absolute;
        width: 100%;
        height: 100%;
        max-width: 100vw;
        max-height: 100vh;
        aspect-ratio: 16 / 9; /* Matches standard video format */
        background: white;
        opacity: 0;
        pointer-events: none;
        z-index: 110000;
        transform-origin: center center;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%); /* Centering */
    }

    .preloader-overlay {
        position: absolute;
        inset: 0;
        background: rgba(0,0,0,0.2);
        display: flex;
        justify-content: center;
        align-items: center;
        z-index: 100005;
        pointer-events: none;
    }
    
    #enterBtn {
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 120000;
        display: none;
        white-space: nowrap;
        font-size: clamp(1.2rem, 5vw, 2.5rem); /* Responsive button text */
        padding: 1.2rem 3rem;
        pointer-events: auto; /* Enable interaction */
        cursor: pointer;
    }

    /* --- MOBILE RESPONSIVENESS --- */
    @media (max-width: 992px) {
        .hero-content h1 { font-size: 5rem; }
        .merch-display, #about .grid-container { grid-template-columns: 1fr !important; text-align: center; gap: 2rem; }
    }

    @media (max-width: 768px) {
        .mobile-only { display: block; }
        .desktop-only { display: none !important; }

        header { padding: 1rem 5%; }
        
        .menu-toggle {
            display: block !important;
            font-size: 2.5rem;
            z-index: 1010;
        }

        nav {
            position: fixed;
            top: 0;
            right: -100%;
            width: 80%;
            height: 100vh;
            background: rgba(0, 0, 0, 0.95);
            backdrop-filter: blur(15px);
            padding: 8rem 2rem;
            transition: 0.5s cubic-bezier(0.77,0.2,0.05,1.0);
            border-left: 2px solid var(--acc-cyan);
            display: flex !important;
            align-items: center;
            justify-content: center;
            z-index: 1005;
        }

        nav.active { right: 0; }

        nav ul {
            flex-direction: column;
            gap: 2rem;
            align-items: center;
        }

        .hero-content h1 { font-size: 3.5rem; }
        .hero-content p { font-size: 1rem; }
        .section-title { font-size: 2.5rem; }
        .merch-info h3 { font-size: 2rem; }
        .tour-marquee { top: 60px; font-size: 1rem; }
    }

    @media (max-width: 480px) {
        .hero-content h1 { font-size: 2.8rem; }
        .cta-button { width: 100%; text-align: center; padding: 0.8rem 1rem; }
        .hero-actions { display: flex; flex-direction: column; gap: 1.5rem; }
        .hero-actions a { margin-left: 0 !important; }
    }
