:root {
  --navy: #0b4a86;
  --cyan: #10b9c9;
  --blue: #2388e9;
  --coral: #f53b78;
  --violet: #7044e8;
  --orange: #ffa315;
  --cream: #fff8df;
  --white: #ffffff;
  --ink: #153856;
  --shadow: 0 20px 50px rgba(5, 61, 94, .18);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
body {
  margin: 0;
  color: var(--ink);
  background: #e7f9ff;
  font-family: ui-rounded, "Arial Rounded MT Bold", "Trebuchet MS", system-ui, sans-serif;
  font-size: 17px;
  line-height: 1.65;
}
a { color: inherit; }

.site-header {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  min-height: 76px;
  padding: 0 5vw;
  color: var(--navy);
  background: rgba(255,255,255,.9);
  border-bottom: 1px solid rgba(11,74,134,.12);
  backdrop-filter: blur(16px);
}
.brand { font-size: 1.22rem; font-weight: 900; text-decoration: none; letter-spacing: .04em; }
.brand span { color: var(--coral); }
nav { display: flex; gap: 1.4rem; }
nav a { font-weight: 800; text-decoration: none; }
nav a:hover, nav a:focus-visible { color: var(--coral); }

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1.05fr) minmax(320px, .75fr);
  align-items: center;
  gap: clamp(2rem, 6vw, 6rem);
  min-height: calc(100vh - 76px);
  padding: clamp(4rem, 8vw, 7rem) 7vw;
  overflow: hidden;
  background: linear-gradient(110deg, rgba(3,169,225,.08), rgba(255,255,255,.2)), url("tropical-background.webp") center 42% / cover;
}
.hero::before { content: ""; position: absolute; inset: 0; background: linear-gradient(90deg, rgba(235,251,255,.97) 5%, rgba(235,251,255,.82) 45%, rgba(235,251,255,.22)); }
.hero > * { position: relative; }
.hero-content { max-width: 660px; }
.eyebrow { margin: 0 0 .5rem; color: var(--coral); font-size: .87rem; font-weight: 900; letter-spacing: .11em; text-transform: uppercase; }
.hero-logo { display: block; width: min(560px, 92%); height: auto; margin: 0 0 .5rem; }
h1, h2, h3, p { margin-top: 0; }
h1 { margin-bottom: 1rem; color: var(--navy); font-size: clamp(2.3rem, 5vw, 4.7rem); line-height: 1.03; }
.hero-copy { max-width: 590px; font-size: clamp(1.05rem, 2vw, 1.28rem); }
.primary-action { display: inline-block; margin-top: .8rem; padding: .9rem 1.5rem; color: white; background: var(--coral); border-radius: 18px; box-shadow: 0 8px 0 #c91f59; font-weight: 900; text-decoration: none; }
.primary-action:active { transform: translateY(4px); box-shadow: 0 4px 0 #c91f59; }

.game-preview {
  justify-self: center;
  width: min(390px, 86vw);
  min-height: 560px;
  padding: 2rem 1.5rem;
  border: 9px solid rgba(255,255,255,.8);
  border-radius: 48px;
  background: linear-gradient(rgba(8,51,78,.18), rgba(8,51,78,.35)), url("tropical-background.webp") center / cover;
  box-shadow: var(--shadow);
}
.preview-top { display: flex; justify-content: space-between; padding: .75rem 1rem; color: var(--navy); background: rgba(255,255,255,.88); border-radius: 18px; }
.game-preview > img { display: block; width: 85%; margin: 4.5rem auto 3rem; }
.color-pills { display: flex; align-items: end; justify-content: center; gap: .7rem; }
.color-pills span { width: 42px; height: 122px; border: 5px solid rgba(255,255,255,.85); border-radius: 12px 12px 24px 24px; box-shadow: inset 0 -58px 0 currentColor; }
.color-pills .pink { color: var(--coral); }.color-pills .yellow { color: #ffd126; }.color-pills .cyan { color: var(--cyan); }.color-pills .violet { color: var(--violet); }

.play-section { padding: 6rem 7vw; background: white; }
.section-heading { max-width: 720px; margin: 0 auto 3rem; text-align: center; }
h2 { margin-bottom: .8rem; color: var(--navy); font-size: clamp(2rem, 4vw, 3.2rem); line-height: 1.08; }
.feature-grid { display: grid; grid-template-columns: repeat(3, 1fr); gap: 1.4rem; max-width: 1180px; margin: auto; }
.feature-card { padding: 2rem; color: white; border-radius: 28px; box-shadow: var(--shadow); }
.feature-card.turquoise { background: var(--cyan); }.feature-card.coral { background: var(--coral); }.feature-card.violet { background: var(--violet); }
.feature-icon { display: grid; place-items: center; width: 60px; height: 60px; margin-bottom: 1rem; color: var(--navy); background: white; border-radius: 50%; font-size: 1.75rem; font-weight: 900; }
.feature-card h3 { margin-bottom: .45rem; font-size: 1.35rem; }
.feature-card p { margin-bottom: 0; }

.download-section { display: flex; align-items: center; justify-content: space-between; gap: 2rem; padding: 5rem 7vw; background: var(--cream); }
.download-section > div:first-child { max-width: 650px; }
.store-list { display: flex; gap: 1rem; flex-wrap: wrap; }
.store-badge { min-width: 190px; padding: .75rem 1.2rem; color: white; background: var(--navy); border-radius: 16px; opacity: .72; }
.store-badge small, .store-badge strong { display: block; }
.store-badge small { font-size: .72rem; }.store-badge strong { font-size: 1.18rem; }

footer { display: flex; justify-content: space-between; gap: 1.5rem; padding: 2rem 5vw; color: white; background: #07335a; }
footer p { margin: 0; }
footer div { display: flex; gap: 1.2rem; flex-wrap: wrap; }

.privacy-page { background: linear-gradient(180deg, #dff8ff, #f7fdff); }
.legal-shell { width: min(940px, 90vw); margin: 0 auto; padding: 5rem 0; }
.legal-heading { display: flex; align-items: end; justify-content: space-between; gap: 1.5rem; margin-bottom: 2rem; }
.legal-heading h1 { font-size: clamp(2.2rem, 5vw, 4rem); }
.legal-date { margin-bottom: 0; color: #54718b; }
.language-switch { display: flex; padding: .3rem; background: white; border-radius: 15px; box-shadow: 0 8px 24px rgba(5,61,94,.12); }
.language-switch button { min-width: 54px; padding: .55rem .8rem; color: var(--navy); background: transparent; border: 0; border-radius: 11px; font: inherit; font-weight: 900; cursor: pointer; }
.language-switch button.active { color: white; background: var(--coral); }
.legal-card { padding: clamp(1.5rem, 5vw, 4rem); background: white; border: 3px solid rgba(16,185,201,.22); border-radius: 32px; box-shadow: var(--shadow); }
.legal-card h2 { margin-top: 2.2rem; font-size: 1.45rem; }
.legal-card h2:first-of-type { margin-top: 1.2rem; }
.legal-card li { margin-bottom: .45rem; }
.link-list a { color: var(--navy); font-weight: 800; }
[hidden] { display: none !important; }

@media (max-width: 850px) {
  .site-header { position: relative; align-items: flex-start; padding-top: 1rem; padding-bottom: 1rem; }
  nav { gap: .75rem; flex-wrap: wrap; justify-content: flex-end; font-size: .9rem; }
  .hero { grid-template-columns: 1fr; padding-top: 3rem; background-position: center; }
  .hero::before { background: rgba(235,251,255,.85); }
  .hero-content { text-align: center; }
  .hero-logo { margin-left: auto; margin-right: auto; }
  .game-preview { min-height: 490px; }
  .feature-grid { grid-template-columns: 1fr; }
  .download-section, .legal-heading, footer { align-items: flex-start; flex-direction: column; }
}

@media (max-width: 540px) {
  body { font-size: 16px; }
  .site-header { display: block; }
  nav { margin-top: .7rem; justify-content: flex-start; }
  .hero, .play-section, .download-section { padding-left: 1.25rem; padding-right: 1.25rem; }
  .game-preview { min-height: 430px; border-width: 6px; border-radius: 36px; }
  .game-preview > img { margin-top: 3.5rem; }
  .store-list, .store-badge { width: 100%; }
  .legal-shell { width: min(94vw, 940px); padding: 2.5rem 0; }
  .legal-card { border-radius: 22px; }
}
