/* ==========================================================================
   Stretchy Dog - Interactive Indie Game Website Stylesheet
   Tactile Toybox Aesthetic • Warm, Relaxing, Delightful
   ========================================================================== */

:root {
  --bg-creamy: #F5EFEB;
  --bg-card: #FFFFFF;
  --bg-card-tint: #FAF6F0;
  --text-dark: #2B2623;
  --text-muted: #6E625A;
  --text-light: #9C8E84;
  
  --color-terracotta: #E76F51;
  --color-orange: #FF8A3D;
  --color-warm-gold: #FFB703;
  --color-grass-green: #38B000;
  --color-grass-green-shadow: #2B8600;
  --color-sky-blue: #4EA8DE;
  --color-soft-clay: #D5CABE;
  --color-rim-border: #BFB3A6;
  
  --font-heading: 'Fredoka', 'Nunito', -apple-system, sans-serif;
  --font-body: 'Nunito', -apple-system, sans-serif;
  --font-hand: 'Caveat', cursive, sans-serif;

  --shadow-toy: 0 5px 0 #C7BCAC;
  --shadow-toy-sm: 0 3px 0 #C7BCAC;
  --shadow-toy-active: 0 1px 0 #C7BCAC;
}

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

html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background-color: var(--bg-creamy);
  color: var(--text-dark);
  line-height: 1.6;
  overflow-x: hidden;
  background-image: 
    radial-gradient(#E2D8CC 1.5px, transparent 1.5px),
    radial-gradient(#E2D8CC 1.5px, #F5EFEB 1.5px);
  background-size: 32px 32px;
  background-position: 0 0, 16px 16px;
}

/* ==========================================================================
   Typography & Core Elements
   ========================================================================== */
h1, h2, h3, h4, .font-heading {
  font-family: var(--font-heading);
  font-weight: 800;
  line-height: 1.2;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

.handwritten {
  font-family: var(--font-hand);
  font-size: 1.35rem;
  font-weight: 700;
  color: #D95338;
}

/* ==========================================================================
   Cozy Vector SVG Icons - 100% Offline, Zero Ligature Dependency
   ========================================================================== */
.svg-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  vertical-align: middle;
  flex-shrink: 0;
}

.g-icon-terracotta { color: var(--color-terracotta); }
.g-icon-orange { color: var(--color-orange); }
.g-icon-gold { color: var(--color-warm-gold); }
.g-icon-green { color: var(--color-grass-green); }
.g-icon-dark { color: var(--text-dark); }
.g-icon-muted { color: var(--text-muted); }
.g-icon-light { color: var(--text-light); }

.g-icon-pill {
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.08);
}

/* ==========================================================================
   Tactile 3D Buttons & Controls
   ========================================================================== */
.btn-3d {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.5rem;
  padding: 0.85rem 1.6rem;
  border-radius: 9999px;
  font-family: var(--font-heading);
  font-weight: 800;
  font-size: 1.05rem;
  text-align: center;
  transition: transform 0.08s ease, box-shadow 0.08s ease;
  user-select: none;
  white-space: nowrap;
}

.btn-3d:active {
  transform: translateY(4px);
}

.btn-3d-green {
  background-color: var(--color-grass-green);
  color: #FFFFFF;
  box-shadow: 0 5px 0 var(--color-grass-green-shadow);
  border: 2px solid #2B8600;
}
.btn-3d-green:active {
  box-shadow: 0 1px 0 var(--color-grass-green-shadow);
}

.btn-3d-orange {
  background-color: var(--color-orange);
  color: #FFFFFF;
  box-shadow: 0 5px 0 #D4631B;
  border: 2px solid #D4631B;
}
.btn-3d-orange:active {
  box-shadow: 0 1px 0 #D4631B;
}

.btn-3d-neutral {
  background-color: #FFFFFF;
  color: var(--text-dark);
  box-shadow: 0 4px 0 #C7BCAC;
  border: 2px solid #D5CABE;
}
.btn-3d-neutral:hover {
  background-color: #FAF6F0;
  border-color: #B5A695;
}
.btn-3d-neutral:active {
  box-shadow: 0 1px 0 #C7BCAC;
}

.btn-3d-dark {
  background-color: var(--text-dark);
  color: #FFFFFF;
  box-shadow: 0 5px 0 #181513;
  border: 2px solid #181513;
}
.btn-3d-dark:active {
  box-shadow: 0 1px 0 #181513;
}

/* ==========================================================================
   Navigation Bar
   ========================================================================== */
.site-header {
  position: sticky;
  top: 1rem;
  z-index: 1000;
  max-width: 1140px;
  margin: 0.75rem auto 1.5rem auto;
  padding: 0 1rem;
}

.nav-pill {
  background: rgba(255, 255, 255, 0.92);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 2.5px solid var(--color-soft-clay);
  border-radius: 9999px;
  padding: 0.6rem 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  box-shadow: 0 6px 0 rgba(199, 188, 172, 0.5), 0 12px 24px rgba(43, 38, 35, 0.05);
}

.brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-size: 1.25rem;
  font-weight: 800;
  color: var(--text-dark);
}

.brand-icon {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: linear-gradient(135deg, #FF9E4A, #E76F51);
  display: flex;
  align-items: center;
  justify-content: center;
  border: 2px solid #FFFFFF;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.15);
  font-size: 1.4rem;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  list-style: none;
}

.nav-links a {
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-muted);
  transition: color 0.15s ease;
  position: relative;
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.audio-toggle-btn {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  background: #FFFFFF;
  border: 2px solid var(--color-soft-clay);
  box-shadow: 0 3px 0 #C7BCAC;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  transition: all 0.1s ease;
}
.audio-toggle-btn:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 #C7BCAC;
}
.audio-toggle-btn.active {
  background: #FFF2DF;
  border-color: var(--color-orange);
}

/* ==========================================================================
   Hero Section & Squishy Rex Physics Playground
   ========================================================================== */
.hero-section {
  max-width: 1140px;
  margin: 0 auto;
  padding: 1.5rem 1.25rem 3.5rem 1.25rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: 2.5rem;
  align-items: center;
}

.hero-tag {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  background-color: #FFF2DF;
  border: 2px solid #FFE0B2;
  color: #D4631B;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 1rem;
  box-shadow: 0 2px 0 rgba(212, 99, 27, 0.15);
}

.hero-title {
  font-size: clamp(2.5rem, 5vw, 3.8rem);
  color: var(--text-dark);
  margin-bottom: 1rem;
  line-height: 1.1;
  letter-spacing: -0.02em;
}

.hero-title .highlight {
  color: var(--color-orange);
  position: relative;
  display: inline-block;
}

.hero-title .highlight::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: 4px;
  width: 100%;
  height: 10px;
  background: rgba(255, 183, 3, 0.35);
  border-radius: 6px;
  z-index: -1;
}

.hero-desc {
  font-size: 1.15rem;
  color: var(--text-muted);
  margin-bottom: 1.75rem;
  max-width: 480px;
}

.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 0.85rem;
  margin-bottom: 2rem;
}

.hero-honest-pill {
  display: flex;
  align-items: center;
  gap: 1.5rem;
  padding-top: 1rem;
  border-top: 2px dashed #E2D8CC;
}

.honest-item {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}
.honest-item span.icon {
  font-size: 1.1rem;
}

/* Physics Toy Container */
.rex-physics-card {
  background: #FFFFFF;
  border: 3px solid var(--color-soft-clay);
  border-radius: 2rem;
  box-shadow: 0 10px 0 #C7BCAC, 0 20px 30px rgba(43, 38, 35, 0.06);
  padding: 1.25rem;
  position: relative;
}

.toy-header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 0.75rem;
  border-bottom: 2px dashed #EAE2D8;
  margin-bottom: 0.75rem;
}

.toy-title {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.95rem;
  font-weight: 800;
  color: var(--text-dark);
}

.canvas-wrapper {
  position: relative;
  width: 100%;
  height: 380px;
  background: #FAF6F0;
  border: 2px solid #EAE2D8;
  border-radius: 1.5rem;
  overflow: hidden;
  cursor: grab;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.04);
}
.canvas-wrapper:active {
  cursor: grabbing;
}

#rexPhysicsCanvas {
  display: block;
  width: 100%;
  height: 100%;
}

.toy-footer-status {
  margin-top: 0.75rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
}

.stretch-meter {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: #FFF2DF;
  padding: 0.3rem 0.75rem;
  border-radius: 9999px;
  color: #D4631B;
  border: 1.5px solid #FFE0B2;
}

/* ==========================================================================
   Section: Playable Room Sandbox (The Real Game Engine Teaser)
   ========================================================================== */
.section-wrapper {
  max-width: 1140px;
  margin: 3rem auto;
  padding: 0 1.25rem;
}

.section-head {
  text-align: center;
  margin-bottom: 2.5rem;
}

.section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #E8F5E9;
  border: 2px solid #C8E6C9;
  color: #2E7D32;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  margin-bottom: 0.75rem;
}

.section-title {
  font-size: clamp(2rem, 3.5vw, 2.75rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.section-sub {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* Room Sandbox Layout */
.sandbox-card {
  background: #FFFFFF;
  border: 3.5px solid var(--color-soft-clay);
  border-radius: 2.5rem;
  box-shadow: 0 12px 0 #C7BCAC, 0 24px 36px rgba(43, 38, 35, 0.05);
  padding: 2rem;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  gap: 2.5rem;
  align-items: center;
}

.room-selector {
  display: flex;
  gap: 0.5rem;
  margin-bottom: 1.25rem;
  flex-wrap: wrap;
}

.room-tab-btn {
  padding: 0.6rem 1.1rem;
  border-radius: 9999px;
  background: #FAF6F0;
  border: 2px solid #E2D8CC;
  box-shadow: 0 3px 0 #C7BCAC;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.1s ease;
}
.room-tab-btn:hover {
  background: #FFFFFF;
  color: var(--text-dark);
}
.room-tab-btn.active {
  background: #FFF2DF;
  border-color: var(--color-orange);
  color: #D4631B;
  box-shadow: 0 3px 0 #D4631B;
}

.puzzle-board-container {
  background: #F3EAE0;
  border: 3px solid #D5CABE;
  border-radius: 1.75rem;
  padding: 1rem;
  display: flex;
  flex-direction: column;
  align-items: center;
  box-shadow: inset 0 3px 8px rgba(0, 0, 0, 0.06);
}

.puzzle-hud {
  width: 100%;
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.85rem;
}

.hud-pill {
  background: #FFFFFF;
  border: 2px solid #D5CABE;
  padding: 0.35rem 0.85rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  box-shadow: 0 2px 0 rgba(0, 0, 0, 0.05);
}

.puzzle-grid {
  display: grid;
  gap: 7px;
  background: #E5D9CB;
  padding: 8px;
  border-radius: 1.25rem;
  border: 2px solid #D5CABE;
  touch-action: none;
}

.puzzle-cell {
  width: 60px;
  height: 60px;
  border-radius: 12px;
  background: #FAF6F0;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  font-size: 1.75rem;
  transition: all 0.15s ease;
  box-shadow: inset 0 2px 0 rgba(255, 255, 255, 0.8), 0 2px 0 rgba(0, 0, 0, 0.04);
}

.puzzle-cell.obstacle {
  background: #D8CCC0;
  border: 1.5px solid #C0B4A6;
  box-shadow: 0 3px 0 #ABA094;
}

.puzzle-cell.bone {
  background: #FFF9E6;
  border: 2px solid #FFE082;
}

.puzzle-cell.bed {
  background: #E8F5E9;
  border: 2px solid #A5D6A7;
}

.puzzle-cell.dog-body {
  background: #FF9E4A;
  border-radius: 14px;
  box-shadow: 0 3px 0 #D4631B;
}

.puzzle-cell.dog-head {
  background: #E76F51;
  border-radius: 16px;
  box-shadow: 0 3px 0 #B5472E;
  z-index: 10;
}

.puzzle-controls {
  margin-top: 1rem;
  display: flex;
  gap: 0.5rem;
  justify-content: center;
}

.d-pad-btn {
  width: 46px;
  height: 46px;
  border-radius: 12px;
  background: #FFFFFF;
  border: 2px solid #D5CABE;
  box-shadow: 0 4px 0 #C7BCAC;
  font-size: 1.25rem;
  font-weight: 900;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.08s ease;
}
.d-pad-btn:active {
  transform: translateY(3px);
  box-shadow: 0 1px 0 #C7BCAC;
}

/* Sandbox Info Side */
.sandbox-info h3 {
  font-size: 1.75rem;
  margin-bottom: 0.75rem;
}

.sandbox-info p {
  color: var(--text-muted);
  font-size: 1.05rem;
  margin-bottom: 1.25rem;
}

.sandbox-features-list {
  list-style: none;
  margin-bottom: 1.5rem;
  display: flex;
  flex-direction: column;
  gap: 0.75rem;
}

.sandbox-features-list li {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  font-weight: 700;
  font-size: 0.95rem;
  color: var(--text-dark);
}

.sandbox-features-list .check-icon {
  width: 24px;
  height: 24px;
  border-radius: 50%;
  background: #E8F5E9;
  color: var(--color-grass-green);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.85rem;
  font-weight: 900;
}

/* ==========================================================================
   Section: Puppy Boutique & Polaroid Photo Booth
   ========================================================================== */
.boutique-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 2rem;
  background: #FFFFFF;
  border: 3.5px solid var(--color-soft-clay);
  border-radius: 2.5rem;
  box-shadow: 0 12px 0 #C7BCAC;
  padding: 2.25rem;
  align-items: center;
}

.wardrobe-controls {
  display: flex;
  flex-direction: column;
  gap: 1.5rem;
}

.wardrobe-group-title {
  font-size: 0.95rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--text-light);
  margin-bottom: 0.5rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.pill-selector {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.pill-option {
  padding: 0.5rem 1rem;
  border-radius: 9999px;
  background: #FAF6F0;
  border: 2px solid #E2D8CC;
  box-shadow: 0 3px 0 #C7BCAC;
  font-weight: 800;
  font-size: 0.85rem;
  color: var(--text-muted);
  transition: all 0.1s ease;
  cursor: pointer;
}
.pill-option:hover {
  background: #FFFFFF;
}
.pill-option.active {
  background: #FFF2DF;
  border-color: var(--color-orange);
  color: #D4631B;
  box-shadow: 0 3px 0 #D4631B;
}

/* Polaroid Photo Card */
.polaroid-stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

.polaroid-frame {
  background: #FFFFFF;
  padding: 1.25rem 1.25rem 1.75rem 1.25rem;
  border-radius: 0.5rem;
  box-shadow: 0 16px 36px rgba(43, 38, 35, 0.12), 0 4px 0 #D5CABE;
  border: 1px solid #EFEAE3;
  transform: rotate(-2deg);
  transition: transform 0.25s ease;
  max-width: 340px;
  width: 100%;
  position: relative;
}
.polaroid-frame:hover {
  transform: rotate(0deg) scale(1.02);
}

.tape-strip {
  position: absolute;
  top: -14px;
  left: 50%;
  transform: translateX(-50%) rotate(3deg);
  width: 100px;
  height: 28px;
  background: rgba(255, 235, 178, 0.7);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.08);
  border: 1px dashed rgba(212, 163, 89, 0.4);
}

.polaroid-photo-screen {
  background: #FAF6F0;
  border: 2px solid #EAE2D8;
  border-radius: 0.35rem;
  width: 100%;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  overflow: hidden;
}

.polaroid-caption {
  margin-top: 1rem;
  text-align: center;
  font-family: var(--font-hand);
  font-size: 1.55rem;
  color: #2B2623;
  font-weight: 700;
  line-height: 1.2;
}

.polaroid-sub {
  text-align: center;
  font-size: 0.75rem;
  color: var(--text-light);
  font-weight: 700;
  margin-top: 0.2rem;
}

/* ==========================================================================
   Section: Authentic Developer Blueprint & Notes
   ========================================================================== */
.blueprint-card {
  background: #FFFFFF;
  border: 3.5px solid var(--color-soft-clay);
  border-radius: 2.5rem;
  box-shadow: 0 12px 0 #C7BCAC;
  padding: 2.5rem;
  background-image: 
    linear-gradient(#F0E9DF 1px, transparent 1px),
    linear-gradient(90deg, #F0E9DF 1px, transparent 1px);
  background-size: 24px 24px;
}

.blueprint-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
  gap: 1.75rem;
  margin-top: 1.5rem;
}

.blueprint-rule-card {
  background: rgba(255, 255, 255, 0.95);
  border: 2px solid #E2D8CC;
  border-radius: 1.5rem;
  padding: 1.5rem;
  box-shadow: 0 4px 0 #D5CABE;
  position: relative;
}

.rule-number {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 900;
  color: #E2D8CC;
  position: absolute;
  top: 0.75rem;
  right: 1.25rem;
  line-height: 1;
}

.rule-title {
  font-size: 1.2rem;
  margin-bottom: 0.5rem;
  color: var(--text-dark);
}

.rule-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
}

/* ==========================================================================
   Section: Genuine Download & Play Hub
   ========================================================================== */
.play-hub-banner {
  background: linear-gradient(135deg, #FF9E4A 0%, #E76F51 100%);
  border: 4px solid #C85338;
  border-radius: 3rem;
  box-shadow: 0 14px 0 #A83E28, 0 30px 50px rgba(231, 111, 81, 0.25);
  padding: 3.5rem 2rem;
  text-align: center;
  color: #FFFFFF;
  position: relative;
  overflow: hidden;
}

.play-hub-banner::before {
  content: '';
  position: absolute;
  top: -50px;
  right: -50px;
  width: 200px;
  height: 200px;
  background: rgba(255, 255, 255, 0.1);
  border-radius: 50%;
}

.play-hub-title {
  font-size: clamp(2.25rem, 4vw, 3.25rem);
  color: #FFFFFF;
  margin-bottom: 0.75rem;
}

.play-hub-sub {
  font-size: 1.2rem;
  max-width: 580px;
  margin: 0 auto 2rem auto;
  opacity: 0.95;
}

.play-hub-actions {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 1rem;
  margin-bottom: 2rem;
}

/* ==========================================================================
   Founder's Pre-Registration Reward Banner & Cards
   ========================================================================== */
.founder-reward-banner {
  background: linear-gradient(135deg, #FFFDF8 0%, #FFF4E5 100%);
  border: 2.5px solid #FFD166;
  border-radius: 1.5rem;
  padding: 1.1rem 1.35rem;
  margin-top: 1.25rem;
  margin-bottom: 1.5rem;
  box-shadow: 0 6px 0 rgba(220, 160, 40, 0.2), 0 10px 20px rgba(0, 0, 0, 0.04);
  position: relative;
  max-width: 490px;
}

.founder-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  background: #FFF0C2;
  border: 1.5px solid #FFB703;
  color: #8C4400;
  padding: 0.25rem 0.65rem;
  border-radius: 9999px;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  margin-bottom: 0.65rem;
}

.founder-items {
  display: flex;
  align-items: center;
  gap: 0.6rem;
  flex-wrap: wrap;
}

.founder-item-pill {
  background: #FFFFFF;
  border: 2px solid #EAD8C7;
  border-radius: 1rem;
  padding: 0.45rem 0.75rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.04);
}

.founder-item-emoji {
  font-size: 1.4rem;
  line-height: 1;
}

.founder-item-pill strong {
  display: block;
  font-size: 0.88rem;
  color: #2B2623;
  line-height: 1.2;
}

.founder-item-pill small {
  display: block;
  font-size: 0.72rem;
  color: #8F8177;
  font-weight: 700;
}

.founder-plus {
  font-size: 1.2rem;
  font-weight: 900;
  color: #FF8A3D;
}

.founder-sub {
  font-size: 0.82rem;
  color: #6E625A;
  font-weight: 700;
  margin: 0.6rem 0 0 0;
  line-height: 1.35;
}

/* Play Hub Founder Card */
.founder-card-hub {
  background: rgba(255, 255, 255, 0.95);
  border: 3px solid #FFD166;
  border-radius: 1.75rem;
  padding: 1.5rem;
  max-width: 620px;
  margin: 0 auto 2.25rem auto;
  color: #2B2623;
  box-shadow: 0 8px 0 rgba(168, 62, 40, 0.3), 0 16px 32px rgba(0, 0, 0, 0.12);
}

.founder-card-header {
  display: inline-flex;
  align-items: center;
  gap: 0.45rem;
  background: #FFF0C2;
  border: 1.5px solid #FFB703;
  color: #8C4400;
  padding: 0.35rem 0.9rem;
  border-radius: 9999px;
  font-size: 0.85rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  margin-bottom: 1rem;
}

.founder-perks-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.85rem;
  flex-wrap: wrap;
  margin-bottom: 0.85rem;
}

.founder-perk {
  background: #FFFDF8;
  border: 2px solid #EAD8C7;
  border-radius: 1.15rem;
  padding: 0.65rem 1rem;
  display: flex;
  align-items: center;
  gap: 0.65rem;
  text-align: left;
  box-shadow: 0 3px 0 rgba(0, 0, 0, 0.05);
}

.founder-perk-icon {
  font-size: 1.8rem;
  line-height: 1;
}

.founder-perk strong {
  display: block;
  font-size: 0.95rem;
  color: #2B2623;
}

.founder-perk p {
  margin: 0;
  font-size: 0.78rem;
  color: #8F8177;
  font-weight: 700;
}

.founder-perk-divider {
  font-size: 1.5rem;
  font-weight: 900;
  color: #FF8A3D;
}

.founder-card-footnote {
  font-size: 0.85rem;
  color: #6E625A;
  font-weight: 700;
  background: #F8F5F0;
  padding: 0.5rem 0.85rem;
  border-radius: 0.75rem;
  margin-top: 0.35rem;
}

/* ==========================================================================
   Footer
   ========================================================================== */
.site-footer {
  max-width: 1140px;
  margin: 4rem auto 2rem auto;
  padding: 0 1.25rem;
  text-align: center;
  color: var(--text-light);
  font-size: 0.9rem;
}

.footer-nav {
  display: flex;
  justify-content: center;
  gap: 1.5rem;
  margin-bottom: 1rem;
  font-weight: 700;
  color: var(--text-muted);
}
.footer-nav a:hover {
  color: var(--color-orange);
}

/* ==========================================================================
   Responsive Adaptations
   ========================================================================== */
@media (max-width: 900px) {
  .hero-section {
    grid-template-columns: 1fr;
    text-align: center;
    gap: 2rem;
  }
  .hero-desc {
    margin-left: auto;
    margin-right: auto;
  }
  .hero-ctas {
    justify-content: center;
  }
  .hero-honest-pill {
    justify-content: center;
  }
  .sandbox-card {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .boutique-grid {
    grid-template-columns: 1fr;
    padding: 1.5rem;
  }
  .nav-links {
    display: none;
  }
}

@media (max-width: 600px) {
  .canvas-wrapper {
    height: 300px;
  }
  .puzzle-cell {
    width: 48px;
    height: 48px;
    font-size: 1.4rem;
  }
  .play-hub-banner {
    padding: 2.5rem 1.25rem;
  }
}

/* ==========================================================================
   Legal & Store Policy Pages (Privacy Policy, Terms, Data Deletion)
   ========================================================================== */
.legal-wrapper {
  max-width: 900px;
  margin: 2rem auto 4rem auto;
  padding: 0 1.25rem;
}

.legal-card {
  background: #FFFFFF;
  border: 3.5px solid var(--color-soft-clay);
  border-radius: 2.5rem;
  box-shadow: 0 12px 0 #C7BCAC, 0 24px 36px rgba(43, 38, 35, 0.05);
  padding: 3rem 2.5rem;
}

.legal-header {
  border-bottom: 2.5px dashed #E2D8CC;
  padding-bottom: 1.75rem;
  margin-bottom: 2rem;
}

.legal-header h1 {
  font-size: clamp(2rem, 4vw, 2.75rem);
  color: var(--text-dark);
  margin-bottom: 0.5rem;
}

.legal-meta {
  display: flex;
  flex-wrap: wrap;
  gap: 1.25rem;
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--text-muted);
}

.legal-highlight-box {
  background: #FFF9E6;
  border: 2px solid #FFE082;
  border-radius: 1.25rem;
  padding: 1.25rem 1.5rem;
  margin-bottom: 2rem;
  font-size: 0.95rem;
  color: #7A5700;
}

.legal-highlight-box strong {
  display: block;
  font-size: 1.05rem;
  margin-bottom: 0.35rem;
  color: #593F00;
}

.legal-section {
  margin-bottom: 2.25rem;
}

.legal-section h2 {
  font-size: 1.45rem;
  color: var(--text-dark);
  margin-bottom: 0.85rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.legal-section p {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.7;
  margin-bottom: 1rem;
}

.legal-section ul, .legal-section ol {
  margin-left: 1.5rem;
  margin-bottom: 1rem;
  color: var(--text-muted);
}

.legal-section li {
  margin-bottom: 0.5rem;
  line-height: 1.6;
}

.legal-table-wrap {
  overflow-x: auto;
  margin: 1.25rem 0;
  border: 2px solid #E2D8CC;
  border-radius: 1rem;
}

.legal-table {
  width: 100%;
  border-collapse: collapse;
  text-align: left;
  font-size: 0.9rem;
}

.legal-table th {
  background: #FAF6F0;
  padding: 0.85rem 1rem;
  font-weight: 800;
  color: var(--text-dark);
  border-bottom: 2px solid #E2D8CC;
}

.legal-table td {
  padding: 0.85rem 1rem;
  border-bottom: 1px solid #EFE8DF;
  color: var(--text-muted);
}

.legal-table tr:last-child td {
  border-bottom: none;
}

.contact-pill-box {
  background: #FAF6F0;
  border: 2px solid #E2D8CC;
  border-radius: 1.25rem;
  padding: 1.25rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

@media (max-width: 600px) {
  .legal-card {
    padding: 2rem 1.25rem;
  }
}

