/* ==========================================
   Kick Views Booster — Design System v2.0
   Premium Dark Theme
   ========================================== */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700;800;900&display=swap');

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-card: #1a1a25;
  --bg-card-hover: #22222f;
  --bg-elevated: #252535;
  --border-subtle: rgba(255,255,255,0.06);
  --border-accent: rgba(16,185,129,0.25);
  --text-primary: #f0f0f5;
  --text-secondary: #9ca3af;
  --text-muted: #6b7280;
  --accent: #10b981;
  --accent-light: #34d399;
  --accent-dark: #059669;
  --accent-glow: rgba(16,185,129,0.15);
  --accent-glow-strong: rgba(16,185,129,0.35);
  --danger: #ef4444;
  --warning: #f59e0b;
  --info: #3b82f6;
  --discord: #5865F2;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --radius-full: 9999px;
  --shadow-sm: 0 2px 8px rgba(0,0,0,0.3);
  --shadow-md: 0 8px 24px rgba(0,0,0,0.4);
  --shadow-lg: 0 16px 48px rgba(0,0,0,0.5);
  --shadow-glow: 0 0 30px rgba(16,185,129,0.15);
  --transition: 0.25s cubic-bezier(0.4,0,0.2,1);
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', -apple-system, BlinkMacSystemFont, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  line-height: 1.6;
  min-height: 100vh;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--accent); text-decoration: none; transition: color var(--transition); }
a:hover { color: var(--accent-light); }

/* ---- Shared Navbar ---- */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 1000;
  background: rgba(10,10,15,0.85);
  backdrop-filter: blur(20px) saturate(1.4);
  -webkit-backdrop-filter: blur(20px) saturate(1.4);
  border-bottom: 1px solid var(--border-subtle);
  padding: 0 24px;
  height: 64px;
  display: flex; align-items: center; justify-content: center;
  transition: background var(--transition);
}
.navbar-inner {
  max-width: 1280px; width: 100%;
  display: flex; align-items: center; justify-content: space-between;
}
.navbar-brand {
  display: flex; align-items: center; gap: 10px;
  text-decoration: none; font-weight: 700; font-size: 1.15rem; color: var(--text-primary);
}
.navbar-brand img { height: 32px; width: auto; border-radius: 6px; }
.navbar-brand span { background: linear-gradient(135deg, var(--accent), var(--accent-light)); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.navbar-actions { display: flex; align-items: center; gap: 12px; }

/* ---- Buttons ---- */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  font-family: inherit; font-weight: 600; font-size: 0.9rem;
  border: none; border-radius: var(--radius-full); cursor: pointer;
  padding: 10px 24px;
  transition: all var(--transition);
  text-decoration: none;
  white-space: nowrap;
}
.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-dark));
  color: #fff;
  box-shadow: 0 4px 14px rgba(16,185,129,0.3);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(16,185,129,0.45);
  color: #fff;
}
.btn-secondary {
  background: var(--bg-card);
  color: var(--text-primary);
  border: 1px solid var(--border-subtle);
}
.btn-secondary:hover { background: var(--bg-card-hover); transform: translateY(-1px); color: var(--text-primary); }
.btn-danger { background: var(--danger); color: #fff; }
.btn-danger:hover { opacity: 0.9; transform: translateY(-1px); }
.btn-ghost { background: transparent; color: var(--accent); border: 1px solid var(--border-accent); }
.btn-ghost:hover { background: var(--accent-glow); color: var(--accent-light); }
.btn-sm { padding: 6px 16px; font-size: 0.8rem; }
.btn-lg { padding: 14px 32px; font-size: 1rem; }
.btn-block { width: 100%; }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }

/* ---- Cards ---- */
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--transition);
}
.card:hover { border-color: var(--border-accent); box-shadow: var(--shadow-glow); }
.card-accent { border-color: var(--border-accent); }

/* ---- Container ---- */
.container { max-width: 1280px; margin: 0 auto; padding: 0 24px; }

/* ---- Section ---- */
.section { padding: 80px 0; }
.section-title {
  font-size: 2.2rem; font-weight: 800; text-align: center; margin-bottom: 16px;
  background: linear-gradient(135deg, var(--text-primary), var(--text-secondary));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent;
}
.section-subtitle { text-align: center; color: var(--text-secondary); font-size: 1.1rem; margin-bottom: 48px; max-width: 600px; margin-left: auto; margin-right: auto; }

/* ---- Shared Footer ---- */
.footer {
  background: var(--bg-secondary);
  border-top: 1px solid var(--border-subtle);
  padding: 48px 0 24px;
}
.footer-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px,1fr)); gap: 32px; margin-bottom: 32px; }
.footer-col h4 { color: var(--accent); font-size: 0.9rem; text-transform: uppercase; letter-spacing: 0.05em; margin-bottom: 16px; }
.footer-col p, .footer-col a { color: var(--text-muted); font-size: 0.88rem; line-height: 1.8; display: block; }
.footer-col a:hover { color: var(--accent); }
.footer-bottom { border-top: 1px solid var(--border-subtle); padding-top: 24px; text-align: center; color: var(--text-muted); font-size: 0.82rem; }
.footer-bottom a { color: var(--text-secondary); }

/* ---- Form Elements ---- */
.form-group { margin-bottom: 20px; }
.form-label { display: block; font-weight: 600; font-size: 0.88rem; color: var(--text-secondary); margin-bottom: 8px; }
.form-input, .form-select, .form-textarea {
  width: 100%; padding: 12px 16px;
  background: var(--bg-secondary); color: var(--text-primary);
  border: 1px solid var(--border-subtle); border-radius: var(--radius-md);
  font-family: inherit; font-size: 0.95rem;
  transition: all var(--transition);
}
.form-input:focus, .form-select:focus, .form-textarea:focus {
  outline: none; border-color: var(--accent);
  box-shadow: 0 0 0 3px rgba(16,185,129,0.15);
}
.form-input::placeholder { color: var(--text-muted); }
.form-textarea { resize: vertical; min-height: 80px; }

/* ---- Modal ---- */
.modal-overlay {
  display: none; position: fixed; inset: 0; z-index: 2000;
  background: rgba(0,0,0,0.7); backdrop-filter: blur(8px);
  align-items: center; justify-content: center;
}
.modal-overlay.active { display: flex; }
.modal-box {
  background: var(--bg-card); border: 1px solid var(--border-subtle);
  border-radius: var(--radius-xl); padding: 36px;
  width: 90%; max-width: 440px; position: relative;
  animation: modalIn 0.3s ease-out;
}
@keyframes modalIn { from { transform: translateY(24px) scale(0.97); opacity: 0; } to { transform: translateY(0) scale(1); opacity: 1; } }
.modal-close {
  position: absolute; top: 16px; right: 16px;
  background: var(--bg-elevated); border: none; color: var(--text-muted);
  width: 32px; height: 32px; border-radius: 50%; cursor: pointer;
  display: flex; align-items: center; justify-content: center;
  font-size: 1.1rem; transition: all var(--transition);
}
.modal-close:hover { background: var(--danger); color: #fff; }
.modal-title { font-size: 1.4rem; font-weight: 700; margin-bottom: 24px; text-align: center; }

/* ---- Badges ---- */
.badge {
  display: inline-flex; align-items: center; gap: 4px;
  padding: 3px 10px; border-radius: var(--radius-full);
  font-size: 0.72rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.04em;
}
.badge-accent { background: var(--accent-glow); color: var(--accent); }
.badge-danger { background: rgba(239,68,68,0.15); color: var(--danger); }
.badge-warning { background: rgba(245,158,11,0.15); color: var(--warning); }

/* ---- Alerts ---- */
.alert { padding: 14px 18px; border-radius: var(--radius-md); font-size: 0.9rem; margin-bottom: 16px; border: 1px solid transparent; }
.alert-success { background: rgba(16,185,129,0.1); border-color: rgba(16,185,129,0.2); color: var(--accent); }
.alert-error { background: rgba(239,68,68,0.1); border-color: rgba(239,68,68,0.2); color: var(--danger); }
.alert-warning { background: rgba(245,158,11,0.1); border-color: rgba(245,158,11,0.2); color: var(--warning); }

/* ---- Toggle Tabs ---- */
.tab-toggle { display: flex; background: var(--bg-secondary); border-radius: var(--radius-full); padding: 4px; margin-bottom: 24px; }
.tab-toggle-btn {
  flex: 1; padding: 10px; text-align: center; border: none; background: transparent;
  color: var(--text-muted); font-family: inherit; font-weight: 600; font-size: 0.88rem;
  border-radius: var(--radius-full); cursor: pointer; transition: all var(--transition);
}
.tab-toggle-btn.active { background: var(--accent); color: #fff; }

/* ---- Animations ---- */
@keyframes fadeInUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
@keyframes pulse { 0%,100% { opacity: 1; } 50% { opacity: 0.6; } }
@keyframes shimmer { 0% { background-position: -200% 0; } 100% { background-position: 200% 0; } }
.animate-in { animation: fadeInUp 0.5s ease-out both; }
.animate-delay-1 { animation-delay: 0.1s; }
.animate-delay-2 { animation-delay: 0.2s; }
.animate-delay-3 { animation-delay: 0.3s; }
.animate-delay-4 { animation-delay: 0.4s; }

/* ---- Scrollbar ---- */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg-primary); }
::-webkit-scrollbar-thumb { background: var(--bg-elevated); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--text-muted); }

/* ---- Utility ---- */
.text-center { text-align: center; }
.text-accent { color: var(--accent); }
.text-muted { color: var(--text-muted); }
.text-sm { font-size: 0.85rem; }
.mt-1 { margin-top: 8px; } .mt-2 { margin-top: 16px; } .mt-3 { margin-top: 24px; }
.mb-1 { margin-bottom: 8px; } .mb-2 { margin-bottom: 16px; } .mb-3 { margin-bottom: 24px; }
.hidden { display: none !important; }
.flex { display: flex; } .flex-center { display: flex; align-items: center; justify-content: center; }
.gap-1 { gap: 8px; } .gap-2 { gap: 16px; } .gap-3 { gap: 24px; }

/* ---- Responsive ---- */
@media (max-width: 768px) {
  .section { padding: 48px 0; }
  .section-title { font-size: 1.7rem; }
  .container { padding: 0 16px; }
  .navbar { padding: 0 16px; }
  .footer-grid { grid-template-columns: 1fr 1fr; }
}
@media (max-width: 480px) {
  .footer-grid { grid-template-columns: 1fr; }
  .section-title { font-size: 1.4rem; }
}
