:root {
    --neon-pink: #ff00ff;
    --neon-blue: #00ffff;
    --neon-gold: #ffd700;
    --casino-red: #dc143c;
    --dark-bg: #1a1a2e;
    --darker-bg: #0f0f1a;
    --card-bg: #16213e;
}

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

body.jukebox-bg {
    background: linear-gradient(135deg, var(--darker-bg) 0%, var(--dark-bg) 100%);
    color: #fff;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    min-height: 100vh;
}

/* Navbar */
.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 40px;
    background: rgba(0, 0, 0, 0.5);
    border-bottom: 1px solid rgba(255, 215, 0, 0.3);
}

.logo {
    font-size: 1.8rem;
    font-weight: bold;
    text-decoration: none;
    color: var(--neon-gold);
}

.nav-links {
    display: flex;
    gap: 30px;
    align-items: center;
}

.nav-links a, .nav-link-btn {
    color: #a0a0a0;
    text-decoration: none;
    transition: color 0.3s;
    background: none;
    border: none;
    cursor: pointer;
    font-size: 1rem;
}

.nav-links a:hover, .nav-link-btn:hover {
    color: var(--neon-gold);
}

/* Neon text glow */
.neon-text {
    text-shadow:
        0 0 5px var(--neon-pink),
        0 0 10px var(--neon-pink),
        0 0 20px var(--neon-pink);
}

/* Main content */
.main-content {
    max-width: 1400px;
    margin: 0 auto;
    padding: 40px 20px;
}

/* Hero Section */
.hero-section {
    display: flex;
    justify-content: center;
    margin-bottom: 60px;
}

/* Jukebox Player */
.jukebox-player {
    background: linear-gradient(180deg, #2d1b4e 0%, #1a1a2e 100%);
    border: 4px solid var(--neon-gold);
    border-radius: 30px;
    padding: 40px;
    max-width: 500px;
    width: 100%;
    box-shadow:
        inset 0 0 50px rgba(255, 215, 0, 0.1),
        0 0 50px rgba(255, 215, 0, 0.3);
}

.player-header {
    text-align: center;
    margin-bottom: 30px;
}

.player-header h1 {
    font-size: 2.5rem;
    margin-bottom: 5px;
}

.tagline {
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Now Playing */
.now-playing {
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-bottom: 30px;
}

.vinyl-container {
    position: relative;
    width: 200px;
    height: 200px;
    margin-bottom: 20px;
}

.cover-art {
    width: 200px;
    height: 200px;
    border-radius: 50%;
    border: 4px solid var(--neon-gold);
    object-fit: cover;
    animation: rotate-disc 10s linear infinite;
    animation-play-state: paused;
}

.cover-art.playing {
    animation-play-state: running;
}

.vinyl-overlay {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 40px;
    height: 40px;
    background: var(--dark-bg);
    border-radius: 50%;
    border: 2px solid var(--neon-gold);
}

@keyframes rotate-disc {
    to { transform: rotate(360deg); }
}

.song-info {
    text-align: center;
}

.song-title {
    display: block;
    font-size: 1.4rem;
    font-weight: bold;
    color: #fff;
    margin-bottom: 5px;
}

.song-artist {
    display: block;
    color: var(--neon-gold);
    font-size: 1rem;
}

/* Player Controls */
.player-controls {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 30px;
    margin-bottom: 20px;
}

.play-btn {
    width: 80px;
    height: 80px;
    border-radius: 50%;
    background: linear-gradient(180deg, var(--neon-gold) 0%, #cc9900 100%);
    border: none;
    cursor: pointer;
    font-size: 2rem;
    color: #000;
    box-shadow:
        0 5px 20px rgba(255, 215, 0, 0.5),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.play-btn:hover {
    transform: scale(1.1);
    box-shadow:
        0 10px 30px rgba(255, 215, 0, 0.7),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

.volume-control {
    display: flex;
    align-items: center;
    gap: 10px;
}

.volume-icon {
    font-size: 1.5rem;
}

#volume-slider {
    width: 100px;
    cursor: pointer;
}

/* Player Stats */
.player-stats {
    display: flex;
    justify-content: center;
    gap: 30px;
    color: #a0a0a0;
    font-size: 0.9rem;
}

/* Sections */
.section-title {
    font-size: 2rem;
    margin-bottom: 30px;
    text-align: center;
}

.section-card {
    background: var(--card-bg);
    border: 2px solid var(--neon-gold);
    border-radius: 20px;
    padding: 30px;
    max-width: 600px;
    margin: 0 auto;
}

/* Request Section */
.request-section {
    margin-bottom: 60px;
}

.request-form .form-group {
    margin-bottom: 20px;
}

.request-form label {
    display: block;
    color: #a0a0a0;
    margin-bottom: 8px;
}

.form-input {
    width: 100%;
    padding: 12px 15px;
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid #333;
    border-radius: 8px;
    color: #fff;
    font-size: 1rem;
}

.form-input:focus {
    border-color: var(--neon-gold);
    outline: none;
    box-shadow: 0 0 10px rgba(255, 215, 0, 0.2);
}

/* Jackpot Button */
.jackpot-btn {
    display: inline-block;
    background: linear-gradient(180deg, var(--neon-gold) 0%, #cc9900 100%);
    color: #000;
    font-weight: bold;
    padding: 15px 40px;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    text-decoration: none;
    box-shadow:
        0 5px 15px rgba(255, 215, 0, 0.4),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
    transition: all 0.3s;
}

.jackpot-btn:hover {
    transform: scale(1.05);
    box-shadow:
        0 10px 30px rgba(255, 215, 0, 0.6),
        inset 0 2px 0 rgba(255, 255, 255, 0.3);
}

/* Songs Section */
.songs-section {
    margin-bottom: 60px;
}

.songs-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 25px;
}

/* Casino-style cards */
.casino-card {
    background: var(--card-bg);
    border: 2px solid var(--neon-gold);
    border-radius: 15px;
    overflow: hidden;
    position: relative;
    transition: transform 0.3s, box-shadow 0.3s;
}

.casino-card:hover {
    transform: translateY(-5px);
    box-shadow:
        0 10px 20px rgba(0, 0, 0, 0.5),
        0 0 30px rgba(255, 215, 0, 0.3);
}

.card-glow {
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: conic-gradient(
        transparent 0deg,
        rgba(255, 215, 0, 0.1) 90deg,
        transparent 180deg
    );
    animation: spin 4s linear infinite;
    pointer-events: none;
}

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

.song-cover {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.song-cover-placeholder {
    width: 100%;
    height: 180px;
    background: rgba(0, 0, 0, 0.3);
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: #333;
}

.song-details {
    padding: 15px;
    position: relative;
}

.song-card-title {
    font-size: 1.1rem;
    font-weight: bold;
    margin-bottom: 5px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.song-card-artist {
    color: var(--neon-gold);
    font-size: 0.9rem;
    margin-bottom: 10px;
}

.song-meta {
    display: flex;
    justify-content: space-between;
    font-size: 0.8rem;
    color: #a0a0a0;
}

.rating-display .star {
    color: var(--neon-gold);
}

/* Star Rating */
.rating-component {
    margin-top: 10px;
}

.star-rating {
    display: flex;
    gap: 2px;
}

.star-btn {
    background: transparent;
    border: none;
    font-size: 16px;
    color: #444;
    cursor: pointer;
    transition: color 0.2s, transform 0.2s;
    padding: 0;
}

.star-btn:hover,
.star-btn.active {
    color: var(--neon-gold);
    transform: scale(1.2);
    text-shadow: 0 0 10px var(--neon-gold);
}

/* Alerts */
.alert {
    padding: 15px 20px;
    border-radius: 10px;
    margin-bottom: 20px;
    max-width: 600px;
    margin-left: auto;
    margin-right: auto;
}

.alert-success {
    background: rgba(0, 255, 0, 0.1);
    border: 1px solid #0f0;
    color: #0f0;
}

.alert-error {
    background: rgba(255, 0, 0, 0.1);
    border: 1px solid #f00;
    color: #f00;
}

/* Footer */
.footer {
    text-align: center;
    padding: 30px;
    color: #666;
    border-top: 1px solid rgba(255, 215, 0, 0.2);
    margin-top: 60px;
}

/* Text utilities */
.text-center { text-align: center; }
.text-gray-400 { color: #9ca3af; }
.mb-4 { margin-bottom: 1rem; }
.inline { display: inline; }

/* Responsive */
@media (max-width: 768px) {
    .navbar {
        flex-direction: column;
        gap: 20px;
        padding: 15px 20px;
    }

    .nav-links {
        flex-wrap: wrap;
        justify-content: center;
        gap: 15px;
    }

    .jukebox-player {
        padding: 25px;
    }

    .player-header h1 {
        font-size: 1.8rem;
    }

    .cover-art, .vinyl-container {
        width: 150px;
        height: 150px;
    }

    .songs-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    }
}
