@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800&display=swap');

:root {
  --bg: #0f172a;
  --panel: rgba(30, 41, 59, 0.55);
  --panel2: rgba(30, 41, 59, 0.35);
  --border: rgba(148, 163, 184, 0.20);
  --text: #e2e8f0;
  --muted: #94a3b8;
  --grad1: #22d3ee;
  --grad2: #a855f7;
  --grad3: #ec4899;
}

* { box-sizing: border-box; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
}

.gradient-text {
  background: linear-gradient(135deg, var(--grad1) 0%, var(--grad2) 50%, var(--grad3) 100%);
  background-size: 200% 200%;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  animation: gradientShift 8s ease infinite;
}

@keyframes gradientShift {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}

.pulse-dot { animation: pulse 2s cubic-bezier(0.4, 0, 0.6, 1) infinite; }
@keyframes pulse { 0%,100%{opacity:1} 50%{opacity:.5} }

.card {
  background: var(--panel);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.card-soft {
  background: var(--panel2);
  border: 1px solid var(--border);
  border-radius: 16px;
}

.news-card {
  transition: transform .25s cubic-bezier(0.4,0,0.2,1), box-shadow .25s cubic-bezier(0.4,0,0.2,1);
}
.news-card:hover {
  transform: translateY(-6px);
  box-shadow: 0 18px 40px -18px rgba(168, 85, 247, 0.35);
}

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

/* scrollbar */
::-webkit-scrollbar { width: 8px; }
::-webkit-scrollbar-track { background: #1e293b; }
::-webkit-scrollbar-thumb { background: #475569; border-radius: 4px; }
::-webkit-scrollbar-thumb:hover { background: #64748b; }
