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

:root {
  --bg-primary: #050508;
  --bg-secondary: #0a0a0f;
  --bg-card: rgba(255, 255, 255, 0.03);
  --bg-card-hover: rgba(255, 255, 255, 0.05);
  --bg-input: rgba(255, 255, 255, 0.04);
  --border-color: rgba(255, 255, 255, 0.06);
  --border-hover: rgba(255, 255, 255, 0.12);
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.55);
  --text-muted: rgba(255, 255, 255, 0.3);
  --accent: #7c5cfc;
  --accent-glow: rgba(124, 92, 252, 0.15);
  --accent-soft: rgba(124, 92, 252, 0.08);
  --success: #34d399;
  --success-soft: rgba(52, 211, 153, 0.1);
  --danger: #f87171;
  --danger-soft: rgba(248, 113, 113, 0.1);
  --warning: #fbbf24;
  --warning-soft: rgba(251, 191, 36, 0.1);
  --info: #60a5fa;
  --info-soft: rgba(96, 165, 250, 0.1);
  --glass-blur: blur(20px);
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 20px;
}

* { margin: 0; padding: 0; box-sizing: border-box; }

body {
  font-family: 'Inter', -apple-system, sans-serif;
  background: var(--bg-primary);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
}

/* ============ ANIMATED BACKGROUND ============ */
.bg-effects {
  position: fixed;
  top: 0; left: 0;
  width: 100%; height: 100%;
  z-index: 0;
  pointer-events: none;
  overflow: hidden;
}

.bg-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  animation: float-orb 20s ease-in-out infinite;
}

.bg-orb-1 {
  width: 600px; height: 600px;
  background: radial-gradient(circle, rgba(124, 92, 252, 0.07) 0%, transparent 70%);
  top: -200px; left: -100px;
  animation-duration: 22s;
}

.bg-orb-2 {
  width: 500px; height: 500px;
  background: radial-gradient(circle, rgba(96, 165, 250, 0.05) 0%, transparent 70%);
  bottom: -150px; right: -100px;
  animation-duration: 25s;
  animation-delay: -8s;
}

.bg-orb-3 {
  width: 400px; height: 400px;
  background: radial-gradient(circle, rgba(168, 85, 247, 0.04) 0%, transparent 70%);
  top: 40%; left: 50%;
  transform: translate(-50%, -50%);
  animation-duration: 18s;
  animation-delay: -4s;
}

.bg-grid {
  position: absolute;
  width: 100%; height: 100%;
  background-image:
    linear-gradient(rgba(255,255,255,0.015) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255,255,255,0.015) 1px, transparent 1px);
  background-size: 60px 60px;
  mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
  -webkit-mask-image: radial-gradient(ellipse at center, rgba(0,0,0,0.3) 0%, transparent 70%);
}

@keyframes float-orb {
  0%, 100% { transform: translate(0, 0) scale(1); }
  33% { transform: translate(30px, -40px) scale(1.05); }
  66% { transform: translate(-20px, 30px) scale(0.95); }
}

/* ============ LAYOUT ============ */
.page-wrapper {
  position: relative;
  z-index: 1;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
}

.main-content {
  flex: 1;
  padding: 2rem 0;
}

.container { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; }
.container-fluid { max-width: 1400px; margin: 0 auto; padding: 0 1.5rem; }

/* ============ GLASS NAVBAR ============ */
.navbar {
  position: sticky;
  top: 0;
  z-index: 100;
  background: rgba(5, 5, 8, 0.6);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border-bottom: 1px solid var(--border-color);
  padding: 0.75rem 1.5rem;
  transition: all 0.3s ease;
}

.navbar-inner {
  max-width: 1400px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
}

.navbar-brand {
  font-size: 1.15rem;
  font-weight: 800;
  color: var(--text-primary);
  text-decoration: none;
  letter-spacing: -0.5px;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.navbar-brand .brand-icon {
  width: 28px; height: 28px;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  border-radius: 7px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
}

.navbar-brand .brand-logo {
  width: 36px;
  height: 36px;
  border-radius: 9px;
  object-fit: cover;
  display: block;
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.06),
    0 4px 12px rgba(0, 0, 0, 0.4),
    0 0 24px rgba(124, 58, 237, 0.15);
  transition: transform 0.25s ease, box-shadow 0.25s ease;
}

.navbar-brand:hover .brand-logo {
  transform: translateY(-1px) scale(1.04);
  box-shadow:
    0 0 0 1px rgba(255, 255, 255, 0.1),
    0 6px 18px rgba(0, 0, 0, 0.5),
    0 0 32px rgba(124, 58, 237, 0.3);
}

.navbar-brand .brand-text {
  background: linear-gradient(135deg, var(--text-primary) 0%, rgba(255, 255, 255, 0.7) 100%);
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  font-weight: 800;
  letter-spacing: -0.5px;
}

@media (max-width: 480px) {
  .navbar-brand .brand-logo { width: 32px; height: 32px; border-radius: 8px; }
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 0.25rem;
  list-style: none;
}

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.835rem;
  font-weight: 500;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.nav-links a:hover {
  color: var(--text-primary);
  background: rgba(255,255,255,0.05);
}

.nav-links a.active {
  color: var(--text-primary);
  background: rgba(255,255,255,0.06);
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.nav-balance {
  background: var(--success-soft);
  color: var(--success);
  padding: 0.4rem 0.85rem;
  border-radius: var(--radius-xl);
  font-size: 0.8rem;
  font-weight: 600;
  border: 1px solid rgba(52, 211, 153, 0.15);
  text-decoration: none;
  transition: all 0.2s ease;
}

.nav-balance:hover {
  background: rgba(52, 211, 153, 0.15);
  border-color: rgba(52, 211, 153, 0.25);
  color: var(--success);
}

.nav-user {
  position: relative;
}

.nav-user-btn {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  padding: 0.4rem 0.75rem;
  border-radius: var(--radius-sm);
  font-size: 0.835rem;
  font-weight: 500;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.4rem;
  transition: all 0.2s ease;
  font-family: inherit;
}

.nav-user-btn:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.nav-dropdown {
  position: absolute;
  top: calc(100% + 8px);
  right: 0;
  width: 200px;
  background: rgba(15, 15, 20, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  padding: 0.4rem;
  opacity: 0;
  visibility: hidden;
  transform: translateY(-5px);
  transition: all 0.2s ease;
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}

.nav-dropdown.open {
  opacity: 1;
  visibility: visible;
  transform: translateY(0);
}

.nav-dropdown a {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.55rem 0.75rem;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 0.835rem;
  border-radius: var(--radius-sm);
  transition: all 0.15s ease;
}

.nav-dropdown a:hover {
  background: rgba(255,255,255,0.05);
  color: var(--text-primary);
}

.nav-dropdown .divider {
  height: 1px;
  background: var(--border-color);
  margin: 0.3rem 0;
}

.nav-dropdown a.danger { color: var(--danger); }
.nav-dropdown a.danger:hover { background: var(--danger-soft); }

/* Mobile nav toggle */
.nav-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-secondary);
  font-size: 1.25rem;
  cursor: pointer;
  padding: 0.5rem;
}

@media (max-width: 768px) {
  .nav-toggle { display: block; }
  .nav-links { display: none; flex-direction: column; width: 100%; padding-top: 0.75rem; }
  .nav-links.open { display: flex; }
  .navbar-inner { flex-wrap: wrap; }
}

/* ============ GLASS CARDS ============ */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  -webkit-backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  transition: all 0.3s ease;
}

.glass-card:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
}

.glass-card .card-header {
  padding: 1rem 1.25rem;
  border-bottom: 1px solid var(--border-color);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.glass-card .card-header h5,
.glass-card .card-header h4 {
  font-size: 0.9rem;
  font-weight: 600;
  color: var(--text-primary);
  margin: 0;
}

.glass-card .card-body { padding: 1.25rem; }

/* ============ STAT CARDS ============ */
.stat-card {
  background: var(--bg-card);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.25rem;
  transition: all 0.3s ease;
}

.stat-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-2px);
}

.stat-card .stat-icon {
  width: 42px; height: 42px;
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.1rem;
  margin-bottom: 0.85rem;
}

.stat-card .stat-icon.purple { background: var(--accent-soft); color: var(--accent); }
.stat-card .stat-icon.green { background: var(--success-soft); color: var(--success); }
.stat-card .stat-icon.blue { background: var(--info-soft); color: var(--info); }
.stat-card .stat-icon.yellow { background: var(--warning-soft); color: var(--warning); }
.stat-card .stat-icon.red { background: var(--danger-soft); color: var(--danger); }

.stat-card .stat-label {
  font-size: 0.75rem;
  color: var(--text-muted);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.25rem;
}

.stat-card .stat-value {
  font-size: 1.5rem;
  font-weight: 700;
  background: linear-gradient(135deg, var(--text-primary), rgba(255,255,255,0.65));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ TABLES ============ */
.glass-table {
  width: 100%;
  border-collapse: collapse;
}

.glass-table thead th {
  font-size: 0.7rem;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.7px;
  color: var(--text-muted);
  padding: 0.75rem 1rem;
  border-bottom: 1px solid var(--border-color);
  text-align: left;
  white-space: nowrap;
}

.glass-table tbody td {
  padding: 0.7rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  border-bottom: 1px solid rgba(255,255,255,0.02);
  vertical-align: middle;
}

.glass-table tbody tr {
  transition: background 0.15s ease;
}

.glass-table tbody tr:hover {
  background: rgba(255,255,255,0.02);
}

.glass-table tbody tr:last-child td { border-bottom: none; }

/* ============ BADGES ============ */
.badge-glass {
  padding: 0.3rem 0.65rem;
  border-radius: var(--radius-xl);
  font-size: 0.72rem;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 0.3rem;
  letter-spacing: 0.2px;
}

.badge-glass.success { background: var(--success-soft); color: var(--success); border: 1px solid rgba(52,211,153,0.15); }
.badge-glass.warning { background: var(--warning-soft); color: var(--warning); border: 1px solid rgba(251,191,36,0.15); }
.badge-glass.danger { background: var(--danger-soft); color: var(--danger); border: 1px solid rgba(248,113,113,0.15); }
.badge-glass.info { background: var(--info-soft); color: var(--info); border: 1px solid rgba(96,165,250,0.15); }
.badge-glass.purple { background: var(--accent-soft); color: var(--accent); border: 1px solid rgba(124,92,252,0.15); }
.badge-glass.muted { background: rgba(255,255,255,0.04); color: var(--text-muted); border: 1px solid var(--border-color); }

/* ============ BUTTONS ============ */
.btn-glass {
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.55rem 1.1rem;
  font-size: 0.835rem;
  font-weight: 500;
  font-family: inherit;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  cursor: pointer;
  transition: all 0.2s ease;
  text-decoration: none;
  white-space: nowrap;
}

.btn-glass:hover {
  background: var(--bg-card-hover);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.btn-primary-glass {
  background: linear-gradient(135deg, var(--accent), #6d4de8);
  border: 1px solid rgba(124,92,252,0.3);
  color: #fff;
  box-shadow: 0 4px 15px rgba(124,92,252,0.2);
}

.btn-primary-glass:hover {
  box-shadow: 0 6px 25px rgba(124,92,252,0.35);
  transform: translateY(-1px);
  color: #fff;
  border-color: rgba(124,92,252,0.5);
}

.btn-success-glass {
  background: var(--success-soft);
  border-color: rgba(52,211,153,0.2);
  color: var(--success);
}
.btn-success-glass:hover { background: rgba(52,211,153,0.15); border-color: rgba(52,211,153,0.3); color: var(--success); }

.btn-danger-glass {
  background: var(--danger-soft);
  border-color: rgba(248,113,113,0.2);
  color: var(--danger);
}
.btn-danger-glass:hover { background: rgba(248,113,113,0.15); border-color: rgba(248,113,113,0.3); color: var(--danger); }

.btn-warning-glass {
  background: var(--warning-soft);
  border-color: rgba(251,191,36,0.2);
  color: var(--warning);
}
.btn-warning-glass:hover { background: rgba(251,191,36,0.15); color: var(--warning); }

.btn-sm-glass {
  padding: 0.35rem 0.75rem;
  font-size: 0.77rem;
}

.btn-xs-glass {
  padding: 0.2rem 0.5rem;
  font-size: 0.72rem;
}

/* ============ FORMS ============ */
.form-glass {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.form-group label {
  display: block;
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.form-glass input,
.form-glass select,
.form-glass textarea,
.form-group input,
.form-group select,
.form-group textarea,
.input-glass,
.form-control {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.65rem 0.9rem;
  font-size: 0.875rem;
  font-family: inherit;
  transition: all 0.2s ease;
  outline: none;
}

.form-glass input:focus,
.form-glass select:focus,
.form-glass textarea:focus,
.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus,
.input-glass:focus,
.form-control:focus {
  border-color: rgba(124,92,252,0.4);
  background: rgba(124,92,252,0.04);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.08);
}

.form-glass input::placeholder,
.form-glass textarea::placeholder,
.form-group input::placeholder,
.form-group textarea::placeholder,
.input-glass::placeholder,
.form-control::placeholder {
  color: var(--text-muted);
}

.form-label {
  display: block;
  font-size: 0.77rem;
  font-weight: 500;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-bottom: 0.4rem;
}

.form-hint {
  font-size: 0.75rem;
  color: var(--text-muted);
  margin-top: 0.25rem;
}

.form-glass select option {
  background: #0a0a0f;
  color: var(--text-primary);
}

/* ============ ALERTS ============ */
.alert-glass {
  padding: 0.75rem 1rem;
  border-radius: var(--radius-md);
  font-size: 0.85rem;
  margin-bottom: 1rem;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  animation: fade-in 0.3s ease;
}

.alert-glass.success { background: var(--success-soft); border: 1px solid rgba(52,211,153,0.15); color: var(--success); }
.alert-glass.danger { background: var(--danger-soft); border: 1px solid rgba(248,113,113,0.15); color: var(--danger); }
.alert-glass.info { background: var(--info-soft); border: 1px solid rgba(96,165,250,0.15); color: var(--info); }
.alert-glass.warning { background: var(--warning-soft); border: 1px solid rgba(251,191,36,0.15); color: var(--warning); }

@keyframes fade-in {
  from { opacity: 0; transform: translateY(-5px); }
  to { opacity: 1; transform: translateY(0); }
}

/* ============ HERO ============ */
.hero {
  min-height: 80vh;
  display: flex;
  align-items: center;
  justify-content: center;
  text-align: center;
  padding: 4rem 1.5rem;
  position: relative;
}

.hero-content { max-width: 680px; }

.hero h1 {
  font-size: clamp(2.5rem, 6vw, 4rem);
  font-weight: 800;
  line-height: 1.1;
  margin-bottom: 1.25rem;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.45) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -1.5px;
}

.hero h1 .accent {
  background: linear-gradient(135deg, var(--accent), #a78bfa, #818cf8);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.hero p {
  font-size: 1.05rem;
  color: var(--text-secondary);
  line-height: 1.7;
  margin-bottom: 2rem;
  font-weight: 400;
}

.hero-btns {
  display: flex;
  gap: 0.75rem;
  justify-content: center;
  flex-wrap: wrap;
}

.hero-btn-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: linear-gradient(135deg, var(--accent), #6d4de8);
  color: #fff;
  font-weight: 600;
  font-size: 0.9rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all 0.3s ease;
  box-shadow: 0 4px 20px rgba(124,92,252,0.25);
  border: none;
  cursor: pointer;
  font-family: inherit;
}

.hero-btn-primary:hover {
  box-shadow: 0 8px 35px rgba(124,92,252,0.4);
  transform: translateY(-2px);
  color: #fff;
}

.hero-btn-secondary {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.75rem 1.75rem;
  background: rgba(255,255,255,0.04);
  color: var(--text-secondary);
  font-weight: 500;
  font-size: 0.9rem;
  border-radius: var(--radius-xl);
  text-decoration: none;
  transition: all 0.3s ease;
  border: 1px solid var(--border-color);
  font-family: inherit;
  cursor: pointer;
}

.hero-btn-secondary:hover {
  background: rgba(255,255,255,0.07);
  border-color: var(--border-hover);
  color: var(--text-primary);
}

/* ============ FEATURE GRID ============ */
.features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
  gap: 1rem;
  margin-top: 4rem;
}

.feature-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  text-align: center;
  transition: all 0.3s ease;
}

.feature-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
  background: var(--bg-card-hover);
}

.feature-card .feature-icon {
  width: 50px; height: 50px;
  border-radius: var(--radius-md);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.3rem;
  margin-bottom: 1rem;
  background: var(--accent-soft);
  color: var(--accent);
}

.feature-card h3 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.4rem;
  color: var(--text-primary);
}

.feature-card p {
  font-size: 0.8rem;
  color: var(--text-muted);
  line-height: 1.5;
}

/* ============ HOW IT WORKS ============ */
.steps {
  display: flex;
  justify-content: center;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 3rem;
}

.step {
  text-align: center;
  flex: 1;
  min-width: 200px;
  max-width: 250px;
}

.step-num {
  width: 44px; height: 44px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6d4de8);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 1rem;
  margin-bottom: 0.85rem;
  box-shadow: 0 4px 15px rgba(124,92,252,0.25);
}

.step h4 {
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.3rem;
}

.step p {
  font-size: 0.8rem;
  color: var(--text-muted);
}

/* ============ SECTION TITLES ============ */
.section-title {
  text-align: center;
  margin-bottom: 0.5rem;
  font-size: 1.75rem;
  font-weight: 700;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: -0.5px;
}

.section-subtitle {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.9rem;
  margin-bottom: 2rem;
}

/* ============ PAGE HEADER ============ */
.page-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 1.5rem;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.page-header h2 {
  font-size: 1.35rem;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.6) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* ============ STAT ROW ============ */
.stat-row {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 1rem;
  margin-bottom: 1.5rem;
}

/* ============ PAGINATION ============ */
.pagination-glass {
  display: flex;
  justify-content: center;
  gap: 0.25rem;
  margin-top: 1.5rem;
  list-style: none;
  padding: 0;
}

.pagination-glass a {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 34px;
  height: 34px;
  padding: 0 0.5rem;
  border-radius: var(--radius-sm);
  border: 1px solid var(--border-color);
  background: var(--bg-card);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
}

.pagination-glass a:hover {
  border-color: var(--border-hover);
  background: var(--bg-card-hover);
  color: var(--text-primary);
}

.pagination-glass a.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

/* ============ AUTH PAGES ============ */
.auth-page {
  min-height: calc(100vh - 60px);
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 2rem 1.5rem;
}

.auth-card {
  width: 100%;
  max-width: 400px;
}

.auth-card h2 {
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
  margin-bottom: 0.35rem;
  background: linear-gradient(180deg, rgba(255,255,255,1) 0%, rgba(255,255,255,0.5) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.auth-card .auth-sub {
  text-align: center;
  color: var(--text-muted);
  font-size: 0.85rem;
  margin-bottom: 1.5rem;
}

.auth-footer {
  text-align: center;
  margin-top: 1.25rem;
  font-size: 0.85rem;
  color: var(--text-muted);
}

.auth-footer a {
  color: var(--accent);
  text-decoration: none;
  font-weight: 500;
}

.auth-footer a:hover { text-decoration: underline; }

/* ============ MODAL ============ */
.modal-glass .modal-content {
  background: rgba(10, 10, 15, 0.95);
  backdrop-filter: var(--glass-blur);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  box-shadow: 0 25px 60px rgba(0,0,0,0.5);
}

.modal-glass .modal-header {
  border-bottom: 1px solid var(--border-color);
  padding: 1rem 1.25rem;
}

.modal-glass .modal-body { padding: 1.25rem; }
.modal-glass .modal-footer { border-top: 1px solid var(--border-color); padding: 1rem 1.25rem; }

/* ============ ACCORDION / FAQ ============ */
.faq-item {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-md);
  margin-bottom: 0.5rem;
  overflow: hidden;
  transition: all 0.2s ease;
}

.faq-item:hover { border-color: var(--border-hover); }

.faq-item summary {
  padding: 1rem 1.25rem;
  cursor: pointer;
  font-weight: 500;
  font-size: 0.9rem;
  color: var(--text-primary);
  list-style: none;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.faq-item summary::-webkit-details-marker { display: none; }
.faq-item summary::after { content: '+'; color: var(--text-muted); font-size: 1.25rem; }
.faq-item[open] summary::after { content: '-'; }

.faq-item .faq-body {
  padding: 0 1.25rem 1rem;
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ============ TICKET MESSAGES ============ */
.message-bubble {
  padding: 1rem;
  border-radius: var(--radius-md);
  margin-bottom: 0.75rem;
}

.message-bubble.user-msg {
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border-color);
}

.message-bubble.admin-msg {
  background: var(--accent-soft);
  border: 1px solid rgba(124,92,252,0.15);
}

.message-meta {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 0.5rem;
  font-size: 0.8rem;
}

.message-meta .author { font-weight: 600; color: var(--text-primary); }
.message-meta .time { color: var(--text-muted); }
.message-body { font-size: 0.875rem; color: var(--text-secondary); white-space: pre-wrap; line-height: 1.6; }

/* ============ SEARCH BAR ============ */
.search-bar {
  display: flex;
  gap: 0.5rem;
  align-items: center;
  flex-wrap: wrap;
  margin-bottom: 1rem;
}

.search-bar input, .search-bar select {
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.5rem 0.75rem;
  font-size: 0.835rem;
  font-family: inherit;
  outline: none;
  transition: all 0.2s ease;
}

.search-bar input:focus, .search-bar select:focus {
  border-color: rgba(124,92,252,0.4);
}

/* ============ FOOTER ============ */
.footer-glass {
  border-top: 1px solid var(--border-color);
  padding: 2rem 1.5rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.8rem;
  margin-top: auto;
}

.footer-glass a {
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.footer-glass a:hover { color: var(--text-secondary); }

/* ============ UTILS ============ */
.text-truncate { overflow: hidden; text-overflow: ellipsis; white-space: nowrap; max-width: 200px; display: inline-block; }
/* ============ STATS ROW (HOMEPAGE) ============ */
.stats-row {
  display: flex;
  justify-content: center;
  gap: 2.5rem;
  margin-top: 3rem;
  flex-wrap: wrap;
}

.stats-item { text-align: center; }

.stats-value {
  font-size: 2rem;
  font-weight: 800;
  background: linear-gradient(135deg, var(--accent), #a78bfa);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.stats-label {
  font-size: 0.8rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  margin-top: 0.15rem;
}

/* ============ TESTIMONIALS ============ */
.testimonials-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 1rem;
}

.testimonial-card {
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  padding: 1.5rem;
  transition: all 0.3s ease;
}

.testimonial-card:hover {
  border-color: var(--border-hover);
  transform: translateY(-3px);
}

.testimonial-stars {
  color: var(--warning);
  font-size: 0.85rem;
  margin-bottom: 0.75rem;
  display: flex;
  gap: 0.15rem;
}

.testimonial-text {
  font-size: 0.875rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 1rem;
  font-style: italic;
}

.testimonial-author {
  display: flex;
  align-items: center;
  gap: 0.65rem;
}

.testimonial-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), #6d4de8);
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 700;
  font-size: 0.85rem;
}

.testimonial-author strong {
  display: block;
  font-size: 0.85rem;
}

.testimonial-author span {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ============ SERVICE TABS ============ */
.service-tabs {
  display: flex;
  gap: 0.35rem;
  flex-wrap: wrap;
  margin-bottom: 1.25rem;
}

.service-tab {
  padding: 0.45rem 1rem;
  border-radius: var(--radius-xl);
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  font-family: inherit;
  white-space: nowrap;
}

.service-tab:hover {
  border-color: var(--border-hover);
  color: var(--text-primary);
}

.service-tab.active {
  background: var(--accent);
  border-color: var(--accent);
  color: #fff;
}

.service-category { display: none; }
.service-category.active { display: block; }

/* ============ TELEGRAM BUTTON ============ */
.telegram-btn {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 50;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  background: linear-gradient(135deg, #2AABEE, #229ED9);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  text-decoration: none;
  box-shadow: 0 4px 20px rgba(42, 171, 238, 0.3);
  transition: all 0.3s ease;
  border: none;
  cursor: pointer;
}

.telegram-btn:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 30px rgba(42, 171, 238, 0.4);
}

/* ============ DESCRIPTION MODAL ============ */
.desc-modal {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.desc-modal.open { display: flex; }

/* ============ MODAL OVERLAY (generic) ============ */
.modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 200;
  background: rgba(0,0,0,0.6);
  backdrop-filter: blur(8px);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 1rem;
}

.modal-overlay.open { display: flex; }

/* ============ CHECKBOX ============ */
.check-glass {
  display: flex;
  align-items: flex-start;
  gap: 0.5rem;
  font-size: 0.835rem;
  color: var(--text-secondary);
}

.check-glass input[type="checkbox"] {
  width: 16px;
  height: 16px;
  accent-color: var(--accent);
  margin-top: 2px;
  flex-shrink: 0;
}

.check-glass a { color: var(--accent); }

/* ============ DRIP FEED ============ */
.drip-feed-section {
  background: rgba(124, 92, 252, 0.04);
  border: 1px solid rgba(124, 92, 252, 0.1);
  border-radius: var(--radius-md);
  padding: 1rem;
}

.drip-feed-section label {
  color: var(--text-secondary) !important;
  text-transform: none !important;
  letter-spacing: 0 !important;
  font-size: 0.835rem !important;
}

.text-success { color: var(--success) !important; }
.text-danger { color: var(--danger) !important; }
.text-warning { color: var(--warning) !important; }
.text-info { color: var(--info) !important; }
.text-accent { color: var(--accent) !important; }
.text-muted { color: var(--text-muted) !important; }
.text-secondary { color: var(--text-secondary) !important; }
.fw-600 { font-weight: 600; }
.fw-700 { font-weight: 700; }
.mb-0 { margin-bottom: 0; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }
.gap-1 { gap: 0.5rem; }
.gap-2 { gap: 1rem; }
.d-flex { display: flex; }
.d-grid { display: grid; }
.d-inline { display: inline; }
.d-inline-flex { display: inline-flex; }
.align-center { align-items: center; }
.justify-between { justify-content: space-between; }
.flex-wrap { flex-wrap: wrap; }
.w-100 { width: 100%; }
.font-mono { font-family: 'SF Mono', 'Cascadia Code', monospace; }

.code-block {
  background: rgba(0,0,0,0.4);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  padding: 0.75rem 1rem;
  font-family: 'SF Mono', 'Cascadia Code', monospace;
  font-size: 0.835rem;
  color: var(--success);
  overflow-x: auto;
}

.grid-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.grid-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 1rem; }

@media (max-width: 768px) {
  .grid-2, .grid-3 { grid-template-columns: 1fr; }
  .stat-row { grid-template-columns: repeat(2, 1fr); }
  .hero h1 { font-size: 2.25rem; }
}

@media (max-width: 480px) {
  .stat-row { grid-template-columns: 1fr; }
}

/* Scrollbar */
::-webkit-scrollbar { width: 6px; height: 6px; }
::-webkit-scrollbar-track { background: transparent; }
::-webkit-scrollbar-thumb { background: rgba(255,255,255,0.1); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(255,255,255,0.2); }

/* ============ ADMIN NAV ============ */
.admin-nav {
  display: flex;
  gap: 0.25rem;
  padding: 0.5rem;
  background: var(--bg-card);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-lg);
  margin-bottom: 1.25rem;
  overflow-x: auto;
}

.admin-nav-item {
  display: flex;
  align-items: center;
  gap: 0.4rem;
  padding: 0.5rem 0.85rem;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-size: 0.8rem;
  font-weight: 500;
  text-decoration: none;
  transition: all 0.2s ease;
  white-space: nowrap;
  position: relative;
}

.admin-nav-item:hover {
  background: rgba(255,255,255,0.04);
  color: var(--text-primary);
}

.admin-nav-item.active {
  background: var(--accent);
  color: #fff;
}

.admin-nav-item i {
  font-size: 0.9rem;
}

.admin-nav-badge {
  background: var(--danger);
  color: #fff;
  font-size: 0.65rem;
  font-weight: 700;
  padding: 0.1rem 0.35rem;
  border-radius: 10px;
  min-width: 18px;
  text-align: center;
  line-height: 1.2;
}

/* Table responsive wrapper */
.table-wrap { overflow-x: auto; }

/* ============ PLATFORM ICONS ============ */
.platform-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 18px;
  height: 18px;
  flex-shrink: 0;
  vertical-align: middle;
}

.platform-icon svg {
  width: 100%;
  height: 100%;
}

.service-tab .platform-icon {
  width: 15px;
  height: 15px;
  margin-right: 4px;
}

.card-header .platform-icon {
  width: 20px;
  height: 20px;
  margin-right: 6px;
}

/* ============ CUSTOM SELECT DROPDOWN ============ */
.custom-select-wrap {
  position: relative;
  width: 100%;
}

.custom-select-trigger {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.65rem 2.5rem 0.65rem 0.9rem;
  font-size: 0.875rem;
  font-family: inherit;
  cursor: pointer;
  transition: all 0.2s ease;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  user-select: none;
}

.custom-select-trigger::after {
  content: '';
  position: absolute;
  right: 0.9rem;
  top: 50%;
  transform: translateY(-50%);
  width: 0;
  height: 0;
  border-left: 5px solid transparent;
  border-right: 5px solid transparent;
  border-top: 5px solid var(--text-muted);
  transition: transform 0.2s ease;
  pointer-events: none;
}

.custom-select-wrap.open .custom-select-trigger::after {
  transform: translateY(-50%) rotate(180deg);
}

.custom-select-trigger:hover {
  border-color: var(--border-hover);
}

.custom-select-wrap.open .custom-select-trigger {
  border-color: rgba(124,92,252,0.4);
  background: rgba(124,92,252,0.04);
  box-shadow: 0 0 0 3px rgba(124,92,252,0.08);
}

.custom-select-trigger .platform-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.custom-select-trigger .select-text {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
  flex: 1;
}

.custom-select-trigger .select-placeholder {
  color: var(--text-muted);
}

.custom-select-options {
  position: absolute;
  top: calc(100% + 4px);
  left: 0;
  right: 0;
  z-index: 100;
  background: rgba(12, 12, 20, 0.95);
  backdrop-filter: blur(24px);
  border: 1px solid var(--border-hover);
  border-radius: var(--radius-md);
  max-height: 280px;
  overflow-y: auto;
  display: none;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5), 0 0 0 1px rgba(255,255,255,0.03) inset;
  padding: 4px;
}

.custom-select-wrap.open .custom-select-options {
  display: block;
  animation: dropIn 0.15s ease-out;
}

@keyframes dropIn {
  from { opacity: 0; transform: translateY(-6px); }
  to { opacity: 1; transform: translateY(0); }
}

.custom-select-option {
  padding: 0.55rem 0.75rem;
  cursor: pointer;
  display: flex;
  align-items: center;
  gap: 0.5rem;
  border-radius: var(--radius-sm);
  font-size: 0.835rem;
  color: var(--text-secondary);
  transition: all 0.12s ease;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.custom-select-option:hover {
  background: rgba(124,92,252,0.1);
  color: var(--text-primary);
}

.custom-select-option.selected {
  background: rgba(124,92,252,0.12);
  color: var(--text-primary);
}

.custom-select-option .platform-icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
}

.custom-select-option .opt-rate {
  margin-left: auto;
  color: var(--success);
  font-weight: 600;
  font-size: 0.78rem;
  flex-shrink: 0;
}

.custom-select-search {
  padding: 0.5rem;
  position: sticky;
  top: 0;
  background: rgba(12, 12, 20, 0.98);
  z-index: 1;
}

.custom-select-search input {
  width: 100%;
  background: var(--bg-input);
  border: 1px solid var(--border-color);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  padding: 0.45rem 0.65rem;
  font-size: 0.8rem;
  font-family: inherit;
  outline: none;
  transition: border-color 0.2s ease;
}

.custom-select-search input:focus {
  border-color: rgba(124,92,252,0.4);
}

.custom-select-search input::placeholder {
  color: var(--text-muted);
}

.custom-select-group-label {
  padding: 0.4rem 0.75rem 0.25rem;
  font-size: 0.7rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  color: var(--text-muted);
  font-weight: 600;
  display: flex;
  align-items: center;
  gap: 0.4rem;
}

.custom-select-empty {
  padding: 1rem;
  text-align: center;
  color: var(--text-muted);
  font-size: 0.835rem;
}
