@import url('https://fonts.googleapis.com/css2?family=Barlow+Condensed:wght@700;800;900&family=DM+Sans:wght@500;600;700;800&display=swap');

/* Final homepage top-section polish. Loaded LAST on purpose. */
body.lobby-app{
  --top-panel:#10191c;
  --top-line:#2c4439;
  --top-green:#49dc96;
  --top-green-2:#2fbd79;
  --top-muted:#89a195;
}

/* top feature cards */
body.lobby-app .welcome-grid{
  grid-template-columns:minmax(0,1.9fr) minmax(230px,.82fr) minmax(230px,.82fr)!important;
  gap:12px!important;
}

body.lobby-app .welcome-hero,
body.lobby-app .spotlight{
  position:relative!important;
  isolation:isolate!important;
  overflow:hidden!important;
  clip-path:inset(0 round 10px)!important;
  border:1px solid #31463c!important;
  border-radius:10px!important;
  background-clip:padding-box!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.055),
    inset 0 -1px 0 rgba(0,0,0,.32),
    0 16px 34px rgba(0,0,0,.20)!important;
}

/* Remove old inset-outline treatment that was making dark corner wedges. */
body.lobby-app .welcome-hero::before,
body.lobby-app .spotlight::before{
  content:""!important;
  position:absolute!important;
  inset:0!important;
  z-index:0!important;
  pointer-events:none!important;
  border:0!important;
  border-radius:inherit!important;
  clip-path:none!important;
  background:
    linear-gradient(118deg,rgba(255,255,255,.075),transparent 20%),
    linear-gradient(180deg,transparent 54%,rgba(0,0,0,.24) 100%)!important;
}

body.lobby-app .welcome-hero{
  min-height:225px!important;
  background:
    linear-gradient(rgba(255,255,255,.015) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.015) 1px,transparent 1px),
    radial-gradient(circle at 75% 38%,rgba(41,234,135,.28),transparent 27%),
    radial-gradient(circle at 100% 120%,rgba(58,137,255,.12),transparent 40%),
    linear-gradient(120deg,#20362e 0%,#172520 51%,#0e1718 100%)!important;
  background-size:22px 22px,22px 22px,auto,auto,auto!important;
}
body.lobby-app .welcome-copy{
  position:relative!important;
  z-index:3!important;
  max-width:55%!important;
  padding:25px 25px 51px!important;
}
body.lobby-app .welcome-copy h2{
  margin:0 0 8px!important;
  color:#fff!important;
  font:900 clamp(30px,2.1vw,39px)/.92 'Barlow Condensed','DM Sans',sans-serif!important;
  letter-spacing:-.025em!important;
  text-transform:uppercase!important;
  text-shadow:0 4px 12px rgba(0,0,0,.46)!important;
}
body.lobby-app .welcome-copy p{
  margin:0!important;
  color:#94b7a5!important;
  font-size:11px!important;
  font-weight:700!important;
}
body.lobby-app .hero-actions{
  margin-top:21px!important;
  gap:8px!important;
}
body.lobby-app .hero-actions a{
  min-height:39px!important;
  padding:0 14px!important;
  border-radius:5px!important;
  font-size:10px!important;
  font-weight:900!important;
}
body.lobby-app .hero-actions .primary{
  border:1px solid #64eaaa!important;
  border-bottom:3px solid #1d7b52!important;
  background:linear-gradient(#4dde98,#32bd7a)!important;
  color:#062719!important;
}
body.lobby-app .discord-signin{
  border:1px solid #4c5578!important;
  border-bottom:3px solid #2c3150!important;
  background:linear-gradient(#303653,#252a42)!important;
  color:#f0f1ff!important;
}
body.lobby-app .hero-treasure{
  z-index:2!important;
  right:1.5%!important;
  bottom:19px!important;
  width:46%!important;
  transform:rotate(-3deg) scale(1.04)!important;
  image-rendering:pixelated!important;
  filter:
    drop-shadow(0 13px 0 rgba(0,0,0,.08))
    drop-shadow(0 24px 24px rgba(0,0,0,.44))!important;
}
body.lobby-app .referral-ribbon{
  z-index:4!important;
  height:35px!important;
  padding:0 14px!important;
  display:flex!important;
  align-items:center!important;
  border-top:1px solid rgba(97,232,164,.28)!important;
  background:linear-gradient(90deg,rgba(35,130,87,.76),rgba(22,73,54,.88))!important;
  color:#dffff0!important;
  font-size:8px!important;
  font-weight:800!important;
  backdrop-filter:blur(4px)!important;
}
body.lobby-app .referral-ribbon strong{
  color:#fff!important;
  font-size:8px!important;
  font-weight:900!important;
}

/* side promo cards */
body.lobby-app .spotlight{
  min-height:225px!important;
  padding:14px!important;
}
body.lobby-app .referral-feature{
  background:
    linear-gradient(rgba(255,255,255,.017) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.017) 1px,transparent 1px),
    radial-gradient(circle at 57% 35%,rgba(31,230,124,.26),transparent 31%),
    linear-gradient(145deg,#182721,#10191b)!important;
  background-size:20px 20px,20px 20px,auto,auto!important;
}
body.lobby-app .discord-feature{
  background:
    linear-gradient(rgba(255,255,255,.014) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.014) 1px,transparent 1px),
    radial-gradient(circle at 58% 35%,rgba(117,83,255,.31),transparent 34%),
    linear-gradient(145deg,#202036,#111722)!important;
  background-size:20px 20px,20px 20px,auto,auto!important;
}
body.lobby-app .spotlight .promo-sprite{
  z-index:1!important;
  width:min(82%,185px)!important;
  left:50%!important;
  top:20px!important;
  transform:translateX(-50%)!important;
  image-rendering:pixelated!important;
  filter:drop-shadow(0 17px 16px rgba(0,0,0,.38))!important;
}
body.lobby-app .spotlight:hover .promo-sprite{
  transform:translateX(-50%) translateY(-4px) scale(1.025)!important;
}
body.lobby-app .spotlight>div{
  position:relative!important;
  z-index:3!important;
}
body.lobby-app .spotlight h2{
  margin:0 0 3px!important;
  color:#fff!important;
  font:900 28px/.9 'Barlow Condensed','DM Sans',sans-serif!important;
  letter-spacing:-.025em!important;
  text-transform:uppercase!important;
  text-shadow:0 3px 9px rgba(0,0,0,.55)!important;
}
body.lobby-app .spotlight p{
  margin:0!important;
  color:#a4b8ae!important;
  font-size:9px!important;
  font-weight:700!important;
}
body.lobby-app .card-tag{
  z-index:4!important;
  top:13px!important;
  left:13px!important;
  padding:6px 8px!important;
  border:1px solid rgba(255,255,255,.14)!important;
  border-radius:4px!important;
  background:#45d891!important;
  color:#072719!important;
  font-size:7px!important;
  font-weight:900!important;
  letter-spacing:.06em!important;
  box-shadow:0 4px 10px rgba(0,0,0,.20)!important;
}
body.lobby-app .card-tag.purple{
  background:#7569ec!important;
  color:#fff!important;
}
body.lobby-app .card-arrow{
  z-index:4!important;
  right:12px!important;
  bottom:12px!important;
  width:27px!important;
  height:27px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #3a5447!important;
  border-radius:5px!important;
  background:rgba(9,20,16,.76)!important;
  color:#79efb2!important;
  font-size:15px!important;
}

/* account strip */
body.lobby-app .home-account-strip{
  min-height:61px!important;
  margin:11px 0 22px!important;
  padding:8px 9px 8px 11px!important;
  gap:10px!important;
  overflow:hidden!important;
  border:1px solid #30453c!important;
  border-radius:8px!important;
  background:
    linear-gradient(rgba(255,255,255,.010) 1px,transparent 1px),
    linear-gradient(90deg,rgba(255,255,255,.010) 1px,transparent 1px),
    linear-gradient(90deg,rgba(54,212,137,.055),transparent 37%),
    #10191b!important;
  background-size:20px 20px,20px 20px,auto,auto!important;
  box-shadow:inset 0 1px 0 rgba(255,255,255,.03)!important;
}
body.lobby-app .mini-profile{
  gap:10px!important;
  padding-right:8px!important;
}
body.lobby-app .mini-profile img{
  width:38px!important;
  height:38px!important;
  border:1px solid #53665e!important;
  border-radius:4px!important;
  image-rendering:pixelated!important;
  box-shadow:2px 2px 0 rgba(0,0,0,.28)!important;
}
body.lobby-app .mini-profile strong{
  color:#fff!important;
  font-size:11px!important;
  font-weight:900!important;
}
body.lobby-app .mini-profile small{
  margin-top:3px!important;
  color:#78978a!important;
  font-size:8px!important;
}
body.lobby-app .mini-balance{
  min-width:110px!important;
  padding:5px 13px!important;
  border-left:1px solid #2b4036!important;
  border-right:1px solid #2b4036!important;
  background:rgba(4,10,8,.14)!important;
}
body.lobby-app .mini-balance small{
  color:#688478!important;
  font-size:7px!important;
  letter-spacing:.14em!important;
}
body.lobby-app .mini-balance strong{
  margin-top:2px!important;
  color:#67e8a8!important;
  font-size:14px!important;
  font-weight:900!important;
}

body.lobby-app .home-account-strip .home-profile-button{
  min-height:37px!important;
  padding:0 12px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:6px!important;
  border:1px solid #344940!important;
  border-bottom:2px solid #22332c!important;
  border-radius:5px!important;
  background:linear-gradient(#1c2825,#151f1d)!important;
  color:#dbe8e1!important;
  font-size:9px!important;
  font-weight:900!important;
}
body.lobby-app .home-account-strip .home-profile-button:hover{
  border-color:#496457!important;
  background:#22312c!important;
  transform:translateY(-1px)!important;
}

/* This is now an actual premium button rather than loose text. */
body.lobby-app .home-shiny-button{
  min-height:39px!important;
  padding:0 10px 0 9px!important;
  display:inline-flex!important;
  align-items:center!important;
  justify-content:center!important;
  gap:7px!important;
  white-space:nowrap!important;
  border:1px solid #d8b84c!important;
  border-bottom:3px solid #7e681c!important;
  border-radius:5px!important;
  background:
    radial-gradient(circle at 20% 20%,rgba(255,255,255,.26),transparent 25%),
    linear-gradient(135deg,#efd154,#cfae35)!important;
  color:#241b03!important;
  font-size:9px!important;
  font-weight:900!important;
  box-shadow:
    inset 0 1px 0 rgba(255,255,255,.32),
    0 8px 18px rgba(209,175,50,.12)!important;
}
body.lobby-app .home-shiny-button .shiny-gem{
  width:21px!important;
  height:21px!important;
  display:grid!important;
  place-items:center!important;
  border:1px solid #2b875c!important;
  border-radius:4px!important;
  background:linear-gradient(#3ddb91,#20a969)!important;
  color:#eafff2!important;
  font-size:11px!important;
  text-shadow:0 1px 3px rgba(0,0,0,.35)!important;
}
body.lobby-app .home-shiny-button strong{
  min-height:21px!important;
  padding:0 6px!important;
  display:inline-flex!important;
  align-items:center!important;
  border-radius:4px!important;
  background:rgba(69,48,2,.16)!important;
  color:#392a05!important;
  font-size:8px!important;
  letter-spacing:.03em!important;
}
body.lobby-app .home-shiny-button:hover{
  transform:translateY(-1px)!important;
  filter:brightness(1.06)!important;
}

/* Poster cards: crop baked black corner pixels and use the card's own radius. */
body.lobby-app .bb-poster-card{
  overflow:hidden!important;
  isolation:isolate!important;
  clip-path:inset(0 round 9px)!important;
  border:0!important;
  border-radius:9px!important;
  background:#171d25!important;
  box-shadow:0 12px 24px rgba(0,0,0,.25)!important;
}
body.lobby-app .bb-poster-card::before{
  inset:-12px!important;
  border-radius:0!important;
  background-size:cover!important;
  background-position:center!important;
  transform:none!important;
}
body.lobby-app .bb-poster-chicken::before,
body.lobby-app .bb-poster-hilo::before,
body.lobby-app .bb-poster-plinko::before,
body.lobby-app .bb-poster-keno::before,
body.lobby-app .bb-poster-towers::before{
  inset:-21px!important;
}
body.lobby-app .bb-poster-card::after,
body.lobby-app .bb-poster-card .bb-poster-shade{
  inset:0!important;
  border-radius:9px!important;
}
body.lobby-app .bb-poster-card:hover::before{
  transform:scale(1.015)!important;
}

@media(max-width:1100px){
  body.lobby-app .welcome-grid{
    grid-template-columns:1fr 1fr!important;
  }
  body.lobby-app .welcome-hero{
    grid-column:1/-1!important;
  }
}
@media(max-width:700px){
  body.lobby-app .welcome-grid{grid-template-columns:1fr!important}
  body.lobby-app .welcome-hero{grid-column:auto!important}
  body.lobby-app .welcome-copy{max-width:72%!important;padding:21px 18px 50px!important}
  body.lobby-app .hero-treasure{right:-7%!important;width:58%!important}
  body.lobby-app .home-account-strip{flex-wrap:wrap!important}
  body.lobby-app .mini-profile{min-width:100%!important}
  body.lobby-app .mini-balance{display:none!important}
  body.lobby-app .home-account-strip .home-profile-button,
  body.lobby-app .home-shiny-button{flex:1 1 auto!important}
}
