/* --- Variables --- */
:root {
  --bg: #0f0f12;
  --surface: #1a1a1f;
  --border: #2a2a32;
  --text: #e8e8ec;
  --text-muted: #8a8a96;
  --accent: #f59e42;
  --accent-hover: #fbbf5c;
  --font-sans: "Outfit", system-ui, sans-serif;
  --font-mono: "JetBrains Mono", monospace;
  --radius: 12px;
  --radius-lg: 20px;
}

/* --- Reset & base --- */
*, *::before, *::after { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  font-family: var(--font-sans);
  font-size: 18px;
  line-height: 1.55;
  color: var(--text);
  background: var(--bg);
  -webkit-font-smoothing: antialiased;
}

.container {
  width: 100%;
  max-width: 1100px;
  margin: 0 auto;
  padding: 0 1.5rem;
}

.narrow {
  max-width: 560px;
}

/* --- Header --- */
.header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  padding: 1rem 0;
  background: rgba(15, 15, 18, 0.85);
  backdrop-filter: blur(10px);
  border-bottom: 1px solid var(--border);
}

.header .container {
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.logo {
  font-weight: 700;
  font-size: 1.25rem;
  color: var(--text);
  text-decoration: none;
  letter-spacing: -0.02em;
}

.nav {
  display: flex;
  gap: 2rem;
}

.nav a {
  color: var(--text-muted);
  text-decoration: none;
  font-weight: 500;
  font-size: 0.95rem;
  transition: color 0.2s;
}

.nav a:hover {
  color: var(--accent);
}

/* --- Hero --- */
.hero {
  position: relative;
  min-height: 85vh;
  display: flex;
  align-items: center;
  padding: 6rem 0 4rem;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(ellipse 80% 50% at 50% 0%, rgba(245, 158, 66, 0.12) 0%, transparent 55%),
    radial-gradient(ellipse 60% 40% at 80% 60%, rgba(245, 158, 66, 0.06) 0%, transparent 50%);
  pointer-events: none;
}

.hero-content {
  position: relative;
  z-index: 1;
  text-align: center;
}

.hero-label {
  font-family: var(--font-mono);
  font-size: 0.8rem;
  text-transform: uppercase;
  letter-spacing: 0.2em;
  color: var(--accent);
  margin: 0 0 0.75rem;
}

.hero-title {
  font-size: clamp(3rem, 10vw, 5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  line-height: 1.1;
  margin: 0 0 1rem;
  background: linear-gradient(180deg, #fff 0%, rgba(255,255,255,0.85) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero-tagline {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 0 1.5rem;
  max-width: 420px;
  margin-left: auto;
  margin-right: auto;
}

.hero-video-placeholder {
  width: 100%;
  max-width: 260px;
  aspect-ratio: 9 / 19;
  margin: 0 auto 2rem;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 22px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
}

.hero-video-placeholder-icon {
  width: 3rem;
  height: 3rem;
  border-radius: 50%;
  background: rgba(245, 158, 66, 0.2);
  color: var(--accent);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1rem;
  line-height: 1;
  padding-left: 0.15em;
}

.hero-video-placeholder-label {
  font-family: var(--font-mono);
  font-size: 0.75rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.cta {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 1rem 1.75rem;
  font-family: var(--font-sans);
  font-size: 1rem;
  font-weight: 600;
  color: var(--bg);
  background: var(--accent);
  border: none;
  border-radius: var(--radius);
  text-decoration: none;
  cursor: pointer;
  transition: background 0.2s, transform 0.15s;
}

.cta:hover {
  background: var(--accent-hover);
  transform: translateY(-2px);
}

.cta:focus-visible {
  outline: 2px solid var(--accent);
  outline-offset: 3px;
}

.cta-icon {
  font-size: 0.75em;
}

.cta-image {
  padding: 0;
  background: none;
  border-radius: 8px;
}

.cta-image:hover {
  background: none;
  transform: translateY(-2px);
}

.cta-image img {
  display: block;
  height: auto;
  max-height: 60px;
}

/* --- Game section --- */
.game-section {
  padding: 5rem 0;
  border-top: 1px solid var(--border);
}

.grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 4rem;
  align-items: center;
}

@media (max-width: 768px) {
  .grid {
    grid-template-columns: 1fr;
    gap: 2.5rem;
  }
  .game-visual { order: 1; }
  .game-copy { order: 2; }
}

.game-section h2 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.game-section p {
  color: var(--text-muted);
  margin: 0 0 1.5rem;
}

.features {
  list-style: none;
  padding: 0;
  margin: 0 0 1.75rem;
}

.features li {
  position: relative;
  padding-left: 1.5rem;
  margin-bottom: 0.5rem;
  color: var(--text);
}

.features li::before {
  content: "";
  position: absolute;
  left: 0;
  top: 0.55em;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--accent);
}

.cta-secondary {
  background: transparent;
  color: var(--accent);
  border: 2px solid var(--accent);
}

.cta-secondary:hover {
  background: rgba(245, 158, 66, 0.1);
  color: var(--accent-hover);
  border-color: var(--accent-hover);
}

.phone-mockup {
  max-width: 260px;
  margin: 0 auto;
  padding: 12px;
  background: var(--surface);
  border: 2px solid var(--border);
  border-radius: 32px;
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.5);
}

.phone-screen {
  aspect-ratio: 9 / 19;
  background: var(--surface);
  border-radius: 22px;
  overflow: hidden;
  display: flex;
  align-items: center;
  justify-content: center;
}

.phone-screen-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* --- About --- */
.about-section {
  padding: 4rem 0;
  background: var(--surface);
  border-top: 1px solid var(--border);
}

.about-section h2 {
  font-size: 1.5rem;
  font-weight: 700;
  margin: 0 0 0.75rem;
}

.about-section p {
  color: var(--text-muted);
  margin: 0;
}

/* --- Footer --- */
.footer {
  padding: 2rem 0;
  border-top: 1px solid var(--border);
  text-align: center;
}

.footer-brand {
  font-weight: 600;
  margin: 0 0 0.25rem;
}

.footer-legal {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0;
}

.footer-links {
  margin: 0 0 0.25rem;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.9rem;
}

.footer-links a:hover {
  color: var(--accent);
}

/* --- Privacy page --- */
.privacy-main {
  padding: 6rem 0 4rem;
}

.privacy-content {
  max-width: 640px;
  margin: 0 auto;
}

.privacy-updated {
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--text-muted);
  margin: 0 0 2rem;
}

.privacy-content h1 {
  font-size: 1.75rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  margin: 0 0 1rem;
}

.privacy-intro {
  color: var(--text-muted);
  margin: 0 0 2.5rem;
}

.privacy-content h2 {
  font-size: 1.2rem;
  font-weight: 600;
  margin: 2.5rem 0 0.75rem;
  scroll-margin-top: 5rem;
}

.privacy-content h2:first-of-type {
  margin-top: 0;
}

.privacy-content p,
.privacy-content ul {
  margin: 0 0 1rem;
  color: var(--text-muted);
}

.privacy-content ul {
  padding-left: 1.5rem;
}

.privacy-content li {
  margin-bottom: 0.35rem;
}

.privacy-content a {
  color: var(--accent);
  text-decoration: none;
}

.privacy-content a:hover {
  text-decoration: underline;
}
