:root{
  --bg:#0f1220;
  --bg2:#131a2f;
  --card:#171f39;
  --text:#e9ecff;
  --muted:#b8c0e6;
  --white:#fff;
  --shadow: 0 12px 35px rgba(0,0,0,.25);
  --radius: 18px;
  --grad: linear-gradient(135deg, #ff3d6c 0%, #ffb13d 30%, #20d6ff 65%, #7cff7c 100%);
  --grad2: linear-gradient(135deg, rgba(255,61,108,.22), rgba(32,214,255,.18));
  --line: rgba(255,255,255,.10);
}

*{box-sizing:border-box}
html{scroll-behavior:smooth}
body{
  margin:0;
  font-family: system-ui, -apple-system, Segoe UI, Roboto, Ubuntu, Cantarell, Noto Sans, Helvetica, Arial, "Apple Color Emoji","Segoe UI Emoji";
  color:var(--text);
  background: radial-gradient(900px 500px at 12% 10%, rgba(255,61,108,.18), transparent 60%),
              radial-gradient(900px 520px at 90% 12%, rgba(32,214,255,.18), transparent 60%),
              radial-gradient(900px 520px at 50% 85%, rgba(124,255,124,.14), transparent 60%),
              var(--bg);
}

a{color:inherit; text-decoration:none}
img{max-width:100%; display:block}
.container{width:min(1160px, calc(100% - 40px)); margin:0 auto}

/* HEADER */
.header{
  position:sticky; top:0; z-index:50;
  backdrop-filter: blur(14px);
  background: rgba(15,18,32,.62);
  border-bottom: 1px solid var(--line);
}
.header-inner{
  display:flex; align-items:center; justify-content:space-between;
  padding:14px 0;
  gap:16px;
}
.logo{display:flex; align-items:center; gap:10px}
.logo-box{
  width:38px; height:38px; border-radius:12px;
  display:grid; place-items:center;
  background: var(--grad);
  color:#141622; font-weight:900;
}
.logo-title{font-weight:900; letter-spacing:.5px}
.vip-badge{
  margin-left:6px;
  font-size:12px; padding:2px 8px;
  border-radius:999px;
  background: rgba(255,255,255,.12);
  border:1px solid rgba(255,255,255,.18);
  vertical-align:middle;
}
.navbar{display:flex; gap:18px; align-items:center}
.nav-item{
  color: var(--muted);
  font-weight:650;
  padding:10px 12px;
  border-radius:999px;
}
.nav-item:hover{background:rgba(255,255,255,.06); color:var(--text)}
.nav-item.active{background:rgba(255,255,255,.10); color:var(--text); border:1px solid rgba(255,255,255,.14)}
.header-buttons{display:flex; gap:10px; align-items:center}
.btn-header-login,.btn-header-register{
  padding:10px 14px;
  border-radius:999px;
  font-weight:750;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.06);
}
.btn-header-register{
  background: var(--grad);
  border:none;
  color:#101225;
}
.btn-header-login:hover{background:rgba(255,255,255,.10)}
.btn-header-register:hover{filter:brightness(1.03)}

.mobile-toggle{display:none; width:44px; height:40px; border-radius:12px; border:1px solid rgba(255,255,255,.16); background:rgba(255,255,255,.06)}
.mobile-toggle span{display:block; height:2px; width:18px; margin:5px auto; background:rgba(255,255,255,.85); border-radius:10px}

/* HERO */
.hero{position:relative; padding:70px 0 40px; overflow:hidden}
.hero-bg{
  position:absolute; inset:0; z-index:-2;
}
.hero-bg img{
  width:100%; height:100%; object-fit:cover;
  transform: scale(1.03);
  filter:saturate(1.1) contrast(1.05);
}
.hero-shade{
  position:absolute; inset:0;
  background: linear-gradient(180deg, rgba(15,18,32,.55), rgba(15,18,32,.92));
}
.hero-wrapper{padding:10px 0}
.hero-badge{
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.18);
  background: rgba(255,255,255,.08);
  box-shadow: var(--shadow);
}
.badge-pulse{
  width:10px; height:10px; border-radius:50%;
  background:#7cff7c;
  box-shadow:0 0 0 0 rgba(124,255,124,.5);
  animation:pulse 1.8s infinite;
}
@keyframes pulse{
  0%{box-shadow:0 0 0 0 rgba(124,255,124,.55)}
  70%{box-shadow:0 0 0 12px rgba(124,255,124,0)}
  100%{box-shadow:0 0 0 0 rgba(124,255,124,0)}
}
.hero h1{
  margin:18px 0 12px;
  font-size: clamp(34px, 4.2vw, 56px);
  line-height: 1.08;
  letter-spacing: -0.02em;
}
.rainbow-text{
  background: var(--grad);
  -webkit-background-clip:text;
  background-clip:text;
  color:transparent;
}
.hero-subtitle{
  margin:0 0 20px;
  max-width: 720px;
  color: rgba(233,236,255,.92);
  font-size: 17px;
  line-height:1.6;
}
.hero-cta{display:flex; gap:12px; flex-wrap:wrap; margin:18px 0 18px}
.btn-primary-hero{
  display:inline-flex; align-items:center; gap:12px;
  padding:12px 16px;
  border-radius:14px;
  background: var(--grad);
  color:#0e1020;
  font-weight:900;
  box-shadow: var(--shadow);
}
.btn-primary-hero:hover{filter:brightness(1.03)}
.btn-secondary-hero{
  display:inline-flex; align-items:center;
  padding:12px 16px;
  border-radius:14px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.18);
  font-weight:850;
}
.btn-arrow{font-size:18px}
.hero-features{display:flex; gap:14px; flex-wrap:wrap; margin-top:18px}
.hero-feature{
  display:flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:14px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
}
.feature-emoji{font-size:18px}
.active-players{
  margin-top:14px;
  display:inline-flex; align-items:center; gap:10px;
  padding:10px 14px;
  border-radius:999px;
  background: rgba(0,0,0,.22);
  border:1px solid rgba(255,255,255,.16);
}
.active-players strong{
  background: rgba(255,255,255,.12);
  padding:3px 10px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
}

/* STATS */
.stats{padding:34px 0 10px}
.stats-grid{
  display:grid;
  grid-template-columns: repeat(4, minmax(0,1fr));
  gap:14px;
}
.stat-box{
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding:16px 14px;
  box-shadow: var(--shadow);
}
.stat-emoji{font-size:20px}
.stat-value{font-size:28px; font-weight:950; margin-top:8px}
.stat-text{color:var(--muted); margin-top:4px; font-weight:650}

/* SECTIONS */
section{scroll-margin-top:88px}
.section-title{
  text-align:center;
  margin: 34px auto 18px;
  max-width: 860px;
}
.title-badge{
  display:inline-flex; align-items:center; gap:8px;
  padding:8px 12px;
  border-radius:999px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.08);
  font-weight:850;
  color: rgba(233,236,255,.95);
}
.section-title h2{
  margin:12px 0 8px;
  font-size: clamp(26px, 3vw, 38px);
}
.section-title p{margin:0 auto; color:var(--muted); line-height:1.7}
.section-title.light .title-badge{border-color:rgba(255,255,255,.18)}
.section-title.light .white{color:var(--white)}
.white{color:var(--white)}

/* WHY GRID */
.why{padding:22px 0 10px}
.why-grid{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top: 18px;
}
.why-card{
  border-radius: var(--radius);
  padding:18px 16px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
  position:relative;
  overflow:hidden;
}
.why-number{
  position:absolute; top:14px; right:14px;
  font-weight:950; color: rgba(255,255,255,.20);
}
.why-icon{font-size:24px}
.why-card h3{margin:10px 0 8px; font-size:18px}
.why-card p{margin:0; color:var(--muted); line-height:1.65}
.card-blue{background: linear-gradient(180deg, rgba(32,214,255,.16), rgba(255,255,255,.04))}
.card-pink{background: linear-gradient(180deg, rgba(255,61,108,.18), rgba(255,255,255,.04))}
.card-green{background: linear-gradient(180deg, rgba(124,255,124,.16), rgba(255,255,255,.04))}
.card-orange{background: linear-gradient(180deg, rgba(255,177,61,.16), rgba(255,255,255,.04))}
.card-purple{background: linear-gradient(180deg, rgba(170,120,255,.16), rgba(255,255,255,.04))}
.card-cyan{background: linear-gradient(180deg, rgba(0,255,240,.12), rgba(255,255,255,.04))}

/* GAMES */
.games{
  padding:44px 0 40px;
  background: radial-gradient(900px 500px at 10% 0%, rgba(32,214,255,.22), transparent 60%),
              radial-gradient(900px 500px at 90% 0%, rgba(255,61,108,.22), transparent 60%),
              linear-gradient(180deg, rgba(19,26,47,.85), rgba(15,18,32,.95));
  border-top: 1px solid rgba(255,255,255,.08);
  border-bottom: 1px solid rgba(255,255,255,.08);
}
.games-showcase{
  display:grid;
  grid-template-columns: repeat(3, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.game-card{
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.14);
  border-radius: var(--radius);
  padding:18px 16px;
  box-shadow: var(--shadow);
}
.game-card-header{display:flex; align-items:center; gap:12px}
.game-emoji-big{font-size:28px}
.game-card h3{margin:0}
.game-card p{color: rgba(233,236,255,.90); line-height:1.65}
.game-highlights{display:flex; gap:10px; margin:14px 0 12px; flex-wrap:wrap}
.highlight{
  flex:1;
  min-width: 130px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.12);
  border-radius:14px;
  padding:10px 12px;
}
.highlight strong{display:block; font-size:18px}
.highlight span{color:var(--muted); font-weight:650}
.game-link{
  display:inline-flex;
  padding:10px 12px;
  border-radius:12px;
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  font-weight:850;
}
.game-link:hover{background: rgba(255,255,255,.10)}

/* BONUSES */
.bonuses{padding:34px 0 24px}
.bonus-layout{
  display:grid;
  grid-template-columns: 1.2fr .8fr;
  gap:14px;
  margin-top:18px;
}
.bonus-hero{
  border-radius: var(--radius);
  padding:18px 16px;
  background: linear-gradient(135deg, rgba(255,61,108,.20), rgba(32,214,255,.14));
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.bonus-tag{
  display:inline-block;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(0,0,0,.18);
  border:1px solid rgba(255,255,255,.14);
  font-weight:900;
}
.bonus-percent{font-size:56px; font-weight:1000; margin:12px 0 6px; background:var(--grad); -webkit-background-clip:text; color:transparent}
.bonus-hero h3{margin:0 0 8px}
.bonus-hero p{margin:0 0 12px; color: rgba(233,236,255,.92); line-height:1.65}
.bonus-specs{display:grid; grid-template-columns:repeat(2,minmax(0,1fr)); gap:10px; margin:12px 0 14px}
.spec-item{
  background: rgba(255,255,255,.08);
  border:1px solid rgba(255,255,255,.14);
  border-radius:14px;
  padding:10px 12px;
  display:flex; justify-content:space-between; gap:12px;
  color: rgba(233,236,255,.92);
}
.btn-bonus-main{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:14px;
  background: var(--grad);
  color:#0e1020;
  font-weight:950;
}
.bonus-sidebar{display:grid; gap:12px}
.bonus-mini{
  display:flex; gap:12px; align-items:center;
  padding:14px 14px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.mini-emoji{font-size:22px}
.mini-content h4{margin:0 0 4px}
.mini-content p{margin:0; color:var(--muted)}

/* ARTICLE / GUIDE */
.guide{padding:26px 0 18px}
.guide-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.guide-card{
  padding:18px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.guide-card h3{margin:0 0 8px}
.guide-card p{margin:0; color:var(--muted); line-height:1.7}

/* AUTH SECTIONS */
.auth{padding:26px 0 12px}
.auth-grid{
  display:grid;
  grid-template-columns: repeat(2, minmax(0,1fr));
  gap:14px;
  margin-top:18px;
}
.auth-card{
  padding:18px 16px;
  border-radius: var(--radius);
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.form-row{display:grid; gap:10px; margin-top:10px}
.input{
  width:100%;
  padding:12px 12px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(0,0,0,.18);
  color:var(--text);
  outline:none;
}
.input::placeholder{color: rgba(184,192,230,.8)}
.btn-form{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 14px;
  border-radius:14px;
  background: var(--grad);
  color:#0e1020;
  font-weight:950;
  border:none;
  cursor:pointer;
}
.small-note{color:var(--muted); font-size:13px; line-height:1.6}

/* FAQ */
.faq{padding:28px 0 24px}
.faq-wrapper{max-width: 920px; margin: 18px auto 0}
.faq-block{
  border-radius: var(--radius);
  overflow:hidden;
  margin-bottom:12px;
  border:1px solid rgba(255,255,255,.14);
  background: rgba(255,255,255,.06);
  box-shadow: var(--shadow);
}
.faq-btn{
  width:100%;
  background:transparent;
  border:0;
  color:var(--text);
  padding:16px 16px;
  display:flex; justify-content:space-between; align-items:center;
  font-weight:900;
  cursor:pointer;
  text-align:left;
}
.faq-icon{
  width:34px; height:34px;
  border-radius:12px;
  display:grid; place-items:center;
  background: rgba(255,255,255,.10);
  border:1px solid rgba(255,255,255,.14);
  font-size:18px;
}
.faq-content{display:none; padding:0 16px 16px}
.faq-content p{margin:0; color:var(--muted); line-height:1.7}
.faq-block.open .faq-content{display:block}
.faq-block.open .faq-icon{background: rgba(124,255,124,.14); border-color: rgba(124,255,124,.22)}

/* CTA + FOOTER */
.cta-section{padding:38px 0}
.cta-wrapper{
  border-radius: 26px;
  padding: 26px 18px;
  text-align:center;
  background: var(--grad2);
  border:1px solid rgba(255,255,255,.14);
  box-shadow: var(--shadow);
}
.cta-wrapper h2{margin:0 0 10px}
.cta-wrapper p{margin:0 0 14px; color:var(--muted); line-height:1.7}
.btn-cta-big{
  display:inline-flex; align-items:center; justify-content:center;
  padding:12px 16px;
  border-radius:16px;
  background: var(--grad);
  color:#0e1020;
  font-weight:1000;
}

.footer{padding:26px 0 12px; border-top:1px solid rgba(255,255,255,.08)}
.footer-main{
  display:grid;
  grid-template-columns: 1.2fr repeat(3, 1fr);
  gap:14px;
}
.footer-brand p{color:var(--muted); line-height:1.7; margin:10px 0 10px}
.footer-license{
  display:inline-flex;
  padding:8px 12px;
  border-radius:999px;
  background: rgba(255,255,255,.06);
  border:1px solid rgba(255,255,255,.14);
  color: rgba(233,236,255,.92);
  font-weight:850;
}
.footer-column h4{margin:0 0 10px}
.footer-column ul{list-style:none; padding:0; margin:0; display:grid; gap:8px}
.footer-column a{color:var(--muted); font-weight:650}
.footer-column a:hover{color:var(--text)}
.footer-bottom{
  margin-top:16px;
  padding-top:12px;
  border-top:1px solid rgba(255,255,255,.08);
  color: rgba(184,192,230,.9);
  text-align:center;
  font-size:13px;
}

/* Scroll up */
.scroll-up{
  position:fixed;
  right:16px; bottom:16px;
  width:44px; height:44px;
  border-radius:14px;
  border:1px solid rgba(255,255,255,.16);
  background: rgba(255,255,255,.10);
  color:var(--text);
  cursor:pointer;
  display:none;
  box-shadow: var(--shadow);
}
.scroll-up.show{display:block}

/* RESPONSIVE */
@media (max-width: 960px){
  .navbar{display:none}
  .mobile-toggle{display:block}
  .stats-grid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .why-grid{grid-template-columns: repeat(2, minmax(0,1fr))}
  .games-showcase{grid-template-columns: 1fr}
  .bonus-layout{grid-template-columns:1fr}
  .guide-grid,.auth-grid{grid-template-columns:1fr}
  .footer-main{grid-template-columns:1fr 1fr}
}
@media (max-width: 520px){
  .header-inner{gap:10px}
  .header-buttons{display:none}
  .footer-main{grid-template-columns:1fr}
}
.navbar.open{
  display:flex;
  position:absolute;
  top:72px; left:20px; right:20px;
  flex-direction:column;
  background: rgba(15,18,32,.96);
  border:1px solid rgba(255,255,255,.14);
  border-radius: 18px;
  padding:12px;
  gap:6px;
}
