:root {
  --bg: #0d0906;
  --surface: #18110a;
  --surface-2: #1f160d;
  --border: rgba(255,180,90,0.10);
  --text: #f2e9df;
  --text-muted: #a89683;
  --amber: #f2a93b;
  --amber-glow: rgba(242,169,59,0.35);
  --blue: #4f9dff;
  --orange: #e8650a;
  --red: #ff3b3b;
  --green: #4caf50;
  --radius: 14px;
}
* { margin: 0; padding: 0; box-sizing: border-box; }
html, body { height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg);
  background-image: linear-gradient(rgba(13,9,6,0.92), rgba(13,9,6,0.96)), url('websiteimage.png');
  background-size: cover;
  background-position: center top;
  background-attachment: fixed;
  color: var(--text);
  padding-bottom: 110px;
  min-height: 100vh;
  position: relative;
}
body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: 999;
  pointer-events: none;
  box-shadow:
    inset 0 0 60px 6px var(--amber-glow),
    inset 0 0 120px 18px rgba(242,169,59,0.18);
  animation: edge-glow-pulse 4s ease-in-out infinite;
}
@keyframes edge-glow-pulse {
  0%, 100% { opacity: 0.7; }
  50% { opacity: 1; }
}
header, .ticker-bar, .hero, .construction, section, .player-bar, .layout { position: relative; z-index: 1; }
h1, h2, h3, .brand, .navlink-active { font-family: 'Rajdhani', sans-serif; }
a { color: inherit; text-decoration: none; }

/* ===== Header / Nav ===== */
header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(13,9,6,0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}
.brand { font-weight: 700; font-size: 20px; letter-spacing: 0.5px; color: var(--amber); display: flex; align-items: center; gap: 10px; }
.brand img { height: 36px; }
nav { display: flex; align-items: center; gap: 28px; }
nav a { font-size: 14px; color: var(--text-muted); font-weight: 500; transition: color 0.15s; }
nav a.nav-active { color: var(--amber); }
nav a:hover { color: var(--text); }
.discord-btn {
  display: flex; align-items: center; gap: 8px;
  padding: 9px 18px; border-radius: 10px;
  border: 1px solid var(--amber-glow);
  background: rgba(245,166,35,0.08);
  color: var(--amber); font-size: 13px; font-weight: 600;
  cursor: pointer; transition: background 0.15s;
}
.discord-btn:hover { background: rgba(245,166,35,0.16); }

/* ===== Announcement ticker ===== */
.ticker-bar {
  display: flex; align-items: center; gap: 14px;
  background: var(--surface); border-bottom: 1px solid var(--amber-glow);
  padding: 9px 0;
  overflow: hidden;
}
.ticker-label { flex-shrink: 0; color: var(--amber); font-size: 13px; padding-left: 24px; padding-right: 4px; }
.ticker-viewport { flex: 1; overflow: hidden; }
.ticker-track { display: inline-flex; align-items: center; white-space: nowrap; animation: ticker-scroll 32s linear infinite; }
.ticker-bar:hover .ticker-track { animation-play-state: paused; }
.ticker-item { font-size: 13px; font-weight: 500; color: var(--text); }
.ticker-sep { color: var(--amber); margin: 0 22px; }
@keyframes ticker-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

/* ===== Hero (homepage) ===== */
.hero { position: relative; text-align: center; padding: 110px 24px 90px; overflow: hidden; }
.hero::before {
  content: "";
  position: absolute;
  top: -200px; left: 50%;
  width: 700px; height: 500px;
  transform: translateX(-50%);
  background: radial-gradient(circle, var(--amber-glow), transparent 70%);
  pointer-events: none;
}
.hero h1 { font-size: 52px; font-weight: 700; position: relative; line-height: 1.1; }
.hero p { color: var(--text-muted); font-size: 16px; margin-top: 16px; max-width: 480px; margin-inline: auto; position: relative; }
.hero-ctas { display: flex; gap: 14px; justify-content: center; margin-top: 32px; position: relative; }
.btn-primary, .btn-outline {
  padding: 13px 26px; border-radius: 10px; font-weight: 600; font-size: 14px;
  display: flex; align-items: center; gap: 8px; cursor: pointer; border: none;
}
.btn-primary { background: var(--amber); color: #1a1304; box-shadow: 0 0 24px var(--amber-glow); }
.btn-outline { background: transparent; border: 1px solid var(--border); color: var(--text); }

/* ===== Generic sections / grids ===== */
section { padding: 48px 32px; max-width: 1100px; margin: 0 auto; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; margin-bottom: 22px; }
.section-head h2 { font-size: 24px; font-weight: 600; }
.section-head a { font-size: 13px; color: var(--amber); font-weight: 600; }
.grid { display: grid; gap: 16px; }
.news-grid { grid-template-columns: repeat(auto-fit, minmax(260px, 1fr)); }

/* ===== News + Events feature cards ===== */
.news-section { padding: 56px 32px; }
.news-section-inner { max-width: 1100px; margin: 0 auto 0 0; }
@media (min-width: 1100px) { .news-section-inner { margin: 0 auto 0 4%; } }
.news-big-heading {
  font-size: 44px; font-weight: 700; letter-spacing: 1px;
  color: rgba(242,233,223,0.14); -webkit-text-stroke: 1px rgba(242,169,59,0.5);
}
.news-events-columns { display: grid; grid-template-columns: 1.4fr 1fr; gap: 28px; align-items: start; }
.schedule-layout { display: grid; grid-template-columns: 1.6fr 1fr; gap: 28px; align-items: start; }
@media (max-width: 800px) { .schedule-layout { grid-template-columns: 1fr; } }
.schedule-side-card { position: sticky; top: 90px; }
@media (max-width: 800px) { .news-events-columns { grid-template-columns: 1fr; } }
.column-heading { font-size: 18px; font-weight: 600; margin-bottom: 14px; color: var(--text); }
.news-feature-list { display: flex; flex-direction: column; gap: 14px; }
.news-feature-card {
  position: relative; border-radius: var(--radius); overflow: hidden;
  min-height: 130px; display: flex; align-items: flex-end;
  background-color: var(--surface); background-size: cover; background-position: right center;
  border: 1px solid var(--border); isolation: isolate;
}
.news-feature-card::before {
  content: ""; position: absolute; inset: 0; z-index: 1; border-radius: inherit;
  background: linear-gradient(to right, #0d0906 0%, #0d0906 50%, rgba(13,9,6,0.7) 68%, rgba(13,9,6,0.1) 100%);
}
.news-feature-card .nf-content { position: relative; z-index: 2; padding: 16px 20px; max-width: 82%; }
.news-feature-card .badge { margin-bottom: 6px; }
.news-feature-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 3px; line-height: 1.25; }
.news-feature-card p { font-size: 12px; color: var(--text-muted); line-height: 1.4; }
.news-feature-card .date { font-size: 11px; color: var(--text-muted); display: block; margin-top: 7px; }
.event-card-going { font-size: 10px; color: var(--amber); font-weight: 600; margin-top: 4px; display: block; }
.news-card { background: var(--surface); border-radius: var(--radius); border-left: 4px solid var(--blue); padding: 18px 20px; }
.news-card.announcement { border-left-color: var(--orange); }
.badge {
  display: inline-block; font-size: 11px; font-weight: 600;
  padding: 3px 10px; border-radius: 6px; margin-bottom: 10px;
  background: rgba(79,157,255,0.15); color: var(--blue);
}
.badge.announcement { background: rgba(255,138,61,0.15); color: var(--orange); }
.news-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 6px; }
.news-card p { font-size: 13px; color: var(--text-muted); line-height: 1.5; }
.news-card .date { font-size: 11px; color: var(--text-muted); display: block; margin-top: 10px; }

/* ===== Streamers ===== */
/* ===== Streamers ===== */
.streamers-page-hero { text-align: center; padding: 70px 24px 20px; max-width: 1100px; margin: 0 auto; }
.streamers-sub { color: var(--text-muted); font-size: 15px; margin-top: 10px; }
.streamer-socials { display: flex; justify-content: center; gap: 12px; margin: 10px 0 14px; color: var(--text-muted); font-size: 16px; }
.streamer-socials a { color: var(--text-muted); transition: color 0.15s; }
.streamer-socials a:hover { color: var(--amber); }
.streamer-grid { grid-template-columns: repeat(auto-fit, minmax(180px, 1fr)); }

.streamer-scroll-viewport { overflow: hidden; }
.streamer-scroll-track {
  display: inline-flex; gap: 16px; width: max-content;
  animation: streamer-scroll 28s linear infinite;
}
.streamer-scroll-viewport:hover .streamer-scroll-track { animation-play-state: paused; }
.streamer-scroll-viewport.no-scroll .streamer-scroll-track { animation: none; }
.streamer-scroll-track .streamer-card { width: 200px; flex-shrink: 0; }
@keyframes streamer-scroll {
  from { transform: translateX(0); }
  to { transform: translateX(-50%); }
}

.team-group { max-width: 1100px; margin: 0 auto 40px; }
.team-group-heading {
  font-size: 20px; font-weight: 600; margin-bottom: 18px;
  padding-bottom: 8px; border-bottom: 1px solid var(--amber-glow); color: var(--amber);
}
.team-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); gap: 14px; }
.team-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 16px 10px; text-align: center;
}
.team-card .avatar-full { width: 46px; height: 46px; margin: 0 auto 8px; font-size: 12px; }
.team-card h3 { font-size: 12px; font-weight: 600; margin-bottom: 8px; }
.team-card .team-socials { font-size: 13px; gap: 6px; flex-wrap: wrap; margin-bottom: 0; }

/* Dedicated full-page streamers grid: compact 2-up cards, distinct from the homepage preview cards above */
.streamer-grid-full {
  display: grid; gap: 14px; grid-template-columns: repeat(2, 1fr);
  max-width: 760px; margin: 0 auto;
}
@media (max-width: 640px) { .streamer-grid-full { grid-template-columns: 1fr; } }
.streamer-card-full {
  background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border);
  padding: 18px 14px; text-align: center;
}
.avatar-full {
  width: 52px; height: 52px; border-radius: 50%; margin: 0 auto 10px;
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 14px; color: #1a1304;
  background: var(--surface-2); overflow: hidden;
}
.avatar-full:not(.has-image) { background: linear-gradient(135deg, var(--amber), var(--orange)); }
.streamer-card-full h3 { font-size: 14px; font-weight: 600; margin-bottom: 2px; }
.streamer-card-full .game { font-size: 11px; color: var(--text-muted); margin-bottom: 6px; }
.streamer-card-full .bio { font-size: 11px; color: var(--text-muted); margin-bottom: 10px; line-height: 1.4; }
.streamer-socials-full { display: flex; justify-content: center; gap: 14px; font-size: 21px; margin-bottom: 8px; }
.streamer-socials-full a { color: var(--text-muted); transition: color 0.15s; }
.streamer-socials-full a:hover { color: var(--amber); }
.streamer-socials-full .disabled-social { color: var(--border); opacity: 0.5; }
.streamer-live-tag {
  font-size: 10px; font-weight: 700; color: var(--red);
  display: inline-flex; align-items: center; gap: 5px;
  background: rgba(255,59,59,0.12); padding: 3px 9px; border-radius: 6px;
}

/* Live-now preview carousel */
.live-preview-stack {
  position: relative; max-width: 1040px; margin: 0 auto 12px;
  display: flex; align-items: center; justify-content: center;
}
.live-preview-peek {
  position: absolute; top: 8%; bottom: 8%; width: 90px;
  border-radius: var(--radius); overflow: hidden; z-index: 0;
  background-size: cover; background-position: center;
  background-color: var(--surface); filter: blur(2px) brightness(0.5);
  opacity: 0.7; pointer-events: none;
}
.live-preview-peek-left { left: -45px; }
.live-preview-peek-right { right: -45px; }
@media (max-width: 900px) { .live-preview-peek { display: none; } }
.live-preview-video {
  max-width: 1040px; margin: 0; position: relative; z-index: 1; width: 100%;
  background: var(--surface); border: 1px solid var(--amber-glow); border-radius: var(--radius);
  overflow: hidden; display: flex; align-items: stretch;
}
.live-preview-main { flex: 1 1 68%; min-width: 0; display: flex; flex-direction: column; }
.live-preview-embed-wrap { position: relative; width: 100%; aspect-ratio: 16 / 9; background: #000; }
.live-preview-embed-wrap iframe { position: absolute; inset: 0; width: 100%; height: 100%; }
.live-preview-arrow {
  position: absolute; top: 50%; transform: translateY(-50%); z-index: 3;
  width: 40px; height: 40px; border-radius: 50%; border: none;
  background: rgba(13,9,6,0.65); color: var(--text); font-size: 16px;
  display: flex; align-items: center; justify-content: center; cursor: pointer;
  transition: background 0.15s;
}
.live-preview-arrow:hover { background: rgba(242,169,59,0.85); color: #1a1304; }
.live-preview-arrow-left { left: -95px; }
.live-preview-arrow-right { right: -95px; }
@media (max-width: 1240px) {
  .live-preview-arrow-left { left: 8px; }
  .live-preview-arrow-right { right: 8px; }
}
.live-preview-fallback {
  position: absolute; inset: 0; display: flex; align-items: center; justify-content: center;
  background: var(--surface-2);
}
.live-preview-info { padding: 14px 20px; display: flex; align-items: center; gap: 14px; flex-wrap: wrap; flex: 1; }
.live-preview-name { font-size: 16px; font-weight: 700; }
.live-preview-game { font-size: 12px; color: var(--text-muted); width: 100%; }
.live-preview-info .watch-btn { margin-left: auto; }
.live-preview-chat-wrap {
  flex: 1 1 32%; min-width: 280px; max-width: 340px;
  border-left: 1px solid var(--border); background: #18181b;
  position: relative; z-index: 1000;
}
.live-preview-chat-wrap iframe { width: 100%; height: 100%; min-height: 420px; }
.live-preview-chat-notice {
  font-size: 11px; text-align: center; padding: 6px 10px;
  background: rgba(242,169,59,0.1); color: var(--amber);
  border-bottom: 1px solid var(--border);
}
@media (max-width: 760px) {
  .live-preview-video { flex-direction: column; }
  .live-preview-chat-wrap { max-width: 100%; border-left: none; border-top: 1px solid var(--border); }
  .live-preview-chat-wrap iframe { min-height: 340px; }
}
.live-preview-dots { display: flex; justify-content: center; gap: 6px; max-width: 1040px; margin: 10px auto 30px; }
.live-preview-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--border); cursor: pointer; }
.live-preview-dot.active { background: var(--amber); }
.streamer-card { background: var(--surface); border-radius: var(--radius); border: 1px solid var(--border); padding: 22px 16px; text-align: center; }
.avatar {
  width: 64px; height: 64px; border-radius: 50%; margin: 0 auto 12px;
  background: linear-gradient(135deg, var(--amber), var(--orange));
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 18px; color: #1a1304;
}
.live-badge {
  display: inline-flex; align-items: center; gap: 5px;
  font-size: 10px; font-weight: 700; color: var(--red);
  background: rgba(255,59,59,0.12); padding: 3px 9px; border-radius: 6px;
  margin-bottom: 8px;
}
.live-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--red); animation: pulse 1.4s infinite; }
.offline-badge { font-size: 10px; color: var(--text-muted); margin-bottom: 8px; display: inline-block; }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.3; } }
.streamer-card h3 { font-size: 15px; font-weight: 600; margin-bottom: 2px; }
.streamer-card .game { font-size: 12px; color: var(--text-muted); margin-bottom: 12px; }
.watch-btn {
  font-size: 12px; font-weight: 600; color: var(--amber);
  border: 1px solid var(--amber-glow); border-radius: 8px;
  padding: 6px 14px; display: inline-block; cursor: pointer;
  background: transparent; font-family: 'Inter', sans-serif;
}

/* ===== Under-construction placeholder pages ===== */
.construction { text-align: center; padding: 140px 24px; }
.construction i { font-size: 40px; color: var(--amber); margin-bottom: 18px; }
.construction h1 { font-size: 34px; margin-bottom: 12px; }
.construction p { color: var(--text-muted); margin-bottom: 24px; }
.construction a.back { color: var(--amber); font-weight: 600; }

/* ===== Radio player bar ===== */
.player-bar {
  position: fixed; bottom: 0; left: 0; right: 0; z-index: 100;
  display: flex; align-items: center; justify-content: space-between;
  background: var(--surface-2);
  border-top: 1px solid var(--amber-glow);
  box-shadow: 0 -4px 24px rgba(0,0,0,0.4);
  padding: 12px 24px; gap: 20px;
}
.player-info { display: flex; align-items: center; gap: 12px; min-width: 0; }
.player-art {
  width: 40px; height: 40px; border-radius: 8px; flex-shrink: 0;
  background: url('tsfm.jpg') center/cover no-repeat, linear-gradient(135deg, var(--amber), var(--orange));
}
.player-text { min-width: 0; }
.player-text .show { font-size: 13px; font-weight: 600; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.player-text .track { font-size: 11px; color: var(--text-muted); white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.on-air { display: flex; align-items: center; gap: 5px; font-size: 10px; color: var(--amber); font-weight: 600; margin-bottom: 2px; }
.on-air-dot { width: 6px; height: 6px; border-radius: 50%; background: var(--amber); animation: pulse 1.4s infinite; }
.player-controls { display: flex; align-items: center; gap: 16px; flex-shrink: 0; }
#playBtn {
  width: 38px; height: 38px; border-radius: 50%; border: none;
  background: var(--amber); color: #1a1304; cursor: pointer;
  display: flex; align-items: center; justify-content: center; font-size: 14px;
}
.vol-row { display: flex; align-items: center; gap: 8px; color: var(--text-muted); }
.vol-row input[type="range"] { width: 90px; accent-color: var(--amber); }

/* ===== Hub layout ===== */
.layout { display: flex; min-height: 100vh; }
.sidebar {
  width: 230px; flex-shrink: 0; background: var(--surface);
  border-right: 1px solid var(--border); display: flex; flex-direction: column;
  padding: 20px 14px; position: sticky; top: 69px; height: calc(100vh - 69px);
}
.nav-item {
  display: flex; align-items: center; gap: 10px; padding: 11px 12px; border-radius: 9px;
  font-size: 14px; font-weight: 500; color: var(--text-muted); cursor: pointer; margin-bottom: 4px;
}
.nav-item i { width: 18px; text-align: center; }
.nav-item:hover { background: rgba(255,255,255,0.03); color: var(--text); }
.nav-item.active { background: rgba(242,169,59,0.10); color: var(--amber); }
.nav-item.disabled { opacity: 0.4; cursor: default; }
.nav-item.disabled:hover { background: none; color: var(--text-muted); }
.nav-category {
  font-size: 10px; font-weight: 700; letter-spacing: 0.6px; text-transform: uppercase;
  color: var(--text-muted); opacity: 0.65; padding: 14px 12px 6px;
}
.nav-category:first-of-type { padding-top: 4px; }
.nav-soon { font-size: 9px; background: var(--surface-2); padding: 2px 6px; border-radius: 5px; margin-left: auto; }
.sidebar-footer { margin-top: auto; border-top: 1px solid var(--border); padding-top: 14px; }
.sidebar-user { display: flex; align-items: center; gap: 10px; padding: 0 8px 10px; }
.sidebar-user img { width: 32px; height: 32px; border-radius: 50%; border: 2px solid var(--amber-glow); }
.sidebar-user .name { font-size: 12px; font-weight: 600; word-break: break-word; }
.sidebar-footer a, .sidebar-footer button.linklike {
  display: block; font-size: 12px; padding: 8px 8px; color: var(--text-muted); width: 100%; text-align: left;
  background: none; border: none; cursor: pointer; font-family: 'Inter', sans-serif;
}
.sidebar-footer a:hover, .sidebar-footer button.linklike:hover { color: var(--text); }
main.content { flex: 1; padding: 32px 36px; max-width: 760px; }
.panel-section { display: none; }
.panel-section.active { display: block; }
.gate { text-align: center; padding: 100px 24px; }
.gate h1 { font-size: 28px; margin-bottom: 14px; }
.gate p { color: var(--text-muted); margin-bottom: 24px; }
.section-title { font-size: 22px; font-weight: 600; margin-bottom: 18px; display: flex; align-items: center; gap: 10px; }
.section-title i { color: var(--amber); font-size: 18px; }
.card { background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius); padding: 24px; margin-bottom: 24px; }
.bot-commands-columns { display: grid; grid-template-columns: 1fr 1fr; gap: 24px; }
.bot-commands-columns .card { margin-bottom: 24px; }
@media (max-width: 700px) { .bot-commands-columns { grid-template-columns: 1fr; } }
label { display: block; font-size: 12px; color: var(--text-muted); margin: 14px 0 5px; }
input[type="text"], input[type="url"], textarea {
  width: 100%; background: var(--surface-2); border: 1px solid var(--border);
  border-radius: 8px; padding: 10px 12px; color: var(--text); font-family: 'Inter', sans-serif; font-size: 14px;
}
textarea { resize: vertical; min-height: 80px; }
input:focus, textarea:focus { outline: none; border-color: var(--amber-glow); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.checkbox-row { display: flex; align-items: center; gap: 8px; margin-top: 14px; }
.checkbox-row input { width: auto; }
.checkbox-row label { margin: 0; font-size: 13px; color: var(--text); }
.profile-head { display: flex; align-items: center; gap: 14px; margin-bottom: 6px; }
.profile-head img { width: 56px; height: 56px; border-radius: 50%; border: 2px solid var(--amber-glow); }
.profile-head .name { font-size: 17px; font-weight: 600; }
.profile-head .hint { font-size: 11px; color: var(--text-muted); }
.actions { margin-top: 18px; display: flex; gap: 10px; align-items: center; }
.btn {
  font-family: 'Inter', sans-serif; font-size: 13px; font-weight: 600;
  padding: 9px 16px; border-radius: 9px; border: 1px solid var(--amber-glow);
  background: rgba(242,169,59,0.08); color: var(--amber); cursor: pointer;
}
.btn:hover { background: rgba(242,169,59,0.16); }
.btn-fill { background: var(--amber); color: #1a1304; }
.status-msg { font-size: 12px; color: var(--green); }
.status-msg.error { color: var(--red); }
.recent-list { margin-top: 18px; border-top: 1px solid var(--border); padding-top: 14px; }
.recent-item { display: flex; justify-content: space-between; align-items: center; padding: 8px 0; font-size: 13px; border-bottom: 1px solid var(--border); }
.recent-item span { color: var(--text-muted); font-size: 11px; }
table { width: 100%; border-collapse: collapse; font-size: 13px; }
table th { text-align: left; color: var(--text-muted); font-size: 11px; font-weight: 600; padding: 8px 6px; border-bottom: 1px solid var(--border); }
table td { padding: 8px 6px; border-bottom: 1px solid var(--border); vertical-align: middle; }
table input[type="text"], table input[type="url"] { font-size: 12px; padding: 6px 8px; }
table img { width: 28px; height: 28px; border-radius: 50%; vertical-align: middle; margin-right: 6px; }
.small-btn { font-size: 11px; padding: 5px 10px; }
.hidden { display: none !important; }
.empty-state { color: var(--text-muted); font-size: 13px; text-align: center; padding: 40px 0; }
.modal-overlay {
  position: fixed; top: 0; left: 0; right: 0; bottom: 0; z-index: 300;
  background: rgba(0,0,0,0.6); display: flex; align-items: center; justify-content: center; padding: 24px;
}
.modal-box {
  background: var(--surface); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 24px; max-width: 560px; width: 100%; max-height: 88vh; overflow-y: auto;
}
.modal-head { display: flex; align-items: center; justify-content: space-between; margin-bottom: 16px; }
.modal-head h3 { font-size: 18px; font-weight: 600; }

@media (max-width: 760px) {
  nav { display: none; }
  .hero h1 { font-size: 36px; }
  .player-text .track { display: none; }
  .vol-row { display: none; }
  .layout { flex-direction: column; }
  .sidebar { width: 100%; height: auto; position: relative; flex-direction: row; overflow-x: auto; padding: 12px; }
  .brand, .sidebar-footer { display: none; }
  .nav-item { white-space: nowrap; }
  main.content { padding: 20px; }
}
