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

:root {
  --orange: #FF8C42;
  --orange-light: #FFB347;
  --orange-dark: #E06B10;
  --cream: #FFF8F0;
  --cream-dark: #FFF0E0;
  --pink: #FFB4C2;
  --pink-light: #FFD4DE;
  --brown: #8B5E3C;
  --brown-dark: #5C3D2E;
  --text: #3D2B1F;
  --text-light: #7A6355;
  --white: #FFFFFF;
  --shadow: 0 4px 24px rgba(139, 94, 60, 0.12);
  --shadow-lg: 0 8px 40px rgba(139, 94, 60, 0.18);
  --radius: 16px;
  --radius-sm: 10px;
  --transition: 0.3s ease;
}

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

body {
  font-family: 'Nunito', -apple-system, BlinkMacSystemFont, sans-serif;
  color: var(--text);
  background: var(--cream);
  line-height: 1.7;
  overflow-x: hidden;
  position: relative;
}

.container {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px;
}

h1, h2, h3 {
  font-family: 'Baloo 2', 'Nunito', sans-serif;
  line-height: 1.3;
}

a { color: var(--orange-dark); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--orange); }

img { max-width: 100%; height: auto; }

/* ===== Floating Paw Prints ===== */
.paw-bg {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.paw {
  position: absolute;
  font-size: 2rem;
  opacity: 0.06;
  animation: floatPaw 20s linear infinite;
}

.p1 { left: 5%; top: -5%; animation-delay: 0s; font-size: 2.5rem; }
.p2 { left: 15%; top: -5%; animation-delay: 3s; font-size: 1.8rem; }
.p3 { left: 30%; top: -5%; animation-delay: 6s; font-size: 3rem; }
.p4 { left: 50%; top: -5%; animation-delay: 9s; font-size: 2rem; }
.p5 { left: 65%; top: -5%; animation-delay: 12s; font-size: 2.8rem; }
.p6 { left: 80%; top: -5%; animation-delay: 15s; font-size: 1.5rem; }
.p7 { left: 90%; top: -5%; animation-delay: 4s; font-size: 2.2rem; }
.p8 { left: 42%; top: -5%; animation-delay: 18s; font-size: 1.6rem; }

@keyframes floatPaw {
  0% { transform: translateY(-50px) rotate(0deg); opacity: 0; }
  10% { opacity: 0.06; }
  90% { opacity: 0.06; }
  100% { transform: translateY(110vh) rotate(360deg); opacity: 0; }
}

/* ===== Navigation ===== */
.nav {
  position: fixed;
  top: 0; left: 0; right: 0;
  z-index: 1000;
  background: rgba(255, 248, 240, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border-bottom: 2px solid rgba(255, 140, 66, 0.15);
  padding: 0 0;
}

.nav-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  height: 64px;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 20px;
}

.nav-logo {
  display: flex;
  align-items: center;
  gap: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange-dark);
}

.nav-logo:hover { color: var(--orange); }

.logo-icon {
  font-size: 1.6rem;
  display: inline-block;
  animation: catWiggle 3s ease-in-out infinite;
}

@keyframes catWiggle {
  0%, 100% { transform: rotate(0deg); }
  25% { transform: rotate(-8deg); }
  75% { transform: rotate(8deg); }
}

.nav-links {
  display: flex;
  list-style: none;
  gap: 8px;
}

.nav-links a {
  padding: 8px 16px;
  border-radius: 999px;
  font-weight: 700;
  font-size: 0.9rem;
  color: var(--text);
  transition: all var(--transition);
}

.nav-links a:hover {
  background: var(--orange);
  color: var(--white);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2.5px;
  background: var(--brown);
  border-radius: 4px;
  transition: all var(--transition);
}

.nav-toggle.active span:nth-child(1) { transform: rotate(45deg) translate(5px, 5px); }
.nav-toggle.active span:nth-child(2) { opacity: 0; }
.nav-toggle.active span:nth-child(3) { transform: rotate(-45deg) translate(5px, -5px); }

/* ===== Hero ===== */
/* ===== Hero Split: Game (left) + Banner (right) ===== */
.hero-split {
  position: relative;
  padding: 84px 20px 32px;
  background: linear-gradient(170deg, var(--cream) 0%, var(--cream-dark) 50%, var(--pink-light) 100%);
  overflow: hidden;
}

.hero-split-grid {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
  gap: 28px;
  align-items: stretch;
}

.hero-split-left {
  min-width: 0;
  display: flex;
}

.hero-split-right {
  display: flex;
  flex-direction: column;
  gap: 20px;
  min-width: 0;
  min-height: 0;
  /* Match the game iframe height exactly so the sidebar never overflows the left column.
     Game uses aspect-ratio 16/10, capped at calc(100vh - 120px), min 460px. */
  height: 100%;
  max-height: calc(100vh - 120px);
  overflow-y: auto;
  padding-right: 8px;
  scrollbar-gutter: stable;
  scrollbar-width: thin;
  scrollbar-color: var(--orange-light) transparent;
}
.hero-split-right::-webkit-scrollbar { width: 6px; }
.hero-split-right::-webkit-scrollbar-thumb {
  background: var(--orange-light);
  border-radius: 999px;
}

.hero-banner {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px 28px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 140, 66, 0.15);
  display: flex;
  flex-direction: column;
  width: 100%;
  position: relative;
}

.hero-badge {
  display: inline-block;
  align-self: flex-start;
  background: var(--cream);
  border: 2px solid var(--orange-light);
  padding: 6px 18px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: var(--orange-dark);
  margin-bottom: 22px;
}

.hero-title {
  font-size: clamp(2rem, 3vw, 3rem);
  font-weight: 900;
  color: var(--brown-dark);
  line-height: 1.08;
  margin-bottom: 18px;
}

.hero-cat {
  display: inline-block;
  animation: catBounce 2s ease-in-out infinite;
  margin-right: 4px;
}

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

.hero-subtitle {
  font-size: 1.02rem;
  color: var(--text);
  line-height: 1.6;
  margin-bottom: 28px;
}

.hero-cta {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  padding: 15px 32px;
  border-radius: 999px;
  box-shadow: 0 6px 24px rgba(255, 140, 66, 0.4);
  transition: all var(--transition);
  text-decoration: none;
  width: 100%;
  margin-bottom: 14px;
}

.hero-cta:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 32px rgba(255, 140, 66, 0.5);
  color: var(--white);
}

.cta-icon { font-size: 1.35rem; }

.hero-note {
  font-size: 0.82rem;
  color: var(--text-light);
  opacity: 0.75;
  text-align: center;
  margin: 0;
}

/* ===== Game Frame (aspect-ratio driven) ===== */
.game-frame-container {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 10;
  max-height: calc(100vh - 120px);
  min-height: 460px;
  background: #000;
  border-radius: var(--radius);
  overflow: hidden;
  border: 3px solid var(--orange);
  box-shadow: 0 12px 48px rgba(139, 94, 60, 0.25);
}

.game-frame {
  display: block;
  width: 100%;
  height: 100%;
  border: none;
}

/* ===== Loading overlay (hides as soon as iframe fires load) ===== */
.game-loading {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, #2a1a12 0%, #3d2b1f 100%);
  color: var(--cream);
  transition: opacity 0.45s ease, visibility 0.45s ease;
  pointer-events: none;
}

.game-loading.is-hidden {
  opacity: 0;
  visibility: hidden;
}

.game-loading-inner {
  text-align: center;
  padding: 24px 20px;
  max-width: 440px;
}

.game-loading-cat {
  font-size: 3.6rem;
  animation: catBounce 1.4s ease-in-out infinite;
  margin-bottom: 14px;
}

.game-loading-text {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 14px;
}

.game-loading-text strong {
  color: var(--orange-light);
}

.game-loading-bar {
  position: relative;
  height: 6px;
  width: 180px;
  max-width: 70%;
  margin: 0 auto 14px;
  background: rgba(255, 255, 255, 0.12);
  border-radius: 999px;
  overflow: hidden;
}

.game-loading-bar > span {
  position: absolute;
  inset: 0;
  width: 40%;
  background: linear-gradient(90deg, var(--orange), var(--orange-light));
  border-radius: 999px;
  animation: loadingSlide 1.2s ease-in-out infinite;
}

@keyframes loadingSlide {
  0%   { left: -40%; }
  100% { left: 100%; }
}

.game-loading-hint {
  font-size: 0.82rem;
  color: rgba(255, 248, 240, 0.75);
  line-height: 1.5;
}

.game-loading-hint b {
  color: var(--orange-light);
  font-weight: 800;
}

/* ===== Player Notes (fan-site style review board) ===== */
.player-notes {
  background: var(--white);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 140, 66, 0.15);
  padding: 24px 22px 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.pn-heading {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin: 0;
}

.pn-average {
  background: var(--cream);
  border: 1.5px solid var(--orange-light);
  border-radius: 12px;
  padding: 10px 14px;
  font-size: 0.95rem;
  color: var(--brown-dark);
}
.pn-average strong { margin-right: 6px; }
.pn-average #pnAvg { color: var(--orange-dark); font-weight: 800; }
.pn-average .pn-count {
  color: var(--text-light);
  font-weight: 600;
  margin-left: 4px;
}

.pn-list-wrap {
  border: 1.5px solid rgba(139, 94, 60, 0.12);
  border-radius: 12px;
  padding: 14px 16px 4px;
}

.pn-list-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  color: var(--text-light);
  margin-bottom: 10px;
}

.pn-list {
  list-style: none;
  margin: 0;
  padding: 0;
}

.pn-item {
  padding: 12px 0 14px;
  border-top: 1px solid rgba(139, 94, 60, 0.08);
}
.pn-item:first-child { border-top: none; padding-top: 2px; }

.pn-item-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-bottom: 6px;
}

.pn-name {
  font-weight: 800;
  font-size: 0.95rem;
  color: var(--brown-dark);
  overflow-wrap: anywhere;
}

.pn-stars {
  font-size: 0.95rem;
  color: #f5a524;
  letter-spacing: 1px;
  white-space: nowrap;
  flex-shrink: 0;
}
.pn-stars-empty { color: rgba(139, 94, 60, 0.25); }

.pn-note {
  margin: 0 0 6px;
  padding-left: 10px;
  border-left: 3px solid var(--orange-light);
  color: var(--text);
  font-size: 0.9rem;
  line-height: 1.55;
  overflow-wrap: anywhere;
}

.pn-date {
  display: block;
  font-size: 0.72rem;
  color: var(--text-light);
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

/* ----- Form ----- */
.pn-form {
  border: 1.5px solid rgba(139, 94, 60, 0.14);
  border-radius: 12px;
  padding: 16px 16px 18px;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.pn-form-title {
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  color: var(--brown-dark);
  margin: 0 0 2px;
  padding-bottom: 10px;
  border-bottom: 1px solid rgba(139, 94, 60, 0.1);
}

.pn-row-2col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.pn-field {
  display: flex;
  flex-direction: column;
  gap: 5px;
  min-width: 0;
}

.pn-label {
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-light);
}
.pn-label em {
  color: #e64a4a;
  font-style: normal;
  margin-left: 2px;
}
.pn-label small {
  font-size: 0.7rem;
  color: var(--text-light);
  text-transform: none;
  letter-spacing: 0;
  font-weight: 600;
  margin-left: 2px;
}

.pn-field input,
.pn-field select,
.pn-field textarea {
  font-family: inherit;
  font-size: 0.9rem;
  color: var(--text);
  background: #fafafa;
  border: 1.5px solid rgba(139, 94, 60, 0.18);
  border-radius: 8px;
  padding: 9px 11px;
  transition: border-color var(--transition), box-shadow var(--transition);
  width: 100%;
  min-width: 0;
}
.pn-field textarea {
  resize: vertical;
  min-height: 72px;
  line-height: 1.5;
}
.pn-field select {
  cursor: pointer;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%238B5E3C' d='M6 8 0 0h12z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 12px center;
  padding-right: 32px;
}
.pn-field input::placeholder,
.pn-field textarea::placeholder {
  color: rgba(122, 99, 85, 0.55);
}
.pn-field input:focus,
.pn-field select:focus,
.pn-field textarea:focus {
  outline: none;
  border-color: var(--orange);
  box-shadow: 0 0 0 3px rgba(255, 140, 66, 0.18);
}

.pn-submit {
  margin-top: 4px;
  background: var(--brown-dark);
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  font-size: 1rem;
  font-weight: 800;
  padding: 12px 18px;
  border: none;
  border-radius: 10px;
  cursor: pointer;
  transition: transform var(--transition), background var(--transition), box-shadow var(--transition);
}
.pn-submit:hover {
  background: #3d2a1c;
  transform: translateY(-1px);
  box-shadow: 0 6px 18px rgba(60, 40, 28, 0.25);
}
.pn-submit:active { transform: translateY(0); }

.pn-form-status {
  font-size: 0.85rem;
  margin: 0;
  min-height: 1.2em;
}
.pn-form-status.is-ok    { color: #1f8a5a; }
.pn-form-status.is-error { color: #c04040; }

.game-controls {
  position: absolute;
  bottom: 12px;
  right: 12px;
  display: flex;
  gap: 8px;
}

.ctrl-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  border: none;
  background: rgba(255, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.8);
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition);
  backdrop-filter: blur(8px);
}

.ctrl-btn:hover {
  background: rgba(255, 140, 66, 0.6);
  color: var(--white);
  transform: scale(1.1);
}

/* ===== Content Sections ===== */
.content-section {
  position: relative;
  z-index: 1;
  padding: 80px 0;
}

.content-section.alt-bg {
  background: var(--cream-dark);
}

.section-icon {
  text-align: center;
  font-size: 2.5rem;
  margin-bottom: 8px;
}

.content-section h2 {
  text-align: center;
  font-size: clamp(1.6rem, 4vw, 2.2rem);
  color: var(--brown-dark);
  margin-bottom: 32px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-light);
  max-width: 600px;
  margin: -16px auto 32px;
  font-size: 1rem;
}

.content-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 32px;
  box-shadow: var(--shadow);
  border: 2px solid rgba(255, 140, 66, 0.1);
}

.content-card p {
  margin-bottom: 16px;
}

.content-card p:last-child { margin-bottom: 0; }

/* ===== Steps Grid ===== */
.steps-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
}

.step-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all var(--transition);
  position: relative;
}

.step-card:hover {
  border-color: var(--orange-light);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.step-number {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--orange), var(--orange-dark));
  color: var(--white);
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.2rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 14px;
}

.step-card h3 {
  font-size: 1.1rem;
  margin-bottom: 8px;
  color: var(--brown-dark);
}

.step-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ===== Features Grid ===== */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 20px;
}

.feature-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 28px 24px;
  box-shadow: var(--shadow);
  border: 2px solid transparent;
  transition: all var(--transition);
  text-align: center;
}

.feature-card:hover {
  border-color: var(--pink);
  transform: translateY(-4px);
  box-shadow: var(--shadow-lg);
}

.feature-icon {
  font-size: 2.2rem;
  margin-bottom: 12px;
}

.feature-card h3 {
  font-size: 1.1rem;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.feature-card p {
  font-size: 0.92rem;
  color: var(--text-light);
}

/* ===== Shame Grid ===== */
.shame-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 20px;
}

.shame-card {
  background: var(--white);
  border-radius: var(--radius);
  padding: 24px;
  box-shadow: var(--shadow);
  border-left: 4px solid var(--orange);
  transition: all var(--transition);
}

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

.shame-card h3 {
  font-size: 1rem;
  color: var(--brown-dark);
  margin-bottom: 8px;
}

.shame-card p {
  font-size: 0.9rem;
  color: var(--text-light);
  margin-bottom: 12px;
}

.shame-tag {
  display: inline-block;
  background: var(--cream-dark);
  color: var(--orange-dark);
  font-size: 0.78rem;
  font-weight: 700;
  padding: 4px 12px;
  border-radius: 999px;
}

/* ===== Tips ===== */
.tips-card {
  border-left: 4px solid var(--orange);
}

.tips-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.tips-list li {
  padding-left: 28px;
  position: relative;
  font-size: 0.95rem;
}

.tips-list li::before {
  content: '🐾';
  position: absolute;
  left: 0;
  top: 0;
}

/* ===== FAQ ===== */
.faq-list {
  max-width: 720px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.faq-item {
  background: var(--white);
  border-radius: var(--radius-sm);
  box-shadow: var(--shadow);
  overflow: hidden;
  border: 2px solid transparent;
  transition: border-color var(--transition);
}

.faq-item[open] {
  border-color: var(--orange-light);
}

.faq-item summary {
  padding: 18px 24px;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--brown-dark);
  transition: background var(--transition);
}

.faq-item summary:hover {
  background: var(--cream);
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::marker { display: none; content: ''; }

.faq-item summary::after {
  content: '+';
  font-size: 1.4rem;
  font-weight: 800;
  color: var(--orange);
  transition: transform var(--transition);
  flex-shrink: 0;
  margin-left: 16px;
}

.faq-item[open] summary::after {
  transform: rotate(45deg);
}

.faq-item p {
  padding: 0 24px 18px;
  color: var(--text-light);
  font-size: 0.95rem;
  line-height: 1.7;
}

/* ===== CTA Section ===== */
.cta-section {
  text-align: center;
  padding: 80px 20px;
  background: linear-gradient(170deg, var(--cream-dark) 0%, var(--pink-light) 100%);
  position: relative;
  z-index: 1;
}

.cta-cat {
  font-size: 4rem;
  margin-bottom: 12px;
  animation: catBounce 2s ease-in-out infinite;
}

.cta-section h2 {
  font-size: clamp(1.8rem, 5vw, 2.5rem);
  color: var(--brown-dark);
  margin-bottom: 12px;
}

.cta-section p {
  color: var(--text-light);
  margin-bottom: 24px;
}

.cta-quote {
  margin-top: 24px;
  font-style: italic;
  font-size: 0.9rem;
  opacity: 0.6;
}

/* ===== Footer ===== */
.footer {
  background: var(--brown-dark);
  color: rgba(255, 255, 255, 0.7);
  padding: 48px 20px 32px;
  position: relative;
  z-index: 1;
}

.footer-inner {
  text-align: center;
}

.footer-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-family: 'Baloo 2', sans-serif;
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--orange-light);
  margin-bottom: 12px;
}

.footer-desc {
  max-width: 500px;
  margin: 0 auto 20px;
  font-size: 0.85rem;
  line-height: 1.6;
}

.footer-links {
  display: flex;
  justify-content: center;
  gap: 20px;
  margin-bottom: 20px;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.9rem;
  font-weight: 600;
  transition: color var(--transition);
}

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

.footer-copy {
  font-size: 0.8rem;
  opacity: 0.5;
}

/* ============================================
   Responsive — Hero Split Layout
   ≥ 1400px       : 3fr + 2fr (true 60/40)
   1100–1399px    : 1fr + 380px (laptop, ~65/35)
   900–1099px     : 1fr + 320px (small laptop)
   ≤ 899px        : stacked — game on top, banner below
   ≤ 640px        : mobile — hamburger nav, compact
   ≤ 380px        : small phones
   Landscape phones: compact
   ============================================ */

/* ----- Extra-wide desktop ≥ 1400px (true 60/40) ----- */
@media (min-width: 1400px) {
  .hero-split {
    padding: 92px 32px 40px;
  }
  .hero-split-grid {
    grid-template-columns: minmax(0, 3fr) minmax(0, 2fr);
    gap: 32px;
  }
  .hero-banner {
    padding: 48px 40px;
  }
  .hero-title {
    font-size: clamp(2.4rem, 2.6vw, 3rem);
  }
}

/* ----- Laptop 1100–1399px: slightly heavier game (65/35) to keep iframe readable ----- */
@media (min-width: 1100px) and (max-width: 1399px) {
  .hero-split-grid {
    grid-template-columns: minmax(0, 1fr) 380px;
    gap: 24px;
  }
  .hero-banner {
    padding: 34px 28px;
  }
  .hero-title {
    font-size: clamp(1.8rem, 2.4vw, 2.4rem);
  }
}

/* ----- Small laptop / tablet landscape 900–1099px: narrower sidebar ----- */
@media (min-width: 900px) and (max-width: 1099px) {
  .hero-split {
    padding: 80px 18px 30px;
  }
  .hero-split-grid {
    grid-template-columns: minmax(0, 1fr) 320px;
    gap: 20px;
  }
  .hero-banner {
    padding: 28px 22px;
  }
  .hero-badge {
    font-size: 0.78rem;
    margin-bottom: 16px;
  }
  .hero-title {
    font-size: clamp(1.6rem, 2.6vw, 2rem);
    margin-bottom: 14px;
  }
  .hero-subtitle {
    font-size: 0.95rem;
    margin-bottom: 20px;
  }
  .hero-cta {
    font-size: 1.08rem;
    padding: 13px 24px;
  }
  .game-frame-container {
    min-height: 420px;
  }
  .player-notes {
    padding: 20px 18px 18px;
  }
  .pn-list-wrap {
    padding: 12px 12px 2px;
  }
}

/* ----- Stacked: ≤ 899px — game on top, banner below ----- */
@media (max-width: 899px) {
  .hero-split {
    padding: 84px 20px 32px;
  }
  .hero-split-grid {
    grid-template-columns: 1fr;
    max-width: 820px;
    gap: 22px;
  }
  .hero-split-left {
    position: static;
  }
  .hero-split-right {
    width: 100%;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }
  .hero-banner {
    padding: 32px 28px;
    text-align: center;
    align-items: center;
  }
  .hero-badge {
    align-self: center;
  }
  .hero-title {
    font-size: clamp(2rem, 5vw, 2.6rem);
  }
  .hero-subtitle {
    max-width: 560px;
    margin-left: auto;
    margin-right: auto;
  }
  .hero-cta {
    max-width: 360px;
  }
  .game-frame-container {
    aspect-ratio: 16 / 10;
    min-height: 420px;
    max-height: calc(100vh - 140px);
  }
  .player-notes {
    text-align: left;
  }
  .content-section {
    padding: 70px 0;
  }
}

/* ----- Player notes: collapse form to single column on narrow sidebars ----- */
@media (max-width: 1199px) {
  .pn-row-2col {
    grid-template-columns: 1fr;
  }
}

/* ----- Mobile: ≤ 640px ----- */
@media (max-width: 640px) {
  .nav-inner {
    height: 56px;
    padding: 0 12px;
  }

  .nav-logo {
    font-size: 1.2rem;
  }

  .nav-links {
    position: fixed;
    top: 56px;
    left: 0;
    right: 0;
    background: var(--cream);
    flex-direction: column;
    padding: 12px 16px;
    gap: 2px;
    border-bottom: 2px solid rgba(255, 140, 66, 0.15);
    box-shadow: var(--shadow);
    transform: translateY(-120%);
    transition: transform var(--transition);
    z-index: 999;
    max-height: calc(100vh - 56px);
    overflow-y: auto;
  }

  .nav-links.open {
    transform: translateY(0);
  }

  .nav-links a {
    display: block;
    padding: 12px 16px;
    font-size: 0.95rem;
  }

  .nav-toggle {
    display: flex;
  }

  html {
    scroll-padding-top: 64px;
  }

  .container {
    padding: 0 16px;
  }

  /* Hero split */
  .hero-split {
    padding: 72px 14px 28px;
  }
  .hero-split-grid {
    gap: 18px;
  }
  .hero-banner {
    padding: 26px 20px;
    border-radius: 18px;
  }
  .hero-badge {
    font-size: 0.76rem;
    padding: 5px 14px;
    margin-bottom: 14px;
  }
  .hero-title {
    font-size: clamp(1.7rem, 6.5vw, 2.2rem);
    margin-bottom: 12px;
  }
  .hero-subtitle {
    font-size: 0.96rem;
    margin-bottom: 20px;
  }
  .hero-cta {
    font-size: 1.05rem;
    padding: 13px 26px;
    max-width: 100%;
  }
  .hero-note {
    font-size: 0.76rem;
  }

  /* Game */
  .game-frame-container {
    aspect-ratio: auto;
    height: 70vh;
    min-height: 380px;
    max-height: 560px;
    border-width: 2px;
    border-radius: 14px;
  }

  .ctrl-btn {
    width: 36px;
    height: 36px;
  }

  /* Content sections */
  .content-section {
    padding: 48px 0;
  }

  .content-section h2 {
    font-size: clamp(1.4rem, 5vw, 1.9rem);
    margin-bottom: 24px;
  }

  .section-icon {
    font-size: 2rem;
  }

  .content-card {
    padding: 22px 18px;
  }

  .content-card p {
    font-size: 0.95rem;
  }

  .steps-grid,
  .features-grid,
  .shame-grid {
    grid-template-columns: 1fr;
    gap: 14px;
  }

  .step-card,
  .feature-card,
  .shame-card {
    padding: 22px 18px;
  }

  .tips-list li {
    font-size: 0.92rem;
  }

  .faq-item summary {
    padding: 14px 18px;
    font-size: 0.94rem;
  }

  .faq-item p {
    padding: 0 18px 14px;
    font-size: 0.9rem;
  }

  .cta-section {
    padding: 60px 16px;
  }

  .cta-cat {
    font-size: 3rem;
  }

  .cta-quote {
    font-size: 0.82rem;
    padding: 0 8px;
  }

  .footer {
    padding: 40px 16px 24px;
  }

  .footer-desc {
    font-size: 0.82rem;
  }

  .footer-links {
    flex-wrap: wrap;
    gap: 12px;
  }
}

/* ----- Small phones ≤ 380px ----- */
@media (max-width: 380px) {
  .hero-title {
    font-size: 1.6rem;
  }

  .hero-subtitle {
    font-size: 0.9rem;
  }

  .hero-cta {
    font-size: 0.98rem;
    padding: 12px 20px;
  }

  .game-frame-container {
    height: 65vh;
    min-height: 340px;
  }

  .nav-logo .logo-text {
    font-size: 1.05rem;
  }
}

/* ----- Landscape phones: compact hero, game almost full screen ----- */
@media (max-width: 900px) and (orientation: landscape) and (max-height: 520px) {
  .hero-split {
    padding: 68px 16px 20px;
  }
  .hero-split-grid {
    gap: 14px;
  }
  .hero-banner {
    padding: 20px 20px;
  }
  .hero-title {
    font-size: 1.5rem;
    margin-bottom: 8px;
  }
  .hero-subtitle {
    margin-bottom: 14px;
  }
  .game-frame-container {
    aspect-ratio: auto;
    height: calc(100vh - 80px);
    min-height: 300px;
    max-height: none;
  }
}

/* ----- Reduced motion ----- */
@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
    scroll-behavior: auto !important;
  }

  .paw { display: none; }
}

/* ===== Fullscreen mode ===== */
.game-frame-container:fullscreen {
  border-radius: 0;
  border: none;
}

.game-frame-container:fullscreen .game-frame {
  height: 100vh;
}

.game-frame-container:-webkit-full-screen {
  border-radius: 0;
  border: none;
}

.game-frame-container:-webkit-full-screen .game-frame {
  height: 100vh;
}
