/* ===========================
   REBEL RADIO — STYLESHEET
   =========================== */

@import url('https://fonts.googleapis.com/css2?family=Bebas+Neue&family=Barlow+Condensed:wght@400;600;700&family=Barlow:wght@400;500&display=swap');

:root {
  --red: #cc0000;
  --red-dark: #990000;
  --red-glow: rgba(204,0,0,0.15);
  --bg: #0a0a0a;
  --bg2: #111111;
  --bg3: #161616;
  --border: #1e1e1e;
  --text: #ffffff;
  --text-muted: #888888;
  --text-dim: #444444;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: 'Barlow', sans-serif;
  font-size: 16px;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ---- NAV ---- */
.nav {
  position: sticky;
  top: 0;
  z-index: 200;
  height: 56px;
  background: rgba(10,10,10,0.97);
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0 40px;
  backdrop-filter: blur(8px);
}

.nav-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
}
.nav-logo span { color: var(--red); }

.nav-links {
  display: flex;
  gap: 32px;
}
.nav-links a {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover, .nav-links a.active { color: #fff; }

.live-badge {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--red);
  padding: 6px 16px;
  border-radius: 2px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  cursor: default;
}
.live-dot {
  width: 7px; height: 7px;
  background: #fff;
  border-radius: 50%;
  animation: blink 1.2s ease-in-out infinite;
}
@keyframes blink { 0%,100%{opacity:1} 50%{opacity:0.2} }

/* ---- HERO ---- */
.hero {
  position: relative;
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 0 40px 48px;
  overflow: hidden;
}
.hero-bg {
  position: absolute; inset: 0;
  background:
    repeating-linear-gradient(0deg, transparent, transparent 59px, rgba(255,255,255,0.015) 60px),
    repeating-linear-gradient(90deg, transparent, transparent 59px, rgba(255,255,255,0.015) 60px);
}
.hero-glow {
  position: absolute;
  top: -60px; right: -80px;
  width: 600px; height: 400px;
  background: radial-gradient(ellipse, rgba(180,0,0,0.2) 0%, transparent 65%);
  pointer-events: none;
}
.hero-content { position: relative; z-index: 2; max-width: 620px; }
.hero-tag {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
  color: var(--red);
  margin-bottom: 14px;
}
.hero-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 100px;
  line-height: 0.88;
  letter-spacing: 3px;
  margin-bottom: 20px;
  animation: fadeUp 0.8s ease both;
}
.hero-title em { color: var(--red); font-style: normal; }
@keyframes fadeUp {
  from { opacity: 0; transform: translateY(24px); }
  to { opacity: 1; transform: translateY(0); }
}
.hero-sub {
  font-size: 15px;
  color: var(--text-muted);
  line-height: 1.65;
  max-width: 440px;
  margin-bottom: 32px;
  animation: fadeUp 0.8s 0.15s ease both;
}
.hero-ctas {
  display: flex;
  gap: 12px;
  animation: fadeUp 0.8s 0.3s ease both;
}

.hero-stat-block {
  position: absolute;
  right: 40px; bottom: 48px;
  display: flex;
  align-items: center;
  gap: 24px;
  z-index: 2;
}
.hero-stat { text-align: center; }
.hero-stat span {
  display: block;
  font-family: 'Bebas Neue', sans-serif;
  font-size: 40px;
  color: var(--red);
  line-height: 1;
}
.hero-stat { font-size: 11px; color: var(--text-dim); letter-spacing: 1px; text-transform: uppercase; }
.hero-stat-div { width: 1px; height: 40px; background: var(--border); }

/* ---- BUTTONS ---- */
.btn-primary {
  background: var(--red);
  color: #fff;
  border: none;
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: background 0.2s, transform 0.15s;
  text-decoration: none;
  display: inline-block;
}
.btn-primary:hover { background: var(--red-dark); transform: translateY(-1px); }
.btn-primary:active { transform: scale(0.98); }

.btn-ghost {
  background: transparent;
  color: #fff;
  border: 1px solid #333;
  padding: 12px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s, color 0.2s;
  text-decoration: none;
  display: inline-block;
}
.btn-ghost:hover { border-color: #666; color: #ccc; }

.btn-discord {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: #5865F2;
  color: #fff;
  border: none;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  text-decoration: none;
  transition: background 0.2s, transform 0.15s;
}
.btn-discord:hover { background: #4752c4; transform: translateY(-1px); }

.btn-qr {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  background: transparent;
  color: #fff;
  border: 1px solid #333;
  padding: 14px 28px;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  cursor: pointer;
  border-radius: 2px;
  transition: border-color 0.2s;
}
.btn-qr:hover { border-color: var(--red); color: var(--red); }

/* ---- PLAYER ---- */
.player {
  background: var(--bg2);
  border-top: 2px solid var(--red);
  border-bottom: 1px solid var(--border);
  padding: 16px 40px;
  display: flex;
  align-items: center;
  gap: 24px;
  flex-wrap: wrap;
}
.player-compact { min-height: 0; padding: 12px 40px; }
.player-left {
  display: flex;
  align-items: center;
  gap: 16px;
  flex: 1;
  min-width: 200px;
}
.play-btn {
  width: 44px; height: 44px;
  background: var(--red);
  border: none;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  flex-shrink: 0;
  transition: background 0.2s, transform 0.15s;
}
.play-btn:hover { background: var(--red-dark); transform: scale(1.06); }
.play-icon {
  width: 0; height: 0;
  border-top: 8px solid transparent;
  border-bottom: 8px solid transparent;
  border-left: 14px solid #fff;
  margin-left: 4px;
  transition: all 0.1s;
}
.play-icon.paused {
  border-left: 4px solid #fff;
  border-right: 4px solid #fff;
  width: 4px;
  height: 14px;
  border-top: none;
  border-bottom: none;
  margin-left: 0;
}
.np-label {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  letter-spacing: 2.5px;
  text-transform: uppercase;
  color: var(--red);
  font-weight: 700;
  margin-bottom: 2px;
}
.np-track {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 15px;
  font-weight: 700;
  color: #fff;
}
.np-artist { font-size: 12px; color: var(--text-dim); }

.waveform {
  display: flex;
  align-items: center;
  gap: 3px;
  flex: 1;
  justify-content: center;
}
.bar {
  width: 3px;
  background: var(--red);
  border-radius: 2px;
  animation: wave 0.7s ease-in-out infinite alternate;
}
.bar:nth-child(1){height:8px;animation-delay:0s}
.bar:nth-child(2){height:20px;animation-delay:0.08s}
.bar:nth-child(3){height:12px;animation-delay:0.16s}
.bar:nth-child(4){height:26px;animation-delay:0.12s}
.bar:nth-child(5){height:16px;animation-delay:0.04s}
.bar:nth-child(6){height:22px;animation-delay:0.2s}
.bar:nth-child(7){height:10px;animation-delay:0.28s}
.bar:nth-child(8){height:24px;animation-delay:0.08s}
.bar:nth-child(9){height:14px;animation-delay:0.18s}
.bar:nth-child(10){height:18px;animation-delay:0s}
.bar:nth-child(11){height:20px;animation-delay:0.1s}
.bar:nth-child(12){height:9px;animation-delay:0.22s}
@keyframes wave { to { transform: scaleY(0.25); } }
.waveform.paused .bar { animation-play-state: paused; }

.player-vol {
  display: flex;
  align-items: center;
  gap: 10px;
}
.player-vol input[type=range] {
  width: 90px;
  accent-color: var(--red);
  cursor: pointer;
}

/* ---- MANIFESTO ---- */
.manifesto-strip {
  background: var(--red);
  padding: 28px 40px;
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 24px;
  flex-wrap: wrap;
}
.manifesto-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 30px;
  letter-spacing: 3px;
  color: #fff;
  margin-bottom: 8px;
}
.manifesto-sub {
  font-size: 13px;
  color: rgba(255,255,255,0.75);
  max-width: 500px;
  line-height: 1.55;
}
.manifesto-tags {
  display: flex;
  flex-direction: column;
  gap: 8px;
  justify-content: center;
}
.mtag {
  background: rgba(0,0,0,0.25);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 2px;
  white-space: nowrap;
}

/* ---- SECTIONS ---- */
.section { padding: 56px 40px; border-bottom: 1px solid var(--border); }
.section-dark { background: var(--bg2); }

.section-header {
  display: flex;
  align-items: center;
  gap: 20px;
  margin-bottom: 32px;
}
.section-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 38px;
  letter-spacing: 2px;
  color: #fff;
  white-space: nowrap;
}
.section-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* ---- ARTICLES GRID ---- */
.articles-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
  gap: 20px;
}

.article-card {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 3px;
  overflow: hidden;
  cursor: pointer;
  text-decoration: none;
  display: block;
  transition: border-color 0.2s, transform 0.2s;
}
.article-card:hover {
  border-color: var(--red);
  transform: translateY(-3px);
}
.article-thumb {
  width: 100%;
  aspect-ratio: 16/9;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}
.article-thumb-inner {
  position: absolute; inset: 0;
  display: flex; align-items: center; justify-content: center;
}
.article-thumb-num {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 80px;
  color: rgba(255,255,255,0.04);
  user-select: none;
}
.article-tag {
  position: absolute;
  top: 12px; left: 12px;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 1px;
  z-index: 2;
}
.article-body { padding: 18px 20px; }
.article-title {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
  line-height: 1.3;
}
.article-resume {
  font-size: 13px;
  color: var(--text-muted);
  line-height: 1.55;
  margin-bottom: 14px;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}
.article-meta {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 12px;
  color: var(--text-dim);
}
.article-meta-author { color: var(--red); font-weight: 600; }

/* ---- EVENTS ---- */
.events-list { display: flex; flex-direction: column; gap: 12px; }
.event-row {
  display: flex;
  align-items: center;
  gap: 20px;
  padding: 16px 20px;
  background: var(--bg3);
  border: 1px solid var(--border);
  border-radius: 3px;
  transition: border-color 0.2s;
  cursor: default;
}
.event-row:hover { border-color: #333; }
.event-date { text-align: center; flex-shrink: 0; width: 46px; }
.event-day {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 32px;
  color: var(--red);
  line-height: 1;
}
.event-month {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  text-transform: uppercase;
  color: var(--text-dim);
  letter-spacing: 1px;
}
.event-divider { width: 1px; height: 44px; background: var(--border); flex-shrink: 0; }
.event-info { flex: 1; }
.event-name {
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 17px;
  font-weight: 700;
  color: #fff;
  margin-bottom: 4px;
}
.event-loc { font-size: 12px; color: var(--text-dim); }
.event-type {
  margin-left: auto;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  flex-shrink: 0;
}
.type-rave { background: rgba(204,0,0,0.15); color: var(--red); }
.type-mag { background: rgba(255,255,255,0.06); color: #888; }

/* ---- ARTICLE PAGE ---- */
.article-main {
  max-width: 760px;
  margin: 0 auto;
  padding: 56px 40px;
}
.article-header { margin-bottom: 40px; }
.article-header-tag {
  display: inline-block;
  background: var(--red);
  color: #fff;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
  padding: 5px 12px;
  border-radius: 2px;
  margin-bottom: 20px;
}
.article-header-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 64px;
  line-height: 0.95;
  letter-spacing: 2px;
  color: #fff;
  margin-bottom: 20px;
}
.article-header-meta {
  display: flex;
  align-items: center;
  gap: 20px;
  font-size: 13px;
  color: var(--text-dim);
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border);
}
.article-header-meta strong { color: var(--red); }

.article-resume-block {
  background: var(--bg2);
  border-left: 3px solid var(--red);
  padding: 20px 24px;
  margin-bottom: 36px;
  font-size: 16px;
  color: #ccc;
  line-height: 1.65;
  font-style: italic;
  border-radius: 0 3px 3px 0;
}

.article-content {
  font-size: 16px;
  color: #bbb;
  line-height: 1.8;
  margin-bottom: 48px;
}
.article-content p {
  margin-bottom: 20px;
}
.article-content blockquote {
  border-left: 2px solid var(--red);
  padding: 12px 20px;
  margin: 24px 0;
  color: #999;
  font-style: italic;
  background: var(--bg2);
}

.article-actions {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  padding: 32px 0;
  border-top: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  margin-bottom: 40px;
}

.back-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--text-muted);
  text-decoration: none;
  font-family: 'Barlow Condensed', sans-serif;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  transition: color 0.2s;
}
.back-link:hover { color: #fff; }

/* ---- QR MODAL ---- */
.qr-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.85);
  z-index: 500;
  align-items: center;
  justify-content: center;
}
.qr-modal.open { display: flex; }
.qr-box {
  background: var(--bg2);
  border: 1px solid var(--border);
  border-radius: 4px;
  padding: 32px;
  width: 340px;
  max-width: 90vw;
}
.qr-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 8px;
}
.qr-title {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 22px;
  letter-spacing: 2px;
  color: #fff;
}
.qr-close {
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
  transition: color 0.2s;
}
.qr-close:hover { color: #fff; }
.qr-sub {
  font-size: 13px;
  color: var(--text-muted);
  margin-bottom: 24px;
}
.qr-canvas {
  background: #fff;
  padding: 16px;
  border-radius: 3px;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 12px;
}
.qr-canvas canvas, .qr-canvas img { display: block; }
.qr-url {
  font-size: 11px;
  color: var(--text-dim);
  word-break: break-all;
  text-align: center;
  font-family: monospace;
}

/* ---- FOOTER ---- */
.footer {
  background: var(--bg2);
  border-top: 1px solid var(--border);
  padding: 40px;
  text-align: center;
}
.footer-logo {
  font-family: 'Bebas Neue', sans-serif;
  font-size: 28px;
  letter-spacing: 4px;
  color: #fff;
  margin-bottom: 12px;
}
.footer-logo span { color: var(--red); }
.footer-tagline {
  font-size: 13px;
  color: var(--text-dim);
  max-width: 440px;
  margin: 0 auto 24px;
  line-height: 1.6;
}
.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 32px;
  font-size: 12px;
  color: #333;
  flex-wrap: wrap;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 768px) {
  .nav { padding: 0 20px; }
  .nav-links { display: none; }
  .hero { padding: 0 20px 40px; min-height: 420px; }
  .hero-title { font-size: 72px; }
  .hero-stat-block { display: none; }
  .player { padding: 12px 20px; }
  .section { padding: 40px 20px; }
  .manifesto-strip { padding: 24px 20px; }
  .article-main { padding: 32px 20px; }
  .article-header-title { font-size: 44px; }
}
