/* ===== Reset & Base ===== */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

:root {
  --orange: #f97316;
  --orange-dark: #ea580c;
  --cream: #fff7ed;
  --mint: #bbf7d0;
  --sky: #bfdbfe;
  --ink: #3a2e28;
  --muted: #8a7a70;
}

html { font-size: 16px; scroll-behavior: smooth; }

body {
  font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto,
               "Helvetica Neue", Arial, sans-serif;
  color: var(--ink);
  background: #ffffff;
  line-height: 1.6;
}

img { max-width: 100%; height: auto; display: block; }
a { color: var(--orange-dark); text-decoration: none; }
a:hover { text-decoration: underline; }

/* ===== Layout ===== */
.container { width: 100%; max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* ===== Navigation ===== */
.nav {
  background: rgba(255, 247, 237, 0.9);
  backdrop-filter: blur(8px);
  padding: 14px 0;
  position: sticky; top: 0; z-index: 100;
  border-bottom: 1px solid #f5d9c0;
}
.nav .container { display: flex; align-items: center; justify-content: space-between; }
.nav-logo {
  display: flex; align-items: center; gap: 8px;
  color: var(--orange-dark); font-size: 1.2rem; font-weight: 900; text-decoration: none;
}
.nav-logo .paw { font-size: 1.4rem; line-height: 1; }
.nav-links { display: flex; gap: 22px; list-style: none; }
.nav-links a { color: var(--ink); font-size: 0.92rem; font-weight: 600; }
.nav-links a:hover { color: var(--orange); text-decoration: none; }

/* ===== Hero ===== */
.hero {
  background: linear-gradient(160deg, #fff7ed 0%, #ffedd5 55%, #fff7ed 100%);
  text-align: center; padding: 70px 20px;
}
.hero-title { font-size: 2.4rem; font-weight: 900; margin-bottom: 16px; line-height: 1.15; color: var(--ink); }
.hero-title .accent { color: var(--orange); }
.hero-subtitle { font-size: 1.1rem; color: var(--muted); margin: 0 auto 32px; max-width: 520px; }

/* ===== Buttons ===== */
.btn-primary {
  display: inline-flex; align-items: center; gap: 8px;
  background: var(--orange); color: #fff;
  padding: 14px 32px; border-radius: 999px;
  font-weight: 700; font-size: 1rem; text-decoration: none;
  transition: background 0.2s, transform 0.2s, box-shadow 0.2s;
  box-shadow: 0 8px 20px rgba(249, 115, 22, 0.25);
}
.btn-primary:hover { background: var(--orange-dark); transform: translateY(-2px); text-decoration: none; }

.download-buttons { display: flex; gap: 14px; flex-wrap: wrap; }
.btn-download {
  display: inline-flex; align-items: center; gap: 10px;
  background: var(--orange); color: #fff;
  padding: 12px 24px; border-radius: 999px;
  font-weight: 700; font-size: 0.95rem; text-decoration: none;
  transition: background 0.2s, transform 0.2s;
}
.btn-download:hover { background: var(--orange-dark); transform: translateY(-2px); text-decoration: none; }
.btn-download svg { width: 22px; height: 22px; flex-shrink: 0; }

/* ===== Games / Portfolio ===== */
.games { padding: 80px 0; background: #ffffff; }
.section-title { text-align: center; font-size: 1.9rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.section-subtitle { text-align: center; color: var(--muted); margin-bottom: 48px; }

.game-card {
  display: flex; flex-direction: column; align-items: center; gap: 32px;
  background: var(--cream); border-radius: 24px; padding: 32px;
}
.game-shot {
  width: 100%; max-width: 280px; aspect-ratio: 9/16;
  background: var(--sky); border-radius: 20px; flex-shrink: 0;
  box-shadow: 0 12px 36px rgba(58, 46, 40, 0.12);
}
.game-info { text-align: center; }
.game-info h3 { font-size: 1.5rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.game-info p { font-size: 1rem; color: var(--muted); line-height: 1.7; margin-bottom: 24px; }
.game-info .download-buttons { justify-content: center; }

/* ===== About ===== */
.about { padding: 80px 0; background: var(--cream); text-align: center; }
.about p { max-width: 640px; margin: 0 auto; font-size: 1.05rem; color: var(--ink); line-height: 1.8; }

/* ===== Contact ===== */
.contact { background: #ffffff; text-align: center; padding: 70px 20px; }
.contact-title { font-size: 1.7rem; font-weight: 800; margin-bottom: 12px; color: var(--ink); }
.contact-text { font-size: 1rem; color: var(--muted); margin-bottom: 24px; }
.contact-email { display: inline-block; font-size: 1.15rem; font-weight: 700; color: var(--orange); }
.contact-email:hover { text-decoration: underline; }

/* ===== Footer ===== */
.footer { background: var(--cream); color: var(--muted); text-align: center; padding: 32px 20px; font-size: 0.9rem; border-top: 1px solid #f5d9c0; }
.footer-links { display: flex; gap: 24px; justify-content: center; margin-bottom: 16px; flex-wrap: wrap; }
.footer-links a { color: var(--ink); font-weight: 600; }
.footer-links a:hover { color: var(--orange); }

/* ===== Document Pages (privacy / terms) ===== */
.doc-page { padding: 60px 0; }
.doc-page .back-link { display: inline-flex; align-items: center; gap: 6px; color: var(--orange); margin-bottom: 32px; font-size: 0.95rem; font-weight: 600; }
.doc-page h1 { font-size: 2rem; font-weight: 800; margin-bottom: 8px; color: var(--ink); }
.doc-page .last-updated { color: var(--muted); font-size: 0.9rem; margin-bottom: 40px; }
.doc-page h2 { font-size: 1.2rem; font-weight: 700; margin: 32px 0 12px; color: var(--ink); }
.doc-page p, .doc-page ul, .doc-page ol { font-size: 0.95rem; color: #5a4a40; line-height: 1.8; margin-bottom: 16px; }
.doc-page ul, .doc-page ol { padding-left: 24px; }
.doc-page li { margin-bottom: 8px; }

/* ===== Responsive ===== */
@media (min-width: 768px) {
  .hero-title { font-size: 3.4rem; }
  .game-card { flex-direction: row; text-align: left; padding: 48px; gap: 48px; }
  .game-info { text-align: left; }
  .game-info .download-buttons { justify-content: flex-start; }
}
@media (min-width: 1024px) {
  .hero { padding: 110px 20px; }
  .game-shot { max-width: 320px; }
}
