/* Possum Party - 90's Punk Retro Theme */

/* Variables */
:root {
    --color-black: #121212;
    --color-dark-grey: #222222;
    --color-medium-grey: #555555;
    --color-light-grey: #DDDDDD;
    --color-white: #FFFFFF;
    --color-red: #FF3C3C;
    --color-yellow: #FFD60A;
    --color-pink: #FF6BC1;
    --font-main: 'Courier New', monospace;
    --font-display: 'Impact', sans-serif;
}

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

html, body {
    background-color: var(--color-black);
    color: var(--color-white);
    font-family: var(--font-main);
    line-height: 1.6;
    overflow-x: hidden;
}

a {
    color: var(--color-light-grey);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--color-yellow);
}

ul {
    list-style: none;
}

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

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

h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--color-red);
}

h3 {
    font-size: 1.5rem;
    margin: 1.5rem 0 1rem;
    color: var(--color-yellow);
}

p {
    margin-bottom: 1rem;
}

/* Header */
header {
    padding: 2rem 0;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo {
    display: flex;
    align-items: center;
    animation: flicker 10s infinite alternate;
    transition: all 0.3s ease;
}

.logo:hover,
.logo.logo-active {
    transform: scale(1.08) rotate(-1deg);
}

.logo:hover .logo-banner,
.logo.logo-active .logo-banner {
    filter: brightness(1.8) contrast(1.5) saturate(1.4) 
            drop-shadow(3px 3px 0 rgba(255, 60, 60, 0.8)) 
            drop-shadow(-2px -2px 0 rgba(255, 215, 10, 0.7)) 
            drop-shadow(0px 3px 0 rgba(255, 107, 193, 0.6))
            drop-shadow(0 0 12px rgba(255, 255, 255, 0.5))
            drop-shadow(0 0 18px rgba(255, 60, 60, 0.4))
            drop-shadow(0 0 24px rgba(255, 215, 10, 0.3))
            drop-shadow(0 0 30px rgba(255, 107, 193, 0.2));
}

.logo-banner {
    height: 12rem;
    width: auto;
    max-width: 100%;
    object-fit: contain;
    /* Normalized brightness with subtle punk effects */
    filter: brightness(1.4) contrast(1.3) saturate(1.2) 
            drop-shadow(2px 2px 0 rgba(255, 60, 60, 0.6)) 
            drop-shadow(-1px -1px 0 rgba(255, 215, 10, 0.5)) 
            drop-shadow(0px 2px 0 rgba(255, 107, 193, 0.4))
            drop-shadow(0 0 8px rgba(255, 255, 255, 0.3))
            drop-shadow(0 0 12px rgba(255, 60, 60, 0.2))
            drop-shadow(0 0 16px rgba(255, 215, 10, 0.15))
            drop-shadow(0 0 20px rgba(255, 107, 193, 0.1));
    /* Removed jagged edges to allow glow effect to fade naturally */
    transition: all 0.3s ease;
}

nav ul {
    display: flex;
    gap: 2rem;
}

nav a {
    font-size: 1.2rem;
    font-weight: bold;
    text-transform: uppercase;
    position: relative;
    padding: 0.5rem 0;
}

nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: var(--color-yellow);
    transition: width 0.3s ease;
}

nav a:hover::after {
    width: 100%;
}

/* Hero Section */
.hero {
    padding: 2rem 0 5rem;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* CRT TV */
.crt-tv {
    width: 100%;
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.tv-frame {
    background: linear-gradient(145deg, #2a2a2a 0%, #1a1a1a 100%);
    border-radius: clamp(20px, 5vw, 40px);
    border: clamp(5px, 2vw, 15px) solid var(--color-black);
    box-shadow: 
        0 0 20px rgba(0, 0, 0, 0.7),
        inset 0 0 10px rgba(0, 0, 0, 0.8),
        0 5px 15px rgba(255, 255, 255, 0.1);
    padding: clamp(10px, 3vw, 25px);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    touch-action: none; /* Prevent touch scrolling */
}

.tv-frame::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(145deg, 
        rgba(255, 255, 255, 0.1) 0%, 
        rgba(255, 255, 255, 0.05) 50%, 
        rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    border-radius: 25px;
}

.tv-screen {
    background-color: var(--color-black);
    aspect-ratio: 4/3;
    border-radius: clamp(15px, 4vw, 60px);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    border: clamp(4px, 1vw, 8px) solid #1a1a1a;
    box-shadow: 
        inset 0 0 50px rgba(0, 0, 0, 0.8),
        inset 0 0 20px rgba(255, 255, 255, 0.1),
        0 0 15px rgba(0, 0, 0, 0.5);
    scroll-behavior: smooth;
    -webkit-overflow-scrolling: touch;
    touch-action: auto !important;
    pointer-events: auto !important;
}

.tv-screen::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        linear-gradient(to bottom, 
            rgba(255, 255, 255, 0.15) 0%, 
            rgba(255, 255, 255, 0.05) 20%,
            rgba(255, 255, 255, 0) 100%);
    pointer-events: none;
    z-index: 3;
    border-radius: clamp(12px, 3.5vw, 52px);
}

.tv-screen::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 2;
    opacity: 0.4;
}

.channel {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow: auto;
    padding: 2rem;
    z-index: 1;
}

.channel.active {
    opacity: 1;
    visibility: visible;
}

/* Tour Dates Channel */
.channel-tour {
    background-color: var(--color-black);
}

.tour-dates li {
    display: flex;
    flex-direction: column;
    margin-bottom: 2rem;
    padding: 2rem;
    border: 2px solid var(--color-medium-grey);
    border-radius: 12px;
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.6), rgba(0, 0, 0, 0.4));
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.tour-dates li::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, var(--color-yellow), var(--color-pink), var(--color-red));
    opacity: 0;
    transition: opacity 0.3s ease;
}

.tour-dates li:hover {
    border-color: var(--color-yellow);
    background: linear-gradient(135deg, rgba(0, 0, 0, 0.8), rgba(0, 0, 0, 0.6));
    transform: translateY(-4px);
    box-shadow: 
        0 8px 24px rgba(255, 215, 10, 0.3),
        0 4px 12px rgba(0, 0, 0, 0.4);
}

.tour-dates li:hover::before {
    opacity: 1;
}

.tour-dates .date {
    color: var(--color-yellow);
    font-weight: bold;
    font-size: 2.2rem;
    margin-bottom: 1rem;
    font-family: 'Silkscreen', monospace;
    text-shadow: 
        2px 2px 0 rgba(255, 215, 10, 0.8),
        0 0 12px rgba(255, 215, 10, 0.6),
        0 0 24px rgba(255, 215, 10, 0.3);
    line-height: 1.2;
}

.tour-dates .venue {
    color: var(--color-white);
    font-size: 1.6rem;
    margin-bottom: 1rem;
    font-weight: bold;
    text-shadow: 
        1px 1px 2px rgba(0, 0, 0, 0.8),
        0 0 8px rgba(255, 255, 255, 0.2);
    line-height: 1.3;
}

.tour-dates .location {
    color: var(--color-light-grey);
    font-size: 1.2rem;
    text-align: left;
    margin-top: 0.5rem;
}

.tour-dates .location a {
    color: var(--color-yellow);
    text-decoration: none;
    font-weight: bold;
    transition: all 0.3s ease;
}

.tour-dates .location a:hover {
    color: var(--color-pink);
    text-shadow: 0 0 8px rgba(255, 107, 193, 0.6);
    transform: scale(1.05);
}

/* Social Media Channel */
.channel-social {
    text-align: center;
    padding: 2rem;
}

.channel-social h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-pink);
    text-shadow: 
        2px 2px 0 rgba(255, 107, 193, 0.8),
        0 0 10px rgba(255, 107, 193, 0.6),
        0 0 20px rgba(255, 107, 193, 0.4);
    font-family: 'Silkscreen', monospace;
    letter-spacing: 2px;
}

.social-links {
    list-style: none;
    padding: 0;
    margin: 30px 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    pointer-events: auto !important;
    touch-action: auto !important;
    z-index: 22;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 15px auto;
    padding: 10px 15px;
    text-decoration: none;
    color: rgba(255, 255, 255, 0.9);
    background-color: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.5);
    font-family: 'Silkscreen', monospace;
    font-size: 18px;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

/* Spotify-specific styling */
.social-link.spotify:hover {
    background-color: rgba(29, 185, 84, 0.2); /* Spotify Green */
    border-color: #1DB954;
    color: #1DB954;
    transform: scale(1.05) rotate(-1deg);
}

.social-link.spotify:hover svg path {
    fill: #1DB954;
}

/* Color theme for social links */
.social-link:nth-child(3n+1):hover {
    background-color: rgba(255, 107, 193, 0.2); /* Pink */
    border-color: var(--color-pink);
    color: var(--color-pink);
    transform: scale(1.05);
}

.social-link:nth-child(3n+2):hover {
    background-color: rgba(255, 214, 10, 0.2); /* Yellow */
    border-color: var(--color-yellow);
    color: var(--color-yellow);
    transform: scale(1.05);
}

.social-link:nth-child(3n+3):hover {
    background-color: rgba(255, 60, 60, 0.2); /* Red */
    border-color: var(--color-red);
    color: var(--color-red);
    transform: scale(1.05);
}

.social-link svg, .social-link img {
    margin-right: 10px;
    width: 24px;
    height: 24px;
    transition: all 0.3s ease;
}

/* SVG fill color change on hover */
.social-link:nth-child(3n+1):hover svg path {
    fill: var(--color-pink);
}

.social-link:nth-child(3n+2):hover svg path {
    fill: var(--color-yellow);
}

.social-link:nth-child(3n+3):hover svg path {
    fill: var(--color-red);
}

/* YouTube Channel */
.channel-youtube {
    background-color: black;
    padding: 0;
    z-index: 1;
    pointer-events: auto !important;
    touch-action: auto !important;
}

.youtube-embed {
    position: relative;
    width: 100%;
    height: 100%;
    overflow: hidden;
}

.youtube-embed iframe {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    z-index: 20; /* Lower than effects */
}

/* CRT Effects */
.crt-effects {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 30;
    overflow: hidden;
}

.crt-scanlines {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: repeating-linear-gradient(
        0deg,
        rgba(0, 0, 0, 0.15),
        rgba(0, 0, 0, 0.15) 1px,
        transparent 1px,
        transparent 2px
    );
    pointer-events: none;
    z-index: 31;
    transition: background 0.3s ease;
}

.crt-flicker {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.02);
    opacity: 0;
    mix-blend-mode: overlay;
    pointer-events: none;
    z-index: 32;
    animation: flicker 0.15s infinite;
}

.crt-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    mix-blend-mode: screen;
    opacity: 0.4;
    pointer-events: none;
    z-index: 33;
    transition: opacity 0.3s ease;
}

/* Power-on effect remains highest */
.power-on {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    z-index: 35;
    pointer-events: none;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.power-on.hidden {
    opacity: 0;
}

.power-dot {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 4px;
    background: white;
    transform: translate(-50%, -50%);
    border-radius: 50%;
}

.power-line {
    position: absolute;
    top: 50%;
    left: 50%;
    height: 2px;
    background: white;
    transform: translate(-50%, -50%);
    width: 0;
}

.power-static {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: black;
    opacity: 0;
}

.power-flash {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: white;
    opacity: 0;
}

@keyframes powerDot {
    0% { opacity: 0; }
    10% { opacity: 1; }
    100% { opacity: 1; }
}

@keyframes powerLine {
    0% { width: 0; }
    100% { width: 100%; }
}

@keyframes powerStatic {
    0% { opacity: 0; }
    100% { opacity: 1; }
}

@keyframes powerFlash {
    0% { opacity: 0; }
    50% { opacity: 1; }
    100% { opacity: 0; }
}

/* Shows Channel */
.channel-shows {
    overflow: auto !important;
    z-index: 20;
    pointer-events: auto !important;
    touch-action: auto !important;
    background-color: var(--color-black);
    padding: 2rem;
}

.channel-shows h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
    color: var(--color-red);
    text-shadow: 
        2px 2px 0 rgba(255, 60, 60, 0.8),
        0 0 10px rgba(255, 60, 60, 0.6),
        0 0 20px rgba(255, 60, 60, 0.4);
    font-family: 'Silkscreen', monospace;
    letter-spacing: 2px;
}

.show-dates {
    list-style: none;
    padding: 0;
    margin: 20px 0;
    position: relative;
    z-index: 22;
    pointer-events: auto !important;
    touch-action: auto !important;
}

.show-date {
    margin-bottom: 20px;
    padding: 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid var(--color-white);
    z-index: 25;
    position: relative;
    pointer-events: auto !important;
}

/* TV Controls */
.tv-controls {
    display: flex;
    justify-content: space-between;
    padding: clamp(5px, 2vw, 10px) clamp(10px, 3vw, 20px);
    position: relative;
}

.tv-knob-container {
    position: relative;
    width: clamp(70px, 10vw, 100px);
    height: clamp(70px, 10vw, 100px);
    margin: clamp(10px, 2vw, 20px);
    -webkit-user-select: none;
    user-select: none;
    touch-action: none;
}

.tv-controls-side {
    display: flex;
    flex-direction: column;
    gap: clamp(5px, 1.5vw, 10px);
    position: absolute;
    right: clamp(10px, 3vw, 20px);
    top: 50%;
    transform: translateY(-50%);
}

.side-knob {
    width: clamp(35px, 6vw, 45px);
    height: clamp(35px, 6vw, 45px);
    background-color: var(--color-dark-grey);
    border-radius: 50%;
    position: relative;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid var(--color-black);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
}

.side-knob:hover {
    transform: scale(1.1);
    background-color: var(--color-medium-grey);
}

.side-knob:active {
    transform: scale(0.95);
    background-color: var(--color-medium-grey);
}

.side-knob.plus::before,
.side-knob.plus::after {
    content: '';
    position: absolute;
    background-color: var(--color-yellow);
    border-radius: 2px;
}

.side-knob.plus::before {
    width: 50%;
    height: 10%;
    top: 45%;
    left: 25%;
}

.side-knob.plus::after {
    width: 10%;
    height: 50%;
    top: 25%;
    left: 45%;
}

.side-knob:not(.plus):not(.volume)::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 10%;
    background-color: var(--color-yellow);
    top: 45%;
    left: 25%;
    border-radius: 2px;
}

/* Volume Button */
.side-knob.volume {
    overflow: visible;
    position: relative;
}

.side-knob.volume::before {
    content: '';
    position: absolute;
    width: 50%;
    height: 50%;
    background-color: var(--color-yellow);
    top: 25%;
    left: 25%;
    /* Classic speaker shape */
    clip-path: polygon(
        0 30%,   /* Left top */
        40% 30%, /* Speaker top */
        80% 10%, /* Triangle top */
        80% 90%, /* Triangle bottom */
        40% 70%, /* Speaker bottom */
        0 70%    /* Left bottom */
    );
    transition: all 0.3s ease;
}

/* Only show after element when muted */
.side-knob.volume.muted::after {
    content: '';
    position: absolute;
    width: 60%;
    height: 60%;
    top: 20%;
    left: 20%;
    background-color: var(--color-red);
    clip-path: polygon(
        20% 20%,  /* Start */
        35% 20%,  /* Top right of first line */
        80% 65%,  /* Bottom right of first line */
        80% 80%,  /* Bottom right corner */
        65% 80%,  /* Bottom right of second line */
        20% 35%   /* Top left of second line */
    );
    opacity: 1;
    transition: all 0.3s ease;
}

.side-knob.volume.muted::before {
    background-color: var(--color-red);
}

/* Channel Labels */
.channel-markers {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
}

.channel-label {
    position: absolute;
    font-family: 'Silkscreen', monospace;
    font-size: clamp(14px, 2vw, 16px);
    color: #FFD700;
    text-shadow: 2px 2px 2px rgba(0, 0, 0, 0.8);
    pointer-events: none;
}

/* Position channel labels */
.ch1 {
    bottom: -8px;
    left: -2px;
    transform: translate(-75%, 0);
}

.ch2 {
    top: -5px;
    left: 50%;
    transform: translate(-50%, -75%);
}

.ch3 {
    bottom: -8px;
    right: -2px;
    transform: translate(75%, 0);
}

/* Dial Indicator and Track */
.dial-track {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 80px;
    height: 80px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.2);
    pointer-events: none;
    z-index: 1;
}

.dial-track::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 70px;
    height: 70px;
    transform: translate(-50%, -50%);
    border-radius: 50%;
    border: 2px solid rgba(0, 0, 0, 0.3);
    background: radial-gradient(circle at center,
        rgba(0, 0, 0, 0.2) 0%,
        rgba(0, 0, 0, 0.1) 50%,
        transparent 70%
    );
    pointer-events: none;
}

.dial-indicator {
    position: absolute;
    top: 50%;
    left: 50%;
    width: 4px;
    height: 40px;
    background: linear-gradient(to bottom, #333 0%, #333 15%, var(--color-yellow) 15%, var(--color-yellow) 85%, #333 85%, #333 100%);
    transform-origin: bottom center;
    transform: translate(-50%, -100%) rotate(-150deg); /* Start at channel 1 */
    border-radius: 2px;
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
    pointer-events: none;
    z-index: 2;
    transition: transform 0.1s ease;
}

.dial-indicator::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 8px;
    height: 8px;
    background: #333;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgba(0, 0, 0, 0.5);
}

.dial-indicator::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    width: 12px;
    height: 12px;
    background: var(--color-yellow);
    border-radius: 50%;
    transform: translateX(-50%) translateY(-6px);
    box-shadow: 0 0 8px rgba(255, 215, 0, 0.7);
}

/* Knob Label */
.knob-label {
    position: absolute;
    bottom: -25px;
    left: 50%;
    transform: translateX(-50%);
    font-family: 'Silkscreen', monospace;
    font-size: 12px;
    color: #888;
    text-shadow: 1px 1px 1px rgba(0, 0, 0, 0.5);
    text-align: center;
    white-space: nowrap;
    letter-spacing: 1px;
    pointer-events: none;
}

/* jQuery Knob Custom Styling */
.tv-knob {
    cursor: grab !important;
    width: 100% !important;
    height: 100% !important;
}

.tv-knob + canvas {
    cursor: grab !important;
    border-radius: 50%;
    transition: transform 0.2s ease;
    width: 100% !important;
    height: 100% !important;
    /* Metallic gradient background */
    background: radial-gradient(circle at 40% 40%,
        #555 0%, 
        #444 30%,
        #333 60%,
        #222 100%
    );
    /* Ridged edge effect */
    border: 2px solid #222;
    box-shadow:
        inset 0 0 0 4px rgba(255, 255, 255, 0.1),
        inset 0 0 15px rgba(0, 0, 0, 0.5),
        0 5px 10px rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Knob Notch Indicator */
.tv-knob + canvas::after {
    content: '';
    position: absolute;
    top: 10%;
    left: 50%;
    width: 6px;
    height: 6px;
    background: #222;
    border: 1px solid #444;
    border-radius: 50%;
    transform: translateX(-50%);
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.tv-knob + canvas:active {
    cursor: grabbing !important;
    transform: scale(0.98);
    box-shadow:
        inset 0 0 0 4px rgba(255, 255, 255, 0.05),
        inset 0 0 20px rgba(0, 0, 0, 0.8),
        0 3px 8px rgba(0, 0, 0, 0.6);
}

.tv-knob + canvas::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    border-radius: 50%;
    background: repeating-conic-gradient(
        from 0deg,
        rgba(255, 255, 255, 0.1) 0deg 10deg,
        transparent 10deg 20deg
    );
    pointer-events: none;
}

/* TV Stand */
.tv-stand {
    height: 30px;
    width: 50%;
    margin: 0 auto;
    background-color: var(--color-dark-grey);
    border-radius: 5px;
    position: relative;
    z-index: -1;
}

/* About Page Styles */
.about-section {
    padding: 2rem 0;
    max-width: 1400px;
    margin: 0 auto;
}

.section-title {
    text-align: center;
    margin-bottom: 3rem;
    font-size: clamp(2rem, 4vw, 3rem);
    text-shadow: 3px 3px 0 var(--color-pink);
}

.band-image {
    margin-bottom: 3rem;
    text-align: center;
}

.band-banner {
    width: 100%;
    max-width: 900px;
    height: auto;
    display: block;
    margin: 0 auto;
    border-radius: 10px;
    box-shadow: 
        5px 5px 0 var(--color-red),
        -5px -5px 0 var(--color-yellow),
        10px 10px 15px rgba(0, 0, 0, 0.5);
}

.band-image-placeholder {
    display: none;
}

.about-content {
    max-width: 900px;
    margin: 0 auto;
    padding: 0 20px;
}

.band-members {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    margin: 3rem 0;
    justify-items: center;
}

.band-members li {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    text-align: center;
    width: 100%;
    position: relative;
}

/* Punk-style band member photos with jagged edges and shadows */
.member-photo {
    width: 100%;
    height: 0;
    padding-bottom: 100%; /* Square aspect ratio */
    max-width: 450px; /* Reasonable size for all screens */
    margin: 0 auto 2rem;
    position: relative;
    overflow: hidden;
    /* More extreme jagged edges */
    clip-path: polygon(
        0% 5%, 
        15% 0%, 
        35% 5%,
        45% 0%,
        70% 3%,
        85% 0%,
        95% 5%,
        100% 15%,
        95% 30%,
        100% 45%,
        95% 70%,
        100% 85%,
        95% 95%,
        80% 100%,
        50% 95%,
        30% 100%,
        10% 95%,
        0% 85%,
        5% 60%,
        0% 40%,
        5% 20%
    );
    transform: rotate(-3deg);
    transition: all 0.3s ease;
    /* Add individual drop shadows directly */
    box-shadow: 
        6px 6px 0 var(--color-red),
        -6px 6px 0 var(--color-yellow),
        0px -6px 0 var(--color-pink),
        10px 10px 15px rgba(0, 0, 0, 0.5);
    z-index: 1;
}

.member-photo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(255, 60, 60, 0.6), 
        rgba(255, 214, 10, 0.6), 
        rgba(255, 107, 193, 0.6));
    z-index: 2;
    opacity: 0.3;
    mix-blend-mode: overlay;
    transition: opacity 0.3s ease;
}

.member-photo img {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: contrast(1.2) saturate(1.2); /* Increased contrast */
}

.member-photo:hover {
    transform: rotate(0deg) scale(1.08);
    box-shadow: 
        10px 10px 0 var(--color-red),
        -10px 10px 0 var(--color-yellow),
        0px -10px 0 var(--color-pink),
        15px 15px 25px rgba(0, 0, 0, 0.7);
    z-index: 2;
}

.member-photo:hover::before {
    opacity: 0.6;
}

.member-photo:hover img {
    transform: scale(1.1);
}

.member-name {
    font-family: var(--font-display);
    font-size: 2.5rem; /* Increased from 2rem */
    color: var(--color-red);
    text-shadow: 3px 3px 0 var(--color-black);
    transform: rotate(-3deg);
    margin-bottom: 0.3rem;
    display: block;
}

.member-role {
    color: var(--color-yellow);
    font-weight: bold;
    font-size: 1.4rem; /* Increased from 1.2rem */
    letter-spacing: 1px;
    text-shadow: 1px 1px 0 var(--color-black);
    display: block;
}

.discography {
    margin: 3rem 0;
    padding: 1.5rem;
    background-color: rgba(34, 34, 34, 0.5);
    border-radius: 10px;
    border: 2px solid var(--color-medium-grey);
}

.discography li {
    display: flex;
    gap: 2rem;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 1px dashed var(--color-medium-grey);
}

.release-year {
    color: var(--color-yellow);
    font-weight: bold;
    min-width: 60px;
}

.release-title {
    color: var(--color-white);
}

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

/* Animations */
@keyframes flicker {
    0% {
        opacity: 0.9;
    }
    25% {
        opacity: 1.0;
    }
    50% {
        opacity: 0.85;
    }
    75% {
        opacity: 0.95;
    }
    100% {
        opacity: 0.9;
    }
}

@keyframes channelIn {
    0% {
        opacity: 0;
        transform: scale(0.8);
        filter: brightness(0);
    }
    100% {
        opacity: 1;
        transform: scale(1);
        filter: brightness(1);
    }
}

/* New Animations */
@keyframes scanlineWiggle {
    0% {
        transform: scaleY(1) skewX(0deg);
    }
    25% {
        transform: scaleY(1.1) skewX(1deg);
    }
    50% {
        transform: scaleY(0.9) skewX(-1deg);
    }
    75% {
        transform: scaleY(1.2) skewX(1.5deg);
    }
    100% {
        transform: scaleY(1) skewX(0deg);
    }
}

@keyframes poorSignal {
    0% {
        transform: scaleY(1) translateY(0);
    }
    25% {
        transform: scaleY(1.2) translateY(2px);
    }
    50% {
        transform: scaleY(0.8) translateY(-1px);
    }
    75% {
        transform: scaleY(1.1) translateY(1px);
    }
    100% {
        transform: scaleY(1) translateY(0);
    }
}

@keyframes colorShift {
    0% {
        filter: hue-rotate(0deg) saturate(1);
    }
    33% {
        filter: hue-rotate(120deg) saturate(1.5);
    }
    66% {
        filter: hue-rotate(240deg) saturate(2);
    }
    100% {
        filter: hue-rotate(360deg) saturate(1);
    }
}

@keyframes neonPulse {
    0% {
        filter: drop-shadow(3px 3px 0 var(--color-red)) 
                drop-shadow(-2px -2px 0 var(--color-yellow)) 
                drop-shadow(0px 4px 0 var(--color-pink))
                drop-shadow(0 0 20px rgba(255, 60, 60, 0.9))
                drop-shadow(0 0 40px rgba(255, 215, 10, 0.8))
                drop-shadow(0 0 60px rgba(255, 107, 193, 0.7));
    }
    50% {
        filter: drop-shadow(3px 3px 0 var(--color-red)) 
                drop-shadow(-2px -2px 0 var(--color-yellow)) 
                drop-shadow(0px 4px 0 var(--color-pink))
                drop-shadow(0 0 35px rgba(255, 60, 60, 1.0))
                drop-shadow(0 0 60px rgba(255, 215, 10, 1.0))
                drop-shadow(0 0 85px rgba(255, 107, 193, 0.9));
    }
    100% {
        filter: drop-shadow(3px 3px 0 var(--color-red)) 
                drop-shadow(-2px -2px 0 var(--color-yellow)) 
                drop-shadow(0px 4px 0 var(--color-pink))
                drop-shadow(0 0 20px rgba(255, 60, 60, 0.9))
                drop-shadow(0 0 40px rgba(255, 215, 10, 0.8))
                drop-shadow(0 0 60px rgba(255, 107, 193, 0.7));
    }
}

/* Responsive Styles */
@media (min-width: 1400px) {
    .container {
        max-width: 1400px;
    }
    
    .crt-tv {
        max-width: 1000px;
    }
    
    .band-members {
        grid-template-columns: repeat(3, 1fr);
        gap: 3rem;
        max-width: 1400px;
        margin: 3rem auto;
    }
    
    .section-title {
        font-size: 3rem;
    }
    
    .member-photo {
        max-width: 400px; /* Consistent size for desktop */
    }
}

@media (min-width: 769px) and (max-width: 1399px) {
    .band-members {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .member-photo {
        max-width: 300px;
    }
}

@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        gap: 1rem;
    }
    
    .logo-banner {
        height: 10rem; /* Medium size for tablets */
    }
    
    nav ul {
        justify-content: center;
    }
    
    .channel-shows {
        padding: 1rem;
    }

    .channel-shows h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .channel-social {
        padding: 1rem;
    }

    .channel-social h2 {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }

    .tour-dates li {
        flex-direction: column;
        gap: 0.5rem;
        margin-bottom: 1.5rem;
        padding: 1rem;
        border: 1px solid var(--color-medium-grey);
    }

    .tour-dates .date {
        font-size: 1.2rem;
        margin-bottom: 0.3rem;
    }

    .tour-dates .venue {
        font-size: 1rem;
        margin-bottom: 0.3rem;
    }

    .tour-dates .location {
        font-size: 0.9rem;
    }
    
    .tour-dates .date,
    .tour-dates .venue,
    .tour-dates .location {
        width: 100%;
        text-align: left;
    }
    
    .tv-screen {
        overflow: auto !important;
        -webkit-overflow-scrolling: touch;
        touch-action: auto !important;
    }
    
    .channel {
        overflow-y: auto !important;
        touch-action: auto !important;
    }
    
    .band-members {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 3rem;
    }
    
    .member-photo {
        max-width: 280px;
    }
    
    .tv-controls-side {
        right: clamp(5px, 2vw, 10px);
        gap: clamp(3px, 1vw, 5px);
    }
}

@media (max-width: 480px) {
    .logo {
        font-size: 2rem;
    }
    
    .logo-banner {
        height: 8rem; /* Smaller on mobile but still much larger than before */
    }
    
    nav ul {
        gap: 1rem;
    }
    
    .tv-frame {
        border-width: 5px;
        padding: 10px;
    }
    
    .tv-screen {
        border-radius: 20px;
    }
    
    .channel {
        padding: 1rem;
    }

    .channel-shows {
        padding: 0.8rem;
    }

    .channel-shows h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .channel-social {
        padding: 0.8rem;
    }

    .channel-social h2 {
        font-size: 1.5rem;
        margin-bottom: 0.8rem;
    }

    .tour-dates li {
        margin-bottom: 1rem;
        padding: 0.8rem;
    }

    .tour-dates .date {
        font-size: 1rem;
        margin-bottom: 0.2rem;
    }

    .tour-dates .venue {
        font-size: 0.9rem;
        margin-bottom: 0.2rem;
    }

    .tour-dates .location {
        font-size: 0.8rem;
    }
    
    .discography li {
        flex-direction: column;
        gap: 0.5rem;
    }
    
    .band-members {
        grid-template-columns: 1fr;
    }
    
    .member-photo {
        max-width: 280px;
    }
    
    .tv-controls {
        padding: 3px;
    }
    
    .tv-controls-side {
        right: clamp(3px, 1.5vw, 8px);
        gap: clamp(2px, 0.8vw, 4px);
    }
}

/* Read More Link */
.read-more {
    display: inline-block;
    margin-top: 2rem;
    color: var(--color-yellow);
    font-weight: bold;
    text-transform: uppercase;
    letter-spacing: 1px;
    transition: all 0.3s ease;
}

.read-more:hover {
    transform: translateX(10px);
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

/* Custom Scrollbar */
.channel::-webkit-scrollbar {
    width: 8px;
}

.channel::-webkit-scrollbar-track {
    background: var(--color-dark-grey);
    border-radius: 4px;
    box-shadow: inset 0 0 5px rgba(0, 0, 0, 0.3);
}

.channel::-webkit-scrollbar-thumb {
    background: var(--color-yellow);
    border-radius: 4px;
    box-shadow: 0 0 3px rgba(0, 0, 0, 0.5);
}

.channel::-webkit-scrollbar-thumb:hover {
    background: var(--color-red);
}

/* Channel Display */
@keyframes glitchWave {
    0% {
        transform: translateY(-20px) skew(0deg);
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
    20% {
        transform: translateY(0) skew(2deg);
        clip-path: polygon(
            0 5%,
            100% 0,
            100% 95%,
            0 100%
        );
    }
    40% {
        transform: translateY(0) skew(-1deg);
        clip-path: polygon(
            0 0,
            100% 5%,
            100% 100%,
            0 95%
        );
    }
    60% {
        transform: translateY(0) skew(1deg);
        clip-path: polygon(
            0 2%,
            100% 0,
            100% 98%,
            0 100%
        );
    }
    80% {
        transform: translateY(0) skew(-2deg);
        clip-path: polygon(
            0 0,
            100% 2%,
            100% 100%,
            0 98%
        );
    }
    100% {
        transform: translateY(0) skew(0deg);
        clip-path: polygon(
            0 0,
            100% 0,
            100% 100%,
            0 100%
        );
    }
}

.channel-display {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    color: #00FF00;
    font-family: "Silkscreen", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 2.5rem;
    text-shadow: 0 0 10px rgba(0, 255, 0, 0.7);
    padding: 0.5rem 1rem;
    opacity: 0;
    transform: translateY(-20px);
    transition: none;
    pointer-events: none;
    z-index: 34;
    letter-spacing: 1px;
    transform-origin: center;
    will-change: transform, clip-path, opacity;
}

.channel-display.visible {
    opacity: 1;
    animation: glitchWave 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    animation-iteration-count: 1; /* Ensure single iteration */
}

/* Add a glitch overlay effect */
.channel-display::before,
.channel-display::after {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    color: #00FF00;
    opacity: 0;
    will-change: transform, opacity; /* Optimize for animations */
}

.channel-display.visible::before {
    animation: glitchText 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    text-shadow: 2px 0 #0ff;
    clip-path: polygon(0 0, 100% 0, 100% 45%, 0 45%);
}

.channel-display.visible::after {
    animation: glitchText 0.4s cubic-bezier(0.25, 0.46, 0.45, 0.94) both;
    text-shadow: -2px 0 #f0f;
    clip-path: polygon(0 55%, 100% 55%, 100% 100%, 0 100%);
}

@keyframes glitchText {
    0% {
        opacity: 0;
        transform: translate(0);
    }
    20% {
        opacity: 0.3;
        transform: translate(-2px, 1px);
    }
    40% {
        opacity: 0.2;
        transform: translate(2px, -1px);
    }
    60% {
        opacity: 0.3;
        transform: translate(1px, 1px);
    }
    80% {
        opacity: 0.2;
        transform: translate(-1px, -1px);
    }
    100% {
        opacity: 0;
        transform: translate(0);
    }
}

@media (max-width: 768px) {
    .channel-display {
        top: 10px;
        right: 10px;
        font-size: 2rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Tracking Display */
.tracking-display {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    background: transparent;
    color: var(--color-yellow);
    font-family: var(--font-display);
    padding: 1rem;
    border-radius: 5px;
    opacity: 0;
    transition: opacity 0.3s ease, transform 0.3s ease;
    pointer-events: none;
    z-index: 34;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.5rem;
    min-width: 200px;
}

.tracking-display.visible {
    opacity: 1;
    transform: translateX(-50%);
}

.tracking-label {
    color: #00FF00;
    font-family: "Silkscreen", sans-serif;
    font-weight: 700;
    font-style: normal;
    font-size: 1.2rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-shadow: 0 0 8px rgba(0, 255, 0, 0.7);
}

.tracking-bar {
    width: 100%;
    height: 20px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--color-dark-grey);
    border-radius: 0;
    position: relative;
    overflow: hidden;
}

.tracking-fill {
    position: absolute;
    height: 100%;
    width: 50%;
    background: #00FF00;
    transition: width 0.2s ease;
    left: 0;
    box-shadow: 0 0 10px rgba(0, 255, 0, 0.5);
}

.tracking-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    width: 4px;
    height: 100%;
    background-color: white;
    transform: translateX(-50%);
    box-shadow: 0 0 5px rgba(255, 255, 255, 0.8);
}

@media (max-width: 768px) {
    .tracking-display {
        bottom: 10px;
        min-width: 150px;
        padding: 8px 12px;
    }
    
    .tracking-label {
        font-size: 1rem;
    }
    
    .tracking-bar {
        height: 15px;
    }
}

/* TV Knob SVG */
.tv-knob-svg {
    width: 80px;
    height: 80px;
    cursor: pointer;
    position: relative;
    transition: transform 0.3s ease;
    display: flex;
    justify-content: center;
    align-items: center;
}

.tv-knob-svg svg {
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
    width: 100%;
    height: 100%;
    transform-origin: center;
    transform-box: fill-box;
}

.tv-knob-svg:hover {
    transform: scale(1.05);
}

.tv-knob-svg:active {
    transform: scale(0.95);
}

/* Channel Number Styling */
.channel-number-1, .channel-number-2, .channel-number-3 {
    font-weight: bold;
    transition: all 0.2s ease;
    cursor: pointer;
    transform-origin: center;
    transform-box: fill-box;
}

.channel-number-1:hover, .channel-number-2:hover, .channel-number-3:hover {
    fill: #FFD700 !important;
    stroke: #000;
    stroke-width: 0.5px;
    transform: scale(1.2);
}

/* Responsive Styles for Mobile */
@media screen and (max-width: 768px) {
    /* TV container scaling */
    .tv-container {
        width: 100%;
        max-width: 100%;
        padding: 10px;
    }
    
    /* TV screen scaling */
    .tv-screen {
        width: 100%;
        height: auto;
        aspect-ratio: 4/3; /* Maintain aspect ratio */
    }
    
    /* Channel content scaling */
    .channel {
        width: 100%;
        height: 100%;
        padding: 10px;
    }
    
    /* Channel 1: Social Links */
    .channel-social {
        padding: 15px 10px;
    }
    
    .social-link {
        margin: 10px auto;
        font-size: 16px;
    }
    
    /* Channel 2: Show Dates */
    .channel-shows {
        padding: 10px;
        font-size: 14px;
    }
    
    /* Channel 3: YouTube */
    .youtube-embed {
        width: 100%;
        height: 100%;
    }
    
    .youtube-embed iframe {
        width: 100%;
        height: 100%;
    }
    
    /* TV Controls scaling */
    .tv-controls {
        padding: 5px;
        justify-content: space-around;
    }
    
    .tv-knob-container {
        width: 80px;
        height: 80px;
        margin: 10px;
        transform: scale(1);
        transform-origin: center;
    }
    
    .dial-track {
        width: 100%;
        height: 100%;
        transform: translate(-50%, -50%) scale(0.8);
    }
    
    .dial-indicator {
        height: 32px; /* Adjusted for mobile */
        transform-origin: bottom center;
    }
    
    .channel-label {
        font-size: 14px;
    }
    
    .ch1 { transform: translate(-80%, 0); }
    .ch2 { transform: translate(-50%, -80%); }
    .ch3 { transform: translate(80%, 0); }
    
    .knob-label {
        font-size: 10px;
        bottom: -20px;
    }
}

/* Extra small devices */
@media screen and (max-width: 480px) {
    .tv-knob-container {
        width: 70px;
        height: 70px;
        margin: 5px;
    }
    
    .dial-track {
        transform: translate(-50%, -50%) scale(0.7);
    }
    
    .dial-indicator {
        height: 28px;
    }
    
    .channel-label {
        font-size: 12px;
    }
    
    .ch1 { transform: translate(-70%, 0); }
    .ch2 { transform: translate(-50%, -70%); }
    .ch3 { transform: translate(70%, 0); }
    
    .knob-label {
        font-size: 9px;
        bottom: -18px;
    }
}

/* Desktop screen enhancements for social links */
@media screen and (min-width: 1280px) {
    .social-link {
        font-size: 24px;
        padding: 15px 20px;
        margin: 20px auto;
        max-width: 80%;
    }
    
    .social-link svg, .social-link img {
        width: 30px;
        height: 30px;
        margin-right: 15px;
    }
}

/* Larger desktop screens */
@media screen and (min-width: 1600px) {
    .social-link {
        font-size: 28px;
        padding: 18px 25px;
        margin: 25px auto;
        max-width: 75%;
    }
    
    .social-link svg, .social-link img {
        width: 36px;
        height: 36px;
        margin-right: 20px;
    }
}

/* Medium screens / Tablets */
@media screen and (min-width: 481px) and (max-width: 1024px) {
    .tv-controls {
        padding: clamp(8px, 2.5vw, 15px);
    }
    
    .tv-knob-container {
        width: clamp(75px, 9vw, 90px);
        height: clamp(75px, 9vw, 90px);
        margin: clamp(12px, 1.5vw, 15px);
    }
    
    .tv-controls-side {
        right: clamp(8px, 2.5vw, 15px);
        gap: clamp(4px, 1.2vw, 8px);
    }
    
    .side-knob {
        width: clamp(35px, 6vw, 45px);
        height: clamp(35px, 6vw, 45px);
    }
    
    /* Adjust channel labels for medium screens */
    .channel-label {
        font-size: clamp(14px, 2vw, 16px);
    }
    
    .ch1 { transform: translate(-75%, 0); }
    .ch2 { transform: translate(-50%, -75%); }
    .ch3 { transform: translate(75%, 0); }
}

.logo-fallback {
    font-size: 2.5rem;
    color: var(--color-white);
    text-shadow: 3px 3px 0 var(--color-red);
    margin: 0;
    font-family: var(--font-display);
    font-weight: bold;
}

 