:root {
  --cream: #fff8e1;
  --leaf-dark: #2f5233;
  --leaf: #4c8c4a;
  --leaf-light: #8bc34a;
  --sun: #ffc93c;
  --fox: #ef7d26;
  --fox-dark: #c75f14;
  --text: #2b2318;
  --text-muted: #5c5346;
  --white: #ffffff;
  --radius: 18px;
  --shadow: 0 8px 24px rgba(47, 82, 51, 0.15);
}

* {
  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(--cream);
  overflow-x: hidden;
}

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

a {
  color: inherit;
}

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

/* Hero */
.hero {
  position: relative;
  padding: 3rem 0 3.5rem;
  background: linear-gradient(180deg, rgba(47, 82, 51, 0.55), rgba(47, 82, 51, 0.75)),
    url("images/hero.webp") center 30% / cover no-repeat;
  color: var(--white);
  text-align: center;
}

.hero-icon {
  width: 110px;
  height: 110px;
  border-radius: 28px;
  box-shadow: var(--shadow);
  border: 4px solid var(--white);
  margin: 0 auto 1.25rem;
}

.hero h1 {
  font-size: clamp(2rem, 7vw, 3rem);
  margin: 0 0 0.5rem;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.25);
}

.tagline {
  font-size: clamp(1rem, 4vw, 1.25rem);
  margin: 0 0 1.75rem;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.25);
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  background: var(--fox);
  color: var(--white);
  font-weight: 700;
  font-size: 1.05rem;
  padding: 0.85rem 1.75rem;
  border-radius: 999px;
  text-decoration: none;
  box-shadow: var(--shadow);
  transition: transform 0.15s ease, background 0.15s ease;
}

.btn-play:hover,
.btn-play:focus-visible {
  background: var(--fox-dark);
  transform: translateY(-2px);
}

.btn-play svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

/* Sections */
section {
  padding: 3rem 0;
}

h2 {
  font-size: clamp(1.5rem, 5vw, 2rem);
  color: var(--leaf-dark);
  text-align: center;
  margin: 0 0 1.5rem;
}

.about p {
  font-size: 1.05rem;
  line-height: 1.7;
  color: var(--text-muted);
  max-width: 640px;
  margin: 0 auto 1.75rem;
  text-align: center;
}

.features {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 1rem;
  max-width: 760px;
  margin: 0 auto;
}

.features li {
  background: var(--white);
  border-radius: var(--radius);
  padding: 1.25rem 1.1rem;
  box-shadow: var(--shadow);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 0.98rem;
}

.features li span.emoji {
  font-size: 1.5rem;
}

.gallery-section {
  background: linear-gradient(180deg, rgba(139, 195, 74, 0.15), rgba(139, 195, 74, 0));
}

.gallery {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(140px, 1fr));
  gap: 1rem;
  max-width: 820px;
  margin: 0 auto;
}

.gallery figure {
  margin: 0;
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  padding: 1rem;
  text-align: center;
}

.gallery img {
  width: 100%;
  height: auto;
  margin: 0 auto 0.5rem;
}

.gallery figcaption {
  font-weight: 700;
  color: var(--leaf-dark);
}

.developer {
  text-align: center;
}

.developer p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.6;
}

.developer .contact-link {
  display: inline-block;
  margin-top: 0.5rem;
  color: var(--fox-dark);
  font-weight: 700;
  text-decoration: none;
}

.developer .contact-link:hover {
  text-decoration: underline;
}

footer {
  background: var(--leaf-dark);
  color: var(--white);
  text-align: center;
  padding: 2rem 1.25rem;
  font-size: 0.9rem;
}

footer a {
  color: var(--sun);
  text-decoration: none;
  margin: 0 0.5rem;
}

footer a:hover {
  text-decoration: underline;
}

footer .footer-links {
  margin-top: 0.5rem;
}

/* Privacy page */
.policy {
  max-width: 760px;
  margin: 0 auto;
  padding: 2.5rem 1.25rem 3rem;
  line-height: 1.7;
}

.policy h1 {
  color: var(--leaf-dark);
  font-size: clamp(1.75rem, 6vw, 2.25rem);
}

.policy h2 {
  text-align: left;
  font-size: 1.3rem;
  margin-top: 2rem;
}

.policy p,
.policy li {
  color: var(--text-muted);
}

.policy .effective-date {
  font-style: italic;
  margin-bottom: 2rem;
}

.policy .back-link {
  display: inline-block;
  margin-bottom: 1.5rem;
  color: var(--fox-dark);
  font-weight: 700;
  text-decoration: none;
}
