@font-face {
  font-family: 'Fredoka';
  font-style: normal;
  font-weight: 500 700;
  font-display: swap;
  src: url('/play/assets/fonts/fredoka.woff2') format('woff2');
}

:root {
  --bg-cream: #fff7ec;
  --bg-blush: #ffeef2;
  --card-cream: #fffdf9;
  --cocoa: #432b24;
  --cocoa-soft: #6e4f45;
  --coral: #ff6b95;
  --coral-deep: #eb527d;
  --peach: #ff9e7d;
  --mint: #6cd4a0;
  --butter: #ffd966;
  --oak: #d99b66;
  --oak-border: #c5834d;
  --line: rgba(67, 43, 36, 0.14);
  --shadow-card: 0 10px 0 rgba(67, 43, 36, 0.10), 0 18px 36px rgba(67, 43, 36, 0.08);
  --shadow-btn: 0 5px 0 #432b24;
  --font-display: 'Fredoka', ui-rounded, 'SF Pro Rounded', system-ui, sans-serif;
  --font-body: system-ui, -apple-system, 'Segoe UI', Roboto, sans-serif;
}

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

html {
  scroll-behavior: smooth;
  background: var(--bg-cream);
  color: var(--cocoa);
  font-family: var(--font-body);
  line-height: 1.6;
}

body {
  margin: 0;
  background:
    radial-gradient(circle at 14% 8%, rgba(255, 198, 214, 0.42), transparent 36%),
    radial-gradient(circle at 86% 14%, rgba(255, 223, 150, 0.38), transparent 34%),
    linear-gradient(180deg, #fff5e8 0%, #fff9f2 48%, #fff4ea 100%);
  color: var(--cocoa);
  overflow-x: hidden;
}

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

a {
  color: var(--coral-deep);
  text-underline-offset: 3px;
}

a:focus-visible, button:focus-visible, summary:focus-visible {
  outline: 3px solid var(--coral);
  outline-offset: 3px;
}

.skip {
  position: absolute;
  left: -9999px;
  top: 8px;
  z-index: 200;
  background: var(--butter);
  color: var(--cocoa);
  padding: 10px 18px;
  border-radius: 999px;
  font-weight: 700;
  border: 2.5px solid var(--cocoa);
}
.skip:focus {
  left: 14px;
}

/* Scalloped Cafe Awning Ribbon */
.awning-strip {
  height: 16px;
  background: repeating-linear-gradient(
    90deg,
    #ff8fab 0px,
    #ff8fab 36px,
    #fff8ef 36px,
    #fff8ef 72px
  );
  border-bottom: 3px solid var(--cocoa);
}

/* Header Navigation */
.site-header {
  position: sticky;
  top: 0;
  z-index: 90;
  background: rgba(255, 248, 238, 0.94);
  backdrop-filter: blur(10px);
  border-bottom: 2.5px solid rgba(67, 43, 36, 0.14);
}

.header-inner {
  max-width: 1180px;
  margin: 0 auto;
  padding: 10px 20px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  flex-wrap: wrap;
}

.brand-link {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--cocoa);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
}

.brand-link img {
  width: 42px;
  height: 42px;
  border-radius: 12px;
  flex-shrink: 0;
}

.site-nav {
  display: flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

.site-nav a {
  text-decoration: none;
  color: var(--cocoa);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
  padding: 7px 13px;
  border-radius: 999px;
  transition: background 0.15s ease, transform 0.15s ease;
}

.site-nav a:hover {
  background: rgba(255, 143, 171, 0.18);
}

.site-nav a.nav-cta {
  background: var(--coral);
  color: #fff;
  border: 2.5px solid var(--cocoa);
  box-shadow: 0 3px 0 var(--cocoa);
  padding: 6px 16px;
}

.site-nav a.nav-cta:hover {
  background: var(--coral-deep);
  transform: translateY(-1px);
}

.wrap {
  max-width: 1160px;
  margin: 0 auto;
  padding: 0 20px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  text-decoration: none;
  padding: 13px 24px;
  border-radius: 999px;
  border: 3px solid var(--cocoa);
  box-shadow: var(--shadow-btn);
  cursor: pointer;
  transition: transform 0.14s ease, box-shadow 0.14s ease, background 0.14s ease;
}

.btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 7px 0 var(--cocoa);
}

.btn:active {
  transform: translateY(2px);
  box-shadow: 0 2px 0 var(--cocoa);
}

.btn-primary {
  background: var(--coral);
  color: #fff;
}

.btn-secondary {
  background: var(--butter);
  color: var(--cocoa);
}

.btn-cream {
  background: var(--card-cream);
  color: var(--cocoa);
}

/* Hero Section */
.hero {
  padding: 28px 0 54px;
  text-align: center;
}

.hero-logo {
  width: min(560px, 92vw);
  margin: 0 auto 10px;
  display: block;
  filter: drop-shadow(0 8px 18px rgba(67, 43, 36, 0.10));
}

.hero-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  background: #ffe3ec;
  color: var(--cocoa);
  border: 2px solid rgba(67, 43, 36, 0.22);
  padding: 5px 14px;
  border-radius: 999px;
  margin-bottom: 12px;
}

.hero h1 {
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.4vw, 3.2rem);
  line-height: 1.12;
  margin: 0 auto 14px;
  max-width: 780px;
}

.hero h1 span {
  color: var(--coral-deep);
}

.hero-lead {
  font-size: clamp(1.05rem, 1.9vw, 1.24rem);
  color: var(--cocoa-soft);
  max-width: 700px;
  margin: 0 auto 24px;
}

/* Live Interactive Game Frame */
.stage-shell {
  max-width: 1060px;
  margin: 0 auto;
  background: var(--oak);
  border: 4px solid var(--cocoa);
  border-radius: 30px;
  padding: 12px;
  box-shadow: 0 14px 0 rgba(67, 43, 36, 0.16), 0 28px 56px rgba(67, 43, 36, 0.18);
}

.stage-toolbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 4px 10px 10px;
  color: #fffdf9;
  font-family: var(--font-display);
  font-size: 0.94rem;
  flex-wrap: wrap;
}

.stage-dots {
  display: inline-flex;
  align-items: center;
  gap: 7px;
}

.stage-dots i {
  width: 12px;
  height: 12px;
  border-radius: 50%;
  border: 2px solid var(--cocoa);
  display: inline-block;
}
.stage-dots i:nth-child(1) { background: #ff8fab; }
.stage-dots i:nth-child(2) { background: #ffd966; }
.stage-dots i:nth-child(3) { background: #6cd4a0; }

.stage-toolbar-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.stage-mini-btn {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.86rem;
  padding: 5px 13px;
  border-radius: 999px;
  border: 2px solid var(--cocoa);
  background: var(--card-cream);
  color: var(--cocoa);
  text-decoration: none;
  cursor: pointer;
}

.stage-mini-btn:hover {
  background: var(--butter);
}

.stage-viewport {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  min-height: 300px;
  border-radius: 20px;
  overflow: hidden;
  border: 3px solid var(--cocoa);
  background: #fff6ea;
}

.stage-poster {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.stage-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(67, 43, 36, 0.08) 0%, rgba(67, 43, 36, 0.48) 100%);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-end;
  padding: 28px 20px;
  gap: 14px;
}

.stage-cta-row {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 12px;
}

.stage-caption-pill {
  background: rgba(255, 253, 249, 0.94);
  color: var(--cocoa);
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.94rem;
  padding: 6px 16px;
  border-radius: 999px;
  border: 2px solid var(--cocoa);
}

.stage-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  background: #fff6ea;
}

.stage-shell.is-playing .stage-overlay,
.stage-shell.is-playing .stage-poster {
  display: none;
}

.hero-badges {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 22px;
}

.hero-badges span {
  background: var(--card-cream);
  border: 2px solid rgba(67, 43, 36, 0.18);
  border-radius: 999px;
  padding: 6px 15px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.93rem;
}

/* Section Headers */
.section {
  padding: 58px 0;
}

.section-head {
  text-align: center;
  max-width: 720px;
  margin: 0 auto 38px;
}

.section-eyebrow {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.84rem;
  letter-spacing: 0.09em;
  text-transform: uppercase;
  color: var(--coral-deep);
  margin-bottom: 6px;
}

.section-head h2 {
  font-family: var(--font-display);
  font-size: clamp(1.75rem, 3.4vw, 2.55rem);
  line-height: 1.16;
  margin: 0 0 12px;
}

.section-head p {
  color: var(--cocoa-soft);
  font-size: 1.08rem;
  margin: 0;
}

/* Mouse & Touchscreen Controls Section */
.controls-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 20px;
}

.control-card {
  background: var(--card-cream);
  border: 3px solid var(--cocoa);
  border-radius: 24px;
  padding: 24px 22px;
  box-shadow: var(--shadow-card);
}

.control-icons {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: #ffeef2;
  border: 2px solid var(--cocoa);
  border-radius: 999px;
  padding: 5px 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
  margin-bottom: 14px;
}

.control-card h3 {
  font-family: var(--font-display);
  font-size: 1.3rem;
  margin: 0 0 8px;
}

.control-card p {
  margin: 0;
  color: var(--cocoa-soft);
  font-size: 0.98rem;
}

/* 6 Cozy Rooms Grid */
.rooms-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 22px;
}

.room-card {
  margin: 0;
  background: var(--card-cream);
  border: 3px solid var(--cocoa);
  border-radius: 24px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
  display: flex;
  flex-direction: column;
}

.room-card img {
  width: 100%;
  aspect-ratio: 3 / 2;
  object-fit: cover;
  display: block;
  border-bottom: 3px solid var(--cocoa);
}

.room-body {
  padding: 18px 20px 20px;
}

.room-tag {
  display: inline-block;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.82rem;
  background: #fff0d4;
  border: 1.8px solid var(--cocoa);
  border-radius: 999px;
  padding: 2px 11px;
  margin-bottom: 8px;
}

.room-body h3 {
  font-family: var(--font-display);
  font-size: 1.24rem;
  margin: 0 0 6px;
}

.room-body p {
  margin: 0;
  color: var(--cocoa-soft);
  font-size: 0.95rem;
}

/* Realistic Hardware Device Mockups: iPad, iPhone & Google Pixel */
.devices-section {
  background: linear-gradient(180deg, rgba(255, 228, 236, 0.48) 0%, rgba(255, 243, 224, 0.55) 100%);
  border-top: 3px solid rgba(67, 43, 36, 0.12);
  border-bottom: 3px solid rgba(67, 43, 36, 0.12);
}

.devices-showcase {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 30px;
  align-items: center;
}

.phones-stack {
  display: flex;
  flex-direction: column;
  gap: 26px;
}

.device-fig {
  margin: 0;
}

.device-fig figcaption {
  margin-top: 12px;
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.98rem;
  color: var(--cocoa);
}

.device-fig figcaption strong {
  display: inline-block;
  background: var(--card-cream);
  border: 2px solid var(--cocoa);
  border-radius: 999px;
  padding: 2px 12px;
  margin-right: 6px;
  font-size: 0.85rem;
}

/* 1. iPad Air / Pro Hardware Frame */
.hw-ipad {
  position: relative;
  background: linear-gradient(145deg, #e7eaef 0%, #cfd5df 100%);
  padding: 6px;
  border-radius: 34px;
  border: 3px solid #353942;
  box-shadow: 0 18px 0 rgba(67, 43, 36, 0.13), 0 28px 48px rgba(35, 28, 24, 0.22);
}

.hw-ipad-bezel {
  position: relative;
  background: #14161b;
  padding: 18px 20px;
  border-radius: 27px;
}

/* Landscape front camera centered on top long bezel */
.hw-ipad-bezel::before {
  content: '';
  position: absolute;
  top: 7px;
  left: 50%;
  transform: translateX(-50%);
  width: 7px;
  height: 7px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3d65a8, #0c101a 70%);
  box-shadow: 0 0 0 1.5px #272b35;
}

/* Subtle iPadOS Home Indicator */
.hw-ipad-bezel::after {
  content: '';
  position: absolute;
  bottom: 6px;
  left: 50%;
  transform: translateX(-50%);
  width: 18%;
  height: 4px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.hw-ipad-bezel img {
  display: block;
  width: 100%;
  border-radius: 12px;
}

/* 2. iPhone 16 Landscape Hardware Frame (with Dynamic Island) */
.hw-iphone {
  position: relative;
  background: linear-gradient(145deg, #f3e5d8 0%, #d4c0ae 100%);
  padding: 4.5px;
  border-radius: 38px;
  border: 3px solid #3a332e;
  box-shadow: 0 14px 0 rgba(67, 43, 36, 0.12), 0 22px 38px rgba(35, 28, 24, 0.20);
}

/* Top titanium volume/action buttons in landscape */
.hw-iphone::before {
  content: '';
  position: absolute;
  top: -5px;
  left: 72px;
  width: 34px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #6c5e54;
  box-shadow: 44px 0 0 #6c5e54;
}

.hw-iphone-bezel {
  position: relative;
  background: #101216;
  padding: 11px 16px;
  border-radius: 33px;
  overflow: hidden;
}

/* Dynamic Island pill on left side in landscape */
.hw-iphone-island {
  position: absolute;
  left: 22px;
  top: 50%;
  transform: translateY(-50%);
  width: 13px;
  height: 48px;
  border-radius: 999px;
  background: #07080a;
  box-shadow: 0 0 0 1.5px rgba(255, 255, 255, 0.08);
  z-index: 3;
}

.hw-iphone-island::after {
  content: '';
  position: absolute;
  top: 10px;
  left: 50%;
  transform: translateX(-50%);
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #3a5d9c, #0a0d16 72%);
}

.hw-iphone-bezel img {
  display: block;
  width: 100%;
  border-radius: 22px;
}

/* 3. Google Pixel 9 Landscape Hardware Frame (distinctive Pixel silhouette + punch-hole camera) */
.hw-pixel {
  position: relative;
  background: linear-gradient(145deg, #3c4043 0%, #202124 100%);
  padding: 4.5px;
  border-radius: 32px;
  border: 3px solid #17181b;
  box-shadow: 0 14px 0 rgba(67, 43, 36, 0.12), 0 22px 38px rgba(35, 28, 24, 0.20);
}

/* Google Pixel power + volume rocker on top edge in landscape */
.hw-pixel::before {
  content: '';
  position: absolute;
  top: -5px;
  right: 84px;
  width: 44px;
  height: 3px;
  border-radius: 3px 3px 0 0;
  background: #5f6368;
  box-shadow: -34px 0 0 #5f6368;
}

.hw-pixel-bezel {
  position: relative;
  background: #0d0e11;
  padding: 10px 15px;
  border-radius: 27px;
  overflow: hidden;
}

/* Google Pixel punch-hole camera dot */
.hw-pixel-camera {
  position: absolute;
  left: 24px;
  top: 50%;
  transform: translateY(-50%);
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 35% 35%, #4285f4, #090b10 72%);
  box-shadow: 0 0 0 2px #050608;
  z-index: 3;
}

.hw-pixel-bezel img {
  display: block;
  width: 100%;
  border-radius: 18px;
}

/* Activities Feature Split */
.activities-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 28px;
  align-items: center;
}

.spa-showcase-card {
  margin: 0;
  background: var(--card-cream);
  border: 3px solid var(--cocoa);
  border-radius: 26px;
  overflow: hidden;
  box-shadow: var(--shadow-card);
}

.spa-showcase-card img {
  display: block;
  width: 100%;
  border-bottom: 3px solid var(--cocoa);
}

.spa-showcase-card figcaption {
  padding: 14px 20px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 0.96rem;
}

.activity-list {
  display: grid;
  gap: 14px;
}

.activity-item {
  background: var(--card-cream);
  border: 2.5px solid var(--cocoa);
  border-radius: 20px;
  padding: 16px 20px;
  box-shadow: 0 6px 0 rgba(67, 43, 36, 0.08);
}

.activity-item h3 {
  font-family: var(--font-display);
  font-size: 1.15rem;
  margin: 0 0 4px;
}

.activity-item p {
  margin: 0;
  color: var(--cocoa-soft);
  font-size: 0.95rem;
}

/* Grown-ups & Store Section */
.grownups-box {
  background: var(--card-cream);
  border: 3.5px solid var(--cocoa);
  border-radius: 28px;
  padding: 34px 32px;
  box-shadow: var(--shadow-card);
}

.grownups-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin: 24px 0;
}

.grownup-point {
  background: #fff8ef;
  border: 2px solid rgba(67, 43, 36, 0.16);
  border-radius: 18px;
  padding: 16px 18px;
}

.grownup-point strong {
  display: block;
  font-family: var(--font-display);
  font-size: 1.06rem;
  margin-bottom: 4px;
}

.grownup-point span {
  font-size: 0.94rem;
  color: var(--cocoa-soft);
}

.store-row {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-top: 24px;
}

.store-card {
  background: var(--card-cream);
  border: 3px solid var(--cocoa);
  border-radius: 22px;
  padding: 22px;
  text-align: center;
  box-shadow: var(--shadow-card);
}

.store-card h3 {
  font-family: var(--font-display);
  font-size: 1.2rem;
  margin: 0 0 6px;
}

.store-card p {
  margin: 0 0 14px;
  color: var(--cocoa-soft);
  font-size: 0.95rem;
}

.soon-pill {
  display: inline-block;
  background: #fff0d4;
  border: 2px solid var(--cocoa);
  border-radius: 999px;
  padding: 6px 16px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.9rem;
}

/* FAQ */
.faq-list {
  max-width: 820px;
  margin: 0 auto;
  display: grid;
  gap: 12px;
}

.faq-list details {
  background: var(--card-cream);
  border: 2.5px solid var(--cocoa);
  border-radius: 18px;
  padding: 14px 20px;
  box-shadow: 0 5px 0 rgba(67, 43, 36, 0.07);
}

.faq-list summary {
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.08rem;
  cursor: pointer;
}

.faq-list details p {
  margin: 10px 0 2px;
  color: var(--cocoa-soft);
}

/* Inner Legal / Support Pages */
.doc-page {
  max-width: 780px;
  margin: 0 auto;
  padding: 44px 20px 64px;
}

.doc-card {
  background: var(--card-cream);
  border: 3px solid var(--cocoa);
  border-radius: 26px;
  padding: 32px 30px;
  box-shadow: var(--shadow-card);
}

.doc-card h1 {
  font-family: var(--font-display);
  font-size: clamp(1.9rem, 3.6vw, 2.5rem);
  margin: 0 0 10px;
}

.doc-card h2 {
  font-family: var(--font-display);
  font-size: 1.32rem;
  margin: 26px 0 8px;
}

.doc-quote {
  background: #ffeef2;
  border: 2px solid var(--cocoa);
  border-radius: 16px;
  padding: 14px 18px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.08rem;
}

/* Footer */
.site-footer {
  border-top: 3px solid rgba(67, 43, 36, 0.14);
  background: #fff2e2;
  padding: 34px 20px 44px;
  text-align: center;
  color: var(--cocoa-soft);
  font-size: 0.95rem;
}

.site-footer p {
  margin: 6px 0;
}

.site-footer a {
  color: var(--cocoa);
  font-weight: 600;
}

/* Responsive Breakpoints */
@media (max-width: 960px) {
  .controls-grid,
  .rooms-grid,
  .grownups-grid,
  .store-row {
    grid-template-columns: 1fr 1fr;
  }
  .devices-showcase,
  .activities-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 640px) {
  .controls-grid,
  .rooms-grid,
  .grownups-grid,
  .store-row {
    grid-template-columns: 1fr;
  }
  .stage-viewport {
    aspect-ratio: 4 / 3;
  }
  .grownups-box,
  .doc-card {
    padding: 22px 18px;
  }
}
