:root {
  color-scheme: dark;
  --bg: #08111f;
  --bg-soft: #101c2e;
  --panel: rgba(14, 28, 50, 0.82);
  --panel-strong: rgba(12, 26, 49, 0.92);
  --line: rgba(255, 220, 139, 0.22);
  --gold: #f4c861;
  --gold-strong: #ffd66f;
  --ink: #f8fafc;
  --muted: #b9c3d1;
  --soft: #7f8da0;
  --shadow: rgba(0, 0, 0, 0.34);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont,
    "Segoe UI", sans-serif;
  color: var(--ink);
  background:
    radial-gradient(circle at 50% -12%, rgba(255, 224, 143, 0.24), transparent 19rem),
    radial-gradient(circle at 18% 8%, rgba(51, 93, 156, 0.22), transparent 30rem),
    radial-gradient(circle at 88% 22%, rgba(20, 67, 130, 0.28), transparent 30rem),
    linear-gradient(180deg, #071021 0%, #071326 44%, #030814 100%);
  line-height: 1.65;
}

a {
  color: var(--gold-strong);
  font-weight: 700;
  text-decoration: none;
}

a:hover,
a:focus-visible {
  text-decoration: underline;
}

.site-shell {
  width: min(1080px, calc(100% - 32px));
  margin: 0 auto;
  padding: clamp(36px, 7vw, 72px) 0 64px;
}

.brand-header {
  display: grid;
  justify-items: center;
  text-align: center;
  padding: 0 0 clamp(30px, 6vw, 48px);
}

.wordmark {
  margin: 0;
  font-size: clamp(3.4rem, 10vw, 6.8rem);
  font-weight: 900;
  line-height: 0.82;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  text-align: center;
  text-shadow: 0 14px 28px rgba(0, 0, 0, 0.34);
}

.wordmark span {
  display: block;
}

.wordmark .gold {
  color: var(--gold);
  background: linear-gradient(180deg, #ffe38c 8%, #f0b228 88%);
  -webkit-background-clip: text;
  background-clip: text;
  text-shadow: 0 12px 26px rgba(0, 0, 0, 0.38);
}

.brand-divider {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 14px;
  width: min(210px, 52vw);
  margin: clamp(18px, 3vw, 24px) 0 12px;
  color: var(--gold);
}

.brand-divider::before,
.brand-divider::after {
  content: "";
  height: 1px;
  flex: 1;
  background: linear-gradient(90deg, transparent, rgba(244, 200, 97, 0.72));
}

.brand-divider::after {
  background: linear-gradient(90deg, rgba(244, 200, 97, 0.72), transparent);
}

.brand-divider span {
  width: 8px;
  height: 8px;
  border-radius: 2px;
  background: var(--gold);
  transform: rotate(45deg);
  box-shadow: 0 0 22px rgba(244, 200, 97, 0.65);
}

.studio-subtitle,
.hero-copy,
.muted {
  color: var(--muted);
}

.studio-subtitle {
  margin: 0;
  font-size: clamp(1.05rem, 2.8vw, 1.38rem);
  color: rgba(248, 250, 252, 0.84);
}

.hero {
  text-align: center;
  padding: clamp(22px, 6vw, 46px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background:
    linear-gradient(135deg, rgba(255, 214, 111, 0.10), transparent 42%),
    var(--panel);
  box-shadow: 0 22px 70px var(--shadow);
}

.app-card,
.legal-card {
  margin-top: 24px;
  padding: clamp(22px, 5vw, 40px);
  border: 1px solid var(--line);
  border-radius: 22px;
  background: var(--panel-strong);
  box-shadow: 0 18px 54px var(--shadow);
}

.app-heading {
  display: flex;
  align-items: center;
  gap: clamp(18px, 4vw, 28px);
  margin-bottom: 18px;
}

.app-icon {
  width: clamp(84px, 16vw, 128px);
  height: clamp(84px, 16vw, 128px);
  border-radius: 24px;
  box-shadow: 0 12px 28px rgba(0, 0, 0, 0.28);
}

h1,
h2,
h3 {
  color: var(--ink);
}

h2 {
  margin: 0 0 8px;
  font-size: clamp(1.45rem, 5vw, 2.15rem);
  line-height: 1.12;
}

h3 {
  margin: 30px 0 8px;
  font-size: 1.18rem;
}

p,
li {
  color: var(--muted);
}

.actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 20px;
}

.button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 44px;
  padding: 10px 15px;
  border: 1px solid rgba(255, 214, 111, 0.38);
  border-radius: 999px;
  background: rgba(244, 200, 97, 0.10);
  color: var(--gold-strong);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.08);
}

.button:hover,
.button:focus-visible {
  background: rgba(244, 200, 97, 0.17);
}

.store-row {
  display: flex;
  flex-wrap: wrap;
  gap: 16px;
  margin-top: 24px;
}

.store-badge {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 250px;
  min-height: 74px;
  padding: 10px 20px;
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.10), transparent),
    rgba(0, 0, 0, 0.62);
  color: #fff;
  box-shadow: 0 12px 24px rgba(0, 0, 0, 0.24);
  text-align: left;
}

.store-badge.disabled {
  cursor: default;
  opacity: 0.82;
}

.store-kicker {
  display: block;
  font-size: 0.9rem;
  color: rgba(248, 250, 252, 0.72);
  line-height: 1.1;
}

.store-name {
  display: block;
  font-size: 1.55rem;
  font-weight: 800;
  line-height: 1.08;
}

.store-icon {
  position: relative;
  display: inline-block;
  flex: 0 0 auto;
  width: 34px;
  height: 34px;
}

.google-play-icon {
  clip-path: polygon(8% 0, 92% 50%, 8% 100%);
  background:
    linear-gradient(135deg, #24d46d 0 34%, #26a8ff 34% 63%, #ffd24a 63% 82%, #ff5c55 82%);
}

.app-store-icon::before {
  content: "";
  position: absolute;
  inset: 2px 7px 5px;
  border-radius: 14px 14px 12px 12px;
  background: #fff;
}

.app-store-icon::after {
  content: "";
  position: absolute;
  left: 19px;
  top: 0;
  width: 10px;
  height: 16px;
  border-radius: 10px 10px 2px 10px;
  background: #fff;
  transform: rotate(32deg);
}

.back-link {
  display: inline-flex;
  margin: 0 0 18px;
  color: var(--gold);
}

.legal-card h1 {
  margin: 0 0 8px;
  font-size: clamp(2rem, 7vw, 3.2rem);
  line-height: 1.08;
}

.meta {
  margin-bottom: 28px;
  color: var(--soft);
}

footer {
  margin-top: 34px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  color: var(--soft);
  font-size: 0.94rem;
}

@media (max-width: 640px) {
  .actions,
  .store-row {
    flex-direction: column;
  }

  .app-heading {
    align-items: flex-start;
  }

  .button,
  .store-badge {
    width: 100%;
  }

  .store-badge {
    min-width: 0;
  }
}
