/* ============================================================
   Madium Executor — official site styles (madiumx.net)
   Light Apple-inspired theme · orange brand · centered layout
   ============================================================ */

:root {
  --bg: #ffffff;
  --bg-2: #fafafc;
  --card: #ffffff;
  --border: #e5e5ea;
  --border-soft: #f2f2f7;
  --border-strong: rgba(0, 0, 0, 0.16);
  --text: #1c1c1e;
  --muted: #8e8e93;
  --muted-2: #6b6b70;
  --track: #f2f2f7;
  --brand: #ff6a00;
  --brand-deep: #ff5a00;
  --brand-soft: #fff4ea;
  --brand-border: #ffd9b8;
  --grad: linear-gradient(135deg, #ff5a00 0%, #ff8a00 55%, #ffb020 100%);
  --radius: 20px;
  --shadow-soft: 0 1px 2px rgba(0, 0, 0, 0.03), 0 8px 24px -8px rgba(0, 0, 0, 0.08);
  --shadow-hover: 0 2px 4px rgba(0, 0, 0, 0.04), 0 18px 36px -12px rgba(0, 0, 0, 0.16);
  --glow: 0 8px 24px -8px rgba(255, 106, 0, 0.55);
  --ease: cubic-bezier(0.16, 1, 0.3, 1);
}

* { margin: 0; padding: 0; box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  font-family: "Inter", -apple-system, "Segoe UI", Roboto, Arial, sans-serif;
  font-size: 16px;
  line-height: 1.65;
  color: var(--text);
  background: var(--bg);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
}

h1, h2, h3, h4, .font-heading { font-family: "Poppins", "Inter", sans-serif; }

img, svg { vertical-align: middle; }

code {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.88em;
  background: var(--border-soft);
  border: 1px solid var(--border);
  border-radius: 6px;
  padding: 1px 6px;
  color: #3a3a3c;
}

::selection { background: rgba(255, 106, 0, 0.2); }

a { color: var(--brand); text-decoration: none; }
a:hover { text-decoration: underline; }

[id] { scroll-margin-top: 92px; }

.container { max-width: 1120px; margin: 0 auto; padding: 0 24px; }
.container-narrow { max-width: 780px; }

.visually-hidden {
  position: absolute; width: 1px; height: 1px;
  clip-path: inset(50%); overflow: hidden; white-space: nowrap;
}

.skip-link {
  position: absolute; left: 16px; top: -60px; z-index: 200;
  background: var(--text); color: #fff; font-weight: 600;
  padding: 10px 18px; border-radius: 999px; transition: top 0.2s ease;
}
.skip-link:focus { top: 12px; }

:focus-visible { outline: 2px solid var(--brand); outline-offset: 3px; border-radius: 4px; }

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

.site-header {
  position: fixed; inset: 0 0 auto 0; z-index: 100;
  background: rgba(255, 255, 255, 0.72);
  -webkit-backdrop-filter: blur(16px);
  backdrop-filter: blur(16px);
  border-bottom: 1px solid transparent;
  transition: box-shadow 0.25s ease, border-color 0.25s ease;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 1px 24px rgba(0, 0, 0, 0.05);
}

.header-inner {
  display: flex; align-items: center; justify-content: space-between;
  gap: 24px; height: 68px;
}

.logo {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: "Poppins", sans-serif;
  font-size: 1.2rem; font-weight: 700; letter-spacing: -0.02em; color: var(--text);
}
.logo:hover { text-decoration: none; }
.logo-mark { filter: drop-shadow(0 4px 12px rgba(255, 106, 0, 0.35)); }

.site-nav { display: flex; align-items: center; gap: 28px; }
.site-nav ul { display: flex; gap: 26px; list-style: none; }
.site-nav ul a {
  color: var(--muted-2); font-weight: 600; font-size: 0.93rem;
  transition: color 0.15s ease;
}
.site-nav ul a:hover { color: var(--text); text-decoration: none; }

.nav-toggle {
  display: none; flex-direction: column; gap: 5px;
  background: none; border: 0; cursor: pointer; padding: 8px;
}
.nav-toggle span {
  width: 22px; height: 2px; border-radius: 2px;
  background: var(--text); transition: transform 0.2s ease, opacity 0.2s ease;
}

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

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: 0.95rem;
  border: 0; border-radius: 999px; cursor: pointer;
  padding: 13px 26px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease),
              border-color 0.18s ease, background-color 0.18s ease;
  text-decoration: none;
}
.btn:hover { text-decoration: none; }
.btn:active { transform: translateY(-1px) scale(0.99); }

.btn-sm { padding: 9px 18px; font-size: 0.87rem; }
.btn-lg { padding: 16px 32px; font-size: 1.02rem; }
.btn-block { width: 100%; }

.btn-primary {
  background: var(--grad);
  color: #fff;
  box-shadow: var(--glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 14px 34px -8px rgba(255, 106, 0, 0.6);
}

.btn-secondary {
  background: #fff;
  border: 1.5px solid var(--border);
  color: var(--text);
  box-shadow: var(--shadow-soft);
}
.btn-secondary:hover {
  transform: translateY(-2px);
  border-color: rgba(0, 0, 0, 0.34);
  box-shadow: var(--shadow-hover);
}

/* ---------------- Breadcrumbs ---------------- */

.breadcrumbs { padding-top: 96px; }
.breadcrumbs ol {
  display: flex; flex-wrap: wrap; align-items: center; justify-content: center;
  gap: 8px; list-style: none; font-size: 0.84rem; color: var(--muted);
}
.breadcrumbs li + li::before { content: "/"; margin-right: 8px; color: var(--border); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--brand); }

/* ---------------- Hero (centered) ---------------- */

.hero { position: relative; padding: 48px 0 10px; overflow: hidden; text-align: center; }

.hero-grid-bg {
  position: absolute; inset: 0; z-index: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(0, 0, 0, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(0, 0, 0, 0.045) 1px, transparent 1px);
  background-size: 56px 56px;
  -webkit-mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
  mask-image: linear-gradient(to bottom, transparent, #000 14%, #000 72%, transparent);
  animation: gridFade 1.4s var(--ease) forwards;
  opacity: 0;
}
@keyframes gridFade { to { opacity: 0.55; } }

.hero-glow {
  position: absolute; top: -200px; left: 50%; transform: translateX(-50%);
  width: 900px; height: 560px; z-index: 0; pointer-events: none;
  background: radial-gradient(closest-side, rgba(255, 122, 0, 0.1), rgba(255, 176, 32, 0.05), transparent 72%);
}

.hero .container { position: relative; z-index: 1; }

.hero-copy { max-width: 820px; margin: 0 auto; }

.badge-pill {
  display: inline-flex; align-items: center; gap: 9px;
  font-family: "Poppins", sans-serif;
  font-size: 0.8rem; font-weight: 600; color: var(--muted-2);
  background: rgba(255, 255, 255, 0.75);
  -webkit-backdrop-filter: blur(12px);
  backdrop-filter: blur(12px);
  border: 1px solid var(--border);
  border-radius: 999px; padding: 7px 16px; margin-bottom: 24px;
  box-shadow: var(--shadow-soft);
}

/* live glow dot with radar pulse */
.glow-dot {
  position: relative;
  width: 9px; height: 9px; border-radius: 50%;
  background: var(--brand);
}
.glow-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit;
  animation: radar 2.4s ease-out infinite;
}
.glow-dot.green { background: #30d158; }
@keyframes radar {
  0% { transform: scale(1); opacity: 0.6; }
  100% { transform: scale(3.2); opacity: 0; }
}

h1 {
  font-size: clamp(2rem, 4.6vw, 3.2rem);
  line-height: 1.12; font-weight: 700; letter-spacing: -0.03em;
  margin-bottom: 20px;
}
.grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}

.lead {
  font-size: 1.07rem; color: var(--muted-2);
  max-width: 62ch; margin: 0 auto 30px;
}

.hero-cta {
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 14px; margin-bottom: 24px;
}

.trust-row {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px 22px;
  font-size: 0.87rem; font-weight: 600; color: var(--muted-2);
}
.trust-row span::before { content: "✓ "; color: #30d158; font-weight: 800; }

/* ---------------- Live status dashboard ---------------- */

.live-card {
  background: rgba(255, 255, 255, 0.82);
  -webkit-backdrop-filter: blur(24px);
  backdrop-filter: blur(24px);
  border: 1px solid rgba(0, 0, 0, 0.06);
  border-radius: 22px;
  box-shadow: var(--shadow-soft), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.dashboard { padding: 26px 28px; text-align: left; }

/* Hero live row: dashboard + downloads feed */
.hero-live-row {
  display: grid; grid-template-columns: 1.15fr 0.85fr; gap: 20px;
  max-width: 940px; margin: 48px auto 0; align-items: stretch;
}

/* Live downloads feed */
.dl-feed {
  padding: 24px 26px;
  display: flex; flex-direction: column;
  text-align: left;
}
.feed-head {
  display: flex; align-items: baseline; justify-content: space-between;
  gap: 12px; margin-bottom: 14px;
}
.feed-total {
  font-family: "Poppins", sans-serif; font-weight: 700;
  font-size: 1.02rem; color: var(--text);
}
.feed-total span {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.feed-list {
  list-style: none;
  display: flex; flex-direction: column; gap: 8px; flex: 1;
}
.feed-list li {
  display: grid; grid-template-columns: 1fr auto auto;
  align-items: center; gap: 10px;
  background: var(--bg-2);
  border: 1px solid var(--border-soft);
  border-radius: 12px; padding: 10px 14px;
}
.feed-list li.fresh { animation: feedIn 0.6s var(--ease); }
@keyframes feedIn {
  from { opacity: 0; transform: translateY(-8px); }
  to { opacity: 1; transform: none; }
}
.feed-user {
  font-family: "Cascadia Code", Consolas, monospace;
  font-size: 0.79rem; color: var(--muted-2);
}
.feed-os { font-size: 0.68rem; font-weight: 700; padding: 3px 10px; border-radius: 999px; }
.feed-os.windows { color: #9a5b00; background: #fff3e0; border: 1px solid #ffe0b3; }
.feed-os.android { color: #1d8a4e; background: #eafbf1; border: 1px solid #bfead2; }
.feed-time { font-size: 0.72rem; color: var(--muted); }

.dash-top {
  display: flex; align-items: flex-start; justify-content: space-between;
  gap: 16px;
}
.stat-label {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.12em;
  text-transform: uppercase; color: var(--muted); margin-bottom: 4px;
}
.dash-status {
  display: flex; align-items: center; gap: 8px;
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 1.02rem;
}

.dash-badges { display: flex; gap: 6px; flex-wrap: wrap; justify-content: flex-end; }
.platform-badge {
  font-size: 0.68rem; font-weight: 700; letter-spacing: 0.04em;
  color: var(--muted);
  border: 1px solid var(--border);
  border-radius: 7px; padding: 4px 9px;
}
.platform-badge.active { color: var(--text); border-color: rgba(0, 0, 0, 0.2); }
.platform-badge.active::after { content: " ●"; color: #30d158; font-size: 0.6rem; }

/* equalizer bars */
.eq {
  display: flex; align-items: flex-end; justify-content: center; gap: 3px;
  height: 46px; margin: 20px 0 18px;
}
.eq-bar {
  flex: 1; min-width: 3px; max-width: 7px;
  height: 30%;
  border-radius: 3px;
  background: linear-gradient(to top, #ff6a00, #ffc03d);
  transition: height 0.45s var(--ease);
}

/* progress tracks */
.dash-tracks { display: flex; flex-direction: column; gap: 12px; }
.dash-track { display: flex; align-items: center; gap: 14px; }
.dash-track > span {
  flex: 0 0 96px;
  font-size: 0.7rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: var(--muted);
}
.track-bg {
  flex: 1; height: 6px; border-radius: 3px;
  background: var(--track); overflow: hidden;
}
.track-fill {
  width: 0; height: 100%; border-radius: 3px;
  background: var(--grad);
  transition: width 1s var(--ease);
}
.dash-track b {
  flex: 0 0 44px; text-align: right;
  font-family: "Poppins", sans-serif; font-size: 0.86rem; font-weight: 700;
}

.dash-foot { display: flex; flex-wrap: wrap; justify-content: center; gap: 8px; margin-top: 20px; }
.stat-badge {
  font-size: 0.72rem; font-weight: 700; color: #3a3a3c;
  background: var(--track);
  padding: 5px 11px; border-radius: 9px;
}

/* Stats row */

.stats {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 16px;
  margin-top: 24px;
}
.stat {
  padding: 22px 18px; text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.stat:hover { transform: translateY(-3px); box-shadow: var(--shadow-hover); }
.stat strong {
  display: block;
  font-family: "Poppins", sans-serif;
  font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.stat span { font-size: 0.84rem; color: var(--muted); font-weight: 500; }

/* ---------------- Sections (centered) ---------------- */

.section { padding: 80px 0; text-align: center; }
.section-alt {
  background: var(--bg-2);
  border-top: 1px solid var(--border-soft);
  border-bottom: 1px solid var(--border-soft);
}

.section-head { margin: 0 auto 40px; }
.eyebrow {
  font-family: "Poppins", sans-serif;
  font-size: 0.74rem; font-weight: 700; letter-spacing: 0.16em;
  text-transform: uppercase; color: var(--brand); margin-bottom: 10px;
}
h2 {
  font-size: clamp(1.5rem, 3vw, 2.15rem);
  font-weight: 700; letter-spacing: -0.025em; line-height: 1.2;
}
.section-sub { color: var(--muted-2); margin-top: 10px; }

.section > .container > p {
  max-width: 72ch; margin-left: auto; margin-right: auto;
  color: var(--muted-2);
}

.inner-link { font-weight: 600; }

/* Spec table */

.specs {
  width: 100%; max-width: 620px; margin: 30px auto 0;
  border-collapse: collapse; font-size: 0.94rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
}
.specs th, .specs td {
  text-align: left; padding: 13px 20px;
  border-bottom: 1px solid var(--border-soft);
}
.specs tr:last-child th, .specs tr:last-child td { border-bottom: 0; }
.specs th { color: var(--muted); font-weight: 600; white-space: nowrap; width: 40%; }
.specs td { font-weight: 600; }

/* Feature cards with ghost numbers (centered) */

.grid-3 { display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px; }
.grid-2 { display: grid; grid-template-columns: repeat(2, 1fr); gap: 20px; }

.card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 30px 26px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s ease;
}
.card:hover {
  transform: translateY(-3px);
  border-color: rgba(0, 0, 0, 0.2);
  box-shadow: var(--shadow-hover);
}

.card-number {
  position: absolute; bottom: 6px; right: 16px; z-index: 0;
  font-family: "Poppins", sans-serif;
  font-size: 78px; font-weight: 800; line-height: 1;
  letter-spacing: -0.04em; color: #f4f4f8;
  transition: color 0.18s ease;
  user-select: none;
}
.card:hover .card-number { color: #ffefe0; }

.icon-box {
  position: relative; z-index: 1;
  display: inline-flex; align-items: center; justify-content: center;
  width: 48px; height: 48px; border-radius: 14px;
  background: var(--grad); color: #fff;
  box-shadow: 0 8px 18px -6px rgba(255, 106, 0, 0.5);
  margin-bottom: 18px;
  transition: transform 0.2s var(--ease);
}
.card:hover .icon-box { transform: scale(1.08) rotate(-4deg); }

.card h3 { position: relative; z-index: 1; font-size: 1.04rem; font-weight: 600; margin-bottom: 8px; letter-spacing: -0.01em; }
.card p { position: relative; z-index: 1; color: var(--muted-2); font-size: 0.92rem; }

/* Steps (centered) */

.steps {
  list-style: none;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 20px;
}
.step-card {
  display: flex; flex-direction: column; align-items: center; text-align: center;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 22px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s ease;
}
.step-card:hover { transform: translateY(-3px); border-color: rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-hover); }
.step-node {
  display: inline-flex; align-items: center; justify-content: center;
  width: 40px; height: 40px; border-radius: 13px;
  background: var(--grad); color: #fff;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.95rem;
  box-shadow: 0 8px 18px -6px rgba(255, 106, 0, 0.5);
  margin-bottom: 14px;
  transition: transform 0.2s var(--ease);
}
.step-card:hover .step-node { transform: scale(1.12); }
.steps h3 { font-size: 1rem; font-weight: 600; margin-bottom: 5px; }
.steps p { color: var(--muted-2); font-size: 0.9rem; }

/* Platform cards (centered) */

.platform-card header {
  display: flex; flex-direction: column; align-items: center; gap: 10px;
  margin-bottom: 16px;
}
.platform-icon {
  display: inline-flex; align-items: center; justify-content: center;
  width: 56px; height: 56px; border-radius: 16px;
  background: var(--brand-soft); color: var(--brand-deep);
  border: 1px solid var(--brand-border);
  transition: transform 0.2s var(--ease);
}
.card:hover .platform-icon { transform: scale(1.06); }
.platform-card h3 { margin: 0; }
.status {
  font-size: 0.7rem; font-weight: 700;
  letter-spacing: 0.05em; text-transform: uppercase;
  padding: 4px 11px; border-radius: 999px;
}
.status.ok { color: #1d8a4e; background: #eafbf1; border: 1px solid #bfead2; }
.status.soon { color: #9a6b00; background: #fff7e0; border: 1px solid #f3e2a9; }

.fact-list { list-style: none; position: relative; z-index: 1; }
.fact-list li {
  padding: 7px 0;
  color: var(--muted-2); font-size: 0.92rem;
  border-bottom: 1px dashed var(--border);
}
.fact-list li:last-child { border-bottom: 0; }
.fact-list li::before { content: "✓ "; color: #30d158; font-weight: 800; }

/* Comparison table (ranked, matcha-style) */

.table-scroll { overflow-x: auto; -webkit-overflow-scrolling: touch; }
.compare-table {
  width: 100%; max-width: 860px; margin: 0 auto;
  border-collapse: separate; border-spacing: 0;
  font-size: 0.9rem;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-soft);
  text-align: center;
  min-width: 640px;
}
.compare-table th, .compare-table td {
  padding: 14px 14px;
  border-bottom: 1px solid var(--border-soft);
}
.compare-table thead th {
  font-family: "Poppins", sans-serif; font-weight: 600; font-size: 0.8rem;
  color: var(--muted-2); background: var(--bg-2);
  text-transform: uppercase; letter-spacing: 0.06em;
}
.compare-table tbody tr:last-child td { border-bottom: 0; }
.compare-table td { color: var(--muted-2); }
.rank { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--muted); }
.exec-name { font-weight: 600; color: var(--text); white-space: nowrap; }
.score { font-family: "Poppins", sans-serif; font-weight: 700; color: var(--text); }
.row-win td { background: var(--brand-soft); }
.row-win .rank, .row-win .score { color: var(--brand-deep); }
.win-chip {
  display: inline-block; vertical-align: middle;
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: #fff;
  background: var(--grad);
  border-radius: 999px; padding: 2px 9px;
  margin-left: 8px;
  box-shadow: 0 4px 10px -2px rgba(255, 106, 0, 0.5);
}

/* Troubleshooting fix cards */

.fix-card {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 26px 26px 22px;
  box-shadow: var(--shadow-soft);
  text-align: left;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s ease;
}
.fix-card:hover { transform: translateY(-3px); border-color: var(--brand-border); box-shadow: var(--shadow-hover); }
.fix-card h3 { font-size: 1.02rem; font-weight: 600; margin-bottom: 6px; }
.fix-card h3::before { content: "⟳ "; color: var(--brand); }
.fix-card > p { color: var(--muted-2); font-size: 0.9rem; margin-bottom: 6px; }
.fix-steps {
  list-style: none; counter-reset: fix; margin-top: 10px;
}
.fix-steps li {
  counter-increment: fix; position: relative;
  padding: 6px 0 6px 40px;
  color: var(--muted-2); font-size: 0.89rem;
}
.fix-steps li::before {
  content: counter(fix, decimal-leading-zero);
  position: absolute; left: 0; top: 8px;
  font-family: "Poppins", sans-serif; font-weight: 700; font-size: 0.7rem;
  color: var(--brand-deep);
  background: var(--brand-soft);
  border: 1px solid var(--brand-border);
  border-radius: 7px; padding: 1px 7px;
}

/* Games grid */

.games-grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
}
.game-card {
  position: relative;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  padding: 22px 18px;
  box-shadow: var(--shadow-soft);
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), border-color 0.18s ease;
}
.game-card:hover {
  transform: translateY(-3px);
  border-color: var(--brand-border);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.04), 0 18px 36px -12px rgba(255, 106, 0, 0.2);
}
.game-dot {
  display: inline-block; position: relative;
  width: 9px; height: 9px; border-radius: 50%;
  background: #30d158; margin-bottom: 10px;
}
.game-dot::after {
  content: ""; position: absolute; inset: 0; border-radius: 50%;
  background: inherit;
  animation: radar 2.4s ease-out infinite;
}
.game-card h3 { font-size: 1rem; font-weight: 600; margin-bottom: 3px; }
.game-card p { color: var(--muted); font-size: 0.82rem; }

.games-note { margin-top: 28px; font-size: 0.92rem; color: var(--muted-2); }

/* Check list (centered) */

.check-list {
  list-style: none; margin: 26px auto 0;
  display: grid; grid-template-columns: repeat(2, 1fr); gap: 12px 20px;
  max-width: 820px;
}
.check-list.solo { grid-template-columns: 1fr; max-width: 640px; }
.check-list li {
  padding: 13px 16px 13px 42px; position: relative; text-align: left;
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 14px;
  box-shadow: var(--shadow-soft);
  color: var(--muted-2); font-size: 0.92rem;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.check-list li:hover { transform: translateY(-2px); box-shadow: var(--shadow-hover); }
.check-list li::before {
  content: "✓"; position: absolute; left: 16px; top: 13px;
  color: #30d158; font-weight: 800;
}
.check-list strong { color: var(--text); }

.disclaimer {
  margin: 26px auto 0; font-size: 0.82rem; color: var(--muted);
  max-width: 72ch;
}

/* FAQ (centered) */

.faq {
  background: var(--card);
  border: 1px solid var(--border);
  border-radius: 16px;
  margin-bottom: 12px; overflow: hidden;
  box-shadow: var(--shadow-soft);
  transition: border-color 0.18s ease, box-shadow 0.18s ease;
  text-align: left;
}
.faq[open] { border-color: rgba(0, 0, 0, 0.2); box-shadow: var(--shadow-hover); }
.faq summary {
  cursor: pointer; list-style: none;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
  padding: 18px 22px;
  font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: 0.96rem;
}
.faq summary::-webkit-details-marker { display: none; }
.faq summary:hover { color: var(--brand-deep); }
.faq-chevron {
  flex: 0 0 auto;
  display: inline-flex; align-items: center; justify-content: center;
  width: 28px; height: 28px; border-radius: 8px;
  background: var(--track); color: var(--text);
  transition: background-color 0.2s ease, color 0.2s ease, transform 0.25s var(--ease);
}
.faq[open] .faq-chevron {
  background: var(--text); color: #fff;
  transform: rotate(180deg);
}
.faq p {
  padding: 0 22px 18px; color: var(--muted-2); font-size: 0.92rem;
  animation: faqIn 0.3s var(--ease);
}
@keyframes faqIn {
  from { opacity: 0; transform: translateY(-4px); }
  to { opacity: 1; transform: none; }
}

/* Download section — dark strip */

.download-section {
  position: relative;
  background: linear-gradient(135deg, #1c1c1e 0%, #000 100%);
  border-top: 1px solid #000;
  overflow: hidden;
}
.download-section::before {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background-image:
    linear-gradient(to right, rgba(255, 255, 255, 0.045) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.045) 1px, transparent 1px);
  background-size: 28px 28px;
  -webkit-mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
  mask-image: radial-gradient(ellipse 80% 70% at 50% 30%, #000 30%, transparent 75%);
}
.download-section > .container { position: relative; z-index: 1; }

.download-section .eyebrow { color: #ffb380; }
.download-section h2 { color: #fff; }
.download-section .section-sub { color: rgba(255, 255, 255, 0.55); }

.dl-card {
  background: #fff;
  border-radius: 22px;
  padding: 38px 30px;
  text-align: center;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease);
}
.dl-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 48px -16px rgba(255, 106, 0, 0.35);
}
.dl-card header {
  display: flex; align-items: center; justify-content: center; gap: 12px;
  margin-bottom: 18px; color: var(--text);
}
.dl-card h3 { font-size: 1.25rem; font-weight: 700; color: var(--text); }
.dl-meta {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 8px;
  margin-bottom: 24px;
}
.dl-meta span {
  font-size: 0.78rem; font-weight: 700; color: #6b6b70;
  background: var(--track);
  border-radius: 999px; padding: 4px 12px;
}

/* Release notes cards (inside dark section) */

.changelog {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 16px;
  max-width: 980px; margin: 40px auto 0;
}
.ch-card {
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 18px;
  padding: 22px 24px;
  text-align: left;
  transition: transform 0.18s var(--ease), border-color 0.18s ease, box-shadow 0.18s ease;
}
.ch-card:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 179, 128, 0.4);
  box-shadow: 0 16px 32px -12px rgba(255, 106, 0, 0.25);
}
.ch-current {
  border-color: rgba(255, 179, 128, 0.45);
  background: rgba(255, 122, 0, 0.08);
}
.ch-card header {
  display: flex; align-items: center; justify-content: space-between;
  gap: 10px; margin-bottom: 4px;
}
.ch-ver {
  font-family: "Poppins", sans-serif; font-weight: 700;
  color: #fff; font-size: 1.15rem;
}
.ch-date { font-size: 0.72rem; color: rgba(255, 255, 255, 0.4); margin-bottom: 12px; }
.ch-chip {
  font-size: 0.62rem; font-weight: 700; letter-spacing: 0.08em;
  text-transform: uppercase; color: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 9px; border-radius: 999px;
}
.ch-chip.current { color: #ffb380; border-color: rgba(255, 179, 128, 0.5); }
.ch-card ul { list-style: none; }
.ch-card li {
  color: rgba(255, 255, 255, 0.68); font-size: 0.86rem;
  padding: 3px 0 3px 16px; position: relative;
}
.ch-card li::before { content: "›"; position: absolute; left: 0; color: #ffb380; font-weight: 700; }
.ch-tags { display: flex; flex-wrap: wrap; gap: 6px; margin-top: 14px; }
.ch-tags span {
  font-size: 0.64rem; font-weight: 700; letter-spacing: 0.05em;
  color: #ffb380; background: rgba(255, 122, 0, 0.12);
  border: 1px solid rgba(255, 179, 128, 0.3);
  border-radius: 999px; padding: 3px 10px;
}

.compare-note { margin-top: 14px; font-size: 0.78rem; color: var(--muted); }

/* Sparkle accents on primary buttons (matcha-style) */
.sparkle { color: #ffe3c2; font-size: 0.82em; line-height: 1; }

/* FAQ answer chips */
.faq-chips {
  display: flex; flex-wrap: wrap; gap: 6px;
  padding: 0 22px 18px; margin-top: -6px;
}
.faq-chips span {
  font-size: 0.72rem; font-weight: 700;
  color: #1d8a4e; background: #eafbf1; border: 1px solid #bfead2;
  border-radius: 999px; padding: 3px 10px;
}

.download-section .note {
  margin-top: 28px; text-align: center;
  font-size: 0.87rem; color: rgba(255, 255, 255, 0.5);
}
.download-section .note strong { color: #fff; }

/* Share */

.share-section { text-align: center; padding: 64px 0; }
.share-title {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  margin-bottom: 24px;
}
.share-grid {
  display: flex; flex-wrap: wrap; justify-content: center; gap: 12px;
}
.share-btn {
  display: inline-flex; align-items: center; gap: 8px;
  font-family: "Poppins", sans-serif;
  font-weight: 600; font-size: 0.9rem;
  color: #fff; padding: 12px 24px; border-radius: 999px;
  transition: transform 0.18s var(--ease), box-shadow 0.18s var(--ease), filter 0.18s ease;
}
.share-btn:hover { text-decoration: none; transform: translateY(-3px) scale(1.02); filter: brightness(1.08); }

.share-facebook { background: #1877f2; box-shadow: 0 8px 20px -6px rgba(24, 119, 242, 0.5); }
.share-twitter  { background: #14171a; border: 1px solid #38444d; box-shadow: 0 8px 20px -6px rgba(0, 0, 0, 0.4); }
.share-linkedin { background: #0a66c2; box-shadow: 0 8px 20px -6px rgba(10, 102, 194, 0.5); }
.share-pinterest{ background: #e60023; box-shadow: 0 8px 20px -6px rgba(230, 0, 35, 0.5); }
.share-reddit   { background: #ff4500; box-shadow: 0 8px 20px -6px rgba(255, 69, 0, 0.5); }

/* Footer (centered) */

.site-footer {
  border-top: 1px solid var(--border);
  background: var(--bg-2);
  padding: 56px 0 34px;
  text-align: center;
}
.footer-brand {
  font-family: "Poppins", sans-serif;
  font-size: 1.3rem; font-weight: 700; letter-spacing: -0.02em;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.footer-text { color: var(--muted-2); font-size: 0.9rem; margin: 10px auto 0; max-width: 46ch; }
.footer-nav { margin-top: 26px; padding-bottom: 30px; border-bottom: 1px solid var(--border-soft); }
.footer-links {
  list-style: none;
  display: flex; flex-wrap: wrap; justify-content: center;
  gap: 8px 22px;
}
.footer-links a { color: var(--muted-2); font-size: 0.9rem; font-weight: 500; }
.footer-links a:hover { color: var(--text); }

.footer-bottom {
  display: flex; flex-direction: column; align-items: center; gap: 4px;
  padding-top: 24px; font-size: 0.83rem; color: var(--muted);
  text-align: center;
}

/* ---------------- Reveal on scroll ---------------- */

.reveal,
.stagger > * {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease), transform 0.7s var(--ease);
}
.reveal.active,
.stagger > .active { opacity: 1; transform: none; }

.stagger > *:nth-child(2) { transition-delay: 0.07s; }
.stagger > *:nth-child(3) { transition-delay: 0.14s; }
.stagger > *:nth-child(4) { transition-delay: 0.21s; }
.stagger > *:nth-child(5) { transition-delay: 0.28s; }
.stagger > *:nth-child(6) { transition-delay: 0.35s; }

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

@media (max-width: 1020px) {
  .steps { grid-template-columns: repeat(2, 1fr); }
  .games-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 960px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid-3 { grid-template-columns: repeat(2, 1fr); }
  .hero-live-row { grid-template-columns: 1fr; max-width: 620px; }
}

@media (max-width: 680px) {
  .nav-toggle { display: flex; }
  .site-nav {
    position: fixed; top: 68px; left: 0; right: 0;
    flex-direction: column; align-items: stretch; gap: 0;
    background: rgba(255, 255, 255, 0.97);
    -webkit-backdrop-filter: blur(16px);
    backdrop-filter: blur(16px);
    border-bottom: 1px solid var(--border);
    padding: 10px 24px 20px;
    box-shadow: 0 18px 36px -12px rgba(0, 0, 0, 0.12);
    display: none;
  }
  .site-nav.open { display: flex; }
  .site-nav ul { flex-direction: column; gap: 4px; }
  .site-nav ul a { display: block; padding: 11px 0; font-size: 1.05rem; }
  .site-nav .btn { margin-top: 14px; }

  .grid-3, .grid-2, .games-grid, .steps { grid-template-columns: 1fr; }
  .check-list { grid-template-columns: 1fr; }
  .hero-cta .btn { width: 100%; }
  .breadcrumbs { padding-top: 88px; }
  .section { padding: 60px 0; }
  .dashboard { padding: 20px 18px; }
  .dl-feed { padding: 20px 18px; }
  .dash-track > span { flex-basis: 78px; }
  .changelog { grid-template-columns: 1fr; }
}

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after {
    animation-duration: 0.001s !important;
    transition-duration: 0.001s !important;
  }
}
