/* ===== Dogdoku Landing Page - Sudoku with a New Style! ===== */

:root {
  --accent: #5EBFA0;
  --accent-dark: #4AA88A;
  --accent-light: #DFF3EA;
  --accent-bg: #F5FBF8;
  --gold: #FFB84D;
  --fg: #3D5A50;
  --fg-muted: #6B8E7B;
  --fg-subtle: #A0C4B0;
  --white: #ffffff;
  --radius: 20px;
  --radius-sm: 14px;
  --radius-lg: 28px;
  --shadow: 0 6px 20px rgba(0, 0, 0, 0.08);
  --shadow-lg: 0 20px 50px rgba(94, 191, 160, 0.15);
  --shadow-card: 0 4px 14px rgba(0, 0, 0, 0.06);
  --transition: 250ms cubic-bezier(0.4, 0, 0.2, 1);
}

* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
  scroll-padding-top: 80px;
}

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  background:
    var(--accent-bg)
    linear-gradient(
      90deg,
      rgba(94, 191, 160, 0.06) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(94, 191, 160, 0.06) 1px,
      transparent 1px
    );
  background-size: 60px 60px;
  color: var(--fg);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
}

/* ===== Navbar ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(245, 251, 248, 0.85);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(94, 191, 160, 0.12);
}

.navbar__inner {
  max-width: 1200px;
  margin: 0 auto;
  padding: 14px 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.navbar__brand {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--fg);
  font-weight: 800;
  font-size: 1.2rem;
  letter-spacing: -0.3px;
}

.navbar__logo {
  width: 36px;
  height: 36px;
  border-radius: 10px;
  object-fit: cover;
}

/* ===== Buttons ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 12px 24px;
  border-radius: var(--radius-sm);
  font-weight: 600;
  font-size: 0.95rem;
  font-family: inherit;
  text-decoration: none;
  cursor: pointer;
  border: 2px solid transparent;
  transition: all 200ms ease;
  position: relative;
  white-space: nowrap;
}

.btn--primary {
  background: var(--accent);
  color: var(--white);
  border-color: var(--accent);
  box-shadow: 0 2px 12px rgba(94, 191, 160, 0.35), inset 0 0 0 1px rgba(255, 255, 255, 0.2);
}

.btn--primary:hover {
  background: var(--accent-dark);
  border-color: var(--accent-dark);
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(94, 191, 160, 0.4), inset 0 0 0 1px rgba(255, 255, 255, 0.3);
}

.btn--primary:active {
  transform: translateY(0);
}

.btn--ghost {
  background: transparent;
  color: var(--accent);
  border-color: var(--accent);
}

.btn--ghost:hover {
  background: rgba(94, 191, 160, 0.08);
  transform: translateY(-2px);
}

.btn--small {
  padding: 8px 18px;
  font-size: 0.88rem;
}

.btn--large {
  padding: 14px 32px;
  font-size: 1.05rem;
  border-radius: var(--radius);
}

.btn--xlarge {
  padding: 18px 48px;
  font-size: 1.1rem;
  border-radius: var(--radius);
}

.btn--pulse {
  animation: btnPulse 2s ease-in-out infinite;
}

@keyframes btnPulse {
  0%, 100% { box-shadow: 0 2px 12px rgba(94, 191, 160, 0.35); }
  50% { box-shadow: 0 6px 24px rgba(94, 191, 160, 0.55), 0 0 0 4px rgba(94, 191, 160, 0.15); }
}

/* ===== Floating decorations ===== */
/* Sudoku-style 3x3 grid accent on body */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  background:
    linear-gradient(
      90deg,
      rgba(94, 191, 160, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      rgba(94, 191, 160, 0.04) 1px,
      transparent 1px
    ),
    linear-gradient(
      90deg,
      rgba(94, 191, 160, 0.10) 2px,
      transparent 2px
    ),
    linear-gradient(
      rgba(94, 191, 160, 0.10) 2px,
      transparent 2px
    );
  background-size:
    60px 60px,
    60px 60px,
    180px 180px,
    180px 180px;
}

.floaters {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
}

.floater {
  position: absolute;
  left: var(--x);
  top: var(--y);
  font-size: 1.4rem;
  opacity: 0.15;
  animation: floaterBob var(--dur) ease-in-out infinite;
  animation-delay: var(--delay);
  user-select: none;
}

@keyframes floaterBob {
  0%, 100% { transform: translateY(0) rotate(0deg); }
  33% { transform: translateY(-12px) rotate(8deg); }
  66% { transform: translateY(6px) rotate(-4deg); }
}

/* Paw print trails */
.paw-trail {
  position: fixed;
  display: flex;
  flex-direction: column;
  gap: 40px;
  pointer-events: none;
  z-index: 1;
  font-size: 1.1rem;
  opacity: 0.12;
  user-select: none;
}

.paw-trail--left {
  left: 2%;
  top: 30%;
}

.paw-trail--right {
  right: 2%;
  top: 45%;
}

.paw-trail span {
  animation: pawStep 3s ease-in-out infinite;
  transform: rotate(-15deg);
}

.paw-trail span:nth-child(1) { animation-delay: 0s; }
.paw-trail span:nth-child(2) { animation-delay: 0.5s; }
.paw-trail span:nth-child(3) { animation-delay: 1s; }
.paw-trail span:nth-child(4) { animation-delay: 1.5s; }
.paw-trail span:nth-child(5) { animation-delay: 2s; }
.paw-trail span:nth-child(6) { animation-delay: 2.5s; }

.paw-trail--right span {
  transform: rotate(15deg);
}

@keyframes pawStep {
  0%, 100% { opacity: 0.12; transform: scale(1) rotate(var(--r, -15deg)); }
  50% { opacity: 0.3; transform: scale(1.3) rotate(var(--r, -15deg)); }
}

/* ===== Hero ===== */
.hero {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 1fr 1.5fr;
  align-items: center;
  gap: 60px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 100px 32px 60px;
  overflow: hidden;
}

.hero__bg {
  position: absolute;
  top: -20%;
  right: -10%;
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, rgba(94, 191, 160, 0.12) 0%, transparent 70%);
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
}

.hero__content {
  position: relative;
  z-index: 1;
}

.hero__subtitle-tag {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: linear-gradient(135deg, var(--accent-light), #FFF5E6);
  color: var(--fg);
  font-size: 0.9rem;
  font-weight: 700;
  border-radius: 100px;
  margin-bottom: 20px;
  letter-spacing: 0.3px;
  border: 2px solid rgba(94, 191, 160, 0.15);
  box-shadow: 0 2px 8px rgba(94, 191, 160, 0.08);
}

.hero__subtitle-tag span {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title {
  font-size: clamp(2.8rem, 5.5vw, 4.5rem);
  font-weight: 900;
  line-height: 1.05;
  letter-spacing: -1.5px;
  color: var(--fg);
  margin-bottom: 20px;
}

.hero__title--accent {
  background: linear-gradient(135deg, var(--accent), var(--gold));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero__title-wag {
  display: inline-block;
  font-size: 0.6em;
  animation: tailWag 1.2s ease-in-out infinite;
  transform-origin: bottom left;
  margin-left: 8px;
}

@keyframes tailWag {
  0%, 100% { transform: rotate(-10deg); }
  50% { transform: rotate(20deg); }
}

.hero__subtitle {
  font-size: clamp(1rem, 1.8vw, 1.15rem);
  color: var(--fg-muted);
  max-width: 460px;
  margin-bottom: 24px;
  line-height: 1.65;
}

.hero__level-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 16px;
  background: var(--white);
  border: 2px solid var(--gold);
  border-radius: 100px;
  margin-bottom: 28px;
  box-shadow: 0 2px 8px rgba(255, 184, 77, 0.15);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--fg);
}

.level-badge__star {
  font-size: 1.1rem;
  animation: starSpin 2s ease-in-out infinite;
}

@keyframes starSpin {
  0%, 100% { transform: rotate(0deg) scale(1); }
  50% { transform: rotate(180deg) scale(1.2); }
}

.hero__actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-bottom: 48px;
}

.hero__stats {
  display: flex;
  align-items: center;
  gap: 24px;
}

.hero__stat {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.hero__stat-number {
  font-size: 1.6rem;
  font-weight: 800;
  color: var(--accent);
  line-height: 1.2;
}

.hero__stat-label {
  font-size: 0.82rem;
  color: var(--fg-subtle);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.hero__stat-divider {
  width: 1px;
  height: 32px;
  background: rgba(94, 191, 160, 0.2);
}

.hero__stat--lives {
  align-items: flex-start;
}

.hero__lives {
  display: flex;
  gap: 4px;
  margin-top: 2px;
}

.life-heart {
  font-size: 1.1rem;
  line-height: 1;
  animation: heartBeat 1.5s ease-in-out infinite;
}

.life-heart:nth-child(2) { animation-delay: 0.3s; }
.life-heart:nth-child(3) { animation-delay: 0.6s; }

@keyframes heartBeat {
  0%, 100% { transform: scale(1); }
  15% { transform: scale(1.25); }
  30% { transform: scale(1); }
  45% { transform: scale(1.15); }
}

.hero__visual {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: center;
  align-items: center;
}

.hero__visual-link {
  text-decoration: none;
  color: inherit;
  display: block;
  transition: transform 300ms ease;
}

.hero__visual-link:hover {
  transform: translateY(-8px) scale(1.03);
}

.mini-hud {
  display: flex;
  gap: 12px;
  width: 100%;
  justify-content: center;
}

.mini-hud__item {
  background: var(--white);
  border-radius: 12px;
  padding: 6px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: 0 2px 6px rgba(0,0,0,0.06);
  border: 1px solid var(--accent-light);
}

.mini-hud__label {
  font-size: 0.55rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg-subtle);
}

.mini-hud__value {
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--accent);
}

.mini-hud__item--lives .mini-hud__value {
  font-size: 0.65rem;
  letter-spacing: -1px;
}

.mini-footer {
  display: flex;
  gap: 12px;
  font-size: 0.6rem;
  color: var(--fg-subtle);
  font-weight: 600;
}

/* Mini board animation */
.mini-board {
  display: grid;
  grid-template-columns: repeat(var(--n, 5), 1fr);
  gap: 12px;
  width: 500px;
  height: 500px;
}

.mini-cell {
  background: var(--region-tint, var(--white));
  border: 2px solid var(--region-color, #e0e0e0);
  border-radius: 10px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: clamp(0.8rem, 3cqi, 1.4rem);
  transition: transform 300ms cubic-bezier(0.34, 1.56, 0.64, 1), opacity 300ms ease;
  container-type: size;
  cursor: default;
}

.mini-cell--dog {
  animation: miniPop 400ms cubic-bezier(0.34, 1.56, 0.64, 1) both;
}

.mini-cell--mark {
  animation: miniPop 300ms cubic-bezier(0.22, 0.61, 0.36, 1) both;
  opacity: 0.7;
}

@keyframes miniPop {
  0% { transform: scale(0.3); opacity: 0; }
  60% { transform: scale(1.15); opacity: 1; }
  100% { transform: scale(1); }
}

/* ===== Sections ===== */
.section {
  padding: 80px 32px;
  max-width: 1200px;
  margin: 0 auto;
}

.section__header {
  text-align: center;
  margin-bottom: 52px;
}

.section__eyebrow {
  display: inline-block;
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--accent);
  margin-bottom: 12px;
}

.section__title {
  font-size: clamp(1.8rem, 3.5vw, 2.8rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.section--screenshots {
  padding-top: 40px;
}

.section--features {
  background: linear-gradient(180deg, transparent 0%, rgba(94, 191, 160, 0.04) 50%, transparent 100%);
}

.section--how {
  padding-bottom: 60px;
}

.section--cta {
  padding-top: 20px;
  padding-bottom: 100px;
}

/* ===== Level Cards ===== */
.section--levels {
  padding-bottom: 40px;
}

.levels-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  max-width: 800px;
  margin: 0 auto;
}

.level-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 3px solid;
  box-shadow: var(--shadow-card);
  transition: transform 300ms ease, box-shadow 300ms ease;
  position: relative;
  overflow: hidden;
}

.level-card:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: var(--shadow-lg);
}

.level-card::after {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
}

.level-card--easy {
  border-color: #5EBFA0;
}
.level-card--easy::after { background: #5EBFA0; }

.level-card--medium {
  border-color: #FFB84D;
}
.level-card--medium::after { background: #FFB84D; }

.level-card--hard {
  border-color: #4dabf7;
}
.level-card--hard::after { background: #4dabf7; }

.level-card--expert {
  border-color: #FF6B9D;
}
.level-card--expert::after { background: #FF6B9D; }

.level-card__icon {
  font-size: 2.5rem;
  margin-bottom: 8px;
  line-height: 1;
}

.level-card__difficulty {
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--fg);
  margin-bottom: 4px;
}

.level-card__size {
  font-size: 1.4rem;
  font-weight: 900;
  color: var(--accent);
  margin-bottom: 8px;
}

.level-card__paws {
  font-size: 0.9rem;
  letter-spacing: 2px;
}

.level-card__stars {
  font-size: 0.85rem;
  letter-spacing: 2px;
  margin-bottom: 6px;
  min-height: 18px;
}

.star-empty {
  opacity: 0.25;
  filter: grayscale(1);
}

.level-card__lock {
  position: absolute;
  top: 10px;
  right: 10px;
  font-size: 1.1rem;
  animation: lockWiggle 2s ease-in-out infinite;
  background: rgba(255, 255, 255, 0.9);
  width: 28px;
  height: 28px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  box-shadow: 0 2px 6px rgba(0,0,0,0.1);
}

@keyframes lockWiggle {
  0%, 100% { transform: rotate(0deg); }
  10% { transform: rotate(-10deg); }
  20% { transform: rotate(10deg); }
  30% { transform: rotate(0deg); }
}

.level-card--locked {
  opacity: 0.75;
  filter: grayscale(0.3);
}

.level-card--locked .level-card__icon {
  filter: grayscale(0.5);
}

/* ===== Screenshots ===== */
.screenshots {
  overflow-x: auto;
  overflow-y: hidden;
  padding: 8px 0 24px;
  margin: 0 -16px;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.screenshots::-webkit-scrollbar {
  display: none;
}

.screenshots__track {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 20px;
  padding: 8px 16px;
  width: 100%;
}

.screenshot-card {
  max-width: 300px;
  background: var(--white);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow-card);
  border: 2px solid rgba(94, 191, 160, 0.1);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.screenshot-card:hover {
  transform: translateY(-6px) scale(1.02);
  box-shadow: var(--shadow-lg);
}

.screenshot-card--featured {
  border-color: rgba(94, 191, 160, 0.3);
  box-shadow: 0 8px 24px rgba(94, 191, 160, 0.15);
}

.screenshot-card img {
  width: 100%;
  height: auto;
  display: block;
}

/* ===== Features - Zigzag Layout ===== */
.features-zigzag {
  display: flex;
  flex-direction: column;
  gap: 60px;
  max-width: 1000px;
  margin: 0 auto 60px;
}

.feature-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 48px;
}

.feature-row--reverse {
  direction: rtl;
}

.feature-row--reverse > * {
  direction: ltr;
}

.feature-row__img {
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: var(--shadow-lg);
  border: 3px solid rgba(94, 191, 160, 0.15);
  transition: transform 400ms ease, box-shadow 400ms ease;
}

.feature-row__img:hover {
  transform: scale(1.02) rotate(-1deg);
  box-shadow: 0 24px 60px rgba(94, 191, 160, 0.2);
}

.feature-row__img img {
  width: 100%;
  height: auto;
  display: block;
}

.feature-row__content {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.feature-row__badge {
  width: 56px;
  height: 56px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.6rem;
  background: linear-gradient(135deg, var(--accent-light), #FFF5E6);
  border-radius: var(--radius);
  margin-bottom: 4px;
  box-shadow: 0 4px 12px rgba(94, 191, 160, 0.15);
  animation: badgePop 3s ease-in-out infinite;
}

@keyframes badgePop {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.08); }
}

.feature-row__title {
  font-size: clamp(1.4rem, 3vw, 1.9rem);
  font-weight: 800;
  color: var(--fg);
  letter-spacing: -0.5px;
}

.feature-row__text {
  font-size: 1rem;
  color: var(--fg-muted);
  line-height: 1.7;
  max-width: 400px;
}

.feature-row__text strong {
  color: var(--accent-dark);
}

/* Mini feature grid */
.features-mini {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  max-width: 900px;
  margin: 0 auto;
}

.feature-mini {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px 16px;
  text-align: center;
  border: 2px solid rgba(94, 191, 160, 0.1);
  box-shadow: var(--shadow-card);
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.feature-mini:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
  border-color: rgba(94, 191, 160, 0.25);
}

.feature-mini__icon {
  font-size: 2rem;
  margin-bottom: 10px;
  line-height: 1;
}

.feature-mini h4 {
  font-size: 1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 6px;
}

.feature-mini p {
  font-size: 0.85rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== How to Play / Rules ===== */
.rules {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 24px;
  margin-bottom: 60px;
}

.rule-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 2px solid rgba(94, 191, 160, 0.1);
  box-shadow: var(--shadow-card);
  text-align: center;
  position: relative;
  transition: transform 300ms ease, box-shadow 300ms ease;
}

.rule-card:hover {
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.rule-card__number {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%);
  width: 36px;
  height: 36px;
  background: var(--accent);
  color: var(--white);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 800;
  box-shadow: 0 2px 8px rgba(94, 191, 160, 0.3);
}

.rule-card__emoji {
  font-size: 2.5rem;
  margin-bottom: 16px;
  line-height: 1;
}

.rule-card__title {
  font-size: 1.1rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 10px;
}

.rule-card__text {
  font-size: 0.92rem;
  color: var(--fg-muted);
  line-height: 1.6;
}

.rule-card__text strong {
  color: var(--accent-dark);
}

/* Controls guide */
.controls-guide {
  background: var(--white);
  border-radius: var(--radius);
  padding: 36px 32px;
  border: 2px solid rgba(94, 191, 160, 0.1);
  box-shadow: var(--shadow-card);
  max-width: 700px;
  margin: 0 auto;
}

.controls-guide__title {
  text-align: center;
  font-size: 1.2rem;
  font-weight: 700;
  color: var(--fg);
  margin-bottom: 28px;
}

.controls-guide__grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
}

.control-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
  padding: 16px 20px;
  background: var(--accent-bg);
  border-radius: var(--radius-sm);
}

.control-item__key {
  font-weight: 700;
  color: var(--fg);
  font-size: 0.95rem;
}

.control-item__desc {
  font-size: 0.88rem;
  color: var(--fg-muted);
  line-height: 1.5;
}

/* ===== CTA ===== */
.cta-card {
  background: linear-gradient(145deg, #F5FBF8 0%, #DFF3EA 100%);
  border-radius: var(--radius-lg);
  padding: 60px 40px;
  text-align: center;
  border: 2px solid rgba(94, 191, 160, 0.2);
  box-shadow: var(--shadow-lg), inset 0 0 0 1px rgba(255, 255, 255, 0.8);
  max-width: 600px;
  margin: 0 auto;
  position: relative;
  overflow: hidden;
}

.cta-card::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 184, 77, 0.1) 0%, transparent 50%),
              radial-gradient(circle at 70% 70%, rgba(94, 191, 160, 0.08) 0%, transparent 50%);
  animation: ctaShimmer 8s ease-in-out infinite;
  pointer-events: none;
}

@keyframes ctaShimmer {
  0%, 100% { transform: translate(0, 0) rotate(0deg); }
  50% { transform: translate(-8%, -8%) rotate(3deg); }
}

.cta-card__emoji {
  font-size: 3.5rem;
  line-height: 1;
  margin-bottom: 16px;
  position: relative;
  z-index: 1;
  animation: ctaBounce 2s ease-in-out infinite;
}

.cta-card__stars {
  font-size: 1.3rem;
  letter-spacing: 4px;
  margin-bottom: 20px;
  position: relative;
  z-index: 1;
  animation: starsShine 2s ease-in-out infinite;
}

@keyframes starsShine {
  0%, 100% { opacity: 1; transform: scale(1); }
  50% { opacity: 0.8; transform: scale(1.1); }
}

@keyframes ctaBounce {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-10px); }
}

.cta-card__title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  font-weight: 800;
  color: var(--fg);
  margin-bottom: 12px;
  position: relative;
  z-index: 1;
  letter-spacing: -0.5px;
}

.cta-card__text {
  font-size: 1rem;
  color: var(--fg-muted);
  margin-bottom: 32px;
  position: relative;
  z-index: 1;
  max-width: 400px;
  margin-left: auto;
  margin-right: auto;
}

/* ===== Footer ===== */
.footer {
  text-align: center;
  padding: 40px 24px;
  border-top: 1px solid rgba(94, 191, 160, 0.12);
}

.footer__brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  font-weight: 700;
  color: var(--fg);
  font-size: 1.1rem;
  margin-bottom: 8px;
}

.footer__logo {
  width: 32px;
  height: 32px;
  border-radius: 8px;
  object-fit: cover;
}

.footer__copy {
  font-size: 0.85rem;
  color: var(--fg-subtle);
  margin-bottom: 16px;
}

.footer__links {
  display: flex;
  justify-content: center;
  gap: 24px;
  flex-wrap: wrap;
}

.footer__link {
  font-size: 0.85rem;
  color: var(--fg-muted);
  text-decoration: none;
  transition: color var(--transition);
}

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

/* ===== Responsive ===== */
@media (max-width: 900px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 40px;
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 40px;
  }

  .hero__content {
    order: 1;
  }

  .hero__visual {
    order: 0;
  }

  .hero__stats {
    justify-content: center;
  }

  .hero__actions {
    justify-content: center;
  }

  .hero__subtitle {
    margin-left: auto;
    margin-right: auto;
  }

  .section {
    padding: 60px 20px;
  }

  .features-zigzag {
    gap: 40px;
  }

  .feature-row {
    gap: 32px;
  }
}

@media (max-width: 640px) {
  .hero__title {
    font-size: 2.4rem;
  }

  .paw-trail {
    display: none;
  }

  .levels-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
  }

  .level-card {
    padding: 16px 10px;
  }

  .level-card__icon {
    font-size: 2rem;
  }

  .feature-row {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .feature-row--reverse {
    direction: ltr;
  }

  .feature-row__content {
    align-items: center;
  }

  .feature-row__text {
    max-width: 100%;
  }

  .features-mini {
    grid-template-columns: repeat(2, 1fr);
  }

  .rules {
    grid-template-columns: 1fr;
  }


  .controls-guide {
    padding: 24px 20px;
  }

  .cta-card {
    padding: 40px 24px;
  }
}
