/* ============================================================
   AURAGUN — shared styles
   ------------------------------------------------------------
   Tokens
   Color:
     --bg        #0c0b0d  near-black, slightly warm (not pure #000)
     --panel     #151317  raised surface / cards
     --line      #2b262c  hairline borders
     --text      #ece7e2  warm off-white
     --text-dim  #948d93  secondary text
     --red       #d81f3f  primary accent — warning-light crimson
     --violet    #5b4bdb  secondary accent — cold contrast, used sparingly
   Type:
     Display — 'Oswald' (condensed, poster/flyer energy) for headlines & wordmark
     Body    — 'Work Sans' for paragraphs, nav, tracklists
   Layout: left-aligned editorial blocks, hairline rules, no rounded "card kit"
   ============================================================ */

@import url('https://fonts.googleapis.com/css2?family=Oswald:wght@400;500;600;700&family=Work+Sans:wght@400;500;600&display=swap');

:root {
  --bg: #0c0b0d;
  --panel: #151317;
  --line: #2b262c;
  --text: #ece7e2;
  --text-dim: #948d93;
  --red: #d81f3f;
  --violet: #6a5cf0;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background-color: var(--bg);
  background-image: url("assets/bg-texture.jpg");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  background-attachment: fixed;
  color: var(--text);
  font-family: 'Work Sans', sans-serif;
  font-size: 17px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* faint grain overlay for texture, not gradients-as-decoration */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 999;
  opacity: 0.035;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='120' height='120'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.9' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)'/%3E%3C/svg%3E");
}

a { color: inherit; text-decoration: none; }

img { max-width: 100%; display: block; }

h1, h2, h3 {
  font-family: 'Oswald', sans-serif;
  font-weight: 600;
  margin: 0;
  letter-spacing: 0.01em;
}

p { max-width: 62ch; color: var(--text); }

.container {
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 32px;
}

/* focus visibility */
a:focus-visible, button:focus-visible {
  outline: 2px solid var(--violet);
  outline-offset: 3px;
}

/* ---------------- header / nav ---------------- */

.site-header {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 16px 32px;
  background: rgba(12, 11, 13, 0.88);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--line);
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 50%;
}

.brand span {
  font-family: 'Oswald', sans-serif;
  font-weight: 700;
  font-size: 1.15rem;
  letter-spacing: 0.06em;
}

.site-nav {
  display: flex;
  gap: 28px;
}

.site-nav a {
  font-size: 0.95rem;
  color: var(--text-dim);
  padding-bottom: 3px;
  border-bottom: 2px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.site-nav a:hover,
.site-nav a[aria-current="page"] {
  color: var(--text);
  border-color: var(--red);
}

/* mobile nav toggle */
.nav-toggle { display: none; }

@media (max-width: 640px) {
  .site-nav {
    position: fixed;
    top: 72px;
    left: 0;
    right: 0;
    background: var(--bg);
    border-bottom: 1px solid var(--line);
    flex-direction: column;
    gap: 0;
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.25s ease;
  }
  .site-nav.open { max-height: 260px; }
  .site-nav a {
    padding: 16px 32px;
    border-bottom: 1px solid var(--line);
    width: 100%;
  }
  .nav-toggle {
    display: block;
    background: none;
    border: 1px solid var(--line);
    color: var(--text);
    width: 40px;
    height: 40px;
    font-size: 1.1rem;
    cursor: pointer;
  }
}

/* ---------------- hero ---------------- */

.hero {
  position: relative;
  min-height: 78vh;
  display: flex;
  align-items: flex-end;
  background: #000;
  overflow: hidden;
}

.hero img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: saturate(0.85) contrast(1.08);
  opacity: 0.75;
}

.hero::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(12,11,13,0.97) 0%, rgba(12,11,13,0.35) 55%, rgba(12,11,13,0.15) 100%);
}

.hero-content {
  position: relative;
  z-index: 2;
  padding: 0 32px 64px;
  max-width: 1080px;
  margin: 0 auto;
  width: 100%;
}

.hero-content h1 {
  font-size: clamp(2.6rem, 7vw, 5rem);
  line-height: 0.98;
  margin-bottom: 14px;
}

.hero-content p {
  color: var(--text-dim);
  font-size: 1.05rem;
  max-width: 46ch;
}

.hero-cta {
  display: flex;
  gap: 16px;
  margin-top: 28px;
  flex-wrap: wrap;
}

.btn {
  display: inline-block;
  padding: 13px 26px;
  font-family: 'Oswald', sans-serif;
  font-weight: 500;
  font-size: 0.95rem;
  letter-spacing: 0.03em;
  border: 1px solid var(--text);
  transition: background 0.15s ease, border-color 0.15s ease, color 0.15s ease;
}

.btn-solid {
  background: var(--red);
  border-color: var(--red);
  color: #100910;
}
.btn-solid:hover { background: #f03356; border-color: #f03356; }

.btn-outline { color: var(--text); }
.btn-outline:hover { border-color: var(--red); color: var(--red); }

/* ---------------- generic sections ---------------- */

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

section:last-of-type { border-bottom: none; }

.section-head {
  margin-bottom: 36px;
}

.section-head h2 {
  font-size: 1.9rem;
}

.section-head p {
  color: var(--text-dim);
  margin-top: 8px;
}

/* ---------------- preview / audio player ---------------- */

.preview-panel {
  display: grid;
  grid-template-columns: 220px 1fr;
  gap: 32px;
  align-items: center;
  background: var(--panel);
  border: 1px solid var(--line);
  padding: 28px;
}

.preview-panel .glyph {
  width: 100%;
  aspect-ratio: 1;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 35% 30%, rgba(216,31,63,0.18), transparent 70%);
}

.preview-panel .glyph svg { width: 46%; height: 46%; }

.preview-track-title {
  font-family: 'Oswald', sans-serif;
  font-size: 1.3rem;
  margin-bottom: 4px;
}

.preview-track-sub {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 18px;
}

audio {
  width: 100%;
  filter: invert(0.86) hue-rotate(180deg) contrast(0.9);
}

@media (max-width: 640px) {
  .preview-panel { grid-template-columns: 1fr; }
  .preview-panel .glyph { max-width: 140px; }
}

/* ---------------- about ---------------- */

.about-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 48px;
}

.about-grid .stat-line {
  display: flex;
  justify-content: space-between;
  padding: 12px 0;
  border-top: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
  font-size: 0.95rem;
}
.about-grid .stat-line:last-child { border-bottom: 1px solid var(--line); }
.about-grid .stat-line span:last-child { color: var(--text-dim); }

@media (max-width: 780px) {
  .about-grid { grid-template-columns: 1fr; }
}

/* ---------------- mix entries (Mixes page) ---------------- */

.mix-entry {
  display: grid;
  grid-template-columns: 320px 1fr;
  gap: 40px;
  padding: 56px 0;
  border-bottom: 1px solid var(--line);
}

.mix-entry:first-child { padding-top: 0; }
.mix-entry:last-child { border-bottom: none; }

.mix-entry .cover {
  border: 1px solid var(--line);
}

.mix-entry .cover img { width: 100%; }

.mix-meta {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 6px;
}

.mix-title {
  font-size: 1.7rem;
}

.mix-kind {
  font-family: 'Work Sans', sans-serif;
  font-size: 0.85rem;
  color: var(--red);
  letter-spacing: 0.04em;
}

.mix-by {
  color: var(--text-dim);
  font-size: 0.92rem;
  margin-bottom: 22px;
}

.mix-links {
  display: flex;
  gap: 14px;
  margin-bottom: 26px;
  flex-wrap: wrap;
}

.tracklist {
  list-style: none;
  margin: 0;
  padding: 0;
  max-width: 640px;
}

.tracklist li {
  display: flex;
  gap: 16px;
  padding: 9px 0;
  border-top: 1px solid var(--line);
  font-size: 0.95rem;
}

.tracklist li:last-child { border-bottom: 1px solid var(--line); }

.tracklist .num {
  color: var(--text-dim);
  font-variant-numeric: tabular-nums;
  width: 1.6em;
  flex: none;
}

.coming-note {
  color: var(--text-dim);
  font-size: 0.95rem;
  padding-top: 40px;
}

@media (max-width: 720px) {
  .mix-entry { grid-template-columns: 1fr; }
}

/* ---------------- genre index (Mixes page) ---------------- */

.genre-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 18px;
  margin-bottom: 8px;
}

.genre-nav a {
  font-size: 0.88rem;
  color: var(--text-dim);
  padding: 4px 0;
  border-bottom: 1px solid transparent;
}
.genre-nav a:hover { color: var(--text); border-color: var(--red); }

.genre-block {
  padding: 44px 0;
  border-bottom: 1px solid var(--line);
}
.genre-block:last-child { border-bottom: none; }

.genre-title {
  font-size: 1.4rem;
  margin-bottom: 4px;
  scroll-margin-top: 90px;
}

.genre-count {
  color: var(--text-dim);
  font-size: 0.85rem;
  margin-bottom: 20px;
}

.mix-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.mix-row { grid-column: auto; }
.mix-row[open] { grid-column: 1 / -1; }

.mix-row summary {
  list-style: none;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 4px;
  border-bottom: 1px solid var(--line);
  font-family: 'Oswald', sans-serif;
  font-size: 1.05rem;
}

.mix-row summary::-webkit-details-marker { display: none; }

.mix-row summary .chevron {
  flex: none;
  width: 22px;
  height: 22px;
  border: 1px solid var(--line);
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: 'Work Sans', sans-serif;
  font-size: 0.8rem;
  color: var(--text-dim);
  transition: transform 0.15s ease;
}

.mix-row[open] summary .chevron { transform: rotate(45deg); border-color: var(--red); color: var(--red); }

.mix-row summary:hover { color: var(--red); }

.mix-detail {
  display: grid;
  grid-template-columns: 160px 1fr;
  gap: 24px;
  padding: 22px 4px 32px;
  border-bottom: 1px solid var(--line);
}

.mix-detail .cover {
  border: 1px solid var(--line);
  aspect-ratio: 1;
  overflow: hidden;
}
.mix-detail .cover img { width: 100%; height: 100%; object-fit: cover; }

.mix-detail .cover.placeholder {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-dim);
  font-size: 0.78rem;
  text-align: center;
  padding: 10px;
  background: var(--panel);
}

.mix-detail .mix-by {
  margin-bottom: 14px;
}

.mix-detail .tracklist {
  max-width: 100%;
}

.tracklist-pending {
  color: var(--text-dim);
  font-size: 0.92rem;
  border-top: 1px solid var(--line);
  padding-top: 14px;
}

@media (max-width: 620px) {
  .mix-detail { grid-template-columns: 1fr; }
  .mix-detail .cover { max-width: 160px; }
}

/* plain track links (Remixes and Original Songs) */

.song-list {
  border-top: 1px solid var(--line);
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  column-gap: 40px;
}

.song-row {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding: 14px 4px;
  border-bottom: 1px solid var(--line);
  font-size: 0.95rem;
}

.song-row .title { color: var(--text); }

.song-row audio { height: 32px; }

/* inline streaming player inside an expanded mix */

.mix-audio { margin-bottom: 18px; }

.mix-audio.placeholder-audio {
  color: var(--text-dim);
  font-size: 0.9rem;
  border: 1px dashed var(--line);
  padding: 10px 14px;
  display: inline-block;
}

@media (max-width: 720px) {
  .mix-list,
  .song-list {
    grid-template-columns: 1fr;
  }
  .mix-row[open] { grid-column: 1; }
}


.shirt-panel {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 48px;
  align-items: center;
}

.shirt-panel .art {
  border: 1px solid var(--line);
  aspect-ratio: 4/3;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle at 30% 20%, rgba(106,92,240,0.16), transparent 65%);
}

.shirt-panel .art img { width: 55%; }

@media (max-width: 780px) {
  .shirt-panel { grid-template-columns: 1fr; }
}

/* ---------------- footer ---------------- */

.site-footer {
  padding: 40px 32px;
  text-align: center;
  color: var(--text-dim);
  font-size: 0.85rem;
}
