:root {
  --bg: #0e0c09;
  --panel: #17130e;
  --panel-2: #1e1912;
  --text: #f7f0df;
  --muted: #b8ad98;
  --line: #31291d;
  --gold: #f4c45a;
  --gold-2: #d99a2b;
  --green: #77d6a1;
  --blue: #88b8ff;
  --red: #ff8d79;
  --shadow: 0 18px 50px rgba(0,0,0,.28);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  color: var(--text);
  background:
    radial-gradient(circle at 12% 5%, rgba(244,196,90,.08), transparent 26rem),
    radial-gradient(circle at 90% 20%, rgba(217,154,43,.05), transparent 28rem),
    var(--bg);
  line-height: 1.6;
}
a { color: inherit; }
button, input, select { font: inherit; }
button { cursor: pointer; }
.shell { width: min(1120px, calc(100% - 36px)); margin-inline: auto; }
.site-header {
  width: min(1180px, calc(100% - 28px));
  margin: 14px auto 0;
  position: sticky;
  top: 12px;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  padding: 12px 16px;
  border: 1px solid rgba(255,255,255,.08);
  background: rgba(14,12,9,.82);
  backdrop-filter: blur(18px);
  border-radius: 18px;
  box-shadow: 0 10px 30px rgba(0,0,0,.18);
}
.brand { display: inline-flex; align-items: center; gap: 10px; font-weight: 800; text-decoration: none; letter-spacing: -.02em; }
.brand-mark { width: 30px; height: 30px; display: grid; place-items: center; border: 1px solid #66532f; border-radius: 9px; color: var(--gold); background: #20190d; }
nav { display: flex; gap: 18px; }
nav a { color: var(--muted); text-decoration: none; font-size: 14px; }
nav a:hover, nav a.active { color: var(--text); }
nav a.active { font-weight: 700; color: var(--gold); }
.hero { padding: 90px 0 46px; text-align: center; }
.hero.counter-hero { padding-block: 30px 0; }
.eyebrow, .section-kicker { color: var(--gold); text-transform: uppercase; letter-spacing: .14em; font-size: 12px; font-weight: 800; }
h1 { max-width: 880px; margin: 14px auto 18px; font-size: clamp(38px, 6vw, 72px); line-height: 1.05; letter-spacing: -.045em; }
h2 { margin: 8px 0 10px; font-size: clamp(24px, 3.6vw, 36px); line-height: 1.15; letter-spacing: -.03em; }
h3 { margin: 10px 0 6px; font-size: 20px; line-height: 1.25; }
p { margin: 0; }
.hero-copy { max-width: 760px; margin: 0 auto; color: var(--muted); font-size: clamp(17px, 2.1vw, 20px); }
.hero-copy strong { color: var(--text); }
.hero-actions { margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.action-btn { display: inline-flex; align-items: center; justify-content: center; padding: 10px 18px; border-radius: 12px; font-weight: 800; font-size: 14px; text-decoration: none; }
.action-btn.primary { background: linear-gradient(180deg, #f5c75d, #d99a2b); color: #211707; border: 1px solid #6b5427; }
.action-btn.primary:hover { filter: brightness(1.08); }
.action-btn.secondary { background: rgba(255,255,255,.04); color: var(--text); border: 1px solid var(--line); }
.action-btn.secondary:hover { border-color: #594932; background: rgba(255,255,255,.08); }
.hero-badges { margin: 24px auto 0; display: flex; flex-wrap: wrap; justify-content: center; gap: 10px; }
.hero-badges span { border: 1px solid var(--line); background: rgba(255,255,255,.025); padding: 8px 13px; border-radius: 999px; color: var(--muted); font-size: 13.5px; }
.hero-badges b { color: var(--text); margin-right: 5px; }
.tracker-grid, .activation-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 18px; }
.panel, .fact-card, .report-card { border: 1px solid var(--line); background: linear-gradient(180deg, rgba(255,255,255,.025), transparent), var(--panel); border-radius: 24px; box-shadow: var(--shadow); }
.panel { padding: 28px; }
.muted { color: var(--muted); }
.counter { margin: 24px 0 18px; display: flex; flex-direction: column; align-items: center; justify-content: center; min-height: 190px; border: 1px solid #4b3d26; border-radius: 22px; background: radial-gradient(circle at 50% 20%, rgba(244,196,90,.14), transparent 55%), #120f0b; }
.counter span { font-size: clamp(64px, 9vw, 100px); line-height: .9; font-weight: 900; letter-spacing: -.06em; color: var(--gold); font-variant-numeric: tabular-nums; }
.counter small { margin-top: 10px; color: var(--muted); }
.counter-actions { display: grid; grid-template-columns: repeat(4, 1fr); gap: 8px; }
.counter-actions button, .wide { border: 1px solid #6b5427; background: linear-gradient(180deg, #f5c75d, #d99a2b); color: #211707; font-weight: 900; border-radius: 12px; padding: 12px 10px; }
.counter-actions button:hover, .wide:hover { filter: brightness(1.06); }
.counter-secondary { display: flex; gap: 8px; margin-top: 8px; }
.ghost { flex: 1; border: 1px solid var(--line); background: transparent; color: var(--muted); padding: 9px; border-radius: 11px; }
.ghost:hover { color: var(--text); border-color: #594932; }
.ghost.danger:hover { color: var(--red); }

/* Start from Fortnite Quest Count box */
.quest-sync-box {
  margin-top: 16px;
  border: 1px solid var(--line);
  background: var(--panel-2);
  border-radius: 16px;
  padding: 14px 16px;
}
.quest-sync-details summary {
  cursor: pointer;
  font-weight: 750;
  font-size: 13.5px;
  color: var(--gold);
  display: flex;
  align-items: center;
  gap: 8px;
  user-select: none;
  list-style: none;
}
.quest-sync-details summary::-webkit-details-marker {
  display: none;
}
.quest-sync-details summary::before {
  content: '▸';
  display: inline-block;
  transition: transform .2s ease;
  font-size: 12px;
}
.quest-sync-details[open] summary::before {
  transform: rotate(90deg);
}
.quest-sync-content {
  margin-top: 12px;
  padding-top: 12px;
  border-top: 1px solid rgba(255,255,255,.06);
}
.quest-sync-content p {
  color: var(--muted);
  font-size: 13px;
  line-height: 1.45;
  margin-bottom: 10px;
}
.quest-sync-form .input-group {
  display: flex;
  gap: 8px;
}
.quest-sync-form input[type="number"] {
  min-width: 0;
  flex: 1;
  background: #100e0a;
  border: 1px solid #4b3d26;
  border-radius: 10px;
  color: var(--text);
  padding: 10px 12px;
  font-size: 14px;
}
.quest-sync-form input[type="number"]:focus {
  outline: none;
  border-color: var(--gold);
}
.small-btn {
  padding: 8px 14px;
  font-size: 13px;
  white-space: nowrap;
}

.found-box { margin-top: 20px; padding: 18px; border-radius: 16px; background: var(--panel-2); border: 1px solid var(--line); }
.found-box p { color: var(--muted); margin: 5px 0 12px; font-size: 14px; }
.wide { width: 100%; }
.tiny { margin-top: 8px !important; font-size: 12px !important; color: #8f846f !important; }
.quick-qa-list { display: grid; gap: 12px; margin: 18px 0; }
.qa-item { border-bottom: 1px solid var(--line); padding-bottom: 11px; }
.qa-item:last-child { border-bottom: none; padding-bottom: 0; }
.qa-item b { display: block; font-size: 14px; color: var(--text); margin-bottom: 2px; }
.qa-item p { color: var(--muted); font-size: 13.5px; line-height: 1.45; }
.qa-item strong { color: var(--text); }
.source-link { display: inline-block; margin-top: 10px; color: var(--gold); text-decoration: none; font-weight: 750; font-size: 14px; }
.source-link:hover { text-decoration: underline; }
.section-block { padding: 74px 0 0; }
.section-heading { display: flex; justify-content: space-between; gap: 28px; align-items: end; margin-bottom: 20px; }
.section-heading > p { max-width: 480px; color: var(--muted); }
.legend-note { font-size: 13px; color: var(--muted); max-width: 520px; line-height: 1.4; }
.legend-note b { color: var(--text); }
.fact-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.fact-card { padding: 22px; box-shadow: none; }
.fact-card .status { font-size: 11px; font-weight: 900; letter-spacing: .08em; }
.fact-card.known .status { color: var(--green); }
.fact-card.report .status { color: var(--blue); }
.fact-card.unknown .status { color: var(--gold); }
.fact-card p { color: var(--muted); }
.report-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.report-card { padding: 24px; box-shadow: none; }
.report-number { font-size: 44px; font-weight: 950; color: var(--gold); letter-spacing: -.05em; }
.report-meta { font-size: 12px; color: #8f846f; margin: 6px 0 !important; }
.report-meta b { color: var(--muted); }
.report-card p { color: var(--muted); margin: 6px 0 14px; font-size: 14px; }
.report-card a { color: var(--text); font-weight: 700; text-underline-offset: 3px; font-size: 13.5px; }
.warning-callout { margin-top: 14px; border-left: 3px solid var(--gold); background: #17130e; color: var(--muted); padding: 14px 16px; border-radius: 0 12px 12px 0; font-size: 14px; }
.warning-callout b { color: var(--text); }
label { display: block; margin: 20px 0 8px; color: var(--muted); font-size: 14px; }
input[type=date], select { width: 100%; min-width: 0; color: var(--text); background: #100e0a; border: 1px solid #4b3d26; border-radius: 12px; padding: 13px 14px; color-scheme: dark; }
.activation-result { margin-top: 14px; border: 1px solid var(--line); background: var(--panel-2); border-radius: 14px; padding: 16px; font-weight: 750; }
.release-list { list-style: none; padding: 0; margin: 20px 0 12px; display: grid; gap: 9px; }
.release-list li { display: grid; grid-template-columns: 74px 1fr; gap: 12px; padding: 11px 0; border-bottom: 1px solid var(--line); }
.release-list time { color: var(--gold); font-weight: 850; }
.route-strip { display: grid; grid-template-columns: 1fr auto 1fr auto 1fr auto 1fr; align-items: center; gap: 12px; padding: 20px; border: 1px solid var(--line); border-radius: 20px; background: var(--panel); }
.route-strip div { text-align: center; padding: 16px 8px; }
.route-strip b { display: block; font-size: 17px; }
.route-strip span { display: block; color: var(--muted); font-size: 13px; margin-top: 2px; }
.route-strip i { color: var(--gold); font-style: normal; font-size: 22px; }
.center-note { max-width: 750px; margin: 14px auto 0; text-align: center; color: var(--muted); font-size: 14px; }
.faq-section details { border-top: 1px solid var(--line); padding: 18px 0; }
.faq-section details:last-child { border-bottom: 1px solid var(--line); }
.faq-section summary { cursor: pointer; font-weight: 800; font-size: 17px; }
.faq-section details p { max-width: 900px; color: var(--muted); margin-top: 10px; font-size: 14.5px; }
.sources-list { display: grid; gap: 10px; }
.sources-list a { display: flex; justify-content: space-between; gap: 24px; border: 1px solid var(--line); background: var(--panel); border-radius: 14px; padding: 15px 16px; text-decoration: none; }
.sources-list a:hover { border-color: #594932; }
.sources-list span { color: var(--muted); text-align: right; font-size: 13.5px; }

/* Breadcrumb */
.breadcrumb {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: var(--muted);
  margin-bottom: 14px;
}
.breadcrumb a {
  color: var(--gold);
  text-decoration: none;
}
.breadcrumb a:hover {
  text-decoration: underline;
}

/* Milestone Grid */
.milestone-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 12px;
  margin: 20px 0;
}
.milestone-card {
  padding: 18px 14px;
  border: 1px solid var(--line);
  border-radius: 16px;
  background: var(--panel);
  text-align: center;
}
.milestone-card .badge {
  display: inline-block;
  font-size: 11px;
  font-weight: 800;
  color: var(--gold);
  background: rgba(244,196,90,.12);
  padding: 2px 8px;
  border-radius: 999px;
  letter-spacing: .04em;
}
.milestone-card .count {
  font-size: 26px;
  font-weight: 900;
  color: var(--text);
  margin: 6px 0 2px;
  letter-spacing: -.03em;
}
.milestone-card .desc {
  font-size: 12px;
  color: var(--muted);
  line-height: 1.35;
}

/* Steps Grid */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  margin: 20px 0;
}
.step-card {
  padding: 22px;
  border: 1px solid var(--line);
  background: var(--panel);
  border-radius: 18px;
}
.step-number {
  display: inline-block;
  font-size: 12px;
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
  text-transform: uppercase;
  letter-spacing: .08em;
}
.step-card h3 {
  margin: 0 0 6px;
  font-size: 17px;
}
.step-card p {
  color: var(--muted);
  font-size: 13.5px;
  line-height: 1.5;
}

/* Odds and Probability Table */
.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--panel);
  margin: 20px 0;
}
.odds-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 14px;
  text-align: left;
}
.odds-table th, .odds-table td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
}
.odds-table th {
  color: var(--gold);
  font-weight: 800;
  background: var(--panel-2);
  font-size: 13px;
  text-transform: uppercase;
  letter-spacing: .06em;
}
.odds-table tr:last-child td {
  border-bottom: none;
}
.odds-table tr:hover td {
  background: rgba(255,255,255,.015);
}

/* Info Callout */
.info-callout {
  margin: 20px 0;
  border-left: 3px solid var(--blue);
  background: var(--panel);
  color: var(--muted);
  padding: 16px 18px;
  border-radius: 0 14px 14px 0;
  border-top: 1px solid var(--line);
  border-right: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  font-size: 14px;
}
.info-callout b {
  color: var(--text);
}

footer { margin-top: 80px; border-top: 1px solid var(--line); background: #090806; }
.footer-inner { padding: 34px 0 42px; display: grid; grid-template-columns: .7fr 1.3fr; gap: 30px; color: var(--muted); font-size: 13px; }
.footer-inner b { color: var(--text); }
.legal { max-width: 760px; }

@media (max-width: 820px) {
  .site-header {
    flex-direction: column;
    align-items: stretch;
    gap: 12px;
    position: static;
  }
  nav {
    display: flex;
    overflow-x: auto;
    white-space: nowrap;
    gap: 16px;
    padding-bottom: 4px;
    -webkit-overflow-scrolling: touch;
  }
  .hero { padding-top: 50px; }
  .tracker-grid, .activation-grid, .fact-grid, .report-grid { grid-template-columns: 1fr; }
  .milestone-grid { grid-template-columns: repeat(2, 1fr); }
  .steps-grid { grid-template-columns: 1fr; }
  .section-heading { align-items: start; flex-direction: column; gap: 6px; }
  .route-strip { grid-template-columns: 1fr; }
  .route-strip i { transform: rotate(90deg); text-align: center; }
  .sources-list a { flex-direction: column; gap: 4px; }
  .sources-list span { text-align: left; }
  .footer-inner { grid-template-columns: 1fr; }
}
@media (max-width: 520px) {
  .shell { width: min(100% - 24px, 1120px); }
  h1 { font-size: 38px; }
  .panel { padding: 20px; }
  .counter-actions { grid-template-columns: repeat(2, 1fr); }
  .milestone-grid { grid-template-columns: 1fr; }
  .quest-sync-form .input-group { flex-direction: column; }
  .hero-badges, .hero-actions { justify-content: flex-start; text-align: left; }
  .hero { text-align: left; }
}
