:root {
  --bg-deep: #06060a;
  --bg-card: rgba(22, 22, 30, 0.72);
  --text: #f4f4f8;
  --text-muted: #9898a8;
  --cyan: #22d3ee;
  --green: #34d399;
  --blue: #60a5fa;
  --violet: #a78bfa;
  --violet-deep: #6366f1;
  --android: #3ddc84;
  --radius: 20px;
  --icon-shadow: 0 24px 48px rgba(34, 211, 238, 0.18), 0 8px 24px rgba(167, 139, 250, 0.2);
}
* { box-sizing: border-box; }
html { scroll-behavior: smooth; }
html, body {
  -webkit-text-size-adjust: 100%;
  text-size-adjust: 100%;
}
body {
  font-family: "DM Sans", system-ui, sans-serif;
  margin: 0;
  min-height: 100vh;
  color: var(--text);
  line-height: 1.55;
  overflow-x: hidden;
}
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -2;
  background: var(--bg-deep);
}
.page-bg::before {
  content: "";
  position: absolute;
  inset: -40%;
  background:
    radial-gradient(ellipse 80% 50% at 50% -20%, rgba(30, 27, 75, 0.55), transparent 55%),
    radial-gradient(ellipse 60% 40% at 100% 30%, rgba(34, 211, 238, 0.14), transparent 50%),
    radial-gradient(ellipse 50% 35% at 0% 70%, rgba(167, 139, 250, 0.16), transparent 45%);
  animation: drift 18s ease-in-out infinite alternate;
}
@keyframes drift {
  from { transform: translate(0, 0) rotate(0deg); }
  to { transform: translate(2%, 1%) rotate(1deg); }
}
.page-bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg viewBox='0 0 256 256' xmlns='http://www.w3.org/2000/svg'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.85' numOctaves='4' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.04'/%3E%3C/svg%3E");
  opacity: 0.5;
  pointer-events: none;
}
.wrap {
  max-width: 460px;
  margin: 0 auto;
  padding: 2.5rem 1.35rem calc(3rem + env(safe-area-inset-bottom, 0px));
  display: flex;
  flex-direction: column;
  align-items: center;
}
.wrap-wide { max-width: 560px; }
.brand-block {
  text-align: center;
  margin-bottom: 1.75rem;
}
.icon-frame {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: clamp(112px, 32vw, 140px);
  height: clamp(112px, 32vw, 140px);
  margin-bottom: 1.35rem;
  border-radius: 28%;
  box-shadow: var(--icon-shadow);
  background: linear-gradient(145deg, rgba(255,255,255,0.08), transparent);
  padding: 3px;
  position: relative;
  animation: float 5s ease-in-out infinite;
}
@keyframes float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-6px); }
}
.icon-frame::after {
  content: "";
  position: absolute;
  inset: -2px;
  border-radius: 30%;
  border: 2px solid rgba(167, 139, 250, 0.38);
  pointer-events: none;
}
.icon-frame img {
  width: 100%;
  height: 100%;
  border-radius: 25%;
  display: block;
  object-fit: cover;
}
h1 {
  font-family: "Outfit", "DM Sans", sans-serif;
  font-size: clamp(2rem, 6vw, 2.45rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  margin: 0 0 0.35rem;
  line-height: 1.1;
}
.brand-2 { color: var(--cyan); }
.brand-f { color: var(--green); }
.brand-a { color: var(--blue); }
.brand-rest { color: var(--text); }
.tagline {
  color: var(--text-muted);
  font-size: 1rem;
  font-weight: 500;
  max-width: 34ch;
  margin: 0 auto;
}
.description {
  margin: 1rem auto 0;
  max-width: 38ch;
  color: var(--text-muted);
  font-size: 0.94rem;
  line-height: 1.6;
}
.card {
  width: 100%;
  background: rgba(22, 22, 30, 0.92);
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: var(--radius);
  padding: 1.85rem 1.65rem 1.65rem;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.35);
}
@supports ((-webkit-backdrop-filter: blur(20px)) or (backdrop-filter: blur(20px))) {
  .card {
    background: var(--bg-card);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
  }
}
.android-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.65rem;
  margin-bottom: 1.35rem;
  color: var(--text-muted);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}
.android-row svg {
  flex-shrink: 0;
  filter: drop-shadow(0 0 8px rgba(61, 220, 132, 0.35));
}
.features {
  text-align: left;
  margin: 0 0 1.5rem;
  padding: 0;
  list-style: none;
}
.features li {
  display: flex;
  align-items: flex-start;
  gap: 0.75rem;
  padding: 0.65rem 0;
  color: var(--text-muted);
  font-size: 0.92rem;
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.features li:last-child { border-bottom: none; }
.features li svg {
  flex-shrink: 0;
  margin-top: 0.15rem;
  color: var(--violet);
  opacity: 0.95;
}
.cta {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  width: 100%;
  margin-top: 0.25rem;
  padding: 1.05rem 1.5rem;
  background: linear-gradient(135deg, var(--violet) 0%, var(--violet-deep) 50%, #4338ca 100%);
  color: #fff;
  text-decoration: none;
  border-radius: 14px;
  font-weight: 700;
  font-size: 1.05rem;
  transition: transform 0.18s ease, box-shadow 0.22s ease;
  box-shadow: 0 6px 24px rgba(99, 102, 241, 0.45);
}
.cta:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 32px rgba(99, 102, 241, 0.55);
}
.cta:active { transform: translateY(0); }
.cta svg { flex-shrink: 0; opacity: 0.95; }
.badge {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  margin-top: 1.1rem;
  padding: 0.45rem 0.9rem;
  background: rgba(61, 220, 132, 0.12);
  color: var(--android);
  font-size: 0.78rem;
  font-weight: 700;
  border-radius: 999px;
  border: 1px solid rgba(61, 220, 132, 0.25);
}
.badge-center { display: flex; justify-content: center; }
.version-line {
  margin-top: 1.15rem;
  font-size: 0.88rem;
  color: var(--text-muted);
  text-align: center;
}
.version-line strong {
  color: var(--text);
  font-weight: 600;
}
.links-row {
  margin-top: 1rem;
  font-size: 0.84rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.7;
}
.links-row a {
  color: #c4b5fd;
  text-decoration: none;
  font-weight: 500;
}
.links-row a:hover { text-decoration: underline; color: #ddd6fe; }
.meta {
  margin-top: 1.25rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.5;
}
.legal {
  margin-top: 0.85rem;
  margin-bottom: calc(0.35rem + env(safe-area-inset-bottom, 0px));
  font-size: 0.8rem;
  text-align: center;
}
.legal a {
  color: #a5b4fc;
  text-decoration: none;
}
.legal a:hover { text-decoration: underline; }
.legal span { color: var(--text-muted); font-size: 0.85em; }
.file-list {
  margin: 0;
  padding: 0;
  list-style: none;
  text-align: left;
}
.file-list li {
  border-bottom: 1px solid rgba(255, 255, 255, 0.05);
}
.file-list li:last-child { border-bottom: none; }
.file-list a {
  display: flex;
  align-items: center;
  gap: 0.65rem;
  padding: 0.75rem 0;
  color: var(--text);
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 500;
  transition: color 0.15s ease;
}
.file-list a:hover { color: #c4b5fd; }
.file-list a svg {
  flex-shrink: 0;
  color: var(--violet);
  opacity: 0.9;
}
.file-list .hint {
  display: block;
  font-size: 0.78rem;
  color: var(--text-muted);
  font-weight: 400;
  margin-top: 0.15rem;
}
.section-title {
  margin: 0 0 0.85rem;
  font-size: 0.78rem;
  color: var(--text-muted);
  letter-spacing: 0.04em;
  text-transform: uppercase;
  font-weight: 600;
  text-align: left;
}
.back-link {
  display: inline-flex;
  align-items: center;
  gap: 0.35rem;
  margin-bottom: 1.25rem;
  color: #a5b4fc;
  text-decoration: none;
  font-size: 0.88rem;
  font-weight: 500;
}
.back-link:hover { text-decoration: underline; }
@media (max-width: 380px) {
  .wrap { padding: 1.7rem 1rem calc(2.1rem + env(safe-area-inset-bottom, 0px)); }
  .card { padding: 1.35rem 1.1rem 1.2rem; }
  .tagline, .description { font-size: 0.9rem; }
  .features li { font-size: 0.88rem; }
}
