:root{
  --bg0:#070A12;
  --bg1:#070A12;
  --text:rgba(255,255,255,.92);
  --muted:rgba(255,255,255,.72);
  --a:#ffffff;
  --b:#ffffff;
  --btn:#ffffff;
  --shadow:0 24px 90px rgba(0,0,0,.50);
  --shadow2:0 18px 60px rgba(0,0,0,.42);
}

*{ box-sizing:border-box; }
html,body{ height:100%; }

html{ scroll-behavior:smooth; }
#gamesSection{ scroll-margin-top:110px; }

a.gameCard{
  text-decoration:none;
  color:inherit;
}

a{
  text-decoration:none;
}

a:hover,
a:focus,
a:active,
a:visited{
  text-decoration:none;
}

body{
  margin:0;
  color:var(--text);
  font-family:ui-sans-serif,system-ui,-apple-system,Segoe UI,Roboto,Helvetica,Arial;
  background:linear-gradient(180deg,var(--bg0),var(--bg1));
  overflow-x:hidden;
}

a,button,input,select,textarea,[role="button"]{
  -webkit-tap-highlight-color:transparent;
}
:focus{ outline:none; }
:focus-visible{ outline:none; }
button::-moz-focus-inner{ border:0; }

/* =========================
   TOP BAR
========================= */
.top{
  position:fixed;
  inset:0 0 auto 0;
  height:78px;
  z-index:30;
  background:rgba(7,10,18,.70);
  backdrop-filter:blur(14px);
  border-bottom:1px solid rgba(255,255,255,.06);
}
.top__inner{
  height:78px;
  width:min(1240px,calc(100% - 40px));
  margin:0 auto;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
}

.brand{
  text-decoration:none;
  color:var(--text);
  font-weight:900;
  letter-spacing:.2px;
  font-size:26px;
}
.brand__word{
  transform:translateY(-1px);
  display:inline-block;
}

.nav{
  display:flex;
  align-items:center;
  gap:16px;
}

.nav__item{
  border:0;
  background:transparent;
  color:rgba(255,255,255,.70);
  font-weight:950;
  font-size:15px;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  padding:10px 12px;
  border-radius:999px;
  transition:background .14s ease,color .14s ease,transform .14s ease;
  text-decoration:none;
  position:relative;
}
.ico{
  width:22px;
  height:22px;
  display:inline-grid;
  place-items:center;
  color:rgba(255,255,255,.72);
}
.ico svg{
  width:22px;
  height:22px;
  display:block;
}

.nav__item:hover{
  background:rgba(255,255,255,.045);
  color:rgba(255,255,255,.92);
  transform:translateY(-1px);
}
.nav__item:hover .ico{ color:rgba(255,255,255,.92); }

.nav__item.is-active{
  background:rgba(255,255,255,.055);
  color:rgba(255,255,255,.95);
}
.nav__item.is-active .ico{ color:rgba(255,255,255,.95); }

.nav__item::after{
  content:"";
  position:absolute;
  left:18px;
  right:18px;
  bottom:6px;
  height:2px;
  border-radius:999px;
  background:linear-gradient(90deg,rgba(255,255,255,0),rgba(255,255,255,.35),rgba(255,255,255,0));
  opacity:0;
  transform:translateY(4px);
  transition:opacity .18s ease,transform .18s ease;
}
.nav__item:hover::after{
  opacity:.7;
  transform:translateY(0);
}

.auth{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}

.btn{
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.05);
  color:var(--text);
  padding:12px 18px;
  border-radius:14px;
  font-weight:950;
  cursor:pointer;
  transition:transform .12s ease,background .12s ease,border-color .12s ease,box-shadow .12s ease,color .12s ease;
}
.btn:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.075);
  border-color:rgba(255,255,255,.22);
}
.btn:active{ transform:translateY(0); }
.btn--ghost{ background:rgba(255,255,255,.04); }
.btn--primary{
  border-color:rgba(255,255,255,.85);
  background:linear-gradient(180deg,#ffffff,#e9edf5);
  color:#0a0d14;
  box-shadow:0 16px 56px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.95);
}
.btn--primary:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,#ffffff,#dde3ee);
  border-color:#ffffff;
  color:#0a0d14;
}
.btn--big{
  padding:14px 20px;
  border-radius:16px;
}

/* =========================
   HERO / BACKGROUND
========================= */
.hero{
  position:relative;
  min-height:100vh;
  padding-top:78px;
  overflow:hidden;
}

.hero__bg{
  position:absolute;
  inset:78px 0 0 0;
  overflow:hidden;
}

.bg-main{
  position:absolute;
  inset:0;
  background:url("./main.png") center top / cover no-repeat;
  transform:translateZ(0);
}
.bg-main::after{
  content:"";
  position:absolute;
  inset:0;
  background:
    linear-gradient(
      to bottom,
      rgba(7,10,18,.03) 0%,
      rgba(7,10,18,.05) 14%,
      rgba(7,10,18,.10) 28%,
      rgba(7,10,18,.18) 42%,
      rgba(7,10,18,.34) 57%,
      rgba(7,10,18,.56) 71%,
      rgba(7,10,18,.78) 84%,
      rgba(7,10,18,.92) 93%,
      rgba(7,10,18,1) 100%
    );
  pointer-events:none;
}

.bg-sweep{
  position:absolute;
  inset:-30%;
  background:linear-gradient(
    110deg,
    rgba(255,255,255,0) 0%,
    rgba(255,255,255,.035) 45%,
    rgba(255,255,255,0) 60%
  );
  mix-blend-mode:screen;
  opacity:0;
  animation:sweep 10s ease-in-out infinite;
  pointer-events:none;
}
@keyframes sweep{
  0%{ transform:translateX(-40%) translateY(-6%); opacity:0; }
  20%{ opacity:.14; }
  50%{ opacity:.06; }
  100%{ transform:translateX(40%) translateY(6%); opacity:0; }
}

.bg-particles{
  position:absolute;
  inset:0;
  background-image:
    radial-gradient(circle at 18% 26%, rgba(255,255,255,.30) 0 1px, transparent 2px),
    radial-gradient(circle at 30% 40%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 74% 28%, rgba(255,255,255,.20) 0 1px, transparent 2px),
    radial-gradient(circle at 60% 46%, rgba(255,255,255,.18) 0 1px, transparent 2px);
  opacity:.14;
  filter:blur(.2px);
  animation:twinkle 7s ease-in-out infinite alternate;
  pointer-events:none;
}
@keyframes twinkle{
  from{ opacity:.10; transform:translateY(0); }
  to{ opacity:.16; transform:translateY(-8px); }
}

.vignette{
  position:absolute;
  inset:0;
  background:radial-gradient(60% 55% at 50% 42%, rgba(0,0,0,0) 44%, rgba(0,0,0,.42) 100%);
  pointer-events:none;
}

.grain{
  position:absolute;
  inset:0;
  opacity:.06;
  background-image:url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='180' height='180'%3E%3Cfilter id='n'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='.85' numOctaves='2' stitchTiles='stitch'/%3E%3C/filter%3E%3Crect width='180' height='180' filter='url(%23n)' opacity='.55'/%3E%3C/svg%3E");
  pointer-events:none;
}

/* =========================
   HERO LOBBY CONTENT
========================= */
.hero__copy{
  position:relative;
  z-index:2;
  width:min(860px,calc(100% - 40px));
  text-align:center;
  padding:0 0 24px;
  animation:heroIn .85s ease both;
}
@keyframes heroIn{
  from{ opacity:0; transform:translateY(18px); }
  to{ opacity:1; transform:translateY(0); }
}

.hero__copy--lobby{
  width:min(1160px,calc(100% - 40px));
  margin:0 auto;
  min-height:calc(100vh - 78px);
  padding-top:clamp(150px,18vh,220px);
  padding-bottom:84px;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:flex-start;
  text-align:center;
}

.hero__title{
  margin:0;
  font-size:clamp(48px,6vw,82px);
  line-height:1.02;
  letter-spacing:-.05em;
  text-shadow:0 30px 120px rgba(0,0,0,.62);
  font-weight:1000;
  text-align:center;
  max-width:900px;
}

.hero__sub{
  margin:16px auto 0;
  color:rgba(255,255,255,.82);
  max-width:520px;
  font-size:17px;
  line-height:1.58;
  font-weight:800;
  text-shadow:0 20px 60px rgba(0,0,0,.45);
  text-align:center;
}

.gamesHeading{
  margin:clamp(105px,12vh,150px) 0 26px;
  text-align:center;
  font-size:clamp(36px,4.2vw,58px);
  line-height:1;
  letter-spacing:-.045em;
  font-weight:1000;
  color:rgba(255,255,255,.98);
  text-shadow:0 18px 50px rgba(0,0,0,.42);
}

/* =========================
   GAMES GRID
========================= */
.gamesGrid{
  width:min(100%,1000px);
  margin:0 auto;
  display:grid;
  grid-template-columns:repeat(5,172px);
  justify-content:center;
  gap:18px;
  align-items:start;
}

.gameCard{
  position:relative;
  width:172px;
  border:0;
  padding:0;
  margin:0;
  text-align:left;
  background:transparent;
  cursor:pointer;
  border-radius:18px;
  overflow:hidden;
  box-shadow:0 18px 50px rgba(0,0,0,.34);
  transition:transform .16s ease,box-shadow .16s ease;
}
.gameCard:hover{
  transform:translateY(-4px);
  box-shadow:0 26px 70px rgba(0,0,0,.48);
}

.gameCard__badge{
  position:absolute;
  top:8px;
  left:8px;
  z-index:3;
  display:inline-flex;
  align-items:center;
  justify-content:center;
  min-height:28px;
  padding:0 10px;
  border-radius:9px;
  background:rgba(24,44,59,.72);
  color:#68f3b9;
  font-size:11px;
  font-weight:1000;
  letter-spacing:.04em;
  backdrop-filter:blur(4px);
}

.gameCard__imageWrap{
  position:relative;
  width:100%;
  aspect-ratio:172 / 232;
  background:rgba(255,255,255,.04);
}

.gameCard__image{
  width:100%;
  height:100%;
  display:block;
  object-fit:cover;
}

.gameCard__imageWrap::after{
  content:"";
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  height:46%;
  background:linear-gradient(
    to top,
    rgba(6,9,22,.98) 0%,
    rgba(6,9,22,.84) 24%,
    rgba(6,9,22,.42) 58%,
    rgba(6,9,22,0) 100%
  );
  pointer-events:none;
}

.gameCard__bottom{
  position:absolute;
  left:0;
  right:0;
  bottom:0;
  z-index:2;
  padding:0 12px 14px;
}

.gameCard__name{
  color:rgba(255,255,255,.98);
  font-size:24px;
  line-height:.98;
  font-weight:1000;
  letter-spacing:-.04em;
  text-shadow:0 8px 24px rgba(0,0,0,.45);
}
.gameCard__name--two{
  font-size:21px;
  line-height:.92;
}

.gameCard__meta{
  margin-top:6px;
  color:rgba(255,255,255,.42);
  font-size:12px;
  font-weight:900;
  letter-spacing:-.01em;
}

.gamesGrid .gameCard:nth-child(6),
.gamesGrid .gameCard:nth-child(7),
.gamesGrid .gameCard:nth-child(8),
.gamesGrid .gameCard:nth-child(9){
  transform: translateX(90px);
}
.gamesGrid .gameCard:nth-child(6):hover,
.gamesGrid .gameCard:nth-child(7):hover,
.gamesGrid .gameCard:nth-child(8):hover,
.gamesGrid .gameCard:nth-child(9):hover{
  transform: translateX(90px) translateY(-4px);
}

/* =========================
   FOOTER
========================= */
.footer{
  position:relative;
  background:rgba(7,10,18,1);
  border-top:1px solid rgba(255,255,255,.06);
}
.footer__inner{
  width:min(1240px,calc(100% - 40px));
  margin:0 auto;
  padding:56px 0 28px;
}
.footer__cols{
  display:grid;
  grid-template-columns:1fr 1fr 1fr;
  gap:40px;
}
.footer__title{
  font-weight:950;
  font-size:16px;
  margin-bottom:14px;
}
.footer__links{
  display:flex;
  flex-direction:column;
  gap:10px;
}
.footer__link{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  text-align:left;
  color:rgba(255,255,255,.62);
  font-weight:750;
  font-size:15px;
  cursor:pointer;
  transition:color .14s ease,transform .14s ease;
}
.footer__link:hover{
  color:rgba(255,255,255,.88);
  transform:translateX(2px);
}
.footer__coming{
  color:rgba(255,255,255,.55);
  font-weight:750;
  font-size:15px;
  padding-top:4px;
}
.footer__disclaimer{
  margin-top:34px;
  color:rgba(255,255,255,.35);
  font-size:13px;
  line-height:1.55;
}
.footer__bottom{
  margin-top:22px;
  padding-top:18px;
  border-top:1px solid rgba(255,255,255,.06);
  color:rgba(255,255,255,.38);
  font-size:13px;
}

/* =========================
   FAB
========================= */
.fab{
  position:fixed;
  bottom:26px;
  width:58px;
  height:58px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  backdrop-filter:blur(10px);
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.78);
  box-shadow:var(--shadow2);
  cursor:pointer;
  z-index:40;
  transition:transform .12s ease,background .12s ease,border-color .12s ease;
}
.fab:hover{
  transform:translateY(-2px);
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.20);
  color:rgba(255,255,255,.92);
}
.fab svg{
  width:26px;
  height:26px;
}
.fab--left{ left:26px; }
.fab--right{ right:26px; }

/* =========================
   MOBILE NAV / BOTTOM NAV
========================= */
.bottomNav{ display:none; }

.burger{
  display:none;
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.04);
  color:var(--text);
}
.burger span{
  display:block;
  width:18px;
  height:2px;
  margin:4px auto;
  background:rgba(255,255,255,.78);
  border-radius:2px;
}

.mobile{
  display:none;
  width:min(1240px,calc(100% - 40px));
  margin:0 auto;
  padding:12px 0 0;
}
.mobile__link{
  width:100%;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.88);
  padding:12px 14px;
  border-radius:14px;
  font-weight:950;
  cursor:pointer;
  margin-bottom:10px;
  text-align:left;
}
.mobile__link.is-active{
  border-color:rgba(255,255,255,.18);
  background:rgba(255,255,255,.06);
}
.mobile__auth{
  display:flex;
  gap:10px;
  padding:4px 0 14px;
}

/* =========================
   GENERIC MODAL
========================= */
.modal{
  position:fixed;
  inset:0;
  display:none;
  z-index:60;
}
.modal.is-open{ display:block; }
.modal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(6px);
}
.modal__card{
  position:relative;
  width:min(520px,calc(100% - 28px));
  margin:14vh auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(10,12,20,.92);
  box-shadow:var(--shadow);
  overflow:hidden;
}
.modal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.modal__title{ font-weight:950; }
.modal__x{
  width:40px;
  height:40px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:var(--text);
  cursor:pointer;
}
.modal__body{
  padding:14px;
  color:var(--muted);
  line-height:1.55;
}
.modal__foot{
  padding:0 14px 14px;
  display:flex;
  justify-content:flex-end;
}

/* =========================
   AUTH MODAL
========================= */
.authCard{
  width:min(520px,calc(100% - 28px));
  margin:10vh auto;
  border-radius:22px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(10,12,18,.78);
  backdrop-filter:blur(18px);
  box-shadow:0 28px 120px rgba(0,0,0,.62);
  overflow:hidden;
  max-height:calc(100vh - 140px);
  display:flex;
  flex-direction:column;
}
.authTabs{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:8px;
  padding:14px;
  background:rgba(255,255,255,.04);
  border-bottom:1px solid rgba(255,255,255,.08);
}
.authTab{
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.72);
  font-weight:950;
  cursor:pointer;
  transition:transform .12s ease,background .12s ease,border-color .12s ease,color .12s ease;
}
.authTab:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.88);
}
.authTab.is-active{
  background:linear-gradient(180deg,#ffffff,#e9edf5);
  border-color:rgba(255,255,255,.82);
  color:#0a0d14;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
}
.authBody{
  padding:14px;
  overflow:auto;
}
.authBody::-webkit-scrollbar{ width:10px; }
.authBody::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.10);
  border-radius:999px;
  border:3px solid rgba(0,0,0,0);
  background-clip:padding-box;
}
.authHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:10px;
  padding:4px 2px 12px;
}
.authTitle{
  font-weight:1000;
  letter-spacing:-.02em;
  font-size:16px;
  color:rgba(255,255,255,.92);
}
.authForm{ display:none; }
.authForm.is-active{ display:block; }

.field{
  display:block;
  margin:10px 0 12px;
}
.field__label{
  display:block;
  font-size:13px;
  color:rgba(255,255,255,.70);
  font-weight:800;
  margin:0 0 8px;
}
.field__label em{
  color:rgba(255,255,255,.45);
  font-style:normal;
}
.field__row{
  display:flex;
  gap:10px;
  align-items:center;
}

.field__input{
  width:100%;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.35);
  color:rgba(255,255,255,.92);
  padding:0 14px;
  outline:none;
  transition:border-color .12s ease,background .12s ease,box-shadow .12s ease;
}
.field__input::placeholder{ color:rgba(255,255,255,.36); }
.field__input:focus{
  border-color:rgba(255,255,255,.28);
  box-shadow:0 0 0 4px rgba(255,255,255,.08);
  background:rgba(0,0,0,.44);
}

.eye{
  width:44px;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.80);
  display:grid;
  place-items:center;
  cursor:pointer;
  transition:transform .12s ease,background .12s ease,border-color .12s ease,color .12s ease;
}
.eye:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.18);
  color:rgba(255,255,255,.95);
}
.eye svg{ width:22px; height:22px; }

.checkRow{
  display:flex;
  align-items:center;
  gap:10px;
  margin:10px 0;
  color:rgba(255,255,255,.72);
  font-weight:750;
  font-size:14px;
}
.checkRow input{
  width:18px;
  height:18px;
  accent-color:#ffffff;
}
.checkRow.req em{
  color:rgba(255,255,255,.45);
  font-style:normal;
}

.link{
  color:rgba(255,255,255,.92);
  text-decoration:underline;
  font-weight:900;
}

.formMsg{
  margin:10px 2px 12px;
  min-height:18px;
  font-size:13px;
  color:rgba(255,255,255,.62);
}
.formMsg.is-error{ color:rgba(255,120,120,.92); }
.formMsg.is-ok{ color:rgba(120,255,190,.88); }

.authSubmit{
  width:100%;
  margin-top:6px;
}
.authFine{
  margin-top:12px;
  font-size:12.5px;
  color:rgba(255,255,255,.45);
  line-height:1.5;
  text-align:center;
}
.field.is-hidden{ display:none; }

/* =========================
   WALLET / BALANCE DROPDOWN
========================= */
.userbar{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.fiatSym{ font-weight:1000; }

.balancePill{
  height:44px;
  padding:0 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  box-shadow:0 18px 60px rgba(0,0,0,.35);
  transition:transform .12s ease,background .12s ease,border-color .12s ease;
}
.balancePill:hover{
  transform:translateY(-1px);
  background:rgba(255,255,255,.07);
  border-color:rgba(255,255,255,.18);
}
.balancePill:active{ transform:translateY(0); }

.balancePill .chev{
  opacity:.85;
  font-weight:1000;
  transform:translateY(-1px);
  display:inline-block;
  transition:transform .15s ease;
  color:inherit;
}
.balancePill.is-open .chev{
  transform:rotate(180deg) translateY(1px);
}

.pillIcon{
  width:22px;
  height:22px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.pillIcon img{
  width:14px;
  height:14px;
  display:block;
  object-fit:contain;
}

#walletBtn{ user-select:none; }

.walletBtn{
  height:44px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.82);
  background:linear-gradient(180deg,#ffffff,#e9edf5);
  color:#0a0d14;
  font-weight:950;
  display:flex;
  align-items:center;
  gap:10px;
  cursor:pointer;
  box-shadow:0 16px 56px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.95);
  transition:transform .12s ease,background .12s ease,border-color .12s ease,color .12s ease;
}
.walletBtn:hover{
  transform:translateY(-1px);
  background:linear-gradient(180deg,#ffffff,#dde3ee);
  border-color:#ffffff;
  color:#0a0d14;
}
.walletBtn svg{ width:18px; height:18px; }

.avatarBtn{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(255,255,255,.05);
  display:grid;
  place-items:center;
  cursor:pointer;
}
.avatarDot{
  width:18px;
  height:18px;
  border-radius:999px;
  background:rgba(255,255,255,.24);
}

.walletMenu{
  position:fixed;
  top:86px;
  right:26px;
  width:340px;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,10,18,.90);
  backdrop-filter:blur(16px);
  box-shadow:0 30px 120px rgba(0,0,0,.60);
  overflow:hidden;
  z-index:70;
  display:none;
}
.walletMenu.is-open{ display:block; }

.walletMenu__top{
  padding:14px 14px 10px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.walletMenu__row{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
}
.walletMenu__title{
  font-weight:950;
  color:rgba(255,255,255,.90);
  font-size:14px;
}
.claimBtn{
  height:38px;
  padding:0 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.05);
  color:rgba(255,255,255,.55);
  font-weight:900;
  cursor:not-allowed;
  opacity:.75;
}
.walletMenu__sub{
  margin-top:10px;
  display:flex;
  align-items:center;
  gap:10px;
  color:rgba(255,255,255,.60);
  font-weight:800;
  font-size:13px;
}
.walletMenu__sub .rbNum{
  width:22px;
  height:22px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  display:grid;
  place-items:center;
  color:rgba(255,255,255,.85);
  font-weight:1000;
}

.coinList{
  max-height:360px;
  overflow:auto;
  padding:8px;
  scrollbar-width:thin;
  scrollbar-color:rgba(255,255,255,.50) rgba(255,255,255,.10);
}
.coinList::-webkit-scrollbar{ width:10px; }
.coinList::-webkit-scrollbar-track{
  background:rgba(255,255,255,.10);
  border-radius:999px;
}
.coinList::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.45);
  border-radius:999px;
  border:2px solid rgba(255,255,255,.10);
}
.coinList::-webkit-scrollbar-thumb:hover{
  background:rgba(255,255,255,.60);
}

.coinEmpty{
  padding:18px 14px;
  color:rgba(255,255,255,.55);
  font-weight:900;
}

.coinRow{
  width:100%;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  padding:10px 10px;
  border-radius:14px;
  border:1px solid transparent;
  background:transparent;
  cursor:pointer;
  transition:background .12s ease,border-color .12s ease,transform .12s ease;
}
.coinRow:hover{
  background:rgba(255,255,255,.05);
  transform:translateY(-1px);
}
.coinRow.is-active{
  background:rgba(255,255,255,.06);
  border-color:rgba(255,255,255,.14);
}

.coinLeft{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.coinIcon{
  width:28px;
  height:28px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.coinIcon img{
  width:18px;
  height:18px;
  object-fit:contain;
  display:block;
}

.coinName{
  font-weight:950;
  color:rgba(255,255,255,.92);
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.coinSym{
  margin-left:8px;
  font-weight:950;
  color:rgba(255,255,255,.55);
}
.coinAmt{
  font-weight:950;
  color:rgba(255,255,255,.62);
}
.coinAmt strong{
  font-weight:1000;
  color:rgba(255,255,255,.92);
}

.walletMenu__bottom{
  border-top:1px solid rgba(255,255,255,.08);
  margin:8px;
  width:calc(100% - 16px);
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  font-weight:950;
  display:flex;
  align-items:center;
  justify-content:center;
  gap:10px;
  cursor:pointer;
  outline:none !important;
  box-shadow:none !important;
  text-align:center;
}
.walletMenu__bottom:hover{
  background:rgba(255,255,255,.07);
  transform:translateY(-1px);
}
.walletMenu__bottom:active{ transform:translateY(0); }
.walletMenu__bottom:focus,
.walletMenu__bottom:focus-visible{
  outline:none !important;
  box-shadow:none !important;
}
.walletMenu__bottom svg{
  width:18px;
  height:18px;
  opacity:.92;
}

/* =========================
   WALLET SETTINGS MODAL
========================= */
.wset{
  position:fixed;
  inset:0;
  display:none;
  z-index:90;
}
.wset.is-open{ display:block; }
.wset__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(6px);
}

.wset__card{
  position:relative;
  width:min(620px,calc(100% - 28px));
  margin:14vh auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,10,18,.92);
  box-shadow:0 30px 120px rgba(0,0,0,.60);
  overflow:hidden;
}
.wset__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.wset__title{
  font-weight:1000;
  font-size:20px;
  letter-spacing:-.02em;
}
.wset__x{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  cursor:pointer;
}
.wset__body{
  padding:16px;
  display:grid;
  gap:12px;
}

.wsetRow{
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:14px;
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  font-weight:900;
}
.wsetRow input{ display:none; }
.wsetSwitch{
  width:52px;
  height:30px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.14);
  background:rgba(255,255,255,.06);
  position:relative;
}
.wsetSwitch::after{
  content:"";
  position:absolute;
  top:50%;
  left:4px;
  width:22px;
  height:22px;
  border-radius:999px;
  transform:translateY(-50%);
  background:rgba(255,255,255,.22);
  transition:left .16s ease,background .16s ease;
}
.wsetRow input:checked + .wsetSwitch{
  background:rgba(47,102,255,.45);
  border-color:rgba(47,102,255,.55);
}
.wsetRow input:checked + .wsetSwitch::after{
  left:26px;
  background:rgba(255,255,255,.92);
}

.wsetSelectWrap{
  padding:12px 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
}
.wsetLabel{
  color:rgba(255,255,255,.62);
  font-weight:900;
  font-size:13px;
  margin-bottom:10px;
}
.wsetSelect{ position:relative; }

.wsetSelectBtn{
  width:100%;
  height:44px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.32);
  color:rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  font-weight:1000;
  cursor:pointer;
  outline:none;
  box-shadow:none;
}
.wsetSelectBtn .wsetCaret{
  opacity:.85;
  transition:transform .15s ease;
}
.wsetSelectBtn.is-open .wsetCaret{
  transform:rotate(180deg);
}

.wsetSelectMenu{
  position:absolute;
  left:0;
  right:0;
  top:calc(100% + 8px);
  border-radius:14px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,10,18,.96);
  box-shadow:0 22px 80px rgba(0,0,0,.55);
  overflow:hidden;
  display:none;
  z-index:2;
}
.wsetSelectMenu.is-open{ display:block; }
.wsetSelectMenu button{
  width:100%;
  height:44px;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.88);
  font-weight:950;
  text-align:left;
  padding:0 14px;
  cursor:pointer;
  outline:none;
  box-shadow:none;
}
.wsetSelectMenu button:hover{
  background:rgba(255,255,255,.06);
}

.wset__foot{ padding:0 16px 16px; }
.wsetSave{
  width:100%;
  height:48px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.82);
  background:linear-gradient(180deg,#ffffff,#e9edf5);
  color:#0a0d14;
  font-weight:1000;
  cursor:pointer;
  box-shadow:0 16px 56px rgba(255,255,255,.10), inset 0 1px 0 rgba(255,255,255,.95);
  outline:none;
}
.wsetSave:hover{
  background:linear-gradient(180deg,#ffffff,#dde3ee);
  border-color:#ffffff;
  color:#0a0d14;
}
.wsetMsg{
  min-height:18px;
  color:rgba(255,255,255,.55);
  font-weight:800;
}

/* =========================
   WALLET MODAL
========================= */
.wmodal{
  position:fixed;
  inset:0;
  display:none;
  z-index:95;
}
.wmodal.is-open{ display:block; }
.wmodal__backdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(6px);
}

.wmodal__card{
  position:relative;
  width:min(560px,calc(100% - 28px));
  margin:10vh auto;
  border-radius:18px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,10,18,.92);
  box-shadow:0 30px 120px rgba(0,0,0,.60);
  overflow:hidden;
  max-height:calc(100vh - 140px);
  display:flex;
  flex-direction:column;
}
.wmodal__head{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:14px 14px 12px;
  border-bottom:1px solid rgba(255,255,255,.08);
}
.wmodal__title{
  font-weight:1000;
  font-size:22px;
  letter-spacing:-.02em;
}
.wmodal__x{
  width:44px;
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  cursor:pointer;
}

.wmodal__tabs{
  display:grid;
  grid-template-columns:repeat(4,1fr);
  gap:10px;
  padding:12px 14px;
  border-bottom:1px solid rgba(255,255,255,.08);
  background:rgba(255,255,255,.03);
}
.wtab{
  height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.03);
  color:rgba(255,255,255,.70);
  font-weight:950;
  cursor:pointer;
  outline:none;
}
.wtab.is-active{
  background:linear-gradient(180deg,#ffffff,#e9edf5);
  border-color:rgba(255,255,255,.82);
  color:#0a0d14;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.95);
}

.wmodal__body{
  padding:14px;
  overflow:auto;
}
.wmodal__body::-webkit-scrollbar{ width:10px; }
.wmodal__body::-webkit-scrollbar-thumb{
  background:rgba(255,255,255,.35);
  border-radius:999px;
  border:2px solid rgba(255,255,255,.08);
}
.wmodal__body::-webkit-scrollbar-track{
  background:rgba(255,255,255,.08);
  border-radius:999px;
}

.wdeposit{ display:none; }
.wdeposit.is-active{ display:block; }

.wqrWrap{
  display:grid;
  place-items:center;
  padding:4px 0 14px;
}
.wqr{
  width:160px;
  height:160px;
  border-radius:18px;
  background:#fff;
  object-fit:contain;
}

.wfield{ margin-top:10px; }
.wlabel{
  color:rgba(255,255,255,.55);
  font-weight:900;
  font-size:13px;
  margin:0 0 8px;
}

.wselect{
  width:100%;
  height:52px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.32);
  color:rgba(255,255,255,.92);
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:0 14px;
  cursor:pointer;
  font-weight:950;
  outline:none;
}
.wselectLeft{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.wcoinIcon{
  width:28px;
  height:28px;
  border-radius:999px;
  background:rgba(255,255,255,.10);
  display:grid;
  place-items:center;
  overflow:hidden;
}
.wcoinIcon img{
  width:18px;
  height:18px;
  display:block;
  object-fit:contain;
}
.wcoinName{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wselectRight{
  display:flex;
  align-items:center;
  gap:10px;
}
.wamt b{ font-weight:1000; }
.wcaret{
  opacity:.85;
  transition:transform .15s ease;
}
.wselect.is-open .wcaret{
  transform:rotate(180deg);
}

.wmenu{
  position:relative;
  margin-top:8px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.12);
  background:rgba(8,10,18,.96);
  box-shadow:0 22px 80px rgba(0,0,0,.55);
  overflow:hidden;
  display:none;
}
.wmenu.is-open{ display:block; }
.wmenuRow{
  width:100%;
  border:0;
  background:transparent;
  color:rgba(255,255,255,.88);
  padding:12px 14px;
  cursor:pointer;
  display:flex;
  align-items:center;
  justify-content:space-between;
  gap:12px;
  font-weight:950;
  outline:none;
}
.wmenuRow:hover{ background:rgba(255,255,255,.06); }
.wmenuRow.is-active{ background:rgba(255,255,255,.07); }

.wmenuLeft{
  display:flex;
  align-items:center;
  gap:10px;
  min-width:0;
}
.wmenuName{
  white-space:nowrap;
  overflow:hidden;
  text-overflow:ellipsis;
}
.wmenuSym{
  color:rgba(255,255,255,.55);
  font-weight:950;
}
.wmenuAmt{
  color:rgba(255,255,255,.65);
  font-weight:1000;
}

.waddrRow{
  display:flex;
  gap:10px;
  align-items:center;
}
.waddr{
  width:100%;
  height:54px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.38);
  color:rgba(255,255,255,.92);
  padding:0 14px;
  font-weight:950;
  outline:none;
}
.wcopy{
  width:54px;
  height:54px;
  border-radius:16px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.92);
  cursor:pointer;
  display:grid;
  place-items:center;
  outline:none;
}
.wcopy svg{
  width:22px;
  height:22px;
}

.wnote{
  margin-top:10px;
  color:rgba(255,255,255,.50);
  font-weight:800;
  display:flex;
  gap:10px;
  align-items:flex-start;
}
.werr{
  margin-top:8px;
  color:rgba(255,140,140,.92);
  font-weight:900;
  min-height:18px;
}

.wempty{
  display:none;
  padding:18px;
  color:rgba(255,255,255,.65);
  font-weight:900;
}
.wempty.is-active{ display:block; }

#pillAmt b{ font-weight:1000; }

.coinRow.is-locked,
.wmenuRow.is-locked{
  opacity:.55;
  cursor:not-allowed;
}
.coinRow.is-locked .coinAmt,
.wmenuRow.is-locked .wmenuAmt{
  font-weight:700;
  letter-spacing:.06em;
}

.walletModal{
  position:fixed;
  inset:0;
  display:none;
  z-index:9999;
}
.walletModal.is-open{ display:block; }
.walletBackdrop{
  position:absolute;
  inset:0;
  background:rgba(0,0,0,.55);
  backdrop-filter:blur(8px);
}
.walletCard{
  position:absolute;
  left:50%;
  top:18%;
  transform:translateX(-50%);
  width:min(720px,calc(100vw - 24px));
  border-radius:18px;
  background:rgba(18,22,35,.92);
  border:1px solid rgba(255,255,255,.08);
  box-shadow:0 18px 60px rgba(0,0,0,.6);
  overflow:hidden;
}
.walletHead{
  display:flex;
  align-items:center;
  justify-content:space-between;
  padding:16px 16px 10px;
}
.walletTitle{
  font-size:22px;
  font-weight:800;
  letter-spacing:.2px;
}
.walletClose{
  width:38px;
  height:38px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.9);
  cursor:pointer;
}
.walletTabs{
  display:flex;
  gap:10px;
  padding:10px 16px 14px;
}
.walletTab{
  flex:1;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.04);
  color:rgba(255,255,255,.75);
  cursor:pointer;
  font-weight:700;
}
.walletTab.is-active{
  background:linear-gradient(180deg,#ffffff,#e9edf5);
  border-color:rgba(255,255,255,.82);
  color:#0a0d14;
}
.walletBody{
  padding:14px 16px 18px;
  border-top:1px solid rgba(255,255,255,.06);
}
.walletPanel{ display:none; }
.walletPanel.is-active{ display:block; }

.walletAddr{
  font-family:ui-monospace,SFMono-Regular,Menlo,Monaco,Consolas,"Liberation Mono","Courier New",monospace;
  font-size:13px;
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(0,0,0,.18);
  margin-top:8px;
  word-break:break-all;
}
.walletLine{ margin-top:6px; }
.walletTiny{ font-size:12px; margin-top:10px; }
.walletError{
  padding:10px 12px;
  border-radius:12px;
  border:1px solid rgba(255,80,80,.25);
  background:rgba(255,80,80,.08);
}
.muted{ opacity:.72; }

.statusMsg{
  margin-top:10px;
  font-size:13px;
}
.statusMsg.is-ok{ color:#27d17f; }
.statusMsg.is-error{ color:#ff4d4d; }

.wmax{
  height:44px;
  min-width:64px;
  padding:0 14px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.10);
  background:rgba(255,255,255,.06);
  color:rgba(255,255,255,.92);
  font-weight:800;
  letter-spacing:.02em;
  cursor:pointer;
  transition:transform .12s ease,background .12s ease,border-color .12s ease;
}
.wmax:hover{
  background:rgba(255,255,255,.10);
  border-color:rgba(255,255,255,.16);
  transform:translateY(-1px);
}
.wmax:active{ transform:translateY(0); }

.wmodal [data-pane]{ display:none !important; }
.wmodal [data-pane].is-active{ display:block !important; }
.wwithdraw{ display:none; }
.wwithdraw.is-active{ display:block !important; }
#wdMsg.is-ok{ color:#27d17f; }
#wdMsg.is-error{ color:#ff4d4d; }

/* =========================
   RESPONSIVE
========================= */
@media (max-width: 1180px){
  .gamesGrid{
    grid-template-columns:repeat(4,172px);
  }
  .gamesGrid .gameCard:nth-child(6),
  .gamesGrid .gameCard:nth-child(7),
  .gamesGrid .gameCard:nth-child(8),
  .gamesGrid .gameCard:nth-child(9){
    transform:none;
  }
  .gamesGrid .gameCard:nth-child(6):hover,
  .gamesGrid .gameCard:nth-child(7):hover,
  .gamesGrid .gameCard:nth-child(8):hover,
  .gamesGrid .gameCard:nth-child(9):hover{
    transform:translateY(-4px);
  }
}

@media (max-width: 920px){
  .nav{ display:none; }

  .footer__cols{
    grid-template-columns:1fr;
    gap:28px;
  }

  .hero__copy--lobby{
    padding-top:132px;
    padding-bottom:56px;
  }

  .gamesHeading{
    margin-top:86px;
  }

  .gamesGrid{
    grid-template-columns:repeat(3,172px);
  }
}

@media (max-width: 680px){
  body{
    background:#070A12;
  }

  .top{
    height:80px;
    background:linear-gradient(180deg, rgba(4,7,20,.98), rgba(7,10,18,.92));
    backdrop-filter:blur(14px);
    border-bottom:1px solid rgba(255,255,255,.05);
  }

  .top__inner,
  .footer__inner,
  .hero__copy--lobby,
  .mobile{
    width:min(100%,calc(100% - 24px));
  }

  .top__inner{
    height:80px;
    gap:10px;
    align-items:center;
  }

  .brand{
    font-size:28px;
    font-weight:1000;
    letter-spacing:-.05em;
    flex:1 1 auto;
    min-width:0;
  }

  .burger,
  .mobile{
    display:none !important;
  }

  #headerAuth{
    display:flex !important;
    align-items:center;
    justify-content:flex-end;
    gap:10px;
    flex:0 0 auto;
    min-width:0;
  }

  #headerAuth .btn{
    height:50px;
    padding:0 16px;
    border-radius:14px;
    font-size:13px;
    font-weight:1000;
    white-space:nowrap;
  }

  #headerAuth .userbar{
    display:flex;
    align-items:center;
    gap:10px;
  }

  #headerAuth .balancePill{
    height:50px;
    width:clamp(132px, 28vw, 168px);
    max-width:none;
    min-width:132px;
    padding:0 10px;
    border-radius:14px;
    box-shadow:0 12px 30px rgba(0,0,0,.26);
    display:flex;
    align-items:center;
    gap:8px;
    overflow:hidden;
  }

  #headerAuth .pillIcon{
    flex:0 0 20px;
    width:20px;
    height:20px;
  }

  #headerAuth .pillIcon img{
    width:13px;
    height:13px;
  }

  #headerAuth #pillAmt{
    flex:1 1 auto;
    min-width:0;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
    display:block;
  }

  #headerAuth #pillAmt b{
    display:block;
    overflow:hidden;
    text-overflow:ellipsis;
    white-space:nowrap;
  }

  #headerAuth .chev{
    flex:0 0 auto;
  }

  #headerAuth .walletBtn{
    width:50px;
    min-width:50px;
    height:50px;
    padding:0;
    border-radius:14px;
    justify-content:center;
    gap:0;
    overflow:hidden;
    white-space:nowrap;
    text-indent:-9999px;
    position:relative;
  }

  #headerAuth .walletBtn svg{
    width:18px;
    height:18px;
    flex:0 0 auto;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
  }

  #headerAuth .avatarBtn{
    width:50px;
    height:50px;
    border-radius:14px;
  }

  #headerAuth .pillIcon{
    width:20px;
    height:20px;
  }

  #headerAuth .pillIcon img{
    width:13px;
    height:13px;
  }

  #headerAuth .fiatSym,
  #headerAuth #pillAmt,
  #headerAuth .chev{
    font-size:13px;
  }

  .hero{
    min-height:100vh;
    padding-top:80px;
  }

  .hero__bg{
    inset:80px 0 0 0;
  }

  .bg-main{
    background:
      linear-gradient(180deg, rgba(5,9,27,.08) 0%, rgba(5,9,27,.00) 28%),
      url("./main.png") center 18% / cover no-repeat;
  }

  .bg-main::after{
    background:
      linear-gradient(
        to bottom,
        rgba(7,10,18,.04) 0%,
        rgba(7,10,18,.08) 12%,
        rgba(7,10,18,.16) 24%,
        rgba(7,10,18,.28) 40%,
        rgba(7,10,18,.46) 56%,
        rgba(7,10,18,.70) 72%,
        rgba(7,10,18,.90) 86%,
        rgba(7,10,18,1) 100%
      );
  }

  .hero__copy--lobby{
    min-height:auto;
    padding-top:34px;
    padding-bottom:118px;
    align-items:center;
  }

  .hero__title{
    font-size:clamp(34px,11vw,56px);
    line-height:1.02;
    letter-spacing:-.055em;
    max-width:320px;
    text-shadow:0 24px 60px rgba(0,0,0,.48);
  }

  .hero__sub{
    margin-top:16px;
    font-size:15px;
    line-height:1.45;
    max-width:300px;
    color:rgba(255,255,255,.64);
    font-weight:850;
    text-shadow:0 14px 36px rgba(0,0,0,.36);
  }

  .gamesHeading{
    margin-top:84px;
    margin-bottom:16px;
    width:100%;
    text-align:center;
    font-size:clamp(24px,8vw,38px);
    line-height:1.02;
    letter-spacing:-.05em;
  }

  .gamesGrid{
    width:100%;
    grid-template-columns:repeat(3,98px);
    justify-content:center;
    gap:10px;
  }

  .gameCard{
    width:98px;
    border-radius:16px;
    box-shadow:0 12px 30px rgba(0,0,0,.28);
  }

  .gameCard:hover{
    transform:none;
    box-shadow:0 12px 30px rgba(0,0,0,.28);
  }

  .gameCard__imageWrap{
    aspect-ratio:98 / 112;
  }

  .gameCard__badge{
    top:5px;
    left:5px;
    min-height:22px;
    padding:0 7px;
    border-radius:8px;
    font-size:9px;
    background:rgba(19,65,84,.76);
    color:#6df0bf;
    backdrop-filter:blur(6px);
  }

  .gameCard__imageWrap::after{
    height:56%;
    background:linear-gradient(
      to top,
      rgba(6,9,22,.98) 0%,
      rgba(6,9,22,.88) 34%,
      rgba(6,9,22,.54) 66%,
      rgba(6,9,22,0) 100%
    );
  }

  .gameCard__bottom{
    padding:0 7px 8px;
  }

  .gameCard__name{
    font-size:11px;
    line-height:1.02;
    letter-spacing:-.02em;
  }

  .gameCard__name--two{
    font-size:10px;
    line-height:1.02;
  }

  .gameCard__meta{
    display:none;
  }

  .fab{
    display:none;
  }

  .footer{
    padding-bottom:96px;
  }

  .bottomNav{
    position:fixed;
    left:0;
    right:0;
    bottom:0;
    z-index:55;
    display:grid;
    grid-template-columns:repeat(4,1fr);
    align-items:stretch;
    height:78px;
    padding:8px 8px calc(8px + env(safe-area-inset-bottom));
    background:linear-gradient(180deg, rgba(10,14,30,.94), rgba(10,14,30,.98));
    border-top:1px solid rgba(255,255,255,.06);
    box-shadow:0 -10px 34px rgba(0,0,0,.34);
    backdrop-filter:blur(18px);
  }

  .bottomNav__item{
    border:0;
    background:transparent;
    color:rgba(255,255,255,.52);
    text-decoration:none;
    display:flex;
    flex-direction:column;
    align-items:center;
    justify-content:center;
    gap:5px;
    font-size:12px;
    font-weight:900;
    letter-spacing:-.01em;
    border-radius:14px;
    position:relative;
    cursor:pointer;
  }

  .bottomNav__ico{
    width:24px;
    height:24px;
    display:grid;
    place-items:center;
  }

  .bottomNav__ico svg{
    width:24px;
    height:24px;
    display:block;
  }

  .bottomNav__item.is-active{
    color:rgba(255,255,255,.96);
  }

  .bottomNav__item.is-active::after{
    content:"";
    position:absolute;
    left:50%;
    bottom:2px;
    width:18px;
    height:4px;
    border-radius:999px;
    transform:translateX(-50%);
    background:linear-gradient(90deg,rgba(66,109,255,.95),rgba(115,135,255,.95));
    box-shadow:0 0 18px rgba(73,108,255,.36);
  }

  .walletMenu{
    top:86px;
    right:12px;
    width:min(340px,calc(100vw - 24px));
  }

  .wmodal__tabs{
    grid-template-columns:repeat(2,1fr);
  }

  .walletCard{ top:10%; }
  .walletTabs{ flex-wrap:wrap; }
  .walletTab{ flex:1 1 calc(50% - 10px); }
}

@media (max-width: 420px){
  .top{
    height:78px;
  }

  .top__inner{
    height:78px;
    gap:8px;
  }

  .brand{
    font-size:26px;
  }

  #headerAuth{
    gap:8px;
  }

  #headerAuth .btn{
    height:46px;
    padding:0 14px;
    font-size:12px;
  }

  #headerAuth .balancePill{
    height:46px;
    width:clamp(124px, 30vw, 154px);
    max-width:none;
    min-width:124px;
    padding:0 8px;
    gap:7px;
  }

  #headerAuth .walletBtn{
    width:46px;
    min-width:46px;
    height:46px;
    padding:0;
    justify-content:center;
    gap:0;
    overflow:hidden;
    white-space:nowrap;
    text-indent:-9999px;
    position:relative;
  }

  #headerAuth .walletBtn svg{
    width:17px;
    height:17px;
    flex:0 0 auto;
    position:absolute;
    left:50%;
    top:50%;
    transform:translate(-50%,-50%);
  }

  #headerAuth .avatarBtn{
    width:46px;
    height:46px;
  }

  .hero{
    padding-top:78px;
  }

  .hero__bg{
    inset:78px 0 0 0;
  }

  .hero__copy--lobby{
    padding-top:30px;
    padding-bottom:112px;
  }

  .hero__title{
    max-width:290px;
    font-size:clamp(30px,11vw,48px);
  }

  .hero__sub{
    max-width:276px;
    font-size:14px;
  }

  .gamesHeading{
    margin-top:74px;
    font-size:clamp(22px,7.2vw,34px);
  }

  .gamesGrid{
    grid-template-columns:repeat(3,94px);
    gap:9px;
  }

  .gameCard{
    width:94px;
  }


  .gameCard__imageWrap{
    aspect-ratio:94 / 108;
  }

  .gameCard__name{
    font-size:10.5px;
  }

  .gameCard__name--two{
    font-size:10px;
  }

.footer__link{
  appearance:none;
  border:0;
  background:transparent;
  padding:0;
  text-align:left;
  color:rgba(255,255,255,.62);
  font-weight:750;
  font-size:15px;
  cursor:pointer;
  transition:color .14s ease,transform .14s ease;
  text-decoration:none;
  display:inline-block;
}
.footer__link:hover{
  color:rgba(255,255,255,.88);
  transform:translateX(2px);
}

}