:root {
  --ink: #16131c;
  --muted: #6e6472;
  --paper: #fffaf7;
  --porcelain: #f7f4f3;
  --line: rgba(72, 43, 59, 0.14);
  --rose: #bd2b73;
  --rose-soft: #ff63aa;
  --teal: #12676b;
  --gold: #d8a33c;
  --plum: #442338;
  --shadow: 0 28px 90px rgba(66, 28, 48, 0.18);
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  color: var(--ink);
  background:
    radial-gradient(circle at 12% 6%, rgba(255, 99, 170, 0.18), transparent 28rem),
    radial-gradient(circle at 84% 0%, rgba(216, 163, 60, 0.16), transparent 26rem),
    linear-gradient(180deg, #fffaf7 0%, #f5f0ef 56%, #fffaf7 100%);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  min-height: 100vh;
}

a {
  color: inherit;
  text-decoration: none;
}

.topbar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
  padding: 18px clamp(18px, 5vw, 72px);
  background: rgba(255, 250, 247, 0.82);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(18px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: 24px;
  font-style: italic;
  font-weight: 900;
  letter-spacing: 0.02em;
  color: var(--rose);
}

.logo {
  width: 42px;
  height: 42px;
  display: grid;
  place-items: center;
  border-radius: 15px;
  background: linear-gradient(135deg, var(--rose-soft), var(--rose) 48%, var(--teal));
  box-shadow: 0 16px 42px rgba(189, 43, 115, 0.32);
}

.logo::before {
  content: "";
  width: 18px;
  height: 14px;
  border-radius: 3px;
  background: #fff;
  clip-path: polygon(0 24%, 18% 24%, 18% 0, 32% 0, 32% 24%, 47% 24%, 47% 0, 61% 0, 61% 24%, 76% 24%, 76% 0, 90% 0, 90% 24%, 100% 24%, 100% 100%, 0 100%);
}

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

.nav a {
  color: var(--muted);
  border-radius: 999px;
  padding: 10px 12px;
  font-size: 14px;
  font-weight: 800;
}

.nav a:hover,
.nav a.active {
  color: var(--ink);
  background: rgba(189, 43, 115, 0.08);
}

.nav .store-link,
.button.primary {
  color: #fff;
  background: linear-gradient(135deg, var(--rose-soft), var(--rose) 52%, var(--teal));
  box-shadow: 0 18px 44px rgba(189, 43, 115, 0.28);
}

.page {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
}

.hero {
  position: relative;
  min-height: calc(100vh - 80px);
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(300px, 420px);
  gap: clamp(30px, 6vw, 74px);
  align-items: center;
  padding: 64px 0 84px;
  overflow: hidden;
}

.light-ribbon {
  position: absolute;
  inset: 48px -10% auto auto;
  width: min(760px, 70vw);
  height: 360px;
  pointer-events: none;
  background: linear-gradient(118deg, rgba(255, 99, 170, 0.34), rgba(216, 163, 60, 0.26), rgba(18, 103, 107, 0.18));
  filter: blur(54px);
  opacity: 0.82;
  animation: ribbonDrift 9s ease-in-out infinite alternate;
}

@keyframes ribbonDrift {
  from { transform: translate3d(-34px, -18px, 0) rotate(-4deg); }
  to { transform: translate3d(28px, 24px, 0) rotate(8deg); }
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--rose);
  font-size: 13px;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
}

.eyebrow::before {
  content: "";
  width: 34px;
  height: 2px;
  background: var(--rose);
}

h1,
h2,
h3 {
  letter-spacing: 0;
}

h1 {
  margin: 18px 0 18px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(50px, 8vw, 104px);
  line-height: 0.9;
}

h2 {
  margin: 14px 0;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(34px, 4.8vw, 62px);
  line-height: 1;
}

h3 {
  margin: 0 0 12px;
  font-size: 22px;
}

p {
  line-height: 1.72;
}

.hero-copy,
.lead {
  color: var(--muted);
  font-size: clamp(17px, 1.8vw, 21px);
  max-width: 760px;
}

.actions {
  display: flex;
  gap: 14px;
  flex-wrap: wrap;
  margin-top: 30px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 0 22px;
  border: 1px solid var(--line);
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.68);
  color: var(--plum);
  font-weight: 900;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.button:hover {
  transform: translateY(-2px);
}

.phone-stage {
  position: relative;
  display: grid;
  place-items: center;
  perspective: 1200px;
}

.phone {
  width: min(100%, 390px);
  aspect-ratio: 9 / 18.5;
  padding: 16px;
  border: 1px solid rgba(72, 43, 59, 0.12);
  border-radius: 46px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.92), rgba(255, 255, 255, 0.45));
  box-shadow: var(--shadow);
  transform: rotateY(-7deg) rotateX(4deg);
  animation: floatPhone 7s ease-in-out infinite;
}

@keyframes floatPhone {
  50% { transform: rotateY(-2deg) rotateX(2deg) translateY(-14px); }
}

.phone-screen {
  height: 100%;
  overflow: hidden;
  border-radius: 34px;
  padding: 22px;
  background: #fbf8f7;
  border: 1px solid var(--line);
}

.app-head {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 24px;
}

.app-title {
  font-family: Georgia, "Times New Roman", serif;
  color: var(--rose);
  font-size: 23px;
  font-style: italic;
  font-weight: 900;
}

.coin-pill {
  border: 1px solid rgba(216, 163, 60, 0.5);
  border-radius: 999px;
  padding: 10px 13px;
  font-weight: 900;
  background: rgba(255, 255, 255, 0.72);
}

.app-card {
  border: 1px solid var(--line);
  border-radius: 22px;
  padding: 20px;
  background: rgba(255, 255, 255, 0.74);
  box-shadow: 0 16px 38px rgba(66, 28, 48, 0.08);
  margin-bottom: 18px;
}

.mini-icon {
  width: 52px;
  height: 52px;
  margin-bottom: 14px;
  border-radius: 17px;
  background: linear-gradient(135deg, var(--rose-soft), var(--rose), var(--teal));
}

.app-card h3 {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 30px;
  line-height: 1.02;
}

.chips {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}

.chip {
  padding: 10px 13px;
  border-radius: 999px;
  background: #fff;
  border: 1px solid var(--line);
  color: var(--plum);
  font-size: 13px;
  font-weight: 900;
}

.route-card {
  height: 232px;
  border-radius: 24px;
  padding: 18px;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  color: #fff;
  background:
    linear-gradient(180deg, transparent 22%, rgba(18, 14, 18, 0.82)),
    linear-gradient(135deg, #ffd27c, #d23986 48%, #12676b);
  box-shadow: 0 18px 44px rgba(66, 28, 48, 0.16);
}

.route-card strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 31px;
  line-height: 1;
}

.content-section {
  padding: 74px 0;
}

.feature-grid,
.legal-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 18px;
  margin-top: 30px;
}

.card,
.support-panel {
  border: 1px solid var(--line);
  border-radius: 8px;
  padding: 26px;
  background: rgba(255, 255, 255, 0.72);
  box-shadow: 0 18px 54px rgba(66, 28, 48, 0.08);
}

.card p,
.support-panel p {
  color: var(--muted);
  margin-bottom: 0;
}

.showcase {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 430px);
  gap: 26px;
  align-items: stretch;
}

.cinema-panel {
  min-height: 430px;
  border-radius: 8px;
  padding: clamp(28px, 5vw, 56px);
  color: #fff;
  background:
    linear-gradient(180deg, rgba(22, 19, 28, 0.18), rgba(22, 19, 28, 0.86)),
    linear-gradient(135deg, #ff8fbe, #923061 48%, #12676b);
  box-shadow: var(--shadow);
}

.studio-panel {
  display: grid;
  gap: 16px;
}

.studio-tile {
  min-height: 132px;
  border-radius: 8px;
  padding: 22px;
  color: #fff;
  background: linear-gradient(135deg, #231925, #bd2b73);
}

.studio-tile:nth-child(2) {
  background: linear-gradient(135deg, #12676b, #f0bf5c);
}

.studio-tile:nth-child(3) {
  background: linear-gradient(135deg, #442338, #ff63aa);
}

.footer {
  width: min(1180px, calc(100% - 36px));
  margin: 0 auto;
  padding: 34px 0 46px;
  display: flex;
  justify-content: space-between;
  gap: 18px;
  color: var(--muted);
  border-top: 1px solid var(--line);
  flex-wrap: wrap;
}

.legal {
  width: min(900px, calc(100% - 36px));
  margin: 0 auto;
  padding: 58px 0 76px;
}

.legal h1 {
  font-size: clamp(44px, 7vw, 78px);
}

.legal h2 {
  margin-top: 34px;
  font-family: Inter, ui-sans-serif, system-ui, sans-serif;
  font-size: 24px;
  line-height: 1.2;
}

.legal p,
.legal li {
  color: var(--muted);
  font-size: 17px;
  line-height: 1.78;
}

.legal-meta {
  color: var(--rose);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.support-hero {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(260px, 380px);
  gap: 24px;
  align-items: stretch;
  padding: 58px 0 76px;
}

.mail-card {
  display: grid;
  place-items: center;
  text-align: center;
  border-radius: 8px;
  padding: 34px;
  color: #fff;
  background: linear-gradient(135deg, var(--rose), var(--teal));
  box-shadow: var(--shadow);
}

.mail-card strong {
  overflow-wrap: anywhere;
  font-size: 20px;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}

.reveal.visible {
  opacity: 1;
  transform: translateY(0);
}

.delay-1 { transition-delay: 0.12s; }
.delay-2 { transition-delay: 0.24s; }

@media (max-width: 900px) {
  .topbar {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .hero,
  .showcase,
  .support-hero {
    grid-template-columns: 1fr;
  }

  .hero {
    padding-top: 42px;
  }

  .phone {
    transform: none;
  }

  .feature-grid,
  .legal-grid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 560px) {
  .page,
  .legal,
  .footer {
    width: min(100% - 28px, 1180px);
  }

  .nav a {
    padding: 9px 10px;
    font-size: 13px;
  }

  .brand {
    font-size: 22px;
  }

  .phone-screen {
    padding: 18px;
  }

  .actions {
    flex-direction: column;
  }

  .button {
    width: 100%;
  }
}
