:root {
  --bg0: #05010c;
  --bg1: #12051f;
  --gold: #ffd56a;
  --gold2: #f0a500;
  --neon: #39ffc6;
  --pink: #ff2d95;
  --violet: #8b5cff;
  --card: #160a28;
  --text: #f7f0ff;
  --muted: #a894c4;
}

* { box-sizing: border-box; }
html, body {
  margin: 0;
  min-height: 100%;
  background:
    radial-gradient(1000px 520px at 15% -8%, #4a1468 0%, transparent 55%),
    radial-gradient(800px 480px at 92% 8%, #0d3d32 0%, transparent 48%),
    linear-gradient(180deg, var(--bg1), var(--bg0));
  color: var(--text);
  font-family: "Rajdhani", system-ui, sans-serif;
  overflow-x: hidden;
}

.fx-grid {
  pointer-events: none;
  position: fixed;
  inset: 0;
  background-image:
    linear-gradient(rgba(255,255,255,.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,.03) 1px, transparent 1px);
  background-size: 48px 48px;
  mask-image: radial-gradient(ellipse at center, #000 30%, transparent 75%);
  z-index: 0;
}
.fx-glow {
  pointer-events: none;
  position: fixed;
  width: 42vw;
  height: 42vw;
  left: 28%;
  top: -12%;
  background: radial-gradient(circle, rgba(255,45,149,.2), transparent 70%);
  filter: blur(40px);
  animation: drift 12s ease-in-out infinite alternate;
  z-index: 0;
}
@keyframes drift {
  from { transform: translate(-8%, 0); }
  to { transform: translate(12%, 20%); }
}

.topbar, .jp-hero, .banners, .filters, main, .foot, .login-wrap { position: relative; z-index: 1; }

.brand-stack {
  display: flex;
  flex-direction: column;
  line-height: .88;
  gap: 0;
  user-select: none;
}
.brand-stack .bs-new {
  align-self: flex-start;
  font-family: "Passion One", sans-serif;
  font-size: clamp(14px, 1.6vw, 18px);
  letter-spacing: .28em;
  padding: 3px 10px 2px;
  border-radius: 4px;
  background: linear-gradient(90deg, var(--pink), #ff8a3d);
  color: #1a0510;
  margin-bottom: 4px;
  animation: brandPulse 2.8s ease-in-out infinite;
}
.brand-stack .bs-cia {
  font-family: "Bungee", sans-serif;
  font-size: clamp(28px, 4.2vw, 46px);
  background: linear-gradient(180deg, #fff 0%, #ffd6f0 40%, var(--pink) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-shadow: 0 0 40px rgba(255,45,149,.35);
  letter-spacing: .02em;
}
.brand-stack .bs-cia .dollar {
  color: var(--neon);
  -webkit-text-fill-color: var(--neon);
  text-shadow: 0 0 22px rgba(57,255,198,.85);
  animation: dollarBlink 1.6s ease-in-out infinite;
}
.brand-stack .bs-vegas {
  font-family: "Bungee Shade", sans-serif;
  font-size: clamp(22px, 3.4vw, 38px);
  color: var(--gold);
  letter-spacing: .06em;
  filter: drop-shadow(0 0 12px rgba(255,200,60,.45));
}
.brand-stack .bs-club {
  font-family: "Oswald", sans-serif;
  font-weight: 700;
  font-size: clamp(18px, 2.4vw, 28px);
  letter-spacing: .42em;
  color: #9ef7ff;
  text-shadow: 0 0 18px rgba(57,255,198,.4);
  margin-top: 2px;
}
@keyframes brandPulse {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.25); }
}
@keyframes dollarBlink {
  0%, 100% { opacity: 1; }
  50% { opacity: .72; }
}

.topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 16px 22px 10px;
  background: linear-gradient(180deg, rgba(20,8,36,.95), rgba(10,4,20,.55));
  border-bottom: 1px solid rgba(255,213,106,.22);
}
.logout-chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,.2);
  background: rgba(0,0,0,.35);
  color: var(--muted);
  font-family: inherit;
  font-weight: 700;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
}
.logout-chip:hover { color: #fff; border-color: var(--pink); }

.jp-hero {
  margin: 14px 22px 6px;
  padding: 22px 18px 26px;
  border-radius: 20px;
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255,213,106,.45);
  background: linear-gradient(135deg, #1a0c04 0%, #2a1840 45%, #0a1820 100%);
  box-shadow:
    0 0 0 1px rgba(255,45,149,.15),
    0 20px 60px rgba(0,0,0,.45),
    inset 0 0 80px rgba(255,200,60,.08);
}
.jp-hero-bg {
  position: absolute;
  inset: -40%;
  background:
    conic-gradient(from 0deg, transparent, rgba(255,213,106,.12), transparent 30%, rgba(255,45,149,.1), transparent 60%);
  animation: jpSpin 14s linear infinite;
  pointer-events: none;
}
@keyframes jpSpin { to { transform: rotate(360deg); } }
.jp-hero-kicker {
  position: relative;
  margin: 0 0 14px;
  text-align: center;
  font-size: 13px;
  letter-spacing: .35em;
  color: var(--gold);
  font-weight: 700;
  text-shadow: 0 0 20px rgba(255,200,60,.55);
}
.jp-hero-row {
  position: relative;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}
.jp-drop-note {
  position: relative;
  margin: 14px 0 0;
  text-align: center;
  font-size: 18px;
  font-weight: 700;
  letter-spacing: .06em;
  color: #ffe9a0;
  text-shadow: 0 0 18px rgba(255,200,60,.7);
}
.jp-hero.jp-hit {
  animation: jpHit 1.2s ease;
}
@keyframes jpHit {
  0%, 100% { box-shadow: 0 0 0 1px rgba(255,45,149,.15), 0 20px 60px rgba(0,0,0,.45); }
  40% { box-shadow: 0 0 0 2px rgba(255,213,106,.85), 0 0 40px rgba(255,200,60,.55); }
}
.jp-pill {
  text-align: center;
  padding: 14px 10px 16px;
  border-radius: 16px;
  background: rgba(0,0,0,.45);
  border: 1px solid rgba(255,255,255,.12);
  backdrop-filter: blur(6px);
}
.jp-pill i {
  display: block;
  font-style: normal;
  font-size: 12px;
  letter-spacing: .28em;
  margin-bottom: 6px;
  color: var(--muted);
}
.jp-pill b {
  font-family: "Oswald", sans-serif;
  font-size: clamp(26px, 4vw, 42px);
  line-height: 1;
  font-weight: 700;
}
.jp-pill.gold {
  border-color: rgba(255,213,106,.65);
  box-shadow: 0 0 40px rgba(255,200,60,.22), inset 0 0 30px rgba(255,200,60,.08);
  animation: jpGlowGold 2.2s ease-in-out infinite;
}
.jp-pill.gold b { color: var(--gold); text-shadow: 0 0 24px rgba(255,200,60,.6); }
.jp-pill.silver {
  border-color: rgba(220,230,255,.45);
  box-shadow: 0 0 36px rgba(180,200,255,.15);
  animation: jpGlowSilver 2.6s ease-in-out infinite;
}
.jp-pill.silver b { color: #eef2ff; text-shadow: 0 0 18px rgba(200,220,255,.5); }
.jp-pill.bronze {
  border-color: rgba(255,154,92,.5);
  box-shadow: 0 0 36px rgba(255,140,60,.15);
  animation: jpGlowBronze 3s ease-in-out infinite;
}
.jp-pill.bronze b { color: #ff9a5c; text-shadow: 0 0 18px rgba(255,140,60,.45); }
@keyframes jpGlowGold {
  0%, 100% { filter: brightness(1); transform: scale(1); }
  50% { filter: brightness(1.15); transform: scale(1.02); }
}
@keyframes jpGlowSilver {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.12); }
}
@keyframes jpGlowBronze {
  0%, 100% { filter: brightness(1); }
  50% { filter: brightness(1.1); }
}

.banners {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 14px;
  padding: 14px 22px 6px;
}
.banner.promo {
  min-height: 128px;
  padding: 22px 20px 20px;
  border-radius: 18px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  border: 1px solid transparent;
}
.banner.promo::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  opacity: .9;
}
.banner.promo .banner-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .16em;
  padding: 4px 9px;
  border-radius: 999px;
  background: rgba(0,0,0,.5);
  border: 1px solid rgba(255,255,255,.25);
}
.banner.promo h2 {
  margin: 0 0 6px;
  font-family: "Passion One", sans-serif;
  font-size: clamp(26px, 3vw, 36px);
  letter-spacing: .04em;
  line-height: 1;
  text-shadow: 0 4px 24px rgba(0,0,0,.55);
}
.banner.promo p {
  margin: 0;
  color: rgba(255,255,255,.82);
  font-size: 15px;
  font-weight: 600;
  max-width: 92%;
}
.banner.flash {
  border-color: rgba(255,45,149,.55);
  background: linear-gradient(125deg, #5a1038, #1a0828 50%, #0e2a40);
  animation: bannerFlash 3.2s ease-in-out infinite;
}
.banner.flash::before {
  background: radial-gradient(circle at 80% 20%, rgba(255,45,149,.45), transparent 50%);
}
.banner.goldish {
  border-color: rgba(255,213,106,.55);
  background: linear-gradient(135deg, #4a3208, #1c1004 55%, #2a1808);
  animation: bannerGold 4s ease-in-out infinite;
}
.banner.goldish::before {
  background: radial-gradient(circle at 20% 80%, rgba(255,200,60,.35), transparent 55%);
}
.banner.neon {
  border-color: rgba(57,255,198,.5);
  background: linear-gradient(135deg, #063830, #081428 55%, #1a0840);
  animation: bannerNeon 3.6s ease-in-out infinite;
}
.banner.neon::before {
  background: radial-gradient(circle at 70% 70%, rgba(57,255,198,.3), transparent 50%);
}
@keyframes bannerFlash {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  50% { box-shadow: 0 10px 40px rgba(255,45,149,.35), inset 0 0 50px rgba(255,45,149,.12); }
}
@keyframes bannerGold {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  50% { box-shadow: 0 10px 40px rgba(255,200,60,.3), inset 0 0 40px rgba(255,200,60,.1); }
}
@keyframes bannerNeon {
  0%, 100% { box-shadow: 0 10px 30px rgba(0,0,0,.3); }
  50% { box-shadow: 0 10px 40px rgba(57,255,198,.28), inset 0 0 40px rgba(57,255,198,.08); }
}

.filters {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding: 12px 22px;
}
.chip {
  appearance: none;
  border: 1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.04);
  color: var(--text);
  font-family: inherit;
  font-weight: 700;
  font-size: 15px;
  letter-spacing: .04em;
  padding: 10px 16px;
  border-radius: 999px;
  cursor: pointer;
  text-decoration: none;
}
.chip.active, .chip:hover {
  border-color: var(--gold);
  color: #1a1000;
  background: linear-gradient(90deg, var(--gold), #fff1b0);
}

.grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(176px, 1fr));
  gap: 16px;
  padding: 8px 22px 28px;
  align-items: start;
}
.tile {
  position: relative;
  display: flex;
  flex-direction: column;
  width: 100%;
  border: 0;
  padding: 0;
  border-radius: 16px;
  overflow: hidden;
  cursor: pointer;
  background: var(--card);
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  transform: translateZ(0);
  transition: transform .18s ease, box-shadow .18s ease;
  text-align: left;
  color: inherit;
}
.tile:hover {
  transform: translateY(-4px) scale(1.02);
  box-shadow: 0 16px 40px rgba(255,45,149,.2), 0 0 0 1px rgba(255,213,106,.35);
}
.tile .art {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  flex: 0 0 auto;
  background:
    radial-gradient(circle at 30% 20%, rgba(255,255,255,.18), transparent 40%),
    linear-gradient(160deg, var(--c1, #5a1d8a), var(--c2, #12081f) 70%);
}
.tile .art.has-tile { background: #0a0612; }
.tile .art img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  display: block;
}
.tile .art:not(.has-tile)::after {
  content: attr(data-letter);
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  font-family: "Passion One", sans-serif;
  font-size: 64px;
  opacity: .28;
}
.tile .meta {
  position: relative;
  flex: 0 0 auto;
  min-height: 3.4em;
  padding: 8px 10px 10px;
  background: #0c0618;
}
.tile .meta b {
  display: block;
  font-family: "Oswald", sans-serif;
  font-size: clamp(13px, 1.35vw, 15px);
  line-height: 1.2;
  font-weight: 600;
  overflow-wrap: anywhere;
  word-break: break-word;
}
.tile .meta i {
  display: block;
  margin-top: 2px;
  font-style: normal;
  font-size: 11px;
  color: var(--muted);
  letter-spacing: .06em;
  text-transform: uppercase;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}
.tile .hr {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  font-size: 11px;
  font-weight: 700;
  background: rgba(0,0,0,.55);
  border: 1px solid rgba(255,213,106,.35);
  color: var(--gold);
  padding: 3px 7px;
  border-radius: 999px;
}
.tile .hr.soon {
  border-color: rgba(160,160,200,.35);
  color: #c8c0e0;
}

.foot {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  padding: 10px 22px 18px;
  color: var(--muted);
  font-size: 13px;
  border-top: 1px solid rgba(255,255,255,.06);
}

.page-login {
  min-height: 100vh;
  display: grid;
  place-items: center;
}
.login-glow { left: 10%; top: 10%; background: radial-gradient(circle, rgba(255,45,149,.28), transparent 70%); }
.login-glow-2 { left: 55%; top: 40%; width: 50vw; height: 50vw; background: radial-gradient(circle, rgba(57,255,198,.18), transparent 70%); animation-duration: 16s; }
.login-wrap {
  width: min(440px, 92vw);
  text-align: center;
  padding: 20px 0 40px;
}
.welcome-line {
  margin: 0 0 10px;
  font-family: "Oswald", sans-serif;
  font-size: clamp(18px, 3vw, 26px);
  letter-spacing: .35em;
  color: #9ef7ff;
  text-shadow: 0 0 24px rgba(57,255,198,.45);
  animation: brandPulse 3s ease-in-out infinite;
}
.hero-brand {
  align-items: center;
  margin: 0 auto 12px;
}
.hero-brand .bs-new { align-self: center; }
.hero-brand .bs-cia { font-size: clamp(40px, 9vw, 64px); }
.hero-brand .bs-vegas { font-size: clamp(34px, 8vw, 56px); }
.hero-brand .bs-club { font-size: clamp(22px, 4vw, 32px); letter-spacing: .5em; }
.welcome-sub {
  margin: 0 0 28px;
  color: var(--muted);
  letter-spacing: .08em;
  font-weight: 600;
}
.login-card {
  display: grid;
  gap: 14px;
  padding: 22px;
  border-radius: 20px;
  background: rgba(12,6,24,.82);
  border: 1px solid rgba(255,213,106,.35);
  box-shadow: 0 24px 60px rgba(0,0,0,.45), 0 0 40px rgba(255,45,149,.12);
  text-align: left;
}
.login-card label { display: grid; gap: 6px; font-weight: 700; font-size: 13px; letter-spacing: .08em; color: var(--muted); }
.login-card input {
  appearance: none;
  border: 1px solid rgba(255,255,255,.16);
  background: #0a0614;
  color: var(--text);
  border-radius: 12px;
  padding: 14px 14px;
  font-size: 17px;
  font-family: inherit;
  font-weight: 600;
}
.login-card input:focus {
  outline: none;
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(255,213,106,.2);
}
.login-btn {
  margin-top: 6px;
  border: 0;
  border-radius: 14px;
  padding: 16px;
  font-family: "Passion One", sans-serif;
  font-size: 24px;
  letter-spacing: .08em;
  cursor: pointer;
  color: #1a1000;
  background: linear-gradient(90deg, var(--gold), #fff1b0, var(--gold2));
  box-shadow: 0 10px 30px rgba(255,200,60,.25);
}
.login-btn:hover { filter: brightness(1.08); }
.login-err {
  margin: 0;
  color: #ff8aa0;
  font-weight: 700;
  font-size: 14px;
}

@media (max-width: 900px) {
  .banners { grid-template-columns: 1fr; }
  .jp-hero-row { grid-template-columns: 1fr; }
}
