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

:root {
    --primary-color: #000000;
    --secondary-color: #000000;
    --accent-color: #000000;
    --accent-hover: #333333;
    --bg-light: #ffffff;
    --bg-white: #ffffff;
    --bg-dark: #000000;
    --text-dark: #000000;
    --text-light: #333333;
    --text-white: #ffffff;
    --border-color: #000000;
    --shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
    --shadow-hover: 0 5px 20px rgba(0, 0, 0, 0.3);
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background: linear-gradient(135deg, #dc0000 0%, #b30000 50%, #8b0000 100%);
    color: var(--text-dark);
    min-height: 100vh;
    line-height: 1.6;
    position: relative;
}

/* Date and Time Display */
.datetime-display {
    position: fixed;
    top: 20px;
    right: 20px;
    background: rgba(0, 0, 0, 0.7);
    color: #ffffff;
    padding: 12px 20px;
    border-radius: 8px;
    font-size: 0.95rem;
    font-weight: 600;
    z-index: 1000;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.1);
    letter-spacing: 0.5px;
}

.datetime-display::before {
    content: '🕐 ';
    margin-right: 8px;
}

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

/* Main Content */
.main-content {
    padding: 0;
    width: 100%;
    max-width: 100%;
}

/* Hero Section */
.hero {
    background: var(--bg-dark);
    color: var(--text-white);
    padding: 0;
    text-align: center;
    position: relative;
    overflow: hidden;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.1) 0%, transparent 70%);
    animation: rotate 20s linear infinite;
    pointer-events: none;
}

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

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: 
        url('data:image/svg+xml,<svg width="100" height="100" xmlns="http://www.w3.org/2000/svg"><defs><pattern id="grid" width="100" height="100" patternUnits="userSpaceOnUse"><path d="M 100 0 L 0 0 0 100" fill="none" stroke="rgba(255,255,255,0.08)" stroke-width="1"/></pattern></defs><rect width="100" height="100" fill="url(%23grid)"/></svg>'),
        radial-gradient(ellipse at top, rgba(255, 255, 255, 0.05) 0%, transparent 50%);
    opacity: 0.6;
    pointer-events: none;
}

.hero-content {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 900px;
    margin: 0 auto;
    padding: 3rem 2rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    gap: 3rem;
}

.hero-logo {
    display: block;
    margin: 0;
    text-decoration: none;
    transition: transform 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    animation: logoIntro 1.5s cubic-bezier(0.34, 1.56, 0.64, 1) forwards;
    opacity: 0;
    transform: translateY(-80px) scale(0.6) rotate(-5deg);
}

@keyframes logoIntro {
    0% {
        opacity: 0;
        transform: translateY(-80px) scale(0.6) rotate(-5deg);
    }
    50% {
        transform: translateY(15px) scale(1.1) rotate(2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotate(0deg);
    }
}

.hero-logo:hover {
    transform: scale(1.1) translateY(-8px);
}

.hero-logo-img {
    height: 250px;
    width: auto;
    object-fit: contain;
    filter: drop-shadow(0 15px 50px rgba(0, 0, 0, 0.6)) 
            drop-shadow(0 0 30px rgba(255, 255, 255, 0.1));
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    will-change: transform, filter;
}

.hero-logo:hover .hero-logo-img {
    filter: drop-shadow(0 20px 60px rgba(0, 0, 0, 0.7)) 
            drop-shadow(0 0 40px rgba(255, 255, 255, 0.15));
    transform: scale(1.05);
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
    letter-spacing: -1px;
}

.hero-subtitle {
    font-size: 1.3rem;
    margin-bottom: 3rem;
    opacity: 0.9;
    font-weight: 300;
}

/* Player Container */
.player-container {
    max-width: 800px;
    margin: 0;
    width: 100%;
    animation: playerIntro 1.2s cubic-bezier(0.34, 1.56, 0.64, 1) 0.6s both;
    opacity: 0;
    transform: translateY(80px) scale(0.9);
}

@keyframes playerIntro {
    0% {
        opacity: 0;
        transform: translateY(80px) scale(0.9) rotateX(15deg);
    }
    60% {
        transform: translateY(-10px) scale(1.05) rotateX(-2deg);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1) rotateX(0deg);
    }
}

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

.player {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 255, 255, 0.95) 100%);
    backdrop-filter: blur(30px) saturate(180%);
    -webkit-backdrop-filter: blur(30px) saturate(180%);
    border-radius: 40px;
    padding: 4rem;
    box-shadow: 
        0 30px 100px rgba(0, 0, 0, 0.5),
        0 0 0 1px rgba(255, 255, 255, 0.3),
        inset 0 2px 4px rgba(255, 255, 255, 0.8),
        inset 0 -2px 4px rgba(0, 0, 0, 0.05);
    transition: all 0.5s cubic-bezier(0.34, 1.56, 0.64, 1);
    border: 2px solid rgba(255, 255, 255, 0.4);
    position: relative;
    overflow: hidden;
}

.player::before {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(220, 0, 0, 0.05) 0%, transparent 70%);
    opacity: 0;
    transition: opacity 0.5s ease;
}

.player:hover::before {
    opacity: 1;
}

.player:hover {
    transform: translateY(-12px) scale(1.03);
    box-shadow: 
        0 40px 120px rgba(0, 0, 0, 0.6),
        0 0 0 1px rgba(255, 255, 255, 0.4),
        inset 0 2px 6px rgba(255, 255, 255, 0.9),
        inset 0 -2px 6px rgba(0, 0, 0, 0.08),
        0 0 60px rgba(220, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.player-info {
    margin-bottom: 3rem;
    text-align: center;
    position: relative;
    z-index: 1;
}

.station-info {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid rgba(0, 0, 0, 0.08);
}

.station-name {
    font-size: 1.8rem;
    font-weight: 800;
    margin-bottom: 1rem;
    color: var(--text-dark);
    letter-spacing: 1px;
    text-transform: uppercase;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

.track-info {
    font-size: 1.1rem;
    color: var(--text-light);
    min-height: 1.8rem;
    font-weight: 500;
    line-height: 1.6;
}

.player-status {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    font-size: 0.9rem;
    color: var(--text-light);
    margin-top: 1.5rem;
    font-weight: 600;
    padding: 0.5rem 1.25rem;
    background: rgba(0, 0, 0, 0.04);
    border-radius: 20px;
    border: 1px solid rgba(0, 0, 0, 0.08);
}

.status-dot {
    width: 14px;
    height: 14px;
    border-radius: 50%;
    background: #dc0000;
    animation: pulse 2s infinite;
    box-shadow: 0 0 10px rgba(220, 0, 0, 0.5);
    position: relative;
}

.status-dot::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100%;
    height: 100%;
    border-radius: 50%;
    background: inherit;
    animation: ripple 2s infinite;
}

@keyframes ripple {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.8;
    }
    100% {
        transform: translate(-50%, -50%) scale(2.5);
        opacity: 0;
    }
}

.status-dot.playing {
    background: #27ae60;
    box-shadow: 0 0 15px rgba(39, 174, 96, 0.6);
}

@keyframes pulse {
    0%, 100% {
        opacity: 1;
        transform: scale(1);
    }
    50% {
        opacity: 0.7;
        transform: scale(1.1);
    }
}

.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 1.5rem;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.control-btn {
    background: linear-gradient(135deg, #f8f8f8 0%, #ffffff 100%);
    border: 2px solid rgba(0, 0, 0, 0.08);
    color: var(--text-dark);
    width: 60px;
    height: 60px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
    font-size: 1.2rem;
    box-shadow: 
        0 4px 15px rgba(0, 0, 0, 0.1),
        inset 0 1px 0 rgba(255, 255, 255, 0.8);
    position: relative;
    overflow: hidden;
}

.control-btn::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    width: 0;
    height: 0;
    border-radius: 50%;
    background: #dc0000;
    transform: translate(-50%, -50%);
    transition: width 0.4s ease, height 0.4s ease;
}

.control-btn:hover::before {
    width: 100%;
    height: 100%;
}

.control-btn:hover {
    border-color: #dc0000;
    color: var(--text-white);
    transform: scale(1.15) rotate(5deg);
    box-shadow: 
        0 10px 30px rgba(220, 0, 0, 0.4),
        inset 0 1px 0 rgba(255, 255, 255, 0.3);
}

.control-btn i {
    position: relative;
    z-index: 1;
}

.play-pause-btn {
    width: 85px;
    height: 85px;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #dc0000 0%, #b30000 100%);
    border: 3px solid rgba(255, 255, 255, 0.3);
    color: var(--text-white);
    box-shadow: 
        0 10px 35px rgba(220, 0, 0, 0.4),
        inset 0 2px 10px rgba(255, 255, 255, 0.2),
        inset 0 -2px 10px rgba(0, 0, 0, 0.2);
    position: relative;
    z-index: 1;
}

.play-pause-btn::before {
    display: none;
}

.play-pause-btn:hover {
    background: linear-gradient(135deg, #b30000 0%, #8b0000 100%);
    border-color: rgba(255, 255, 255, 0.4);
    box-shadow: 
        0 15px 45px rgba(220, 0, 0, 0.5),
        inset 0 2px 15px rgba(255, 255, 255, 0.3),
        inset 0 -2px 15px rgba(0, 0, 0, 0.3),
        0 0 30px rgba(220, 0, 0, 0.3);
    transform: scale(1.12) rotate(-5deg);
}

.volume-btn {
    position: relative;
}

.volume-slider {
    position: absolute;
    bottom: 60px;
    left: 50%;
    transform: translateX(-50%) rotate(-90deg);
    width: 100px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s ease;
}

.volume-btn:hover .volume-slider {
    opacity: 1;
    pointer-events: all;
}

.player-progress {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 1rem;
}

.time-info {
    display: flex;
    justify-content: space-between;
    font-size: 0.95rem;
    color: var(--text-light);
    font-weight: 600;
    margin-top: 1.5rem;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(0, 0, 0, 0.08);
    position: relative;
    z-index: 1;
}

/* Footer */
.footer {
    background: var(--bg-dark);
    color: var(--text-white);
    text-align: center;
    padding: 2.5rem 0;
    margin-top: 0;
    position: relative;
}

.footer .container {
    position: relative;
}

.footer p {
    margin: 0;
    opacity: 0.9;
}

/* Responsive Design */
@media (max-width: 768px) {
    .player {
        padding: 2rem 1.5rem;
    }

    .player-controls {
        gap: 0.5rem;
    }

    .control-btn {
        width: 45px;
        height: 45px;
        font-size: 1rem;
    }

    .play-pause-btn {
        width: 60px;
        height: 60px;
        font-size: 1.5rem;
    }
    
    /* Date/Time Display - Mobile */
    .datetime-display {
        top: 10px;
        right: 10px;
        padding: 8px 15px;
        font-size: 0.85rem;
    }
}
