/* BASE — kept your existing theme, only enhancements added */
:root{
  --ink:#eaf0ff;
  --muted:#a9b2d3;
  --bg1:#1a0f2b;
  --bg2:#3d0a46;
  --card:#12182c;
  --accent:#fffb00;
  --accent-2:#f6ff00;
  --glass:rgba(255,255,255,.06);
  --stroke:rgba(250,250,255,.10);
  --radius:18px;
  --shadow:0 18px 50px rgba(0,0,0,.25);
  --maxw:980px;
}

*,
*::before,
*::after { box-sizing: border-box; }

html, body { height: 100%; }
body{
  margin:0;
  color:var(--ink);
  background:
    radial-gradient(1200px 620px at 80% -10%, #ff00e540 0%, transparent 60%),
    radial-gradient(900px 520px at -10% 10%, #5b00ff40 0%, transparent 60%),
    linear-gradient(160deg, var(--bg1), var(--bg2));
  font-family: system-ui, -apple-system, "Segoe UI", Roboto, Inter, Arial, "Apple Color Emoji", "Segoe UI Emoji";
  line-height:1.45;
  -webkit-font-smoothing: antialiased;
  text-rendering: optimizeLegibility;
}

a { color: inherit; text-decoration: none; }

.wrap{ width:100%; max-width:var(--maxw); margin: 12px auto 84px; padding: 0 14px; }

/* Brand */
.brand{
  position: sticky; top: 0; z-index: 10;
  display:flex; align-items:center; justify-content:space-between; gap:10px;
  padding:10px 14px;
  background: linear-gradient(180deg, rgba(255,255,255,.08), rgba(255,255,255,.02));
  border-bottom:1px solid var(--stroke);
  backdrop-filter: blur(8px);
}
.brand__left{ display:flex; align-items:center; gap:10px; }
.brand__logo{
  width:48px; height:48px; border-radius:12px; object-fit:contain; /* keep entire logo visible */
  border:1px solid var(--stroke); background:var(--card);
}
.brand__titles{ display:flex; flex-direction:column; }
.brand__name{ font-weight:800; letter-spacing:.2px; }
.brand__tag{ color:var(--muted); font-size:12px; }

.brand__ctas{ display:flex; gap:8px; }

/* BUTTONS — upgraded with glow + shine + breathing */
@keyframes breathe { 0%,100%{ transform:translateY(0) scale(1);} 50%{ transform:translateY(-1px) scale(1.02);} }
@keyframes shine { 0%{ left:-150%; } 60%{ left:150%; } 100%{ left:150%; } }

.btn{
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  color:#121212;
  font-weight:900;
  letter-spacing:.04em;
  border-radius:14px;
  padding:12px 16px;
  display:inline-flex; align-items:center; justify-content:center;
  border:1px solid #d6de00;
  box-shadow: 0 10px 20px rgba(230,255,0,.25), inset 0 -8px 14px rgba(0,0,0,.12);
  transition: transform .12s ease, filter .2s ease, box-shadow .2s ease;
  position:relative; overflow:hidden;
  animation: breathe 3.2s ease-in-out infinite;
}
.btn::after{
  content:""; position:absolute; top:0; left:-150%; width:50%; height:100%;
  background:linear-gradient(120deg, transparent, rgba(255,255,255,.45), transparent);
  transform:skewX(-20deg);
  animation: shine 3.2s linear infinite;
}
.btn:hover{ transform: translateY(-1px); filter:saturate(1.05); }
.btn:active{ transform: translateY(0); }
.btn--ghost{
  background: transparent; color: var(--ink);
  border:1px solid var(--stroke);
  box-shadow: none;
  animation:none; /* ghost stays calm */
}
.btn--xl{ padding:14px 18px; font-size:16px; }
.btn--full{ width:100%; }

/* Cards */
.card{
  background: var(--card);
  border:1px solid var(--stroke);
  border-radius: var(--radius);
  overflow:hidden;
}

/* Shadows */
.shadow{ box-shadow: var(--shadow); }

/* Hero */
.hero img{ width:100%; height:auto; display:block; transform:scale(1); transition:transform .6s ease; }
.hero:hover img{ transform:scale(1.01); } /* subtle motion */
.hero__badge{
  position:absolute; z-index:1; top:10px; left:10px;
  padding:6px 10px; border-radius:999px; font-weight:800; font-size:12px;
  color:#151515; background:linear-gradient(180deg,#fff,#dcdcdc);
}
.hero__copy{ padding:14px; }
.hero__copy h1{ margin:4px 0 6px; font-size: clamp(20px, 4.8vw, 28px); }
.hero__copy p{ margin:0; color:var(--muted); }
.hero__cta{ margin-top:12px; display:flex; gap:8px; flex-wrap:wrap; }

/* SLIDER — fix black space + make images fill */
.slider{
  position: relative;
  margin-top:12px;
  border-radius: var(--radius);
  overflow: hidden;
  /* Lock height to your banner ratio (1280x328 ≈ 3.902:1) */
  aspect-ratio: 1280 / 328;
  background: transparent; /* card bg shows only if image not loaded yet */
}

/* Make the track lay slides horizontally and fill the height */
.slider__track{
  display: flex;                 /* was grid */
  height: 100%;
  will-change: transform;
}

/* Each slide takes the full viewport width */
.slider__track > img{
  flex: 0 0 100%;                /* 1 slide = 100% width */
  width: 100%;
  height: 100%;                  /* fill the slider’s height */
  object-fit: cover;             /* remove letterboxing */
  display: block;
}

/* Dots unchanged, just ensure placement */
.slider__dots{
  position:absolute; left:0; right:0; bottom:10px;
  display:flex; gap:6px; justify-content:center;
}
.slider__dots button{
  width:8px; height:8px; border-radius:999px;
  border:0; background:rgba(255,255,255,.35);
}
.slider__dots button[aria-current="true"]{ background:#fff; }


/* CTA image */
.cta-image{ margin-top:12px; }
.cta-image img{ width:100%; height:auto; display:block; }

/* Games */
.games{ margin-top:12px; }
.games h2{ margin:0 0 8px; font-size:15px; letter-spacing:.08em; text-transform:uppercase; }
.games__grid{
  display:grid; gap:10px;
  grid-template-columns: repeat(2, 1fr);
}
@media (min-width:480px){ .games__grid{ grid-template-columns: repeat(3, 1fr);} }
@media (min-width:768px){ .games__grid{ grid-template-columns: repeat(4, 1fr);} }

.game{ aspect-ratio:1/1; overflow:hidden; }
.game img{
  width:100%; height:100%; object-fit:cover; display:block;
  transform: scale(1.02);
  transition: transform .25s ease, filter .25s ease;
  filter: saturate(1.05) contrast(1.02);
}
.game:hover img{ transform: scale(1.05); }

.games__cta{ margin-top:10px; display:grid; gap:8px; }

/* Sticky bottom bar (great for SMS traffic) */
.sticky-cta{
  position: fixed; left: 0; right: 0; bottom: 0; z-index: 20;
  display:flex; gap:8px; align-items:center; justify-content:center;
  padding:10px 12px; background: linear-gradient(180deg, rgba(0,0,0,0), rgba(0,0,0,.45));
  backdrop-filter: blur(6px);
}
.sticky-cta .btn{ flex:1; }
.sticky-cta .btn--ghost{ flex:0 0 auto; }

/* Footer */
.foot{
  margin: 14px 0 90px;
  text-align:center; color:var(--muted); font-size:12px;
}

/* Entry animations (GPU-cheap) */
.fade-in{ opacity:0; transform: translateY(10px); }
.fade-in.is-in{ opacity:1; transform:none; transition: opacity .6s ease, transform .6s ease; }

/* Respect users who prefer less motion */
@media (prefers-reduced-motion: reduce){
  .fade-in{ opacity:1; transform:none; }
  .btn{ transition:none; animation:none; }
  .game img, .hero img{ transition:none; }
}
