/* Fizzle Blast! website: shares the game's palette and sticker-letter logo. */
:root {
  --bg-top: #2f86f0;
  --bg-mid: #1553bd;
  --bg-bottom: #082a6b;
  --text: #eaf4ff;
  --muted: rgba(234, 244, 255, 0.72);
  --panel: rgba(5, 25, 70, 0.45);
  --panel-border: rgba(255, 255, 255, 0.16);
  --accent: #ffb347;
  --font: system-ui, -apple-system, 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

html,
body {
  margin: 0;
}

body {
  font-family: var(--font);
  color: var(--text);
  background: var(--bg-bottom) linear-gradient(180deg, var(--bg-top) 0%, var(--bg-mid) 45%, var(--bg-bottom) 100%) no-repeat;
  background-size: 100% 1400px;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
  line-height: 1.5;
}

a {
  color: #bfeeff;
}

.wrap {
  width: min(94vw, 980px);
  margin: 0 auto;
}

/* Header */
.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 0;
}

.brand {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 18px;
}

.brand img {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
}

.nav a {
  color: #fff;
  text-decoration: none;
  font-weight: 700;
  margin-left: 18px;
  opacity: 0.85;
}

.nav a:hover {
  opacity: 1;
}

/* Hero */
.hero {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 32px;
  align-items: center;
  padding: 30px 0 50px;
}

@media (max-width: 760px) {
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .hero .buttons {
    justify-content: center;
  }

  .nav {
    display: none;
  }
}

.logo {
  display: flex;
  flex-wrap: wrap;
  gap: 0.05em 0.02em;
  line-height: 1;
  font-weight: 900;
  font-size: clamp(40px, 7.5vw, 72px);
  letter-spacing: 0.04em;
}

.logo .word {
  display: flex;
}

.logo .pop {
  font-style: italic;
  letter-spacing: 0.08em;
  margin-left: 0.2em;
}

.logo .l {
  position: relative;
  display: inline-block;
  padding: 0 0.04em;
  color: var(--face);
  text-shadow:
    0 0.03em 0 var(--shade),
    0 0.06em 0 var(--shade),
    0 0.09em 0 var(--shade),
    0 0.12em 0 var(--shade),
    0 0.22em 0.3em rgba(0, 0, 0, 0.45);
  animation: wobble 3.4s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

.logo .l::before {
  content: attr(data-l);
  position: absolute;
  inset: 0;
  padding: inherit;
  z-index: -1;
  color: #dde6f2;
  -webkit-text-stroke: 0.14em #dde6f2;
  text-shadow:
    0 0.12em 0 #dde6f2,
    0 0.14em 0 #dde6f2;
}

@keyframes wobble {
  0%,
  100% {
    transform: translateY(0) rotate(var(--rot, 0deg));
  }
  50% {
    transform: translateY(-0.06em) rotate(calc(var(--rot, 0deg) * -0.6));
  }
}

.l-orange {
  --face: #e0931f;
  --shade: #c2560b;
}

.l-blue {
  --face: #2f9de0;
  --shade: #0e58b8;
}

.l-purple {
  --face: #9a5be0;
  --shade: #6a2bc4;
}

.l-green {
  --face: #3fbf68;
  --shade: #178a45;
}

.l-cyan {
  --face: #3ec2e6;
  --shade: #0a6aa8;
}

.tagline {
  margin: 18px 0 8px;
  font-size: clamp(18px, 2.6vw, 24px);
  font-weight: 800;
}

.lead {
  margin: 0 0 22px;
  color: var(--muted);
  font-size: 17px;
  max-width: 46ch;
}

@media (max-width: 760px) {
  .lead {
    margin-left: auto;
    margin-right: auto;
  }
}

.buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

/* App Store badge (drawn in CSS; swap for Apple's official badge asset if you prefer). */
.appstore {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 10px 18px 10px 14px;
  border-radius: 12px;
  background: #000;
  color: #fff;
  text-decoration: none;
  border: 1px solid rgba(255, 255, 255, 0.35);
  line-height: 1.05;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.3);
}

.appstore .apple {
  font-size: 30px;
  line-height: 1;
}

.appstore small {
  display: block;
  font-size: 11px;
  opacity: 0.85;
}

.appstore b {
  font-size: 20px;
  font-weight: 700;
}

.appstore.soon {
  opacity: 0.75;
  cursor: default;
}

.btn-play {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 24px;
  border-radius: 14px;
  color: #fff;
  font-weight: 900;
  font-size: 18px;
  text-decoration: none;
  background: linear-gradient(180deg, #ffbf4d 0%, #f7961f 100%);
  box-shadow:
    0 5px 0 #b45f0c,
    0 14px 24px rgba(0, 0, 0, 0.3);
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
  transition: transform 0.08s ease, box-shadow 0.08s ease;
}

.btn-play:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #b45f0c,
    0 8px 14px rgba(0, 0, 0, 0.25);
}

.note {
  margin-top: 10px;
  font-size: 13px;
  color: var(--muted);
}

/* Phone mockup */
.phone {
  margin: 0 auto;
  width: min(300px, 78vw);
  padding: 12px;
  border-radius: 44px;
  background: #0b1430;
  box-shadow:
    0 30px 60px rgba(0, 0, 0, 0.45),
    inset 0 0 0 2px rgba(255, 255, 255, 0.08);
  animation: float 5s ease-in-out infinite;
}

.phone-wrap {
  justify-self: center;
  text-align: center;
}

.phone iframe {
  display: block;
  width: 100%;
  aspect-ratio: 9 / 19.5;
  border: 0;
  border-radius: 34px;
  background: #0a2c60;
}

.phone-note {
  margin: 12px 0 0;
  font-size: 13px;
  color: var(--muted);
}

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

/* Sections */
section {
  padding: 34px 0;
}

h2 {
  font-size: clamp(26px, 4vw, 34px);
  margin: 0 0 18px;
  font-weight: 900;
}

.cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 14px;
}

.card {
  padding: 18px;
  border-radius: 18px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
  backdrop-filter: blur(6px);
}

.card .num {
  display: inline-grid;
  place-items: center;
  width: 34px;
  height: 34px;
  border-radius: 10px;
  background: var(--accent);
  color: #2a1200;
  font-weight: 900;
  margin-bottom: 10px;
}

.card h3 {
  margin: 0 0 6px;
  font-size: 18px;
}

.card p {
  margin: 0;
  color: var(--muted);
  font-size: 15px;
}

.fishrow {
  display: flex;
  gap: 4px;
  margin-bottom: 10px;
}

.fish {
  width: 30px;
  height: 30px;
}

.fish.big {
  width: 44px;
  height: 44px;
}

.blast {
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--accent);
}

/* Footer */
footer {
  padding: 30px 0 40px;
  color: var(--muted);
  font-size: 14px;
  border-top: 1px solid var(--panel-border);
  margin-top: 20px;
}

footer .links a {
  margin-right: 16px;
}

/* Legal pages */
.legal {
  max-width: 760px;
  padding: 10px 0 40px;
}

.legal h1 {
  font-size: clamp(30px, 5vw, 40px);
  margin: 10px 0 4px;
}

.legal .updated {
  color: var(--muted);
  margin-bottom: 24px;
}

.legal h2 {
  font-size: 20px;
  margin: 26px 0 8px;
}

.legal p,
.legal li {
  color: rgba(234, 244, 255, 0.88);
  font-size: 16px;
}

.legal .box {
  padding: 14px 16px;
  border-radius: 14px;
  background: var(--panel);
  border: 1px solid var(--panel-border);
}


/* ---------- Bordered glass layout ---------- */
body {
  background: #2c50b8 linear-gradient(180deg, #3f6fe0 0%, #2c50b8 40%, #1e3a96 100%) no-repeat;
  background-size: 100% 1600px;
}

.glass {
  background: rgba(70, 110, 210, 0.28);
  border: 2px solid rgba(255, 255, 255, 0.32);
  border-radius: 28px;
  box-shadow:
    0 18px 40px rgba(10, 20, 70, 0.35),
    inset 0 1px 0 rgba(255, 255, 255, 0.35);
  backdrop-filter: blur(8px);
}

.glass.inset {
  background: rgba(20, 45, 130, 0.35);
  border-color: rgba(255, 255, 255, 0.18);
  border-radius: 22px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.2);
  backdrop-filter: none;
}

.wrap {
  width: min(96vw, 1180px);
  padding: 16px 0 30px;
}

.bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  padding: 12px 18px;
  border-radius: 999px;
  margin-bottom: 22px;
}

.brand {
  font-size: 18px;
}

.pills {
  display: flex;
  gap: 8px;
}

.pill {
  display: inline-block;
  padding: 10px 18px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
  text-decoration: none;
  font-weight: 900;
  font-size: 13px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.pill.active,
.cta {
  background: linear-gradient(180deg, #ffd23f, #f7a91a);
  border-color: rgba(255, 255, 255, 0.55);
  color: #2a1b00;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.3);
}

.cta {
  display: inline-block;
  padding: 12px 26px;
  border-radius: 999px;
  border: 2px solid rgba(255, 255, 255, 0.55);
  text-decoration: none;
  font-weight: 900;
  font-size: 14px;
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

@media (max-width: 820px) {
  .pills {
    display: none;
  }
}

.hero-panel,
.panel {
  padding: 28px clamp(16px, 4vw, 44px) 30px;
  margin-bottom: 22px;
}

.headline {
  margin: 0 0 24px;
  font-size: clamp(26px, 4.6vw, 48px);
  font-weight: 900;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  color: #ffd23f;
  text-shadow:
    0 3px 0 #1a2a6a,
    0 8px 18px rgba(0, 0, 0, 0.35);
}

.hero-grid {
  display: grid;
  grid-template-columns: 0.9fr 1.1fr;
  gap: 28px;
  align-items: center;
}

@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
  }
}

.icon-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  padding: 34px 20px;
}

.appicon {
  width: min(220px, 60vw);
  border-radius: 24%;
  box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.logo.small {
  font-size: clamp(28px, 4vw, 40px);
}

.hero-right {
  display: flex;
  flex-direction: column;
  gap: 26px;
  align-items: center;
}

.badges {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: center;
}

.badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  padding: 12px 22px 12px 16px;
  border-radius: 14px;
  background: #0b1436;
  color: #fff;
  text-decoration: none;
  border: 2px solid rgba(255, 255, 255, 0.35);
  line-height: 1.05;
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.badge .apple {
  font-size: 30px;
  line-height: 1;
}

.badge small {
  display: block;
  font-size: 11px;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  opacity: 0.8;
}

.badge b {
  font-size: 22px;
  font-weight: 700;
}

.badge.soon {
  opacity: 0.7;
  cursor: default;
}

.mascots {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 6px;
}

.mascots .fish.big {
  width: clamp(56px, 8vw, 84px);
  height: clamp(56px, 8vw, 84px);
  filter: drop-shadow(0 10px 12px rgba(0, 0, 0, 0.35));
}

.bob {
  display: inline-block;
  animation: bob 2.2s ease-in-out infinite;
  animation-delay: var(--d, 0s);
}

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

.blurb {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 18px 20px;
  margin-top: 24px;
}

.blurb .spark {
  flex: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  background: radial-gradient(circle at 35% 35%, #ff9de6, #a03bff);
  color: #fff;
  font-size: 22px;
}

.blurb p {
  margin: 0;
  font-size: 17px;
  color: #eaf4ff;
}

.panel h2 {
  color: #ffd23f;
  text-shadow: 0 3px 0 #1a2a6a;
  text-transform: uppercase;
  letter-spacing: 0.03em;
}

.cards .card {
  background: rgba(20, 45, 130, 0.35);
}

.cards.two {
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
}

.try {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}

/* The live game renders at a real phone size and is scaled to fit the frame. */
.phone {
  animation: none;
  width: auto;
}

.screen {
  width: calc(402px * var(--s, 0.7));
  height: calc(874px * var(--s, 0.7));
  overflow: hidden;
  border-radius: 34px;
  background: #0a2c60;
}

.screen iframe {
  width: 402px;
  height: 874px;
  border: 0;
  transform: scale(var(--s, 0.7));
  transform-origin: top left;
  display: block;
}

@media (max-width: 480px) {
  .screen {
    --s: 0.6;
  }
}

.phone-note {
  max-width: 48ch;
  text-align: center;
}

.foot {
  padding: 20px 24px;
  border-radius: 22px;
  margin-top: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.32);
}


/* ---------- Own look: navy glass, white headline, cyan accents, chunky orange CTA ---------- */
body {
  background: #12307a linear-gradient(180deg, #2f7ee6 0%, #1c4fb3 38%, #12307a 100%) no-repeat;
  background-size: 100% 1500px;
}

.glass {
  background: rgba(8, 30, 90, 0.42);
  border: 1.5px solid rgba(160, 210, 255, 0.35);
  border-radius: 26px;
  box-shadow:
    0 18px 40px rgba(2, 10, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.22);
}

.glass.inset {
  background: rgba(255, 255, 255, 0.06);
  border-color: rgba(160, 210, 255, 0.22);
}

.pill {
  border-color: rgba(160, 210, 255, 0.3);
  background: rgba(255, 255, 255, 0.06);
  letter-spacing: 0.06em;
  text-transform: none;
  font-size: 14px;
}

.pill.active {
  background: linear-gradient(180deg, #7fe0ff, #2cc0ff);
  border-color: rgba(255, 255, 255, 0.6);
  color: #06233f;
  box-shadow: 0 6px 16px rgba(44, 192, 255, 0.35);
}

.cta {
  background: linear-gradient(180deg, #ffbf4d 0%, #f7961f 100%);
  border: none;
  color: #fff;
  text-transform: none;
  letter-spacing: 0.01em;
  font-size: 16px;
  text-shadow: 0 2px 0 rgba(0, 0, 0, 0.22);
  box-shadow:
    0 5px 0 #b45f0c,
    0 14px 24px rgba(0, 0, 0, 0.3);
  border-radius: 16px;
  padding: 12px 22px;
}

.cta:active {
  transform: translateY(4px);
  box-shadow:
    0 1px 0 #b45f0c,
    0 8px 14px rgba(0, 0, 0, 0.25);
}

.headline {
  color: #ffffff;
  text-transform: none;
  letter-spacing: -0.01em;
  font-size: clamp(34px, 5.4vw, 58px);
  line-height: 1.05;
  margin-bottom: 16px;
  text-shadow:
    0 3px 0 rgba(6, 20, 60, 0.6),
    0 10px 24px rgba(0, 0, 0, 0.35);
}

.headline .cyan {
  color: #7fe0ff;
}

.hero-grid {
  grid-template-columns: 1.15fr 0.85fr;
  align-items: center;
}

.hero-left .lead {
  color: rgba(234, 244, 255, 0.85);
  font-size: 18px;
  max-width: 52ch;
}

.badges {
  justify-content: flex-start;
  margin-bottom: 26px;
}

.badges.left {
  margin-bottom: 0;
}

.badge {
  background: #061433;
  border-color: rgba(160, 210, 255, 0.4);
}

.mascots {
  justify-content: flex-start;
}

.panel h2,
.getapp h2 {
  color: #ffffff;
  text-transform: none;
  letter-spacing: -0.01em;
  text-shadow: 0 3px 0 rgba(6, 20, 60, 0.6);
}

.card .num {
  background: linear-gradient(180deg, #7fe0ff, #2cc0ff);
  color: #06233f;
}

.blast {
  color: #7fe0ff;
}

.getapp {
  display: grid;
  grid-template-columns: auto 1fr;
  gap: 26px;
  align-items: center;
}

.getapp .appicon {
  width: 132px;
  border-radius: 28px;
}

.getapp p {
  color: rgba(234, 244, 255, 0.85);
  margin: 0 0 16px;
  max-width: 60ch;
}

@media (max-width: 820px) {
  .badges,
  .mascots {
    justify-content: center;
  }

  .hero-left {
    text-align: center;
  }

  .hero-left .lead {
    margin-left: auto;
    margin-right: auto;
  }

  .getapp {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
  }

  .badges.left {
    justify-content: center;
  }
}

/* Phones: hero stacks, phone preview below the text and always inside the panel. */
@media (max-width: 820px) {
  .hero-grid {
    grid-template-columns: 1fr;
    gap: 22px;
  }

  .headline {
    font-size: clamp(30px, 9vw, 40px);
  }

  .hero-left .lead {
    font-size: 16px;
  }

  .try {
    width: 100%;
  }

  .screen {
    --s: 0.62;
    max-width: 100%;
  }
}

/* Phones: fish in two rows of three, and a shorter phone preview. */
@media (max-width: 820px) {
  .mascots {
    display: grid;
    grid-template-columns: repeat(3, auto);
    justify-content: center;
    gap: 10px 18px;
  }

  .screen {
    --s: 0.5;
  }

  .phone {
    padding: 10px;
    border-radius: 36px;
  }

  .screen,
  .screen iframe {
    border-radius: 28px;
  }
}

/* Squatter phone: thinner bezel and a shorter screen so it reads like a real handset, not a tower. */
.phone {
  padding: 8px;
  border-radius: 38px;
}

.screen {
  width: calc(402px * var(--s, 0.7));
  height: calc(800px * var(--s, 0.7));
  border-radius: 30px;
}

.screen iframe {
  height: 800px;
}

@media (max-width: 820px) {
  .phone {
    padding: 7px;
    border-radius: 32px;
  }

  .screen,
  .screen iframe {
    border-radius: 26px;
  }
}

/* Fish lineup: colours, then the two special fish; stacked as two rows on phones. */
.mascots {
  display: flex;
  flex-wrap: wrap;
  gap: 8px 22px;
}

.mascots .group {
  display: flex;
  gap: 6px;
}

@media (max-width: 820px) {
  .mascots {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
  }
}
