*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --primary: #0f172a;
  --background: #f1f5f9;
  --surface: #ffffff;
  --muted: #64748b;
  --accent1: #38bdf8;
  --accent2: #fb7185;
  --border: #e2e8f0;
  --shadow: 0 20px 50px rgba(15, 23, 42, 0.08);
  --radius: 1rem;
  --max-width: 28rem;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-height: 100vh;
  font-family: "Inter", system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 15px;
  line-height: 1.5;
  color: var(--primary);
  background: var(--background);
  -webkit-font-smoothing: antialiased;
}

.page {
  position: relative;
  min-height: 100vh;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 1.5rem 1rem 2rem;
  overflow: hidden;
}

.glow {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  pointer-events: none;
}

.glow--sky {
  width: 18rem;
  height: 18rem;
  top: -4rem;
  right: -6rem;
  background: rgba(56, 189, 248, 0.18);
}

.glow--rose {
  width: 16rem;
  height: 16rem;
  bottom: -2rem;
  left: -5rem;
  background: rgba(251, 113, 133, 0.14);
}

.card {
  position: relative;
  width: 100%;
  max-width: var(--max-width);
  padding: 2rem 1.25rem 1.5rem;
  border: 1px solid var(--border);
  border-radius: calc(var(--radius) + 0.25rem);
  background: var(--surface);
  box-shadow: var(--shadow);
}

.hero {
  text-align: center;
  margin-bottom: 1.75rem;
}

.logo {
  display: block;
  width: min(196px, 72vw);
  height: auto;
  margin: 0 auto 1rem;
}

.tagline {
  margin: 0 0 0.75rem;
  font-size: 1.05rem;
  line-height: 1.55;
  color: #334155;
}

.credit {
  margin: 0;
  font-size: 0.875rem;
  font-weight: 500;
  color: var(--muted);
}

.links {
  display: flex;
  flex-direction: column;
  gap: 0.65rem;
}

.link {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 0.75rem;
  padding: 0.95rem 1rem;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  font-weight: 600;
  font-size: 0.95rem;
  color: var(--primary);
  text-decoration: none;
  background: #f8fafc;
  transition:
    transform 0.18s ease,
    border-color 0.18s ease,
    box-shadow 0.18s ease,
    background 0.18s ease;
}

.link:hover,
.link:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(56, 189, 248, 0.45);
  box-shadow: 0 8px 24px rgba(56, 189, 248, 0.12);
  background: #ffffff;
  outline: none;
}

.link--primary {
  color: var(--primary);
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.22), rgba(251, 113, 133, 0.14));
  border-color: rgba(56, 189, 248, 0.35);
}

.link--primary:hover,
.link--primary:focus-visible {
  background: linear-gradient(135deg, rgba(56, 189, 248, 0.3), rgba(251, 113, 133, 0.18));
}

.link-label {
  text-align: left;
}

.link-arrow {
  width: 1.1rem;
  height: 1.1rem;
  flex-shrink: 0;
  color: var(--muted);
  transition: transform 0.18s ease, color 0.18s ease;
}

.link:hover .link-arrow,
.link:focus-visible .link-arrow {
  transform: translateX(2px);
  color: var(--accent1);
}

.stores {
  margin-top: 1.75rem;
  padding-top: 1.5rem;
  border-top: 1px solid var(--border);
  text-align: center;
}

.stores-label {
  margin: 0 0 0.85rem;
  font-size: 0.8rem;
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--muted);
}

.store-badges {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
}

.store-badges a {
  display: inline-flex;
  transition: transform 0.18s ease;
}

.store-badges a:hover,
.store-badges a:focus-visible {
  transform: scale(1.04);
  outline: none;
}

.store-badges img {
  display: block;
  height: 44px;
  width: auto;
}

.footer {
  margin-top: 1.5rem;
  text-align: center;
}

.social {
  display: flex;
  justify-content: center;
  gap: 0.75rem;
  margin-bottom: 0.75rem;
}

.social a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.25rem;
  height: 2.25rem;
  border-radius: 999px;
  color: var(--muted);
  border: 1px solid var(--border);
  background: #f8fafc;
  transition:
    color 0.18s ease,
    border-color 0.18s ease,
    background 0.18s ease;
}

.social a:hover,
.social a:focus-visible {
  color: var(--accent1);
  border-color: rgba(56, 189, 248, 0.4);
  background: #ffffff;
  outline: none;
}

.social svg {
  width: 1rem;
  height: 1rem;
}

.copyright {
  margin: 0;
  font-size: 0.75rem;
  color: var(--muted);
}

.copyright a {
  color: inherit;
  text-decoration: underline;
  text-underline-offset: 2px;
}

.copyright a:hover,
.copyright a:focus-visible {
  color: var(--accent1);
}

@media (min-width: 480px) {
  .card {
    padding: 2.25rem 1.75rem 1.75rem;
  }

  .tagline {
    font-size: 1.1rem;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }

  .link,
  .link-arrow,
  .store-badges a,
  .social a {
    transition: none;
  }
}
