/* ==========================================
   LOCAL FONTS
   ========================================== */
@font-face {
    font-family: 'Orbitron';
    font-style: normal;
    font-weight: 400 900;
    font-display: swap;
    src: url('../fonts/orbitron.woff2') format('woff2');
}

@font-face {
    font-family: 'Roboto';
    font-style: normal;
    font-weight: 300 700;
    font-display: swap;
    src: url('../fonts/roboto.woff2') format('woff2');
}

/* ==========================================
   BASE SETTINGS
   ========================================== */
:root {
    /* Colors */
    --primary-color: #00d4ff;
    --secondary-color: #ff00ff;
    --accent-color: #ffff00;
    --dark-bg: #0a0a0a;
    --darker-bg: #050505;
    --card-bg: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #b0b0b0;
    --border-color: #333;
    --hover-color: #00ffff;
    
    /* Gradient background */
    --gradient-1: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    --gradient-2: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    --gradient-3: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a0a2e 50%, #0a0a0a 100%);
    
    /* Transition */
    --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    
    /* Font sizes */
    --font-size-small: 0.875rem;
    --font-size-normal: 1rem;
    --font-size-large: 1.25rem;
    --font-size-xl: 1.5rem;
    --font-size-xxl: 2rem;
    --font-size-hero: 3rem;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--gradient-dark);
    color: var(--text-primary);
    line-height: 1.6;
    overflow-x: hidden;
}

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

/* ==========================================
   HEADER
   ========================================== */
.sticky-header-wrapper {
    position: sticky;
    top: 0;
    z-index: 1000;
    background: transparent;
}

.header {
    background: rgba(10, 10, 10, 0.95);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 2px solid var(--primary-color);
    box-shadow: 0 4px 20px rgba(0, 212, 255, 0.3);
}

.header .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.logo {
    text-decoration: none;
    cursor: pointer;
    transition: opacity 0.3s ease;
}

.logo:hover {
    opacity: 0.8;
}

.logo h1 {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-size-xxl);
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 0 30px rgba(0, 212, 255, 0.5);
    animation: glow 2s ease-in-out infinite alternate;
}

@keyframes glow {
    from {
        filter: drop-shadow(0 0 5px var(--primary-color));
    }
    to {
        filter: drop-shadow(0 0 20px var(--secondary-color));
    }
}

.tagline {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    font-style: italic;
}

.main-nav ul {
    display: flex;
    list-style: none;
    gap: 2rem;
}

.main-nav a {
    color: var(--text-primary);
    text-decoration: none;
    font-weight: 500;
    text-transform: uppercase;
    font-size: var(--font-size-small);
    letter-spacing: 1px;
    position: relative;
    transition: var(--transition);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: var(--transition);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a:hover,
.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    gap: 5px;
    background: none;
    border: none;
    cursor: pointer;
    padding: 5px;
}

.mobile-menu-toggle span {
    width: 25px;
    height: 3px;
    background: var(--primary-color);
    transition: var(--transition);
}

/* ==========================================
   PLAYER BAR
   ========================================== */
.player-bar {
    background: rgba(26, 26, 26, 0.98);
    backdrop-filter: blur(10px);
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.player-controls {
    display: flex;
    align-items: center;
    gap: 1.5rem;
}

.play-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: var(--transition);
    box-shadow: 0 4px 15px rgba(0, 212, 255, 0.4);
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 6px 25px rgba(0, 212, 255, 0.6);
}

.play-btn svg {
    width: 24px;
    height: 24px;
    fill: white;
}

.play-btn.playing .play-icon {
    display: none;
}

.play-btn.playing .pause-icon {
    display: block;
}

.album-cover-wrapper {
    width: 46px;
    height: 46px;
    flex-shrink: 0;
    position: relative;
}

.album-cover {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    object-fit: cover;
    flex-shrink: 0;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.album-cover-fallback {
    width: 46px;
    height: 46px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.4);
}

.album-cover-fallback svg {
    width: 24px;
    height: 24px;
    opacity: 0.9;
}

.player-info {
    flex: 1;
    min-width: 0;
}

.current-track {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.track-title {
    font-weight: 700;
    font-size: var(--font-size-large);
    color: var(--primary-color);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.track-artist {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.current-channel {
    font-size: var(--font-size-small);
    color: var(--accent-color);
    margin-top: 0.25rem;
}

.player-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.volume-btn,
.channel-btn {
    background: none;
    border: none;
    cursor: pointer;
    padding: 0.5rem;
    color: var(--text-primary);
    transition: var(--transition);
}

.volume-btn:hover,
.channel-btn:hover {
    color: var(--primary-color);
    transform: scale(1.1);
}

.volume-btn svg,
.channel-btn svg {
    width: 24px;
    height: 24px;
    fill: currentColor;
}

.volume-slider {
    width: 100px;
    height: 4px;
    -webkit-appearance: none;
    appearance: none;
    background: var(--border-color);
    border-radius: 2px;
    outline: none;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    transition: var(--transition);
}

.volume-slider::-webkit-slider-thumb:hover {
    background: var(--hover-color);
    transform: scale(1.2);
}

.volume-slider::-moz-range-thumb {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: var(--primary-color);
    cursor: pointer;
    border: none;
    transition: var(--transition);
}

/* ==========================================
   MODAL (CHANNEL SELECTOR)
   ========================================== */
.modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.9);
    z-index: 10000;
    align-items: center;
    justify-content: center;
    animation: fadeIn 0.3s ease-in-out;
}

.modal.active {
    display: flex;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.modal-content {
    background: var(--card-bg);
    border-radius: 15px;
    max-width: 800px;
    width: 90%;
    max-height: 90vh;
    overflow-y: auto;
    box-shadow: 0 10px 50px rgba(0, 212, 255, 0.3);
    animation: slideUp 0.3s ease-in-out;
}

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

.modal-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.modal-header h2 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
}

.close-btn {
    background: none;
    border: none;
    color: var(--text-primary);
    font-size: 2rem;
    cursor: pointer;
    transition: var(--transition);
    line-height: 1;
}

.close-btn:hover {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.modal-body {
    padding: 1.5rem;
}

.channel-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tab-btn {
    flex: 1;
    padding: 1rem;
    background: var(--dark-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition);
    text-transform: uppercase;
}

.tab-btn:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.1);
}

.tab-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

.channel-content {
    display: none;
}

.channel-content.active {
    display: block;
}

.channel-content h3 {
    font-family: 'Orbitron', sans-serif;
    margin-bottom: 0.5rem;
    color: var(--primary-color);
}

.channel-description {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.genre-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: var(--font-size-small);
    color: var(--primary-color);
}

.stream-options {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.stream-option {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    transition: var(--transition);
}

.stream-option:hover {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.05);
}

.stream-info h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.stream-info p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
}

.select-stream-btn {
    padding: 0.75rem 1.5rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    font-size: var(--font-size-small);
}

.select-stream-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
}

/* ==========================================
   MAIN CONTENT
   ========================================== */
.main-content {
    min-height: calc(100vh - 300px);
    padding: 3rem 0;
}

.page-section {
    display: none;
    animation: fadeInContent 0.5s ease-in-out;
}

.page-section.active {
    display: block;
}

/* Page headings – styled like the logo */
.page-section > h2 {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-size-xxl);
    font-weight: 900;
    text-align: center;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
    margin-bottom: 2rem;
}

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

/* Hero Section */
.hero {
    text-align: center;
    padding: 4rem 0;
    background: linear-gradient(135deg, rgba(102, 126, 234, 0.1), rgba(118, 75, 162, 0.1));
    border-radius: 20px;
    margin-bottom: 3rem;
}

.hero-title {
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-size-hero);
    margin-bottom: 1rem;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color), var(--accent-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    animation: glow 2s ease-in-out infinite alternate;
}

.hero-subtitle {
    font-size: var(--font-size-xl);
    color: var(--text-secondary);
    margin-bottom: 2rem;
}

.cta-btn {
    padding: 1rem 3rem;
    font-size: var(--font-size-large);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 50px;
    color: white;
    font-weight: 700;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.4);
}

.cta-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 35px rgba(0, 212, 255, 0.6);
}

/* Channels Preview */
.channels-preview {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.channel-card {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    border: 2px solid var(--border-color);
    transition: var(--transition);
}

.channel-card:hover {
    border-color: var(--primary-color);
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.3);
}

.channel-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.channel-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

.channel-card:hover .channel-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.channel-card:hover .channel-icon svg {
    color: white;
    transform: scale(1.1);
}

.channel-card h3 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.channel-card p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.channel-tags {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    flex-wrap: wrap;
}

.channel-tags span {
    padding: 0.25rem 0.75rem;
    background: rgba(0, 212, 255, 0.2);
    border-radius: 15px;
    font-size: var(--font-size-small);
    color: var(--primary-color);
}

/* Info Section */
.info-section {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.info-section h3 {
    text-align: center;
    font-family: 'Orbitron', sans-serif;
    font-size: var(--font-size-xxl);
    margin-bottom: 2rem;
    color: var(--primary-color);
}

.features {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.feature {
    text-align: center;
}

.feature-icon {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    transition: var(--transition);
}

.feature-icon svg {
    width: 40px;
    height: 40px;
    color: var(--primary-color);
    transition: var(--transition);
}

.feature:hover .feature-icon {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--secondary-color);
    transform: translateY(-5px) scale(1.05);
    box-shadow: 0 10px 30px rgba(0, 212, 255, 0.4);
}

.feature:hover .feature-icon svg {
    color: white;
    transform: scale(1.1);
}

.feature h4 {
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature p {
    color: var(--text-secondary);
    font-size: var(--font-size-small);
}

/* Channels Page */
.channels-detailed {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
}

.channel-detail-card {
    background: var(--card-bg);
    padding: 0;
    border-radius: 15px;
    border: 2px solid var(--border-color);
    transition: var(--transition);
    overflow: hidden;
}

.channel-detail-card:hover {
    border-color: var(--primary-color);
    box-shadow: 0 5px 25px rgba(0, 212, 255, 0.2);
}

.channel-cover {
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    background-size: cover !important;
    background-position: center !important;
    transition: var(--transition);
}

.channel-detail-card:hover .channel-cover {
    transform: scale(1.02);
}

.channel-cover::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, rgba(0,0,0,0.5), rgba(0,0,0,0.85));
}

.channel-cover-text {
    position: relative;
    z-index: 1;
    text-align: center;
}

.channel-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2.5rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    margin-bottom: 0.25rem;
    filter: drop-shadow(0 0 20px rgba(0, 212, 255, 0.8));
    animation: glow 2s ease-in-out infinite alternate;
}

.channel-tagline {
    font-size: 0.9rem;
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
    margin-bottom: 0.75rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.channel-detail-card:hover .channel-logo {
    filter: drop-shadow(0 0 30px rgba(0, 212, 255, 1));
}

.channel-cover-title {
    font-family: 'Orbitron', sans-serif;
    font-size: 1.5rem;
    font-weight: 700;
    color: white;
    text-shadow: 0 0 20px rgba(0, 212, 255, 0.8);
    margin: 0;
    text-transform: uppercase;
    letter-spacing: 2px;
}

.channel-detail-content {
    padding: 2rem;
}

.channel-detail-content h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.channel-detail-card h3 {
    font-family: 'Orbitron', sans-serif;
    color: var(--primary-color);
    margin-bottom: 1rem;
}

.channel-desc {
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.genre-list {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
}

.genre-tag {
    padding: 0.5rem 1rem;
    background: rgba(0, 212, 255, 0.2);
    border: 1px solid var(--primary-color);
    border-radius: 20px;
    font-size: var(--font-size-small);
    color: var(--primary-color);
}

.quality-title {
    color: var(--text-primary);
    font-size: var(--font-size-medium);
    margin-bottom: 1rem;
    margin-top: 1rem;
}

.quality-options {
    display: flex;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin-bottom: 1rem;
}

.quality-btn {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 0.75rem 1rem;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 12px;
    cursor: pointer;
    transition: var(--transition);
    min-width: 80px;
}

.quality-btn:hover {
    background: rgba(0, 212, 255, 0.2);
    border-color: var(--secondary-color);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 212, 255, 0.3);
}

.quality-btn:active,
.quality-btn.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: var(--secondary-color);
}

.quality-format {
    font-weight: 700;
    font-size: var(--font-size-medium);
    color: var(--primary-color);
    margin-bottom: 0.25rem;
}

.quality-btn:active .quality-format,
.quality-btn.active .quality-format {
    color: white;
}

.quality-desc {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
}

.quality-btn:active .quality-desc,
.quality-btn.active .quality-desc {
    color: rgba(255, 255, 255, 0.8);
}

.channel-select-btn {
    padding: 0.75rem 2rem;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border: none;
    border-radius: 25px;
    color: white;
    font-weight: 600;
    cursor: pointer;
    transition: var(--transition);
    text-transform: uppercase;
}

.channel-select-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(0, 212, 255, 0.5);
}

/* Tracklist */
.tracklist-tabs {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.tracklist-tab {
    flex: 1;
    padding: 1rem;
    background: var(--card-bg);
    border: 2px solid var(--border-color);
    color: var(--text-primary);
    font-weight: 600;
    cursor: pointer;
    border-radius: 10px;
    transition: var(--transition);
}

.tracklist-tab:hover {
    border-color: var(--primary-color);
}

.tracklist-tab.active {
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    border-color: transparent;
}

.tracklist-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.tracklist-data {
    display: none;
}

.tracklist-data.active {
    display: block;
}

.tracklist-info,
.tracklist-loading {
    text-align: center;
    color: var(--text-secondary);
    padding: 3rem;
}

.tracklist-loading {
    opacity: 0.6;
}

.tracklist-items {
    list-style: none;
    padding: 0;
    margin: 0;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.tracklist-item {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 0.85rem 1rem;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid var(--border-color);
    transition: background 0.2s;
}

.tracklist-cover {
    width: 42px;
    height: 42px;
    flex-shrink: 0;
    border-radius: 6px;
    overflow: hidden;
    position: relative;
}

.tracklist-cover-img {
    width: 42px;
    height: 42px;
    object-fit: cover;
    border-radius: 6px;
    display: none;
}

.tracklist-cover-fallback {
    width: 42px;
    height: 42px;
    border-radius: 6px;
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    display: flex;
    align-items: center;
    justify-content: center;
}

.tracklist-cover-fallback svg {
    width: 20px;
    height: 20px;
    opacity: 0.9;
}

.tracklist-item:hover {
    background: rgba(0, 212, 255, 0.06);
}

.tracklist-item--current {
    border-color: var(--primary-color);
    background: rgba(0, 212, 255, 0.08);
}

.tracklist-num {
    min-width: 2rem;
    text-align: center;
    font-size: 0.85rem;
    color: var(--text-secondary);
    font-weight: 600;
}

.tracklist-item--current .tracklist-num {
    color: var(--primary-color);
}

.tracklist-track-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.15rem;
    min-width: 0;
}

.tracklist-track-title {
    font-weight: 600;
    color: var(--text-primary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracklist-item--current .tracklist-track-title {
    color: var(--primary-color);
}

.tracklist-track-artist {
    font-size: 0.85rem;
    color: var(--text-secondary);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.tracklist-time {
    font-size: 0.8rem;
    color: var(--text-secondary);
    white-space: nowrap;
    margin-left: auto;
    padding-left: 0.5rem;
}

/* About & Contact */
.about-content,
.contact-content {
    background: var(--card-bg);
    padding: 2rem;
    border-radius: 15px;
    border: 1px solid var(--border-color);
}

.about-content h3,
.contact-content h3 {
    color: var(--primary-color);
    margin-top: 2rem;
    margin-bottom: 1rem;
}

.about-content p,
.contact-content p {
    color: var(--text-secondary);
    margin-bottom: 1rem;
    line-height: 1.8;
}

.about-list {
    list-style: none;
    padding-left: 0;
}

.about-list li {
    color: var(--text-secondary);
    margin-bottom: 0.75rem;
    padding-left: 2rem;
}

.contact-methods {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 2rem 0;
}

.contact-card {
    background: var(--dark-bg);
    padding: 1.5rem;
    border-radius: 10px;
    border: 1px solid var(--border-color);
}

.contact-card h3 {
    color: var(--primary-color) !important;
    margin-top: 0 !important;
}

.social-links {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.social-link {
    color: var(--primary-color);
    text-decoration: none;
    transition: var(--transition);
}

.social-link:hover {
    color: var(--hover-color);
    padding-left: 0.5rem;
}

.partners-section {
    margin-top: 3rem;
}

.partners-list {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.partners-list a {
    padding: 0.75rem 1.5rem;
    background: var(--dark-bg);
    border: 1px solid var(--border-color);
    border-radius: 10px;
    color: var(--text-primary);
    text-decoration: none;
    transition: var(--transition);
}

.partners-list a:hover {
    border-color: var(--primary-color);
    color: var(--primary-color);
}

/* ==========================================
   FOOTER
   ========================================== */
.footer {
    background: var(--darker-bg);
    padding: 2rem 0 0.5rem;
    margin-top: 3rem;
    border-top: 2px solid var(--primary-color);
}

.footer-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-bottom: 1.5rem;
}

.footer-logo {
    font-family: 'Orbitron', sans-serif;
    font-size: 2rem;
    font-weight: 900;
    background: linear-gradient(45deg, var(--primary-color), var(--secondary-color));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin: 0;
    margin-bottom: 0.5rem;
    filter: drop-shadow(0 0 15px rgba(0, 212, 255, 0.6));
    animation: glow 2s ease-in-out infinite alternate;
}

.footer-tagline {
    font-size: var(--font-size-small);
    color: var(--text-secondary);
    font-style: italic;
    margin: 0;
}

.footer-section h4 {
    color: var(--primary-color);
    margin-bottom: 1rem;
    font-family: 'Orbitron', sans-serif;
}

.footer-section ul {
    list-style: none;
}

.footer-section ul li {
    margin-bottom: 0.5rem;
}

.footer-section a {
    color: var(--text-secondary);
    text-decoration: none;
    transition: var(--transition);
}

.footer-section a:hover {
    color: var(--primary-color);
    padding-left: 0.5rem;
}

.social-icons {
    display: flex;
    gap: 1rem;
}

.social-icons a {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background: rgba(0, 212, 255, 0.1);
    border: 2px solid var(--primary-color);
    border-radius: 50%;
    color: var(--primary-color);
    transition: var(--transition);
}

.social-icons a svg {
    width: 20px;
    height: 20px;
}

.social-icons a:hover {
    transform: scale(1.1);
    background: linear-gradient(135deg, var(--primary-color), var(--secondary-color));
    color: white;
    box-shadow: 0 0 20px rgba(0, 212, 255, 0.5);
}

.footer-bottom {
    text-align: center;
    padding-top: 1.5rem;
    border-top: 1px solid var(--border-color);
    color: var(--text-secondary);
    font-size: var(--font-size-small);
}

/* ==========================================
   RESPONSIVE DESIGN
   ========================================== */
@media (max-width: 768px) {
    :root {
        --font-size-hero: 2rem;
        --font-size-xxl: 1.5rem;
        --font-size-xl: 1.25rem;
    }
    
    .header .container {
        flex-wrap: wrap;
    }
    
    .main-nav {
        display: none;
        width: 100%;
        order: 3;
    }
    
    .main-nav.active {
        display: block;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1rem 0;
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
    
    .sticky-header-wrapper {
        position: relative;
    }
    
    .player-bar {
        position: fixed;
        bottom: 0;
        left: 0;
        right: 0;
        top: auto;
        z-index: 1000;
    }
    
    .player-controls {
        flex-wrap: wrap;
    }
    
    .player-actions {
        width: 100%;
        justify-content: space-around;
    }

    .volume-btn,
    .volume-slider,
    .channel-btn {
        display: none;
    }
    
    .main-content {
        padding-bottom: 120px;
    }

    .footer {
        padding-bottom: 0;
    }

    .footer-bottom {
        padding-bottom: 160px;
    }
    
    .hero {
        padding: 2rem 1rem;
    }
    
    .channels-preview {
        grid-template-columns: 1fr;
    }

    .channels-detailed {
        grid-template-columns: 1fr;
    }
    
    .features {
        grid-template-columns: 1fr;
    }
    
    .modal-content {
        width: 95%;
    }
    
    .quality-options {
        justify-content: center;
    }
    
    .quality-btn {
        min-width: 70px;
        padding: 0.6rem 0.8rem;
    }
    
    .channel-cover {
        height: 150px;
    }
    
    .channel-logo {
        font-size: 2rem;
    }
    
    .channel-tagline {
        font-size: 0.75rem;
    }
    
    .channel-cover-title {
        font-size: 1.5rem;
    }
    
    .footer-logo {
        font-size: 1.75rem;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.5rem;
    }
    
    .play-btn {
        width: 40px;
        height: 40px;
    }
    
    .track-title {
        font-size: 1rem;
    }
    
    .channel-cover {
        height: 120px;
    }
    
    .channel-logo {
        font-size: 1.5rem;
    }
    
    .channel-tagline {
        font-size: 0.65rem;
        margin-bottom: 0.5rem;
    }
    
    .channel-cover-title {
        font-size: 1.1rem;
    }
    
    .quality-btn {
        min-width: 60px;
        padding: 0.5rem 0.6rem;
        font-size: 0.85rem;
    }
    
    .footer-logo {
        font-size: 1.5rem;
    }
}

/* ==========================================
   ANIMATIONS
   ========================================== */
@keyframes pulse {
    0%, 100% {
        opacity: 1;
    }
    50% {
        opacity: 0.5;
    }
}

.loading {
    animation: pulse 1.5s ease-in-out infinite;
}

/* Scrollbar styling */
::-webkit-scrollbar {
    width: 10px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

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