:root {
  --bg: #08070c;
  --bg2: #100e18;
  --panel: #16131f;
  --text: #e8e4f0;
  --dim: #9a92ad;
  --fire: #ff5a1f;
  --fire2: #ffb347;
  --violet: #8b5cf6;
  --line: rgba(255, 255, 255, 0.08);
  --maxw: 1200px;
}
* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  background: var(--bg);
  color: var(--text);
  font-family: "Inter", system-ui, sans-serif;
  font-weight: 300;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}
h1, h2, h3, .btn { font-family: "Unbounded", sans-serif; }
h1 { font-weight: 700; letter-spacing: 0.02em; }
h2 { font-weight: 500; font-size: 1.5rem; }
h3 { font-weight: 500; font-size: 0.95rem; }
a { color: var(--fire2); text-decoration: none; }
a:hover { color: #fff; }
img { display: block; max-width: 100%; }

/* nav */
.nav {
  position: fixed; inset: 0 0 auto 0; z-index: 50;
  display: flex; align-items: center; justify-content: space-between;
  padding: 0.9rem 1.4rem;
  background: linear-gradient(rgba(8, 7, 12, 0.92), rgba(8, 7, 12, 0.75) 70%, transparent);
  backdrop-filter: blur(10px);
}
.nav-logo img { height: 34px; }
.nav-links { display: flex; gap: 1.6rem; align-items: center; }
.nav-links a {
  color: var(--text); font-size: 0.8rem; text-transform: uppercase;
  letter-spacing: 0.14em; font-weight: 400; padding: 0.3rem 0;
  border-bottom: 1px solid transparent;
}
.nav-links a.on, .nav-links a:hover { color: var(--fire2); border-bottom-color: var(--fire); }
.nav-links a.nav-bc {
  border: 1px solid var(--line); border-radius: 999px; padding: 0.45rem 1rem;
}
.nav-links a.nav-bc:hover { border-color: var(--fire); }
.nav-burger { display: none; background: none; border: 0; cursor: pointer; padding: 6px; }
.nav-burger span { display: block; width: 22px; height: 2px; background: var(--text); margin: 5px 0; transition: 0.25s; }

/* hero */
.hero { position: relative; min-height: 92vh; display: flex; align-items: center; justify-content: center; overflow: hidden; }
.hero-bg {
  position: absolute; inset: 0; background-size: cover; background-position: center 30%;
  animation: heroPulse 9s ease-in-out infinite alternate;
  filter: saturate(1.15) contrast(1.06);
}
@keyframes heroPulse {
  from { transform: scale(1); filter: saturate(1.1) contrast(1.05) brightness(0.96); }
  to { transform: scale(1.06); filter: saturate(1.3) contrast(1.1) brightness(1.08); }
}
.hero::after {
  content: ""; position: absolute; inset: 0;
  background: radial-gradient(ellipse at 50% 90%, rgba(255, 90, 31, 0.28), transparent 55%),
    linear-gradient(rgba(8, 7, 12, 0.5), rgba(8, 7, 12, 0.25) 40%, rgba(8, 7, 12, 0.65));
  animation: flicker 4.5s ease-in-out infinite;
}
@keyframes flicker {
  0%, 100% { opacity: 1; } 42% { opacity: 0.88; } 47% { opacity: 0.99; }
  53% { opacity: 0.9; } 61% { opacity: 1; } 78% { opacity: 0.93; }
}
#embers { position: absolute; inset: 0; width: 100%; height: 100%; pointer-events: none; }
.hero-content { position: relative; z-index: 2; text-align: center; padding: 6rem 1.5rem 3rem; }
.hero-logo { width: min(520px, 78vw); margin: 0 auto 1.4rem; filter: drop-shadow(0 6px 30px rgba(255, 90, 31, 0.35)); }
.hero-tag {
  color: var(--text); text-transform: uppercase; letter-spacing: 0.28em;
  font-size: 0.78rem; margin-bottom: 2.2rem; text-shadow: 0 2px 12px rgba(0, 0, 0, 0.8);
}
.hero-cta { display: flex; gap: 1rem; justify-content: center; flex-wrap: wrap; }
.hero-fade { position: absolute; inset: auto 0 0 0; height: 130px; background: linear-gradient(transparent, var(--bg)); z-index: 2; }

/* buttons */
.btn {
  display: inline-block; padding: 0.8rem 1.7rem; border-radius: 999px;
  font-size: 0.72rem; font-weight: 500; text-transform: uppercase; letter-spacing: 0.16em;
  transition: transform 0.15s, box-shadow 0.15s; border: 0; cursor: pointer;
}
.btn:active { transform: translateY(1px); }
.btn-fire {
  background: linear-gradient(120deg, var(--fire), #ff8c1f 60%, var(--fire2));
  color: #1a0c02; box-shadow: 0 4px 26px rgba(255, 90, 31, 0.35);
}
.btn-fire:hover { color: #000; box-shadow: 0 6px 34px rgba(255, 140, 31, 0.55); transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--text); border: 1px solid rgba(255, 255, 255, 0.25); }
.btn-ghost:hover { border-color: var(--fire); color: var(--fire2); }
.btn-sm { padding: 0.45rem 1rem; font-size: 0.62rem; }
.btn-danger { background: #3d1210; color: #ff9a8a; border: 1px solid #6e1f1a; }
.btn-danger:hover { background: #55160f; color: #fff; }

/* sections */
.section { max-width: var(--maxw); margin: 0 auto; padding: 3.6rem 1.4rem; }
.section-head { display: flex; align-items: baseline; justify-content: space-between; gap: 1rem; margin-bottom: 1.8rem; flex-wrap: wrap; }
.section-head h2, .section-head h1 { background: linear-gradient(90deg, #fff, var(--fire2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.more { font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
.more:hover { color: var(--fire2); }

/* release cards */
.grid { display: grid; gap: 1.3rem; }
.grid-releases { grid-template-columns: repeat(auto-fill, minmax(190px, 1fr)); }
.card {
  background: var(--panel); border: 1px solid var(--line); border-radius: 14px;
  overflow: hidden; transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover { transform: translateY(-4px); border-color: rgba(255, 90, 31, 0.5); box-shadow: 0 12px 34px rgba(0, 0, 0, 0.5), 0 4px 18px rgba(255, 90, 31, 0.18); }
.card-art { aspect-ratio: 1; background: var(--bg2); }
.card-art img { width: 100%; height: 100%; object-fit: cover; }
.card-body { padding: 0.85rem 0.95rem 1rem; }
.card-body h3 { color: var(--text); line-height: 1.35; font-size: 0.82rem; }
.card-sub { font-size: 0.72rem; color: var(--dim); }

/* about split */
.section-about { border-top: 1px solid var(--line); border-bottom: 1px solid var(--line); }
.about-split { display: grid; grid-template-columns: 1.4fr 1fr; gap: 3rem; align-items: center; }
.about-split h2 { margin-bottom: 1rem; }
.about-split .btn { margin-top: 1.4rem; }
.about-art { background: linear-gradient(135deg, var(--fire2), var(--fire) 55%, var(--violet)); border-radius: 18px; padding: 2.4rem; }
.prose p { margin-bottom: 1rem; color: var(--dim); }
.prose strong { color: var(--text); }
.prose-lg p { font-size: 1.05rem; }

/* artists */
.grid-artists { grid-template-columns: repeat(auto-fill, minmax(150px, 1fr)); text-align: center; }
.grid-artists-page { grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); }
.artist-card { color: var(--text); }
.artist-photo {
  aspect-ratio: 1; border-radius: 50%; overflow: hidden; margin-bottom: 0.8rem;
  border: 2px solid var(--line); transition: border-color 0.2s, transform 0.2s;
  background: var(--bg2);
}
.artist-card:hover .artist-photo { border-color: var(--fire); transform: scale(1.03); }
.artist-photo img { width: 100%; height: 100%; object-fit: cover; }
.artist-card h3 { font-size: 0.9rem; }
.artist-card span { font-size: 0.72rem; color: var(--dim); text-transform: uppercase; letter-spacing: 0.1em; }
.artist-bio { font-size: 0.82rem; color: var(--dim); margin-top: 0.5rem; }

/* demo cta */
.demo-cta { text-align: center; padding-bottom: 5rem; }
.demo-cta h2 { margin-bottom: 0.6rem; }
.demo-cta p { color: var(--dim); max-width: 560px; margin: 0 auto 1.6rem; }

/* generic pages */
.page-main { max-width: var(--maxw); margin: 0 auto; padding: 7.5rem 1.4rem 4rem; }
.page-narrow { max-width: 760px; }
.page-title { font-size: clamp(1.7rem, 4vw, 2.6rem); margin-bottom: 1.6rem; background: linear-gradient(90deg, #fff, var(--fire2)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.lede { color: var(--dim); margin-bottom: 1rem; }
.demo-line { color: var(--fire2); }
.tabs { display: flex; gap: 0.6rem; margin-bottom: 2rem; flex-wrap: wrap; }
.tab {
  padding: 0.5rem 1.15rem; border-radius: 999px; border: 1px solid var(--line);
  color: var(--dim); font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em;
}
.tab.on, .tab:hover { color: var(--text); border-color: var(--fire); background: rgba(255, 90, 31, 0.1); }
.empty { color: var(--dim); padding: 2rem 0; }

/* release detail */
.release-split { display: grid; grid-template-columns: minmax(280px, 460px) 1fr; gap: 3rem; align-items: start; }
.release-art img { border-radius: 16px; border: 1px solid var(--line); box-shadow: 0 18px 60px rgba(0, 0, 0, 0.55); }
.crumb { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; }
.release-info h1 { font-size: clamp(1.5rem, 3.4vw, 2.3rem); margin: 0.5rem 0 0.4rem; }
.release-date { color: var(--dim); font-size: 0.85rem; margin-bottom: 1.2rem; }
.release-actions { display: flex; align-items: center; gap: 1.2rem; margin-top: 1.6rem; flex-wrap: wrap; }
.price { color: var(--fire2); font-size: 0.95rem; letter-spacing: 0.06em; }

/* forms */
.form { display: grid; gap: 1.1rem; margin-top: 1.4rem; }
.form label { display: grid; gap: 0.4rem; font-size: 0.78rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }
.form input, .form textarea, .form select {
  background: var(--panel); border: 1px solid var(--line); color: var(--text);
  border-radius: 10px; padding: 0.75rem 0.9rem; font: inherit; font-size: 0.95rem;
}
.form input:focus, .form textarea:focus, .form select:focus { outline: none; border-color: var(--fire); }
.form .check { display: flex; align-items: center; gap: 0.6rem; text-transform: none; letter-spacing: 0; }
.form button { justify-self: start; }
.form-boxed { border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; margin-bottom: 2rem; background: rgba(255, 255, 255, 0.02); }
.flash-ok { background: rgba(34, 197, 94, 0.12); border: 1px solid rgba(34, 197, 94, 0.4); color: #86efac; padding: 0.9rem 1.1rem; border-radius: 10px; margin: 1rem 0; }
.flash-err { background: rgba(239, 68, 68, 0.12); border: 1px solid rgba(239, 68, 68, 0.4); color: #fca5a5; padding: 0.9rem 1.1rem; border-radius: 10px; margin: 1rem 0; }

/* admin */
.admin-nav { display: flex; gap: 1.1rem; flex-wrap: wrap; align-items: center; margin-bottom: 2rem; padding: 0.8rem 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; }
.admin-nav a { font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; color: var(--dim); }
.admin-nav a.on, .admin-nav a:hover { color: var(--fire2); }
.linkish { background: none; border: 0; color: var(--dim); cursor: pointer; font: inherit; font-size: 0.76rem; text-transform: uppercase; letter-spacing: 0.1em; }
.linkish:hover { color: #fca5a5; }
.admin-stats { display: grid; grid-template-columns: repeat(auto-fit, minmax(160px, 1fr)); gap: 1.2rem; margin: 1.6rem 0; }
.stat { background: var(--panel); border: 1px solid var(--line); border-radius: 14px; padding: 1.4rem; text-align: center; color: var(--text); }
.stat b { display: block; font-size: 2rem; font-family: "Unbounded"; color: var(--fire2); }
.stat span { font-size: 0.74rem; text-transform: uppercase; letter-spacing: 0.12em; color: var(--dim); }
.stat:hover { border-color: var(--fire); }
.admin-table { display: grid; gap: 0.7rem; }
.admin-row { display: flex; align-items: center; gap: 1rem; background: var(--panel); border: 1px solid var(--line); border-radius: 12px; padding: 0.7rem 1rem; }
.admin-thumb { width: 54px; height: 54px; border-radius: 8px; overflow: hidden; background: var(--bg2); flex: none; }
.admin-thumb.round, .admin-thumb-lg.round { border-radius: 50%; }
.admin-thumb img { width: 100%; height: 100%; object-fit: cover; }
.admin-thumb-lg { width: 140px; height: 140px; border-radius: 10px; overflow: hidden; }
.admin-thumb-lg img { width: 100%; height: 100%; object-fit: cover; }
.admin-row-main { flex: 1; min-width: 0; }
.admin-row-main b { display: block; font-size: 0.92rem; }
.admin-row-main span { font-size: 0.74rem; color: var(--dim); }
.admin-row-actions { display: flex; gap: 0.5rem; align-items: center; }
.msg { border: 1px solid var(--line); border-radius: 12px; padding: 1rem 1.2rem; margin-bottom: 1rem; background: var(--panel); }
.msg.unread { border-color: rgba(255, 90, 31, 0.5); }
.msg-head { font-size: 0.85rem; margin-bottom: 0.5rem; color: var(--dim); }
.msg-date { float: right; font-size: 0.72rem; }

/* footer */
.footer { border-top: 1px solid var(--line); margin-top: 3rem; background: linear-gradient(var(--bg), #0d0a14); }
.footer-inner { max-width: var(--maxw); margin: 0 auto; padding: 3rem 1.4rem; text-align: center; }
.footer-logo { height: 30px; margin: 0 auto 0.9rem; opacity: 0.9; }
.footer-tag { color: var(--dim); font-size: 0.8rem; text-transform: uppercase; letter-spacing: 0.18em; margin-bottom: 1.2rem; }
.footer-links { display: flex; gap: 1.6rem; justify-content: center; flex-wrap: wrap; margin-bottom: 1.4rem; }
.footer-links a { font-size: 0.8rem; color: var(--dim); }
.footer-links a:hover { color: var(--fire2); }
.footer-fine { color: #5d5570; font-size: 0.72rem; }
.footer-fine a { color: #5d5570; }

/* responsive */
@media (max-width: 820px) {
  .nav-links {
    position: fixed; inset: 0; background: rgba(8, 7, 12, 0.97); flex-direction: column;
    justify-content: center; font-size: 1.1rem; display: none;
  }
  .nav-links.open { display: flex; }
  .nav-burger { display: block; position: relative; z-index: 60; }
  .about-split { grid-template-columns: 1fr; }
  .about-art { display: none; }
  .release-split { grid-template-columns: 1fr; gap: 1.6rem; }
  .hero { min-height: 78vh; }
}
