/* ==========================================================================
   DJ TOSH 254 — THA CHAMPION
   Design tokens
   ========================================================================== */
:root {
  --void: #0a0a0d;
  --panel: #16141d;
  --panel-2: #1e1a29;
  --line: #2c2735;
  --gold: #f2b705;
  --gold-dim: #a8810a;
  --crimson: #e63946;
  --ivory: #f5f1e8;
  --muted: #948fa3;

  --font-display: 'Anton', 'Arial Narrow', sans-serif;
  --font-body: 'Manrope', -apple-system, sans-serif;
  --font-mono: 'JetBrains Mono', monospace;

  --radius: 4px;
  --container: 1180px;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--void);
  color: var(--ivory);
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; display: block; }
ul { list-style: none; margin: 0; padding: 0; }

.wrap {
  max-width: var(--container);
  margin: 0 auto;
  padding: 0 24px;
}

h1, h2, h3, .display {
  font-family: var(--font-display);
  font-weight: 400;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  line-height: 1.05;
  margin: 0;
}

.eyebrow {
  font-family: var(--font-mono);
  font-size: 12px;
  letter-spacing: 3px;
  text-transform: uppercase;
  color: var(--gold);
}

.section {
  padding: 88px 0;
  border-bottom: 1px solid var(--line);
}

.section-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
  margin-bottom: 40px;
  flex-wrap: wrap;
}

.section-head h2 {
  font-size: clamp(32px, 5vw, 52px);
  color: var(--ivory);
}

.section-head .eyebrow { margin-bottom: 10px; display: block; }

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 13px 26px;
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  border-radius: var(--radius);
  border: 1px solid transparent;
  cursor: pointer;
  transition: transform 0.15s ease, background 0.15s ease, border-color 0.15s ease;
}
.btn:hover { transform: translateY(-2px); }
.btn-gold { background: var(--gold); color: var(--void); font-weight: 700; }
.btn-gold:hover { background: #ffd23f; }
.btn-crimson { background: var(--crimson); color: var(--ivory); font-weight: 700; }
.btn-crimson:hover { background: #ff4d5a; }
.btn-outline { border-color: var(--muted); color: var(--ivory); background: transparent; }
.btn-outline:hover { border-color: var(--gold); color: var(--gold); }

/* ---------- Navbar ---------- */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(10, 10, 13, 0.88);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--line);
}
.navbar .wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 76px;
}
.brand {
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: var(--font-display);
  font-size: 22px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--ivory);
}
.brand .bars { display: flex; align-items: flex-end; gap: 2px; height: 20px; }
.brand .bars span {
  width: 3px;
  background: var(--gold);
  animation: eq 0.9s ease-in-out infinite;
}
.brand .bars span:nth-child(1) { height: 40%; animation-delay: -0.6s; }
.brand .bars span:nth-child(2) { height: 100%; animation-delay: -0.2s; }
.brand .bars span:nth-child(3) { height: 65%; animation-delay: -0.8s; }
.brand .bars span:nth-child(4) { height: 85%; animation-delay: -0.1s; }
.brand small { display: block; font-family: var(--font-mono); font-size: 10px; letter-spacing: 2px; color: var(--crimson); text-transform: uppercase; }

.nav-links { display: flex; gap: 30px; align-items: center; }
.nav-links a {
  font-family: var(--font-mono);
  font-size: 13px;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--muted);
  transition: color 0.15s ease;
}
.nav-links a:hover, .nav-links a.active { color: var(--gold); }

.nav-toggle { display: none; background: none; border: none; color: var(--ivory); font-size: 26px; cursor: pointer; }

@media (max-width: 860px) {
  .nav-links {
    position: absolute;
    top: 76px; left: 0; right: 0;
    background: var(--void);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    align-items: flex-start;
    padding: 20px 24px 28px;
    gap: 18px;
    display: none;
  }
  .nav-links.open { display: flex; }
  .nav-toggle { display: block; }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  padding: 110px 0 90px;
  overflow: hidden;
  background:
    radial-gradient(ellipse 900px 500px at 50% -10%, rgba(242, 183, 5, 0.18), transparent 60%),
    radial-gradient(ellipse 700px 400px at 90% 90%, rgba(230, 57, 70, 0.14), transparent 60%),
    var(--void);
}
.hero::after {
  content: "";
  position: absolute; inset: 0;
  background-image: repeating-linear-gradient(rgba(255,255,255,0.02) 0 1px, transparent 1px 3px);
  pointer-events: none;
}
.hero-inner { position: relative; z-index: 1; text-align: center; }
.hero .eyebrow { display: block; margin-bottom: 18px; }
.hero h1 {
  font-size: clamp(48px, 11vw, 128px);
  color: var(--ivory);
  text-shadow: 0 0 60px rgba(242, 183, 5, 0.35);
}
.hero h1 .accent { color: var(--crimson); }
.hero p.tag {
  font-family: var(--font-mono);
  color: var(--muted);
  max-width: 560px;
  margin: 24px auto 40px;
  font-size: 15px;
}
.hero-cta { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

.eq-strip { display: flex; align-items: flex-end; justify-content: center; gap: 4px; height: 60px; margin: 50px auto 0; max-width: 480px; }
.eq-strip span {
  width: 5px;
  background: linear-gradient(to top, var(--crimson), var(--gold));
  border-radius: 2px;
  animation: eq 1.2s ease-in-out infinite;
}
@keyframes eq {
  0%, 100% { transform: scaleY(0.3); }
  50% { transform: scaleY(1); }
}

/* ---------- Cards ---------- */
.grid { display: grid; gap: 26px; }
.grid-3 { grid-template-columns: repeat(3, 1fr); }
.grid-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .grid-3, .grid-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 620px) { .grid-3, .grid-4 { grid-template-columns: 1fr; } }

.card {
  display: block;
  background: var(--panel);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  overflow: hidden;
  transition: border-color 0.2s ease, transform 0.2s ease;
}
.card:hover { border-color: var(--gold-dim); transform: translateY(-4px); }

/* Mixtape card — vinyl cover spins on hover */
.mix-card .art-wrap {
  display: block;
  position: relative;
  aspect-ratio: 1;
  overflow: hidden;
  background: var(--panel-2);
}
.mix-card .art-wrap img {
  width: 100%; height: 100%; object-fit: cover;
  border-radius: 50%;
  transition: transform 6s linear;
  padding: 8px;
  background: radial-gradient(circle at center, var(--void) 0 14%, transparent 14.5%);
}
.mix-card:hover .art-wrap img { transform: rotate(360deg); }
.mix-card .art-wrap::before {
  content: "";
  position: absolute; inset: 0;
  background: radial-gradient(circle at center, transparent 0 30%, rgba(0,0,0,0.25) 100%);
  pointer-events: none;
}
.mix-card .body { padding: 18px 20px 22px; }
.mix-card .genre-tag {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 1.5px;
  color: var(--gold); text-transform: uppercase;
}
.mix-card h3 { font-size: 20px; margin: 8px 0 4px; color: var(--ivory); }
.mix-card .meta { font-family: var(--font-mono); font-size: 12px; color: var(--muted); display: flex; gap: 14px; margin-top: 10px; }
.mix-card .actions { display: flex; gap: 10px; margin-top: 16px; }
.mix-card .actions .btn { padding: 9px 16px; font-size: 12px; }

/* Event card */
.event-card {
  display: flex; gap: 20px; padding: 20px;
  background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
}
.event-card .date-badge {
  flex-shrink: 0; width: 78px; height: 78px;
  background: var(--panel-2); border: 1px solid var(--line); border-radius: var(--radius);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  font-family: var(--font-mono);
}
.event-card .date-badge .day { font-size: 26px; color: var(--gold); font-weight: 700; line-height: 1; }
.event-card .date-badge .mon { font-size: 11px; letter-spacing: 1px; color: var(--muted); text-transform: uppercase; margin-top: 4px; }
.event-card h3 { font-size: 22px; margin-bottom: 6px; }
.event-card .venue { color: var(--muted); font-size: 14px; }
.event-card .status-pill {
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1.5px; text-transform: uppercase;
  padding: 4px 10px; border-radius: 20px; display: inline-block; margin-top: 10px;
}
.status-upcoming { background: rgba(242,183,5,0.15); color: var(--gold); }
.status-past { background: rgba(148,143,163,0.15); color: var(--muted); }
.status-cancelled { background: rgba(230,57,70,0.15); color: var(--crimson); }

/* Gallery */
.gallery-item { position: relative; aspect-ratio: 1; overflow: hidden; border-radius: var(--radius); cursor: pointer; }
.gallery-item img, .gallery-item video { width: 100%; height: 100%; object-fit: cover; transition: transform 0.4s ease; }
.gallery-item:hover img, .gallery-item:hover video { transform: scale(1.08); }
.gallery-item .play-badge {
  position: absolute; top: 10px; right: 10px; background: rgba(10,10,13,0.75);
  color: var(--gold); font-family: var(--font-mono); font-size: 11px; padding: 4px 9px; border-radius: 20px;
}

/* Resource card */
.resource-card { padding: 22px; }
.resource-card .cat-tag { font-family: var(--font-mono); font-size: 11px; color: var(--crimson); text-transform: uppercase; letter-spacing: 1px; }
.resource-card h3 { font-size: 18px; margin: 8px 0 10px; }
.resource-card p { color: var(--muted); font-size: 14px; margin: 0 0 16px; }
.resource-card .foot { display: flex; justify-content: space-between; align-items: center; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }

/* Tutorial card */
.tut-card .thumb { aspect-ratio: 16/9; background: var(--panel-2); position: relative; overflow: hidden; }
.tut-card .thumb img { width: 100%; height: 100%; object-fit: cover; }
.tut-card .level {
  position: absolute; bottom: 10px; left: 10px;
  font-family: var(--font-mono); font-size: 10px; letter-spacing: 1px; text-transform: uppercase;
  background: rgba(10,10,13,0.8); color: var(--gold); padding: 4px 9px; border-radius: 20px;
}
.tut-card .body { padding: 16px 18px 20px; }
.tut-card h3 { font-size: 17px; margin: 0 0 6px; }

/* Filter chips */
.filters { display: flex; gap: 10px; flex-wrap: wrap; margin-bottom: 36px; }
.filters a {
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase;
  padding: 8px 16px; border: 1px solid var(--line); border-radius: 20px; color: var(--muted);
  transition: all 0.15s ease;
}
.filters a:hover, .filters a.active { border-color: var(--gold); color: var(--gold); }

/* Empty state */
.empty { text-align: center; padding: 60px 20px; color: var(--muted); font-family: var(--font-mono); }
.empty .big { font-family: var(--font-display); font-size: 42px; color: var(--line); text-transform: uppercase; display: block; margin-bottom: 14px; }

/* Forms */
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; max-width: 720px; }
.form-grid .full { grid-column: 1 / -1; }
@media (max-width: 620px) { .form-grid { grid-template-columns: 1fr; } }
label { font-family: var(--font-mono); font-size: 12px; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); display: block; margin-bottom: 8px; }
input, select, textarea {
  width: 100%; background: var(--panel); border: 1px solid var(--line); border-radius: var(--radius);
  color: var(--ivory); padding: 13px 14px; font-family: var(--font-body); font-size: 15px;
}
input:focus, select:focus, textarea:focus { outline: 2px solid var(--gold); border-color: var(--gold); }
textarea { resize: vertical; min-height: 120px; }

.alert { padding: 14px 18px; border-radius: var(--radius); font-family: var(--font-mono); font-size: 13px; margin-bottom: 24px; }
.alert-success { background: rgba(242,183,5,0.12); border: 1px solid var(--gold-dim); color: var(--gold); }

/* Footer */
footer { padding: 60px 0 40px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px; margin-bottom: 40px; }
@media (max-width: 720px) { .footer-grid { grid-template-columns: 1fr; } }
footer h4 { font-family: var(--font-mono); font-size: 12px; letter-spacing: 2px; text-transform: uppercase; color: var(--gold); margin: 0 0 16px; }
footer a { color: var(--muted); font-size: 14px; display: block; margin-bottom: 10px; transition: color 0.15s ease; }
footer a:hover { color: var(--ivory); }
.footer-bottom { border-top: 1px solid var(--line); padding-top: 24px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; font-family: var(--font-mono); font-size: 12px; color: var(--muted); }
.social-row { display: flex; gap: 14px; }
.social-row a { color: var(--muted); }
.social-row a:hover { color: var(--gold); }

/* Page header (non-home pages) */
.page-header { padding: 60px 0 40px; background: var(--panel); border-bottom: 1px solid var(--line); }
.page-header h1 { font-size: clamp(36px, 6vw, 64px); }
.page-header .eyebrow { margin-bottom: 14px; display: block; }

.pagination { display: flex; gap: 10px; justify-content: center; margin-top: 40px; }
.pagination a, .pagination span {
  font-family: var(--font-mono); font-size: 13px; padding: 9px 15px; border: 1px solid var(--line); border-radius: var(--radius); color: var(--muted);
}
.pagination a:hover { border-color: var(--gold); color: var(--gold); }
.pagination .current { border-color: var(--gold); color: var(--gold); }

audio { width: 100%; }
audio::-webkit-media-controls-panel { background: var(--panel-2); }
