/* Edward A. Sir — game developer site (Apple-style dark) */
:root {
  --bg: #000000;
  --bg-2: #0d0d0f;
  --card: #1d1d1f;
  --card-2: #2a2a2d;
  --line: rgba(255, 255, 255, 0.08);
  --text: #f5f5f7;
  --muted: #86868b;
  --accent: #0a84ff;
  --accent-2: #ff375f;
  --link: #2997ff;
  --grad: linear-gradient(110deg, #0a84ff, #bf5af2 55%, #ff375f);
  --radius: 22px;
  --maxw: 1160px;
}

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

html { scroll-behavior: smooth; }

body {
  background: var(--bg);
  color: var(--text);
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

img { max-width: 100%; display: block; }

a { color: inherit; text-decoration: none; }

.wrap { max-width: var(--maxw); margin: 0 auto; padding: 0 24px; }

/* ---------- header ---------- */
header.site {
  position: sticky; top: 0; z-index: 50;
  background: rgba(22, 22, 23, 0.8);
  backdrop-filter: saturate(180%) blur(20px);
  -webkit-backdrop-filter: saturate(180%) blur(20px);
}
header.site .bar {
  display: flex; align-items: center; justify-content: space-between;
  height: 52px;
}
.brand { display: flex; align-items: center; gap: 9px; font-weight: 600; font-size: 0.95rem; letter-spacing: -0.01em; }
.brand .dot {
  width: 10px; height: 10px; border-radius: 50%;
  background: var(--grad);
}
nav.main { display: flex; gap: 30px; font-size: 0.84rem; color: rgba(245, 245, 247, 0.8); }
nav.main a { transition: color 0.15s ease; }
nav.main a:hover { color: #fff; }

/* ---------- hero ---------- */
.hero {
  position: relative;
  padding: 130px 0 96px;
  overflow: hidden;
  text-align: center;
  background:
    radial-gradient(900px 480px at 22% -12%, rgba(10, 132, 255, 0.16), transparent 60%),
    radial-gradient(900px 480px at 78% -12%, rgba(255, 55, 95, 0.12), transparent 60%),
    var(--bg);
}
.hero h1 {
  font-size: clamp(2.4rem, 5.6vw, 4rem);
  line-height: 1.08;
  font-weight: 700;
  letter-spacing: -0.03em;
  max-width: 860px;
  margin: 0 auto;
}
.hero h1 .grad {
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
.hero p.lead {
  margin: 22px auto 0; max-width: 620px;
  color: var(--muted); font-size: 1.16rem;
  font-weight: 400; letter-spacing: -0.01em;
}
.hero .cta { margin-top: 34px; display: flex; gap: 14px; flex-wrap: wrap; justify-content: center; }
.btn {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 12px 26px; border-radius: 980px; font-weight: 500; font-size: 1rem;
  letter-spacing: -0.01em;
  transition: transform 0.15s ease, background 0.15s ease, box-shadow 0.15s ease;
}
.btn.primary { background: var(--accent); color: #fff; }
.btn.primary:hover { background: #2997ff; transform: translateY(-1px); }
.btn.ghost { background: rgba(255, 255, 255, 0.08); color: var(--text); }
.btn.ghost:hover { background: rgba(255, 255, 255, 0.14); transform: translateY(-1px); }

/* stats */
.stats {
  margin: 72px auto 0; max-width: 1040px;
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px;
}
.stat {
  background: var(--card); border-radius: var(--radius);
  padding: 26px 20px; text-align: center;
}
.stat b { display: block; font-size: 1.75rem; font-weight: 700; letter-spacing: -0.02em; }
.stat b .grad { background: var(--grad); -webkit-background-clip: text; background-clip: text; -webkit-text-fill-color: transparent; }
.stat span { color: var(--muted); font-size: 0.88rem; }

/* ---------- sections ---------- */
section { padding: 96px 0; }
section.alt { background: var(--bg-2); }
.kicker {
  display: inline-block; font-size: 0.82rem; font-weight: 600; letter-spacing: 0.12em;
  text-transform: uppercase; margin-bottom: 12px;
  background: var(--grad);
  -webkit-background-clip: text; background-clip: text;
  -webkit-text-fill-color: transparent; color: transparent;
}
section .wrap > .kicker { display: block; text-align: center; }
h2.title {
  font-size: clamp(1.9rem, 3.8vw, 2.8rem); font-weight: 700; letter-spacing: -0.025em;
  text-align: center;
}
p.sub { color: var(--muted); margin: 12px auto 0; max-width: 620px; text-align: center; font-size: 1.08rem; }

/* featured game */
.featured {
  margin-top: 44px;
  background: var(--card); border-radius: 28px;
  overflow: hidden;
}
.featured .head {
  display: flex; align-items: center; gap: 22px; padding: 30px;
  flex-wrap: wrap;
}
.featured .head img.icon { width: 96px; height: 96px; border-radius: 22px; }
.featured .head .meta { flex: 1; min-width: 240px; }
.featured .head h3 { font-size: 1.5rem; font-weight: 700; letter-spacing: -0.02em; }
.featured .head p { color: var(--muted); margin-top: 4px; }
.badges { display: flex; gap: 10px; flex-wrap: wrap; margin-top: 14px; }
.pill {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.8rem; font-weight: 600; padding: 6px 13px; border-radius: 980px;
  background: rgba(10, 132, 255, 0.14); color: #6cb2ff;
}
.pill.red { background: rgba(255, 55, 95, 0.14); color: #ff6482; }
.shots {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 5px; padding: 0 5px 5px;
}
.shots img { width: 100%; height: 100%; object-fit: cover; border-radius: 12px; aspect-ratio: 19.5/9; }
.store-row { display: flex; gap: 14px; align-items: center; flex-wrap: wrap; }
.store-row img.as { height: 52px; width: auto; }
.store-row img.gp { height: 56px; width: auto; margin: -6px 0; }
.store-row.pad { padding: 16px 30px 26px; }

/* two-up feature cards */
.feature-row { display: grid; grid-template-columns: 1fr 1fr; gap: 20px; margin-top: 20px; }
.featured.small .head { padding: 24px 26px 12px; }
.featured.small .head img.icon { width: 68px; height: 68px; border-radius: 16px; }
.featured.small .head h3 { font-size: 1.15rem; }
.featured.small .head p { font-size: 0.92rem; }
.shots.two { grid-template-columns: repeat(2, 1fr); padding: 0 26px; }
.shots.two img { aspect-ratio: 16/9; border-radius: 12px; }
.featured.small .store-row img.as { height: 42px; }
.featured.small .store-row img.gp { height: 46px; margin: -4px 0; }

/* game grid */
.grid {
  margin-top: 44px;
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 20px;
}
.game {
  background: var(--card); border-radius: var(--radius);
  overflow: hidden; display: flex; flex-direction: column;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.game:hover { transform: translateY(-4px); box-shadow: 0 22px 44px rgba(0, 0, 0, 0.5); }
.game .shot { aspect-ratio: 16/9; overflow: hidden; background: var(--card-2); }
.game .shot img { width: 100%; height: 100%; object-fit: cover; }
.game .body { padding: 20px; display: flex; gap: 14px; align-items: flex-start; flex: 1; }
.game .body img.icon { width: 56px; height: 56px; border-radius: 13px; flex-shrink: 0; }
.game .body h3 { font-size: 1.05rem; font-weight: 700; letter-spacing: -0.015em; line-height: 1.3; }
.game .body p { color: var(--muted); font-size: 0.88rem; margin-top: 4px; }
.game .installs { font-size: 0.8rem; font-weight: 600; color: #6cb2ff; margin-top: 7px; }
.game .links { display: flex; gap: 10px; padding: 0 20px 20px; align-items: center; }
.game .links img.as { height: 36px; width: auto; }
.game .links img.gp { height: 40px; width: auto; margin: -4px 0; }

/* about */
.about-card {
  margin-top: 44px; display: grid; grid-template-columns: 1.2fr 1fr; gap: 28px; align-items: center;
}
.about-card .panel {
  background: var(--card); border-radius: 28px; padding: 36px;
}
.about-card .panel p { color: #c9c9ce; margin-top: 12px; letter-spacing: -0.005em; }
.about-card .panel p:first-child { margin-top: 0; }
.about-card img { border-radius: 28px; }
.about-card img.portrait { width: 100%; aspect-ratio: 4/5; object-fit: cover; object-position: top; }

/* youtube banner */
.yt-banner {
  display: block; margin: 44px auto 0; max-width: 980px;
  border-radius: 28px; overflow: hidden;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}
.yt-banner:hover { transform: scale(1.012); box-shadow: 0 26px 52px rgba(0, 0, 0, 0.55); }
.yt-banner img { width: 100%; aspect-ratio: 21/10; object-fit: cover; }

/* social links */
.socials { display: flex; gap: 14px; justify-content: center; margin-top: 26px; }
.social-btn {
  display: inline-flex; align-items: center; justify-content: center;
  width: 46px; height: 46px; border-radius: 50%;
  background: rgba(255, 255, 255, 0.08); color: var(--text);
  transition: background 0.15s ease, transform 0.15s ease;
}
.social-btn:hover { background: rgba(255, 255, 255, 0.16); transform: translateY(-2px); }
.social-btn svg { width: 20px; height: 20px; fill: currentColor; }
footer.site .socials { margin-top: 0; justify-content: flex-start; }
footer.site .social-btn { width: 38px; height: 38px; }
footer.site .social-btn svg { width: 16px; height: 16px; }

/* ---------- legal pages ---------- */
.legal { max-width: 820px; margin: 0 auto; padding: 88px 24px; }
.legal h1 { font-size: 2.3rem; font-weight: 700; letter-spacing: -0.025em; }
.legal .date { color: var(--muted); margin-top: 8px; font-size: 0.92rem; }
.legal h2 { font-size: 1.25rem; font-weight: 700; letter-spacing: -0.015em; margin: 38px 0 10px; }
.legal h1.part {
  font-size: 1.7rem; margin-top: 64px; padding-top: 40px;
  border-top: 1px solid var(--line); scroll-margin-top: 70px;
}
.legal p, .legal li { color: #c9c9ce; font-size: 0.98rem; }
.legal ul { padding-left: 22px; margin-top: 8px; }
.legal li { margin-bottom: 6px; }
.legal a { color: var(--link); }
.legal a:hover { text-decoration: underline; }
.legal .card {
  background: var(--card); border-radius: var(--radius);
  padding: 22px 26px; margin-top: 18px;
}

/* ---------- footer ---------- */
footer.site {
  border-top: 1px solid var(--line); padding: 40px 0; background: var(--bg-2);
}
footer.site .cols {
  display: flex; justify-content: space-between; gap: 24px; flex-wrap: wrap; align-items: center;
}
footer.site .muted { color: var(--muted); font-size: 0.82rem; }
footer.site nav { display: flex; gap: 22px; font-size: 0.84rem; color: var(--muted); flex-wrap: wrap; }
footer.site nav a:hover { color: var(--text); }

/* ---------- responsive ---------- */
@media (max-width: 900px) {
  .stats { grid-template-columns: repeat(2, 1fr); }
  .grid { grid-template-columns: repeat(2, 1fr); }
  .shots { grid-template-columns: repeat(2, 1fr); }
  .about-card { grid-template-columns: 1fr; }
  .feature-row { grid-template-columns: 1fr; }
}
@media (max-width: 560px) {
  nav.main { display: none; }
  .hero { padding: 90px 0 70px; }
  .grid { grid-template-columns: 1fr; }
  .stats { gap: 10px; }
  .stat b { font-size: 1.35rem; }
}
