:root {
  --bg: #120d0a;
  --bg-2: #17110d;
  --surface: #201913;
  --surface-2: #2b221b;
  --surface-3: #352a22;
  --line: rgba(255, 160, 86, 0.14);
  --line-strong: rgba(255, 160, 86, 0.35);
  --text: #f7efe8;
  --muted: #d8c7b9;
  --muted-2: #a49183;
  --accent: #ff8a1f;
  --accent-2: #ffb156;
  --accent-soft: rgba(255, 138, 31, 0.14);
  --shadow: 0 20px 50px rgba(0, 0, 0, 0.34);
  --radius: 26px;
  --radius-sm: 18px;
  --max: 1120px;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  scroll-padding-top: 102px;
}

body {
  margin: 0;
  min-height: 100vh;
  overflow-x: hidden;
  font-family: Inter, system-ui, -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  line-height: 1.6;
  color: var(--text);
  background:
    radial-gradient(circle at top, rgba(255, 138, 31, 0.09), transparent 34%),
    radial-gradient(circle at bottom right, rgba(255, 177, 86, 0.05), transparent 25%),
    linear-gradient(180deg, var(--bg) 0%, #0f0a08 100%);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.015) 1px, transparent 1px);
  background-size: 56px 56px;
  opacity: 0.35;
  mask-image: radial-gradient(circle at center, black 42%, transparent 84%);
}

a {
  color: var(--accent-2);
  text-decoration: none;
}

a:hover,
a:focus-visible {
  color: #ffd08a;
}

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

button,
input,
textarea,
select {
  font: inherit;
}

:focus-visible {
  outline: 2px solid rgba(255, 177, 86, 0.85);
  outline-offset: 3px;
}

.site-shell {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  backdrop-filter: blur(16px);
  background: linear-gradient(180deg, rgba(18, 13, 10, 0.94), rgba(18, 13, 10, 0.78));
  border-bottom: 1px solid var(--line);
}

.site-header__inner {
  width: min(var(--max), calc(100% - 32px));
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 14px;
  min-width: 0;
  color: inherit;
}

.brand__mark {
  width: 50px;
  height: 50px;
  display: grid;
  place-items: center;
  border-radius: 16px;
  font-size: 22px;
  background: linear-gradient(145deg, rgba(255, 138, 31, 0.2), rgba(255, 177, 86, 0.08));
  border: 1px solid var(--line-strong);
  box-shadow: var(--shadow);
}

.brand__text { min-width: 0; }
.brand__text h1,
.brand__text p { margin: 0; }
.brand__text h1 { font-size: 1.05rem; letter-spacing: 0.3px; }
.brand__text p { color: var(--muted-2); font-size: 0.92rem; }

.site-nav {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-end;
  gap: 10px;
}

.site-nav a,
.button,
.section__toggle,
.feature-card,
.social-link {
  transition: transform 0.25s ease, box-shadow 0.25s ease, border-color 0.25s ease, background 0.25s ease, color 0.25s ease, opacity 0.25s ease;
}

.site-nav a {
  padding: 10px 14px;
  border-radius: 999px;
  border: 1px solid transparent;
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.site-nav a:hover,
.site-nav a:focus-visible {
  transform: translateY(-2px);
  border-color: var(--line-strong);
  background: rgba(255, 138, 31, 0.08);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.22);
}

.site-nav a[aria-current="page"] {
  background: rgba(255, 138, 31, 0.16);
  border-color: rgba(255, 138, 31, 0.3);
  color: #fff;
}

.hero {
  padding: 36px 0 18px;
}

.hero__panel,
.card,
.section,
.form-card,
.info-card,
.modal-card {
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: rgba(32, 25, 19, 0.94);
  box-shadow: var(--shadow);
}

.hero__panel { overflow: hidden; }

.hero__content {
  padding: 28px;
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(280px, 0.85fr);
  gap: 22px;
  align-items: center;
}

.kicker {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 12px;
  border-radius: 999px;
  background: rgba(255, 138, 31, 0.12);
  border: 1px solid rgba(255, 138, 31, 0.22);
  color: #ffd7ae;
  font-size: 0.88rem;
}

.hero h2,
.hero h3 {
  margin: 14px 0 10px;
  line-height: 1.05;
}

.hero h2 { font-size: clamp(2rem, 4vw, 3.6rem); }
.hero p {
  margin: 0;
  color: var(--muted);
  max-width: 64ch;
}

.hero__actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 22px;
}

.hero__stats {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.stat {
  border-radius: 20px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--line);
}

.stat strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 4px;
}

.stat span { color: var(--muted-2); font-size: 0.92rem; }

.card { overflow: hidden; margin: 18px 0; }
.card__header,
.panel__header {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 14px;
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.card__header h3,
.panel__header h3,
.section__toggle h3 { margin: 0 0 4px; font-size: 1.15rem; }
.card__header p,
.panel__header p,
.section__toggle p { margin: 0; color: var(--muted-2); font-size: 0.95rem; }
.card__body { padding: 20px 22px 22px; }

.compact-grid,
.list-grid,
.grid-auto {
  display: grid;
  gap: 18px;
}

.compact-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.compact-grid--three { grid-template-columns: repeat(3, minmax(0, 1fr)); }
.grid-auto { grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); }

.feature-card {
  display: block;
  color: inherit;
  text-decoration: none;
  padding: 18px;
  border-radius: var(--radius-sm);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  border: 1px solid var(--line);
  min-height: 100%;
}

.feature-card:hover,
.feature-card:focus-within {
  transform: translateY(-6px);
  border-color: rgba(255, 138, 31, 0.42);
  background: linear-gradient(180deg, rgba(255, 138, 31, 0.09), rgba(255, 255, 255, 0.015));
  box-shadow: 0 18px 42px rgba(0, 0, 0, 0.28);
}

.feature-card h4 { margin: 0 0 8px; font-size: 1.02rem; }
.feature-card p { margin: 0; color: var(--muted); }

.section { overflow: hidden; margin: 0 0 18px; }
.section__toggle {
  width: 100%;
  border: 0;
  background: transparent;
  color: var(--text);
  padding: 18px 22px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  cursor: pointer;
  text-align: left;
}

.section__toggle:hover { background: rgba(255, 138, 31, 0.05); }
.section__toggle > div { min-width: 0; }

.chevron {
  width: 38px;
  height: 38px;
  flex: 0 0 auto;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  transition: transform 0.25s ease, background 0.25s ease, border-color 0.25s ease;
}

.section.is-open .chevron { transform: rotate(180deg); background: rgba(255, 138, 31, 0.12); border-color: rgba(255, 138, 31, 0.28); }
.section__content { max-height: 0; overflow: hidden; transition: max-height 0.42s ease; }
.section.is-open .section__content { border-top: 1px solid var(--line); }
.section__content-inner { padding: 0 22px 22px; }
.section.is-open .section__content-inner { padding-top: 22px; }

.media-frame {
  margin: 0 0 18px;
  padding: 12px;
  border-radius: 22px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0.015));
  display: flex;
  justify-content: center;
  align-items: center;
  overflow: hidden;
}

.media-frame img,
.media-frame iframe { border-radius: 18px; }

.hover-zoom,
.gif-hover {
  transition: transform 0.35s ease, filter 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.hover-zoom:hover,
.hover-zoom:focus-visible { transform: scale(1.03) translateY(-2px); filter: saturate(1.08) contrast(1.03); }
.gif-hover { cursor: pointer; }
.gif-hover:hover,
.gif-hover:focus-visible { transform: scale(1.06) rotate(-1deg); box-shadow: 0 18px 34px rgba(0, 0, 0, 0.32); }

.badge-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.badge {
  display: inline-flex;
  align-items: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.03);
  color: var(--muted);
  font-size: 0.92rem;
}

.list-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.list-grid ul,
.list-grid ol {
  margin: 0;
  padding-left: 20px;
  color: var(--muted);
}

.table-wrap {
  overflow: auto;
  border-radius: 18px;
  border: 1px solid var(--line);
}

table {
  width: 100%;
  min-width: 680px;
  border-collapse: collapse;
  background: rgba(17, 12, 10, 0.78);
}

th,
td {
  padding: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
  text-align: left;
}

th {
  background: rgba(255, 138, 31, 0.12);
  color: #fff;
}

tr:hover td { background: rgba(255, 255, 255, 0.02); }

td img {
  width: 92px;
  height: auto;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.form-card {
  width: min(540px, calc(100% - 32px));
  margin: 40px auto;
  padding: 26px;
}

.form-card h2 { margin: 0 0 8px; }
.form-card p { margin: 0 0 18px; color: var(--muted); }

.form-grid {
  display: grid;
  gap: 12px;
}

.form-grid .row {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
}

input {
  width: 100%;
  border-radius: 14px;
  border: 1px solid var(--line);
  background: rgba(12, 8, 6, 0.88);
  color: var(--text);
  padding: 14px 16px;
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

input::placeholder { color: #947e70; }
input:focus {
  border-color: rgba(255, 138, 31, 0.56);
  box-shadow: 0 0 0 4px rgba(255, 138, 31, 0.14);
}

button,
.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border: 0;
  border-radius: 14px;
  padding: 13px 18px;
  cursor: pointer;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #2a1708;
  font-weight: 800;
  box-shadow: 0 14px 28px rgba(255, 138, 31, 0.18);
}

button:hover,
.button:hover {
  transform: translateY(-2px);
  filter: brightness(1.05);
  box-shadow: 0 18px 34px rgba(255, 138, 31, 0.24);
}

.button--ghost,
button.secondary {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  border: 1px solid var(--line);
  box-shadow: none;
}

.inline-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-top: 18px;
}

.footer {
  width: min(var(--max), calc(100% - 32px));
  margin: 18px auto 34px;
  color: var(--muted-2);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-links,
.content-nav {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.social-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 9px 12px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.02);
  color: var(--text);
}

.social-link:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 138, 31, 0.3);
  background: rgba(255, 138, 31, 0.08);
}

.guest-banner {
  display: grid;
  gap: 16px;
  padding: 18px;
  border: 1px dashed rgba(255, 177, 86, 0.35);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.02);
}

.guest-banner h4,
.text-muted {
  margin: 0;
}

.text-muted {
  color: var(--muted);
}

.auth-note {
  margin-top: 12px;
  color: var(--muted-2);
  font-size: 0.95rem;
}

[data-auth-only][hidden],
[data-guest-only][hidden] {
  display: none !important;
}

body.is-authenticated .auth-gate .guest-banner {
  display: none;
}

body.is-authenticated .auth-gate .app-content {
  display: block;
}

body:not(.is-authenticated) .auth-gate .app-content {
  display: none;
}

.privacy-modal {
  position: fixed;
  inset: 0;
  z-index: 120;
  display: grid;
  place-items: center;
  padding: 18px;
  background: rgba(7, 5, 4, 0.76);
  backdrop-filter: blur(10px);
}

.privacy-modal .modal-card {
  width: min(880px, 100%);
  max-height: min(86vh, 920px);
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.modal-head,
.modal-foot {
  padding: 18px 22px;
  border-bottom: 1px solid var(--line);
}

.modal-foot {
  border-bottom: 0;
  border-top: 1px solid var(--line);
}

.modal-head {
  display: flex;
  justify-content: space-between;
  gap: 14px;
  align-items: flex-start;
}

.modal-head h2 {
  margin: 0 0 6px;
  line-height: 1.15;
}

.modal-head p {
  margin: 0;
  color: var(--muted-2);
}

.modal-body {
  padding: 18px 22px 22px;
  overflow: auto;
}

.modal-body h3 {
  margin: 22px 0 8px;
}

.modal-body p,
.modal-body li {
  color: var(--muted);
}

.modal-body ul {
  margin: 0;
  padding-left: 22px;
}

.badge {
  white-space: nowrap;
}

@keyframes floaty {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-4px); }
}

.floaty { animation: floaty 5s ease-in-out infinite; }

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

  .hero__stats {
    grid-template-columns: 1fr 1fr;
  }

  .compact-grid--three,
  .compact-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .site-header__inner {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-nav {
    justify-content: flex-start;
  }
}

@media (max-width: 720px) {
  .site-shell,
  .site-header__inner,
  .footer {
    width: min(var(--max), calc(100% - 20px));
  }

  .hero {
    padding-top: 20px;
  }

  .hero__content,
  .card__body,
  .card__header,
  .section__toggle,
  .section__content-inner,
  .modal-head,
  .modal-body,
  .modal-foot {
    padding-left: 16px;
    padding-right: 16px;
  }

  .hero__stats,
  .compact-grid--three,
  .compact-grid,
  .list-grid,
  .form-grid .row {
    grid-template-columns: 1fr;
  }

  .hero__actions,
  .inline-actions {
    flex-direction: column;
  }

  .hero__actions .button,
  .inline-actions .button,
  .form-card button {
    width: 100%;
  }

  table {
    min-width: 560px;
  }

  .modal-head {
    flex-direction: column;
  }
}

@media (max-width: 480px) {
  .brand__mark {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }

  .brand__text h1 {
    font-size: 0.98rem;
  }

  .brand__text p,
  .kicker,
  .stat span,
  .card__header p,
  .panel__header p {
    font-size: 0.88rem;
  }

  .hero h2 {
    font-size: 1.8rem;
  }

  .section__toggle {
    gap: 10px;
  }

  .chevron {
    width: 34px;
    height: 34px;
  }

  td img {
    width: 78px;
  }

  .privacy-modal {
    padding: 10px;
  }
}



.music-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
}

.music-bar__meta {
  max-width: 52ch;
}

.music-bar__meta strong {
  display: block;
  margin-bottom: 4px;
}

.music-bar__meta p {
  margin: 0;
  color: var(--muted);
}




.access-selector{
  display:flex;
  justify-content:center;
  gap:12px;
  flex-wrap:wrap;
  margin-bottom:18px;
}

.panel-form{
  max-height:0;
  overflow:hidden;
  opacity:0;
  margin-top:0;
  transition:
    max-height .45s ease,
    opacity .3s ease,
    margin .3s ease;
}

.panel-form.active{
  max-height:720px;
  opacity:1;
  margin-top:18px;
}

.panel-form .access-card{
  width:100%;
  margin:0;
}

.panel-form .access-card h2{
  margin-top:0;
}


/* responsive helpers for access/music */
@media (max-width: 720px) {
  .access-selector .button,
  .music-bar .button {
    width: 100%;
  }

  .music-bar {
    align-items: stretch;
  }
}

.section__content img{width:100%;max-width:500px;height:300px;object-fit:cover;display:block;margin:20px auto;border-radius:16px;}

img[src$='.gif']{max-width:300px;max-height:250px;object-fit:cover;display:block;margin:8px auto;}
