*{
  margin:0;
  padding:0;
  box-sizing:border-box;
  font-family:Arial,sans-serif;
}

body{
  background:#070b14;
  color:white;
  min-height:100vh;
  overflow-x:hidden;
}

.bg-glow{
  position:fixed;
  width:700px;
  height:700px;
  background:radial-gradient(circle, rgba(130,88,255,0.3), transparent 70%);
  top:-200px;
  right:-200px;
  z-index:-1;
}

.navbar{
  display:flex;
  justify-content:space-between;
  align-items:center;
  padding:24px 8%;
}

.logo{
  display:flex;
  align-items:center;
  gap:12px;
}

.logo-icon{
  width:42px;
  height:42px;
  border-radius:12px;
  background:linear-gradient(135deg,#8b5cf6,#06b6d4);
  display:flex;
  align-items:center;
  justify-content:center;
  font-weight:bold;
  font-size:22px;
}

.logo h1{
  font-size:28px;
}

.wallet-btn{
  background:linear-gradient(135deg,#8b5cf6,#06b6d4);
  border:none;
  padding:14px 22px;
  color:white;
  border-radius:14px;
  font-size:15px;
  cursor:pointer;
  transition:0.3s;
}

.wallet-btn:hover,
.swap-btn:hover{
  transform:translateY(-2px);
  opacity:0.9;
}

.hero{
  display:grid;
  grid-template-columns:1fr 420px;
  gap:50px;
  align-items:center;
  padding:40px 8%;
}

.hero-text h2{
  font-size:58px;
  margin:16px 0;
}

.hero-text p{
  color:#b8bfd3;
  line-height:1.7;
  max-width:600px;
}

.tag{
  padding:8px 14px;
  border:1px solid rgba(255,255,255,0.1);
  border-radius:999px;
  color:#8b5cf6;
  font-size:13px;
}

.stats{
  display:flex;
  gap:18px;
  margin-top:34px;
  flex-wrap:wrap;
}

.stat-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.06);
  padding:18px;
  border-radius:20px;
  min-width:140px;
  backdrop-filter:blur(10px);
}

.stat-card h3{
  font-size:22px;
  margin-bottom:8px;
}

.swap-card{
  background:rgba(255,255,255,0.05);
  border:1px solid rgba(255,255,255,0.08);
  border-radius:30px;
  padding:28px;
  backdrop-filter:blur(20px);
  box-shadow:0 20px 60px rgba(0,0,0,0.4);
}

.swap-header{
  display:flex;
  justify-content:space-between;
  margin-bottom:20px;
}

.swap-header span{
  color:#8b5cf6;
}

.token-box{
  background:#0f172a;
  padding:18px;
  border-radius:22px;
  margin-bottom:18px;
}

.token-box label{
  display:block;
  margin-bottom:10px;
  color:#94a3b8;
}

.token-row{
  display:flex;
  justify-content:space-between;
  gap:12px;
}

.token-row input,
.token-row select{
  background:transparent;
  border:none;
  color:white;
  font-size:20px;
  width:100%;
  outline:none;
}

.token-row select{
  max-width:120px;
}

.swap-icon{
  text-align:center;
  font-size:26px;
  margin-bottom:18px;
}

.swap-info{
  display:flex;
  justify-content:space-between;
  margin:20px 0;
  color:#cbd5e1;
}

.swap-info strong{
  display:block;
  color:white;
}

.swap-btn{
  width:100%;
  padding:16px;
  border:none;
  border-radius:18px;
  background:linear-gradient(135deg,#8b5cf6,#06b6d4);
  color:white;
  font-size:17px;
  cursor:pointer;
  transition:0.3s;
}

.features{
  display:grid;
  grid-template-columns:repeat(auto-fit,minmax(250px,1fr));
  gap:24px;
  padding:50px 8%;
}

.feature-card{
  background:rgba(255,255,255,0.04);
  border:1px solid rgba(255,255,255,0.06);
  padding:28px;
  border-radius:24px;
}

.feature-card h3{
  margin-bottom:14px;
}

.popup{
  position:fixed;
  inset:0;
  background:rgba(0,0,0,0.6);
  display:flex;
  align-items:center;
  justify-content:center;
}

.popup-card{
  background:#111827;
  padding:32px;
  border-radius:24px;
  text-align:center;
  width:320px;
}

.popup-card p{
  margin:14px 0 20px;
  color:#cbd5e1;
}

.popup-card button{
  padding:12px 18px;
  border:none;
  border-radius:14px;
  background:#8b5cf6;
  color:white;
  cursor:pointer;
}

.hidden{
  display:none;
}

@media(max-width:900px){

  .hero{
    grid-template-columns:1fr;
  }

  .hero-text h2{
    font-size:42px;
  }

}