@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* Enhanced dark mode theme with extensive gray shades and downpour blue accents */
:root {
    /* Background Grays - Dark to Light */
    --bg-darkest: #080a0d;
    --bg-darker: #0d0f12;
    --bg-dark: #12151a;
    --bg-primary: #1a1d23;
    --bg-secondary: #1f2329;
    --bg-tertiary: #23272f;
    --bg-elevated: #2b3038;
    --bg-light: #343a42;
    --bg-lighter: #3d434d;
    --bg-lightest: #464d58;
    
    /* Downpour Blue Palette */
    --blue-darkest: #1a4d7a;
    --blue-darker: #2d6bb3;
    --blue-dark: #3a7ec9;
    --blue-primary: #4a90e2;
    --blue-medium: #5b9ee6;
    --blue-light: #6ba6ed;
    --blue-lighter: #8cb8f0;
    --blue-lightest: #b3d1f7;
    --blue-glow: rgba(74, 144, 226, 0.4);
    --blue-subtle: rgba(74, 144, 226, 0.1);
    --blue-transparent: rgba(74, 144, 226, 0.05);
    
    /* Text Grays */
    --text-white: #ffffff;
    --text-brightest: #f5f6f7;
    --text-bright: #e8eaed;
    --text-primary: #d4d7dc;
    --text-secondary: #9aa0a6;
    --text-muted: #70757a;
    --text-dim: #5f6368;
    --text-darkest: #3c4043;
    
    /* Border and Divider Grays */
    --border-light: rgba(255, 255, 255, 0.15);
    --border-medium: rgba(255, 255, 255, 0.1);
    --border-dark: rgba(255, 255, 255, 0.05);
    --border-blue: rgba(74, 144, 226, 0.3);
    --border-blue-bright: rgba(74, 144, 226, 0.5);
    
    /* Shadows with Blue Tints */
    --shadow-xs: 0 1px 2px rgba(0, 0, 0, 0.4);
    --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.3);
    --shadow-md: 0 4px 8px rgba(0, 0, 0, 0.4);
    --shadow-lg: 0 8px 16px rgba(0, 0, 0, 0.5);
    --shadow-xl: 0 12px 24px rgba(0, 0, 0, 0.6);
    --shadow-blue: 0 4px 16px var(--blue-glow);
    --shadow-blue-lg: 0 8px 24px var(--blue-glow);
    
    /* Gradient Combinations */
    --gradient-blue-primary: linear-gradient(135deg, var(--blue-dark) 0%, var(--blue-primary) 100%);
    --gradient-blue-subtle: linear-gradient(90deg, var(--blue-transparent), var(--blue-subtle));
    --gradient-gray-dark: linear-gradient(135deg, var(--bg-darkest) 0%, var(--bg-primary) 50%, var(--bg-tertiary) 100%);
    --gradient-gray-medium: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-elevated) 100%);
    
    /* Spacing and sizing */
    --radius-sm: 8px;
    --radius-md: 12px;
    --radius-lg: 16px;
    --radius-xl: 20px;
}

/* Base layout */
html, body {
    height: 100%;
}

body {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    margin: 0;
    font-family: 'Inter', system-ui, -apple-system, 'Segoe UI', Roboto, 'Helvetica Neue', Arial;
    color: var(--text-bright);
    background: var(--gradient-gray-dark);
    background-attachment: fixed;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

.container {
    flex: 1;
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    color: var(--text-white);
    font-weight: 600;
}

.display-4 {
    font-weight: 700;
    letter-spacing: -0.5px;
}

.lead {
    color: var(--text-primary);
    font-size: 1.15rem;
}

p {
    color: var(--text-secondary);
}

/* Navigation Bar */
.navbar {
    background: var(--gradient-gray-medium) !important;
    border-bottom: 1px solid var(--border-blue);
    box-shadow: var(--shadow-md);
    backdrop-filter: blur(10px);
}

.navbar-brand {
    font-weight: 700;
    font-size: 1.5rem;
    color: var(--blue-light) !important;
    text-shadow: 0 0 20px var(--blue-glow);
    transition: all 0.3s ease;
}

.navbar-brand:hover {
    color: var(--blue-lightest) !important;
    text-shadow: 0 0 30px var(--blue-glow);
}

.navbar-nav .nav-link {
    color: var(--text-primary) !important;
    margin: 0 0.5rem;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.5rem 1rem;
}

.navbar-nav .nav-link:hover {
    color: var(--blue-light) !important;
    background: var(--blue-transparent);
    border-radius: var(--radius-sm);
}

.navbar-nav .nav-link.active {
    color: var(--blue-primary) !important;
    background: var(--blue-subtle);
    border-radius: var(--radius-sm);
}

.navbar-nav .nav-link.active::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 1rem;
    right: 1rem;
    height: 2px;
    background: var(--gradient-blue-primary);
    border-radius: 2px;
}

/* Social Icons */
.social-icons {
    display: flex;
    gap: 1rem;
    margin-left: auto;
    align-items: center;
}

.social-icon {
    width: 36px;
    height: 36px;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 50%;
    transition: all 0.3s ease;
    background: var(--bg-elevated);
    border: 1px solid var(--border-medium);
}

.social-icon:hover {
    transform: translateY(-3px) scale(1.1);
    box-shadow: var(--shadow-blue);
    animation: pulse 1.5s infinite;
}

.social-icon.instagram:hover {
    background: linear-gradient(45deg, #f09433 0%, #e6683c 25%, #dc2743 50%, #cc2366 75%, #bc1888 100%);
    border-color: #bc1888;
}

.social-icon.youtube:hover {
    background: #FF0000;
    border-color: #FF0000;
}

.social-icon.email:hover {
    background: var(--blue-primary);
    border-color: var(--blue-light);
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.8; }
}

/* Cards */
.card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    margin-bottom: 1.5rem;
}

.card:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue-lg);
    border-color: var(--border-blue);
    background: var(--bg-tertiary);
}

.card-body {
    padding: 1.5rem;
}

.card-title {
    color: var(--text-white);
    font-weight: 600;
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.card-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Buttons */
.btn {
    border-radius: var(--radius-sm);
    font-weight: 500;
    padding: 0.625rem 1.5rem;
    transition: all 0.3s ease;
    border: none;
}

.btn-accent,
.btn-primary {
    background: var(--gradient-blue-primary);
    color: var(--text-white);
    box-shadow: var(--shadow-sm);
}

.btn-accent:hover,
.btn-primary:hover {
    background: var(--blue-light);
    box-shadow: var(--shadow-blue);
    transform: translateY(-2px);
    color: var(--text-white);
}

.btn-secondary {
    background: var(--bg-elevated);
    color: var(--text-bright);
    border: 1px solid var(--border-light);
}

.btn-secondary:hover {
    background: var(--bg-lighter);
    border-color: var(--border-blue);
    color: var(--blue-light);
}

/* Hero Section */
.glow {
    text-shadow: 0 0 20px var(--blue-glow);
    background: linear-gradient(135deg, var(--text-white) 0%, var(--blue-lightest) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Video Grid */
.video-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.video-item {
    background: var(--bg-secondary);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid var(--border-dark);
}

.video-item:hover {
    transform: translateY(-6px);
    box-shadow: var(--shadow-blue-lg);
    border-color: var(--border-blue-bright);
}

.video-thumbnail {
    width: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    background: var(--bg-elevated);
}

.video-info {
    padding: 1rem;
    background: var(--bg-tertiary);
}

.video-title {
    color: var(--text-white);
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.4;
}

.video-description {
    color: var(--text-muted);
    font-size: 0.875rem;
    line-height: 1.5;
}

/* Video Container for Hosted Videos and YouTube */
.video-container {
    position: relative;
    width: 100%;
    aspect-ratio: 16/9;
    overflow: hidden;
    background: var(--bg-elevated);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

.video-container video {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    background: var(--bg-elevated);
    border: none;
    outline: none;
}

.video-container video::-webkit-media-controls-panel {
    background: linear-gradient(transparent, var(--bg-darker));
}

.video-container video::-webkit-media-controls-play-button,
.video-container video::-webkit-media-controls-volume-slider,
.video-container video::-webkit-media-controls-timeline {
    filter: brightness(1.2);
}

/* YouTube iframe styling */
.video-container iframe {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: var(--bg-elevated);
    border-radius: var(--radius-md) var(--radius-md) 0 0;
}

/* Gallery */
.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 1.5rem;
    padding: 1rem 0;
}

.gallery-item {
    position: relative;
    aspect-ratio: 1;
    border-radius: var(--radius-md);
    overflow: hidden;
    cursor: pointer;
    background: var(--bg-elevated);
    border: 1px solid var(--border-dark);
    transition: all 0.3s ease;
}

.gallery-item:hover {
    transform: scale(1.03);
    box-shadow: var(--shadow-blue-lg);
    border-color: var(--border-blue-bright);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.gallery-item:hover img {
    transform: scale(1.1);
}

.gallery-item.loading {
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-lighter) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

/* Gallery Tiles (used by S3 Gallery JS) */
.gallery-tile {
    position: relative;
    cursor: pointer;
    transition: all 0.2s ease;
    animation: fadeInUp 0.3s ease-out forwards;
    opacity: 0;
    transform: translateY(10px);
}

.gallery-tile:hover {
    transform: translateY(-4px) scale(1.02);
    box-shadow: var(--shadow-blue-lg);
}

.gallery-tile .card {
    background: var(--bg-secondary);
    border: 1px solid var(--border-medium);
    border-radius: var(--radius-md);
    overflow: hidden;
    transition: all 0.3s ease;
}

.gallery-tile:hover .card {
    border-color: var(--border-blue);
    background: var(--bg-tertiary);
}

.img-wrap {
    position: relative;
    width: 100%;
    aspect-ratio: 1;
    overflow: hidden;
    background: var(--bg-elevated);
    display: flex;
    align-items: center;
    justify-content: center;
}

.img-wrap::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(90deg, var(--bg-elevated) 25%, var(--bg-lighter) 50%, var(--bg-elevated) 75%);
    background-size: 200% 100%;
    animation: shimmer 0.8s infinite;
    opacity: 1;
    transition: opacity 0.15s ease;
}

.img-wrap.loaded::before {
    opacity: 0;
}

.img-wrap img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    opacity: 0;
    transition: opacity 0.1s ease, transform 0.3s ease;
    border: none;
    outline: none;
}

.img-wrap img.loaded {
    opacity: 1;
}

/* Fast loading for preloaded images */
.img-wrap img.preloaded {
    opacity: 1;
    transition: transform 0.3s ease;
}

.gallery-tile:hover .img-wrap img {
    transform: scale(1.05);
}

.gallery-tile .card-body {
    background: var(--bg-tertiary);
    border-top: 1px solid var(--border-dark);
}

.gallery-tile .card-body .small {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 500;
}

@keyframes fadeInUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes shimmer {
    0% { background-position: -200% 0; }
    100% { background-position: 200% 0; }
}

/* Modal */
.modal-content {
    background: var(--bg-primary);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    box-shadow: var(--shadow-xl);
}

.modal-header {
    border-bottom: 1px solid var(--border-medium);
    background: var(--bg-secondary);
    padding: 1.25rem 1.5rem;
}

.modal-title {
    color: var(--text-white);
    font-weight: 600;
}

.modal-body {
    padding: 1.5rem;
    background: var(--bg-primary);
}

.modal-body img {
    border-radius: var(--radius-md);
    box-shadow: var(--shadow-lg);
}

.btn-close {
    filter: invert(1) brightness(1.5);
    opacity: 0.8;
}

.btn-close:hover {
    opacity: 1;
}

/* Radio Player */
.radio-player {
    background: var(--bg-secondary);
    border: 1px solid var(--border-blue);
    border-radius: var(--radius-lg);
    padding: 2rem;
    box-shadow: var(--shadow-blue-lg);
    margin: 2rem 0;
}

.player-controls {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin: 2rem 0;
}

.control-btn {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    background: var(--gradient-blue-primary);
    border: 2px solid var(--border-blue-bright);
    color: var(--text-white);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.control-btn:hover {
    transform: scale(1.1);
    box-shadow: var(--shadow-blue-lg);
    background: var(--blue-light);
}

.control-btn.play-pause {
    width: 72px;
    height: 72px;
    font-size: 1.5rem;
}

.track-info {
    text-align: center;
    margin: 1.5rem 0;
}

.track-title {
    color: var(--text-white);
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
}

.track-artist {
    color: var(--text-secondary);
    font-size: 1rem;
}

.progress-container {
    margin: 1.5rem 0;
    padding: 0 1rem;
}

.progress {
    height: 8px;
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border-dark);
}

.progress-bar {
    background: var(--gradient-blue-primary);
    transition: width 0.3s ease;
    box-shadow: 0 0 10px var(--blue-glow);
}

.time-display {
    display: flex;
    justify-content: space-between;
    color: var(--text-muted);
    font-size: 0.875rem;
    margin-top: 0.5rem;
}

/* Playlist */
.playlist {
    background: var(--bg-tertiary);
    border-radius: var(--radius-md);
    padding: 1.5rem;
    margin-top: 2rem;
    border: 1px solid var(--border-medium);
}

.playlist h4 {
    color: var(--text-white);
    margin-bottom: 1rem;
    font-size: 1.25rem;
}

.list-group-item {
    background: var(--bg-elevated);
    border: 1px solid var(--border-dark);
    color: var(--text-primary);
    margin-bottom: 0.5rem;
    border-radius: var(--radius-sm);
    transition: all 0.3s ease;
    cursor: pointer;
}

.list-group-item:hover {
    background: var(--bg-lighter);
    border-color: var(--border-blue);
    color: var(--blue-light);
    transform: translateX(4px);
}

.list-group-item.active {
    background: var(--blue-subtle);
    border-color: var(--border-blue-bright);
    color: var(--blue-light);
    font-weight: 600;
}

/* Loading Spinner */
.loading-spinner {
    display: inline-block;
    width: 40px;
    height: 40px;
    border: 4px solid var(--bg-elevated);
    border-top: 4px solid var(--blue-primary);
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* Alert Messages */
.alert {
    border-radius: var(--radius-md);
    border: 1px solid;
    padding: 1rem 1.25rem;
    margin-bottom: 1rem;
}

.alert-info {
    background: var(--blue-transparent);
    border-color: var(--border-blue);
    color: var(--blue-light);
}

.alert-warning {
    background: rgba(255, 193, 7, 0.1);
    border-color: rgba(255, 193, 7, 0.3);
    color: #ffc107;
}

.alert-danger {
    background: rgba(220, 53, 69, 0.1);
    border-color: rgba(220, 53, 69, 0.3);
    color: #dc3545;
}

/* Footer */
.footer {
    margin-top: auto;
    background: var(--bg-darker) !important;
    border-top: 1px solid var(--border-blue);
    box-shadow: 0 -4px 8px rgba(0, 0, 0, 0.3);
}

.footer .text-muted {
    color: var(--text-muted) !important;
}

/* Hero/Jumbotron Style Sections */
.hero-section {
    background: var(--gradient-blue-subtle);
    border-radius: var(--radius-lg);
    border: 1px solid var(--border-blue);
    padding: 3rem 2rem;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
}

/* Utilities */
.text-primary {
    color: var(--text-primary) !important;
}

.text-secondary {
    color: var(--text-secondary) !important;
}

.text-muted {
    color: var(--text-muted) !important;
}

.text-blue {
    color: var(--blue-primary) !important;
}

.bg-dark {
    background-color: var(--bg-darker) !important;
}

.bg-secondary {
    background-color: var(--bg-secondary) !important;
}

.border-blue {
    border-color: var(--border-blue) !important;
}

/* Hover Effects */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-4px);
    box-shadow: var(--shadow-blue);
}

/* Scrollbar Styling */
::-webkit-scrollbar {
    width: 12px;
    height: 12px;
}

::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: var(--radius-sm);
}

::-webkit-scrollbar-thumb {
    background: var(--bg-elevated);
    border-radius: var(--radius-sm);
    border: 2px solid var(--bg-darker);
}

::-webkit-scrollbar-thumb:hover {
    background: var(--blue-dark);
}

/* Responsive adjustments */

/* Large tablets and small laptops */
@media (max-width: 1024px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .video-grid {
        grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
        gap: 1.25rem;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
        gap: 1.25rem;
    }
    
    .display-4 {
        font-size: 2.5rem;
    }
    
    .radio-player {
        padding: 1.5rem;
        margin: 1.5rem 0;
    }
}

/* Tablets */
@media (max-width: 768px) {
    body {
        font-size: 0.95rem;
    }
    
    .container {
        padding-left: 0.75rem;
        padding-right: 0.75rem;
    }
    
    /* Navigation improvements */
    .navbar-brand {
        font-size: 1.25rem;
    }
    
    .navbar-collapse {
        background: var(--bg-secondary);
        padding: 1rem;
        border-radius: var(--radius-md);
        margin-top: 1rem;
        border: 1px solid var(--border-medium);
        box-shadow: var(--shadow-lg);
    }
    
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        margin: 0.25rem 0;
        border-radius: var(--radius-sm);
        text-align: center;
    }
    
    .social-icons {
        margin-left: 0;
        margin-top: 1rem;
        justify-content: center;
        gap: 1.5rem;
        padding: 1rem 0;
        border-top: 1px solid var(--border-medium);
    }
    
    .social-icon {
        width: 40px;
        height: 40px;
    }
    
    /* Typography adjustments */
    .display-4 {
        font-size: 2.25rem;
        text-align: center;
    }
    
    .lead {
        font-size: 1.1rem;
        text-align: center;
    }
    
    h1 { font-size: 1.75rem; }
    h2 { font-size: 1.5rem; }
    h3 { font-size: 1.25rem; }
    h4 { font-size: 1.1rem; }
    h5 { font-size: 1rem; }
    
    /* Card adjustments */
    .card {
        margin-bottom: 1.25rem;
    }
    
    .card-body {
        padding: 1.25rem;
    }
    
    .card-title {
        font-size: 1.1rem;
        text-align: center;
    }
    
    .card-text {
        text-align: center;
        font-size: 0.9rem;
    }
    
    /* Button improvements */
    .btn {
        display: block;
        width: 100%;
        margin-top: 1rem;
        padding: 0.75rem 1rem;
        font-size: 0.95rem;
    }
    
    /* Grid layouts */
    .video-grid,
    .gallery-grid {
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .video-item,
    .gallery-item,
    .gallery-tile {
        margin-bottom: 1rem;
    }
    
    /* Gallery tile adjustments */
    .gallery-tile .card-body {
        padding: 0.75rem;
    }
    
    .gallery-tile .card-body .small {
        font-size: 0.8rem;
        text-align: center;
    }
    
    .video-info {
        padding: 0.875rem;
    }
    
    .video-title {
        font-size: 0.95rem;
        text-align: center;
    }
    
    .video-description {
        text-align: center;
        font-size: 0.825rem;
    }
    
    /* Video container mobile adjustments */
    .video-container {
        aspect-ratio: 16/9;
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }
    
    .video-container video {
        object-fit: contain;
    }
    
    .video-container iframe {
        border-radius: var(--radius-sm) var(--radius-sm) 0 0;
    }
    
    /* Radio player adjustments */
    .radio-player {
        padding: 1.25rem;
        margin: 1.25rem 0;
    }
    
    .player-controls {
        gap: 0.75rem;
        margin: 1.5rem 0;
    }
    
    .control-btn {
        width: 48px;
        height: 48px;
    }
    
    .control-btn.play-pause {
        width: 60px;
        height: 60px;
        font-size: 1.25rem;
    }
    
    .track-title {
        font-size: 1.25rem;
    }
    
    .track-artist {
        font-size: 0.9rem;
    }
    
    .progress-container {
        padding: 0 0.5rem;
    }
    
    .playlist {
        padding: 1rem;
    }
    
    /* Modal adjustments */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    .modal-header,
    .modal-body {
        padding: 1rem;
    }
    
    /* Gallery modal adjustments */
    #galleryModal .modal-dialog {
        max-width: 90vw;
        max-height: 90vh;
    }
    
    #galleryModal .modal-body {
        padding: 0.5rem;
    }
    
    #galleryModal img {
        max-width: 100%;
        max-height: 70vh;
        object-fit: contain;
        border-radius: var(--radius-sm);
    }
    
    #galleryModal .btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* Hero section */
    .hero-section {
        padding: 2rem 1.5rem;
        text-align: center;
    }
    
    /* Footer */
    .footer {
        text-align: center;
        font-size: 0.875rem;
    }
}

/* Mobile phones */
@media (max-width: 576px) {
    body {
        font-size: 0.9rem;
    }
    
    .container {
        padding-left: 0.5rem;
        padding-right: 0.5rem;
    }
    
    /* Navigation for mobile */
    .navbar {
        padding: 0.5rem 0;
    }
    
    .navbar-brand {
        font-size: 1.1rem;
    }
    
    .navbar-collapse {
        margin-top: 0.75rem;
        padding: 0.75rem;
    }
    
    .navbar-nav .nav-link {
        padding: 0.625rem 0.75rem;
        font-size: 0.9rem;
    }
    
    .social-icons {
        gap: 1rem;
        padding: 0.75rem 0;
    }
    
    .social-icon {
        width: 36px;
        height: 36px;
    }
    
    /* Typography for mobile */
    .display-4 {
        font-size: 1.75rem;
        line-height: 1.2;
    }
    
    .lead {
        font-size: 1rem;
    }
    
    h1 { font-size: 1.5rem; }
    h2 { font-size: 1.3rem; }
    h3 { font-size: 1.15rem; }
    h4 { font-size: 1rem; }
    h5 { font-size: 0.95rem; }
    
    p {
        font-size: 0.875rem;
        line-height: 1.5;
    }
    
    /* Cards for mobile */
    .card-body {
        padding: 1rem;
    }
    
    .card-title {
        font-size: 1rem;
        margin-bottom: 0.75rem;
    }
    
    .card-text {
        font-size: 0.85rem;
    }
    
    .btn {
        padding: 0.625rem 0.875rem;
        font-size: 0.9rem;
    }
    
    /* Single column layout for mobile */
    .video-grid,
    .gallery-grid {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }
    
    .video-item,
    .gallery-item,
    .gallery-tile {
        max-width: 100%;
    }
    
    /* Gallery tile mobile adjustments */
    .gallery-tile {
        animation-delay: 0ms !important;
        animation-duration: 0.2s !important;
    }
    
    .gallery-tile .card-body {
        padding: 0.625rem;
    }
    
    .gallery-tile .card-body .small {
        font-size: 0.75rem;
    }
    
    .video-info {
        padding: 0.75rem;
    }
    
    .video-title {
        font-size: 0.9rem;
        line-height: 1.3;
    }
    
    .video-description {
        font-size: 0.8rem;
    }
    
    /* Video container for mobile */
    .video-container {
        aspect-ratio: 16/9;
        margin-bottom: 0;
    }
    
    .video-container video {
        object-fit: contain;
        border-radius: 0;
    }
    
    .video-container iframe {
        border-radius: 0;
    }
    
    /* Radio player for mobile */
    .radio-player {
        padding: 1rem;
        margin: 1rem 0;
    }
    
    .player-controls {
        gap: 0.5rem;
        margin: 1.25rem 0;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .control-btn {
        width: 44px;
        height: 44px;
        font-size: 0.875rem;
    }
    
    .control-btn.play-pause {
        width: 56px;
        height: 56px;
        font-size: 1.125rem;
    }
    
    .track-title {
        font-size: 1.1rem;
        line-height: 1.3;
    }
    
    .track-artist {
        font-size: 0.85rem;
    }
    
    .progress-container {
        margin: 1rem 0;
        padding: 0 0.25rem;
    }
    
    .progress {
        height: 6px;
    }
    
    .time-display {
        font-size: 0.8rem;
    }
    
    .playlist {
        padding: 0.75rem;
    }
    
    .playlist h4 {
        font-size: 1rem;
        text-align: center;
    }
    
    .list-group-item {
        padding: 0.75rem;
        font-size: 0.85rem;
        margin-bottom: 0.375rem;
    }
    
    /* Modal for mobile */
    .modal-dialog {
        margin: 0.5rem;
        max-width: calc(100% - 1rem);
    }
    
    .modal-header {
        padding: 0.75rem;
    }
    
    .modal-title {
        font-size: 1rem;
    }
    
    .modal-body {
        padding: 0.75rem;
    }
    
    /* Gallery modal for mobile */
    #galleryModal .modal-dialog {
        max-width: 95vw;
        max-height: 95vh;
        margin: 0.25rem;
    }
    
    #galleryModal .modal-body {
        padding: 0.25rem;
    }
    
    #galleryModal img {
        max-height: 60vh;
        border-radius: var(--radius-sm);
    }
    
    #galleryModal .btn {
        font-size: 1.25rem;
        min-width: 40px;
        min-height: 40px;
    }
    
    #galleryModal .btn-close {
        font-size: 1rem;
    }
    
    /* Hero section for mobile */
    .hero-section {
        padding: 1.5rem 1rem;
        margin-bottom: 1.5rem;
    }
    
    /* Footer for mobile */
    .footer {
        padding: 1rem 0;
        font-size: 0.8rem;
    }
    
    /* Utility adjustments */
    .mt-4 { margin-top: 1.5rem !important; }
    .mt-5 { margin-top: 2rem !important; }
    .mb-4 { margin-bottom: 1.5rem !important; }
    .mb-5 { margin-bottom: 2rem !important; }
}

/* Extra small mobile devices */
@media (max-width: 400px) {
    .container {
        padding-left: 0.375rem;
        padding-right: 0.375rem;
    }
    
    .display-4 {
        font-size: 1.5rem;
    }
    
    .navbar-brand {
        font-size: 1rem;
    }
    
    .social-icons {
        gap: 0.75rem;
    }
    
    .social-icon {
        width: 32px;
        height: 32px;
    }
    
    .control-btn {
        width: 40px;
        height: 40px;
        font-size: 0.8rem;
    }
    
    .control-btn.play-pause {
        width: 50px;
        height: 50px;
        font-size: 1rem;
    }
    
    .card-body {
        padding: 0.75rem;
    }
    
    .radio-player {
        padding: 0.75rem;
    }
    
    .hero-section {
        padding: 1rem 0.75rem;
    }
}

/* Touch device optimizations */
@media (hover: none) and (pointer: coarse) {
    /* Larger touch targets */
    .btn,
    .nav-link,
    .social-icon,
    .control-btn,
    .list-group-item {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* Remove hover effects that don't work on touch */
    .card:hover,
    .video-item:hover,
    .gallery-item:hover {
        transform: none;
        box-shadow: var(--shadow-md);
    }
    
    /* Adjust animations for touch */
    .social-icon:active {
        transform: scale(0.95);
    }
    
    .btn:active {
        transform: translateY(1px);
    }
}

/* High DPI displays */
@media (-webkit-min-device-pixel-ratio: 2), (min-resolution: 192dpi) {
    /* Optimize for retina displays */
    .glow {
        text-shadow: 0 0 10px var(--blue-glow);
    }
    
    .navbar-brand {
        text-shadow: 0 0 10px var(--blue-glow);
    }
}

/* ============================================
   JUKEBOX STYLING
   ============================================ */

.jukebox-container {
    min-height: 100vh;
    position: relative;
    background: 
        radial-gradient(ellipse at center, var(--bg-lighter) 0%, var(--bg-darker) 100%),
        linear-gradient(45deg, var(--bg-darker) 25%, transparent 25%),
        linear-gradient(-45deg, var(--bg-darker) 25%, transparent 25%),
        linear-gradient(45deg, transparent 75%, var(--bg-darker) 75%),
        linear-gradient(-45deg, transparent 75%, var(--bg-darker) 75%);
    background-size: 100% 100%, 20px 20px, 20px 20px, 20px 20px, 20px 20px;
    background-position: 0 0, 0 0, 0 10px, 10px -10px, -10px 0px;
    padding: 2rem 1rem;
    overflow: hidden;
}

.jukebox-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(
        135deg,
        rgba(74, 144, 226, 0.05) 0%,
        rgba(26, 34, 44, 0.8) 50%,
        rgba(8, 10, 13, 0.95) 100%
    );
    pointer-events: none;
    z-index: 1;
}

.neon-lights {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    pointer-events: none;
    z-index: 2;
}

.neon-light {
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    opacity: 0.3;
    animation: neonPulse 3s ease-in-out infinite;
}

.neon-blue {
    background: radial-gradient(circle, var(--accent-primary), transparent);
    top: 10%;
    left: 5%;
    animation-delay: 0s;
}

.neon-pink {
    background: radial-gradient(circle, #ff6b9d, transparent);
    top: 20%;
    right: 8%;
    animation-delay: 1s;
}

.neon-yellow {
    background: radial-gradient(circle, #ffd93d, transparent);
    bottom: 25%;
    left: 8%;
    animation-delay: 2s;
}

.neon-green {
    background: radial-gradient(circle, #4ecdc4, transparent);
    bottom: 15%;
    right: 5%;
    animation-delay: 1.5s;
}

@keyframes neonPulse {
    0%, 100% { 
        opacity: 0.3; 
        transform: scale(1);
    }
    50% { 
        opacity: 0.8; 
        transform: scale(1.5);
    }
}

.jukebox-frame {
    position: relative;
    z-index: 10;
    background: linear-gradient(145deg, var(--border-light), var(--bg-darker));
    border-radius: 20px;
    box-shadow: 
        0 0 0 3px var(--accent-primary),
        0 20px 60px rgba(0, 0, 0, 0.7),
        inset 0 1px 0 rgba(255, 255, 255, 0.1);
    overflow: hidden;
    max-width: 1200px;
    margin: 0 auto;
}

.jukebox-header {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-darker));
    padding: 1.5rem 2rem;
    position: relative;
    text-align: center;
    border-bottom: 3px solid var(--accent-light);
}

.jukebox-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg, 
        var(--accent-light) 0%, 
        var(--text-primary) 50%, 
        var(--accent-light) 100%);
}

.jukebox-logo {
    position: relative;
    z-index: 2;
}

.jukebox-title {
    font-size: 2.5rem;
    font-weight: 900;
    color: var(--text-primary);
    text-shadow: 
        0 0 10px var(--accent-light),
        0 0 20px var(--accent-light),
        0 0 30px var(--accent-light);
    letter-spacing: 3px;
    margin: 0;
    animation: titleGlow 4s ease-in-out infinite alternate;
}

.jukebox-subtitle {
    font-size: 0.9rem;
    color: var(--text-secondary);
    letter-spacing: 2px;
    margin-top: 0.5rem;
    font-weight: 600;
}

@keyframes titleGlow {
    0% { 
        text-shadow: 
            0 0 10px var(--accent-light),
            0 0 20px var(--accent-light),
            0 0 30px var(--accent-light);
    }
    100% { 
        text-shadow: 
            0 0 20px var(--accent-light),
            0 0 30px var(--accent-light),
            0 0 40px var(--accent-light);
    }
}

.chrome-details {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    height: 8px;
    background: linear-gradient(90deg,
        var(--border-light) 0%,
        var(--text-primary) 50%,
        var(--border-light) 100%);
}

.jukebox-body {
    padding: 2rem;
    background: var(--bg-medium);
    position: relative;
}

.jukebox-display {
    background: linear-gradient(145deg, var(--bg-lighter), var(--bg-medium));
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.2);
    margin-bottom: 2rem;
}

.vinyl-section {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
    height: 300px;
    border-radius: 15px;
    overflow: hidden;
    background: linear-gradient(145deg, var(--bg-darker), var(--bg-medium));
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.5),
        0 5px 15px rgba(0, 0, 0, 0.3);
}

.record-player-3d {
    width: 100%;
    height: 100%;
    position: relative;
    border-radius: 15px;
    overflow: hidden;
}

.record-player-3d canvas {
    width: 100% !important;
    height: 100% !important;
    display: block;
    border-radius: 15px;
}

/* Old vinyl CSS removed - now using 3D record player */

.now-playing-display {
    text-align: center;
}

.display-screen {
    background: linear-gradient(145deg, #0a0a0a, #1a1a1a);
    border: 2px solid var(--accent-primary);
    border-radius: 10px;
    padding: 1.5rem;
    position: relative;
    overflow: hidden;
    box-shadow: 
        inset 0 0 20px rgba(74, 144, 226, 0.3),
        0 0 20px rgba(74, 144, 226, 0.2);
}

.scan-lines {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: repeating-linear-gradient(
        0deg,
        transparent,
        transparent 2px,
        rgba(74, 144, 226, 0.05) 2px,
        rgba(74, 144, 226, 0.05) 4px
    );
    pointer-events: none;
    animation: scanMove 2s linear infinite;
}

@keyframes scanMove {
    0% { transform: translateY(0); }
    100% { transform: translateY(4px); }
}

.track-title {
    font-size: 1.8rem;
    font-weight: bold;
    color: var(--accent-light);
    margin-bottom: 0.5rem;
    text-shadow: 0 0 10px var(--accent-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-info {
    color: var(--text-secondary);
    font-size: 1rem;
    letter-spacing: 1px;
}

.separator {
    margin: 0 1rem;
    color: var(--accent-primary);
}

.jukebox-controls {
    background: linear-gradient(145deg, var(--bg-dark), var(--bg-medium));
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.2);
}

.control-panel {
    margin-bottom: 2rem;
}

.jukebox-buttons {
    display: flex;
    justify-content: center;
    gap: 1rem;
    margin-bottom: 2rem;
}

.jukebox-btn {
    width: 80px;
    height: 80px;
    border: none;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--border-light), var(--bg-darker));
    color: var(--text-primary);
    font-size: 1.8rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 0.2rem;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 
        0 5px 15px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
    position: relative;
    overflow: hidden;
}

.jukebox-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    background: radial-gradient(circle, var(--accent-primary), transparent);
    border-radius: 50%;
    transform: translate(-50%, -50%);
    transition: all 0.3s ease;
    z-index: 1;
}

.jukebox-btn:hover::before {
    width: 100%;
    height: 100%;
}

.jukebox-btn:hover {
    transform: translateY(-2px);
    box-shadow: 
        0 8px 25px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.jukebox-btn:active {
    transform: translateY(1px);
    box-shadow: 
        0 3px 10px rgba(0, 0, 0, 0.3),
        inset 0 2px 5px rgba(0, 0, 0, 0.2);
}

.jukebox-btn i {
    position: relative;
    z-index: 2;
}

.btn-label {
    font-size: 0.6rem;
    font-weight: bold;
    letter-spacing: 0.5px;
    position: relative;
    z-index: 2;
}

.play-btn {
    background: linear-gradient(145deg, var(--accent-primary), var(--accent-darker));
    box-shadow: 
        0 5px 15px rgba(74, 144, 226, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
}

.play-btn:hover {
    box-shadow: 
        0 8px 25px rgba(74, 144, 226, 0.6),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
}

.audio-controls {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.control-label {
    font-size: 0.8rem;
    font-weight: bold;
    color: var(--text-secondary);
    letter-spacing: 1px;
    margin-bottom: 0.5rem;
    display: block;
}

.volume-control {
    text-align: center;
}

.volume-slider {
    width: 100%;
    height: 6px;
    border-radius: 3px;
    background: var(--bg-darker);
    outline: none;
    -webkit-appearance: none;
    appearance: none;
    margin: 0.5rem 0;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent-light), var(--accent-primary));
    cursor: pointer;
    box-shadow: 
        0 0 15px var(--accent-light),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    border: 2px solid var(--accent-darker);
    transition: all 0.2s ease;
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px var(--accent-light),
        0 3px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.volume-slider::-webkit-slider-thumb:active {
    transform: scale(0.95);
}

.volume-slider::-moz-range-thumb {
    width: 24px;
    height: 24px;
    border-radius: 50%;
    background: linear-gradient(145deg, var(--accent-light), var(--accent-primary));
    cursor: pointer;
    border: 2px solid var(--accent-darker);
    box-shadow: 
        0 0 15px var(--accent-light),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    transition: all 0.2s ease;
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.1);
    box-shadow: 
        0 0 20px var(--accent-light),
        0 3px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.volume-slider::-moz-range-thumb:active {
    transform: scale(0.95);
}

.volume-display {
    color: var(--accent-light);
    font-weight: bold;
    font-size: 0.9rem;
}

.progress-section {
    text-align: center;
}

.jukebox-progress {
    width: 100%;
    height: 12px;
    background: var(--bg-darker);
    border-radius: 6px;
    position: relative;
    margin: 0.5rem 0;
    box-shadow: 
        inset 0 2px 4px rgba(0, 0, 0, 0.4),
        0 1px 2px rgba(0, 0, 0, 0.2);
    cursor: pointer;
    border: 1px solid var(--border-dark);
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, var(--accent-primary), var(--accent-light));
    border-radius: 6px;
    width: 0%;
    transition: width 0.1s ease;
    box-shadow: 
        0 0 10px var(--accent-primary),
        inset 0 1px 2px rgba(255, 255, 255, 0.2);
    position: relative;
}

.progress-thumb {
    position: absolute;
    top: 50%;
    transform: translate(-50%, -50%);
    width: 20px;
    height: 20px;
    background: linear-gradient(145deg, var(--accent-light), var(--accent-primary));
    border-radius: 50%;
    border: 2px solid var(--accent-darker);
    box-shadow: 
        0 0 15px var(--accent-light),
        0 2px 5px rgba(0, 0, 0, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.3);
    cursor: pointer;
    transition: all 0.2s ease;
    opacity: 0;
    left: 0%;
}

.jukebox-progress:hover .progress-thumb {
    opacity: 1;
}

.progress-thumb:hover {
    transform: translate(-50%, -50%) scale(1.2);
    box-shadow: 
        0 0 20px var(--accent-light),
        0 3px 8px rgba(0, 0, 0, 0.4),
        inset 0 1px 2px rgba(255, 255, 255, 0.4);
}

.progress-thumb.dragging {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.1);
}

.time-display {
    color: var(--text-muted);
    font-size: 0.9rem;
    font-family: 'Courier New', monospace;
}

.time-separator {
    margin: 0 0.5rem;
    color: var(--accent-primary);
}

.equalizer-section {
    text-align: center;
    margin-top: 1rem;
}

.equalizer {
    display: flex;
    justify-content: center;
    align-items: end;
    gap: 4px;
    height: 60px;
    margin-top: 0.5rem;
}

.eq-bar {
    width: 8px;
    background: linear-gradient(to top, var(--accent-darker), var(--accent-primary), var(--accent-light));
    border-radius: 4px 4px 0 0;
    animation: eqDance 1s ease-in-out infinite;
    transform-origin: bottom;
}

.eq-bar:nth-child(1) { height: 20%; animation-delay: 0.1s; }
.eq-bar:nth-child(2) { height: 60%; animation-delay: 0.2s; }
.eq-bar:nth-child(3) { height: 30%; animation-delay: 0.3s; }
.eq-bar:nth-child(4) { height: 80%; animation-delay: 0.4s; }
.eq-bar:nth-child(5) { height: 45%; animation-delay: 0.5s; }
.eq-bar:nth-child(6) { height: 70%; animation-delay: 0.6s; }
.eq-bar:nth-child(7) { height: 25%; animation-delay: 0.7s; }
.eq-bar:nth-child(8) { height: 55%; animation-delay: 0.8s; }

@keyframes eqDance {
    0%, 100% { transform: scaleY(1); }
    50% { transform: scaleY(1.5); }
}

.playlist-section {
    background: linear-gradient(145deg, var(--bg-lighter), var(--bg-medium));
    border-radius: 15px;
    padding: 2rem;
    box-shadow: 
        inset 0 2px 10px rgba(0, 0, 0, 0.3),
        0 5px 20px rgba(0, 0, 0, 0.2);
}

.playlist-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--accent-primary);
}

.playlist-title {
    font-size: 1.5rem;
    font-weight: bold;
    color: var(--accent-light);
    margin: 0;
    letter-spacing: 2px;
}

.playlist-counter {
    color: var(--text-secondary);
    font-size: 0.9rem;
    background: var(--bg-darker);
    padding: 0.5rem 1rem;
    border-radius: 20px;
    border: 1px solid var(--accent-primary);
}

.playlist-container {
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.playlist-container::-webkit-scrollbar {
    width: 8px;
}

.playlist-container::-webkit-scrollbar-track {
    background: var(--bg-darker);
    border-radius: 4px;
}

.playlist-container::-webkit-scrollbar-thumb {
    background: var(--accent-primary);
    border-radius: 4px;
}

.jukebox-playlist {
    list-style: none;
    padding: 0;
    margin: 0;
}

.playlist-item {
    display: flex;
    align-items: center;
    padding: 1rem;
    margin-bottom: 0.5rem;
    background: linear-gradient(90deg, var(--bg-medium), var(--bg-dark));
    border-radius: 8px;
    border-left: 4px solid var(--border-light);
    cursor: pointer;
    transition: all 0.3s ease;
}

.playlist-item:hover {
    background: linear-gradient(90deg, var(--bg-lighter), var(--bg-medium));
    border-left-color: var(--accent-primary);
    transform: translateX(5px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.playlist-item.active {
    background: linear-gradient(90deg, var(--accent-darker), var(--accent-primary));
    border-left-color: var(--accent-light);
    color: var(--text-primary);
    box-shadow: 
        0 5px 15px rgba(74, 144, 226, 0.3),
        inset 0 1px 2px rgba(255, 255, 255, 0.1);
}

.track-number {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    color: var(--accent-primary);
    margin-right: 1rem;
    min-width: 30px;
}

.track-name {
    flex: 1;
    font-weight: 500;
    color: var(--text-primary);
}

.track-status {
    font-size: 0.8rem;
    color: var(--text-secondary);
    font-weight: bold;
    padding: 0.2rem 0.5rem;
    background: var(--bg-darker);
    border-radius: 4px;
    letter-spacing: 0.5px;
}

.playlist-item.active .track-status {
    background: var(--accent-light);
    color: var(--bg-darker);
}

.jukebox-footer {
    background: linear-gradient(135deg, var(--accent-primary), var(--accent-darker));
    padding: 1rem 2rem;
    position: relative;
    border-top: 3px solid var(--accent-light);
}

.chrome-strip {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: linear-gradient(90deg,
        var(--accent-light) 0%,
        var(--text-primary) 50%,
        var(--accent-light) 100%);
}

.brand-info {
    display: flex;
    justify-content: space-between;
    align-items: center;
    color: var(--text-primary);
    font-size: 0.8rem;
    font-weight: bold;
    letter-spacing: 1px;
}

.model-number {
    font-family: 'Courier New', monospace;
    color: var(--text-secondary);
}

/* Mobile Responsiveness for Jukebox */
@media (max-width: 1024px) {
    .jukebox-container {
        padding: 1rem 0.5rem;
    }
    
    .jukebox-title {
        font-size: 2rem;
    }
    
    .jukebox-body {
        padding: 1.5rem;
    }
    
    .vinyl-record {
        width: 150px;
        height: 150px;
    }
    
    /* Mobile 3D record player adjustments handled by Three.js */
    
    .jukebox-btn {
        width: 70px;
        height: 70px;
        font-size: 1.5rem;
    }
}

@media (max-width: 768px) {
    .jukebox-container {
        padding: 0.5rem;
    }
    
    .jukebox-title {
        font-size: 1.5rem;
        letter-spacing: 2px;
    }
    
    .jukebox-subtitle {
        font-size: 0.8rem;
        letter-spacing: 1px;
    }
    
    .jukebox-body {
        padding: 1rem;
    }
    
    .vinyl-section {
        height: 250px;
        margin-bottom: 1rem;
    }
    
    /* Mobile 3D record player adjustments handled by Three.js */
    
    /* Tone arm now handled by 3D record player */
    
    .jukebox-buttons {
        gap: 0.5rem;
    }
    
    .jukebox-btn {
        width: 60px;
        height: 60px;
        font-size: 1.3rem;
    }
    
    .btn-label {
        font-size: 0.5rem;
    }
    
    .track-title {
        font-size: 1.4rem;
    }
    
    .playlist-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .playlist-title {
        font-size: 1.2rem;
        letter-spacing: 1px;
    }
    
    .brand-info {
        flex-direction: column;
        gap: 0.5rem;
        text-align: center;
    }
}

@media (max-width: 576px) {
    .jukebox-display,
    .jukebox-controls,
    .playlist-section {
        padding: 1rem;
    }
    
    .vinyl-section {
        height: 200px;
    }
    
    /* Mobile 3D record player adjustments handled by Three.js */
    
    .track-title {
        font-size: 1.2rem;
    }
    
    .playlist-item {
        padding: 0.8rem;
    }
    
    .equalizer {
        height: 40px;
    }
    
    .eq-bar {
        width: 6px;
    }
}
