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

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

body {
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 4vh;
  padding: 24px 16px 40px;
  background: #050505;
  color: #fff;
  font-family: 'Be Vietnam Pro', system-ui, sans-serif;
  overflow-x: hidden;
}

button {
  font: inherit;
  color: inherit;
  cursor: pointer;
  -webkit-appearance: none;
  appearance: none;
  -webkit-tap-highlight-color: transparent;
  background: none;
  border: 0;
  padding: 0;
  text-align: inherit;
}

button[aria-busy="true"] { cursor: progress; opacity: .7; }

.bg-video {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: -2;
  pointer-events: none;
  filter: blur(2px);
  transform: scale(1.04);
}

body::before {
  content: "";
  position: fixed;
  inset: 0;
  z-index: -1;
  background: rgba(0, 0, 0, .42);
  pointer-events: none;
}

.top {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 6px;
  text-align: center;
}

.logo {
  display: block;
  width: auto;
  height: auto;
  max-width: min(92vw, 620px);
  max-height: 175px;
  filter: drop-shadow(0 0 12px rgba(255, 180, 0, .5));
}

.headline { display: flex; flex-direction: column; align-items: center; }

.title {
  position: relative;
  font-family: 'Roboto', sans-serif;
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 900;
  line-height: 1.15;
  letter-spacing: .12em;
  color: #e8a000;
  -webkit-text-stroke: 1px rgba(0, 0, 0, .6);
  paint-order: stroke fill;
  filter: drop-shadow(0 2px 6px rgba(0, 0, 0, .9)) drop-shadow(0 0 20px rgba(220, 140, 0, .6));
}

.title::before {
  content: attr(data-text);
  position: absolute;
  inset: 4px auto auto 4px;
  z-index: -1;
  color: rgba(255, 180, 0, .2);
  -webkit-text-stroke: 0;
  filter: blur(10px);
}

.tagline {
  margin-top: 8px;
  padding: 5px 18px;
  border: 1.5px solid rgba(0, 0, 0, .85);
  border-radius: 6px;
  background: rgba(0, 0, 0, .25);
  font-size: clamp(10px, 1.5vw, 17px);
  font-weight: 600;
  letter-spacing: .18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .75);
  text-shadow: 0 0 18px rgba(255, 255, 255, .3);
}

.ornament {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-top: 10px;
}

.ornament .line {
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 180, 0, .7));
}

.ornament .line-r { transform: scaleX(-1); }

.ornament .gem {
  width: 6px;
  height: 6px;
  border: 1.5px solid rgba(255, 180, 0, .8);
  background: rgba(255, 180, 0, .2);
  transform: rotate(45deg);
}

.ornament-text {
  font: 10px 'Courier New', monospace;
  letter-spacing: .3em;
  color: rgba(255, 180, 0, .7);
}

.gates {
  display: flex;
  justify-content: center;
  gap: 24px;
  width: 100%;
}

.gate {
  --c1: #009c3b;
  --c2: #fedf00;
  --rgb: 0, 156, 59;
  --tint: 0, 10, 3;
  position: relative;
  display: block;
  width: 280px;
  flex-shrink: 0;
  transition: transform .3s;
}

.gate:hover { transform: translateY(-8px); }

.gate-sg { --c1: #c0001a; --c2: #fff; --rgb: 192, 0, 26; --tint: 28, 4, 4; }
.gate-ae { --c1: #00732f; --c2: #f00; --rgb: 0, 115, 47; --tint: 5, 20, 5; }
.gate-vn { --c1: #da251d; --c2: #f5c518; --rgb: 218, 37, 29; --tint: 28, 4, 4; }

.trace {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  z-index: 3;
  overflow: visible;
  pointer-events: none;
}

.trace rect { fill: none; stroke-linecap: round; animation: trace 2s linear infinite; }
.trace .t0 { stroke: rgba(var(--rgb), .12); stroke-width: 1.5; animation: none; }
.trace .t1 { stroke: var(--c1); stroke-width: 2.5; stroke-dasharray: 110 9999; filter: drop-shadow(0 0 6px var(--c1)); }
.trace .t2 { stroke: var(--c2); stroke-width: 1.5; stroke-dasharray: 55 9999; animation-delay: -.9s; filter: drop-shadow(0 0 4px var(--c2)); }
.trace .t3 { stroke: rgba(255, 255, 255, .5); stroke-width: 1; stroke-dasharray: 30 9999; animation-delay: -1.5s; }

@keyframes trace { to { stroke-dashoffset: -9999; } }

.panel {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(var(--rgb), .3);
  border-radius: 24px;
  background: linear-gradient(160deg, rgba(var(--tint), .45), rgba(var(--tint), .6));
  -webkit-backdrop-filter: blur(8px);
  backdrop-filter: blur(8px);
  overflow: hidden;
}

.panel::after {
  content: '';
  position: absolute;
  top: -60px;
  left: 50%;
  width: 220px;
  height: 140px;
  transform: translateX(-50%);
  background: radial-gradient(ellipse, rgba(var(--rgb), .18), transparent 70%);
  pointer-events: none;
}

.sparks { position: absolute; inset: 0; overflow: hidden; pointer-events: none; }

.sparks i {
  position: absolute;
  bottom: 10%;
  width: 2px;
  height: 2px;
  border-radius: 50%;
  background: var(--c1);
  opacity: 0;
  animation: rise 5s linear infinite;
}

.sparks i:nth-child(even) { background: var(--c2); width: 3px; height: 3px; }
.sparks i:nth-child(1) { left: 10%; animation-delay: 0s; animation-duration: 4.2s; }
.sparks i:nth-child(2) { left: 22%; bottom: 24%; animation-delay: -1.1s; animation-duration: 5.6s; }
.sparks i:nth-child(3) { left: 31%; bottom: 4%; animation-delay: -2.3s; animation-duration: 3.8s; }
.sparks i:nth-child(4) { left: 43%; bottom: 30%; animation-delay: -.6s; animation-duration: 6.4s; }
.sparks i:nth-child(5) { left: 52%; bottom: 12%; animation-delay: -3.2s; animation-duration: 4.9s; }
.sparks i:nth-child(6) { left: 61%; bottom: 20%; animation-delay: -1.8s; animation-duration: 5.2s; }
.sparks i:nth-child(7) { left: 70%; bottom: 6%; animation-delay: -4s; animation-duration: 4.4s; }
.sparks i:nth-child(8) { left: 79%; bottom: 28%; animation-delay: -2.7s; animation-duration: 6s; }
.sparks i:nth-child(9) { left: 86%; bottom: 15%; animation-delay: -.3s; animation-duration: 3.6s; }
.sparks i:nth-child(10) { left: 92%; bottom: 2%; animation-delay: -3.6s; animation-duration: 5.8s; }

@keyframes rise {
  0% { opacity: 0; transform: translateY(0) scale(0); }
  20% { opacity: .7; transform: translateY(-25px) scale(1); }
  100% { opacity: 0; transform: translateY(-90px) scale(.3); }
}

.orb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 130px;
  height: 130px;
  margin-bottom: 14px;
}

.ring { position: absolute; border-radius: 50%; border: 1.5px solid transparent; }

.orb .r1 {
  inset: -10px;
  border: 1px solid rgba(var(--rgb), .18);
  animation: spin 8s linear infinite;
}

.orb .r1::before {
  content: '';
  position: absolute;
  inset: 5px;
  border-radius: 50%;
  border: 1px dashed rgba(255, 255, 255, .12);
}

.orb .r2 {
  inset: 0;
  border-width: 2px;
  border-top-color: var(--c1);
  border-right-color: rgba(var(--rgb), .4);
  filter: drop-shadow(0 0 4px var(--c1));
  animation: spin 1.8s cubic-bezier(.6, .2, .4, .8) infinite;
}

.orb .r3 {
  inset: 12px;
  border-bottom-color: var(--c2);
  opacity: .45;
  animation: spin 3s linear infinite reverse;
}

@keyframes spin { to { transform: rotate(360deg); } }

.globe {
  position: relative;
  z-index: 2;
  display: block;
  width: 110px;
  height: 110px;
  border-radius: 50%;
}

img.globe { width: 100px; height: 100px; object-fit: cover; }

.region {
  margin-bottom: 3px;
  font: 12px 'Courier New', monospace;
  letter-spacing: .25em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .4);
}

.name {
  margin-bottom: 5px;
  font: 900 26px 'Courier New', monospace;
  letter-spacing: .12em;
  color: #f5a800;
  text-shadow: 0 0 24px rgba(200, 120, 0, .7);
}

.rule {
  width: 40px;
  height: 1px;
  margin: 6px 0 10px;
  background: linear-gradient(90deg, transparent, rgba(var(--rgb), .7), transparent);
}

.stats { display: flex; width: 100%; margin-bottom: 16px; }

.stat {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 5px 2px;
  border-right: 1px solid rgba(255, 255, 255, .06);
}

.stat:last-child { border-right: 0; }

.label {
  font: 10px 'Courier New', monospace;
  letter-spacing: .12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .35);
}

.value { font: 700 13px 'Courier New', monospace; color: #f5c518; }

.bars { display: flex; gap: 2px; }

.bars i {
  width: 6px;
  height: 11px;
  border-radius: 1px;
  background: var(--c1);
  box-shadow: 0 0 5px rgba(var(--rgb), .9);
  animation: pulse 1.8s ease-in-out infinite;
}

.bars i:nth-child(2) { animation-delay: .15s; }
.bars i:nth-child(3) { animation-delay: .3s; }
.bars i:nth-child(4) { animation-delay: .45s; }
.bars i:nth-child(5) { animation-delay: .6s; }
.bars i:nth-child(6) { animation-delay: .75s; }

@keyframes pulse { 50% { opacity: .35; } }

.stars {
  font-size: 11px;
  line-height: 11px;
  letter-spacing: 1px;
  color: #ffd700;
  text-shadow: 0 0 3px #ffd700;
}

.cta {
  position: relative;
  display: inline-block;
  padding: 10px 24px;
  border-radius: 8px;
  overflow: hidden;
  background: #fff;
  color: #111;
  font: 700 13px 'Oswald', sans-serif;
  letter-spacing: .14em;
  text-transform: uppercase;
  white-space: nowrap;
  box-shadow: 0 2px 16px rgba(0, 0, 0, .4);
  transition: transform .2s;
}

.cta::before {
  content: '';
  position: absolute;
  top: 0;
  left: -60%;
  width: 40%;
  height: 100%;
  background: rgba(255, 255, 255, .4);
  transform: skewX(-20deg);
  animation: shine 3.5s ease-in-out infinite;
}

.gate:hover .cta { transform: scale(1.05) translateY(-1px); }

@keyframes shine {
  0%, 65%, 100% { left: -60%; opacity: 0; }
  45% { left: 120%; opacity: 1; }
}

.support {
  position: fixed;
  right: 32px;
  bottom: 32px;
  z-index: 50;
  display: flex;
  flex-direction: column;
  align-items: center;
  transition: transform .3s;
}

.support:hover { transform: translateY(-8px); }

.support-orb {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 90px;
  height: 90px;
}

.support .s1 { inset: -8px; border-color: rgba(0, 132, 255, .25); animation: spin 8s linear infinite; }
.support .s2 { inset: 0; border-width: 2.5px; border-top-color: #0084ff; border-right-color: rgba(168, 85, 247, .6); filter: drop-shadow(0 0 6px #0084ff); animation: spin 1.8s cubic-bezier(.6, .2, .4, .8) infinite; }
.support .s3 { inset: 10px; border-bottom-color: rgba(168, 85, 247, .4); animation: spin 3s linear infinite reverse; }

.support-icon {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 70px;
  height: 70px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0084ff, #a855f7);
  box-shadow: 0 0 40px rgba(0, 132, 255, .6), 0 0 80px rgba(168, 85, 247, .3);
  transition: transform .3s;
}

.support-icon svg { width: 38px; height: 38px; }

.support-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0, 132, 255, .4);
  animation: ping 2s ease-out infinite;
}

.support:hover .support-icon { transform: scale(1.08); }

@keyframes ping {
  from { transform: scale(1); opacity: .8; }
  to { transform: scale(1.25); opacity: 0; }
}

.support-label {
  margin-top: 6px;
  font: 700 10px 'Oswald', sans-serif;
  letter-spacing: .2em;
  text-shadow: 0 0 12px rgba(0, 132, 255, .8);
}

@media (min-width: 701px) {
  body { padding-top: 35vh; gap: 0; }
  .top { position: absolute; top: 0; left: 0; right: 0; }
  .logo { position: fixed; top: 5px; left: 50%; z-index: 20; transform: translateX(-50%); }
  .headline { position: absolute; top: 22vh; left: 0; right: 0; z-index: 10; }
}

@media (max-width: 1220px) and (min-width: 701px) {
  .gates { flex-wrap: wrap; max-width: 640px; }
}

@media (max-width: 700px) {
  body { justify-content: flex-start; gap: 14px; padding: 10px 10px 120px; }
  .logo { max-height: 150px; max-width: min(84vw, 300px); }
  .title { font-size: 22px; letter-spacing: .06em; }
  .tagline { font-size: 10px; letter-spacing: .12em; padding: 4px 12px; }
  .gates { flex-wrap: wrap; gap: 10px; }
  .gate { width: calc(50% - 5px); }
  .gate:hover { transform: none; }
  .panel { padding: 8px 8px 10px; }
  .orb { width: 70px; height: 70px; margin-bottom: 10px; }
  .orb .r1 { inset: -6px; }
  .orb .r3 { inset: 7px; }
  .globe, img.globe { width: 58px; height: 58px; }
  .region { font-size: 6.5px; letter-spacing: .15em; }
  .name { font-size: 12px; letter-spacing: .1em; }
  .rule { margin: 4px 0 6px; }
  .stats { margin-bottom: 10px; }
  .label { font-size: 7px; letter-spacing: .06em; }
  .value { font-size: 9px; }
  .bars i { width: 4px; height: 8px; }
  .stars { font-size: 8px; line-height: 8px; letter-spacing: 0; }
  .cta { padding: 7px 4px; width: 100%; text-align: center; font-size: 9px; letter-spacing: .08em; }
  .support { right: 16px; bottom: 16px; }
  .support-orb { width: 72px; height: 72px; }
  .support-icon { width: 56px; height: 56px; }
  .support-icon svg { width: 30px; height: 30px; }
}

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