/* --- 1. GLOBAL RESET & BASE STYLES --- */
/* 1. Apply smooth scroll to the root */
html {
  scroll-behavior: smooth !important;
}
/* Force all sections with an ID to stay below the header */
#about, #music, #music-poll-section, #shows, #merch, #booking, #inner-circle, .epk-section {
    scroll-margin-top: 100px !important;
}

/* 2. Apply everything else to body */
body {
  margin: 0; 
  padding: 0; 
  width: 100%; 
  overflow-x: hidden;
  background-color: #0b0b0b; 
  font-family: sans-serif;
}
a, a:visited, a:active { color: inherit; text-decoration: none; }

/* --- 2. HEADER & NAVIGATION --- */
header {
    box-sizing: border-box; display: flex; justify-content: space-between;
    align-items: center; padding: 15px 5%; position: fixed; 
    top: 0; left: 0; width: 100%; z-index: 9999; 
    background: rgba(0, 0, 0, 0.85); backdrop-filter: blur(5px);      
    border-bottom: 1px solid #333;
}
.logo, a.logo, a.logo:visited { font-size: 1.8rem; font-weight: 900; text-transform: uppercase; letter-spacing: 4px; color: #ff0000; text-decoration: none; }
nav a { color: #fff !important; margin-left: 20px; text-transform: uppercase; font-weight: bold; font-size: 0.9rem; letter-spacing: 1px; transition: color 0.3s ease; }
nav a:hover { color: #ff0000 !important; }

/* --- HAMBURGER MENU --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 10000;
}
.hamburger span {
    display: block;
    width: 25px;
    height: 3px;
    background: #fff;
    border-radius: 2px;
    transition: all 0.3s ease;
}
.hamburger.open span:nth-child(1) { transform: translateY(8px) rotate(45deg); }
.hamburger.open span:nth-child(2) { opacity: 0; }
.hamburger.open span:nth-child(3) { transform: translateY(-8px) rotate(-45deg); }

@media (max-width: 768px) {
    .hamburger { display: flex; }
    nav {
        display: none;
        flex-direction: column;
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        background: rgba(0, 0, 0, 0.97);
        padding: 20px 0;
        border-bottom: 2px solid #ff0000;
        z-index: 9998;
    }
    nav.open { display: flex; }
    nav a {
        margin: 0;
        padding: 14px 5%;
        border-bottom: 1px solid #1a1a1a;
        font-size: 1.1rem;
    }
    nav a:last-child { border-bottom: none; }
}

/* --- 3. HERO --- */
.hero { width: 100%; background: #000; }
.hero video { width: 100%; height: auto; max-height: 80vh; object-fit: cover; display: block; aspect-ratio: 16/9; }

/* On mobile, hide video and show poster image instead for faster load */
@media (max-width: 768px) {
  .hero-caption h1 { font-size: 1.8rem; }
  .hero-subtitle { font-size: 1.1rem; }
  .hero video { display: none; }
  .hero { 
    background-image: url('hero-poster.jpg');
    background-size: 100% auto;
    background-position: center 65px;
    background-repeat: no-repeat;
    padding-top: calc(65px + 55.5vw);
    min-height: 0;
  }
}
.hero-caption { background: #000; padding: 60px 20px; text-align: center; border-bottom: 3px solid #ff0000; }
.hero-caption h1 { color: #ffffff !important; font-size: 3rem; text-transform: uppercase; margin: 0 0 10px 0; letter-spacing: 2px; }
.hero-subtitle { color: #ffffff !important; font-size: 1.4rem; text-transform: uppercase; letter-spacing: 2px; margin: 0 0 10px 0; }
.hero-caption p { color: #ffffff !important; font-size: 1.2rem; margin-bottom: 30px; }
/* --- 4. SECTION HEADINGS --- */
h2 { color: #fff; font-size: 2.5rem; text-transform: uppercase; letter-spacing: 2px; display: table; margin: 40px auto; text-align: center; border-bottom: 3px solid #ff0000; padding-bottom: 10px; }
.epk-section { padding: 60px 5%; max-width: 1000px; margin: 0 auto; text-align: center; color: #fff; }

/* --- 6. BUTTONS --- */
.btn, button[type="submit"] { display: inline-block; padding: 14px 32px; background-color: #ff0000; color: #fff !important; font-weight: bold; text-transform: uppercase; border: none; border-radius: 4px; transition: 0.2s ease; cursor: pointer; }
.btn:hover { background-color: #cc0000; transform: scale(1.05); }

/* --- 7. MERCH SECTION --- */
.merch-list { display: flex; flex-wrap: wrap; gap: 24px; justify-content: center; margin-top: 30px; position: relative; }
.merch-item { background: #111; border: 1px solid #333; border-radius: 8px; padding: 16px; width: 200px; text-align: center; transition: 0.3s; }
.sticker-sticker { max-width: 150px; margin-bottom: 10px; border-radius: 8px; filter: drop-shadow(0 5px 10px #000); }
.merch-name { font-weight: bold; margin: 8px 0; }
.merch-price { color: #ff0000; margin-bottom: 10px; }
.quantity-selector { display: flex; justify-content: center; gap: 6px; margin: 10px 0; }
.qty-btn { background: #ff0000; border: none; color: #fff; padding: 4px 10px; border-radius: 4px; cursor: pointer; }
.qty-input { width: 40px; text-align: center; background: #222; color: #fff; border: 1px solid #444; }

/* PREVIEW MODE STYLES (PUBLIC) */
#merchList:not(.active-store) .merch-item {
    filter: blur(4px) grayscale(100%);
    opacity: 0.5;
    pointer-events: none;
}
#merchList:not(.active-store)::after {
    content: "DROPS SOON";
    position: absolute;
    top: 50%; left: 50%;
    transform: translate(-50%, -50%) rotate(-5deg);
    background: #ff0000; color: #fff;
    padding: 15px 40px; font-size: 2rem; font-weight: 900;
    border: 4px solid #fff; box-shadow: 10px 10px 0px #000;
    z-index: 100;
}
/* Hide controls in preview */
#merchList:not(.active-store) .quantity-selector, 
#merchList:not(.active-store) .size-select,
#merchList:not(.active-store) label,
#addToCartBtn { 
    display: none !important; 
}

/* --- SECRET TEST MODE UNLOCK --- */
#merchList.active-store::after,
.test-mode-active #merchList::after {
    display: none !important;
    content: none !important;
    visibility: hidden !important;
}

#merchList.active-store .merch-item,
.test-mode-active .merch-item {
    filter: none !important;
    opacity: 1 !important;
    pointer-events: auto !important;
}
#merchList.active-store + #addToCartBtn { display: inline-block !important; }

/* --- 8. FORMS (Booking & Signup) --- */
label {
    color: #fff;
    font-weight: bold;
    text-transform: uppercase;
    font-size: 0.85rem;
    margin-bottom: 8px;
    letter-spacing: 1px;
}

input, textarea {
    padding: 15px;
    background: #1a1a1a;
    border: 1px solid #333;
    color: #fff;
    border-radius: 4px;
    font-family: inherit;
    width: 100%;
    box-sizing: border-box;
}

input:focus, textarea:focus {
    border-color: #ff0000;
    outline: none;
    background: #222;
}

/* --- 9. FOOTER & MISC --- */
footer { background-color: #000; padding: 60px 20px; border-top: 2px solid #ff0000; text-align: center; color: #fff; }
.social-links { display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; margin: 20px 0; }
.social-icon { border: 1px solid #333; padding: 8px 16px; color: #fff !important; margin: 0 10px; }
.social-icon:hover { border-color: #ff0000; background: #111; }
.copyright { font-size: 0.8rem; color: #888; margin-top: 30px; display: block; }
.cart { margin: 30px auto; background: #111; padding: 20px; border-radius: 8px; border: 1px solid #333; max-width: 500px; }

/* --- Global Back to Top Button --- */
#backToTop {
    display: none; 
    position: fixed;
    bottom: 30px;
    right: 30px;
    z-index: 10000; /* Highest priority */
    border: none;
    outline: none;
    background-color: #ff0000;
    color: white;
    cursor: pointer;
    padding: 0; /* Override global button padding */
    border-radius: 50%;
    font-size: 24px; /* Slightly larger arrow */
    font-weight: bold;
    width: 50px;
    height: 50px;
    line-height: 46px; /* Vertically centers the arrow */
    text-align: center;
    box-shadow: 0 4px 10px rgba(0,0,0,0.5);
    transition: background-color 0.3s, transform 0.3s;
}

#backToTop:hover {
    background-color: #cc0000;
    transform: scale(1.1);
}
/* --- Floating Join Button --- */
#joinFloatingBtn {
    position: fixed;
    bottom: 30px;
    left: 30px; /* Opposite side of the back-to-top button */
    z-index: 10000;
    border: 2px solid #fff;
    background-color: #ff0000; /* Buster Red */
    color: white;
    cursor: pointer;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 900;
    width: 60px;
    height: 60px;
    box-shadow: 0 0 10px rgba(255, 0, 0, 0.7);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.3s;
    /* Apply the pulse animation below */
    animation: busterPulse 2s infinite;
}

#joinFloatingBtn:hover {
    transform: scale(1.2) rotate(-5deg);
    background-color: #cc0000;
    animation: none; /* Stop pulsing when user hovers */
}

/* The Pulse Animation */
@keyframes busterPulse {
    0% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0.7);
    }
    70% {
        transform: scale(1.08);
        box-shadow: 0 0 0 15px rgba(255, 0, 0, 0);
    }
    100% {
        transform: scale(1);
        box-shadow: 0 0 0 0 rgba(255, 0, 0, 0);
    }
}

/* Hide on very small screens if it covers content (Optional) */
@media (max-width: 400px) {
    #joinFloatingBtn { width: 50px; height: 50px; left: 15px; bottom: 15px; }
}
/* The Amp Rumble Animation */
@keyframes rumble {
  0% { transform: translate(0,0); }
  20% { transform: translate(-2px, 2px); }
  40% { transform: translate(-2px, -2px); }
  60% { transform: translate(2px, 2px); }
  80% { transform: translate(2px, -2px); }
  100% { transform: translate(0,0); }
}

/* The Success Glow */
.success-glow {
  text-shadow: 0 0 10px #ff0000, 0 0 20px #ff0000;
  animation: rumble 0.2s linear 3; /* Rumbles 3 times quickly */
  color: #4CAF50 !important; /* Keep the success green, but glowing red */
}
/* Container for the side-by-side layout */
.flex-wrapper {
    display: flex;
    flex-wrap: wrap; /* Allows stacking on small screens */
    gap: 40px;
    align-items: flex-start;
    max-width: 1100px;
    margin: 0 auto;
}

/* Spotify takes up 50% */
.spotify-side {
    flex: 1;
    min-width: 300px;
}

/* Poll takes up the other 50% */
.poll-side {
    flex: 1;
    min-width: 300px;
    background: #111;
    padding: 30px;
    border-radius: 12px;
    border: 1px solid #222;
}

/* Styling the Radio Buttons to look like Buster buttons */
.poll-label {
    display: block;
    padding: 12px;
    margin-bottom: 10px;
    background: #000;
    border: 1px solid #333;
    border-radius: 6px;
    cursor: pointer;
    transition: 0.3s;
}

.poll-label:hover {
    border-color: #ff0000;
}

.poll-label input[type="radio"] {
    accent-color: #ff0000; /* Makes the radio circle red */
    margin-right: 10px;
}

/* Mobile Tweak */
@media (max-width: 768px) {
    .flex-wrapper {
        flex-direction: column;
    }
    .spotify-side, .poll-side {
        width: 100%;
    }
    .poll-side {
        height: auto !important;
    }
}
.show-row {
    display: flex;
    align-items: center;
    background: rgba(255, 255, 255, 0.05);
    margin-bottom: 10px;
    padding: 15px;
    border-left: 4px solid #ff0000; /* Buster Red accent */
    border-radius: 4px;
    text-align: left;
}

.show-date {
    flex: 0 0 70px;
    text-align: center;
    border-right: 1px solid #333;
    margin-right: 20px;
}

.show-month { display: block; font-size: 0.8rem; text-transform: uppercase; color: #ff0000; }
.show-day { display: block; font-size: 1.5rem; font-weight: bold; }

.show-info { flex-grow: 1; }
.show-title { margin: 0; font-size: 1.1rem; color: #fff; }
.show-venue { margin: 5px 0; font-size: 0.9rem; color: #888; }
.show-desc { font-size: 0.85rem; color: #ccc; font-style: italic; margin-top: 5px; }

.show-cta {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 5px;
}

.interest-btn {
    background: transparent;
    border: 1px solid #ff0000;
    color: #fff;
    padding: 10px 15px;
    cursor: pointer;
    font-weight: bold;
    transition: 0.3s;
    text-transform: uppercase;
}

.interest-btn:hover {
    background: #ff0000;
    color: #000;
}

.interest-btn.saved {
    border-color: #4CAF50;
    color: #4CAF50;
}

.interest-count {
    font-size: 0.8rem;
    color: #888;
}
.interest-label {
    display: block;
    margin-top: 8px;
    font-size: 0.75rem;
    color: #4CAF50; /* Green to match the 'Saved' state */
    font-weight: bold;
    text-align: center; /* Centers text under the button */
    width: 100%;
    letter-spacing: 1px;
    text-transform: uppercase;
}

/* --- MOBILE: Show Row Layout --- */
@media (max-width: 768px) {
    .show-row {
        flex-wrap: wrap;
        gap: 10px;
    }
    .show-info {
        flex: 1;
        min-width: 0; /* Prevents text from overflowing */
    }
    .show-cta {
        width: 100%;
    }
    .interest-btn {
        width: 100%;
        padding: 14px;
    }
    /* Hide the full description on mobile by default */
    .show-desc .desc-full {
        display: none;
    }
    .show-desc .desc-short {
        display: inline;
    }
    .desc-more-btn {
        background: none;
        border: none;
        color: #ff0000;
        font-size: inherit;
        font-style: italic;
        cursor: pointer;
        padding: 0;
        margin: 0;
    }
}

/* On desktop, always show the full description */
@media (min-width: 769px) {
    .show-desc .desc-short { display: none; }
    .show-desc .desc-full { display: inline; }
    .desc-more-btn { display: none; }
}

.venue-link {
    color: #ff3b3b; /* Red accent for the link */
    text-decoration: none;
    border-bottom: 1px dashed rgba(255, 59, 59, 0.4);
    transition: all 0.2s ease;
}

.venue-link:hover {
    color: #ffffff;
    border-bottom: 1px solid #ffffff;
    background-color: rgba(255, 59, 59, 0.1); /* Subtle highlight on hover */
}