:root {
  --bg: #e8f4ff;
  --bg-soft: #f7fbff;
  --ink: #1a2a3a;
  --muted: #4d647a;
  --line: rgba(26, 42, 58, 0.12);
  --sayi: #f08a14;
  --kelime: #4aa824;
  --duello: #7b5cdb;
  --play: linear-gradient(135deg, #35b9ec 0%, #1f8fd6 55%, #1565c0 100%);
  --glow: 0 10px 28px rgba(31, 143, 214, 0.28);
  --font-display: "Fredoka", system-ui, sans-serif;
  --font-body: "Nunito", system-ui, sans-serif;
  --radius: 28px;
  --nav-h: 72px;
  --ease-out: cubic-bezier(0.22, 1, 0.36, 1);
  --panel: rgba(255, 255, 255, 0.42);
}

*,
*::before,
*::after {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  color: var(--ink);
  font-family: var(--font-body);
  background-color: #b9dff8;
  background-image: url("assets/hero-world.webp");
  background-size: cover;
  background-position: center center;
  background-attachment: fixed;
  background-repeat: no-repeat;
  overflow-x: hidden;
}

::selection {
  color: #fff;
  background: #1f8fd6;
}

:focus-visible {
  outline: 3px solid #ffb818;
  outline-offset: 4px;
}

img {
  max-width: 100%;
  display: block;
}

a {
  color: inherit;
  text-decoration: none;
}

button {
  font: inherit;
  border: 0;
  cursor: pointer;
  background: none;
  color: inherit;
}

/* Nav */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 50;
  height: var(--nav-h);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0 clamp(1rem, 3vw, 2.5rem);
  background: linear-gradient(180deg, rgba(232, 244, 255, 0.92), rgba(232, 244, 255, 0));
  transition: background 0.35s var(--ease-out), box-shadow 0.35s ease;
}

.nav.is-scrolled {
  background: rgba(247, 251, 255, 0.9);
  backdrop-filter: blur(14px);
  box-shadow: 0 8px 24px rgba(26, 42, 58, 0.08);
}

.nav-brand img {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.15);
  transition: transform 0.35s var(--ease-out);
}

.nav-brand:hover img {
  transform: scale(1.06) rotate(-3deg);
}

.nav-links {
  display: flex;
  gap: 1.5rem;
  font-weight: 800;
  font-size: 0.95rem;
}

.nav-links a {
  color: var(--muted);
  transition: color 0.2s ease;
}

.nav-links a:hover {
  color: var(--ink);
}

.nav-actions {
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.lang-switch {
  display: inline-flex;
  padding: 3px;
  border-radius: 999px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.7);
}

.lang-btn {
  min-width: 40px;
  padding: 0.35rem 0.65rem;
  border-radius: 999px;
  font-weight: 800;
  font-size: 0.8rem;
  color: var(--muted);
  transition: transform 0.2s var(--ease-out), background 0.2s ease, color 0.2s ease;
}

.lang-btn:hover {
  color: var(--ink);
  background: rgba(53, 185, 236, 0.14);
}

.lang-btn:active {
  transform: translateY(2px);
}

.lang-btn.is-active {
  background: rgba(53, 185, 236, 0.28);
  color: var(--ink);
}

.nav-toggle {
  display: none;
  width: 44px;
  height: 44px;
  place-items: center;
  gap: 6px;
  flex-direction: column;
}

.nav-toggle span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--ink);
  border-radius: 2px;
}

/* Buttons */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.55rem;
  min-height: 52px;
  padding: 0.75rem 1.4rem;
  border-radius: 999px;
  font-family: var(--font-display);
  font-weight: 600;
  font-size: 1.05rem;
  transition: transform 0.25s var(--ease-out), box-shadow 0.25s var(--ease-out);
}

.btn:hover {
  transform: translateY(-2px) scale(1.02);
}

.btn:active {
  transform: translateY(1px) scale(0.98);
}

.btn-play {
  background: var(--play);
  color: #fff;
  box-shadow: var(--glow);
}

.btn-play:disabled {
  cursor: not-allowed;
  opacity: 0.92;
}

.btn-play:disabled:hover {
  transform: none;
}

.btn-play--sm {
  min-height: 40px;
  padding: 0.45rem 1rem;
  font-size: 0.88rem;
}

.play-badge-link {
  display: inline-flex;
  align-items: center;
  line-height: 0;
  transition: transform 0.2s var(--ease-out), opacity 0.2s ease;
}

.play-badge-link:hover {
  transform: translateY(-2px);
}

.play-badge-link--soon {
  cursor: not-allowed;
  opacity: 0.72;
  filter: grayscale(0.15);
}

.play-badge-link--soon:hover {
  transform: none;
}

.play-badge {
  display: block;
  width: auto;
  height: 64px;
  max-width: min(220px, 70vw);
  object-fit: contain;
}

.btn-ghost {
  background: rgba(255, 255, 255, 0.55);
  border: 1.5px solid rgba(26, 42, 58, 0.35);
  color: var(--ink);
  backdrop-filter: blur(8px);
}

/* Hero */
.hero {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  min-height: 100dvh;
  display: grid;
  place-items: center;
  padding: calc(var(--nav-h) + 0.5rem) 1.25rem 2rem;
  overflow: hidden;
  background: transparent;
}

.hero-floaters {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.floater {
  position: absolute;
  width: 48px;
  height: 48px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #123;
  background: rgba(255, 255, 255, 0.92);
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
  animation: floaty 7s ease-in-out infinite;
}

.floater-a {
  top: 22%;
  left: 10%;
  background: linear-gradient(160deg, #fff, #c8f0a8);
}

.floater-b {
  top: 28%;
  right: 12%;
  background: linear-gradient(160deg, #fff, #ffd59a);
  animation-delay: -1.4s;
}

.floater-c {
  bottom: 26%;
  left: 14%;
  background: linear-gradient(160deg, #fff, #b7e4ff);
  animation-delay: -2.6s;
}

.floater-d {
  top: 48%;
  right: 8%;
  background: linear-gradient(160deg, #fff, #e0d0ff);
  animation-delay: -3.2s;
}

.floater-e {
  bottom: 32%;
  right: 22%;
  background: linear-gradient(160deg, #fff, #ffc1c8);
  animation-delay: -4.1s;
}

@keyframes floaty {
  0%,
  100% {
    transform: translateY(0) rotate(-4deg);
  }
  50% {
    transform: translateY(-18px) rotate(4deg);
  }
}

.hero-content {
  position: relative;
  z-index: 2;
  width: min(720px, 100%);
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.85rem;
  animation: heroIn 1.1s var(--ease-out) both;
}

.hero-kicker {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  margin: 0 0 0.15rem;
  padding: 0.45rem 0.85rem;
  border: 1px solid rgba(26, 42, 58, 0.14);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.62);
  color: #145a86;
  font-size: 0.76rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  box-shadow: 0 8px 18px rgba(26, 42, 58, 0.08);
  backdrop-filter: blur(8px);
}

.hero-kicker-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #78d719;
  box-shadow: 0 0 0 4px rgba(120, 215, 25, 0.18);
}

@keyframes heroIn {
  from {
    opacity: 0;
    transform: translateY(28px) scale(0.96);
  }
  to {
    opacity: 1;
    transform: none;
  }
}

.hero-logo {
  width: min(240px, 48vw);
  height: auto;
  filter: drop-shadow(0 14px 24px rgba(0, 0, 0, 0.22));
  animation: logoPulse 4.5s ease-in-out infinite;
}

@keyframes logoPulse {
  0%,
  100% {
    transform: translateY(0);
  }
  50% {
    transform: translateY(-6px);
  }
}

.hero-tagline {
  margin: 0;
  max-width: 34rem;
  font-size: clamp(1.05rem, 2.4vw, 1.3rem);
  font-weight: 800;
  line-height: 1.45;
  color: var(--ink);
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.8);
}

.hero-highlights {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.55rem;
  margin: 0.1rem 0 0.25rem;
}

.hero-highlights > span {
  display: inline-flex;
  align-items: center;
  gap: 0.42rem;
  padding: 0.42rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.48);
  border: 1px solid rgba(255, 255, 255, 0.72);
  color: var(--muted);
  font-size: 0.82rem;
  font-weight: 800;
  box-shadow: 0 6px 16px rgba(26, 42, 58, 0.06);
  backdrop-filter: blur(8px);
}

.hero-highlights strong {
  color: #1f8fd6;
  font-family: var(--font-display);
  font-size: 0.75rem;
}

.hero-cta {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.85rem;
}

.hero-scroll {
  position: absolute;
  bottom: 1.5rem;
  left: 50%;
  transform: translateX(-50%);
  z-index: 2;
  width: 22px;
  height: 36px;
  border: 2px solid rgba(26, 42, 58, 0.35);
  border-radius: 999px;
}

.hero-scroll span {
  display: block;
  width: 4px;
  height: 8px;
  margin: 8px auto 0;
  border-radius: 999px;
  background: var(--ink);
  animation: scrollDot 1.6s ease-in-out infinite;
}

@keyframes scrollDot {
  0% {
    opacity: 1;
    transform: translateY(0);
  }
  100% {
    opacity: 0;
    transform: translateY(12px);
  }
}

/* Sections */
main,
.section,
.footer {
  position: relative;
  z-index: 1;
}

.section {
  padding: clamp(3.5rem, 8vw, 6rem) 0;
}

.section:nth-of-type(even) {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), inset 0 -1px 0 rgba(255, 255, 255, 0.12);
}

.section-inner {
  width: min(1120px, calc(100% - 2.5rem));
  margin: 0 auto;
}

.eyebrow {
  margin: 0 0 0.6rem;
  font-family: var(--font-display);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: #1f8fd6;
}

.section-title {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4.5vw, 3rem);
  font-weight: 700;
  line-height: 1.1;
}

.section-lead {
  margin: 0.85rem 0 0;
  max-width: 38rem;
  color: var(--muted);
  font-size: 1.1rem;
  font-weight: 700;
  line-height: 1.5;
}

/* Demo panels */
.demo-panel {
  position: relative;
  overflow: hidden;
  margin-top: 2rem;
  display: grid;
  grid-template-columns: 1fr 1.05fr;
  gap: clamp(1.25rem, 3vw, 2.25rem);
  align-items: stretch;
  padding: clamp(1.25rem, 3vw, 2rem);
  border-radius: var(--radius);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background: rgba(255, 255, 255, 0.38);
  backdrop-filter: blur(14px) saturate(1.15);
  -webkit-backdrop-filter: blur(14px) saturate(1.15);
  box-shadow: 0 18px 40px rgba(26, 42, 58, 0.1);
}

.demo-panel::before {
  content: "";
  position: absolute;
  inset: 0 0 auto;
  height: 5px;
  background: var(--panel-accent);
}

.demo-panel--sayi {
  --panel-accent: var(--sayi);
  border-color: rgba(240, 138, 20, 0.35);
}

.demo-panel--kelime {
  --panel-accent: var(--kelime);
  border-color: rgba(74, 168, 36, 0.35);
}

.demo-panel--duello {
  --panel-accent: var(--duello);
  border-color: rgba(123, 92, 219, 0.35);
}

.mode-icon {
  width: 72px;
  height: 72px;
  margin-bottom: 0.85rem;
  filter: drop-shadow(0 8px 14px rgba(0, 0, 0, 0.15));
}

.demo-guide h3 {
  margin: 0 0 0.55rem;
  font-family: var(--font-display);
  font-size: 2rem;
}

.demo-panel--sayi h3 {
  color: var(--sayi);
}

.demo-panel--kelime h3 {
  color: var(--kelime);
}

.demo-panel--duello h3 {
  color: var(--duello);
}

.new-modes-heading {
  margin-top: clamp(3rem, 7vw, 5rem);
}

.new-modes-heading h3 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.5rem);
}

.new-modes-heading > p:last-child {
  max-width: 42rem;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.5;
}

.new-modes-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 1rem;
  margin-top: 1.5rem;
}

.mode-card {
  --mode-accent: #1f8fd6;
  display: flex;
  align-items: center;
  gap: 1rem;
  min-width: 0;
  padding: clamp(1rem, 2.5vw, 1.4rem);
  border: 1px solid color-mix(in srgb, var(--mode-accent) 30%, white);
  border-top: 4px solid var(--mode-accent);
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.76);
  box-shadow: 0 12px 28px rgba(26, 42, 58, 0.08);
}

.mode-card img {
  flex: 0 0 76px;
  width: 76px;
  height: 76px;
  object-fit: contain;
  border-radius: 18px;
}

.mode-card > div {
  min-width: 0;
}

.mode-card h4 {
  margin: 0 0 0.35rem;
  color: var(--mode-accent);
  font-family: var(--font-display);
  font-size: 1.3rem;
}

.mode-card p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

.mode-card--adventure { --mode-accent: #0879bf; }
.mode-card--adventure img.mode-poster {
  flex: 0 0 112px;
  width: 112px;
  height: auto;
  max-height: 210px;
  border-radius: 16px;
  object-fit: contain;
}
.mode-card--daily { --mode-accent: #ec9a16; }
.mode-card--series { --mode-accent: #6d55c7; }
.mode-card--online { --mode-accent: #e45b1a; }
.mode-card--cup { --mode-accent: #bd7c12; }

.demo-guide p {
  margin: 0;
  color: var(--muted);
  font-size: 1.05rem;
  font-weight: 700;
  line-height: 1.55;
}

.guide-list {
  margin: 1rem 0 0;
  padding: 0 0 0 1.15rem;
  color: var(--ink);
  font-weight: 700;
  line-height: 1.55;
}

.longest-words {
  margin-top: 1rem;
  padding: 0.85rem 1rem;
  border-radius: 16px;
  background: rgba(74, 168, 36, 0.12);
  border: 1px solid rgba(74, 168, 36, 0.28);
}

.longest-words-label {
  margin: 0 0 0.55rem;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: #2f6f14;
}

.longest-words-list {
  display: flex;
  flex-wrap: wrap;
  gap: 0.45rem;
  margin: 0;
  padding: 0;
  list-style: none;
}

.longest-words-list li {
  padding: 0.35rem 0.7rem;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.75);
  border: 1px solid rgba(74, 168, 36, 0.35);
  color: #1f4d0c;
  font-size: 0.88rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.guide-hint {
  margin-top: 1rem !important;
  padding: 0.75rem 1rem;
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.45);
  border: 1px solid rgba(53, 185, 236, 0.25);
  color: #145a86 !important;
  font-size: 0.95rem !important;
}

.demo-board {
  display: flex;
  flex-direction: column;
  gap: 0.9rem;
  padding: 1.15rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.65);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
}

.demo-target {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  padding: 0.85rem 1.1rem;
  border-radius: 16px;
  background: linear-gradient(135deg, #ffe2b8, #ffcf8a);
  font-weight: 800;
}

.demo-target--word {
  background: linear-gradient(135deg, #d7f5c4, #b8e89a);
}

.demo-target strong {
  font-family: var(--font-display);
  font-size: 1.8rem;
  letter-spacing: 0.04em;
}

.demo-expr {
  min-height: 2.4rem;
  padding: 0.65rem 0.9rem;
  border-radius: 12px;
  background: #eef5ff;
  font-weight: 800;
  color: var(--muted);
}

.demo-tiles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.55rem;
}

.tile-btn {
  min-width: 56px;
  min-height: 56px;
  padding: 0.4rem 0.7rem;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.25rem;
  font-weight: 700;
  background: #fff;
  border: 2px solid rgba(26, 42, 58, 0.12);
  box-shadow: 0 5px 0 rgba(26, 42, 58, 0.12), 0 10px 18px rgba(26, 42, 58, 0.08);
  transition: transform 0.15s ease, background 0.15s ease, opacity 0.15s ease, box-shadow 0.15s ease;
}

.tile-btn:hover:not(:disabled) {
  transform: translateY(-2px);
}

.tile-btn:active:not(:disabled) {
  transform: translateY(3px);
  box-shadow: 0 2px 0 rgba(26, 42, 58, 0.12), 0 5px 10px rgba(26, 42, 58, 0.06);
}

.tile-btn:disabled,
.tile-btn.is-used {
  opacity: 0.35;
  cursor: not-allowed;
}

.tile-btn.is-selected {
  border-color: #1f8fd6;
  background: #e5f5ff;
}

.tile-btn--big {
  min-width: 64px;
  background: linear-gradient(160deg, #fff7e8, #ffd59a);
  border-color: rgba(240, 138, 20, 0.45);
  color: #8a4b00;
}

.tile-btn--joker {
  min-width: 56px;
  background: linear-gradient(160deg, #f3e8ff, #d8c4ff);
  border-color: rgba(123, 92, 219, 0.45);
  padding: 0.35rem;
}

.tile-btn--joker img {
  width: 28px;
  height: 28px;
  object-fit: contain;
  margin: 0 auto;
}

.demo-tiles--letters .tile-btn {
  min-width: 48px;
  background: linear-gradient(160deg, #fff, #eaf8df);
}

.joker-picker {
  margin-top: 0.25rem;
  padding: 0.85rem;
  border-radius: 16px;
  background: #f4ecff;
  border: 1px solid rgba(123, 92, 219, 0.35);
}

.joker-picker[hidden] {
  display: none !important;
}

.joker-picker-label {
  margin: 0 0 0.65rem;
  font-weight: 800;
  color: #4a2f9b;
}

.joker-picker-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 0.4rem;
  margin-bottom: 0.65rem;
}

.joker-picker-grid .tile-btn {
  min-width: 40px;
  min-height: 40px;
  font-size: 1rem;
}

.demo-ops {
  display: flex;
  gap: 0.5rem;
}

.demo-ops button {
  flex: 1;
  min-height: 48px;
  border-radius: 14px;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  color: #fff;
  background: linear-gradient(160deg, #5bb8ef, #2a86c8);
  box-shadow: 0 5px 0 #14699f, 0 10px 16px rgba(42, 134, 200, 0.25);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.demo-ops button:hover {
  filter: brightness(1.05);
  transform: translateY(-2px);
}

.demo-ops button:active {
  transform: translateY(3px);
  box-shadow: 0 2px 0 #14699f, 0 5px 10px rgba(42, 134, 200, 0.16);
}

.demo-ops button.is-selected {
  outline: 3px solid rgba(26, 42, 58, 0.2);
  transform: scale(1.04);
}

.demo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.btn-soft {
  min-height: 42px;
  padding: 0.45rem 0.95rem;
  border-radius: 999px;
  font-weight: 800;
  background: #eef2f7;
  color: var(--ink);
  box-shadow: 0 3px 0 rgba(26, 42, 58, 0.12);
  transition: transform 0.15s ease, box-shadow 0.15s ease, filter 0.15s ease;
}

.btn-soft:hover {
  filter: brightness(0.98);
  transform: translateY(-1px);
}

.btn-soft:active {
  transform: translateY(2px);
  box-shadow: 0 1px 0 rgba(26, 42, 58, 0.12);
}

.btn-soft--accent {
  background: #ffe8c2;
  color: #8a4b00;
}

.btn-soft--ok {
  background: #d7f5c4;
  color: #2d6b12;
}

.demo-feedback {
  margin: 0;
  min-height: 1.4rem;
  font-weight: 800;
  color: #2d6b12;
}

.demo-feedback.is-bad {
  color: #b42318;
}

.demo-feedback.is-info {
  color: #145a86;
}

.demo-feedback.is-win {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  color: #1f7a12;
  font-size: 1.05rem;
}

/* Duello visual */
.duello-visual {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1rem;
  padding: 0.5rem;
}

.duello-art {
  width: min(100%, 330px);
  max-height: 660px;
  height: auto;
  border-radius: 24px;
  box-shadow: 0 18px 40px rgba(123, 92, 219, 0.2);
  border: 4px solid rgba(255, 255, 255, 0.76);
  object-fit: contain;
  background: #fff;
}

.duello-coming-soon {
  margin: 0;
  padding: 0.65rem 1rem;
  border-radius: 999px;
  background: rgba(123, 92, 219, 0.12);
  border: 1px solid rgba(123, 92, 219, 0.26);
  text-align: center;
  font-weight: 800;
  color: var(--muted);
  font-size: clamp(0.95rem, 2vw, 1.1rem);
}

/* How */
.steps {
  list-style: none;
  margin: 2.5rem 0 0;
  padding: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.25rem;
}

.step {
  display: flex;
  gap: 1rem;
  align-items: flex-start;
  padding: 1.4rem 1.25rem;
  border-radius: 22px;
  background: rgba(255, 255, 255, 0.4);
  border: 1px solid rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.step-num {
  flex: 0 0 auto;
  width: 44px;
  height: 44px;
  display: grid;
  place-items: center;
  border-radius: 14px;
  font-family: var(--font-display);
  font-weight: 700;
  font-size: 1.25rem;
  color: #fff;
  background: linear-gradient(145deg, #35b9ec, #1565c0);
}

.step h3 {
  margin: 0 0 0.35rem;
  font-family: var(--font-display);
  font-size: 1.25rem;
}

.step p {
  margin: 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.45;
}

/* Gallery: phone carousel */
.gallery-showcase {
  text-align: center;
}

.gallery-kicker {
  letter-spacing: 0.14em;
}

.gallery-heading {
  margin-bottom: 1.75rem;
}

.phone-stage {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(0.75rem, 3vw, 2rem);
  margin: 0 auto;
}

.phone-stage--hero {
  margin-top: 0.35rem;
  width: 100%;
}

.phone-meta--hero {
  margin-top: 0.55rem;
}

.phone-meta--hero .phone-label {
  font-size: 1.1rem;
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
}

.phone-meta--hero .phone-counter {
  text-shadow: 0 1px 8px rgba(255, 255, 255, 0.65);
}

.phone-frame {
  position: relative;
  width: min(260px, 58vw);
  padding: 11px;
  border-radius: 34px;
  background: linear-gradient(160deg, #2a3140, #12161f);
  box-shadow:
    0 28px 60px rgba(10, 20, 40, 0.4),
    inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.phone-screen {
  position: relative;
  overflow: hidden;
  border-radius: 26px;
  background: #0b1220;
  aspect-ratio: 1 / 2;
}

.phone-slide {
  position: absolute;
  inset: 0;
  overflow: hidden;
  transform: translate3d(100%, 0, 0);
  will-change: transform;
}

.phone-slide--current {
  transform: translate3d(0, 0, 0);
}

.phone-slide--next {
  transform: translate3d(100%, 0, 0);
}

.phone-slide--current.phone-slide--exit-next {
  animation: phone-slide-out-next 0.54s var(--ease-out) both;
}

.phone-slide--next.phone-slide--enter-next {
  animation: phone-slide-in-next 0.54s var(--ease-out) both;
}

.phone-slide--current.phone-slide--exit-prev {
  animation: phone-slide-out-prev 0.54s var(--ease-out) both;
}

.phone-slide--next.phone-slide--enter-prev {
  animation: phone-slide-in-prev 0.54s var(--ease-out) both;
}

@keyframes phone-slide-out-next {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(-100%, 0, 0); }
}

@keyframes phone-slide-in-next {
  from { transform: translate3d(100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

@keyframes phone-slide-out-prev {
  from { transform: translate3d(0, 0, 0); }
  to { transform: translate3d(100%, 0, 0); }
}

@keyframes phone-slide-in-prev {
  from { transform: translate3d(-100%, 0, 0); }
  to { transform: translate3d(0, 0, 0); }
}

.phone-slide [data-phone-image] {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: top center;
  display: block;
}

.phone-slide [data-phone-image][hidden] {
  display: none !important;
}

.phone-nav {
  flex: 0 0 auto;
  width: 54px;
  height: 54px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 2rem;
  line-height: 1;
  color: #fff;
  background: rgba(20, 28, 48, 0.55);
  border: 2px solid rgba(255, 255, 255, 0.55);
  box-shadow: 0 10px 24px rgba(10, 20, 40, 0.25);
  transition: transform 0.2s ease, background 0.2s ease;
}

.phone-nav:hover {
  transform: scale(1.06);
  background: rgba(20, 28, 48, 0.75);
}

.phone-nav:active {
  transform: scale(0.96);
}

.phone-meta {
  margin-top: 1.35rem;
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}

.phone-counter {
  margin: 0;
  font-family: var(--font-display);
  font-size: 1.05rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: var(--ink);
}

.phone-label {
  margin: 0.35rem 0 0;
  font-family: var(--font-display);
  font-size: 1.35rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.04em;
  color: #145a86;
}

.phone-blurb {
  margin: 0.75rem 0 0;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

@media (max-width: 640px) {
  .phone-nav {
    width: 44px;
    height: 44px;
    font-size: 1.6rem;
  }

  .phone-frame {
    width: min(230px, 56vw);
  }
}

/* Compete */
.compete-grid {
  display: grid;
  grid-template-columns: 1fr 1.1fr;
  gap: clamp(1.5rem, 4vw, 3rem);
  align-items: center;
  padding: clamp(1.5rem, 4vw, 2.5rem);
  border-radius: calc(var(--radius) + 4px);
  border: 1px solid rgba(123, 92, 219, 0.28);
  background: rgba(255, 255, 255, 0.4);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 18px 40px rgba(26, 42, 58, 0.08);
}

.vs-mark {
  width: 88px;
  height: auto;
  margin-bottom: 0.75rem;
  animation: floaty 5.5s ease-in-out infinite;
}

.compete-copy p:last-child {
  margin: 1rem 0 0;
  color: var(--muted);
  font-size: 1.08rem;
  font-weight: 700;
  line-height: 1.55;
  max-width: 32rem;
}

.compete-shots {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 1rem;
}

.compete-shots img {
  width: 100%;
  height: auto;
  object-fit: contain;
  border-radius: 18px;
  border: 2px solid rgba(26, 42, 58, 0.1);
  background: #fff;
  box-shadow: 0 14px 28px rgba(26, 42, 58, 0.12);
}

/* CTA */
.cta-band {
  padding-bottom: 5rem;
}

.cta-panel {
  text-align: center;
  padding: clamp(2.5rem, 6vw, 4rem) 1.5rem;
  border-radius: calc(var(--radius) + 8px);
  border: 1px solid rgba(255, 255, 255, 0.55);
  background:
    radial-gradient(ellipse 70% 60% at 50% 0%, rgba(53, 185, 236, 0.18), transparent 60%),
    rgba(255, 255, 255, 0.42);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow: 0 24px 50px rgba(26, 42, 58, 0.1);
}

.cta-logo {
  width: min(280px, 70vw);
  margin: 0 auto 1.25rem;
  filter: drop-shadow(0 10px 20px rgba(0, 0, 0, 0.15));
}

.cta-panel h2 {
  margin: 0;
  font-family: var(--font-display);
  font-size: clamp(1.8rem, 4vw, 2.6rem);
}

.cta-panel > p {
  margin: 0.75rem auto 1.5rem;
  max-width: 28rem;
  color: var(--muted);
  font-weight: 700;
  line-height: 1.5;
}

.cta-note {
  margin: 1rem 0 0 !important;
  font-size: 0.9rem !important;
  opacity: 0.8;
}

/* Footer */
.footer {
  border-top: 1px solid var(--line);
  padding: 1.75rem 1.25rem 2.25rem;
  background: rgba(255, 255, 255, 0.55);
  backdrop-filter: blur(8px);
}

.footer-inner {
  width: min(1120px, 100%);
  margin: 0 auto;
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.85rem 1.25rem;
  text-align: center;
  color: var(--muted);
  font-weight: 800;
}

.footer-inner img {
  border-radius: 10px;
}

.footer-tag {
  width: 100%;
  margin: 0;
  font-size: 0.9rem;
}

.footer p {
  margin: 0;
}

.footer-links {
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1rem;
  margin-top: 0.15rem;
}

.footer-links a {
  color: inherit;
  opacity: 0.8;
  text-decoration: underline;
  text-underline-offset: 3px;
  transition: opacity 0.2s ease, color 0.2s ease;
}

.footer-links a:hover {
  color: var(--ink);
  opacity: 1;
}

/* Reveal */
.reveal {
  opacity: 0;
  transform: translateY(28px);
  transition: opacity 0.7s var(--ease-out), transform 0.7s var(--ease-out);
}

.reveal.is-in {
  opacity: 1;
  transform: none;
}

/* Responsive */
@media (max-width: 960px) {
  .demo-panel,
  .compete-grid {
    grid-template-columns: 1fr;
  }

  .new-modes-grid {
    grid-template-columns: 1fr;
  }

  .steps {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 760px) {
  .nav-links,
  .nav-actions .btn-play--sm {
    display: none;
  }

  .nav-toggle {
    display: flex;
  }

  .nav.is-open .nav-links {
    display: flex;
    position: absolute;
    top: var(--nav-h);
    left: 1rem;
    right: 1rem;
    flex-direction: column;
    gap: 0.25rem;
    padding: 1rem;
    border-radius: 18px;
    background: rgba(255, 255, 255, 0.96);
    border: 1px solid var(--line);
    box-shadow: 0 16px 32px rgba(26, 42, 58, 0.12);
  }

  .nav.is-open .nav-links a {
    padding: 0.75rem 0.5rem;
  }

  .floater {
    width: 36px;
    height: 36px;
    font-size: 1rem;
  }

  .floater-d,
  .floater-e {
    display: none;
  }

}

/* Waitlist and launch notification form */
.waitlist-form {
  max-width: 480px;
  width: 100%;
  margin: 1.5rem auto 1.25rem;
  display: flex;
  flex-direction: column;
  gap: 0.85rem;
  text-align: left;
}

.waitlist-inputs {
  display: flex;
  gap: 0.5rem;
}

@media (max-width: 480px) {
  .waitlist-inputs {
    flex-direction: column;
  }
}

.waitlist-email {
  flex: 1;
  padding: 0.85rem 1.15rem;
  border-radius: 999px;
  border: 2px solid rgba(26, 42, 58, 0.16);
  background: rgba(255, 255, 255, 0.95);
  font: inherit;
  font-size: 1rem;
  color: var(--ink);
  outline: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.waitlist-email:focus {
  border-color: #1f8fd6;
  box-shadow: 0 0 0 3px rgba(31, 143, 214, 0.22);
}

.waitlist-btn {
  flex: 0 0 auto;
  padding: 0.85rem 1.5rem;
  border-radius: 999px;
  font-weight: 800;
  background: var(--play);
  color: #fff;
  box-shadow: 0 8px 18px rgba(31, 143, 214, 0.35);
  border: none;
  cursor: pointer;
  transition: transform 0.2s ease, filter 0.2s ease;
}

.waitlist-btn:hover {
  filter: brightness(1.06);
  transform: translateY(-1px);
}

.waitlist-btn:active {
  transform: translateY(1px);
}

.waitlist-checkbox {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  font-size: 0.92rem;
  color: var(--muted);
  font-weight: 700;
  cursor: pointer;
  user-select: none;
}

.waitlist-checkbox input {
  accent-color: #1f8fd6;
  width: 18px;
  height: 18px;
  cursor: pointer;
}

.waitlist-success {
  display: block;
  padding: 0.85rem 1.25rem;
  border-radius: 14px;
  background: #d7f5c4;
  border: 1px solid rgba(45, 107, 18, 0.25);
  color: #2d6b12;
  font-weight: 800;
  text-align: center;
  margin: 0.5rem 0 0;
}


@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .floater,
  .hero-logo,
  .vs-mark,
  .hero-scroll span,
  .hero-content {
    animation: none !important;
  }

  .reveal {
    opacity: 1;
    transform: none;
    transition: none;
  }

  .phone-slide {
    animation: none !important;
  }
}
