/* ─────────────────────────────────────────────────────
   V1 — Exact rogue-client homepage replica (static)
   Tokens copied verbatim from rogue-client/apps/web/src/index.css
───────────────────────────────────────────────────── */
* { box-sizing: border-box; }
html, body, #root { margin: 0; padding: 0; min-height: 100%; }

:root {
  --fg-rgb: 255, 255, 255;
  --page-bg: #0a0a0a;
  --page-gradient: linear-gradient(160deg, #0a0a0a 0%, #121110 48%, #0a0a0a 100%);
  --header-bg: rgba(10, 10, 10, 0.9);
  --card-bg: rgba(255, 255, 255, 0.05);
  --card-border: rgba(245, 197, 24, 0.16);
  --hero-from: #ffffff;
  --link: #fcd34d;
  --accent: #f5c518;

  --gold: #f5c518;
  --gold-hover: #ffd633;
}

body {
  font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB',
    'Microsoft YaHei', sans-serif;
  background: var(--page-bg);
  color: rgb(var(--fg-rgb));
  font-size: 15px;
  line-height: 1.6;
}
a { text-decoration: none; }

/* ── Header (AppLayout) ───────────────────────────── */
.app-header {
  position: sticky;
  top: 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  padding: 0 16px;
  background: var(--header-bg);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(245, 197, 24, 0.35);
}
.brand { display: flex; align-items: center; gap: 8px; }
.brand .play-icon { font-size: 26px; color: var(--accent); line-height: 0; }
.brand .play-icon svg { width: 26px; height: 26px; fill: var(--accent); display: block; }
.brand .brand-name { font-size: 20px; font-weight: 800; color: rgb(var(--fg-rgb)); letter-spacing: 0.5px; }

/* ── antd-style buttons ───────────────────────────── */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  border-radius: 10px;
  font-weight: 500;
  cursor: pointer;
  border: 1px solid transparent;
  transition: background .2s ease, color .2s ease, border-color .2s ease, box-shadow .2s ease;
  white-space: nowrap;
}
.btn-default-size { height: 32px; padding: 4px 15px; font-size: 15px; }
.btn-lg { height: 40px; padding: 6.4px 24px; font-size: 16px; }

.btn-primary {
  background: var(--gold);
  color: #1a1400;
  box-shadow: 0 6px 18px rgba(245, 197, 24, 0.25);
}
.btn-primary:hover { background: var(--gold-hover); color: #1a1400; }

.btn-ghost {
  background: transparent;
  color: rgba(var(--fg-rgb), 0.88);
  border: 1px solid rgba(255, 255, 255, 0.22);
}
.btn-ghost:hover { color: var(--gold); border-color: var(--gold); }

/* ── Hero (brand-gradient) ────────────────────────── */
.brand-gradient {
  background:
    radial-gradient(1100px 560px at 12% -12%, rgba(245, 197, 24, 0.18), transparent 60%),
    radial-gradient(900px 480px at 100% 0%, rgba(245, 197, 24, 0.10), transparent 55%),
    var(--page-gradient);
  padding: 72px 16px 96px;
}
.hero-inner { max-width: 980px; margin: 0 auto; text-align: center; }

.hero-eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--link);
  margin-bottom: 18px;
}
.hero-eyebrow svg { width: 16px; height: 16px; fill: currentColor; }
.hero-eyebrow span { letter-spacing: 2px; font-size: 13px; }

.hero-title {
  font-size: clamp(34px, 6vw, 60px);
  margin: 0;
  line-height: 1.15;
  font-weight: 700;
  background: linear-gradient(92deg, var(--hero-from) 0%, #ffe071 55%, #f5c518 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
}

.hero-sub {
  color: rgba(var(--fg-rgb), 0.72);
  font-size: 17px;
  margin: 20px auto 0;
  max-width: 720px;
}

.hero-actions {
  display: inline-flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
  margin-top: 28px;
}

/* ── Features ─────────────────────────────────────── */
.section { background: var(--page-bg); }
.page-container { width: 100%; max-width: 1120px; margin: 0 auto; padding: 24px 16px 64px; }

.feature-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 16px;
}
.glass-card {
  background: var(--card-bg);
  border: 1px solid var(--card-border);
  backdrop-filter: blur(14px);
  border-radius: 16px;
  padding: 20px;
  height: 100%;
}
.feature-icon { font-size: 26px; color: var(--accent); margin-bottom: 10px; line-height: 0; }
.feature-icon svg { width: 26px; height: 26px; fill: var(--accent); display: block; }
.feature-title { color: rgb(var(--fg-rgb)); font-weight: 700; font-size: 16px; }
.feature-desc { color: rgba(var(--fg-rgb), 0.6); margin-top: 6px; font-size: 13px; }

/* ── Footer ───────────────────────────────────────── */
.app-footer {
  text-align: center;
  background: var(--page-bg);
  color: rgba(var(--fg-rgb), 0.45);
  border-top: 1px solid rgba(245, 197, 24, 0.18);
  padding: 24px 16px;
}

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