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

:root {
    --bg-primary: #000000;
    --bg-secondary: #0a0a0a;
    --bg-card: #111111;
    --accent: #ffffff;
    --accent-dim: rgba(255, 255, 255, 0.1);
    --accent-glow: rgba(255, 255, 255, 0.15);
    --text-primary: #ffffff;
    --text-secondary: #888888;
    --border: #222222;
    --border-light: #333333;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: 'Bebas Neue', sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.7;
    overflow-x: hidden;
    font-size: 16px;
    min-height: 100vh;
}

/* Noise texture overlay */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='noise'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23noise)'/%3E%3C/svg%3E");
    opacity: 0.02;
    pointer-events: none;
    z-index: 1000;
}

/* Navigation */
nav {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    padding: 1.5rem 3rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 100;
    background: rgba(0, 0, 0, 0.9);
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border);
}

.logo {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 1.5rem;
    letter-spacing: 0.15em;
    color: var(--text-primary);
    text-decoration: none;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.logo-img {
    width: 32px;
    height: 32px;
    border-radius: 50%;
    object-fit: cover;
}

.back-link {
    color: var(--text-secondary);
    text-decoration: none;
    font-size: 0.975rem;
    letter-spacing: 0.2rem;
    font-weight: 500;
    display: flex;
    align-items: center;
    gap: 0.5rem;
    transition: color 0.3s ease;
}

.back-link:hover {
    color: var(--text-primary);
}

/* Main Radio Container */
.radio-page {
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    padding-top: 80px;
}

.radio-main {
    flex: 1;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* Player Section */
.player-section {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    padding: 4rem;
    position: relative;
    overflow: hidden;
    width: 100%;
    max-width: 600px;
    min-height: calc(100vh - 80px);
}

.player-section::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    opacity: 0.3;
    pointer-events: none;
}

/* Player Status */
.player-status {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    background: var(--bg-card);
    border: 1px solid var(--border);
    padding: 0.5rem 1.25rem;
    font-size: 0.75rem;
    letter-spacing: 0.15em;
    text-transform: uppercase;
    margin-bottom: 3rem;
    border-radius: 50px;
}

.status-dot {
    width: 8px;
    height: 8px;
    background: var(--text-secondary);
    border-radius: 50%;
    transition: all 0.3s ease;
}

.status-dot.live {
    background: #00ff00;
    box-shadow: 0 0 10px #00ff00;
    animation: pulse 2s ease-in-out infinite;
}

.status-text {
    font-family: 'Bebas Neue', sans-serif;
    letter-spacing: 0.2rem;
    font-size: 0.80rem;
}

@keyframes pulse {
    0%, 100% { 
        opacity: 1;
        box-shadow: 0 0 0 0 rgba(0, 255, 0, 0.4);
    }
    50% { 
        opacity: 0.8;
        box-shadow: 0 0 0 8px rgba(0, 255, 0, 0);
    }
}

/* Vinyl Player */
.vinyl-container {
    position: relative;
    width: 300px;
    height: 300px;
    margin-bottom: 3rem;
}

.vinyl {
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: linear-gradient(135deg, #1a1a1a 0%, #000 50%, #1a1a1a 100%);
    position: relative;
    box-shadow: 
        0 0 0 8px #0a0a0a,
        0 0 0 10px var(--border),
        0 0 60px rgba(0, 0, 0, 0.5);
    transition: transform 0.3s ease;
}

.vinyl.playing {
    animation: spin 3s linear infinite;
}

@keyframes spin {
    from { transform: rotate(0deg); }
    to { transform: rotate(360deg); }
}

.vinyl::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 130px;
    height: 130px;
    border-radius: 50%;
    background: var(--bg-primary);
    border: 1px solid var(--border-light);
}

.vinyl-label {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    border-radius: 50%;
    overflow: hidden;
    border: 1px solid var(--border-light);
}

.vinyl-label img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.vinyl-grooves {
    position: absolute;
    inset: 25px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.03);
}

.vinyl-grooves::before,
.vinyl-grooves::after {
    content: '';
    position: absolute;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.02);
}

.vinyl-grooves::before {
    inset: 20px;
}

.vinyl-grooves::after {
    inset: 40px;
}

/* Track Info */
.track-info {
    text-align: center;
    margin-bottom: 2rem;
}

.track-label {
    font-size: 1.3rem;
    color: var(--text-secondary);
    letter-spacing: 0.2em;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.track-title {
    font-family: 'Bebas Neue', sans-serif;
    font-size: 2.5rem;
    letter-spacing: 0.05em;
    margin-bottom: 0.25rem;
    transition: opacity 0.3s ease;
}

.track-artist {
    font-size: 1rem;
    color: var(--text-secondary);
}

/* Apple-style Play Button */
.player-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2rem;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: var(--text-primary);
    border: none;
    color: var(--bg-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.play-btn:hover {
    transform: scale(1.08);
    box-shadow: 0 8px 40px rgba(255, 255, 255, 0.25);
}

.play-btn:active {
    transform: scale(0.95);
}

.play-btn i {
    font-size: 1.8rem;
    margin-left: 4px;
    transition: transform 0.15s ease;
}

.play-btn.playing i {
    margin-left: 0;
}

.play-btn:active i {
    transform: scale(0.9);
}

/* Apple-style Volume Control */
.volume-control {
    display: flex;
    align-items: center;
    gap: 1rem;
    width: 100%;
    max-width: 300px;
}

.volume-control i {
    color: var(--text-secondary);
    width: 20px;
    text-align: center;
    transition: color 0.2s ease;
}

.volume-control:hover i {
    color: var(--text-primary);
}

.volume-slider {
    -webkit-appearance: none;
    appearance: none;
    flex: 1;
    height: 4px;
    background: var(--border);
    border-radius: 4px;
    cursor: pointer;
    transition: height 0.2s ease;
}

.volume-slider:hover {
    height: 6px;
}

.volume-slider::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    width: 16px;
    height: 16px;
    background: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.volume-slider::-webkit-slider-thumb:hover {
    transform: scale(1.2);
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

.volume-slider::-webkit-slider-thumb:active {
    transform: scale(1.1);
}

.volume-slider::-moz-range-thumb {
    width: 16px;
    height: 16px;
    background: var(--text-primary);
    border-radius: 50%;
    cursor: pointer;
    border: none;
    transition: transform 0.2s ease, box-shadow 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.volume-slider::-moz-range-thumb:hover {
    transform: scale(1.2);
}

.volume-value {
    font-size: 0.75rem;
    color: var(--text-secondary);
    min-width: 35px;
    text-align: right;
}

/* Responsive */
@media (max-width: 1024px) {
    .radio-main {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    nav {
        padding: 1rem 1.5rem;
    }

    .player-section {
        padding: 2rem 1.5rem;
    }

    .vinyl-container {
        width: 220px;
        height: 220px;
    }

    .vinyl::before {
        width: 100px;
        height: 100px;
    }

    .vinyl-label {
        width: 90px;
        height: 90px;
    }

    .track-title {
        font-size: 1.8rem;
    }

    .play-btn {
        width: 70px;
        height: 70px;
    }

    .play-btn i {
        font-size: 1.5rem;
    }

}