:root {
    --primary: #84cc16; /* Lime 600 */
    --accent: #bef264; /* Lime 300 */
    --bg-dark: #0f172a; /* Slate 900 */
    --bg-darker: #020617; /* Slate 950 */
    --text-white: #f1f5f9; /* Slate 100 */
    --text-muted: #94a3b8; /* Slate 400 */
    --glass: rgba(15, 23, 42, 0.85);
    --border: rgba(132, 204, 22, 0.2); /* Lime border */
    --transition: 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    --font-main: 'Inter', sans-serif;
    --font-accent: 'Outfit', sans-serif;
}

.crt-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        rgba(0, 0, 0, 0) 0px,
        rgba(0, 0, 0, 0) 2px,
        rgba(15, 23, 42, 0.15) 3px,
        rgba(15, 23, 42, 0.15) 4px
    );
    z-index: 9999;
    pointer-events: none;
    opacity: 1;
    animation: crt-flicker 0.15s infinite;
}

@keyframes crt-flicker {
    0% { opacity: 0.8; }
    50% { opacity: 0.82; }
    100% { opacity: 0.8; }
}

#shader-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    background: radial-gradient(circle at center, #0f172a 0%, #020617 100%);
    opacity: 0.6;
}

/* 90s Grunge Stickers */
.background-stickers {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    pointer-events: none;
    overflow: hidden;
    opacity: 1.0; /* Fully opaque so it blocks the tracker/shader behind it */
    isolation: isolate; /* Create a unique stacking context */
}

.sticker {
    position: absolute;
    width: 20vw; 
    aspect-ratio: 1/1;
    object-fit: contain;
    mix-blend-mode: normal; 
    filter: brightness(0.35) contrast(1.1) grayscale(0.2); 
    animation: float 25s infinite ease-in-out;
    border-radius: 50%; /* Force perfect circle crop */
    background: #000; /* Solid dark backing to occlude the checkerboard completely */
    overflow: hidden; /* Slice off the corners */
    pointer-events: none;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.8); /* Blend the edge into the dark website */
}

.sticker-logo {
    background: transparent !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    filter: brightness(0.65) contrast(1.1) grayscale(0.2) !important; /* Brighter than others so logo is visible */
}

/* Base positions with Varied Sizes */
.s1 { top: 12%; left: 3%; width: 32vw; z-index: 10; animation-delay: 0s; }
.s2 { top: 45%; right: 1%; width: 24vw; z-index: 20; animation-delay: -5s; }
.s3 { bottom: 18%; left: 6%; width: 28vw; z-index: 30; animation-delay: -10s; }
.s4 { top: 78%; left: 52%; width: 10vw; z-index: 5; animation-delay: -3s; }
.s5 { top: 42%; left: 23%; width: 18vw; z-index: 15; animation-delay: -8s; }
.s6 { bottom: 38%; right: 12%; width: 14vw; z-index: 25; animation-delay: -12s; }
.s7 { top: 3%; right: 33%; width: 20vw; z-index: 8; animation-delay: -15s; }
.s8 { bottom: 33%; left: 1%; width: 15vw; z-index: 18; animation-delay: -2s; }
.s9 { top: 58%; right: 48%; width: 12vw; z-index: 12; animation-delay: -18s; }
.s10 { top: 22%; right: 8%; width: 26vw; z-index: 22; animation-delay: -4s; }

.s11 { bottom: 8%; right: 42%; width: 22vw; z-index: 35; animation-delay: -1s; }
.s12 { top: 28%; left: 42%; width: 8vw; z-index: 2; animation-delay: -20s; }
.s13 { top: 82%; right: 12%; width: 16vw; z-index: 40; animation-delay: -6s; }
.s14 { top: 62%; left: 13%; width: 11vw; z-index: 6; animation-delay: -14s; }
.s15 { bottom: 3%; left: 33%; width: 19vw; z-index: 50; animation-delay: -9s; }
.s16 { top: 32%; right: 28%; width: 9vw; z-index: 3; animation-delay: -22s; }
.s17 { top: 68%; right: 22%; width: 20vw; z-index: 60; animation-delay: -11s; }
.s18 { bottom: 28%; left: 14%; width: 7vw; z-index: 4; animation-delay: -13s; }
.s19 { top: 48%; right: 3%; width: 14vw; z-index: 70; animation-delay: -17s; }
.s20 { bottom: 68%; left: 42%; width: 18vw; z-index: 100; animation-delay: -21s; }

/* Mobile Optimization: Reduce Density & Scale */
@media (max-width: 768px) {
    .s11, .s12, .s13, .s14, .s15, .s16, .s17, .s18, .s19, .s20 {
        display: none; 
    }
}

@keyframes float {
    0%, 100% { transform: translateY(0) rotate(0deg) scale(1); }
    33% { transform: translateY(-40px) rotate(8deg) scale(1.02); }
    66% { transform: translateY(30px) rotate(-8deg) scale(0.98); }
}

/* Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

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

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 2rem;
}

.center { text-align: center; }

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

.accent { color: var(--accent); }
.black { color: var(--bg-darker); }
.white { color: white; }

/* Navigation */
.glass-nav {
    position: fixed;
    top: 0;
    width: 100%;
    background: var(--glass);
    backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border);
    z-index: 1000;
    padding: 1rem 0;
}

.nav-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

.logo-wrapper {
    display: flex;
    align-items: center;
    text-decoration: none;
    gap: 1rem;
}

.nav-logo {
    height: 48px;
    width: auto;
    filter: 
        drop-shadow(3px 0 0 rgba(255, 0, 0, 0.4)) 
        drop-shadow(-3px 0 0 rgba(0, 255, 255, 0.4));
    transition: var(--transition);
}

.nav-logo:hover {
    filter: 
        drop-shadow(5px 0 0 rgba(255, 0, 0, 0.6)) 
        drop-shadow(-5px 0 0 rgba(0, 255, 255, 0.6));
}

.logo-text {
    font-family: var(--font-accent);
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--text-white);
    letter-spacing: 4px;
}

.nav-links a {
    text-decoration: none;
    color: var(--text-white);
    margin-left: 2rem;
    font-size: 0.9rem;
    font-weight: 500;
    transition: var(--transition);
    opacity: 0.8;
}

.nav-links a:hover {
    opacity: 1;
    color: var(--accent);
}

.mobile-toggle {
    display: none;
    background: none;
    border: none;
    color: white;
    font-size: 1.5rem;
}

/* Hero Section */
.hero {
    height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    background: url('assets/band_fence.jpg') center/cover no-repeat;
    position: relative;
    padding-top: 80px;
    -webkit-mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
    mask-image: linear-gradient(to bottom, black 85%, transparent 100%);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(2, 6, 23, 0.4), var(--bg-dark));
}

.hero-content {
    position: relative;
    z-index: 10;
}

.hero h1 {
    font-size: 8rem;
    font-weight: 900;
    margin-bottom: 1rem;
    line-height: 1;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: var(--text-muted);
    margin-bottom: 3rem;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.btn {
    display: inline-block;
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1rem;
    transition: var(--transition);
    margin: 0 0.5rem;
    cursor: pointer;
    border: 2px solid transparent;
}

.btn-primary {
    background: var(--primary);
    color: white;
}

.btn-primary:hover {
    background: var(--accent);
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.3);
}

.btn-outline {
    border-color: rgba(255, 255, 255, 0.3);
    color: white;
}

.btn-outline:hover {
    border-color: white;
    background: white;
    color: var(--bg-dark);
}

/* Sections */
.section {
    padding: 100px 0;
}

.section.dark {
    background-color: rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.section.accent-bg {
    background-color: rgba(132, 204, 22, 0.85); /* Slightly transparent base lime */
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
}

.section-title.left-align { text-align: left; }

/* Grid Layouts */
.grid-2 {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.lead {
    font-size: 1.4rem;
    font-weight: 600;
    color: var(--text-white);
    margin-bottom: 1.5rem;
    line-height: 1.4;
}

/* Glassmorphism Bio Card for readability */
.bio-card {
    background: rgba(15, 23, 42, 0.65);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid var(--border);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    margin-bottom: 2rem;
}

.bio-card p {
    color: var(--text-muted);
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.bio-card p.lead {
    color: var(--text-white);
    margin-bottom: 1.5rem;
}

.band-members-mini {
    margin-top: 3rem;
    font-family: var(--font-accent);
    letter-spacing: 3px;
    font-weight: 800;
    color: var(--accent);
}

.img-responsive {
    width: 100%;
    height: auto;
    border-radius: 20px;
}

.glow-border {
    border: 1px solid var(--border);
    box-shadow: 0 0 30px rgba(99, 102, 241, 0.2);
}

/* Shows Grid */
#shows {
    padding-top: 0; /* Prevents visual padding stacking with the #about section */
}

.shows-grid {
    display: grid;
    gap: 1.5rem;
}

.show-card {
    background: rgba(2, 6, 23, 0.65);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border: 1px solid var(--border);
    padding: 2rem;
    border-radius: 20px;
    display: grid;
    grid-template-columns: 100px 1fr auto;
    align-items: center;
    transition: var(--transition);
}

.show-card:hover {
    border-color: var(--accent);
    transform: translateX(10px);
}

.show-date {
    font-family: var(--font-accent);
    line-height: 1.2;
}

.show-day { font-size: 2rem; font-weight: 800; color: var(--accent); }
.show-month { font-size: 0.9rem; text-transform: uppercase; color: var(--text-muted); }

.show-info h3 { font-size: 1.5rem; margin-bottom: 0.2rem; }
.show-venue { color: var(--text-muted); font-size: 1.1rem; }

/* Song Catalog */
.catalog-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 3rem;
}

.search-box input {
    width: 300px;
    padding: 1rem 1.5rem;
    border-radius: 12px;
    border: 1px solid var(--border);
    background: rgba(255, 255, 255, 0.05);
    color: white;
    outline: none;
    transition: var(--transition);
}

.search-box input:focus {
    border-color: var(--accent);
    box-shadow: 0 0 20px rgba(99, 102, 241, 0.15);
}

.song-table-wrapper {
    overflow-x: auto;
}

.song-table {
    width: 100%;
    border-collapse: collapse;
}

.song-table th {
    text-align: left;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.song-table td {
    padding: 1.5rem;
    border-bottom: 1px solid var(--border);
    font-weight: 500;
}

.song-table tr:hover {
    background: rgba(99, 102, 241, 0.05);
}

/* Media/YouTube */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.video-card {
    width: 100%;
    aspect-ratio: 16/9;
    border-radius: 20px;
    overflow: hidden;
    position: relative;
    border: 1px solid var(--border);
    background: var(--bg-darker);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
}

.video-card iframe {
    width: 100%;
    height: 100%;
}

.yt-button-wrapper {
    text-align: center;
}

.btn-yt {
    background: #ff0000;
    color: white;
}

.btn-yt:hover {
    background: #cc0000;
}

/* Social Icons */
.social-icons {
    display: flex;
    justify-content: center;
    gap: 3rem;
    margin: 4rem 0;
}

.social-link {
    font-size: 3rem;
    color: var(--bg-darker);
    transition: var(--transition);
}

.social-link:hover {
    transform: scale(1.2);
    color: white;
}

.contact-email a {
    color: var(--bg-darker);
    font-weight: 700;
    text-decoration: none;
}

/* Footer */
footer {
    padding: 4rem 0;
    border-top: 1px solid var(--border);
    text-align: center;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.9rem;
}

/* Responsive */
@media (max-width: 768px) {
    .nav-links {
        display: none;
        position: absolute;
        top: 100%;
        left: 0;
        width: 100%;
        background: var(--bg-darker);
        padding: 2rem;
        border-bottom: 1px solid var(--border);
        flex-direction: column;
        align-items: center;
        gap: 1.5rem;
    }
    .nav-links.active {
        display: flex;
    }
    .nav-links a { margin-left: 0; font-size: 1.2rem; }
    .mobile-toggle { display: block; }
    .grid-2 { grid-template-columns: 1fr; gap: 2rem; }
    .section-title.left-align { text-align: center; }
    .about-text { text-align: center; order: 2; }
    .about-image-card { order: 1; }
    .hero h1 { font-size: 4rem; }
    .catalog-header { flex-direction: column; text-align: center; gap: 2rem; }
    .show-card { grid-template-columns: 80px 1fr; }
    .show-cta { display: none; }
    .footer-content { flex-direction: column; gap: 1rem; }
}

/* Glitch Effect */
.glitch-text {
    position: relative;
    color: white;
}

.glitch-text::before,
.glitch-text::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--bg-dark);
}

.glitch-text::before {
    left: 2px;
    text-shadow: -2px 0 #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim 5s infinite linear alternate-reverse;
}

.glitch-text::after {
    left: -2px;
    text-shadow: -2px 0 #00fff9, 2px 2px #ff00c1;
    clip: rect(44px, 450px, 56px, 0);
    animation: glitch-anim2 1s infinite linear alternate-reverse;
}

@keyframes glitch-anim {
    0% { clip: rect(31px, 9999px, 94px, 0); }
    10% { clip: rect(81px, 9999px, 12px, 0); }
    20% { clip: rect(2px, 9999px, 64px, 0); }
    /* More steps would be better but this is a start */
    100% { clip: rect(10px, 9999px, 44px, 0); }
}

@keyframes glitch-anim2 {
    0% { clip: rect(11px, 9999px, 24px, 0); }
    100% { clip: rect(80px, 9999px, 90px, 0); }
}
