:root {
  --bg: #ffffff;
  --bg-alt: #f5f7fb;
  --text: #1c2230;
  --muted: #6b7280;
  --brand: #3a5bf0;
  --brand-dark: #2b45c9;
  --border: #e4e8f0;
  --radius: 12px;
  --maxw: 1080px;
}

* { box-sizing: border-box; }

html { scroll-behavior: smooth; }

body {
  margin: 0;
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  color: var(--text);
  background: var(--bg);
  line-height: 1.65;
}

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

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

/* Header */
.site-header {
  position: sticky;
  top: 0;
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(8px);
  border-bottom: 1px solid var(--border);
  z-index: 10;
}
.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
}
.logo {
  font-weight: 700;
  font-size: 18px;
  color: var(--text);
}
.nav a {
  margin-left: 20px;
  color: var(--muted);
  font-size: 15px;
}
.nav a:hover { color: var(--brand); text-decoration: none; }

/* Hero */
.hero {
  padding: 96px 0 72px;
  background: linear-gradient(180deg, #f5f7fb 0%, #ffffff 100%);
  text-align: center;
}
.hero h1 {
  font-size: 44px;
  line-height: 1.2;
  margin: 0 0 20px;
}
.lead {
  max-width: 680px;
  margin: 0 auto 32px;
  font-size: 18px;
  color: var(--muted);
}
.hero-actions {
  display: flex;
  gap: 14px;
  justify-content: center;
  flex-wrap: wrap;
}
.btn {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 15px;
  transition: all 0.15s ease;
}
.btn-primary {
  background: var(--brand);
  color: #fff;
}
.btn-primary:hover { background: var(--brand-dark); text-decoration: none; }
.btn-ghost {
  background: transparent;
  color: var(--text);
  border: 1px solid var(--border);
}
.btn-ghost:hover { border-color: var(--brand); color: var(--brand); text-decoration: none; }

/* Sections */
.section { padding: 72px 0; }
.section-alt { background: var(--bg-alt); }
.section h2 {
  font-size: 28px;
  margin: 0 0 20px;
}
.section p { max-width: 760px; }
.muted { color: var(--muted); }

/* Grid & cards */
.grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 28px;
}
.card {
  background: #fff;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 24px;
}
.card h3 { margin: 0 0 8px; font-size: 18px; }
.card p { margin: 0; color: var(--muted); font-size: 15px; }

.game-thumb {
  height: 120px;
  border-radius: 8px;
  background: linear-gradient(135deg, #3a5bf0, #8b5cf6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  letter-spacing: 1px;
  margin-bottom: 16px;
}
.tag {
  display: inline-block;
  margin-top: 12px;
  font-size: 12px;
  padding: 3px 10px;
  border-radius: 999px;
  background: #eaeefe;
  color: var(--brand);
  font-weight: 600;
}

/* Game showcase */
.game {
  border: 1px solid var(--border);
  border-radius: var(--radius);
  overflow: hidden;
  background: #fff;
  margin-top: 32px;
}
.game-banner {
  aspect-ratio: 1024 / 500;
  background: var(--bg-alt);
}
.game-banner img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}
.game-body { padding: 24px; }
.game-head {
  display: flex;
  align-items: center;
  gap: 16px;
  margin-bottom: 16px;
}
.game-icon {
  width: 72px;
  height: 72px;
  border-radius: 16px;
  flex: none;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12);
}
.game-head h3 { margin: 0 0 4px; font-size: 22px; }
.game-tagline {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}
.game-body > p { margin: 0 0 16px; color: #333c4d; }
.game-features {
  margin: 0 0 20px;
  padding-left: 20px;
  color: #333c4d;
}
.game-features li { margin: 6px 0; }
.shot-row {
  display: flex;
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 6px;
  scroll-snap-type: x mandatory;
}
.shot-row a {
  flex: none;
  width: 150px;
  scroll-snap-align: start;
}
.shot-row img {
  width: 100%;
  display: block;
  border-radius: 10px;
  border: 1px solid var(--border);
  transition: transform 0.15s ease;
}
.shot-row a:hover img { transform: translateY(-3px); }

/* Contact */
.contact-list {
  list-style: none;
  padding: 0;
  margin: 20px 0 0;
}
.contact-list li { padding: 6px 0; }

/* Legal */
.legal h2 { margin-top: 32px; font-size: 20px; }
.legal p, .legal ul { color: #333c4d; }

/* Footer */
.site-footer {
  border-top: 1px solid var(--border);
  padding: 28px 0;
  background: #fff;
}
.footer-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 10px;
}
.site-footer p { margin: 0; color: var(--muted); font-size: 14px; }
.footer-nav a {
  margin-left: 16px;
  font-size: 14px;
  color: var(--muted);
}

@media (max-width: 640px) {
  .hero { padding: 64px 0 48px; }
  .hero h1 { font-size: 32px; }
  .nav a { margin-left: 12px; font-size: 14px; }
  .header-inner { height: auto; padding: 12px 0; flex-direction: column; gap: 8px; }
  .section { padding: 52px 0; }
}
