@import url('https://fonts.googleapis.com/css2?family=Plus+Jakarta+Sans:wght@400;600;700;800&display=swap');

:root{
  --accent:#8B5CF6;
  --accent2:#06B6D4;
  --surface:#0F172A;
  --base:#020617;
}

html,body{height:100%;}
body{
  font-family:'Plus Jakarta Sans', system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  background-color:var(--base);
  color:#F1F5F9;
  -webkit-tap-highlight-color: transparent;
}
::selection{ background: var(--accent2); color:#001018; }

.glass{
  background: rgba(15, 23, 42, 0.70);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  border: 1px solid rgba(255,255,255,0.06);
}

.no-scrollbar::-webkit-scrollbar{ display:none; }
.no-scrollbar{ -ms-overflow-style:none; scrollbar-width:none; }

.bento-card{
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease, background .28s ease;
}
@media (min-width: 1024px){
  .bento-card:hover{
    transform: translateY(-2px) scale(1.01);
    border-color: rgba(139,92,246,0.38);
    box-shadow: 0 18px 55px rgba(0,0,0,0.45), 0 0 32px rgba(6,182,212,0.08);
  }
}

.nav-item.active i{
  color: var(--accent);
  transform: translateY(-4px);
  transition: all .3s ease;
}
.nav-item.active span{ color:#E9D5FF; }

a{ text-decoration:none; }

.shadow-accent{
  box-shadow: 0 18px 40px rgba(139,92,246,0.20);
}

.line-clamp-2{
  display:-webkit-box; -webkit-line-clamp:2; -webkit-box-orient:vertical; overflow:hidden;
}
.line-clamp-3{
  display:-webkit-box; -webkit-line-clamp:3; -webkit-box-orient:vertical; overflow:hidden;
}

.badge{
  font-size:10px;
  font-weight:900;
  letter-spacing:.12em;
  text-transform:uppercase;
}

.btn-soft{
  border:1px solid rgba(255,255,255,0.10);
  background: rgba(255,255,255,0.03);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-soft:hover{
  background: rgba(255,255,255,0.06);
  border-color: rgba(255,255,255,0.16);
}

.btn-primary{
  background: linear-gradient(135deg, var(--accent) 0%, #6D28D9 100%);
  box-shadow: 0 16px 40px rgba(139,92,246,0.22);
  transition: all .2s ease;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}
.btn-primary:hover{
  filter: brightness(1.05);
  transform: translateY(-1px);
  box-shadow: 0 20px 55px rgba(139,92,246,0.28);
}

.toast{
  position: fixed;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  z-index: 9999;
  background: rgba(2,6,23,0.78);
  border: 1px solid rgba(255,255,255,0.10);
  backdrop-filter: blur(12px);
  padding: 12px 14px;
  border-radius: 14px;
  color: #E2E8F0;
  font-size: 13px;
  max-width: min(520px, calc(100vw - 28px));
}
