/* STYLE.CSS - Something Completety Different Mixtape Club */

/* ==========================================
   DESIGN TOKENS & SYSTEM
   ========================================== */
:root {
    --bg-dark: #072226; /* Deep matte teal background matching the image */
    --bg-card: rgba(11, 41, 46, 0.85); /* Rich transparent card background matching the theme */
    --bg-card-border: rgba(197, 160, 89, 0.25); /* Gold border matching the image's gold contours */
    --text-primary: #e1e7e8;
    --text-secondary: #a3b8ba;
    --color-pink: #d25d8b; /* A softer, matching magenta rose */
    --color-cyan: #3898a6; /* Ocean teal */
    --color-gold: #c5a059; /* Precise elegant gold/brass color from the image */
    --color-lime: #89e75a;
    --color-purple: #1e3b3e; /* Deep dark teal-purple */
    --color-dark: #041214;
    --color-active: var(--color-gold); /* Gold active accents */
    
    --shadow-neon-pink: 0 0 15px rgba(210, 93, 139, 0.4);
    --shadow-neon-cyan: 0 0 15px rgba(197, 160, 89, 0.4); /* Neon gold shadow for text/accents */
    
    --font-sans: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Oxygen, Ubuntu, Cantarell, "Fira Sans", "Droid Sans", "Helvetica Neue", sans-serif;
    --font-display: var(--font-sans);
    --font-digital: 'Orbitron', sans-serif;
    --font-handwritten: 'Permanent Marker', cursive;
    --font-sketch: 'Cabin Sketch', cursive;
}

/* Base resets & scrollbars */
* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-dark);
    background-image: 
        radial-gradient(circle at 10% 20%, rgba(56, 152, 166, 0.12) 0%, transparent 60%),
        radial-gradient(circle at 90% 80%, rgba(197, 160, 89, 0.08) 0%, transparent 60%);
    background-attachment: fixed;
    color: var(--text-primary);
    font-family: var(--font-sans);
    line-height: 1.5;
    overflow-x: hidden;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
}

/* Beautiful custom scrollbar */
::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: var(--bg-dark);
}
::-webkit-scrollbar-thumb {
    background: var(--color-purple);
    border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
    background: var(--color-pink);
}

/* ==========================================
   RETRO GRAPHICS & GLOW EFFECT
   ========================================== */
/* Perspective Grid Floor */
.grid-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='100%25' height='100%25' viewBox='0 0 1440 800' preserveAspectRatio='none'%3E%3Cpath d='M-100 200 C 300 100, 600 400, 1000 300 C 1200 250, 1400 350, 1600 300' fill='none' stroke='rgba(197, 160, 89, 0.04)' stroke-width='1.5'/%3E%3Cpath d='M-100 250 C 300 150, 600 450, 1000 350 C 1200 300, 1400 400, 1600 350' fill='none' stroke='rgba(197, 160, 89, 0.03)' stroke-width='1'/%3E%3Cpath d='M-100 150 C 300 50, 600 350, 1000 250 C 1200 200, 1400 300, 1600 250' fill='none' stroke='rgba(197, 160, 89, 0.02)' stroke-width='1'/%3E%3Cpath d='M-100 600 C 400 500, 800 750, 1100 600 C 1300 500, 1400 650, 1600 550' fill='none' stroke='rgba(197, 160, 89, 0.03)' stroke-width='1.5'/%3E%3Cpath d='M-100 650 C 400 550, 800 800, 1100 650 C 1300 550, 1400 700, 1600 600' fill='none' stroke='rgba(197, 160, 89, 0.02)' stroke-width='1'/%3E%3C/svg%3E"),
        linear-gradient(rgba(197, 160, 89, 0.025) 1px, transparent 1px),
        linear-gradient(90deg, rgba(197, 160, 89, 0.025) 1px, transparent 1px);
    background-size: cover, 50px 50px, 50px 50px;
    background-position: center top;
    z-index: -2;
    pointer-events: none;
}

/* Background Ambient Orbs */
.glow-orb {
    position: fixed;
    border-radius: 50%;
    filter: blur(100px);
    z-index: -1;
    opacity: 0.25;
    pointer-events: none;
}
.orb-1 {
    top: -10%;
    right: 10%;
    width: 400px;
    height: 400px;
    background: var(--color-purple);
    animation: pulse 12s infinite alternate;
}
.orb-2 {
    bottom: -10%;
    left: 10%;
    width: 500px;
    height: 500px;
    background: var(--color-cyan);
    animation: pulse 16s infinite alternate-reverse;
}

@keyframes pulse {
    0% { transform: scale(1) translate(0, 0); opacity: 0.15; }
    100% { transform: scale(1.2) translate(30px, -20px); opacity: 0.25; }
}

/* ==========================================
   LAYOUT CONTAINERS & HEADER
   ========================================== */
.container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.app-header {
    position: relative;
    padding: 0;
    z-index: 100;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.35);
    background-color: #072226;
    overflow: hidden;
}

.header-banner-container {
    width: 100%;
    position: relative;
    display: flex;
    justify-content: center;
    background-color: var(--bg-dark);
    padding: 25px 0 45px 0;
}

.header-banner-wrapper {
    position: relative;
    max-width: 500px;
    width: 100%;
    display: block;
}

.header-banner-img {
    width: 100%;
    height: auto;
    display: block;
    object-fit: contain;
    aspect-ratio: 822/226;
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.5)) drop-shadow(0 0 15px rgba(197, 160, 89, 0.15));
    transition: all 0.3s ease;
}

.header-banner-img:hover {
    transform: translateY(-2px) scale(1.02);
    filter: drop-shadow(0 6px 12px rgba(0, 0, 0, 0.6)) drop-shadow(0 0 25px rgba(197, 160, 89, 0.35));
}

.app-header .header-container {
    position: absolute;
    top: 20px;
    right: 20px;
    left: 20px;
    z-index: 20;
    display: flex;
    justify-content: flex-end;
    pointer-events: none;
}

.header-nav {
    display: flex;
    gap: 10px;
    pointer-events: auto;
}

/* Wavy separators matching the forum */
.waves {
    position: absolute;
    left: 0;
    width: 100%;
    height: 45px;
    z-index: 10;
    pointer-events: none;
}

.waves--upper {
    bottom: -1px;
}

.waves--lower {
    top: -1px;
}

.waves path {
    fill: var(--bg-dark);
}

/* ==========================================
   BUTTONS & FORM CONTROLS
   ========================================== */
.btn {
    font-family: var(--font-sans);
    font-size: 0.8rem;
    font-weight: 600;
    padding: 8px 16px;
    border-radius: 4px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: all 0.2s ease;
    border: none;
    outline: none;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
}

.btn-primary {
    background: var(--color-cyan);
    color: #fff;
}
.btn-primary:hover {
    background: #4fc3d4;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(56, 152, 166, 0.3);
}
.btn-primary:active {
    transform: translateY(1px);
}

.btn-outline {
    background: transparent;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.5);
}
.btn-outline:hover {
    background: rgba(255, 255, 255, 0.1);
    border-color: #ffffff;
    transform: translateY(-2px);
}
.btn-outline:active {
    transform: translateY(1px);
}

.btn-block {
    width: 100%;
}

/* ==========================================
   MAIN LAYOUT & GRID
   ========================================== */
.main-layout {
    display: grid;
    grid-template-columns: 1.1fr 0.9fr;
    gap: 30px;
    padding-top: 30px;
    padding-bottom: 60px;
    flex-grow: 1;
}

@media (max-width: 900px) {
    .main-layout {
        grid-template-columns: 1fr;
    }
}

/* ==========================================
   CASSETTE DECK SYSTEM (LEFT SIDE)
   ========================================== */
.deck-section {
    display: flex;
    flex-direction: column;
    gap: 24px;
}

.deck-container {
    background: #141122;
    border-radius: 16px;
    padding: 24px;
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.5),
        inset 0 0 20px rgba(255, 255, 255, 0.05),
        0 0 0 1px rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(0, 0, 0, 0.3);
    position: relative;
    overflow: hidden;
}

/* Deck Bezel (Cassette Door Opening) */
.deck-bezel {
    background: #0b0914;
    border-radius: 12px;
    padding: 16px;
    border: 4px solid #1a162b;
    box-shadow: 
        inset 0 10px 20px rgba(0, 0, 0, 0.8),
        0 4px 6px rgba(0,0,0,0.4);
}

/* Cassette Well (Opening where tape sits) */
.cassette-well {
    background: #050409;
    height: 250px;
    border-radius: 8px;
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    perspective: 800px;
    box-shadow: inset 0 5px 30px rgba(0,0,0,0.9);
}

/* Backlit well effect */
.cassette-well::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 90%;
    height: 80%;
    transform: translate(-50%, -50%);
    background: radial-gradient(circle, rgba(138, 43, 226, 0.12) 0%, transparent 70%);
    pointer-events: none;
    transition: all 0.5s ease;
}

.playing-state .cassette-well::before {
    background: radial-gradient(circle, rgba(0, 240, 255, 0.15) 0%, transparent 70%);
}

/* ==========================================
   PURE CSS CASSETTE TAPE
   ========================================== */
.cassette-tape {
    width: 380px;
    height: 220px;
    background: var(--color-active);
    border-radius: 12px;
    position: relative;
    padding: 8px;
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    box-shadow: 
        0 15px 30px rgba(0, 0, 0, 0.6),
        0 0 10px rgba(0, 0, 0, 0.4),
        inset 0 2px 4px rgba(255, 255, 255, 0.2);
    transform: rotateX(15deg);
    cursor: pointer;
    user-select: none;
    z-index: 10;
}

/* Ejected State */
.cassette-tape.ejected {
    transform: translateY(220px) rotateX(45deg);
    opacity: 0;
    pointer-events: none;
}

.cassette-body {
    width: 100%;
    height: 100%;
    background: var(--color-dark);
    border-radius: 8px;
    position: relative;
    padding: 8px;
    border: 2px solid rgba(255, 255, 255, 0.05);
    box-shadow: inset 0 0 10px rgba(0, 0, 0, 0.8);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* Tape Labels & Writing Lines */
.cassette-label {
    width: 100%;
    height: 140px;
    background: #eaeaea;
    border-radius: 6px;
    padding: 6px 12px;
    color: #1a162b;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    box-shadow: inset 0 2px 5px rgba(0, 0, 0, 0.2);
    position: relative;
    border-top: 15px solid var(--color-active);
}

.label-lines {
    display: flex;
    align-items: center;
    border-bottom: 2px solid #aaa;
    padding-bottom: 2px;
    height: 35px;
}

.label-side {
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 1.5rem;
    margin-right: 12px;
    color: var(--color-active);
    line-height: 1;
}

.label-title-wrapper {
    flex-grow: 1;
}

.label-title-input {
    width: 100%;
    border: none;
    background: transparent;
    font-family: var(--font-handwritten);
    font-size: 1.25rem;
    color: #1b102b;
    outline: none;
    padding-bottom: 2px;
    letter-spacing: 0.5px;
}

.label-footer {
    display: flex;
    justify-content: space-between;
    font-size: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: #555;
    letter-spacing: 1px;
}

/* Tape Window showing rolls */
.tape-window {
    background: rgba(10, 10, 10, 0.95);
    height: 48px;
    border-radius: 4px;
    margin: 4px auto;
    width: 80%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0 25px;
    position: relative;
    box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.9);
    border: 1px solid rgba(255, 255, 255, 0.1);
    overflow: hidden;
}

/* The spools inside the tape */
.spool {
    width: 32px;
    height: 32px;
    background: #e1e1e1;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 5;
    box-shadow: 
        0 2px 5px rgba(0,0,0,0.5),
        inset 0 2px 3px rgba(255,255,255,0.4);
}

.spool-teeth {
    width: 12px;
    height: 12px;
    background: #0f0d19;
    border-radius: 50%;
    position: relative;
}

.spool-teeth::before, .spool-teeth::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 16px;
    height: 4px;
    background: #e1e1e1;
    margin-top: -2px;
    margin-left: -8px;
}
.spool-teeth::after {
    transform: rotate(90deg);
}

/* Spinning Animations */
.playing-state .spool {
    animation: spin 3s linear infinite;
}
.rewinding-state .spool {
    animation: spin 0.4s linear infinite reverse;
}
.fastforwarding-state .spool {
    animation: spin 0.4s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Dynamic Tape Rolls */
.tape-roll {
    position: absolute;
    height: 110px;
    background: radial-gradient(circle, #2d2620 40%, #1e1914 90%);
    border-radius: 50%;
    z-index: 2;
    top: calc(50% - 55px);
    transition: width 0.3s ease, height 0.3s ease;
    opacity: 0.75;
    pointer-events: none;
    box-shadow: inset 0 0 10px #000;
}

#tape-roll-left {
    left: 20px;
    width: 80px; /* Changes dynamically */
    height: 80px;
}
#tape-roll-right {
    right: 20px;
    width: 35px; /* Changes dynamically */
    height: 35px;
}

/* Cassette Screws, Traps */
.cassette-screws .screw {
    position: absolute;
    width: 8px;
    height: 8px;
    background: #555;
    border-radius: 50%;
    box-shadow: inset 0 1px 2px #000;
}
.screw.tl { top: 4px; left: 4px; }
.screw.tr { top: 4px; right: 4px; }
.screw.bl { bottom: 4px; left: 4px; }
.screw.br { bottom: 4px; right: 4px; }

.cassette-bottom-trap {
    height: 20px;
    background: rgba(255, 255, 255, 0.02);
    border-radius: 0 0 4px 4px;
    border-top: 1px solid rgba(0, 0, 0, 0.5);
    position: relative;
}

/* Color theme mappings for active cassette CSS variable */
.color-pink { --color-active: var(--color-pink); }
.color-cyan { --color-active: var(--color-cyan); }
.color-gold { --color-active: var(--color-gold); }
.color-lime { --color-active: var(--color-lime); }
.color-purple { --color-active: var(--color-purple); }
.color-dark { --color-active: #4a455a; }

/* ==========================================
   DECK CONTROLS & VU METERS
   ========================================== */
.deck-controls {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 8px;
    margin-top: 20px;
}

.deck-btn {
    background: linear-gradient(180deg, #2c2742 0%, #171328 100%);
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 4px 6px rgba(0,0,0,0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    border-radius: 6px;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10px 5px;
    transition: all 0.15s ease;
}

.deck-btn:hover {
    background: linear-gradient(180deg, #373152 0%, #201b38 100%);
}

.deck-btn:active, .deck-btn.active {
    background: #0f0d1a;
    box-shadow: 
        inset 0 3px 6px rgba(0,0,0,0.6),
        0 1px 1px rgba(255,255,255,0.05);
    transform: translateY(2px);
    border-color: rgba(255, 0, 127, 0.3);
}

.deck-btn.btn-danger {
    border-color: rgba(255, 0, 0, 0.2);
}
.deck-btn.btn-danger.active, .deck-btn.btn-danger:active {
    border-color: #ff0055;
    box-shadow: inset 0 3px 6px rgba(0,0,0,0.6), 0 0 10px rgba(255, 0, 85, 0.3);
}

.deck-btn .icon {
    font-size: 1.25rem;
    margin-bottom: 2px;
}

.deck-btn .lbl {
    font-size: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-secondary);
    letter-spacing: 0.5px;
}

/* LED VU Meters and LCD Screen */
.deck-status-panel {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 20px;
    background: #0a0812;
    border-radius: 8px;
    padding: 12px 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.vu-meter-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.vu-channel {
    display: flex;
    align-items: center;
    gap: 8px;
}

.vu-label {
    font-family: var(--font-display);
    font-size: 0.55rem;
    color: var(--text-secondary);
    font-weight: 700;
}

.vu-leds {
    display: flex;
    gap: 4px;
}

.vu-leds .led {
    width: 6px;
    height: 12px;
    background: #222;
    border-radius: 1px;
    transition: background 0.1s ease;
}

.vu-leds .led.green.on { background: var(--color-lime); box-shadow: 0 0 6px var(--color-lime); }
.vu-leds .led.amber.on { background: var(--color-gold); box-shadow: 0 0 6px var(--color-gold); }
.vu-leds .led.red.on { background: var(--color-pink); box-shadow: 0 0 6px var(--color-pink); }

.deck-display {
    text-align: right;
    font-family: var(--font-display);
}

.display-time {
    font-size: 1.3rem;
    font-weight: 900;
    color: var(--color-cyan);
    text-shadow: var(--shadow-neon-cyan);
    letter-spacing: 1px;
}

.display-status {
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    text-transform: uppercase;
}

/* ==========================================
   J-CARD / PLAYLIST (LEFT COLUMN FOOTER)
   ========================================== */
.jcard-container {
    background: var(--bg-card);
    border: 1px solid var(--bg-card-border);
    border-radius: 12px;
    display: flex;
    min-height: 200px;
    overflow: hidden;
    box-shadow: 
        0 10px 30px rgba(0,0,0,0.3),
        inset 0 0 20px rgba(255, 0, 127, 0.05);
    transition: all 0.3s ease;
}

/* Spine looks like folded paper edge */
.jcard-spine {
    width: 45px;
    background: var(--color-active);
    display: flex;
    align-items: center;
    justify-content: center;
    border-right: 1px solid rgba(0,0,0,0.2);
    position: relative;
    transition: background-color 0.3s ease;
}

.spine-text {
    transform: rotate(-90deg);
    white-space: nowrap;
    font-family: var(--font-display);
    font-weight: 900;
    font-size: 0.8rem;
    color: #0f0d19;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.spine-catalog {
    position: absolute;
    bottom: 12px;
    font-family: var(--font-display);
    font-size: 0.5rem;
    font-weight: 700;
    color: rgba(15, 13, 25, 0.6);
    letter-spacing: 1px;
}

.jcard-body {
    flex-grow: 1;
    padding: 20px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.jcard-header-title {
    font-family: var(--font-display);
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 2px;
    color: var(--color-cyan);
    margin-bottom: 12px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 4px;
}

.tracklist {
    list-style: none;
    margin-bottom: 20px;
}

.tracklist li {
    font-family: var(--font-sans);
    font-size: 0.85rem;
    padding: 6px 0;
    border-bottom: 1px dashed rgba(255,255,255,0.05);
    display: flex;
    justify-content: space-between;
    transition: color 0.2s ease;
}

.tracklist li.active {
    color: var(--color-cyan);
    font-weight: 600;
}

.track-duration {
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.75rem;
}

.jcard-notes {
    background: rgba(0, 0, 0, 0.25);
    border-radius: 6px;
    padding: 10px;
    border-left: 3px solid var(--color-active);
}

.jcard-notes h4 {
    font-family: var(--font-display);
    font-size: 0.65rem;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 4px;
}

.jcard-notes p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    font-style: italic;
    line-height: 1.4;
}

/* ==========================================
   TAPE CATALOG & BUILDER (RIGHT COLUMN)
   ========================================== */
.control-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
    background: var(--bg-card);
    border: 1px solid rgba(255,255,255,0.05);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    height: fit-content;
}

/* Tab bar */
.tab-container {
    display: flex;
    background: #0f0d19;
    border-radius: 8px;
    padding: 4px;
    border: 1px solid rgba(255,255,255,0.05);
}

.tab-btn {
    flex-grow: 1;
    background: transparent;
    border: none;
    outline: none;
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-weight: 700;
    font-size: 0.8rem;
    text-transform: uppercase;
    letter-spacing: 1px;
    padding: 10px 0;
    cursor: pointer;
    border-radius: 6px;
    transition: all 0.2s ease;
}

.tab-btn:hover {
    color: var(--text-primary);
}

.tab-btn.active {
    background: var(--color-purple);
    color: #fff;
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.3);
}

.tab-content {
    animation: fadeIn 0.4s ease;
}

.tab-content.hidden {
    display: none;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(10px); }
    to { opacity: 1; transform: translateY(0); }
}

/* Vault view (mixtape lists) */
.vault-intro, .builder-intro {
    margin-bottom: 20px;
}

.vault-intro h3, .builder-intro h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    margin-bottom: 4px;
}

.vault-intro p, .builder-intro p {
    font-size: 0.8rem;
    color: var(--text-secondary);
}

.mixtape-grid {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

/* Interactive Card representing physical cassettes */
.vault-card {
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    padding: 12px 16px;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: space-between;
    transition: all 0.25s cubic-bezier(0.165, 0.84, 0.44, 1);
    position: relative;
    overflow: hidden;
}

.vault-card::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    height: 100%;
    width: 5px;
    background: var(--card-color, var(--color-pink));
}

.vault-card:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.1);
    transform: translateX(4px);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

.vault-card.active {
    background: rgba(138, 43, 226, 0.1);
    border-color: rgba(138, 43, 226, 0.3);
}

.card-info {
    display: flex;
    flex-direction: column;
}

.card-title {
    font-family: var(--font-display);
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text-primary);
}

.card-meta {
    font-size: 0.7rem;
    color: var(--text-secondary);
    margin-top: 2px;
}

.card-action-icon {
    font-size: 1.2rem;
    color: var(--text-secondary);
    transition: color 0.2s ease;
}
.vault-card:hover .card-action-icon {
    color: var(--color-cyan);
}

/* Tape Builder Forms */
.builder-form {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.form-group {
    display: flex;
    flex-direction: column;
    gap: 6px;
}

.form-group label {
    font-family: var(--font-display);
    font-size: 0.75rem;
    font-weight: 700;
    letter-spacing: 0.5px;
    color: var(--text-secondary);
}

.form-group input[type="text"],
.form-group textarea {
    background: #0f0d19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 10px 12px;
    color: var(--text-primary);
    font-family: var(--font-sans);
    font-size: 0.85rem;
    transition: all 0.2s ease;
}

.form-group input[type="text"]:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--color-purple);
    box-shadow: 0 0 10px rgba(138, 43, 226, 0.2);
}

/* Color Shell Option Buttons */
.color-picker-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 8px;
}

.radio-btn-style {
    display: flex;
    align-items: center;
    justify-content: center;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    padding: 8px 4px;
    cursor: pointer;
    font-size: 0.7rem;
    font-family: var(--font-display);
    font-weight: 700;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.02);
    color: var(--text-secondary);
    text-align: center;
}

.radio-btn-style input[type="radio"] {
    display: none;
}

.radio-btn-style:hover {
    background: rgba(255, 255, 255, 0.05);
    color: var(--text-primary);
    border-color: rgba(255,255,255,0.15);
}

.radio-btn-style.active {
    background: rgba(255, 255, 255, 0.05);
    border-color: var(--color-theme);
    color: var(--color-theme);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.02), inset 0 0 5px rgba(255, 255, 255, 0.05);
}

/* Tracks Choice List */
.track-selector-list {
    background: #0f0d19;
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 6px;
    max-height: 180px;
    overflow-y: auto;
    padding: 6px;
}

.track-select-item {
    display: flex;
    align-items: center;
    padding: 8px;
    border-radius: 4px;
    cursor: pointer;
    font-size: 0.8rem;
    transition: background 0.15s ease;
    user-select: none;
}

.track-select-item:hover {
    background: rgba(255, 255, 255, 0.03);
}

.track-select-item.selected {
    background: rgba(0, 240, 255, 0.05);
}

.track-select-item input[type="checkbox"] {
    margin-right: 12px;
    accent-color: var(--color-cyan);
    cursor: pointer;
}

.track-select-title {
    flex-grow: 1;
    font-weight: 600;
}

.track-select-artist {
    color: var(--text-secondary);
    font-size: 0.75rem;
    margin-left: 8px;
}

.track-select-time {
    color: var(--text-secondary);
    font-family: var(--font-display);
    font-size: 0.7rem;
    margin-left: auto;
}

/* ==========================================
   MODAL WINDOW STYLES
   ========================================== */
.modal-backdrop {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(5, 4, 9, 0.85);
    backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 1000;
    opacity: 1;
    transition: opacity 0.3s ease;
}

.modal-backdrop.hidden {
    opacity: 0;
    pointer-events: none;
}

.modal-content {
    background: #141122;
    border: 1px solid rgba(255, 255, 255, 0.08);
    box-shadow: 
        0 25px 50px rgba(0, 0, 0, 0.6),
        0 0 30px rgba(138, 43, 226, 0.15);
    border-radius: 16px;
    width: 90%;
    max-width: 550px;
    padding: 35px;
    position: relative;
    transform: scale(1);
    transition: transform 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    max-height: 85vh;
    overflow-y: auto;
}

.modal-backdrop.hidden .modal-content {
    transform: scale(0.9);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    background: transparent;
    border: none;
    color: var(--text-secondary);
    font-size: 1.8rem;
    cursor: pointer;
    line-height: 1;
    transition: color 0.2s ease;
}

.modal-close:hover {
    color: var(--color-pink);
}

.modal-content h2 {
    font-family: var(--font-display);
    font-size: 1.4rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.modal-divider {
    border: 0;
    height: 1px;
    background: linear-gradient(90deg, var(--color-pink), var(--color-cyan), transparent);
    margin: 15px 0;
}

.modal-content p {
    font-size: 0.85rem;
    color: var(--text-secondary);
    margin-bottom: 15px;
    line-height: 1.6;
}

.modal-features {
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin: 20px 0;
}

.feature-item {
    display: flex;
    gap: 15px;
    align-items: flex-start;
}

.feature-icon {
    font-size: 1.8rem;
    background: rgba(255, 255, 255, 0.03);
    padding: 8px;
    border-radius: 8px;
    border: 1px solid rgba(255,255,255,0.05);
    display: block;
    line-height: 1;
}

.feature-item h4 {
    font-family: var(--font-display);
    font-size: 0.85rem;
    color: var(--text-primary);
    margin-bottom: 2px;
}

.feature-item p {
    font-size: 0.75rem;
    color: var(--text-secondary);
    margin-bottom: 0;
}

.modal-footer-note {
    font-size: 0.75rem;
    color: var(--text-secondary);
    text-align: center;
    margin-top: 25px;
    border-top: 1px solid rgba(255, 255, 255, 0.05);
    padding-top: 15px;
}

/* ==========================================
   FOOTER SECTION
   ========================================== */
.app-footer {
    background: linear-gradient(90deg, #2c4d52 0%, #4f8891 100%);
    position: relative;
    padding: 30px 0;
    text-align: center;
    margin-top: auto;
    box-shadow: 0 -4px 15px rgba(0, 0, 0, 0.2);
}

.app-footer p {
    font-size: 0.8rem;
    color: #ffffff;
    font-family: var(--font-sans);
}

/* ==========================================
   MEMBERS LIST ROSTER SECTION
   ========================================== */
.members-section {
    background: var(--bg-card);
    border: 1px solid rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    padding: 24px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    height: fit-content;
}

.members-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    padding-bottom: 8px;
}

.members-header h3 {
    font-family: var(--font-display);
    font-size: 1.1rem;
    color: var(--text-primary);
    text-transform: uppercase;
    letter-spacing: 1px;
}

.member-count {
    font-size: 0.7rem;
    font-family: var(--font-display);
    color: var(--color-cyan);
    background: rgba(0, 240, 255, 0.1);
    padding: 2px 8px;
    border-radius: 4px;
    border: 1px solid rgba(0, 240, 255, 0.2);
}

.members-list {
    list-style: none;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

@media (max-width: 500px) {
    .members-list {
        grid-template-columns: 1fr;
    }
}

.member-item {
    display: flex;
    align-items: center;
    gap: 10px;
    background: rgba(255, 255, 255, 0.02);
    border: 1px solid rgba(255, 255, 255, 0.04);
    padding: 8px 12px;
    border-radius: 8px;
    transition: all 0.2s ease;
}

.member-item:hover {
    background: rgba(255, 255, 255, 0.05);
    border-color: rgba(255, 255, 255, 0.15);
    transform: translateY(-2px);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.2);
}

.member-avatar {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    background: var(--avatar-color, var(--color-pink));
    color: #fff;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.75rem;
    font-family: var(--font-display);
    font-weight: 700;
    box-shadow: 0 0 8px var(--avatar-color);
}

.member-name {
    font-size: 0.8rem;
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex-grow: 1;
}

.member-badge {
    font-size: 0.55rem;
    font-family: var(--font-display);
    font-weight: 700;
    color: var(--text-secondary);
    background: rgba(255, 255, 255, 0.05);
    padding: 2px 4px;
    border-radius: 3px;
    text-transform: uppercase;
}

.member-badge.gold {
    color: var(--color-gold);
    background: rgba(255, 170, 0, 0.1);
    border: 1px solid rgba(255, 170, 0, 0.2);
    box-shadow: 0 0 5px rgba(255, 170, 0, 0.1);
}

/* ==========================================
   YOUTUBE PLAYER & CRT SCREEN INTEGRATION
   ========================================== */
#youtube-player-container {
    display: none;
    width: 380px;
    height: 220px;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8), inset 0 0 20px rgba(0,0,0,0.6);
    border: 3px solid #1c282c;
    background: #000;
    z-index: 10;
    position: relative;
}

#youtube-player-container::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        rgba(18, 16, 16, 0) 50%, 
        rgba(0, 0, 0, 0.25) 50%
    );
    background-size: 100% 4px;
    pointer-events: none;
    z-index: 15;
    opacity: 0.4;
}

#youtube-iframe-placeholder {
    width: 100%;
    height: 100%;
    border: none;
}

.card-forum-link:hover {
    background: rgba(255, 255, 255, 0.15) !important;
    color: var(--color-cyan) !important;
    transform: scale(1.1);
}
