:root {
  --bg: #0b0d12;
  --bg-2: #12151d;
  --card: #161a24;
  --card-2: #1b2030;
  --line: #262c3d;
  --text: #e8ebf4;
  --muted: #98a0b3;
  --accent: #6c5ce7;
  --accent-2: #00d2a0;
  --danger: #ff5c6c;
  --warn: #ffb02e;
  --radius: 14px;
}

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

body {
  background:
    radial-gradient(1200px 600px at 80% -10%, rgba(108, 92, 231, .18), transparent 60%),
    radial-gradient(900px 500px at 10% 0%, rgba(0, 210, 160, .10), transparent 55%),
    var(--bg);
  color: var(--text);
  font-family: "Segoe UI", system-ui, -apple-system, Roboto, Arial, sans-serif;
  line-height: 1.6;
  min-height: 100vh;
}

a { color: inherit; text-decoration: none; }
img { max-width: 100%; }
.container { max-width: 1180px; margin: 0 auto; padding: 0 20px; }

/* Header */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 13, 18, .82);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--line);
}
.header-inner { display: flex; align-items: center; gap: 28px; height: 64px; }
.logo { display: flex; align-items: center; gap: 10px; font-weight: 800; font-size: 20px; letter-spacing: .3px; }
.logo .dot { width: 26px; height: 26px; border-radius: 8px; background: linear-gradient(135deg, var(--accent), var(--accent-2)); display: inline-block; }
.main-nav { display: flex; gap: 22px; margin-left: auto; }
.main-nav a { color: var(--muted); font-weight: 600; font-size: 15px; transition: color .15s; }
.main-nav a:hover, .main-nav a.active { color: var(--text); }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 10px 20px; border-radius: 10px; font-weight: 700; font-size: 15px;
  border: 1px solid var(--line); transition: transform .12s, box-shadow .12s;
  cursor: pointer;
}
.btn:hover { transform: translateY(-1px); }
.btn-primary { background: linear-gradient(135deg, var(--accent), #8b7bff); border: none; color: #fff; box-shadow: 0 8px 24px rgba(108, 92, 231, .35); }
.btn-ghost { background: transparent; color: var(--text); }

/* Hero */
.hero { padding: 90px 0 60px; text-align: center; }
.hero h1 { font-size: clamp(34px, 6vw, 60px); line-height: 1.12; font-weight: 900; letter-spacing: -1px; }
.hero h1 .grad { background: linear-gradient(90deg, var(--accent-2), var(--accent)); -webkit-background-clip: text; background-clip: text; color: transparent; }
.hero p.sub { max-width: 680px; margin: 18px auto 0; color: var(--muted); font-size: 18px; }
.hero .cta-row { margin-top: 32px; display: flex; gap: 14px; justify-content: center; flex-wrap: wrap; }
.badge-free {
  display: inline-block; padding: 6px 14px; border-radius: 999px;
  border: 1px solid rgba(0, 210, 160, .4); color: var(--accent-2);
  font-weight: 700; font-size: 13px; letter-spacing: 1px; text-transform: uppercase;
  margin-bottom: 22px; background: rgba(0, 210, 160, .08);
}
.trust-row { margin-top: 46px; display: flex; justify-content: center; gap: 40px; flex-wrap: wrap; }
.trust-row .item { text-align: center; }
.trust-row .num { font-size: 26px; font-weight: 900; }
.trust-row .lbl { color: var(--muted); font-size: 13px; }

/* Sections */
.section { padding: 70px 0; }
.section-head { text-align: center; margin-bottom: 44px; }
.section-head h2 { font-size: clamp(26px, 4vw, 38px); font-weight: 900; letter-spacing: -.5px; }
.section-head p { color: var(--muted); max-width: 620px; margin: 12px auto 0; }

/* Game grid */
.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(210px, 1fr)); gap: 16px; }
.game-card {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 22px 18px; display: flex; flex-direction: column; gap: 6px;
  transition: transform .15s, border-color .15s, background .15s;
}
.game-card:hover { transform: translateY(-3px); border-color: var(--accent); background: var(--card-2); }
.game-card .g-icon { font-size: 30px; }
.game-card h3 { font-size: 17px; font-weight: 800; }
.game-card .g-meta { color: var(--muted); font-size: 13px; }
.game-card .price { margin-top: auto; padding-top: 10px; color: var(--accent-2); font-weight: 800; font-size: 15px; }

/* Features */
.features { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 18px; }
.feature {
  background: var(--card); border: 1px solid var(--line); border-radius: var(--radius);
  padding: 26px 22px;
}
.feature .f-icon { font-size: 28px; margin-bottom: 12px; display: block; }
.feature h3 { font-size: 17px; margin-bottom: 8px; }
.feature p { color: var(--muted); font-size: 14.5px; }

/* Steps */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 18px; counter-reset: step; }
.step { background: var(--card); border: 1px solid var(--line); border-radius: var(--radius); padding: 26px 22px; position: relative; }
.step::before {
  counter-increment: step; content: counter(step);
  width: 34px; height: 34px; border-radius: 10px;
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  display: flex; align-items: center; justify-content: center;
  font-weight: 900; font-size: 16px; margin-bottom: 14px;
}
.step h3 { font-size: 16px; margin-bottom: 6px; }
.step p { color: var(--muted); font-size: 14.5px; }

/* FAQ */
.faq { max-width: 780px; margin: 0 auto; }
.faq details { background: var(--card); border: 1px solid var(--line); border-radius: 12px; margin-bottom: 10px; padding: 0 18px; }
.faq details[open] { border-color: var(--accent); }
.faq summary { cursor: pointer; font-weight: 700; padding: 16px 0; list-style: none; position: relative; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; position: absolute; right: 2px; color: var(--accent-2); font-size: 20px; font-weight: 900; }
.faq details[open] summary::after { content: "–"; }
.faq .answer { color: var(--muted); padding: 0 0 16px; font-size: 15px; }

/* Status page */
.status-table { width: 100%; border-collapse: collapse; background: var(--card); border-radius: var(--radius); overflow: hidden; }
.status-table th, .status-table td { padding: 14px 16px; text-align: left; border-bottom: 1px solid var(--line); font-size: 14.5px; }
.status-table th { background: var(--card-2); color: var(--muted); font-size: 12px; text-transform: uppercase; letter-spacing: 1px; }
.status-table tr:last-child td { border-bottom: none; }
.status-pill { display: inline-flex; align-items: center; gap: 7px; padding: 4px 12px; border-radius: 999px; font-weight: 700; font-size: 12.5px; }
.status-pill::before { content: ""; width: 8px; height: 8px; border-radius: 50%; }
.pill-ok { color: var(--accent-2); background: rgba(0, 210, 160, .1); }
.pill-ok::before { background: var(--accent-2); }
.pill-warn { color: var(--warn); background: rgba(255, 176, 46, .12); }
.pill-warn::before { background: var(--warn); }
.pill-down { color: var(--danger); background: rgba(255, 92, 108, .12); }
.pill-down::before { background: var(--danger); }
.status-filter { display: flex; gap: 10px; margin-bottom: 20px; flex-wrap: wrap; }
.status-filter input {
  background: var(--card); border: 1px solid var(--line); color: var(--text);
  padding: 10px 16px; border-radius: 10px; font-size: 15px; min-width: 260px; outline: none;
}
.status-filter input:focus { border-color: var(--accent); }

/* CTA band */
.cta-band {
  background: linear-gradient(135deg, rgba(108, 92, 231, .25), rgba(0, 210, 160, .15));
  border: 1px solid var(--line); border-radius: 18px;
  padding: 54px 30px; text-align: center;
}
.cta-band h2 { font-size: clamp(24px, 4vw, 36px); font-weight: 900; margin-bottom: 12px; }
.cta-band p { color: var(--muted); max-width: 560px; margin: 0 auto 26px; }

/* Footer */
.site-footer { border-top: 1px solid var(--line); margin-top: 60px; padding: 46px 0 30px; }
.footer-grid { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 30px; }
.footer-grid h4 { font-size: 14px; text-transform: uppercase; letter-spacing: 1px; color: var(--muted); margin-bottom: 14px; }
.footer-grid a { display: block; color: var(--muted); font-size: 14.5px; padding: 4px 0; }
.footer-grid a:hover { color: var(--text); }
.footer-note { color: var(--muted); font-size: 13.5px; max-width: 420px; margin-top: 10px; }
.footer-bottom { margin-top: 36px; padding-top: 20px; border-top: 1px solid var(--line); color: var(--muted); font-size: 13px; display: flex; justify-content: space-between; flex-wrap: wrap; gap: 10px; }

@media (max-width: 860px) {
  .main-nav { display: none; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
