/* General reset and theme */
:root {
  --bg: #0a0d12;
  --text: #e6e8eb;
  --muted: #95a1b2;
  --primary: #58c6ff;
  --primary-2: #7af0d3;
  --card: rgba(255, 255, 255, 0.06);
  --border: rgba(255, 255, 255, 0.12);
  --shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
}

* { box-sizing: border-box; }
html, body { height: 100%; }
body {
  margin: 0;
  color: var(--text);
  background: radial-gradient(1200px circle at 10% 10%, #0c1522, var(--bg)) fixed;
  font-family: 'Inter', system-ui, -apple-system, Segoe UI, Roboto, Helvetica, Arial, sans-serif;
  line-height: 1.5;
}

.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }
.muted { color: var(--muted); }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  backdrop-filter: saturate(150%) blur(10px);
  background: linear-gradient(180deg, rgba(10,13,18,0.85), rgba(10,13,18,0.6));
  border-bottom: 1px solid var(--border);
}
.header-inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand { display: flex; align-items: center; text-decoration: none; color: var(--text); }
.brand-logo { width: 36px; height: 36px; margin-right: 10px; }
.brand-name { font-weight: 700; letter-spacing: 0.2px; }
.header-actions { display: flex; gap: 10px; }

/* Hero */
.hero { padding: 60px 0 30px; }
.hero-content { display: grid; gap: 24px; grid-template-columns: 1.3fr 1fr; align-items: center; }
.hero-text h1 { margin: 0 0 12px; font-size: 2rem; }
.hero-text p { margin: 0; color: var(--muted); }

/* Cards and glass */
.glass {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  box-shadow: var(--shadow);
}
.card { padding: 20px; }
.grid-2 { display: grid; gap: 24px; grid-template-columns: repeat(2, 1fr); }

/* Player card */
.player-card { padding: 22px; }
.player-header { display: flex; gap: 14px; align-items: center; margin-bottom: 14px; }
.player-logo { width: 42px; height: 42px; }
.controls { display: flex; flex-wrap: wrap; gap: 12px; align-items: center; }
.status { margin-top: 10px; font-size: 0.95rem; }
.player-links { margin-top: 10px; }
.stream-link { color: var(--primary); text-decoration: none; }
.stream-link:hover { text-decoration: underline; }

/* Buttons */
.btn { cursor: pointer; border-radius: 10px; border: 1px solid var(--border); padding: 10px 14px; font-weight: 600; color: var(--text); background: rgba(255,255,255,0.06); transition: all 0.18s ease; }
.btn:hover { transform: translateY(-1px); background: rgba(255,255,255,0.1); }
.btn-primary { background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #042033; border: none; }
.btn-primary:hover { filter: brightness(1.08); }
.btn-secondary { background: rgba(255,255,255,0.08); }
.btn-tertiary { background: rgba(255,255,255,0.04); }
.btn-outline { background: transparent; border: 1px solid var(--border); }

.volume { display: flex; gap: 8px; align-items: center; }
.volume input[type="range"] { width: 180px; accent-color: var(--primary); }

/* About / Contact */
.contact-card .btn { margin-top: 8px; }

/* Modal */
.modal { position: fixed; inset: 0; display: none; align-items: center; justify-content: center; }
.modal.open { display: flex; }
.modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.45); }
.modal-content { position: relative; width: 520px; max-width: calc(100% - 40px); padding: 20px; }
.modal-header { display: flex; align-items: center; gap: 12px; margin-bottom: 10px; }
.modal-logo { width: 36px; height: 36px; }
.modal-close { position: absolute; right: 12px; top: 12px; border: none; background: transparent; color: var(--muted); cursor: pointer; font-size: 18px; }

/* Footer */
.site-footer { border-top: 1px solid var(--border); margin-top: 40px; padding: 20px 0; color: var(--muted); }
.partner-banner { display: flex; justify-content: center; margin-top: 12px; opacity: 0.85; }
.partner-banner img { max-width: 100%; height: auto; filter: saturate(90%) contrast(98%); }
@media (max-width: 600px) { .partner-banner img { width: 70%; height: auto; } }

/* Hidden placeholder */
.hidden-placeholder { position: absolute; width: 1px; height: 1px; opacity: 0; pointer-events: none; }

/* Now Playing */
.now-playing { margin: 24px 0; }
.now-playing-card { display: flex; align-items: center; gap: 16px; padding: 16px; border-radius: 14px; backdrop-filter: saturate(140%) blur(8px); background: rgba(255,255,255,0.06); border: 1px solid rgba(255,255,255,0.12); }
.np-pill { font-size: 12px; font-weight: 600; letter-spacing: 0.08em; text-transform: uppercase; padding: 6px 10px; border-radius: 999px; background: linear-gradient(90deg, #ff6b6b, #feca57); color: #111; }
.np-title { font-size: 1.1rem; font-weight: 600; }
.np-sub { font-size: 0.9rem; opacity: 0.8; }

/* Genres */
.genres { padding: 20px 0 10px; }
.genres h3 { margin-bottom: 8px; }
.genres-grid { display: grid; gap: 16px; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); margin-top: 14px; }
.genre { padding: 14px; display: grid; grid-template-columns: auto 1fr; align-items: center; gap: 12px; }
.genre-icon { width: 40px; height: 40px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: linear-gradient(90deg, var(--primary), var(--primary-2)); color: #042033; box-shadow: var(--shadow); font-size: 20px; }
.genre h4 { margin: 0; font-size: 1.05rem; }
.genre p { margin: 2px 0 0; color: var(--muted); }
.genre-note { margin-top: 14px; }

/* Responsive */
@media (max-width: 900px) {
  .hero-content { grid-template-columns: 1fr; }
}