:root {
  --navy: #0B2545;
  --blue: #1D63B8;
  --orange: #FF6B00;
  --orange-hover: #E05A00;
  --midnight: #07172B;
  --white: #FFFFFF;
  --on-dark: #CBD5E1;
  --on-dark-muted: #94A3B8;
  --line-dark: rgba(255, 255, 255, 0.12);
  --font: "Plus Jakarta Sans", "IBM Plex Sans Thai", system-ui, -apple-system, "Segoe UI", sans-serif;
}

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

html, body { min-height: 100%; }

body {
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 32px;
  min-height: 100vh;
  min-height: 100dvh;
  padding: 48px 16px 32px;
  overflow-x: hidden;
  font-family: var(--font);
  line-height: 1.65;
  color: var(--on-dark);
  background: var(--navy);
  -webkit-font-smoothing: antialiased;
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background-image: linear-gradient(rgba(255, 255, 255, 0.04) 1px, transparent 1px), linear-gradient(90deg, rgba(255, 255, 255, 0.04) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at 50% 40%, #000 20%, transparent 75%);
}

.sprite { position: absolute; width: 0; height: 0; overflow: hidden; }

.watermark {
  position: fixed;
  right: -10%;
  bottom: -12%;
  z-index: -1;
  width: min(80vw, 760px);
  height: auto;
  aspect-ratio: 700 / 640;
  color: var(--white);
  opacity: 0.05;
  pointer-events: none;
}

.card {
  width: 100%;
  max-width: 640px;
  padding: clamp(28px, 6vw, 56px);
  border: 1px solid var(--line-dark);
  border-radius: 20px;
  background: rgba(7, 23, 43, 0.85);
  box-shadow: 0 24px 64px rgba(0, 0, 0, 0.35);
}

.brand { display: flex; align-items: center; gap: 12px; color: var(--white); }
.brand-mark { width: 48px; height: 44px; color: var(--white); }
.brand-text { font-weight: 800; font-size: 1.05rem; letter-spacing: 0.08em; }
.brand-text span { font-weight: 500; color: var(--on-dark); }

.badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  margin: 32px 0 20px;
  padding: 6px 14px;
  border: 1px solid rgba(255, 107, 0, 0.55);
  border-radius: 999px;
  color: var(--orange);
  font-size: 0.85rem;
  font-weight: 700;
}

.pulse {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--orange);
  box-shadow: 0 0 0 0 rgba(255, 107, 0, 0.6);
  animation: pulse 2s ease-out infinite;
}

h1, h2 { margin: 0; color: var(--white); line-height: 1.25; text-wrap: balance; }
h1 { font-size: clamp(1.75rem, 5vw, 2.5rem); font-weight: 700; }
h2 { font-size: clamp(1.25rem, 3.5vw, 1.6rem); font-weight: 700; letter-spacing: -0.01em; }
.lead { margin: 16px 0 0; font-size: clamp(1rem, 2.2vw, 1.075rem); }

.divider { height: 4px; margin: 32px 0; border-radius: 999px; background: rgba(255, 255, 255, 0.08); overflow: hidden; }
.divider span {
  display: block;
  width: 40%;
  height: 100%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--blue), var(--orange));
  animation: slide 2.4s ease-in-out infinite alternate;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  max-width: 100%;
  min-height: 52px;
  margin-top: 32px;
  padding: 14px 26px;
  border-radius: 999px;
  background: var(--orange);
  color: var(--navy);
  font-weight: 700;
  text-decoration: none;
  white-space: nowrap;
  transition: background-color 0.2s, color 0.2s;
}
.btn:hover { background: var(--orange-hover); color: var(--midnight); }
.btn:focus-visible { outline: 3px solid var(--white); outline-offset: 3px; }
.nowrap { white-space: nowrap; }
.icon { width: 1.25em; height: 1.25em; flex: none; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }

.legal { max-width: 640px; text-align: center; color: var(--on-dark-muted); font-size: 0.85rem; }
.legal p { margin: 4px 0; }
.mono { font-family: ui-monospace, "SFMono-Regular", Menlo, Consolas, monospace; }

@media (max-width: 480px) {
  .badge { flex-wrap: wrap; row-gap: 0; }
  .btn { width: 100%; padding: 14px 18px; font-size: 0.95rem; }
}

@keyframes pulse { to { box-shadow: 0 0 0 10px rgba(255, 107, 0, 0); } }
@keyframes slide { from { transform: translateX(-10%); } to { transform: translateX(160%); } }

@media (prefers-reduced-motion: reduce) {
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
