:root{
  --bg:#0f1115;
  --surface:#151a22;
  --surface2:#0f141d;
  --text:#ffffff;
  --muted:rgba(255,255,255,.72);
  --muted2:rgba(255,255,255,.55);
  --border:rgba(255,255,255,.10);
  --shadow:0 12px 34px rgba(0,0,0,.35);
  --primary:#ffff55;
  --secondary:#1d1247;
  --radius:18px;
  --radius2:26px;
  --max:1100px;
}

*{box-sizing:border-box}
html,body{height:100%}
body{
  margin:0;
  font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Apple Color Emoji","Segoe UI Emoji";
  background: var(--bg);
  color: var(--text);
  overflow-x:hidden;
}

/* Background */
.bg{
  position:fixed;
  inset:0;
  z-index:-3;
  background: radial-gradient(1200px 700px at 15% 10%, rgba(255,255,85,.14), transparent 60%),
              radial-gradient(900px 600px at 80% 40%, rgba(98, 126, 255,.12), transparent 60%),
              radial-gradient(800px 700px at 40% 90%, rgba(255, 85, 170,.10), transparent 60%),
              linear-gradient(180deg, rgba(0,0,0,.35), rgba(0,0,0,.60));
}
.bg::before{
  content:"";
  position:absolute;
  inset:0;
  background-image: var(--bg-image, none);
  background-size: cover;
  background-position: center;
  opacity:.20;
  filter: blur(0px) saturate(1.05);
  transform: scale(1.04);
}
.bg::after{
  content:"";
  position:absolute;
  inset:0;
  background: linear-gradient(180deg, rgba(0,0,0,.45), rgba(0,0,0,.75));
}

#particles{position:fixed; inset:0; z-index:-2; opacity:.65; pointer-events:none;}

.noise{
  position:fixed;
  inset:0;
  z-index:-1;
  pointer-events:none;
  opacity:.07;
  background-image:url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="160" height="160"><filter id="n"><feTurbulence type="fractalNoise" baseFrequency="0.65" numOctaves="3" stitchTiles="stitch"/></filter><rect width="160" height="160" filter="url(%23n)" opacity="0.6"/></svg>');
}

.container{width:100%; max-width:var(--max); margin:0 auto; padding:26px 18px 60px;}

/* Nav */
.nav{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:14px 16px;
  border:1px solid var(--border);
  border-radius: var(--radius2);
  background: rgba(21,26,34,.62);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
}
.brand{display:flex; align-items:center; gap:12px; min-width:0;}
.brand img{width:44px; height:44px; border-radius:14px; object-fit:cover;}
.brand .title{font-weight:800; letter-spacing:.2px; font-size:16px; white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}
.brand .sub{font-size:12px; color:var(--muted2); white-space:nowrap; overflow:hidden; text-overflow:ellipsis;}

.nav-actions{display:flex; gap:10px; align-items:center; flex-wrap:wrap; justify-content:flex-end;}
.pill{
  border:1px solid var(--border);
  background: rgba(15,20,29,.55);
  color: var(--text);
  border-radius: 999px;
  padding:10px 12px;
  display:inline-flex;
  gap:8px;
  align-items:center;
  text-decoration:none;
  font-size:13px;
  transition: transform .18s ease, border-color .18s ease, background .18s ease, opacity .18s ease;
}
.pill:hover{transform: translateY(-1px); border-color: rgba(255,255,255,.18); background: rgba(15,20,29,.75);}
.pill svg{width:16px; height:16px; opacity:.85}

/* Icon-only pills (social links) */
.iconPill{
  padding:10px;
  width:44px;
  justify-content:center;
}
.iconPill svg{width:22px; height:22px; opacity:1; fill:currentColor; stroke:none}
.iconPill{color:#fff;}

/* Hero */
.hero{padding:34px 6px 10px; text-align:center;}
.hero-logo{
  width:min(320px, 70vw);
  height:auto;
  filter: drop-shadow(0 16px 30px rgba(0,0,0,.45));
  user-select:none;
  margin-bottom:28px;
}
.h1{margin:18px 0 8px; font-size: clamp(28px, 4.5vw, 44px); letter-spacing: -0.6px;}
.p{margin:0 auto; margin-top:14px; max-width:720px; color:var(--muted); line-height:1.65; font-size: 16px;}

/* Grid */
.grid{
  display:grid;
  grid-template-columns: 1fr;
  gap:14px;
  margin-top:22px;
}
@media (min-width: 860px){
  .grid{grid-template-columns: 1fr 1fr; gap:16px;}
}

.card{
  --icon:44px;
  --gap:14px;
  border:1px solid var(--border);
  border-radius: var(--radius);
  background: rgba(21,26,34,.62);
  backdrop-filter: blur(10px);
  box-shadow: var(--shadow);
  padding:16px;
  display:flex;
  gap:var(--gap);
  align-items:center;
  cursor:pointer;
  transition: transform .18s ease, border-color .18s ease, background .18s ease;
}

/* Center the counter texts inside the card */
.cardText{
  min-width:0;
  flex:1;
  text-align:center;
  /* visually center the text relative to the whole card (icon occupies left space) */
  margin-left: calc((var(--icon) + var(--gap)) / -2);
}
.card:hover{transform: translateY(-2px); border-color: rgba(255,255,255,.18); background: rgba(21,26,34,.72);}
.card[role="link"]{cursor:pointer;}

.iconBox{
  width:var(--icon); height:var(--icon); border-radius: 14px;
  display:grid; place-items:center;
  background: linear-gradient(180deg, rgba(255,255,255,.10), rgba(255,255,255,.03));
  border: 1px solid rgba(255,255,255,.10);
}
.iconBox svg{width:24px; height:24px; opacity:1}
.iconBox .iconImg{width:30px; height:30px; object-fit:contain; display:block;}
.iconBox .iconImg--pixel{image-rendering: pixelated; image-rendering: crisp-edges;}
.iconBox{color:#fff;}
.iconBox svg{fill:currentColor; stroke:none;}

/* Counter card icon styling (matches the square-in-square look) */
.iconInner{
  width:46px; height:46px;
  border-radius: 14px;
  display:grid; place-items:center;
  background: rgba(8,10,14,.28);
  border: 1px solid rgba(255,255,255,.10);
  box-shadow: inset 0 1px 0 rgba(255,255,255,.10), 0 8px 18px rgba(0,0,0,.30);
  color:#fff;
}

.iconMask{
  width:22px; height:22px;
  display:block;
  background: #fff; /* the icon color */
  -webkit-mask-repeat: no-repeat;
  -webkit-mask-position: center;
  -webkit-mask-size: contain;
  mask-repeat: no-repeat;
  mask-position: center;
  mask-size: contain;
}

.iconMask--discord{
  -webkit-mask-image: url('/img/icons/discord.png');
  mask-image: url('/img/icons/discord.png');
}

.iconMask--minecraft{
  -webkit-mask-image: url('/img/icons/creeper_alpha_256.png');
  mask-image: url('/img/icons/creeper_alpha_256.png');
}


.cardTitle{margin:0; font-size:13px; color: var(--muted2);}
.cardTitle{display:flex; align-items:center; justify-content:center; gap:8px;}
.statusDot{width:8px; height:8px; border-radius:999px; background: rgba(255,255,255,.28); box-shadow:0 0 0 3px rgba(255,255,255,.06); flex:0 0 auto;}
.statusDot.status-online{background: rgba(74,222,128,.95); box-shadow:0 0 0 3px rgba(74,222,128,.18);}
.statusDot.status-offline{background: rgba(248,113,113,.95); box-shadow:0 0 0 3px rgba(248,113,113,.18);}
.statusDot.status-unknown{background: rgba(255,255,255,.28);}

/* Status dot is shown ONLY on the Minecraft counter card and must not flow inside text */
.card.minecraft{position:relative;}
.card.minecraft .statusDot{position:absolute; top:14px; right:14px;}
.cardSuffix{font-weight:800; color: var(--muted);}
.cardValue{
  margin:2px 0 0;
  font-size: 22px;
  letter-spacing: -0.4px;
  font-weight: 900;
  display:flex;
  justify-content:center;
  align-items:baseline;
  gap:10px;
  flex-wrap:nowrap;
}
.cardValue span{white-space:nowrap;}
.cardValue b{color: var(--primary);}
.cardValue.noNumber{gap:0;}
.cardValue.noNumber b{display:none;}

/* Subtle "live" animation when numbers change */
.valuePop{animation:valuePop .22s ease;}
@keyframes valuePop{
  from{transform:translateY(2px); opacity:.55;}
  to{transform:translateY(0); opacity:1;}
}
.cardHint{margin:6px 0 0; font-size:12px; color: var(--muted2);}

/* Buttons */
.btnRow{display:flex; gap:14px; flex-wrap:wrap; justify-content:center; margin-top:18px;}
.btn{
  border:1px solid var(--border);
  border-radius: 999px;
  padding:12px 16px;
  font-weight:800;
  letter-spacing:.1px;
  text-decoration:none;
  display:inline-flex;
  align-items:center;
  gap:10px;
  transition: transform .18s ease, box-shadow .18s ease, opacity .18s ease, border-color .18s ease;
  user-select:none;
}
.btn:hover{transform: translateY(-1px);}
.btn-primary{
  border-radius: 14px;
  padding: 18px 70px;
  font-size: 22px;
  min-width: 320px;
  justify-content: center;
background: var(--primary); color: var(--secondary); box-shadow: 0 14px 30px rgba(0,0,0,.28); border-color: rgba(0,0,0,.08);}
.btn-primary:hover{opacity:.95}
.btn-secondary{background: rgba(15,20,29,.55); color: var(--text);}
.btn-secondary:hover{border-color: rgba(255,255,255,.18);}

/* Social */
.social{display:flex; gap:28px; justify-content:center; margin-top:16px; flex-wrap:wrap;}
.social a{color:#fff; text-decoration:none;}

/* Toast */
.toast{
  position:fixed;
  left:50%;
  bottom:22px;
  transform: translateX(-50%) translateY(20px);
  opacity:0;
  pointer-events:none;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(15,20,29,.72);
  backdrop-filter: blur(10px);
  border-radius: 999px;
  padding:10px 14px;
  font-size:13px;
  color: var(--text);
  box-shadow: var(--shadow);
  transition: opacity .2s ease, transform .2s ease;
}
.toast.show{opacity:1; transform: translateX(-50%) translateY(0);}

/* Footer */
.footer{
  margin-top: 34px;
  padding: 18px 12px;
  text-align:center;
  color: var(--muted2);
  font-size: 12px;
}

/* Staff */
.staffHero{text-align:center; padding: 28px 6px 10px;}
.staffGrid{display:grid; grid-template-columns: 1fr; gap:14px; margin-top:18px;}
@media (min-width: 760px){.staffGrid{grid-template-columns: repeat(2, 1fr);}}
@media (min-width: 1050px){.staffGrid{grid-template-columns: repeat(3, 1fr);}}
.staffCard{cursor:default; align-items:flex-start;}
.avatar{width:56px; height:56px; border-radius: 16px; border:1px solid rgba(255,255,255,.14); background: rgba(0,0,0,.2); object-fit:cover;}
.tag{display:inline-flex; align-items:center; gap:8px; font-size:12px; color: var(--muted2); margin-top:6px;}
.tagDot{width:10px; height:10px; border-radius: 999px; background: var(--primary);}
.staffName{margin:0; font-size:18px; font-weight:900;}
.staffRole{margin:6px 0 0; font-size:12px; color: var(--muted2);}
.staffSocial{display:flex; gap:10px; flex-wrap:wrap; margin-top:12px;}
.staffSocial a{font-size:12px; text-decoration:none; color: var(--text); border:1px solid var(--border); padding:8px 10px; border-radius: 999px; background: rgba(15,20,29,.55);} 
.staffSocial a:hover{border-color: rgba(255,255,255,.18);}

/* Utils */
.sr-only{position:absolute;width:1px;height:1px;padding:0;margin:-1px;overflow:hidden;clip:rect(0,0,0,0);white-space:nowrap;border:0}

/* Reduced motion */
@media (prefers-reduced-motion: reduce){
  *{transition:none !important; animation:none !important}
}


/* Social icon color fix */
.iconPill{color:#fff;}
.iconPill svg{fill:currentColor;}
.iconPill svg path{fill:currentColor;}


/* Bigger Signup button */
.btnRow .btn-primary{
  border-radius: 14px;
  padding: 18px 70px;
  font-size: 22px;
  min-width: 320px;
  justify-content: center;

  padding:18px 60px;
  font-size:22px;
  min-width:260px;
  justify-content:center;
}


/* Mobile tweaks */
@media (max-width: 520px){
  .nav{padding:12px 12px;}
  .brand img{width:34px; height:34px;}
  .nav-actions{gap:8px;}
  .pill{padding:9px 10px;}
  .pill span{display:none;} /* keep header compact */
  .pill svg{opacity:1; width:18px; height:18px;}

  .hero{padding-top:22px;}
  .hero-logo{width:min(260px, 78vw); margin-bottom:22px;}
  .p{font-size:15px; margin-top:12px;}

  .card{padding:14px;}
  .cardValue{font-size:20px; justify-content:flex-start;}
  .cardText{margin-left:0; text-align:left;}
  .cardTitle,.cardHint{text-align:left;}
  .cardTitle{justify-content:flex-start;}
  .cardValue span{font-size:20px;}

  .btnRow{gap:12px;}
  .btnRow .btn-primary{min-width:0; width:100%; padding:16px 18px; font-size:20px;}

  .social{gap:18px;}
  .iconPill{width:46px; height:46px;}
}





header.nav img {
  max-height: 48px;
  width: auto;
  object-fit: contain;
}


/* Bigger header logo – scale only, header size unchanged */
header.nav img {
  transform: scale(1.25);
  transform-origin: left center;
}


/* UI polish pack v1.2.3 */

/* Subtle top glow background */
body::before {
  content: "";
  position: fixed;
  inset: 0;
  background: radial-gradient(circle at top, rgba(255,200,0,.12), transparent 60%);
  pointer-events: none;
  z-index: 0;
}

.container, header.nav, .card, .staffHero, .hero {
  position: relative;
  z-index: 1;
}

/* Header: premium glass */
header.nav {
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: rgba(15, 18, 22, 0.75);
}

/* Logo: subtle interaction */
header.nav img {
  transition: transform .25s ease, filter .25s ease;
}

header.nav img:hover {
  transform: scale(1.05);
  filter: drop-shadow(0 0 8px rgba(255,200,0,.35));
}

/* Online glow */
.status-online {
  box-shadow: 0 0 14px rgba(0,255,120,.25);
}

/* Staff role styling (if tag_color is not provided) */
.staffCard.role-owner .tagDot { background: #f6c443 !important; }
.staffCard.role-admin .tagDot { background: #d65a5a !important; }
.staffCard.role-mod .tagDot { background: #4aa3ff !important; }


/* Motion + mobile polish v1.2.5 */

/* Motion (respects reduced motion) */
@media (prefers-reduced-motion: no-preference) {
  .anim-fade-up {
    animation: fadeUp .7s ease both;
  }
  .anim-fade-up.delay-1 { animation-delay: .08s; }
  .anim-fade-up.delay-2 { animation-delay: .16s; }
  @keyframes fadeUp {
    from { opacity: 0; transform: translateY(10px); }
    to   { opacity: 1; transform: translateY(0); }
  }
}

/* Mobile-first refinements */
@media (max-width: 640px) {
  .container {
    padding-left: 14px;
    padding-right: 14px;
  }

  header.nav {
    border-radius: 18px;
    padding: 10px 12px;
  }

  header.nav .pill {
    padding: 10px 12px;
    font-size: 14px;
  }

  .hero-logo {
    width: min(220px, 70vw);
    height: auto;
  }

  .h1 {
    font-size: clamp(28px, 7vw, 40px);
    line-height: 1.15;
  }

  .p {
    font-size: 15px;
  }

  /* Cards stack nicer */
  .grid, .cards, .statsGrid, .staffGrid {
    gap: 12px;
  }

  .card {
    border-radius: 18px;
  }
}

/* Slightly smoother header hover on touchpads */
header.nav .pill {
  transition: transform .2s ease, background-color .2s ease, border-color .2s ease;
}
header.nav .pill:hover {
  transform: translateY(-1px);
}


/* Loader + tooltips pack v1.2.6 */

/* Headings: Orbitron for that gaming vibe */
.h1, .staffName, #brandTitle {
  font-family: "Orbitron", "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  letter-spacing: 0.02em;
}
body, .p, .btn, .pill {
  font-family: "Inter", system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
}

/* Micro-interactions */
.btn, .pill, a.btn, a.pill, button {
  transition: transform .15s ease, filter .2s ease, box-shadow .2s ease;
  will-change: transform;
}
.btn:hover, .pill:hover {
  transform: translateY(-1px);
}

/* ==============================
   UI refresh v1.3.0 (more "alive")
   ============================== */

/* Smooth animated background drift (respects reduced motion) */
@media (prefers-reduced-motion: no-preference){
  .bg{
    animation: bgDrift 12s ease-in-out infinite alternate;
  }
  @keyframes bgDrift{
    from{filter:saturate(1) brightness(1);} 
    to{filter:saturate(1.08) brightness(1.02);} 
  }
}

/* Parallax hooks (set by JS) */
.bg{transform: translate3d(calc(var(--mx,0px) * -0.6), calc(var(--my,0px) * -0.6), 0);}

/* Hero logo: subtle float */
@media (prefers-reduced-motion: no-preference){
  .hero-logo{animation: floaty 4.8s ease-in-out infinite;}
  @keyframes floaty{
    0%,100%{transform: translateY(0);} 
    50%{transform: translateY(-8px);} 
  }
}

/* Live status bar under description */
.liveBar{
  display:inline-flex;
  align-items:center;
  gap:10px;
  padding:10px 14px;
  margin-top:14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(15,20,29,.52);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: var(--muted);
  font-size: 12px;
  box-shadow: 0 12px 28px rgba(0,0,0,.28);
}
.liveBar:empty{display:none;}
.livePulse{
  width:10px; height:10px; border-radius:999px;
  background: rgba(255,255,255,.25);
  box-shadow:0 0 0 3px rgba(255,255,255,.06);
}
.livePulse.online{background: rgba(74,222,128,.95); box-shadow:0 0 0 3px rgba(74,222,128,.16), 0 0 18px rgba(74,222,128,.18);} 
.livePulse.offline{background: rgba(248,113,113,.95); box-shadow:0 0 0 3px rgba(248,113,113,.16), 0 0 18px rgba(248,113,113,.14);} 
@media (prefers-reduced-motion: no-preference){
  .livePulse.online{animation: pulse 1.6s ease-in-out infinite;}
  @keyframes pulse{0%,100%{transform:scale(1);}50%{transform:scale(1.18);}}
}

/* Card: animated gradient border on hover */
.card{position:relative; overflow:hidden;}
.card::before{
  content:"";
  position:absolute;
  inset:-2px;
  border-radius: calc(var(--radius) + 2px);
  background: linear-gradient(90deg, rgba(255,255,85,.0), rgba(255,255,85,.28), rgba(98,126,255,.25), rgba(255,85,170,.22), rgba(255,255,85,.0));
  opacity:0;
  transition: opacity .18s ease;
  z-index:0;
}
.card::after{
  content:"";
  position:absolute;
  inset:0;
  border-radius: var(--radius);
  background: radial-gradient(420px 120px at var(--shine-x, 50%) var(--shine-y, 0%), rgba(255,255,255,.14), transparent 55%);
  opacity:0;
  transition: opacity .18s ease;
  pointer-events:none;
  z-index:1;
}
.card:hover::before{opacity:1;}
.card:hover::after{opacity:1;}
.card > *{position:relative; z-index:2;}

/* Tooltips (data-tooltip="...") */
[data-tooltip]{position:relative;}
[data-tooltip]::after{
  content: attr(data-tooltip);
  position:absolute;
  left:50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%) translateY(6px);
  opacity:0;
  pointer-events:none;
  white-space:nowrap;
  font-size:12px;
  color: var(--text);
  padding:8px 10px;
  border-radius: 999px;
  background: rgba(15,20,29,.85);
  border:1px solid rgba(255,255,255,.12);
  box-shadow: 0 12px 30px rgba(0,0,0,.35);
  transition: opacity .18s ease, transform .18s ease;
}
[data-tooltip]::before{
  content:"";
  position:absolute;
  left:50%;
  bottom: calc(100% + 4px);
  transform: translateX(-50%) translateY(6px);
  width:10px; height:10px;
  background: rgba(15,20,29,.85);
  border-left:1px solid rgba(255,255,255,.12);
  border-top:1px solid rgba(255,255,255,.12);
  rotate: 45deg;
  opacity:0;
  transition: opacity .18s ease, transform .18s ease;
}
@media (hover:hover){
  [data-tooltip]:hover::after,
  [data-tooltip]:hover::before{opacity:1; transform: translateX(-50%) translateY(0);} 
}

/* Loader */
.pageLoader{
  position:fixed;
  inset:0;
  z-index:999;
  display:grid;
  place-items:center;
  background: rgba(0,0,0,.45);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}
.pageLoader.hide{opacity:0; pointer-events:none; transition: opacity .22s ease;}
.pageLoaderCard{
  width:min(520px, calc(100vw - 32px));
  border-radius: 26px;
  border:1px solid rgba(255,255,255,.12);
  background: rgba(21,26,34,.72);
  box-shadow: 0 18px 50px rgba(0,0,0,.45);
  padding:22px 18px 18px;
  text-align:center;
}
.pageLoaderLogo{
  width:110px;
  height:auto;
  filter: drop-shadow(0 14px 26px rgba(0,0,0,.35));
}
.pageLoaderTitle{margin-top:10px; font-family: "Orbitron", "Inter", system-ui, sans-serif; font-weight:800; letter-spacing:.02em;}
.pageLoaderHint{margin-top:6px; font-size:12px; color: var(--muted2);}
.pageLoaderBar{
  margin-top:14px;
  height:10px;
  border-radius:999px;
  background: rgba(255,255,255,.08);
  overflow:hidden;
  border:1px solid rgba(255,255,255,.10);
}
.pageLoaderBar span{
  display:block;
  height:100%;
  width:35%;
  border-radius:999px;
  background: linear-gradient(90deg, rgba(255,255,85,.20), rgba(255,255,85,.75), rgba(98,126,255,.55));
  animation: loaderMove 1.1s ease-in-out infinite alternate;
}
@keyframes loaderMove{from{transform:translateX(-5%);}to{transform:translateX(190%);}}
.btn:active, .pill:active {
  transform: translateY(0) scale(.98);
}

/* Minimal tooltip */
[data-tooltip] {
  position: relative;
}
[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  left: 50%;
  bottom: calc(100% + 10px);
  transform: translateX(-50%);
  white-space: nowrap;
  opacity: 0;
  pointer-events: none;
  padding: 8px 10px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1;
  background: rgba(15, 18, 22, 0.92);
  border: 1px solid rgba(255,255,255,0.10);
  box-shadow: 0 12px 30px rgba(0,0,0,0.35);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  transition: opacity .15s ease, transform .15s ease;
}
[data-tooltip]::before {
  content: "";
  position: absolute;
  left: 50%;
  bottom: calc(100% + 2px);
  transform: translateX(-50%);
  width: 10px;
  height: 10px;
  opacity: 0;
  pointer-events: none;
  background: rgba(15, 18, 22, 0.92);
  border-left: 1px solid rgba(255,255,255,0.10);
  border-top: 1px solid rgba(255,255,255,0.10);
  transform-origin: center;
  rotate: 45deg;
  transition: opacity .15s ease, transform .15s ease;
}
[data-tooltip]:hover::after {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}
[data-tooltip]:hover::before {
  opacity: 1;
  transform: translateX(-50%) translateY(-2px);
}

/* Loader overlay */
.loader {
  position: fixed;
  inset: 0;
  display: grid;
  place-items: center;
  background: rgba(10, 12, 16, 0.86);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  z-index: 9999;
}
.loader-card {
  width: min(380px, 88vw);
  border-radius: 24px;
  padding: 18px 18px 16px;
  text-align: center;
  border: 1px solid rgba(255,255,255,0.10);
  background: rgba(15, 18, 22, 0.72);
  box-shadow: 0 24px 70px rgba(0,0,0,0.45);
}
.loader-logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255,200,0,.25));
}
.loader-text {
  margin-top: 10px;
  font-weight: 600;
  opacity: 0.92;
}
.loader-bar {
  margin-top: 14px;
  height: 10px;
  border-radius: 999px;
  overflow: hidden;
  background: rgba(255,255,255,0.10);
  border: 1px solid rgba(255,255,255,0.10);
}
.loader-bar-fill {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: 999px;
  background: rgba(255,200,0,0.75);
  animation: loaderSlide 1.1s ease-in-out infinite;
}
@keyframes loaderSlide {
  0%   { transform: translateX(-120%); }
  50%  { transform: translateX(90%); }
  100% { transform: translateX(260%); }
}
.loader.hide {
  opacity: 0;
  pointer-events: none;
  transition: opacity .22s ease;
}




.cardValue.noNumber .cardSuffix {
  margin-left: 0 !important;
}


/* Counter value row alignment fix */
.cardValue{
  display: flex;
  align-items: baseline;
  gap: 8px;
}

.cardValue.noNumber{
  gap: 0;
}

.cardValue.noNumber b{
  display: none;
}
