/* ============================================================
   Froggy Studios : playful pub palette
   ============================================================ */
:root {
  --cream: #fdf6e3;
  --cream-dark: #f5e9c9;
  --ink: #2d2416;
  --ink-soft: #5c4f38;
  --frog: #3fae52;
  --frog-deep: #2c8040;
  --pond: #0f3d2e;
  --pond-deep: #0a2b20;
  --amber: #f5a623;
  --amber-deep: #d98200;
  --foam: #fff8ec;
  --wood: #7a4a24;
  --radius: 22px;
  --shadow-pop: 0 6px 0 rgba(45, 36, 22, 0.9);
  --font-display: "Lilita One", "Arial Black", sans-serif;
  --font-body: "Nunito", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body { overflow-x: clip; }
body {
  margin: 0;
  background: var(--cream);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 18px;
  line-height: 1.6;
}
img, video { max-width: 100%; display: block; }
a { color: var(--frog-deep); }
h1, h2, h3, h4 { font-family: var(--font-display); font-weight: 400; line-height: 1.05; margin: 0; }

a:focus-visible, button:focus-visible {
  outline: 3px solid var(--amber);
  outline-offset: 3px;
  border-radius: 6px;
}

::selection { background: var(--amber); color: var(--ink); }

/* ============ Buttons ============ */
.btn {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: var(--font-display);
  font-size: 18px;
  letter-spacing: 0.03em;
  text-decoration: none;
  padding: 14px 26px;
  border-radius: 999px;
  border: 3px solid var(--ink);
  transition: transform 150ms ease;
  white-space: nowrap;
}
.btn-primary { background: var(--amber); color: var(--ink); box-shadow: var(--shadow-pop); }
.btn-ghost { background: var(--foam); color: var(--ink); box-shadow: var(--shadow-pop); }
.btn-cream { background: var(--cream); color: var(--ink); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.45); }
.btn-outline-cream { background: transparent; color: var(--cream); border-color: var(--cream); box-shadow: 0 6px 0 rgba(0, 0, 0, 0.45); }
.btn-big { font-size: 21px; padding: 16px 32px; }
.btn-small { font-size: 15px; padding: 8px 18px; border-width: 2.5px; box-shadow: 0 4px 0 rgba(45, 36, 22, 0.9); }
.btn:hover { transform: translateY(-3px) rotate(-1deg); }
.btn:active { transform: translateY(2px); box-shadow: 0 2px 0 rgba(45, 36, 22, 0.9); }

.pill {
  display: inline-block;
  background: var(--frog);
  color: var(--foam);
  font-family: var(--font-display);
  font-size: 0.85em;
  padding: 2px 14px 4px;
  border-radius: 999px;
  border: 2.5px solid var(--ink);
  transform: rotate(-2deg);
}
.pill-big { font-size: 18px; padding: 10px 20px; box-shadow: var(--shadow-pop); }

/* ============ Nav ============ */
.nav {
  position: fixed;
  inset: 0 0 auto 0;
  z-index: 50;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 28px;
  background: color-mix(in srgb, var(--cream) 88%, transparent);
  backdrop-filter: blur(10px);
  border-bottom: 3px solid var(--ink);
}
.nav-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--ink);
}
.nav-frog { width: 58px; }
.nav-name { font-family: var(--font-display); font-size: 22px; letter-spacing: 0.02em; }
.nav-links { display: flex; align-items: center; gap: 26px; }
.nav-links > a:not(.btn) {
  font-family: var(--font-display);
  font-size: 17px;
  text-decoration: none;
  color: var(--ink);
}
.nav-links > a:not(.btn):hover { color: var(--frog-deep); }

/* ============ Hero ============ */
.hero {
  position: relative;
  min-height: 100svh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 130px 0 0;
  overflow: hidden;
}
.hero-inner { position: relative; z-index: 2; max-width: 900px; padding: 0 24px; }
.hero-logo { width: min(150px, 30vw); margin: 0 auto 24px; }
.hero-title {
  font-size: clamp(64px, 13vw, 168px);
  letter-spacing: 0.01em;
  color: var(--ink);
  text-shadow: 5px 5px 0 var(--amber);
}
.hero-title .line { display: block; overflow: hidden; }
.hero-title .word { display: inline-block; will-change: transform; }
.hero-sub { font-size: 20px; color: var(--ink-soft); max-width: 640px; margin: 22px auto 30px; }
.hero-sub strong { color: var(--ink); }
.hero-ctas { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* pond wave divider */
.pond { position: relative; z-index: 1; width: 100%; margin-top: auto; padding-top: 50px; }
.pond-wave { display: block; width: 100%; height: 90px; }
.pond-wave path { fill: var(--frog); }

/* floating bubbles */
.bubbles { position: absolute; inset: 0; overflow: hidden; pointer-events: none; z-index: 0; }
.bubble {
  position: absolute;
  bottom: -60px;
  border-radius: 50%;
  border: 2.5px solid color-mix(in srgb, var(--amber) 55%, transparent);
  background: color-mix(in srgb, var(--amber) 12%, transparent);
}
.bubbles-cta .bubble {
  border-color: rgba(255, 255, 255, 0.35);
  background: rgba(255, 255, 255, 0.08);
}

/* ============ Marquee: tilted band floating on a solid green strip ============ */
.marquee {
  background: var(--frog);
  padding: 26px 0;
  overflow: hidden;
}
.marquee-band {
  background: var(--frog-deep);
  border-block: 4px solid var(--ink);
  padding: 14px 0;
  transform: rotate(-1.5deg) scale(1.06);
}
.marquee-track { display: flex; width: max-content; will-change: transform; }
.marquee-track span {
  font-family: var(--font-display);
  font-size: 26px;
  color: var(--foam);
  letter-spacing: 0.06em;
  white-space: nowrap;
  -webkit-text-stroke: 1px var(--ink);
}

/* ============ Game ============ */
.game { background: var(--frog); padding: 110px 24px 120px; }
.game-inner { max-width: 1150px; margin: 0 auto; text-align: center; }
.pp-sign { width: min(560px, 82vw); margin: 0 auto; filter: drop-shadow(0 14px 0 rgba(0, 0, 0, 0.25)); }
.game-tag {
  font-size: 22px;
  font-weight: 800;
  color: var(--foam);
  max-width: 560px;
  margin: 26px auto 60px;
}
.game-grid {
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 48px;
  align-items: center;
  text-align: left;
}
.capsule-card {
  margin: 0;
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 10px 10px 0 var(--pond);
  transform: rotate(-1.5deg);
  background: var(--pond);
}
.game-copy h3 { font-size: clamp(30px, 3.4vw, 42px); color: var(--foam); text-shadow: 3px 3px 0 var(--pond); }
.game-copy > p { color: var(--foam); font-weight: 600; margin: 18px 0 22px; }
.feature-list { list-style: none; padding: 0; margin: 0 0 30px; display: grid; gap: 10px; }
.feature-list li {
  display: flex;
  align-items: center;
  gap: 12px;
  background: color-mix(in srgb, var(--foam) 14%, transparent);
  border: 2.5px solid color-mix(in srgb, var(--ink) 60%, transparent);
  border-radius: 14px;
  padding: 10px 16px;
  color: var(--foam);
  font-weight: 800;
}
.feature-list li span { font-size: 22px; }
.game-ctas { display: flex; align-items: center; gap: 18px; flex-wrap: wrap; }

/* ============ Screenshots ============ */
.shots { background: var(--cream); padding-top: 100px; }
.shots-head { text-align: center; padding: 0 24px; }
.section-title {
  font-size: clamp(40px, 6vw, 72px);
  text-shadow: 4px 4px 0 var(--amber);
}
.team .section-title { text-shadow: 4px 4px 0 var(--frog); }
.section-sub { color: var(--ink-soft); font-weight: 700; margin: 14px auto 0; max-width: 520px; }
.shots-grid {
  max-width: 1200px;
  margin: 48px auto 0;
  padding: 0 24px 100px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
}
.shot-card {
  margin: 0;
  background: var(--foam);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: 14px;
  box-shadow: 8px 8px 0 rgba(45, 36, 22, 0.25);
}
.shot-card-wide {
  grid-column: 1 / -1;
  justify-self: center;
  width: min(680px, 100%);
}
.shot-card img {
  border-radius: 12px;
  border: 2.5px solid var(--ink);
  width: 100%;
  aspect-ratio: 16 / 9;
  object-fit: cover;
}

/* ============ Team ============ */
.team { background: var(--cream); padding: 60px 24px 130px; }
.team-inner { max-width: 1100px; margin: 0 auto; text-align: center; }
.team-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 34px;
  margin-top: 14px;
}
.team-card {
  background: var(--foam);
  border: 4px solid var(--ink);
  border-radius: var(--radius);
  padding: 22px 22px 28px;
  box-shadow: var(--shadow-pop);
  transition: transform 180ms ease;
}
.team-card:hover { transform: translateY(-8px) rotate(-1.2deg); }
.team-card:nth-child(2):hover { transform: translateY(-8px) rotate(1.2deg); }
.team-pic {
  border-radius: 16px;
  overflow: hidden;
  border: 3px solid var(--ink);
  background: var(--cream-dark);
}
.team-pic img { width: 100%; aspect-ratio: 1; object-fit: cover; transition: transform 250ms ease; }
.team-card:hover .team-pic img { transform: scale(1.06); }
.team-card h3 { font-size: 26px; margin-top: 18px; }
.team-drink { color: var(--ink-soft); font-size: 15px; font-style: italic; margin: 6px 0 0; }

/* ============ CTA band ============ */
.cta-band {
  position: relative;
  background: var(--pond);
  color: var(--foam);
  text-align: center;
  padding: 110px 24px;
  overflow: hidden;
  border-block: 4px solid var(--ink);
}
.cta-band h2 { font-size: clamp(44px, 7vw, 84px); text-shadow: 4px 4px 0 var(--frog-deep); position: relative; }
.cta-band p { max-width: 520px; margin: 18px auto 34px; font-weight: 600; color: #cfe6d8; position: relative; }
.cta-band .hero-ctas { position: relative; }

/* ============ Footer ============ */
.footer { background: var(--pond-deep); color: #b9d2c4; padding: 70px 28px 34px; }
.footer-grid {
  max-width: 1100px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: 2fr 1fr 1fr;
  gap: 40px;
}
.footer-frog { width: 120px; opacity: 0.95; }
.footer-name { font-family: var(--font-display); font-size: 24px; color: var(--foam); margin: 14px 0 2px; }
.footer-tagline { margin: 0; font-style: italic; }
.footer-col h4 { color: var(--foam); font-size: 18px; margin-bottom: 14px; }
.footer-col a { display: block; color: #b9d2c4; text-decoration: none; margin-bottom: 10px; font-weight: 700; }
.footer-col a:hover { color: var(--amber); }
.footer-legal {
  max-width: 1100px;
  margin: 50px auto 0;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.15);
  font-size: 13.5px;
  opacity: 0.75;
}
.footer-legal p { margin: 4px 0; }

/* ============ Responsive ============ */
@media (max-width: 900px) {
  .game-grid { grid-template-columns: 1fr; gap: 36px; text-align: center; }
  .feature-list { text-align: left; }
  .game-ctas { justify-content: center; }
  .shots-grid { grid-template-columns: 1fr; }
  .team-grid { grid-template-columns: 1fr; max-width: 420px; margin-inline: auto; }
  .footer-grid { grid-template-columns: 1fr; gap: 30px; }
}
@media (max-width: 700px) {
  .nav-links { display: none; }
  .hero-title { text-shadow: 3px 3px 0 var(--amber); }
}

/* ============ Reduced motion ============ */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
  html { scroll-behavior: auto; }
  .marquee-track { transform: none !important; }
}
