/* ============================================================
   PlayDen — sub-pages (Press, Contact, Help, Rules, Privacy, Terms)
   Builds on styles.css tokens. Loaded as ../pages.css from /pages.
   ============================================================ */

/* ---------- Page hero ---------- */
.page-hero {
  padding-top: clamp(60px, 9vw, 120px);
  padding-bottom: clamp(36px, 5vw, 56px);
  position: relative;
}
.page-hero .kicker { margin-bottom: 22px; }
.page-hero h1 {
  font-family: var(--font-display);
  font-weight: 800;
  font-size: clamp(40px, 6.5vw, 80px);
  letter-spacing: -0.04em;
  line-height: 0.98;
  margin-bottom: 24px;
}
.page-hero h1 .accent { color: var(--violet-bright); }
.page-hero h1 .accent-b {
  background: linear-gradient(95deg, var(--violet-bright), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.page-hero .lead { font-size: clamp(16px, 1.5vw, 20px); max-width: 60ch; }
.page-meta {
  display: flex; gap: 22px; flex-wrap: wrap; margin-top: 28px;
  font-family: var(--font-mono); font-size: 12px; color: var(--faint);
  letter-spacing: 0.04em;
}
.page-meta b { color: var(--muted); font-weight: 600; }

.crumbs {
  display: flex; align-items: center; gap: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.06em;
  color: var(--faint); margin-bottom: 30px;
}
.crumbs a { color: var(--muted); transition: color 0.2s; }
.crumbs a:hover { color: var(--text); }
.crumbs span { opacity: 0.5; }

.page-body { padding-bottom: clamp(70px, 10vw, 120px); }

/* ============================================================
   DOC LAYOUT (legal / rules) — sticky TOC + prose
   ============================================================ */
.doc {
  display: grid;
  grid-template-columns: 248px 1fr;
  gap: clamp(36px, 6vw, 80px);
  align-items: start;
}
.toc {
  position: sticky;
  top: 100px;
  align-self: start;
}
.toc h5 {
  font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--faint); margin-bottom: 16px;
}
.toc ul { list-style: none; display: flex; flex-direction: column; gap: 2px; border-left: 1px solid var(--line); }
.toc a {
  display: block; padding: 8px 16px; margin-left: -1px;
  font-size: 14px; color: var(--muted); border-left: 2px solid transparent;
  transition: color 0.2s, border-color 0.2s;
  line-height: 1.35;
}
.toc a:hover { color: var(--text); }
.toc a.active { color: var(--violet-bright); border-left-color: var(--violet); font-weight: 600; }

/* ---------- Prose ---------- */
.prose { max-width: 68ch; }
.prose > section { scroll-margin-top: 100px; margin-bottom: 48px; }
.prose h2 {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(24px, 2.6vw, 32px); letter-spacing: -0.025em;
  margin-bottom: 18px; padding-top: 6px;
}
.prose h2 .idx {
  font-family: var(--font-mono); font-size: 0.55em; color: var(--violet-bright);
  margin-right: 14px; font-weight: 600; vertical-align: middle;
}
.prose h3 {
  font-family: var(--font-display); font-weight: 700; font-size: 18px;
  letter-spacing: -0.01em; margin: 28px 0 10px;
}
.prose p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
.prose p strong { color: var(--text); font-weight: 700; }
.prose a:not(.btn) { color: var(--violet-bright); text-decoration: underline; text-underline-offset: 3px; text-decoration-color: color-mix(in oklch, var(--violet) 45%, transparent); transition: text-decoration-color 0.2s; }
.prose a:not(.btn):hover { text-decoration-color: var(--violet-bright); }
.prose ul, .prose ol { margin: 0 0 18px 0; padding-left: 0; list-style: none; display: flex; flex-direction: column; gap: 10px; }
.prose ul li, .prose ol li { color: var(--muted); font-size: 16px; line-height: 1.6; padding-left: 30px; position: relative; }
.prose ul li::before {
  content: ""; position: absolute; left: 8px; top: 11px;
  width: 6px; height: 6px; border-radius: 2px; background: var(--violet);
}
.prose ol { counter-reset: li; }
.prose ol li { counter-increment: li; }
.prose ol li::before {
  content: counter(li); position: absolute; left: 0; top: 0;
  font-family: var(--font-mono); font-size: 12px; font-weight: 700; color: var(--violet-bright);
  width: 20px; text-align: right;
}
.prose hr { border: none; border-top: 1px solid var(--line); margin: 40px 0; }

.callout {
  border-radius: var(--radius-sm);
  border: 1px solid var(--line-2);
  background: color-mix(in oklch, var(--violet) 9%, var(--surface));
  padding: 20px 22px;
  margin: 22px 0;
  display: flex; gap: 14px;
}
.callout .ic { flex: none; width: 22px; height: 22px; color: var(--violet-bright); }
.callout p { margin: 0; font-size: 14.5px; color: var(--text); }
.callout.warn { background: color-mix(in oklch, var(--amber) 10%, var(--surface)); border-color: color-mix(in oklch, var(--amber) 30%, transparent); }
.callout.warn .ic { color: var(--amber); }

@media (max-width: 820px) {
  .doc { grid-template-columns: 1fr; }
  .toc { display: none; }
}

/* ============================================================
   GENERIC SECTION HEADERS for rich pages
   ============================================================ */
.sec-head { max-width: 620px; margin-bottom: 42px; }
.sec-head h2 { font-family: var(--font-display); font-weight: 700; font-size: clamp(28px, 3.4vw, 44px); letter-spacing: -0.03em; margin-bottom: 16px; }
.sec-head p { color: var(--muted); font-size: 16px; }
.page-section { padding-block: clamp(48px, 7vw, 88px); }
.page-section.alt { background: color-mix(in oklch, var(--bg-pure) 45%, transparent); border-block: 1px solid var(--line); }

/* ---------- Card grids ---------- */
.cardgrid { display: grid; gap: 20px; }
.cardgrid.c2 { grid-template-columns: repeat(2, 1fr); }
.cardgrid.c3 { grid-template-columns: repeat(3, 1fr); }
.info-card {
  padding: 28px;
  display: flex; flex-direction: column; gap: 10px;
  transition: transform 0.35s var(--ease), border-color 0.35s, box-shadow 0.35s;
}
.info-card:hover { transform: translateY(-4px); border-color: var(--line-2); box-shadow: 0 22px 50px -24px color-mix(in oklch, var(--violet) 55%, transparent); }
.info-card .ic {
  width: 46px; height: 46px; border-radius: 13px; display: grid; place-items: center;
  background: var(--surface-2); border: 1px solid var(--line); color: var(--violet-bright);
  margin-bottom: 6px;
}
.info-card .ic svg { width: 22px; height: 22px; }
.info-card h3 { font-family: var(--font-display); font-weight: 700; font-size: 19px; letter-spacing: -0.01em; }
.info-card p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }
.info-card .link {
  margin-top: auto; padding-top: 8px;
  font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.04em;
  color: var(--violet-bright); display: inline-flex; align-items: center; gap: 7px;
}
.info-card .link svg { width: 14px; height: 14px; transition: transform 0.3s var(--spring); }
.info-card:hover .link svg { transform: translateX(4px); }

@media (max-width: 860px) { .cardgrid.c3 { grid-template-columns: 1fr; } }
@media (max-width: 680px) { .cardgrid.c2 { grid-template-columns: 1fr; } }

/* ============================================================
   PRESS specifics
   ============================================================ */
.press-stats { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1px; background: var(--line); border: 1px solid var(--line); border-radius: var(--radius); overflow: hidden; }
.press-stats .cell { background: var(--bg); padding: 30px 24px; }
.press-stats .n { font-family: var(--font-display); font-weight: 800; font-size: clamp(28px, 3vw, 40px); letter-spacing: -0.03em; }
.press-stats .n .suf { color: var(--lime); }
.press-stats .lab { font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.14em; text-transform: uppercase; color: var(--faint); margin-top: 8px; }
@media (max-width: 760px) { .press-stats { grid-template-columns: repeat(2, 1fr); } }

.release { display: grid; grid-template-columns: 130px 1fr auto; gap: 24px; align-items: center; padding: 24px 4px; border-bottom: 1px solid var(--line); transition: padding 0.3s var(--ease); }
.release:hover { padding-left: 12px; }
.release:last-child { border-bottom: none; }
.release .date { font-family: var(--font-mono); font-size: 12px; color: var(--faint); letter-spacing: 0.04em; }
.release h4 { font-family: var(--font-display); font-weight: 700; font-size: 17px; letter-spacing: -0.01em; margin-bottom: 4px; }
.release p { font-size: 13.5px; color: var(--muted); }
.release .arrow { width: 40px; height: 40px; border-radius: 50%; border: 1px solid var(--line-2); display: grid; place-items: center; color: var(--muted); transition: background 0.3s, color 0.3s, transform 0.3s; }
.release:hover .arrow { background: var(--violet); color: white; border-color: transparent; transform: translateX(2px); }
.release .arrow svg { width: 16px; height: 16px; }
@media (max-width: 680px) { .release { grid-template-columns: 1fr auto; } .release .date { grid-column: 1 / -1; } }

.asset-tile {
  border-radius: var(--radius-sm); border: 1px solid var(--line); overflow: hidden;
  transition: border-color 0.3s, transform 0.3s var(--ease);
}
.asset-tile:hover { border-color: var(--line-2); transform: translateY(-3px); }
.asset-tile .swatch { height: 130px; display: grid; place-items: center; position: relative; }
.asset-tile .meta { padding: 14px 16px; display: flex; align-items: center; justify-content: space-between; background: var(--surface); }
.asset-tile .meta b { font-family: var(--font-display); font-size: 14px; }
.asset-tile .meta small { font-family: var(--font-mono); font-size: 11px; color: var(--faint); }

/* ============================================================
   CONTACT form
   ============================================================ */
.contact-grid { display: grid; grid-template-columns: 1fr 1.1fr; gap: clamp(36px, 5vw, 64px); align-items: start; }
.form { padding: 32px; }
.field { margin-bottom: 18px; }
.field label { display: block; font-family: var(--font-mono); font-size: 11px; letter-spacing: 0.12em; text-transform: uppercase; color: var(--muted); margin-bottom: 9px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--font-body); font-size: 15px; color: var(--text);
  background: var(--bg); border: 1px solid var(--line-2); border-radius: 12px;
  padding: 13px 15px; transition: border-color 0.25s, box-shadow 0.25s; outline: none;
}
.field input::placeholder, .field textarea::placeholder { color: var(--faint); }
.field input:focus, .field select:focus, .field textarea:focus {
  border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in oklch, var(--violet) 22%, transparent);
}
.field textarea { resize: vertical; min-height: 130px; }
.field.row { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.phone-group { display: flex; gap: 10px; }
.phone-group select { flex: none; width: 96px; padding-left: 10px; padding-right: 6px; }
.phone-group input { flex: 1; min-width: 0; }
@media (max-width: 480px) { .phone-group select { width: 84px; } }
.form .btn-primary { width: 100%; margin-top: 6px; }
.form-note { font-size: 12.5px; color: var(--faint); text-align: center; margin-top: 14px; }
.contact-aside { display: flex; flex-direction: column; gap: 16px; }
.contact-line { display: flex; gap: 14px; align-items: flex-start; padding: 18px 0; border-bottom: 1px solid var(--line); }
.contact-line:last-child { border-bottom: none; }
.contact-line .ic { flex: none; width: 40px; height: 40px; border-radius: 11px; display: grid; place-items: center; background: var(--surface); border: 1px solid var(--line); color: var(--violet-bright); }
.contact-line .ic svg { width: 19px; height: 19px; }
.contact-line h4 { font-family: var(--font-display); font-size: 15px; font-weight: 700; margin-bottom: 3px; }
.contact-line p, .contact-line a { font-size: 14px; color: var(--muted); }
.contact-line a:hover { color: var(--violet-bright); }
@media (max-width: 820px) {
  .contact-grid { grid-template-columns: 1fr; }
  .contact-grid .form { order: 1; }
  .contact-grid .contact-aside { order: 2; }
}

/* ============================================================
   HELP CENTER
   ============================================================ */
.help-search {
  display: flex; align-items: center; gap: 12px;
  background: var(--surface); border: 1px solid var(--line-2); border-radius: 16px;
  padding: 16px 20px; max-width: 620px;
  transition: border-color 0.25s, box-shadow 0.25s;
}
.help-search:focus-within { border-color: var(--violet); box-shadow: 0 0 0 3px color-mix(in oklch, var(--violet) 20%, transparent); }
.help-search svg { width: 20px; height: 20px; color: var(--faint); flex: none; }
.help-search input { flex: 1; background: none; border: none; outline: none; color: var(--text); font-family: var(--font-body); font-size: 16px; }
.help-search input::placeholder { color: var(--faint); }
.help-search kbd { font-family: var(--font-mono); font-size: 11px; color: var(--faint); border: 1px solid var(--line-2); border-radius: 6px; padding: 3px 7px; }

.faq { max-width: 760px; }
.faq-item { border-bottom: 1px solid var(--line); }
.faq-q {
  width: 100%; text-align: left; display: flex; align-items: center; justify-content: space-between; gap: 20px;
  padding: 22px 4px; font-family: var(--font-display); font-weight: 600; font-size: 17px; letter-spacing: -0.01em; color: var(--text);
}
.faq-q .chev { flex: none; width: 22px; height: 22px; color: var(--muted); transition: transform 0.35s var(--spring), color 0.3s; }
.faq-item.open .faq-q .chev { transform: rotate(45deg); color: var(--violet-bright); }
.faq-a { overflow: hidden; max-height: 0; transition: max-height 0.4s var(--ease); }
.faq-a-inner { padding: 0 4px 24px; color: var(--muted); font-size: 15px; line-height: 1.7; }
.faq-a-inner a { color: var(--violet-bright); text-decoration: underline; text-underline-offset: 3px; }

/* ---------- mini CTA strip ---------- */
.mini-cta { text-align: center; padding: clamp(40px, 6vw, 72px); border-radius: var(--radius-lg); position: relative; overflow: hidden;
  background: radial-gradient(70% 120% at 50% -20%, color-mix(in oklch, var(--violet) 38%, transparent), transparent 60%), linear-gradient(180deg, var(--surface), var(--bg-2)); border: 1px solid var(--line-2); }
.mini-cta h2 { font-family: var(--font-display); font-weight: 800; font-size: clamp(26px, 3.4vw, 40px); letter-spacing: -0.03em; margin-bottom: 14px; }
.mini-cta p { color: var(--muted); max-width: 48ch; margin: 0 auto 26px; }
.mini-cta .actions { display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }

/* ============================================================
   ABOUT — mission, timeline, team
   ============================================================ */
.mission {
  font-family: var(--font-display); font-weight: 700;
  font-size: clamp(26px, 3.6vw, 44px); letter-spacing: -0.03em; line-height: 1.2;
  max-width: 22ch;
}
.mission .hl {
  background: linear-gradient(95deg, var(--violet-bright), var(--blue));
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.mission-grid { display: grid; grid-template-columns: 1fr 1fr; gap: clamp(36px, 6vw, 80px); align-items: center; }
.mission-grid .body p { color: var(--muted); font-size: 16px; line-height: 1.7; margin-bottom: 16px; }
@media (max-width: 820px) { .mission-grid { grid-template-columns: 1fr; gap: 32px; } }

.timeline { border-left: 1px solid var(--line); margin-left: 6px; }
.tl-item { position: relative; padding: 0 0 34px 34px; }
.tl-item:last-child { padding-bottom: 0; }
.tl-item::before { content: ""; position: absolute; left: -5px; top: 4px; width: 9px; height: 9px; border-radius: 50%; background: var(--violet); box-shadow: 0 0 0 4px var(--bg); }
.tl-item .yr { font-family: var(--font-mono); font-size: 12px; letter-spacing: 0.1em; color: var(--violet-bright); margin-bottom: 6px; }
.tl-item h4 { font-family: var(--font-display); font-size: 19px; font-weight: 700; letter-spacing: -0.01em; margin-bottom: 6px; }
.tl-item p { color: var(--muted); font-size: 14.5px; line-height: 1.6; }

.team-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 22px; }
.team-card { text-align: center; }
.team-card .av {
  width: 88px; height: 88px; border-radius: 50%; margin: 0 auto 16px;
  display: grid; place-items: center; font-family: var(--font-display); font-weight: 800; font-size: 28px; color: #fff;
  box-shadow: inset 0 2px 4px rgba(255,255,255,.25);
}
.team-card b { font-family: var(--font-display); font-size: 16px; letter-spacing: -0.01em; display: block; }
.team-card small { font-family: var(--font-mono); font-size: 12px; color: var(--faint); }
@media (max-width: 820px) { .team-grid { grid-template-columns: repeat(2, 1fr); } }

/* ============================================================
   CAREERS — role rows
   ============================================================ */
.role .date { color: var(--violet-bright); font-weight: 600; }
.role .tags { display: flex; gap: 14px; font-family: var(--font-mono); font-size: 12px; color: var(--faint); margin-top: 4px; }
.role .tags span { display: inline-flex; align-items: center; gap: 5px; }

/* 4-up steps (organizers) — collapses on tablet & mobile */
.steps-4 { grid-template-columns: repeat(4, 1fr); }
@media (max-width: 980px) { .steps-4 { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px) { .steps-4 { grid-template-columns: 1fr; } }
