* { box-sizing: border-box; margin: 0; padding: 0; }

/* === SHARED CARD STYLES === */
.card-outer { position:relative; width:100%; max-width:280px; color:inherit; text-decoration:none; transition:transform 0.3s; flex-shrink:0; }
.card-outer:hover { transform:translateY(-8px); }
.border-svg { position:absolute; top:0; left:0; width:100%; height:100%; pointer-events:none; z-index:3; overflow:visible; }
.btrack { fill:none; stroke-width:1.5; }

/* Brazil */
.br .bt  { fill:none; stroke:#009C3B; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:110 1060; animation:br 2s linear infinite; filter:drop-shadow(0 0 6px #009C3B); }
.br .bt2 { fill:none; stroke:#FEDF00; stroke-width:1.5; stroke-linecap:round; stroke-dasharray:55 1115; animation:br 2s linear infinite; animation-delay:-0.9s; filter:drop-shadow(0 0 4px #FEDF00); }
.br .bt3 { fill:none; stroke:rgba(255,255,255,0.6); stroke-width:1; stroke-linecap:round; stroke-dasharray:30 1140; animation:br 2s linear infinite; animation-delay:-1.5s; }
.br .btrack { stroke:rgba(0,156,59,0.12); }
.br .card { background:linear-gradient(160deg,rgba(0,10,3,0.45) 0%,rgba(0,5,1,0.55) 100%); border:1px solid rgba(0,156,59,0.3); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.br .card::after { background:radial-gradient(ellipse,rgba(0,156,59,0.18) 0%,transparent 70%); }
.br .ring1 { border:1px solid rgba(0,156,59,0.18); }
.br .ring1::before { border:1px dashed rgba(254,223,0,0.12); }
.br .ring2 { border-top-color:#009C3B; border-right-color:rgba(0,156,59,0.4); filter:drop-shadow(0 0 4px #009C3B); }
.br .ring3 { border-bottom-color:rgba(254,223,0,0.45); }
.br .divider { background:linear-gradient(90deg,transparent,rgba(0,156,59,0.7),transparent); }
.br .blk { background:#009C3B; box-shadow:0 0 5px rgba(0,156,59,0.9); }

/* Singapore */
.sg .bt  { fill:none; stroke:#C0001A; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:110 1060; animation:br 2s linear infinite; filter:drop-shadow(0 0 6px #C0001A); }
.sg .bt2 { fill:none; stroke:#ffffff; stroke-width:1.5; stroke-linecap:round; stroke-dasharray:55 1115; animation:br 2s linear infinite; animation-delay:-0.9s; }
.sg .bt3 { fill:none; stroke:rgba(255,255,255,0.3); stroke-width:1; stroke-linecap:round; stroke-dasharray:30 1140; animation:br 2s linear infinite; animation-delay:-1.5s; }
.sg .btrack { stroke:rgba(192,0,26,0.12); }
.sg .card { background:linear-gradient(160deg,rgba(28,4,4,0.45) 0%,rgba(10,0,0,0.55) 100%); border:1px solid rgba(192,0,26,0.3); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.sg .card::after { background:radial-gradient(ellipse,rgba(192,0,26,0.18) 0%,transparent 70%); }
.sg .ring1 { border:1px solid rgba(192,0,26,0.18); }
.sg .ring1::before { border:1px dashed rgba(255,255,255,0.12); }
.sg .ring2 { border-top-color:#C0001A; border-right-color:rgba(192,0,26,0.4); filter:drop-shadow(0 0 4px #C0001A); }
.sg .ring3 { border-bottom-color:rgba(255,255,255,0.3); }
.sg .divider { background:linear-gradient(90deg,transparent,rgba(192,0,26,0.7),transparent); }
.sg .blk { background:#C0001A; box-shadow:0 0 5px rgba(192,0,26,0.9); }

/* UAE */
.ae .bt  { fill:none; stroke:#FF0000; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:110 1060; animation:br 2s linear infinite; filter:drop-shadow(0 0 6px #FF0000); }
.ae .bt2 { fill:none; stroke:#00732F; stroke-width:1.5; stroke-linecap:round; stroke-dasharray:55 1115; animation:br 2s linear infinite; animation-delay:-0.9s; filter:drop-shadow(0 0 4px #00732F); }
.ae .bt3 { fill:none; stroke:rgba(255,255,255,0.5); stroke-width:1; stroke-linecap:round; stroke-dasharray:30 1140; animation:br 2s linear infinite; animation-delay:-1.5s; }
.ae .btrack { stroke:rgba(255,0,0,0.12); }
.ae .card { background:linear-gradient(160deg,rgba(5,20,5,0.45) 0%,rgba(2,10,2,0.55) 100%); border:1px solid rgba(0,115,47,0.3); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.ae .card::after { background:radial-gradient(ellipse,rgba(0,115,47,0.15) 0%,transparent 70%); }
.ae .ring1 { border:1px solid rgba(0,115,47,0.18); }
.ae .ring1::before { border:1px dashed rgba(255,0,0,0.15); }
.ae .ring2 { border-top-color:#00732F; border-right-color:rgba(255,0,0,0.5); filter:drop-shadow(0 0 4px #00732F); }
.ae .ring3 { border-bottom-color:rgba(255,0,0,0.4); }
.ae .divider { background:linear-gradient(90deg,transparent,rgba(0,115,47,0.7),transparent); }
.ae .blk { background:#00732F; box-shadow:0 0 5px rgba(0,115,47,0.9); }

/* Vietnam */
.vn .bt  { fill:none; stroke:#DA251D; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:110 1060; animation:br 2s linear infinite; filter:drop-shadow(0 0 6px #DA251D); }
.vn .bt2 { fill:none; stroke:#f5c518; stroke-width:1.5; stroke-linecap:round; stroke-dasharray:55 1115; animation:br 2s linear infinite; animation-delay:-0.9s; filter:drop-shadow(0 0 4px #f5c518); }
.vn .bt3 { fill:none; stroke:rgba(255,255,255,0.6); stroke-width:1; stroke-linecap:round; stroke-dasharray:30 1140; animation:br 2s linear infinite; animation-delay:-1.5s; }
.vn .btrack { stroke:rgba(218,37,29,0.12); }
.vn .card { background:linear-gradient(160deg,rgba(28,4,4,0.45) 0%,rgba(10,0,0,0.55) 100%); border:1px solid rgba(218,37,29,0.3); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.vn .card::after { background:radial-gradient(ellipse,rgba(218,37,29,0.18) 0%,transparent 70%); }
.vn .ring1 { border:1px solid rgba(218,37,29,0.18); }
.vn .ring1::before { border:1px dashed rgba(245,197,24,0.12); }
.vn .ring2 { border-top-color:#DA251D; border-right-color:rgba(218,37,29,0.4); filter:drop-shadow(0 0 4px #DA251D); }
.vn .ring3 { border-bottom-color:rgba(245,197,24,0.45); }
.vn .divider { background:linear-gradient(90deg,transparent,rgba(218,37,29,0.7),transparent); }
.vn .blk { background:#DA251D; box-shadow:0 0 5px rgba(218,37,29,0.9); }

/* Germany */
.de .bt  { fill:none; stroke:#DD0000; stroke-width:2.5; stroke-linecap:round; stroke-dasharray:110 1060; animation:br 2s linear infinite; filter:drop-shadow(0 0 6px #DD0000); }
.de .bt2 { fill:none; stroke:#FFCE00; stroke-width:1.5; stroke-linecap:round; stroke-dasharray:55 1115; animation:br 2s linear infinite; animation-delay:-0.9s; filter:drop-shadow(0 0 4px #FFCE00); }
.de .bt3 { fill:none; stroke:rgba(255,255,255,0.6); stroke-width:1; stroke-linecap:round; stroke-dasharray:30 1140; animation:br 2s linear infinite; animation-delay:-1.5s; }
.de .btrack { stroke:rgba(221,0,0,0.12); }
.de .card { background:linear-gradient(160deg,rgba(20,5,5,0.45) 0%,rgba(10,0,0,0.55) 100%); border:1px solid rgba(221,0,0,0.3); backdrop-filter:blur(8px); -webkit-backdrop-filter:blur(8px); }
.de .card::after { background:radial-gradient(ellipse,rgba(221,0,0,0.18) 0%,transparent 70%); }
.de .ring1 { border:1px solid rgba(221,0,0,0.18); }
.de .ring1::before { border:1px dashed rgba(255,206,0,0.15); }
.de .ring2 { border-top-color:#DD0000; border-right-color:rgba(255,206,0,0.5); filter:drop-shadow(0 0 4px #DD0000); }
.de .ring3 { border-bottom-color:rgba(255,206,0,0.45); }
.de .divider { background:linear-gradient(90deg,transparent,rgba(221,0,0,0.7),transparent); }
.de .blk { background:#DD0000; box-shadow:0 0 5px rgba(221,0,0,0.9); }

@keyframes br { from{stroke-dashoffset:0} to{stroke-dashoffset:-1170} }

.card { border-radius:24px; padding:14px 16px 14px; display:flex; flex-direction:column; align-items:center; gap:0; position:relative; z-index:1; overflow:hidden; }
.card::after { content:''; position:absolute; top:-60px; left:50%; transform:translateX(-50%); width:220px; height:140px; pointer-events:none; }
.globe-wrap { position:relative; width:130px; height:130px; display:flex; align-items:center; justify-content:center; margin-bottom:14px; }
.ring1 { position:absolute; inset:-10px; border-radius:50%; animation:spin-slow 8s linear infinite; }
.ring1::before { content:''; position:absolute; inset:5px; border-radius:50%; }
.ring2 { position:absolute; inset:0; border-radius:50%; border:2px solid transparent; animation:spin-med 1.8s cubic-bezier(0.6,0.2,0.4,0.8) infinite; }
.ring3 { position:absolute; inset:12px; border-radius:50%; border:1.5px solid transparent; animation:spin-slow 3s linear infinite reverse; }
@keyframes spin-slow { to{transform:rotate(360deg)} }
@keyframes spin-med  { to{transform:rotate(360deg)} }
canvas.globe-canvas { width:100px; height:100px; border-radius:50%; display:block; position:relative; z-index:2; }
.sub  { font-size:12px; letter-spacing:0.25em; color:rgba(255,255,255,0.4); font-family:'Courier New',monospace; text-transform:uppercase; margin-bottom:3px; }
.name { font-size:26px; font-weight:900; color:#f5a800; letter-spacing:0.12em; font-family:'Courier New',monospace; text-shadow:0 0 24px rgba(200,120,0,0.7); margin-bottom:5px; }
.divider { width:40px; height:1px; margin:6px 0 10px; }
.stats { display:flex; gap:0; width:100%; margin-bottom:16px; }
.stat { flex:1; text-align:center; border-right:1px solid rgba(255,255,255,0.06); padding:5px 2px; }
.stat:last-child { border-right:none; }
.sl { font-size:10px; color:rgba(255,255,255,0.35); text-transform:uppercase; letter-spacing:0.12em; font-family:'Courier New',monospace; display:block; margin-bottom:4px; }
.sv { font-size:13px; font-weight:700; color:#f5c518; font-family:'Courier New',monospace; display:block; }
.shield-blocks { display:flex; gap:2px; justify-content:center; }
.blk { width:6px; height:11px; border-radius:1px; animation:blk-pulse 1.8s ease-in-out infinite; }
.blk:nth-child(2){animation-delay:0.15s} .blk:nth-child(3){animation-delay:0.3s}
.blk:nth-child(4){animation-delay:0.45s} .blk:nth-child(5){animation-delay:0.6s} .blk:nth-child(6){animation-delay:0.75s}
@keyframes blk-pulse{0%,100%{opacity:1}50%{opacity:0.35}}
.star-row { display:flex; gap:2px; justify-content:center; }
.star svg { width:10px; height:10px; filter:drop-shadow(0 0 3px #FFD700); }
.btn-wrap { width:100%; display:flex; justify-content:center; }
.btn { all:unset; display:inline-block; padding:10px 24px; border-radius:8px; cursor:pointer; background:#ffffff; color:#111111; font-size:13px; font-weight:700; font-family:'Oswald',sans-serif; letter-spacing:0.14em; text-transform:uppercase; white-space:nowrap; text-align:center; box-shadow:0 2px 16px rgba(0,0,0,0.4); position:relative; overflow:hidden; transition:transform 0.2s; }
.btn::before { content:''; position:absolute; top:0; left:-60%; width:40%; height:100%; background:rgba(255,255,255,0.4); transform:skewX(-20deg); animation:shine 3.5s ease-in-out infinite; }
@keyframes shine{0%,65%,100%{left:-60%;opacity:0}45%{left:120%;opacity:1}}
.btn:hover { transform:scale(1.05) translateY(-1px); }
.particles { position:absolute; inset:0; pointer-events:none; z-index:0; overflow:hidden; border-radius:24px; }
.p { position:absolute; border-radius:50%; opacity:0; animation:fp linear infinite; }
@keyframes fp{0%{opacity:0;transform:translateY(0) scale(0)}20%{opacity:.7;transform:translateY(-25px) scale(1)}100%{opacity:0;transform:translateY(-90px) scale(.3)}}

/* Animated background (replaces video) */
.video-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  overflow: hidden;
  background:
    radial-gradient(ellipse 80% 60% at 50% 0%, rgba(255,200,40,0.28), transparent 60%),
    radial-gradient(ellipse 70% 50% at 50% 100%, rgba(200,0,26,0.45), transparent 65%),
    linear-gradient(160deg, #2a0006 0%, #12000a 45%, #050208 100%);
}
.video-bg::before {
  content: '';
  position: absolute;
  inset: -50%;
  background: conic-gradient(from 0deg at 50% 50%,
    transparent 0deg, rgba(255,215,0,0.10) 15deg, transparent 30deg,
    transparent 60deg, rgba(255,215,0,0.08) 75deg, transparent 90deg,
    transparent 120deg, rgba(255,215,0,0.10) 135deg, transparent 150deg,
    transparent 180deg, rgba(255,215,0,0.08) 195deg, transparent 210deg,
    transparent 240deg, rgba(255,215,0,0.10) 255deg, transparent 270deg,
    transparent 300deg, rgba(255,215,0,0.08) 315deg, transparent 330deg);
  animation: bgRays 40s linear infinite;
}
.video-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background-image:
    radial-gradient(2px 2px at 12% 22%, rgba(255,230,140,.9), transparent),
    radial-gradient(1.5px 1.5px at 78% 14%, rgba(255,230,140,.8), transparent),
    radial-gradient(2px 2px at 34% 72%, rgba(255,230,140,.7), transparent),
    radial-gradient(1.5px 1.5px at 88% 64%, rgba(255,230,140,.8), transparent),
    radial-gradient(2px 2px at 58% 38%, rgba(255,230,140,.6), transparent),
    radial-gradient(1.5px 1.5px at 22% 88%, rgba(255,230,140,.7), transparent),
    radial-gradient(2px 2px at 66% 90%, rgba(255,230,140,.6), transparent);
  animation: bgTwinkle 4s ease-in-out infinite alternate;
}
@keyframes bgRays { to { transform: rotate(360deg); } }
@keyframes bgTwinkle { from { opacity: .35; } to { opacity: 1; } }
@media (prefers-reduced-motion: reduce) { .video-bg::before, .video-bg::after { animation: none; } }

/* Messenger circle */
.ms-ring-outer {
  position: relative;
  width: 180px;
  height: 180px;
  display: flex;
  align-items: center;
  justify-content: center;
}
.ms-spin1 {
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 1.5px solid rgba(0,132,255,0.25);
  animation: spin-slow 8s linear infinite;
}
.ms-spin2 {
  position: absolute;
  inset: 0;
  border-radius: 50%;
  border: 2.5px solid transparent;
  border-top-color: #0084FF;
  border-right-color: rgba(168,85,247,0.6);
  animation: spin-med 1.8s cubic-bezier(0.6,0.2,0.4,0.8) infinite;
  filter: drop-shadow(0 0 6px #0084FF);
}
.ms-spin3 {
  position: absolute;
  inset: 10px;
  border-radius: 50%;
  border: 1.5px solid transparent;
  border-bottom-color: rgba(168,85,247,0.4);
  animation: spin-slow 3s linear infinite reverse;
}
.ms-icon {
  width: 140px;
  height: 140px;
  border-radius: 50%;
  background: linear-gradient(135deg, #0084FF 0%, #A855F7 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 0 40px rgba(0,132,255,0.6), 0 0 80px rgba(168,85,247,0.3);
  position: relative;
  z-index: 2;
  transition: transform 0.3s, box-shadow 0.3s;
}
.ms-float:hover .ms-icon {
  transform: scale(1.08);
  box-shadow: 0 0 60px rgba(0,132,255,0.8), 0 0 100px rgba(168,85,247,0.5);
}
.ms-label {
  margin-top: 14px;
  font-size: 13px;
  font-weight: 700;
  font-family: 'Oswald', sans-serif;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #ffffff;
  text-shadow: 0 0 12px rgba(0,132,255,0.8);
}
/* Pulse animation */
.ms-icon::after {
  content: '';
  position: absolute;
  inset: -8px;
  border-radius: 50%;
  border: 2px solid rgba(0,132,255,0.4);
  animation: ms-pulse 2s ease-out infinite;
}
@keyframes ms-pulse {
  0% { transform: scale(1); opacity: 0.8; }
  100% { transform: scale(1.25); opacity: 0; }
}

.ms-float {
  position: fixed;
  bottom: 32px;
  right: 32px;
  z-index: 999;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-decoration: none;
  cursor: pointer;
}
.ms-float .ms-ring-outer {
  width: 90px;
  height: 90px;
}
.ms-float .ms-icon {
  width: 70px;
  height: 70px;
}
.ms-float .ms-icon svg {
  width: 38px;
  height: 38px;
}
.ms-float .ms-label {
  font-size: 10px;
  margin-top: 6px;
}
.ms-float { transition: transform 0.3s; }
.ms-float:hover { transform: translateY(-8px); }


body {
  isolation: isolate;
  min-height: 100vh;
  min-height: 100dvh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: clamp(30px, 8vh, 100px) 16px;
  background: #12000a;
  font-family: system-ui, sans-serif;
}

.header-area {
  text-align: center;
  margin-bottom: clamp(24px, 5vh, 56px);
}

.header-area h1 {
  color: #e8a000;
  font-size: clamp(22px, 4vw, 52px);
  font-weight: 900;
  letter-spacing: 0.09em;
  line-height: 1.15;
  text-shadow: 0 2px 6px #000, 0 0 24px #dc8c0066;
}

.header-area p {
  display: inline-block;
  margin-top: 10px;
  padding: 5px 14px;
  color: #fffc;
  background: #0004;
  border: 1px solid #000a;
  border-radius: 6px;
  font-size: clamp(11px, 1.5vw, 16px);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.header-detail {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  margin-top: 12px;
  color: #ffb400b3;
  font: 10px 'Courier New', monospace;
  letter-spacing: 0.3em;
}

.header-detail::before,
.header-detail::after {
  content: '';
  width: 60px;
  height: 1px;
  background: linear-gradient(90deg, transparent, #ffb400b3);
}

.header-detail::after { transform: scaleX(-1); }

.cards-row {
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: clamp(12px, 1.4vw, 24px);
  width: 100%;
  max-width: 1520px;
  margin-inline: auto;
}

.card-outer { flex: 1 1 0; min-width: 0; }
.name { font-size: clamp(17px, 1.85vw, 26px); }
.sub { text-align: center; font-size: clamp(8px, 0.85vw, 12px); }
.btn { max-width: 100%; padding-inline: 10px; white-space: normal; font-family: system-ui, sans-serif; }
.card-outer:focus-visible, .ms-float:focus-visible { outline: 2px solid #ffe18c; outline-offset: 4px; border-radius: 24px; }

@media (max-width: 1100px) {
  .cards-row { max-width: 850px; }
  .card-outer { flex: 0 1 calc((100% - 32px) / 3); }
  .ms-float { position: relative; align-self: center; inset: auto; margin-top: 20px; }
}

@media (max-width: 620px) {
  body { padding-inline: 10px; justify-content: flex-start; }
  .cards-row { gap: 10px; }
  .card-outer { flex-basis: calc((100% - 10px) / 2); }
  .card { padding: 9px 5px 12px; }
  .globe-wrap { width: 76px; height: 76px; margin-bottom: 8px; }
  canvas.globe-canvas { width: 62px; height: 62px; }
  .name { font-size: clamp(13px, 4vw, 20px); letter-spacing: 0.08em; }
  .sub, .sl { font-size: 8px; letter-spacing: 0.06em; }
  .sv { font-size: 10px; }
  .stats { margin-bottom: 10px; }
  .blk { width: 4px; }
  .star svg { width: 7px; height: 7px; }
  .btn { font-size: 10px; padding: 7px 5px; letter-spacing: 0.04em; }
}

@media (prefers-reduced-motion: reduce) {
  .ring2, .ring3, .ms-spin2, .ms-spin3 { animation-duration: 12s; }
  .bt, .bt2, .bt3, .blk, .p, .btn::before, .ms-icon::after { animation: none !important; }
  *, *::before, *::after { transition: none !important; }
  .card-outer:hover, .ms-float:hover, .btn:hover { transform: none; }
}
