/* Fizzy Wizzy — Static Marketing Site Styles
   Zero external requests, mobile-first (tested at 320px, 375px, 429px), desktop 1280px+, accessible */

:root {
  --ocean-deep: #0a2a5e;
  --ocean-mid: #123c85;
  --ocean-bright: #1a4fa8;
  --pink: #F337A5;
  --pink-dark: #c91e83;
  --gold: #FFB51B;
  --gold-dark: #d48c00;
  --cyan: #00C8E8;
  --cyan-dark: #0095b0;
  --purple: #9752F5;
  --purple-dark: #6e2ec9;
  --green: #35D96F;
  --green-dark: #1ea84f;
  --text-light: #ffffff;
  --text-muted: #dbeaff;
  --card-bg: rgba(12, 42, 94, 0.75);
  --card-border: rgba(255, 255, 255, 0.24);
  --font-display: ui-rounded, "SF Pro Rounded", "Nunito", "Quicksand", "Varela Round", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
  --font-body: system-ui, -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  --radius-xl: 28px;
  --radius-lg: 20px;
  --radius-pill: 999px;
  --shadow-gloss: 0 12px 30px rgba(4, 15, 40, 0.42), inset 0 2px 1px rgba(255, 255, 255, 0.32);
}

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

html,
body {
  margin: 0;
  padding: 0;
  width: 100%;
  max-width: 100%;
  overflow-x: hidden;
  background-color: var(--ocean-deep);
}

html {
  scroll-behavior: smooth;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

body {
  min-height: 100vh;
  font-family: var(--font-body);
  font-size: 1rem;
  line-height: 1.55;
  color: var(--text-light);
  background: linear-gradient(180deg, var(--ocean-deep) 0%, var(--ocean-mid) 48%, var(--ocean-bright) 100%);
  background-attachment: fixed;
  position: relative;
}

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

/* Skip Link for Keyboard Accessibility */
.skip-link {
  position: absolute;
  left: -9999px;
  top: 12px;
  z-index: 1000;
  background: var(--gold);
  color: #071b3d;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 10px 18px;
  border-radius: var(--radius-pill);
  text-decoration: none;
}

.skip-link:focus {
  left: 12px;
}

/* Floating CSS Bubbles Background */
.bubbles-layer {
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.bubble {
  position: absolute;
  bottom: -120px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.65), rgba(0, 200, 232, 0.18) 55%, rgba(243, 55, 165, 0.12) 85%, rgba(255, 255, 255, 0.35));
  border: 1px solid rgba(255, 255, 255, 0.32);
  box-shadow: inset 0 0 10px rgba(255, 255, 255, 0.35);
  animation: floatUp linear infinite;
  opacity: 0;
}

.bubble:nth-child(1)  { width: 22px; height: 22px; left: 6%;  animation-duration: 14s; animation-delay: 0s; }
.bubble:nth-child(2)  { width: 38px; height: 38px; left: 16%; animation-duration: 19s; animation-delay: 3s; }
.bubble:nth-child(3)  { width: 16px; height: 16px; left: 27%; animation-duration: 12s; animation-delay: 6s; }
.bubble:nth-child(4)  { width: 48px; height: 48px; left: 39%; animation-duration: 23s; animation-delay: 1s; }
.bubble:nth-child(5)  { width: 26px; height: 26px; left: 52%; animation-duration: 16s; animation-delay: 4s; }
.bubble:nth-child(6)  { width: 18px; height: 18px; left: 64%; animation-duration: 13s; animation-delay: 7s; }
.bubble:nth-child(7)  { width: 42px; height: 42px; left: 75%; animation-duration: 21s; animation-delay: 2s; }
.bubble:nth-child(8)  { width: 28px; height: 28px; left: 86%; animation-duration: 17s; animation-delay: 5s; }
.bubble:nth-child(9)  { width: 20px; height: 20px; left: 93%; animation-duration: 15s; animation-delay: 8s; }
.bubble:nth-child(10) { width: 34px; height: 34px; left: 45%; animation-duration: 20s; animation-delay: 9s; }

@keyframes floatUp {
  0% {
    transform: translateY(0) translateX(0) scale(0.9);
    opacity: 0;
  }
  12% {
    opacity: 0.55;
  }
  50% {
    transform: translateY(-55vh) translateX(14px) scale(1);
  }
  88% {
    opacity: 0.45;
  }
  100% {
    transform: translateY(-115vh) translateX(-10px) scale(1.06);
    opacity: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  .bubble {
    animation: none;
    display: none;
  }
}

.site-wrap {
  position: relative;
  z-index: 1;
  width: 100%;
  max-width: 100%;
  overflow-x: clip;
}

.container {
  width: 100%;
  max-width: 1080px;
  margin: 0 auto;
  padding: 0 12px;
}

@media (min-width: 600px) {
  .container {
    padding: 0 20px;
  }
}

/* Single-Line Header / Nav */
.site-header {
  padding: 10px 0 6px;
}

.nav-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: nowrap;
  gap: 6px;
  min-width: 0;
  max-width: 100%;
  background: rgba(8, 28, 66, 0.82);
  border: 1.5px solid var(--card-border);
  border-radius: var(--radius-pill);
  padding: 5px 6px 5px 6px;
  box-shadow: 0 8px 24px rgba(3, 12, 34, 0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 0;
  text-decoration: none;
  color: var(--text-light);
  font-family: var(--font-display);
  font-weight: 800;
  font-size: 0.85rem;
  line-height: 1;
  white-space: nowrap;
  flex-shrink: 0;
}

.brand-label {
  display: none;
}

.brand img {
  width: 26px;
  height: 26px;
  border-radius: 50%;
  border: 1.5px solid var(--gold);
  object-fit: cover;
  flex-shrink: 0;
}

.nav-links {
  display: flex;
  align-items: center;
  flex-wrap: nowrap;
  gap: 2px;
  min-width: 0;
  flex-shrink: 1;
}

.nav-links a {
  color: var(--text-light);
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.7rem;
  line-height: 1;
  white-space: nowrap;
  padding: 6px 6px;
  border-radius: var(--radius-pill);
  transition: background-color 0.18s ease;
}

@media (min-width: 430px) {
  .nav-bar {
    gap: 8px;
    padding: 6px 10px 6px 10px;
  }

  .brand {
    gap: 7px;
    font-size: 0.95rem;
  }

  .brand-label {
    display: inline;
  }

  .brand img {
    width: 28px;
    height: 28px;
  }

  .nav-links {
    gap: 4px;
    flex-shrink: 0;
  }

  .nav-links a {
    font-size: 0.82rem;
    padding: 7px 10px;
  }
}

@media (min-width: 600px) {
  .nav-bar {
    padding: 8px 14px 8px 16px;
  }

  .brand {
    font-size: 1.15rem;
    gap: 10px;
  }

  .brand img {
    width: 34px;
    height: 34px;
  }

  .nav-links {
    gap: 6px;
  }

  .nav-links a {
    font-size: 0.95rem;
    padding: 7px 14px;
  }
}

.nav-links a:hover,
.nav-links a:focus-visible,
.nav-links a[aria-current="page"] {
  background: rgba(255, 255, 255, 0.2);
  outline: none;
}

.nav-links a:focus-visible {
  box-shadow: 0 0 0 3px var(--gold);
}

/* Typography */
h1, h2, h3 {
  font-family: var(--font-display);
  line-height: 1.15;
  margin-top: 0;
  overflow-wrap: break-word;
}

.section {
  padding: 28px 0;
}

@media (min-width: 768px) {
  .section {
    padding: 38px 0;
  }
}

.section-heading {
  text-align: center;
  font-size: clamp(1.65rem, 4.5vw, 2.5rem);
  font-weight: 900;
  margin-bottom: 10px;
  text-shadow: 0 3px 10px rgba(4, 15, 42, 0.5);
}

.section-sub {
  text-align: center;
  color: var(--text-muted);
  max-width: 620px;
  margin: 0 auto 24px;
  font-size: 1rem;
}

/* Glossy App Store Button */
.btn-appstore {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  background: linear-gradient(180deg, #ff5bb8 0%, var(--pink) 52%, var(--pink-dark) 100%);
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 800;
  padding: 11px 22px;
  border-radius: var(--radius-pill);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(243, 55, 165, 0.45), inset 0 3px 2px rgba(255, 255, 255, 0.55);
  transition: transform 0.18s ease, box-shadow 0.18s ease, filter 0.18s ease;
}

@media (min-width: 600px) {
  .btn-appstore {
    gap: 12px;
    padding: 14px 28px;
  }
}

.btn-appstore:hover,
.btn-appstore:focus-visible {
  transform: translateY(-2px) scale(1.02);
  filter: brightness(1.06);
  box-shadow: 0 14px 30px rgba(243, 55, 165, 0.6), inset 0 3px 2px rgba(255, 255, 255, 0.65);
  outline: none;
}

.btn-appstore:focus-visible {
  box-shadow: 0 0 0 4px var(--gold), 0 14px 30px rgba(243, 55, 165, 0.6);
}

.btn-appstore:active {
  transform: translateY(1px) scale(0.99);
}

.btn-appstore svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
  flex-shrink: 0;
}

@media (min-width: 600px) {
  .btn-appstore svg {
    width: 26px;
    height: 26px;
  }
}

.btn-subtext {
  display: block;
  font-size: 0.68rem;
  font-weight: 700;
  opacity: 0.92;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  line-height: 1.1;
}

.btn-maintext {
  display: block;
  font-size: 1.05rem;
  line-height: 1.15;
}

@media (min-width: 600px) {
  .btn-subtext {
    font-size: 0.74rem;
  }

  .btn-maintext {
    font-size: 1.2rem;
  }
}

.btn-text-stack {
  text-align: left;
}

/* Hero Section: Mobile-first above-the-fold (~700px) + Natural/Capped Desktop Banner */
.hero {
  padding: 10px 0 24px;
  text-align: center;
}

.hero-card {
  background: linear-gradient(180deg, rgba(16, 54, 118, 0.82) 0%, rgba(9, 32, 76, 0.9) 100%);
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-xl);
  overflow: hidden;
  box-shadow: var(--shadow-gloss);
}

.hero-banner-wrap {
  display: none;
}

.hero-phone-stack {
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 16px 14px 20px;
}

.hero-phone-mascot {
  width: 50%;
  max-width: 170px;
  min-width: 110px;
  aspect-ratio: 1 / 1;
  border-radius: 50%;
  object-fit: cover;
  margin-bottom: 10px;
}

.hero-body {
  padding: 0 14px 22px;
}

@media (min-width: 768px) {
  .hero {
    padding: 16px 0 32px;
  }

  .hero-phone-stack {
    display: none;
  }

  .hero-banner-wrap {
    display: block;
    width: 100%;
    background: #071d45;
    border-bottom: 2px solid rgba(255, 255, 255, 0.18);
  }

  .hero-banner {
    width: 100%;
    max-width: 100%;
    height: auto;
    max-height: 70vh;
    margin: 0 auto;
    object-fit: contain;
  }

  .hero-body {
    padding: 24px 28px 32px;
  }
}

.hero-title {
  font-size: clamp(1.9rem, 7.5vw, 3.6rem);
  font-weight: 900;
  margin-bottom: 4px;
  background: linear-gradient(180deg, #ffffff 15%, #ffe699 95%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  filter: drop-shadow(0 4px 10px rgba(5, 16, 44, 0.65));
}

.hero-tagline {
  font-family: var(--font-display);
  font-size: clamp(1.15rem, 4.5vw, 1.65rem);
  font-weight: 800;
  color: var(--gold);
  margin: 0 0 12px;
  text-shadow: 0 2px 8px rgba(4, 15, 42, 0.55);
}

.hero-desc {
  display: none;
}

@media (min-width: 768px) {
  .hero-desc {
    display: block;
    max-width: 620px;
    margin: 0 auto 22px;
    color: var(--text-muted);
    font-size: 1.05rem;
  }
}

.hero-meta {
  margin: 10px 0 0;
  font-size: 0.82rem;
  color: #b7d4ff;
  font-weight: 600;
}

/* Meet Fizzy Section */
.mascot-card {
  display: grid;
  grid-template-columns: 1fr;
  gap: 18px;
  align-items: center;
  background: linear-gradient(145deg, rgba(19, 63, 134, 0.84), rgba(10, 34, 80, 0.9));
  border: 2px solid rgba(255, 181, 27, 0.45);
  border-radius: var(--radius-xl);
  padding: 22px 18px;
  box-shadow: var(--shadow-gloss);
}

@media (min-width: 720px) {
  .mascot-card {
    grid-template-columns: 220px 1fr;
    padding: 32px 36px;
    gap: 32px;
  }
}

.mascot-avatar-wrap {
  display: flex;
  justify-content: center;
}

.mascot-avatar {
  width: 170px;
  height: 170px;
  border-radius: 50%;
  object-fit: cover;
}

@media (min-width: 720px) {
  .mascot-avatar {
    width: 200px;
    height: 200px;
  }
}

.mascot-content h2 {
  font-size: clamp(1.55rem, 4vw, 2.2rem);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 10px;
}

.mascot-content p {
  margin: 0;
  font-size: 1.04rem;
  color: #eef5ff;
}

/* Glossy Cards Grid (Features & Worlds) */
.grid-3 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 620px) {
  .grid-3 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

@media (min-width: 920px) {
  .grid-3 {
    grid-template-columns: repeat(3, 1fr);
  }
}

.grid-2 {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
}

@media (min-width: 680px) {
  .grid-2 {
    grid-template-columns: repeat(2, 1fr);
    gap: 18px;
  }
}

.gloss-card {
  min-width: 0;
  background: var(--card-bg);
  border: 2px solid var(--card-border);
  border-radius: var(--radius-lg);
  padding: 20px 18px;
  box-shadow: var(--shadow-gloss);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s ease, border-color 0.2s ease;
}

.gloss-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 10%;
  right: 10%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.55), transparent);
}

.gloss-card:hover {
  transform: translateY(-3px);
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 15px;
  font-size: 1.55rem;
  margin-bottom: 12px;
  background: rgba(255, 255, 255, 0.14);
  border: 1.5px solid rgba(255, 255, 255, 0.28);
  box-shadow: inset 0 2px 2px rgba(255, 255, 255, 0.35);
}

.gloss-card h3 {
  font-size: 1.2rem;
  font-weight: 800;
  margin-bottom: 8px;
  color: #ffffff;
}

.gloss-card p {
  margin: 0;
  color: var(--text-muted);
  font-size: 0.96rem;
}

.accent-cyan   { border-color: rgba(0, 200, 232, 0.55); }
.accent-pink   { border-color: rgba(243, 55, 165, 0.55); }
.accent-gold   { border-color: rgba(255, 181, 27, 0.55); }
.accent-purple { border-color: rgba(151, 82, 245, 0.55); }
.accent-green  { border-color: rgba(53, 217, 111, 0.55); }

.world-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 22px 20px;
}

.world-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 8px;
  margin-bottom: 10px;
}

.world-tag {
  font-family: var(--font-display);
  font-size: 0.75rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: 4px 10px;
  border-radius: var(--radius-pill);
  color: #071938;
  white-space: nowrap;
}

.tag-cyan   { background: var(--cyan); }
.tag-gold   { background: var(--gold); }
.tag-purple { background: #c59bff; }
.tag-pink   { background: #ff7cc8; }

.boss-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-top: 14px;
  padding: 7px 13px;
  border-radius: var(--radius-pill);
  background: rgba(6, 20, 48, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.22);
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 0.88rem;
  color: #ffffff;
  align-self: flex-start;
  max-width: 100%;
}

/* Screenshot Gallery (Intentionally Horizontally Scrollable on Phones, Grid on Desktop) */
.gallery-track {
  display: flex;
  flex-direction: row;
  gap: 14px;
  overflow-x: auto;
  overflow-y: hidden;
  scroll-snap-type: x mandatory;
  -webkit-overflow-scrolling: touch;
  padding: 8px 2px 16px;
  scrollbar-width: thin;
  scrollbar-color: var(--cyan) rgba(255, 255, 255, 0.12);
}

.gallery-track::-webkit-scrollbar {
  height: 8px;
}

.gallery-track::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.1);
  border-radius: var(--radius-pill);
}

.gallery-track::-webkit-scrollbar-thumb {
  background: var(--cyan);
  border-radius: var(--radius-pill);
}

.shot-item {
  flex: 0 0 210px;
  scroll-snap-align: center;
  margin: 0;
  background: rgba(8, 26, 62, 0.85);
  border: 2.5px solid rgba(255, 255, 255, 0.28);
  border-radius: 26px;
  padding: 8px;
  box-shadow: var(--shadow-gloss);
}

@media (min-width: 375px) {
  .shot-item {
    flex: 0 0 230px;
  }
}

.shot-item img {
  display: block;
  width: 100%;
  max-width: 100%;
  height: auto;
  aspect-ratio: 462 / 1000;
  object-fit: cover;
  border-radius: 19px;
}

.shot-item figcaption {
  text-align: center;
  font-family: var(--font-display);
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  padding: 9px 4px 3px;
}

@media (min-width: 960px) {
  .gallery-track {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 22px;
    overflow-x: visible;
    padding: 0;
  }

  .shot-item {
    flex: none;
  }
}

/* Bottom CTA Band */
.cta-band {
  text-align: center;
  background: linear-gradient(135deg, rgba(151, 82, 245, 0.35), rgba(0, 200, 232, 0.28));
  border: 2px solid rgba(255, 255, 255, 0.28);
  border-radius: var(--radius-xl);
  padding: 28px 18px;
  box-shadow: var(--shadow-gloss);
}

@media (min-width: 600px) {
  .cta-band {
    padding: 34px 24px;
  }
}

.cta-band h2 {
  font-size: clamp(1.6rem, 4vw, 2.3rem);
  font-weight: 900;
  margin-bottom: 10px;
}

.cta-band p {
  max-width: 540px;
  margin: 0 auto 20px;
  color: var(--text-muted);
}

/* Subpage Content Card (Support & Privacy) */
.page-card {
  background: rgba(9, 32, 76, 0.88);
  border: 2px solid rgba(255, 255, 255, 0.25);
  border-radius: var(--radius-xl);
  padding: 24px 18px;
  margin: 14px 0 32px;
  box-shadow: var(--shadow-gloss);
}

@media (min-width: 720px) {
  .page-card {
    padding: 40px 44px;
  }
}

.page-card h1 {
  font-size: clamp(1.8rem, 5vw, 2.7rem);
  font-weight: 900;
  color: var(--gold);
  margin-bottom: 8px;
}

.page-meta {
  color: #b7d4ff;
  font-size: 0.92rem;
  margin-bottom: 22px;
  padding-bottom: 14px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.16);
}

.page-card h2 {
  font-size: 1.3rem;
  font-weight: 800;
  color: var(--cyan);
  margin-top: 24px;
  margin-bottom: 8px;
}

.page-card p,
.page-card li {
  color: #eaf2ff;
  font-size: 1rem;
  overflow-wrap: break-word;
}

.page-card ul {
  padding-left: 20px;
}

.page-card li {
  margin-bottom: 8px;
}

.page-card a {
  color: var(--gold);
  font-weight: 700;
  text-underline-offset: 3px;
}

.page-card a:hover,
.page-card a:focus-visible {
  color: #ffffff;
}

.faq-item {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 16px;
  padding: 15px 16px;
  margin-bottom: 14px;
}

.faq-item h3 {
  font-size: 1.08rem;
  color: #ffffff;
  margin-bottom: 6px;
}

.faq-item p {
  margin: 0;
  color: var(--text-muted);
}

/* Footer */
.site-footer {
  padding: 24px 0 38px;
  text-align: center;
  color: #c5dcff;
  font-size: 0.95rem;
}

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

.footer-links a {
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-display);
  font-weight: 700;
  padding: 4px 8px;
  border-radius: 8px;
}

.footer-links a:hover,
.footer-links a:focus-visible {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 4px;
}

.copyright {
  margin: 0;
  font-size: 0.9rem;
  opacity: 0.88;
}
