:root {
    --primary: #ff007f; /* Vibrant Magenta */
    --primary-hover: #e60072;
    --secondary: #1a1a1e;
    --bg-dark: #0f0f12;
    --bg-card: #16161a;
    --text-main: #e0e0e0;
    --text-muted: #888888;
    --border: #2a2a2e;
    --shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
    --shadow-sm: 0 4px 12px rgba(0, 0, 0, 0.3);
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: 'Outfit', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
}

body {
    background-color: var(--bg-dark);
    color: var(--text-main);
    line-height: 1.6;
    overflow-x: hidden;
}

/* ── Layout Container ───────────────────────────────────── */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* ── Top Navigation ───────────────────────────────────── */
.top-nav {
    background: rgba(15, 15, 18, 0.8);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    height: 80px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 0 5%;
    position: sticky;
    top: 0;
    z-index: 1000;
    border-bottom: 1px solid var(--border);
}

.top-nav-logo {
    font-size: 1.8rem;
    font-weight: 900;
    color: #fff;
    text-decoration: none;
    letter-spacing: -1px;
    background: linear-gradient(45deg, #fff, var(--primary));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.top-nav-links {
    list-style: none;
    display: flex;
    gap: 2rem;
}

.nav-link {
    text-decoration: none;
    color: var(--text-muted);
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.nav-link:hover, .nav-link.active {
    color: #fff;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    color: #fff;
    font-size: 1.8rem;
    cursor: pointer;
    z-index: 2001;
}

.mobile-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    background: rgba(15, 15, 18, 0.98);
    backdrop-filter: blur(20px);
    z-index: 2000;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 30px;
    opacity: 0;
    visibility: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
}

.mobile-overlay.active {
    opacity: 1;
    visibility: visible;
}

.mobile-overlay .nav-link {
    font-size: 2rem;
    font-weight: 900;
}

.nav-link.active {
    position: relative;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -8px;
    left: 0;
    width: 100%;
    height: 2px;
    background: var(--primary);
    box-shadow: 0 0 10px var(--primary);
}

/* ── Hero / Player Section ────────────────────────────────── */
.player-hero {
    background: linear-gradient(135deg, #16161a 0%, #0f0f12 100%);
    padding: 60px 0;
    margin-bottom: 40px;
    position: relative;
    border-bottom: 1px solid var(--border);
}

.player-hero::before {
    content: '';
    position: absolute;
    top: -20%;
    right: -10%;
    width: 600px;
    height: 600px;
    background: radial-gradient(circle, rgba(255, 0, 127, 0.1) 0%, transparent 70%);
    z-index: 1;
}

.player-container {
    display: flex;
    align-items: center;
    gap: 40px;
    position: relative;
    z-index: 2;
}

.player-artwork {
    width: 280px;
    height: 280px;
    border-radius: 20px;
    object-fit: cover;
    box-shadow: var(--shadow);
    border: 1px solid var(--border);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.player-artwork:hover {
    transform: scale(1.03) rotate(1deg);
}

.player-content {
    flex: 1;
}

.live-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 0, 127, 0.1);
    color: var(--primary);
    padding: 6px 16px;
    border-radius: 100px;
    font-weight: 800;
    font-size: 0.75rem;
    text-transform: uppercase;
    margin-bottom: 20px;
    border: 1px solid rgba(255, 0, 127, 0.2);
}

.live-dot {
    width: 8px;
    height: 8px;
    background: var(--primary);
    border-radius: 50%;
    box-shadow: 0 0 10px var(--primary);
    animation: blink 1.5s infinite;
}

@keyframes blink {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.3; }
}

.song-title {
    font-size: 3rem;
    font-weight: 900;
    margin-bottom: 8px;
    line-height: 1.1;
    color: #fff;
    letter-spacing: -1px;
}

.song-artist {
    font-size: 1.4rem;
    color: var(--text-muted);
    margin-bottom: 35px;
}

/* ── Player Controls ───────────────────────────────────── */
.player-controls-row {
    display: flex;
    align-items: center;
    gap: 25px;
}

.play-btn {
    width: 72px;
    height: 72px;
    border-radius: 50%;
    background: var(--primary);
    border: none;
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    box-shadow: 0 10px 25px rgba(255, 0, 127, 0.4);
}

.play-btn:hover {
    transform: scale(1.15);
    background: var(--primary-hover);
    box-shadow: 0 15px 35px rgba(255, 0, 127, 0.5);
}

.progress-wrap {
    flex: 1;
}

.progress-bar {
    height: 8px;
    background: rgba(255,255,255,0.05);
    border-radius: 10px;
    overflow: hidden;
    margin-bottom: 10px;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #7000ff, var(--primary));
    width: 0%;
    transition: width 0.1s linear;
    box-shadow: 0 0 15px var(--primary);
}

.time-row {
    display: flex;
    justify-content: space-between;
    font-size: 0.85rem;
    font-weight: 700;
    color: var(--text-muted);
}

/* ── Main Content Grid ───────────────────────────────────── */
.main-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
    padding-bottom: 80px;
}

/* ── Cards ─────────────────────────────────────────────── */
.card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 30px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border);
    margin-bottom: 30px;
}

.card-title {
    font-size: 1.5rem;
    font-weight: 900;
    margin-bottom: 25px;
    display: flex;
    align-items: center;
    gap: 12px;
    color: #fff;
}

.card-title::before {
    content: '';
    width: 6px;
    height: 24px;
    background: var(--primary);
    border-radius: 10px;
}

/* ── News List ─────────────────────────────────────────── */
.news-item {
    display: flex;
    gap: 25px;
    padding: 25px 0;
    border-bottom: 1px solid var(--border);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s;
}

.news-item:last-child { border-bottom: none; }

.news-item:hover {
    padding-left: 10px;
}

.news-item:hover .news-headline {
    color: var(--primary);
}

.news-img {
    width: 180px;
    height: 110px;
    object-fit: cover;
    border-radius: 12px;
    border: 1px solid var(--border);
}

.news-info {
    flex: 1;
}

.news-category {
    font-size: 0.75rem;
    text-transform: uppercase;
    font-weight: 800;
    color: var(--primary);
    margin-bottom: 8px;
    display: block;
    letter-spacing: 1px;
}

.news-headline {
    font-size: 1.3rem;
    font-weight: 800;
    margin-bottom: 10px;
    line-height: 1.3;
    color: #fff;
    transition: color 0.2s;
}

.news-excerpt {
    font-size: 0.95rem;
    color: var(--text-muted);
    line-height: 1.6;
}

/* ── Lists ────────────────────────────────────────────── */
.item-list {
    list-style: none;
}

.item-list li {
    padding: 15px 0;
    border-bottom: 1px solid var(--border);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.item-list li:last-child { border-bottom: none; }

/* ── Form Elements ─────────────────────────────────────── */
input[type="text"], input[type="email"], input[type="url"], input[type="file"], textarea {
    width: 100%;
    padding: 15px;
    background: rgba(255,255,255,0.03);
    border: 1px solid var(--border);
    border-radius: 12px;
    font-size: 1rem;
    color: #fff;
    outline: none;
    transition: all 0.3s;
}

input:focus, textarea:focus {
    border-color: var(--primary);
    background: rgba(255,255,255,0.06);
    box-shadow: 0 0 15px rgba(255, 0, 127, 0.1);
}

.btn {
    background: var(--primary);
    color: white;
    border: none;
    padding: 14px 28px;
    border-radius: 12px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.3s;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    text-decoration: none;
    font-size: 1rem;
}

.btn:hover {
    background: var(--primary-hover);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(255, 0, 127, 0.3);
}

.btn.secondary {
    background: rgba(255,255,255,0.05);
    border: 1px solid var(--border);
}

.btn.secondary:hover {
    background: rgba(255,255,255,0.1);
}

.btn.small {
    padding: 8px 16px;
    font-size: 0.85rem;
}

.btn.danger { background: #ff3b3b; }
.btn.success { background: #00ff7f; color: #000; }

/* ── Footer ────────────────────────────────────────────── */
footer {
    background: #09090b;
    color: white;
    padding: 80px 0 40px;
    border-top: 1px solid var(--border);
}

.footer-content {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr;
    gap: 60px;
    margin-bottom: 60px;
}

.footer-logo {
    font-size: 2rem;
    font-weight: 900;
    margin-bottom: 25px;
    display: block;
    color: #fff;
}

.footer-links h4 {
    margin-bottom: 25px;
    text-transform: uppercase;
    font-size: 0.9rem;
    letter-spacing: 2px;
    color: var(--primary);
}

.footer-links ul { list-style: none; }
.footer-links li { margin-bottom: 12px; }
.footer-links a { color: var(--text-muted); text-decoration: none; transition: color 0.2s; font-weight: 600; }
.footer-links a:hover { color: #fff; }

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

/* ── Responsive ────────────────────────────────────────── */
@media (max-width: 1024px) {
    .container { padding: 0 30px; }
    .player-container { gap: 30px; }
    .player-artwork { width: 240px; height: 240px; }
    .song-title { font-size: 2.8rem; }
    .footer-content { gap: 40px; }
}

@media (max-width: 768px) {
    .top-nav { height: 70px; padding: 0 20px; }
    .top-nav-links { display: none; } /* Hide desktop nav on mobile */
    .mobile-menu-btn { display: block; }
    
    .player-container { flex-direction: column; text-align: center; padding-top: 20px; }
    .player-artwork { width: 220px; height: 220px; margin: 0 auto; }
    .player-controls-row { flex-direction: column; gap: 20px; }
    .play-btn { width: 70px; height: 70px; }
    .song-title { font-size: 2.2rem; }
    
    .main-grid { grid-template-columns: 1fr; gap: 30px; }
    .footer-content { grid-template-columns: 1fr; text-align: center; }
    .footer-links ul { display: flex; flex-direction: column; align-items: center; }
}

@media (max-width: 480px) {
    .player-artwork { width: 180px; height: 180px; }
    .song-title { font-size: 1.8rem; }
    .song-artist { font-size: 1rem; }
    .player-action-btns { flex-direction: column; width: 100%; }
    .btn.small { width: 100%; justify-content: center; }
    .share-panel { width: 90vw; right: -5vw; }
}

/* Utils */
.hidden { display: none !important; }
.msg { padding: 15px; border-radius: 10px; margin-top: 15px; font-weight: 700; text-align: center; }
.msg.success { background: rgba(0, 255, 127, 0.1); color: #00ff7f; border: 1px solid rgba(0, 255, 127, 0.2); }
.msg.error { background: rgba(255, 59, 59, 0.1); color: #ff3b3b; border: 1px solid rgba(255, 59, 59, 0.2); }

/* Modal */
.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,0.85);
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2000;
    opacity: 0;
    visibility: hidden;
    transition: 0.3s;
}

.modal-overlay.active { opacity: 1; visibility: visible; }

.modal-box {
    background: var(--bg-card);
    padding: 40px;
    border-radius: 24px;
    width: 90%;
    max-width: 600px;
    position: relative;
    border: 1px solid var(--border);
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.modal-close {
    position: absolute;
    top: 20px;
    right: 20px;
    cursor: pointer;
    font-size: 1.5rem;
    color: var(--text-muted);
}
