
:root{
  --bg:#0b1020;
  --panel:#121833;
  --muted:#9fb1ff;
  --text:#e9edff;
  --accent:#5b8def;
  --accent-2:#7ad9ff;
  --purple:#981fff;
}
*{box-sizing:border-box}
html,body{height:100%}
body{margin:0; font-family: ui-sans-serif, system-ui, -apple-system, Segoe UI, Roboto, Arial, "Noto Sans"; color:var(--text); background:radial-gradient(1200px 700px at 80% -10%, #16224c, transparent), var(--bg);}
a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(1120px, 92%); margin-inline:auto}
.btn{display:inline-flex; align-items:center; gap:.5rem; padding:.9rem 1.2rem; border-radius:14px; background:linear-gradient(90deg, var(--accent), var(--accent-2)); color:#091126; font-weight:700; letter-spacing:.2px; border:none; cursor:pointer; box-shadow:0 8px 20px rgba(90,150,255,.25)}
.btn.secondary{background:#25315e; color:var(--text); box-shadow:none; border:1px solid #33407a}
.btn-purple{ background: var(--purple); color:#fff; box-shadow:0 10px 28px rgba(152,31,255,.35); border:none; }
.btn-purple:hover{ transform: translateY(-2px); box-shadow:0 14px 34px rgba(152,31,255,.45); }
.btn:active{transform:translateY(1px)}
.tag{display:inline-block; padding:.2rem .6rem; border:1px solid #2b375f; border-radius:999px; color:var(--muted); font-size:.8rem}

/* Header */
.nav{position:sticky; top:0; z-index:50; backdrop-filter: blur(8px); background:rgba(9,14,33,.6); border-bottom:1px solid #141b3a}
.nav .wrap{display:flex; align-items:center; justify-content:space-between; padding:.8rem 0}
.brand{display:flex; align-items:center; gap:.6rem; font-weight:800; letter-spacing:.4px}
.brand-logo{width:36px; height:36px; border-radius:10px; background:linear-gradient(135deg, var(--accent), var(--accent-2)); display:grid; place-items:center; color:#0b1020; font-weight:900}
.nav .links{display:none;} /* per latest request: remove nav links */

/* Hero */
.hero{min-height:33vh; display:grid; place-items:center; position:relative; isolation:isolate; overflow:hidden}
.hero .content{display:grid; gap:1rem; text-align:center; padding:3rem 0; position:relative; z-index:1; color:#fff}
h1{font-size:clamp(2rem, 4vw + 1rem, 3.2rem); line-height:1.1; margin:0}
.lead{color:#fff; font-size:clamp(1.2rem, 1.5vw + 1rem, 2rem); line-height:1.4; max-width:850px; margin-inline:auto}
.hero .cta{display:flex; gap:.8rem; justify-content:center; flex-wrap:wrap}
/* slideshow background */
.hero .bg{ position:absolute; inset:0; z-index:-1; pointer-events:none; }
.hero .bg > span{
  position:absolute; inset:0;
  background-position:center; background-size:cover; background-repeat:no-repeat;
  opacity:0; transform:scale(1.05); will-change:opacity, transform;
  animation:fadeCycle 24s infinite ease-in-out;
}
.hero .bg > span:nth-child(1){ background-image:linear-gradient(rgba(7,11,25,.5), rgba(7,11,25,.5)), url("../img/banner1-1.jpg"); animation-delay:0s; }
.hero .bg > span:nth-child(2){ background-image:linear-gradient(rgba(7,11,25,.5), rgba(7,11,25,.5)), url("../img/banner1-2.webp"); animation-delay:8s; }
.hero .bg > span:nth-child(3){ background-image:linear-gradient(rgba(7,11,25,.5), rgba(7,11,25,.5)), url("../img/banner1-3.jpg"); animation-delay:16s; }
@keyframes fadeCycle{ 0%{opacity:0} 6%{opacity:1} 33%{opacity:1} 39%{opacity:0} 100%{opacity:0} }

/* Promo band (white) */
.promo-band{ background:#fff; padding:1.6rem 0 2rem; border-top:1px solid #e9e9ef; border-bottom:1px solid #e9e9ef; color:#141414}
.promo-band .countdown-message{ color:#141414; font-size:2rem; line-height:1.3; margin-bottom:.6rem; text-align:center; }
.promo-band .countdown{ display:flex; gap:1rem; justify-content:center; }
.promo-band .countdown .box{ background:#f6f7fb; border:1px solid #e2e4f0; border-radius:14px; min-width:96px; text-align:center; padding:1rem 1.2rem; }
.promo-band .countdown .num{ color:#141414; font-size:2.2rem; font-weight:800; letter-spacing:.5px; }
.promo-band .countdown .label{ color:#4b4f62; font-size:.85rem; }
.promo-band .countdown.expired .box{ border-color:#ff5151; background:#ffe9e9; }
.promo-band .countdown.expired .num{ color:#c02121; }

/* Steps */
.steps{ position:relative; min-height:40vh; display:flex; align-items:center; overflow:hidden }
.steps .bg-steps{ position:absolute; inset:0; z-index:-1; pointer-events:none; background-image: linear-gradient(rgba(7,11,25,.75), rgba(7,11,25,.75)), url("../img/banner2.png"); background-size:cover; background-position:center; }
.steps h2{ font-size: clamp(1.8rem, 3.5vw + 1rem, 2.8rem); line-height:1.1; font-weight:800; text-align:center; margin:0 0 1rem 0; color:#fff}
.steps .grid{ display:grid; gap:1.2rem; grid-template-columns: repeat(3, 1fr); margin-top:1.2rem }
.step{ text-align:center; padding:1.2rem; background: rgba(32, 56, 112, 0.35); border:1px solid rgba(64, 92, 160, 0.5); border-radius:16px; transition: transform .3s ease, box-shadow .3s ease; }
.step:hover{ transform: translateY(-6px); box-shadow:0 10px 28px rgba(0,0,0,.25) }
.step .icon{ display:block; margin:0 auto .6rem; background: rgba(40, 60, 120, 0.6); border-radius: 50%; padding: 12px; }
.step h3{ margin:.2rem 0 .4rem; color:#fff }
.step p{ color:#e9edff; margin:0 }

/* Rewards (white) */
.rewards{ padding:4rem 0 2.4rem }
.rewards.rewards-white{ background:#fff; }
.rewards.rewards-white h2{ color:#121212; }
.grid-3{ display:grid; gap:1rem; grid-template-columns: repeat(3, 1fr) }
.reward{ background:#ffffff; border:1px solid #e6e8f2; border-radius:16px; overflow:hidden; display:flex; flex-direction:column }
.reward .body{ padding:1rem }
.reward .title{ font-weight:700; margin-bottom:.3rem; color:#121212 }
.reward .desc{ color:#4b4f62; font-size:.95rem }
.reward-cta{ padding:0 1rem 1rem; display:flex; justify-content:flex-end }
.btn-claim{ border-radius:12px; padding:.7rem 1rem }

/* Games features (kept minimal) */
.games{ padding:3rem 0 4rem }
.grid-3b{ display:grid; gap:1rem; grid-template-columns: repeat(3, 1fr) }

/* Footer */
.footer{ padding:2rem 0; border-top:1px solid #141b3a; color:#9aa6e1; font-size:.9rem; background:#0b1020}

/* Responsiveness */
@media (max-width: 900px){
  .grid-3, .grid-3b{grid-template-columns: repeat(2, 1fr)}
}
@media (max-width: 560px){
  .grid-3, .grid-3b{grid-template-columns: 1fr}
  .promo-band .countdown .box{min-width:74px}
}


/* === Games section: 4 items matching Steps === */
.grid-4{ display:grid; gap:1.2rem; grid-template-columns: repeat(4, 1fr); margin-top:1.2rem; }
.games .card.step{ text-align:center; padding:1.2rem; background: rgba(32, 56, 112, 0.35); border:1px solid rgba(64, 92, 160, 0.5); border-radius:16px; transition: transform .3s ease, box-shadow .3s ease; }
.games .card.step:hover{ transform: translateY(-6px); box-shadow:0 10px 28px rgba(0,0,0,.25); }
.games .card.step .icon{ display:block; margin:0 auto .6rem; background: rgba(40, 60, 120, 0.6); border-radius:50%; padding:12px; width:64px; height:64px; }
.games .card.step h3{ margin:.2rem 0 .4rem; color:#fff; }
.games .card.step p{ color:#e9edff; margin:0; }

@media (max-width: 1100px){
  .grid-4{ grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 900px){
  .grid-4{ grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 560px){
  .grid-4{ grid-template-columns: 1fr; }
}


/* ---- Targeted fix: center the hero CTA button ---- */
.hero .cta{ display:flex; justify-content:center !important; }
.hero .cta .btn{ display:inline-flex; margin-left:auto; margin-right:auto; }
