@import url('https://fonts.googleapis.com/css2?family=Permanent+Marker&family=Russo+One&family=Barlow+Condensed:wght@400;600;800&family=Bebas+Neue&family=Orbitron:wght@400;600;800&family=Rajdhani:wght@500;700&family=Inter:wght@400;600&display=swap');

:root {
    /* Default / Metallica Blackout */
    --primary: #ff003c;
    --primary-light: #ff3366;
    --dark-bg: #0a0a0c;
    --card-bg: #121215;
    --border-color: #1e1e24;
    --text-light: #ffffff;
    --text-muted: #a1a1aa;
    --gold-accent: #ffd700;
    --glow-color: rgba(255, 0, 60, 0.25);
    
    --font-display: 'Bebas Neue', sans-serif;
    --font-heading: 'Orbitron', sans-serif;
    --font-body: 'Inter', sans-serif;
    
    --transition-speed: 0.3s;
}

body.theme-lightning {
    --primary: #00d2ff;
    --primary-light: #44e3ff;
    --dark-bg: #050914;
    --card-bg: #0c1224;
    --border-color: #162447;
    --glow-color: rgba(0, 210, 255, 0.25);
}

body.theme-puppets {
    --primary: #e65c00;
    --primary-light: #ff7824;
    --dark-bg: #0f0a08;
    --card-bg: #17110e;
    --border-color: #2a1f1a;
    --glow-color: rgba(230, 92, 0, 0.25);
}

body.theme-seasons {
    --primary: #ffe600;
    --primary-light: #fff066;
    --dark-bg: #080808;
    --card-bg: #141414;
    --border-color: #222222;
    --glow-color: rgba(255, 230, 0, 0.25);
}

* {
    box-sizing: border-box;
}

body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    min-height: 100dvh;
    display: flex;
    flex-direction: column;
    font-family: var(--font-body);
    font-size: 1rem;
    letter-spacing: 0.5px;
    background-color: var(--dark-bg);
    color: var(--text-light);
    line-height: 1.6;
    transition: background-color 0.5s ease, color 0.5s ease;
    overflow-x: hidden;
}

main {
    flex: 1 0 auto;
}

::selection {
    background-color: var(--primary);
    color: var(--text-light);
}

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

/* --- Navigation & Header --- */
header {
    background-color: rgba(10, 10, 12, 0.8);
    padding: 10px 0;
    border-bottom: 2px solid var(--border-color);
    position: sticky;
    top: 0;
    z-index: 100;
    flex-shrink: 0;
    backdrop-filter: blur(12px);
    transition: border-color 0.5s ease, background-color 0.5s ease;
}

nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.nav-left,
.nav-right {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    gap: 25px;
    align-items: center;
    flex: 1;
}

.nav-left {
    justify-content: flex-start;
}

.nav-right {
    justify-content: flex-end;
}

.logo {
    flex-shrink: 0;
    text-align: center;
}

.logo a {
    display: flex;
    align-items: center;
}

.logo a img {
    height: 45px;
    width: auto;
    display: block;
    filter: drop-shadow(0 0 6px var(--glow-color));
    transition: filter 0.3s;
}

.logo a:hover img {
    filter: drop-shadow(0 0 12px var(--primary-light));
}

.nav-links a {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-weight: 600;
    text-transform: uppercase;
    font-size: 0.9rem;
    transition: color 0.3s;
    position: relative;
    white-space: nowrap;
    letter-spacing: 1px;
}

.nav-links a::after {
    content: '';
    position: absolute;
    bottom: -6px;
    left: 50%;
    width: 0;
    height: 2px;
    background-color: var(--primary);
    transition: width 0.3s ease, left 0.3s ease, box-shadow 0.3s ease;
    box-shadow: 0 0 8px var(--primary);
}

.nav-links a:hover::after {
    width: 100%;
    left: 0;
}

.nav-links a:hover {
    color: var(--text-light);
}

/* --- Floating Theme Switcher Widget --- */
.floating-theme-switcher {
    position: fixed;
    bottom: 25px;
    left: 25px;
    z-index: 998;
    display: flex;
    align-items: center;
    background-color: rgba(10, 10, 12, 0.9);
    border: 1px solid var(--border-color);
    padding: 8px;
    border-radius: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5), 0 0 15px var(--glow-color);
    backdrop-filter: blur(8px);
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.floating-theme-switcher:hover {
    border-color: var(--primary);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6), 0 0 25px var(--primary);
}

.switcher-toggle-btn {
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background-color: var(--primary);
    color: var(--text-light);
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: transform 0.3s ease, background-color 0.3s ease;
    box-shadow: 0 0 10px var(--glow-color);
    outline: none;
}

.floating-theme-switcher:hover .switcher-toggle-btn {
    transform: rotate(360deg);
}

.theme-options {
    display: flex;
    gap: 8px;
    width: 0;
    overflow: hidden;
    opacity: 0;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    padding-left: 0;
    align-items: center;
}

.floating-theme-switcher:hover .theme-options,
.floating-theme-switcher.active .theme-options {
    width: 105px;
    opacity: 1;
    padding-left: 10px;
    padding-right: 5px;
    overflow: visible;
}

.theme-btn {
    width: 18px;
    height: 18px;
    border-radius: 50%;
    border: 2px solid transparent;
    cursor: pointer;
    padding: 0;
    transition: transform 0.2s ease, border-color 0.2s ease, box-shadow 0.2s ease;
    outline: none;
    flex-shrink: 0;
}

.theme-btn:hover {
    transform: scale(1.25);
}

.theme-btn.active {
    border-color: var(--text-light);
    transform: scale(1.15);
    box-shadow: 0 0 8px var(--text-light);
}

/* --- Reusable High-Octane Buttons --- */
.btn, .subscription-btn, .tour-btn {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light) !important;
    text-decoration: none;
    border: 2px solid var(--primary);
    padding: 12px 28px;
    font-family: var(--font-heading);
    font-size: 0.95rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    cursor: pointer;
    border-radius: 0px;
    transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
    position: relative;
    overflow: hidden;
    clip-path: polygon(0 0, 100% 0, 100% 85%, 92% 100%, 0 100%);
}

.btn:hover, .subscription-btn:hover {
    background-color: transparent;
    color: var(--primary) !important;
    border-color: var(--primary);
    box-shadow: 0 0 15px var(--glow-color);
    transform: translateY(-2px);
}

.btn:active, .subscription-btn:active {
    transform: translateY(0);
}

.tour-btn {
    background-color: transparent;
    border-color: var(--border-color);
    color: var(--text-light) !important;
}

.tour-btn:hover {
    background-color: var(--primary);
    border-color: var(--primary);
    color: var(--text-light) !important;
    box-shadow: 0 0 15px var(--glow-color);
}

/* --- Hero Section --- */
.hero {
    background: linear-gradient(rgba(10, 10, 12, 0.65), rgba(10, 10, 12, 0.9)),
                url('https://images.unsplash.com/photo-1522158637959-30385a09e0da?w=1600&q=80');
    background-size: cover;
    background-position: center;
    height: 85vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.hero-content h1 {
    font-family: var(--font-display);
    font-size: 7.5rem;
    margin: 10px 0 15px;
    text-transform: uppercase;
    letter-spacing: 6px;
    background: linear-gradient(135deg, #ffffff 30%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 15px var(--glow-color));
    animation: metalGlow 3s infinite alternate;
}

@keyframes metalGlow {
    0% {
        filter: drop-shadow(0 0 10px var(--glow-color));
    }
    100% {
        filter: drop-shadow(0 0 25px var(--primary));
    }
}

.hero-content p {
    font-family: var(--font-heading);
    font-size: 1.4rem;
    max-width: 600px;
    margin: 0 auto 35px;
    opacity: 0.9;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.endorsement-badge {
    display: inline-block;
    font-family: 'Permanent Marker', cursive;
    color: var(--gold-accent);
    font-size: 1.8rem;
    transform: rotate(-3deg);
    text-shadow: 2px 2px 0px #000;
    margin-bottom: 10px;
    animation: pulse 2s infinite alternate;
}

@keyframes pulse {
    0% { transform: rotate(-3deg) scale(1); }
    100% { transform: rotate(-3deg) scale(1.05); }
}

/* --- General Content Sections --- */
.section {
    padding: 80px 0;
}

.section-title {
    text-align: center;
    margin-bottom: 50px;
    font-family: var(--font-display);
    font-size: 4rem;
    color: var(--text-light);
    text-transform: uppercase;
    letter-spacing: 2px;
    position: relative;
    background: linear-gradient(to right, #ffffff 40%, var(--primary) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.section-title::after {
    content: '';
    display: block;
    width: 100px;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--primary), transparent);
    margin: 10px auto 0;
    box-shadow: 0 0 8px var(--primary);
}

/* --- Home Page: About Section --- */
.about-content {
    display: flex;
    align-items: center;
    gap: 40px;
}

.about-text {
    flex: 1;
    line-height: 1.8;
    font-size: 1.05rem;
    color: var(--text-muted);
}

.about-text p {
    margin-bottom: 20px;
}

.about-image {
    flex: 1;
    max-width: 600px;
}

.about-image img {
    width: 100%;
    height: auto;
    border: 2px solid var(--border-color);
    filter: grayscale(0.5);
    transition: all 0.4s ease;
    clip-path: polygon(0 0, 100% 0, 100% 90%, 93% 100%, 0 100%);
}

.about-image img:hover {
    filter: grayscale(0);
    border-color: var(--primary);
    transform: scale(1.02);
    box-shadow: 0 10px 25px var(--glow-color);
}

/* --- Grids --- */
.tour-grid, .members-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
    gap: 30px;
}

.tour-card, .member-card, .gear-card {
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
    clip-path: polygon(0 0, 100% 0, 100% 93%, 93% 100%, 0 100%);
    text-decoration: none;
    color: inherit;
    display: block;
}

.tour-card:hover, .member-card:hover, .gear-card:hover {
    transform: translateY(-8px) scale(1.01);
    border-color: var(--primary);
    box-shadow: 0 15px 30px var(--glow-color);
}

/* --- Tours Page --- */
.tour-card {
    overflow: hidden;
}

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

.tour-card:hover img {
    transform: scale(1.08);
}

.tour-card-content {
    padding: 25px;
}

.tour-card h3 {
    margin: 0 0 5px;
    color: var(--primary);
    font-family: var(--font-heading);
    font-size: 1.4rem;
    letter-spacing: 0.5px;
    transition: color 0.3s;
}

.tour-card:hover h3 {
    color: var(--text-light);
}

.tour-meta {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.85rem;
    margin: 15px 0;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

.tour-description {
    margin: 20px 0;
    line-height: 1.6;
    font-size: 0.95rem;
    color: var(--text-muted);
}

/* --- Members Page --- */
.member-card {
    overflow: hidden;
    text-align: center;
}

.member-card img {
    width: 100%;
    height: 300px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s, filter 0.5s;
    filter: grayscale(0.6);
}

.member-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0);
}

.member-card h3 {
    color: var(--primary);
    margin: 20px 0 5px;
    font-size: 1.6rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    transition: color 0.3s;
}

.member-card:hover h3 {
    color: var(--text-light);
}

.member-role {
    color: var(--text-muted);
    font-size: 0.85rem;
    margin-bottom: 15px;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    font-family: var(--font-heading);
}

.member-bio {
    padding: 0 20px 25px;
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-muted);
}

.twitch-embed {
    margin: 30px auto;
    max-width: 800px;
    height: 450px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    border-radius: 0px;
    padding: 20px;
    display: flex;
    flex-direction: column;
}

.twitch-embed h3 {
    text-align: center;
    color: var(--primary);
    margin: 0 0 20px;
    font-family: var(--font-heading);
    font-size: 1.6rem;
    text-transform: uppercase;
}

.instagram-feed {
    margin: 0 auto;
    max-width: 800px;
    min-height: 500px;
}

.instagram-feed iframe {
    width: 100% !important;
    border: none !important;
    overflow: hidden !important;
}

/* --- History Page Timeline (Fretboard) --- */
.history-timeline {
    position: relative;
    max-width: 800px;
    margin: 0 auto;
    padding: 60px 0;
}

.history-timeline::before {
    content: '';
    position: absolute;
    width: 28px;
    background: linear-gradient(90deg, #181512, #2a241e, #181512);
    border-left: 2px solid #5a5045;
    border-right: 2px solid #5a5045;
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    box-shadow: inset 0 0 10px #000, 0 5px 15px rgba(0,0,0,0.5);
    z-index: 1;
}

.history-timeline::after {
    content: '';
    position: absolute;
    width: 6px;
    background: repeating-linear-gradient(
        90deg,
        #888,
        #888 1px,
        transparent 1px,
        transparent 2px
    );
    top: 0;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    z-index: 2;
    opacity: 0.6;
}

.history-item {
    padding: 30px 0;
    position: relative;
    display: flex;
    align-items: center;
    gap: 50px;
    z-index: 3;
}

.history-item:nth-child(odd) {
    flex-direction: row;
}

.history-item:nth-child(even) {
    flex-direction: row-reverse;
}

.history-dot {
    position: absolute;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: radial-gradient(circle, #f0f0f0 10%, #bfbfbf 70%, #888888 100%);
    border: 2px solid #444;
    z-index: 4;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.7);
    transition: all 0.3s ease;
}

.history-item:hover .history-dot {
    background: radial-gradient(circle, #ffffff 20%, var(--primary-light) 60%, var(--primary) 100%);
    box-shadow: 0 0 15px var(--primary);
    border-color: var(--text-light);
    transform: translate(-50%, -50%) scale(1.3);
}

.history-content {
    flex: 1;
    padding: 30px;
    background-color: var(--card-bg);
    border: 1px solid var(--border-color);
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 93% 100%, 0 100%);
    transition: border-color 0.3s, box-shadow 0.3s;
}

.history-item:hover .history-content {
    border-color: var(--primary);
    box-shadow: 0 10px 25px var(--glow-color);
}

.history-content h3 {
    color: var(--primary);
    margin-top: 0;
    font-family: var(--font-heading);
    font-size: 1.5rem;
    letter-spacing: 1px;
    transition: color 0.3s;
}

.history-item:hover .history-content h3 {
    color: var(--text-light);
}

.history-image {
    flex: 1;
    max-width: 380px;
}

.history-image img {
    width: 100%;
    height: 220px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    transition: all 0.4s ease;
    filter: grayscale(0.5);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 93% 100%, 0 100%);
}

.history-item:hover .history-image img {
    border-color: var(--primary);
    filter: grayscale(0);
    transform: scale(1.03);
}

/* --- Member Gear Pages --- */
.member-hero {
    background-size: cover;
    background-position: center;
    height: 50vh;
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    position: relative;
}

.member-hero::before {
    content: '';
    position: absolute;
    top:0; left:0; width:100%; height:100%;
    background: linear-gradient(rgba(10, 10, 12, 0.5), rgba(10, 10, 12, 0.9));
    z-index: 1;
}

.member-hero > div {
    position: relative;
    z-index: 2;
}

.member-hero h1 {
    font-family: var(--font-display);
    font-size: 5rem;
    margin: 0 0 10px;
    text-transform: uppercase;
    letter-spacing: 2px;
    background: linear-gradient(135deg, #ffffff 40%, var(--primary-light) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 10px var(--glow-color));
}

.member-hero .member-role {
    font-size: 1.3rem;
    color: var(--text-light);
    font-family: var(--font-heading);
    letter-spacing: 2px;
}

.member-intro {
    display: flex;
    align-items: center;
    gap: 40px;
    margin-bottom: 60px;
}

.member-intro-text {
    flex: 1;
    font-size: 1.05rem;
    line-height: 1.8;
    color: var(--text-muted);
}

.member-intro-image {
    flex: 0 0 350px;
}

.member-intro-image img {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border: 2px solid var(--border-color);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 90% 100%, 0 100%);
}

.gear-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 30px;
    margin-top: 40px;
}

.gear-card img {
    width: 100%;
    height: 250px;
    object-fit: cover;
    display: block;
    transition: transform 0.5s, filter 0.5s;
    filter: grayscale(0.5);
}

.gear-card:hover img {
    transform: scale(1.08);
    filter: grayscale(0);
}

.gear-card-content {
    padding: 25px;
}

.gear-card h3 {
    color: var(--primary);
    font-family: var(--font-heading);
    margin: 0 0 5px;
    font-size: 1.3rem;
    text-transform: uppercase;
}

.gear-card .gear-brand {
    color: var(--text-muted);
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin-bottom: 15px;
    font-family: var(--font-heading);
}

.gear-card p {
    font-size: 0.9rem;
    line-height: 1.6;
    margin: 0;
    color: var(--text-muted);
}

.member-quote {
    max-width: 750px;
    margin: 60px auto;
    text-align: center;
    padding: 40px;
    border-left: 4px solid var(--primary);
    background-color: var(--card-bg);
    clip-path: polygon(0 0, 100% 0, 100% 90%, 95% 100%, 0 100%);
    box-shadow: 0 8px 20px rgba(0,0,0,0.3);
}

.member-quote p {
    font-family: 'Permanent Marker', cursive;
    font-size: 1.4rem;
    color: var(--text-light);
    margin: 0;
    line-height: 1.6;
}

.member-quote cite {
    display: block;
    margin-top: 15px;
    color: var(--text-muted);
    font-style: normal;
    font-size: 0.95rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
}

/* --- Gated Content Modal (Backstage Pass) --- */
.hidden-section {
    display: none;
    position: fixed;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: linear-gradient(135deg, #18181c 0%, #0d0d0f 100%) !important;
    border: 3px solid var(--gold-accent);
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.8), 0 0 30px var(--glow-color);
    z-index: 1000;
    max-width: 420px;
    width: 90%;
    overflow: visible;
    padding: 40px 30px;
    text-align: center;
    clip-path: polygon(0 0, 100% 0, 100% 95%, 95% 100%, 0 100%);
}

.hidden-section::before {
    content: '';
    position: absolute;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 12px;
    background-color: #000;
    border-radius: 6px;
    border: 2px solid #333;
}

.hidden-section.active {
    display: block;
    animation: modalSlideIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

@keyframes modalSlideIn {
    0% {
        opacity: 0;
        transform: translate(-50%, -45%) scale(0.9) rotateX(-10deg);
    }
    100% {
        opacity: 1;
        transform: translate(-50%, -50%) scale(1) rotateX(0deg);
    }
}

.close-hidden {
    position: absolute;
    top: -15px;
    right: -15px;
    background-color: var(--primary);
    color: var(--text-light);
    border: 2px solid var(--text-light);
    width: 32px;
    height: 32px;
    border-radius: 50%;
    cursor: pointer;
    font-weight: bold;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 10px rgba(0,0,0,0.5);
    transition: transform 0.2s ease, background-color 0.2s ease;
}

.close-hidden:hover {
    background-color: var(--primary-light);
    transform: scale(1.1);
}

#hidden-title {
    font-family: var(--font-display);
    font-size: 2.8rem;
    color: var(--gold-accent);
    margin: 15px 0 5px;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-shadow: 0 0 10px rgba(255, 215, 0, 0.3);
}

.vip-badge {
    display: inline-block;
    background-color: var(--primary);
    color: var(--text-light);
    font-family: var(--font-display);
    font-size: 1.5rem;
    padding: 4px 20px;
    letter-spacing: 3px;
    text-transform: uppercase;
    transform: rotate(-3deg);
    margin: 10px 0 20px;
    box-shadow: 3px 3px 0px #000;
}

#hidden-content p {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.5;
    margin-bottom: 15px;
}

#hidden-content ul {
    text-align: left;
    list-style: none;
    padding: 0;
    margin: 20px 0;
}

#hidden-content li {
    font-size: 0.95rem;
    margin-bottom: 8px;
    position: relative;
    padding-left: 20px;
    font-family: var(--font-heading);
    text-transform: uppercase;
    color: var(--text-light);
}

#hidden-content li::before {
    content: '⚡';
    position: absolute;
    left: 0;
    color: var(--gold-accent);
}

.price-tag {
    font-family: var(--font-display);
    font-size: 2.2rem;
    color: var(--text-light);
    margin: 15px 0;
}

.price-tag span {
    color: var(--gold-accent);
}

.barcode {
    height: 40px;
    background: repeating-linear-gradient(
        90deg,
        #fff,
        #fff 2px,
        #000 2px,
        #000 4px,
        #fff 4px,
        #fff 6px,
        #000 6px,
        #000 10px
    );
    margin-top: 25px;
    opacity: 0.4;
}

.overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    z-index: 999;
    backdrop-filter: blur(4px);
}

.overlay.active {
    display: block;
}

/* --- Footer --- */
footer {
    background-color: #040405;
    padding: 50px 0;
    border-top: 2px solid var(--border-color);
    text-align: center;
    flex-shrink: 0;
    transition: border-color 0.5s ease;
}

footer p {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: var(--font-heading);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.social-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 25px;
}

.social-links a {
    color: var(--text-muted);
    font-family: var(--font-heading);
    text-decoration: none;
    font-size: 1.1rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: color 0.3s, transform 0.2s;
}

.social-links a:hover {
    color: var(--primary);
    transform: scale(1.1);
}

/* --- Hamburger Menu Button --- */
.hamburger {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
    z-index: 110;
}

.hamburger span {
    display: block;
    width: 28px;
    height: 3px;
    background-color: var(--text-light);
    transition: all 0.3s ease;
    border-radius: 2px;
}

.hamburger.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 6px);
}

.hamburger.active span:nth-child(2) {
    opacity: 0;
}

.hamburger.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -6px);
}

/* --- Mobile Navigation Drawer --- */
body.nav-open {
    overflow: hidden;
}

.nav-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
    z-index: 99;
    opacity: 0;
    visibility: hidden;
    cursor: pointer;
    transition: opacity 0.4s ease, visibility 0.4s ease;
}

.nav-backdrop.active {
    opacity: 1;
    visibility: visible;
}

.mobile-nav-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: min(320px, 85%);
    height: 100vh;
    height: 100dvh;
    background-color: rgba(10, 10, 12, 0.98);
    z-index: 105;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    justify-content: space-evenly;
    gap: clamp(24px, 6vh, 56px);
    padding: clamp(24px, 6vh, 64px) 30px;
    overflow-y: auto;
    -webkit-overflow-scrolling: touch;
    transform: translateX(-100%);
    visibility: hidden;
    transition: transform 0.45s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.45s ease;
    backdrop-filter: blur(10px);
}

.mobile-nav-overlay.active {
    transform: translateX(0);
    visibility: visible;
}

.mobile-nav-overlay a,
.mobile-nav-overlay .subscription-btn {
    color: var(--text-light);
    text-decoration: none;
    font-family: var(--font-heading);
    font-size: 1.8rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    transform: translateY(20px);
    opacity: 0;
    transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.4s ease, color 0.3s ease;
}

.mobile-nav-overlay.active a,
.mobile-nav-overlay.active .subscription-btn {
    transform: translateY(0);
    opacity: 1;
}

/* Staggered transition delays for overlay links */
.mobile-nav-overlay.active a:nth-child(1) { transition-delay: 0.05s; }
.mobile-nav-overlay.active a:nth-child(2) { transition-delay: 0.1s; }
.mobile-nav-overlay.active a:nth-child(3) { transition-delay: 0.15s; }
.mobile-nav-overlay.active a:nth-child(4) { transition-delay: 0.2s; }
.mobile-nav-overlay.active a:nth-child(5) { transition-delay: 0.25s; }
.mobile-nav-overlay.active .subscription-btn { transition-delay: 0.3s; }

.mobile-nav-overlay a:hover {
    color: var(--primary);
}

.mobile-nav-overlay .subscription-btn {
    font-size: 1.1rem;
    margin-top: 10px;
}

/* --- Responsive --- */
@media (max-width: 768px) {
    .nav-links {
        display: none;
    }

    .hamburger {
        display: flex;
    }

    .hero-content h1 {
        font-size: 4rem;
        letter-spacing: 3px;
    }

    .endorsement-badge {
        font-size: 1.3rem;
    }

    .about-content {
        flex-direction: column;
    }

    .about-image {
        max-width: 100%;
    }

    .tour-grid, .members-grid {
        grid-template-columns: 1fr;
    }

    .history-timeline::before {
        left: 20px;
    }

    .history-timeline::after {
        left: 20px;
    }

    .history-dot {
        left: 20px;
    }

    .history-item {
        flex-direction: column !important;
        align-items: flex-start;
        padding-left: 45px;
        gap: 15px;
    }

    .history-image {
        max-width: 100%;
    }

    .twitch-embed {
        height: 300px;
    }

    .social-links {
        flex-wrap: wrap;
        gap: 15px;
    }

    .social-links a {
        font-size: 0.95rem;
    }

    .section-title {
        font-size: 2.8rem;
    }

    .hidden-section {
        max-width: 95%;
        padding: 30px 20px;
    }

    .member-hero {
        height: 40vh;
    }

    .member-hero h1 {
        font-size: 2.8rem;
    }

    .member-intro {
        flex-direction: column;
        gap: 25px;
        margin-bottom: 40px;
    }

    .member-intro-image {
        flex: 0 0 auto;
        width: 100%;
    }

    .member-intro-image img {
        height: 280px;
    }

    .gear-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }

    .gear-card img {
        height: 200px;
    }

    .member-card img {
        height: 240px;
    }

    .member-quote {
        padding: 25px 20px;
    }

    .member-quote p {
        font-size: 1.15rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .section-title {
        font-size: 2.2rem;
    }

    .hero-content h1 {
        font-size: 3rem;
        letter-spacing: 2px;
    }

    .member-hero {
        height: 35vh;
    }

    .member-hero h1 {
        font-size: 2.1rem;
    }

    .member-hero .member-role {
        font-size: 1rem;
    }

    .member-intro-image img {
        height: 220px;
    }

    .gear-card img {
        height: 180px;
    }

    .member-card img {
        height: 200px;
    }

    .member-quote {
        padding: 20px 15px;
    }

    .member-quote p {
        font-size: 1rem;
    }
}
