/* ============================================================
   Hero Up — official website stylesheet
   Dark gaming theme · Inter · gradient accents · responsive
   ============================================================ */

:root {
  --bg: #0b0f1a;
  --bg-soft: #111827;
  --bg-card: #151c2e;
  --border: rgba(255, 255, 255, 0.08);
  --text: #e5e9f2;
  --muted: #94a3b8;
  --accent: #8b5cf6;
  --accent-2: #22d3ee;
  --grad: linear-gradient(135deg, #8b5cf6 0%, #22d3ee 100%);
  --radius: 16px;
  --shadow: 0 10px 40px rgba(0, 0, 0, 0.45);
  --font: "Inter", system-ui, -apple-system, "Segoe UI", Roboto, sans-serif;
}

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

html { scroll-behavior: smooth; }

body {
  font-family: var(--font);
  background: var(--bg);
  color: var(--text);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }
a { color: var(--accent-2); text-decoration: none; }
a:hover { text-decoration: underline; }
code {
  background: rgba(139, 92, 246, 0.15);
  padding: 2px 6px; border-radius: 6px;
  font-size: 0.9em; color: #c4b5fd;
}

.container { width: min(1120px, 92%); margin-inline: auto; }

.muted { color: var(--muted); }
.small { font-size: 0.85rem; }

.grad-text {
  background: var(--grad);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

/* ===== Header / Nav ===== */
.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(11, 15, 26, 0.85);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid transparent;
  transition: border-color 0.2s, box-shadow 0.2s;
}
.site-header.scrolled {
  border-bottom-color: var(--border);
  box-shadow: 0 6px 24px rgba(0, 0, 0, 0.35);
}

.nav {
  display: flex; align-items: center; justify-content: space-between;
  height: 64px;
}
.brand {
  font-weight: 800; font-size: 1.15rem; color: var(--text);
  letter-spacing: 0.5px;
}
.brand:hover { text-decoration: none; }

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

.nav-toggle {
  display: none;
  background: none; border: 0; color: var(--text);
  font-size: 1.5rem; cursor: pointer;
}

/* ===== Buttons ===== */
.btn {
  display: inline-block;
  padding: 14px 28px;
  border-radius: 999px;
  font-weight: 700; font-size: 1rem;
  cursor: pointer; border: 0;
  transition: transform 0.15s, box-shadow 0.15s, background 0.15s;
}
.btn:hover { transform: translateY(-2px); text-decoration: none; }
.btn-primary {
  background: var(--grad);
  color: #0b0f1a;
  box-shadow: 0 8px 24px rgba(139, 92, 246, 0.35);
}
.btn-primary:hover { box-shadow: 0 12px 32px rgba(34, 211, 238, 0.35); }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { background: rgba(255, 255, 255, 0.06); }
.btn-lg { padding: 18px 40px; font-size: 1.1rem; }

/* ===== Hero ===== */
.hero {
  position: relative;
  padding: 90px 0 70px;
  overflow: hidden;
  background:
    radial-gradient(600px 300px at 15% 0%, rgba(139, 92, 246, 0.25), transparent 60%),
    radial-gradient(700px 400px at 90% 20%, rgba(34, 211, 238, 0.15), transparent 60%);
}
.hero-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 48px;
  align-items: center;
}
.badge {
  display: inline-block;
  font-size: 0.8rem; font-weight: 700;
  color: var(--accent-2);
  background: rgba(34, 211, 238, 0.12);
  border: 1px solid rgba(34, 211, 238, 0.35);
  padding: 6px 14px; border-radius: 999px;
  margin-bottom: 20px; letter-spacing: 1px;
}
.hero h1 {
  font-size: clamp(2.4rem, 5vw, 3.6rem);
  line-height: 1.12; font-weight: 800;
  margin-bottom: 18px;
}
.lead {
  color: var(--muted);
  font-size: 1.1rem;
  max-width: 54ch;
  margin-bottom: 30px;
}
.cta-row { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 40px; }

.hero-stats { display: flex; gap: 40px; list-style: none; }
.hero-stats li { display: flex; flex-direction: column; }
.hero-stats strong {
  font-size: 1.7rem; font-weight: 800;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero-stats span { color: var(--muted); font-size: 0.85rem; }

/* --- Phone mockup (pure CSS) --- */
.hero-visual { position: relative; display: flex; justify-content: center; }
.phone {
  position: relative; z-index: 2;
  width: 260px; height: 520px;
  background: #05070d;
  border: 3px solid #2a3350;
  border-radius: 36px;
  padding: 14px;
  box-shadow: var(--shadow);
  transform: rotate(4deg);
}
.phone-screen {
  height: 100%;
  border-radius: 24px;
  background: linear-gradient(180deg, #1a2340 0%, #0e1428 100%);
  display: flex; flex-direction: column;
  align-items: center;
  padding: 18px 14px;
  gap: 16px;
}
.mock-hud { width: 100%; display: flex; align-items: center; gap: 10px; }
.mock-avatar {
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad); flex-shrink: 0;
}
.mock-bars { display: flex; flex-direction: column; gap: 6px; flex: 1; }
.mock-bars i { height: 9px; border-radius: 6px; display: block; }
.mock-bars i:nth-child(1) { background: linear-gradient(90deg, #22c55e, #4ade80); width: 90%; }
.mock-bars i:nth-child(2) { background: linear-gradient(90deg, #3b82f6, #60a5fa); width: 65%; }
.mock-hero {
  font-size: 110px;
  filter: drop-shadow(0 12px 24px rgba(139, 92, 246, 0.5));
  margin: auto 0;
}
.mock-skillbar { display: flex; gap: 10px; }
.mock-skillbar i {
  width: 44px; height: 44px; border-radius: 12px;
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--border);
  display: block;
}
.mock-skillbar i:nth-child(1) { background: rgba(139, 92, 246, 0.4); }
.mock-btn {
  width: 100%; text-align: center;
  padding: 12px; border-radius: 14px;
  background: var(--grad);
  color: #0b0f1a; font-weight: 800; letter-spacing: 2px;
}
.glow {
  position: absolute; border-radius: 50%;
  filter: blur(70px); opacity: 0.5; z-index: 1;
}
.glow-1 { width: 220px; height: 220px; background: #8b5cf6; top: -30px; left: 0; }
.glow-2 { width: 200px; height: 200px; background: #22d3ee; bottom: -20px; right: 0; }

/* ===== Generic sections ===== */
.section { padding: 84px 0; }
.section-alt { background: var(--bg-soft); }
.section-title {
  text-align: center;
  font-size: clamp(1.8rem, 3.4vw, 2.5rem);
  font-weight: 800;
  margin-bottom: 14px;
}
.section-sub {
  text-align: center;
  color: var(--muted);
  margin-bottom: 44px;
}

/* ===== Feature cards ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 28px 26px;
  transition: transform 0.2s, border-color 0.2s, box-shadow 0.2s;
}
.card:hover {
  transform: translateY(-6px);
  border-color: rgba(139, 92, 246, 0.5);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.45);
}
.card-icon {
  font-size: 2rem;
  width: 56px; height: 56px;
  display: grid; place-items: center;
  border-radius: 14px;
  background: rgba(139, 92, 246, 0.14);
  border: 1px solid rgba(139, 92, 246, 0.3);
  margin-bottom: 18px;
}
.card h3 { font-size: 1.15rem; margin-bottom: 8px; }
.card p { color: var(--muted); font-size: 0.95rem; }

/* ===== Heroes ===== */
.heroes-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 18px;
}
.hero-card {
  background: var(--bg-card);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 22px 18px;
  text-align: center;
  transition: transform 0.2s, border-color 0.2s;
}
.hero-card:hover { transform: translateY(-6px); border-color: rgba(34, 211, 238, 0.5); }
.hero-face {
  font-size: 2.6rem;
  width: 76px; height: 76px;
  margin: 0 auto 14px;
  display: grid; place-items: center;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.05);
  border: 2px solid var(--border);
}
.hero-card h3 { font-size: 1.05rem; margin-bottom: 2px; }
.rarity {
  display: inline-block;
  font-size: 0.72rem; font-weight: 700; letter-spacing: 0.5px;
  color: var(--muted);
  margin-bottom: 10px;
}
.hero-card p { font-size: 0.85rem; color: var(--muted); }

.c-rob .hero-face { border-color: #4ade80; box-shadow: 0 0 24px rgba(74, 222, 128, 0.25); }
.c-lina .hero-face { border-color: #f87171; box-shadow: 0 0 24px rgba(248, 113, 113, 0.25); }
.c-arthur .hero-face { border-color: #fbbf24; box-shadow: 0 0 24px rgba(251, 191, 36, 0.25); }
.c-shin .hero-face { border-color: #60a5fa; box-shadow: 0 0 24px rgba(96, 165, 250, 0.25); }
.c-nyx .hero-face { border-color: #c084fc; box-shadow: 0 0 24px rgba(192, 132, 252, 0.25); }

/* ===== Download CTA ===== */
.download { padding-bottom: 100px; }
.download-box {
  text-align: center;
  background:
    radial-gradient(500px 220px at 50% 0%, rgba(139, 92, 246, 0.28), transparent 70%),
    var(--bg-card);
  border: 1px solid var(--border);
  border-radius: 24px;
  padding: 64px 24px;
}
.download-box h2 { font-size: clamp(1.7rem, 3vw, 2.3rem); margin-bottom: 12px; }
.download-box p { color: var(--muted); margin-bottom: 28px; }
.download-box .small { margin-top: 18px; margin-bottom: 0; }

/* ===== Legal pages (privacy / terms) ===== */
.legal-page { padding: 56px 0 80px; }
.legal-container { max-width: 820px; }
.legal-container h1 {
  font-size: clamp(1.9rem, 3.6vw, 2.6rem);
  font-weight: 800;
  margin-bottom: 8px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.legal-updated {
  color: var(--muted);
  font-size: 0.9rem;
  margin-bottom: 32px;
  padding-bottom: 20px;
  border-bottom: 1px solid var(--border);
}
.legal-container h2 {
  font-size: 1.25rem;
  margin: 34px 0 12px;
  color: var(--text);
}
.legal-container h3 {
  font-size: 1.02rem;
  margin: 20px 0 8px;
  color: #c4b5fd;
}
.legal-container p { color: #cbd5e1; margin-bottom: 12px; }
.legal-container ul {
  margin: 0 0 14px 22px;
  color: #cbd5e1;
}
.legal-container li { margin-bottom: 6px; }

/* ===== Footer ===== */
.site-footer {
  background: #070a12;
  border-top: 1px solid var(--border);
  padding-top: 44px;
  margin-top: auto;
}
.footer-grid {
  display: flex; justify-content: space-between;
  align-items: flex-start; gap: 24px;
  flex-wrap: wrap;
  padding-bottom: 28px;
}
.site-footer .brand { margin-bottom: 8px; }
.footer-links { display: flex; gap: 22px; flex-wrap: wrap; }
.footer-links a {
  color: var(--muted); font-size: 0.95rem; font-weight: 600;
}
.footer-links a:hover { color: var(--text); text-decoration: none; }
.footer-bottom {
  border-top: 1px solid var(--border);
  padding: 18px 0 26px;
  color: var(--muted);
  font-size: 0.85rem;
}

/* ===== Responsive ===== */
@media (max-width: 980px) {
  .features-grid { grid-template-columns: repeat(2, 1fr); }
  .heroes-grid { grid-template-columns: repeat(3, 1fr); }
}

@media (max-width: 820px) {
  .hero { padding: 60px 0 50px; }
  .hero-grid { grid-template-columns: 1fr; gap: 36px; }
  .hero-visual { order: -1; }
  .phone { transform: rotate(0deg); width: 230px; height: 460px; }
  .mock-hero { font-size: 88px; }
  .hero-stats { gap: 26px; }
  .nav-toggle { display: block; }
  .nav-links {
    display: none;
    position: absolute; top: 64px; left: 0; right: 0;
    flex-direction: column; gap: 0;
    background: rgba(11, 15, 26, 0.98);
    border-bottom: 1px solid var(--border);
    padding: 8px 4%;
  }
  .nav-links.open { display: flex; }
  .nav-links li { width: 100%; }
  .nav-links a {
    display: block;
    padding: 14px 0;
    border-bottom: 1px solid var(--border);
  }
  .nav-links li:last-child a { border-bottom: 0; }
  .section { padding: 62px 0; }
}

@media (max-width: 560px) {
  .features-grid { grid-template-columns: 1fr; }
  .heroes-grid { grid-template-columns: repeat(2, 1fr); }
  .cta-row .btn { width: 100%; text-align: center; }
  .download-box { padding: 44px 18px; }
  .legal-container h2 { font-size: 1.12rem; }
}



