/* ==========================================================================
   Get Rich or Die Scratching — base styles
   Palette pulled from the banner/avatar brand assets (yellow/black/orange
   comic-book style) — see assets/logo-banner.png and assets/avatar.png
   ========================================================================== */

:root {
  --bg: #0d0d0d;
  --bg-alt: #161311;
  --card: #1c1815;
  --border: #322a22;
  --text: #f5efe6;
  --text-muted: #b3a89a;
  --gold: #ffc700;
  --gold-dim: #a37f00;
  --orange: #f7941d;
  --red: #e4312f;
  --font-display: "Bungee", "Arial Narrow", sans-serif;
  --font-body: "Inter", system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 14px;
  --wrap: 1100px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3 {
  font-family: var(--font-display);
  letter-spacing: 0.02em;
  line-height: 1.05;
  margin: 0 0 0.4em;
}

h2 { font-size: clamp(1.8rem, 3.5vw, 2.6rem); color: var(--gold); }

p { margin: 0 0 1em; }

a { color: var(--gold); }

sup { font-size: 0.5em; top: -1em; }

.muted { color: var(--text-muted); font-size: 0.9rem; }

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

.section { padding: 72px 0; }
.section--alt { background: var(--bg-alt); }
.section__inner--narrow { max-width: 720px; }
.section__sub { color: var(--text-muted); max-width: 640px; }

.center-cta { text-align: center; margin-top: 32px; }

/* Buttons ---------------------------------------------------------------- */

.btn {
  display: inline-block;
  padding: 13px 24px;
  border-radius: 999px;
  font-weight: 700;
  text-decoration: none;
  border: 2px solid transparent;
  transition: transform 0.15s ease, opacity 0.15s ease;
}
.btn:hover { transform: translateY(-1px); }

.btn--primary { background: var(--gold); color: #06110b; }
.btn--ghost { background: transparent; color: var(--text); border-color: var(--border); }
.btn--outline { background: transparent; color: var(--gold); border-color: var(--gold-dim); }

/* Header ------------------------------------------------------------------ */

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  background: rgba(11, 15, 13, 0.9);
  backdrop-filter: blur(6px);
  border-bottom: 1px solid var(--border);
}

.site-header__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}

.brand {
  display: flex;
  align-items: center;
  gap: 8px;
  text-decoration: none;
  color: var(--text);
  font-family: var(--font-display);
  font-size: 1.05rem;
  white-space: nowrap;
}

.brand__avatar {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  object-fit: cover;
  background: var(--gold-dim);
}

.site-nav { display: flex; gap: 22px; }
.site-nav a { color: var(--text-muted); text-decoration: none; font-weight: 600; font-size: 0.95rem; }
.site-nav a:hover { color: var(--gold); }

/* Hero --------------------------------------------------------------------- */

.hero {
  padding: 96px 0 64px;
  background:
    radial-gradient(circle at 15% 20%, rgba(255, 199, 0, 0.16), transparent 45%),
    radial-gradient(circle at 85% 0%, rgba(247, 148, 29, 0.14), transparent 40%);
  text-align: center;
}

.eyebrow {
  color: var(--gold);
  text-transform: uppercase;
  letter-spacing: 0.14em;
  font-weight: 700;
  font-size: 0.8rem;
  margin-bottom: 14px;
}

.hero__logo { margin: 0 auto; max-width: 640px; }
.hero__logo img { display: block; width: 100%; height: auto; }

.hero__lede {
  max-width: 560px;
  margin: 18px auto 30px;
  color: var(--text-muted);
  font-size: 1.05rem;
}

.hero__actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; margin-bottom: 46px; }

.hero__stats {
  list-style: none;
  display: flex;
  justify-content: center;
  gap: 48px;
  padding: 0;
  margin: 0;
  flex-wrap: wrap;
}
.hero__stats strong { display: block; font-family: var(--font-display); font-size: 1.6rem; color: var(--text); }
.hero__stats span { color: var(--text-muted); font-size: 0.85rem; text-transform: uppercase; letter-spacing: 0.06em; }

/* About ---------------------------------------------------------------- */

.about__grid {
  display: flex;
  gap: 28px;
  align-items: flex-start;
}
.about__avatar {
  width: 120px;
  height: 120px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  border: 3px solid var(--gold-dim);
}
.about__links { display: flex; gap: 12px; flex-wrap: wrap; margin-top: 22px; }

@media (max-width: 640px) {
  .about__grid { flex-direction: column; align-items: center; text-align: center; }
  .about__links { justify-content: center; }
}

/* Videos ----------------------------------------------------------------- */

.video-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 22px;
  margin-top: 32px;
}

.video-card__frame {
  position: relative;
  padding-top: 56.25%;
  border-radius: var(--radius);
  overflow: hidden;
  background: var(--card);
  border: 1px solid var(--border);
}

.video-card__frame iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
}

/* Group Pool --------------------------------------------------------------- */

.pool-card {
  margin-top: 32px;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px;
}

.pool-card__header {
  display: flex;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 20px;
  border-bottom: 1px solid var(--border);
  padding-bottom: 20px;
  margin-bottom: 20px;
}

.pool-card__label {
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.8rem;
  color: var(--gold);
  font-weight: 700;
  margin: 0 0 4px;
}

.pool-card__pack { font-family: var(--font-display); font-size: 1.4rem; margin: 0; }

.pool-card__meta { text-align: right; }
.pool-card__meta p { margin: 0 0 4px; }

.pool-status {
  min-height: 1.4em;
  color: var(--gold);
  font-weight: 600;
  font-size: 0.95rem;
}

.pool-grid {
  grid-template-columns: repeat(auto-fill, minmax(84px, 1fr));
  gap: 10px;
  margin: 12px 0 24px;
}
.pool-grid[hidden] { display: none; }
.pool-grid:not([hidden]) { display: grid; }

.pool-slots-admin {
  align-items: center;
  gap: 10px;
  flex-wrap: wrap;
  margin: 12px 0;
  padding: 12px;
  border: 1px dashed var(--gold-dim);
  border-radius: 10px;
}
.pool-slots-admin[hidden] { display: none; }
.pool-slots-admin:not([hidden]) { display: flex; }

.pool-slots-admin input[type="number"] {
  width: 110px;
  font-family: var(--font-body);
  font-size: 0.9rem;
  padding: 8px 10px;
  border-radius: 8px;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--text);
}
.pool-slots-admin input[type="number"]:focus {
  outline: none;
  border-color: var(--gold-dim);
}

.pool-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4px;
  padding: 14px 8px;
  border-radius: 10px;
  border: 2px solid var(--gold-dim);
  background: transparent;
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-body);
  transition: background 0.15s ease, transform 0.1s ease;
}
.pool-slot:hover { background: rgba(255, 199, 0, 0.12); transform: translateY(-2px); }
.pool-slot__num { font-weight: 800; font-size: 1.05rem; }
.pool-slot__state { font-size: 0.75rem; color: var(--text-muted); }

.pool-slot--taken {
  border-color: var(--border);
  color: var(--text-muted);
  cursor: not-allowed;
  opacity: 0.55;
}
.pool-slot--taken:hover { background: none; transform: none; }

.pool-steps {
  margin: 0;
  padding-left: 20px;
  color: var(--text-muted);
}
.pool-steps li { margin-bottom: 6px; }

.pool-roster {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
}

.pool-roster__header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}
.pool-roster__header h3 { font-size: 1.1rem; margin: 0; color: var(--text); }
.pool-roster__summary { margin: 0; }
.pool-roster__summary strong { color: var(--gold); }

.pool-roster__list {
  margin: 0;
  padding-left: 0;
  color: var(--text);
  list-style: none;
  counter-reset: roster;
}
.pool-roster__list li {
  counter-increment: roster;
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 199, 0, 0.25);
}
.pool-roster__list li:last-child {
  border-bottom: none;
}

@media (min-width: 700px) {
  .pool-roster__list {
    column-count: 2;
    column-gap: 32px;
  }
  .pool-roster__list li {
    break-inside: avoid;
    -webkit-column-break-inside: avoid;
  }
}
.pool-roster__list li::before {
  content: counter(roster) ".";
  color: var(--gold);
  font-weight: 700;
  margin-right: 2px;
  flex-shrink: 0;
}
.pool-roster__list li span {
  flex: 1;
}

.pool-roster__remove {
  background: transparent;
  border: 1px solid var(--red);
  color: var(--red);
  border-radius: 999px;
  padding: 2px 10px;
  font-size: 0.75rem;
  cursor: pointer;
}

.pool-admin-toggle {
  margin-top: 16px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 0.78rem;
  text-decoration: underline;
  cursor: pointer;
  padding: 0;
}
.pool-admin-toggle:hover { color: var(--gold); }

/* FAQ ---------------------------------------------------------------------- */

.faq-item {
  border-bottom: 1px solid var(--border);
  padding: 16px 0;
}
.faq-item summary {
  cursor: pointer;
  font-weight: 700;
  font-size: 1.05rem;
}
.faq-item p { margin: 12px 0 0; color: var(--text-muted); }

/* Claim modal ------------------------------------------------------------ */

.modal {
  position: fixed;
  inset: 0;
  z-index: 100;
  align-items: center;
  justify-content: center;
  padding: 20px;
}
.modal[hidden] { display: none; }
.modal:not([hidden]) { display: flex; }

.modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
}

.modal__box {
  position: relative;
  width: 100%;
  max-width: 420px;
  background: var(--card);
  border: 1px solid var(--gold-dim);
  border-radius: var(--radius);
  padding: 28px;
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.modal__box h3 { margin: 0 0 4px; font-size: 1.3rem; }
.modal__price { color: var(--gold); font-weight: 700; margin: 0 0 14px; }
.modal__box label { font-size: 0.85rem; color: var(--text-muted); margin-bottom: 6px; }

.modal__box input[type="text"] {
  font-family: var(--font-body);
  font-size: 1rem;
  padding: 12px 14px;
  border-radius: 10px;
  border: 2px solid var(--border);
  background: var(--bg);
  color: var(--text);
  margin-bottom: 10px;
}
.modal__box input[type="text"]:focus {
  outline: none;
  border-color: var(--gold-dim);
}

.modal__hint { color: var(--text-muted); font-size: 0.82rem; margin: 0 0 18px; }

.modal__actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

/* Footer (also serves as the Contact section) --------------------------- */

.site-footer { border-top: 1px solid var(--border); padding: 48px 0 28px; }
.site-footer__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 14px;
}

.site-footer__avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--gold-dim);
}

.site-footer__brand {
  font-family: var(--font-display);
  color: var(--text);
  font-size: 1.05rem;
  margin: 0;
}

.site-footer__contact {
  display: flex;
  flex-direction: column;
  gap: 4px;
  color: var(--text-muted);
  font-size: 0.9rem;
}
.site-footer__contact a { color: var(--text-muted); text-decoration: none; }
.site-footer__contact a:hover { color: var(--gold); }

.site-footer__social { display: flex; gap: 18px; margin-top: 4px; }
.site-footer__social a { color: var(--text-muted); display: inline-flex; }
.site-footer__social a:hover { color: var(--gold); }
.site-footer__social svg { width: 22px; height: 22px; }

.site-footer__copy { color: var(--text-muted); font-size: 0.8rem; margin: 10px 0 0; }
.site-footer__copy a { color: inherit; text-decoration: none; }
.site-footer__copy a:hover { color: var(--gold); }

/* Responsive ------------------------------------------------------------- */

@media (max-width: 640px) {
  .site-nav { display: none; }
  .pool-card__header { text-align: left; }
  .pool-card__meta { text-align: left; }
}
