*{
  margin:0;
  padding:0;
  box-sizing:border-box;
}

body{
  background:#06070d;
  color:white;
  font-family:Arial,sans-serif;
  overflow-x:hidden;
}

html{
  scroll-behavior:smooth;
}

.bg-glow{
  position:fixed;
  width:600px;
  height:600px;
  border-radius:50%;
  filter:blur(140px);
  z-index:-1;
}

.glow1{
  background:rgba(0,140,255,0.18);
  top:-200px;
  left:-100px;
}

.glow2{
  background:rgba(128,0,255,0.15);
  bottom:-200px;
  right:-100px;
}

.topbar{
  width:100%;
  padding:24px 60px;
  display:flex;
  align-items:center;
  justify-content:space-between;
  position:sticky;
  top:0;
  z-index:100;
  backdrop-filter:blur(14px);
  background:rgba(10,10,18,0.7);
  border-bottom:1px solid rgba(255,255,255,0.06);
}

.logo-area{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-dot{
  width:12px;
  height:12px;
  border-radius:50%;
  background:#4f8cff;
  box-shadow:0 0 16px #4f8cff;
}

nav{
  display:flex;
  gap:30px;
}

nav a{
  color:#d9d9e4;
  text-decoration:none;
  transition:0.2s;
}

nav a:hover{
  color:white;
}

.top-buttons{
  display:flex;
  gap:14px;
}

.primary-btn,
.ghost-btn,
.glass-btn,
.card-btn{
  border:none;
  cursor:pointer;
  transition:0.25s;
}

.primary-btn{
  background:linear-gradient(135deg,#4f8cff,#7b61ff);
  color:white;
  padding:14px 22px;
  border-radius:14px;
  font-weight:bold;
}

.primary-btn:hover{
  transform:translateY(-2px);
}

.ghost-btn{
  background:transparent;
  border:1px solid rgba(255,255,255,0.1);
  color:white;
  padding:14px 22px;
  border-radius:14px;
}

.glass-btn{
  background:rgba(255,255,255,0.06);
  border:1px solid rgba(255,255,255,0.08);
  color:white;
  padding:14px 22px;
  border-radius:14px;
}

.hero{
  min-height:100vh;
  display:flex;
  flex-direction:column;
  align-items:center;
  justify-content:center;
  text-align:center;
  padding:80px 20px;
}

.hero-badge{
  padding:10px 18px;
  border-radius:999px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  margin-bottom:28px;
}

.hero h1{
  font-size:82px;
  line-height:1.05;
  max-width:1000px;
  margin-bottom:24px;
}

.hero h1 span{
  background:linear-gradient(135deg,#4f8cff,#7b61ff);
  -webkit-background-clip:text;
  -webkit-text-fill-color:transparent;
}

.hero p{
  max-width:760px;
  color:#b8bfd1;
  line-height:1.7;
  font-size:20px;
}

.hero-buttons{
  display:flex;
  gap:16px;
  margin-top:34px;
}

.big-btn{
  padding:18px 30px;
  font-size:17px;
}

.hero-stats{
  display:flex;
  gap:20px;
  margin-top:70px;
}

.stat-card{
  width:180px;
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:24px;
  padding:26px;
}

.stat-card h3{
  font-size:38px;
  margin-bottom:10px;
}

.games-section,
.tutorial{
  padding:120px 60px;
}

.section-title{
  text-align:center;
  margin-bottom:60px;
}

.section-title small{
  color:#7b61ff;
  letter-spacing:2px;
}

.section-title h2{
  font-size:52px;
  margin:12px 0 18px;
}

.section-title p{
  color:#b8bfd1;
}

.games-grid{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(320px,1fr));
  gap:30px;
}

.game-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:28px;
  overflow:hidden;
}

.game-image{
  height:220px;
}

.game1{
  background:linear-gradient(135deg,#2d3fff,#8f42ff);
}

.game2{
  background:linear-gradient(135deg,#00c896,#0057ff);
}

.game3{
  background:linear-gradient(135deg,#ff6b00,#ff004c);
}

.game-content{
  padding:28px;
}

.game-tag{
  display:inline-block;
  padding:8px 14px;
  border-radius:999px;
  background:rgba(255,255,255,0.08);
  margin-bottom:18px;
}

.game-content h3{
  font-size:30px;
  margin-bottom:14px;
}

.game-content p,
.game-content li{
  color:#b8bfd1;
  line-height:1.7;
}

.game-content ul{
  list-style:none;
  margin-top:18px;
}

.card-btn{
  margin-top:24px;
  width:100%;
  padding:16px;
  border-radius:14px;
  background:rgba(255,255,255,0.08);
  color:white;
}

.tutorial{
  display:grid;
  grid-template-columns:1fr 1fr;
  gap:60px;
  align-items:center;
}

.tutorial h2{
  font-size:52px;
  margin:14px 0 20px;
}

.tutorial p{
  color:#b8bfd1;
  line-height:1.8;
}

.steps{
  margin-top:40px;
  display:flex;
  flex-direction:column;
  gap:24px;
}

.step{
  display:flex;
  gap:18px;
}

.step span{
  min-width:44px;
  height:44px;
  border-radius:50%;
  display:grid;
  place-items:center;
  background:linear-gradient(135deg,#4f8cff,#7b61ff);
  font-weight:bold;
}

.tutorial-box{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:28px;
  padding:30px;
}

.browser-top{
  display:flex;
  gap:10px;
  margin-bottom:20px;
}

.browser-top span{
  width:14px;
  height:14px;
  border-radius:50%;
  background:white;
}

.browser-content{
  background:#0c0e18;
  border-radius:18px;
  padding:24px;
  color:#8fb4ff;
}

footer{
  padding:100px 20px;
  text-align:center;
  border-top:1px solid rgba(255,255,255,0.08);
}

footer p{
  color:#9ea6bd;
  margin-top:16px;
}

@media(max-width:1000px){

  .tutorial{
    grid-template-columns:1fr;
  }

  .hero h1{
    font-size:58px;
  }

}

@media(max-width:860px){

  .topbar{
    padding:20px;
    flex-direction:column;
    gap:20px;
  }

  nav{
    flex-wrap:wrap;
    justify-content:center;
  }

  .hero h1{
    font-size:42px;
  }

  .hero p{
    font-size:17px;
  }

  .hero-buttons{
    width:100%;
    flex-direction:column;
  }

  .big-btn{
    width:100%;
  }

  .hero-stats{
    flex-direction:column;
  }

  .games-section,
  .tutorial{
    padding:90px 20px;
  }

  .section-title h2,
  .tutorial h2{
    font-size:36px;
  }

}
/*
|--------------------------------------------------------------------------
| AUTH MODAL
|--------------------------------------------------------------------------
*/

.auth-overlay{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.65);
  backdrop-filter:blur(10px);
  display:none;
  align-items:center;
  justify-content:center;
  z-index:9999;
  padding:20px;
}

.auth-overlay.active{
  display:flex;
}

.auth-modal{
  width:100%;
  max-width:460px;
  background:#0f111b;
  border:1px solid rgba(255,255,255,0.08);
  border-radius:30px;
  padding:34px;
  position:relative;
  box-shadow:0 0 60px rgba(0,0,0,0.45);
}

.close-auth{
  position:absolute;
  top:20px;
  right:20px;
  width:42px;
  height:42px;
  border:none;
  border-radius:50%;
  background:rgba(255,255,255,0.06);
  color:white;
  cursor:pointer;
  font-size:18px;
}

.auth-tabs{
  display:flex;
  gap:10px;
  margin-bottom:28px;
}

.auth-tab{
  flex:1;
  height:52px;
  border:none;
  border-radius:14px;
  background:rgba(255,255,255,0.05);
  color:#bfc6d9;
  cursor:pointer;
  font-size:15px;
  font-weight:bold;
}

.auth-tab.active{
  background:linear-gradient(135deg,#4f8cff,#7b61ff);
  color:white;
}

.auth-form{
  display:none;
  flex-direction:column;
}

.auth-form.active{
  display:flex;
}

.auth-form h2{
  font-size:34px;
  margin-bottom:10px;
}

.auth-form p{
  color:#a9b1c7;
  margin-bottom:26px;
  line-height:1.7;
}

.auth-form input{
  width:100%;
  height:58px;
  border:none;
  outline:none;
  border-radius:16px;
  padding:0 18px;
  background:#161927;
  color:white;
  margin-bottom:16px;
  font-size:15px;
}

.auth-form input::placeholder{
  color:#7f8aa8;
}

.full-auth-btn{
  width:100%;
  margin-top:10px;
  height:58px;
  font-size:16px;
}
/*
|--------------------------------------------------------------------------
| TOAST
|--------------------------------------------------------------------------
*/

.custom-toast{
  position:fixed;
  top:30px;
  right:30px;
  min-width:280px;
  max-width:420px;
  padding:18px 22px;
  border-radius:18px;
  background:rgba(15,17,27,0.95);
  border:1px solid rgba(255,255,255,0.08);
  color:white;
  font-size:15px;
  z-index:999999;
  backdrop-filter:blur(12px);
  transform:translateY(-20px);
  opacity:0;
  transition:0.35s;
  box-shadow:0 10px 40px rgba(0,0,0,0.35);
}

.custom-toast.show{
  transform:translateY(0);
  opacity:1;
}