:root {
  --ink: #e8eefc;
  --muted: #9db0d4;
  --brand: #3b82f6;
  --brand-2: #1d4ed8;
  --bg0: #06122c;
  --bg1: #0b1f4a;
  --line: rgba(148, 175, 230, 0.22);
  --font: "Outfit", "Noto Sans Myanmar", "Segoe UI", sans-serif;
}

* { box-sizing: border-box; }

html, body {
  margin: 0;
  min-height: 100%;
  font-family: var(--font);
  color: var(--ink);
  background: var(--bg0);
}

.bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse 90% 60% at 50% -10%, rgba(59, 130, 246, 0.45), transparent 55%),
    radial-gradient(ellipse 50% 40% at 100% 100%, rgba(29, 78, 216, 0.28), transparent 50%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
}

.bg::after {
  content: "";
  position: absolute;
  inset: 0;
  background-image: url("data:image/svg+xml,%3Csvg width='60' height='60' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 60L60 0M30 60L60 30M0 30L30 0' stroke='rgba(255,255,255,0.03)' stroke-width='1' fill='none'/%3E%3C/svg%3E");
  opacity: 0.9;
  pointer-events: none;
}

.hero {
  min-height: 100vh;
  min-height: 100dvh;
  max-width: 720px;
  margin: 0 auto;
  padding: max(20px, env(safe-area-inset-top)) 22px max(24px, env(safe-area-inset-bottom));
  display: grid;
  grid-template-rows: auto 1fr auto;
}

.top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: var(--ink);
  text-decoration: none;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.brand img {
  width: 40px;
  height: 40px;
  border-radius: 11px;
  box-shadow: 0 8px 20px rgba(37, 99, 235, 0.35);
}

.nav {
  display: flex;
  gap: 16px;
}

.nav a {
  color: var(--muted);
  text-decoration: none;
  font-size: 0.9rem;
  font-weight: 600;
}

.nav a:hover { color: #fff; }

.stage {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 32px 0 24px;
  animation: rise 0.7s ease both;
}

@keyframes rise {
  from { opacity: 0; transform: translateY(18px); }
  to { opacity: 1; transform: none; }
}

.eyebrow {
  margin: 0 0 10px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #93c5fd;
}

h1 {
  margin: 0;
  font-size: clamp(2.6rem, 10vw, 4.2rem);
  font-weight: 800;
  letter-spacing: -0.03em;
  line-height: 1.05;
  text-shadow: 0 12px 40px rgba(37, 99, 235, 0.35);
}

.lead {
  margin: 16px 0 0;
  color: var(--muted);
  font-size: clamp(1.05rem, 3.2vw, 1.25rem);
  line-height: 1.55;
  font-weight: 500;
}

.lead [lang="my"] {
  display: inline-block;
  margin-top: 4px;
  font-size: 0.95em;
  opacity: 0.92;
}

.cta {
  margin-top: 28px;
  display: grid;
  gap: 12px;
  width: min(100%, 340px);
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 14px 22px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 1rem;
  text-decoration: none;
  transition: transform 0.15s ease, box-shadow 0.15s ease, background 0.15s ease;
}

.btn:active { transform: scale(0.98); }

.btn.apk {
  color: #fff;
  background: linear-gradient(135deg, var(--brand), var(--brand-2));
  box-shadow: 0 14px 32px rgba(37, 99, 235, 0.4);
}

.btn.apk:hover {
  box-shadow: 0 16px 36px rgba(37, 99, 235, 0.5);
}

.btn.play {
  color: var(--ink);
  background: rgba(255, 255, 255, 0.08);
  border: 1px solid var(--line);
}

.btn.play:hover {
  background: rgba(255, 255, 255, 0.14);
}

.btn.hidden { display: none; }

.hint {
  margin: 18px 0 0;
  max-width: 34ch;
  color: var(--muted);
  font-size: 0.82rem;
  line-height: 1.5;
}

.foot {
  text-align: center;
  color: var(--muted);
  font-size: 0.8rem;
}

.foot a {
  color: #93c5fd;
  text-decoration: none;
}

.foot a:hover { text-decoration: underline; }

@media (min-width: 768px) {
  .hero { padding-left: 32px; padding-right: 32px; }
  .cta { width: 380px; }
}
