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

:root {
  --bg: #030408;
  --surface: rgba(255, 255, 255, 0.04);
  --surface-strong: rgba(255, 255, 255, 0.1);
  --border: rgba(255, 255, 255, 0.1);
  --text: #ffffff;
  --muted: #a1a1aa;
  --faint: #71717a;
  --primary: #f43f5e;
  --primary-dark: #be123c;
  --primary-glow: rgba(244, 63, 94, 0.4);
  --accent-purple: #a855f7;
  --accent-blue: #3b82f6;
  --accent-orange: #fb923c;
}

* { box-sizing: border-box; }
html, body { margin: 0; padding: 0; height: 100%; }
body {
  font-family: 'Inter', sans-serif;
  background: var(--bg);
  color: var(--text);
  line-height: 1.5;
  overflow-x: hidden;
}

/* Animated background */
.bg-orb {
  position: fixed; border-radius: 50%; filter: blur(90px);
  opacity: 0.55; pointer-events: none; z-index: 0;
}
.orb-1 { width: 600px; height: 600px; background: radial-gradient(circle, #f43f5e 0%, #a855f7 60%); top: -200px; right: -200px; animation: float 10s ease-in-out infinite; }
.orb-2 { width: 500px; height: 500px; background: radial-gradient(circle, #3b82f6 0%, #06b6d4 60%); bottom: -150px; left: -150px; animation: float 13s ease-in-out infinite reverse; }
.orb-3 { width: 400px; height: 400px; background: radial-gradient(circle, #f59e0b 0%, #ef4444 60%); top: 50%; left: 30%; transform: translate(-50%, -50%); animation: pulse 7s ease-in-out infinite; opacity: 0.35; }
.orb-4 { width: 350px; height: 350px; background: radial-gradient(circle, #8b5cf6 0%, #ec4899 60%); bottom: 20%; right: 10%; animation: float 16s ease-in-out infinite; opacity: 0.4; }

@keyframes float {
  0%, 100% { transform: translate(0, 0); }
  50% { transform: translate(30px, -30px); }
}
@keyframes pulse {
  0%, 100% { transform: translate(-50%, -50%) scale(1); }
  50% { transform: translate(-50%, -50%) scale(1.2); }
}

/* Stage animation */
.stage-animation {
  position: relative; width: 280px; height: 280px;
}
.stage-circle {
  position: absolute; inset: 0; border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  animation: spin 20s linear infinite;
}
.stage-circle:nth-child(2) { inset: 30px; animation-direction: reverse; animation-duration: 15s; }
.stage-circle:nth-child(3) { inset: 60px; animation-duration: 10s; }
.stage-avatar {
  position: absolute; inset: 80px; border-radius: 50%;
  background: conic-gradient(from 180deg, #a855f7, #3b82f6, #06b6d4, #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-size: 4rem; box-shadow: 0 0 80px rgba(168, 85, 247, 0.4);
  animation: breathe 4s ease-in-out infinite;
}
.stage-avatar::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  background: rgba(3, 4, 8, 0.85);
}
.stage-avatar i { position: relative; z-index: 1; background: linear-gradient(135deg, #a855f7, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.equalizer {
  position: absolute; bottom: 0; left: 50%; transform: translateX(-50%);
  display: flex; gap: 6px; align-items: flex-end; height: 60px;
}
.equalizer span {
  width: 6px; background: linear-gradient(to top, #a855f7, #3b82f6, #06b6d4);
  border-radius: 3px; animation: eq 1s ease-in-out infinite;
}
.equalizer span:nth-child(1) { height: 20px; animation-duration: 0.6s; }
.equalizer span:nth-child(2) { height: 40px; animation-duration: 0.8s; }
.equalizer span:nth-child(3) { height: 30px; animation-duration: 0.5s; }
.equalizer span:nth-child(4) { height: 50px; animation-duration: 0.7s; }
.equalizer span:nth-child(5) { height: 25px; animation-duration: 0.9s; }

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes breathe { 0%, 100% { transform: scale(1); } 50% { transform: scale(1.05); } }
@keyframes eq {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1); }
}

/* Layout */
.page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 1.5rem; position: relative; z-index: 1; }

/* Loading screen */
.loading-screen {
  position: fixed; inset: 0; z-index: 100;
  display: flex; align-items: center; justify-content: center;
  background: var(--bg);
  transition: opacity 0.35s ease, visibility 0.35s ease;
}
.loading-screen.hidden { opacity: 0; visibility: hidden; pointer-events: none; }
.loading-content { text-align: center; }
.loading-logo {
  width: 80px; height: 80px; margin: 0 auto 1.25rem;
  border-radius: 50%;
  background: conic-gradient(from 180deg, #a855f7, #3b82f6, #06b6d4, #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; box-shadow: 0 0 60px rgba(168, 85, 247, 0.35);
  animation: breathe 3s ease-in-out infinite;
  position: relative;
}
.loading-logo::before {
  content: ''; position: absolute; inset: 4px; border-radius: 50%;
  background: rgba(3, 4, 8, 0.85);
}
.loading-logo i { position: relative; z-index: 1; background: linear-gradient(135deg, #a855f7, #3b82f6); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.loading-spinner {
  width: 34px; height: 34px; margin: 1.25rem auto;
  border: 3px solid rgba(255,255,255,0.08);
  border-top-color: var(--primary);
  border-radius: 50%;
  animation: spin 0.9s linear infinite;
}
.loading-content .logo { margin-bottom: 0.25rem; }
.loading-content .text-muted { font-size: 0.8rem; margin: 0; }
.card {
  background: var(--surface); border: 1px solid var(--border);
  border-radius: 28px; backdrop-filter: blur(20px);
  box-shadow: 0 40px 80px rgba(0,0,0,0.5);
  width: 100%; max-width: 960px; overflow: hidden;
}
.card-inner { display: grid; grid-template-columns: 1fr 1fr; min-height: 560px; }

.left-side {
  background:
    radial-gradient(circle at 30% 20%, rgba(168,85,247,0.18) 0%, transparent 50%),
    radial-gradient(circle at 70% 80%, rgba(59,130,246,0.18) 0%, transparent 50%),
    linear-gradient(160deg, rgba(59,130,246,0.1) 0%, rgba(168,85,247,0.1) 100%);
  display: flex; flex-direction: column; align-items: center; justify-content: center;
  padding: 2.5rem; text-align: center; position: relative; overflow: hidden;
}
.left-side::before {
  content: ''; position: absolute; inset: 0;
  background: radial-gradient(circle at center, rgba(6,182,212,0.1) 0%, transparent 60%);
}
.right-side { padding: 2.5rem; display: flex; flex-direction: column; justify-content: center; }

.logo { font-size: 1.3rem; font-weight: 900; letter-spacing: -0.02em; text-decoration: none; }
.logo span {
  background: linear-gradient(135deg, #ff6b6b 0%, #f43f5e 50%, #a855f7 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

h1 { font-size: 2rem; font-weight: 800; margin: 0 0 0.5rem; letter-spacing: -0.02em; }
h1 .gradient { background: linear-gradient(135deg, #fff 0%, #f43f5e 50%, #a855f7 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; }
.subtitle { color: var(--muted); font-size: 0.92rem; margin-bottom: 1.75rem; }

.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 0.6rem;
  padding: 0.85rem 1.25rem; border-radius: 14px; border: none; cursor: pointer;
  font-weight: 600; font-size: 0.95rem; transition: all 0.2s ease; width: 100%;
}
.btn-primary {
  background: linear-gradient(135deg, #fff 0%, #f3f4f6 100%); color: #000; box-shadow: 0 4px 20px rgba(255,255,255,0.15);
}
.btn-primary:hover { box-shadow: 0 8px 30px rgba(255,255,255,0.25); }
.btn:disabled, .btn.disabled {
  opacity: 0.45; cursor: not-allowed; filter: grayscale(0.3);
}
.btn-primary:disabled, .btn-primary.disabled {
  background: linear-gradient(135deg, #e5e7eb 0%, #d1d5db 100%); color: #6b7280; box-shadow: none;
}
.btn-outline:disabled, .btn-outline.disabled {
  background: transparent; color: var(--faint); border-color: rgba(255,255,255,0.05);
}
.btn-google { background: #fff; color: #1f1f1f; border: 1px solid #dadce0; }
.btn-google:hover { background: #f3f4f6; }
.google-logo { width: 18px; height: 18px; flex-shrink: 0; }
.btn-demo {
  background: linear-gradient(135deg, rgba(244,63,94,0.15) 0%, rgba(168,85,247,0.15) 100%);
  color: #fff; border: 1px solid rgba(244,63,94,0.35);
  box-shadow: 0 4px 20px rgba(244,63,94,0.12);
}
.btn-demo:hover { background: linear-gradient(135deg, rgba(244,63,94,0.25) 0%, rgba(168,85,247,0.25) 100%); border-color: rgba(244,63,94,0.55); }
.btn-demo i { color: #fbbf24; }
.btn-phone {
  background: linear-gradient(135deg, rgba(59,130,246,0.15) 0%, rgba(168,85,247,0.15) 100%);
  color: #fff; border: 1px solid rgba(168,85,247,0.3);
}
.btn-phone:hover { background: linear-gradient(135deg, rgba(59,130,246,0.25) 0%, rgba(168,85,247,0.25) 100%); border-color: rgba(168,85,247,0.5); }
.btn-outline { background: transparent; color: var(--muted); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--primary); color: var(--primary); }
.btn-sm { padding: 0.5rem 0.75rem; font-size: 0.8rem; width: auto; }

.divider {
  display: flex; align-items: center; gap: 0.75rem; margin: 1.25rem 0;
  color: var(--faint); font-size: 0.75rem;
}
.divider::before, .divider::after { content: ''; flex: 1; height: 1px; background: var(--border); }

input, select, textarea {
  width: 100%; padding: 0.85rem 1rem; background: rgba(0,0,0,0.25);
  border: 1px solid var(--border); border-radius: 12px; color: #fff; font-size: 0.92rem;
  transition: all 0.2s ease;
}
input:focus, select:focus, textarea:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(244,63,94,0.12); }
input::placeholder { color: var(--faint); }

.form-group { margin-bottom: 0.9rem; }
label { display: block; font-size: 0.75rem; color: var(--muted); margin-bottom: 0.35rem; font-weight: 500; }

.tabs { display: flex; gap: 0.5rem; margin-bottom: 1.25rem; }
.tab {
  flex: 1; padding: 0.6rem; background: rgba(255,255,255,0.04); border: 1px solid var(--border);
  border-radius: 12px; color: var(--muted); cursor: pointer; font-size: 0.8rem; font-weight: 600;
  transition: all 0.2s ease;
}
.tab:hover { color: #fff; }
.tab.active {
  background: linear-gradient(135deg, rgba(244,63,94,0.15) 0%, rgba(168,85,247,0.15) 100%);
  color: #fff; border-color: rgba(244,63,94,0.4);
}

.panel-wrapper { position: relative; height: 240px; }
.panel { position: absolute; inset: 0; opacity: 0; pointer-events: none; transition: opacity 0.2s ease; display: flex; flex-direction: column; }
.panel.active { opacity: 1; pointer-events: auto; }

.otp-inputs { display: flex; gap: 0.6rem; justify-content: center; }
.otp-digit {
  width: 48px; height: 56px; text-align: center; font-size: 1.25rem; font-weight: 700;
  background: rgba(0,0,0,0.25); border: 1px solid var(--border); border-radius: 14px;
  color: #fff; transition: all 0.2s ease;
}
.otp-digit:focus { outline: none; border-color: var(--primary); box-shadow: 0 0 0 3px rgba(244,63,94,0.15); background: rgba(244,63,94,0.05); }
@media (max-width: 400px) {
  .otp-digit { width: 40px; height: 50px; font-size: 1.1rem; border-radius: 12px; }
  .otp-inputs { gap: 0.4rem; }
}

.text-link { color: var(--primary); cursor: pointer; font-weight: 600; }
.text-link:hover { text-decoration: none; }
.text-muted { color: var(--muted); font-size: 0.85rem; }
.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }

/* Dashboard */
.dashboard { min-height: 100vh; padding: 5rem 1.5rem 2rem; max-width: 1200px; margin: 0 auto; position: relative; z-index: 1; }
.header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(5,5,7,0.7); backdrop-filter: blur(20px); border-bottom: 1px solid var(--border);
}
.header-inner { max-width: 1200px; margin: 0 auto; padding: 0 1.5rem; height: 64px; display: flex; align-items: center; justify-content: space-between; }

.event-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.25rem; }
.event-card {
  background: var(--surface); border: 1px solid var(--border); border-radius: 20px;
  overflow: hidden; transition: all 0.25s ease;
}
.event-card:hover { border-color: rgba(255,255,255,0.15); }
.event-img { height: 160px; background-size: cover; background-position: center; position: relative; }
.event-img::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to top, rgba(5,5,7,0.9) 0%, transparent 60%); }
.event-body { padding: 1.25rem; }
.event-title { font-weight: 700; font-size: 1.05rem; margin-bottom: 0.4rem; }
.event-meta { color: var(--muted); font-size: 0.82rem; line-height: 1.8; }
.event-footer { display: flex; gap: 0.5rem; padding: 0 1.25rem 1.25rem; }

.status-badge {
  display: inline-block; padding: 0.2rem 0.55rem; border-radius: 999px; font-size: 0.65rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 0.03em;
}
.status-upcoming { background: rgba(34,197,94,0.15); color: #4ade80; }
.status-ongoing { background: rgba(245,158,11,0.15); color: #fbbf24; }
.status-completed { background: rgba(113,113,122,0.15); color: #a1a1aa; }
.status-cancelled { background: rgba(244,63,94,0.15); color: #fb7185; }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; color: var(--faint); }

.toast {
  position: fixed; bottom: 1.25rem; right: 1.25rem; z-index: 1000;
  padding: 0.85rem 1.25rem; border-radius: 14px; background: rgba(20,20,25,0.95);
  border: 1px solid var(--border); color: #fff; box-shadow: 0 20px 40px rgba(0,0,0,0.4);
  transform: translateY(150%); transition: transform 0.3s ease;
  backdrop-filter: blur(12px);
}
.toast.show { transform: translateY(0); }
.toast.error { border-color: rgba(220,38,38,0.5); }
.toast.success { border-color: rgba(34,197,94,0.5); }

/* ── PROFESSIONAL DASHBOARD ─────────────────────────────────── */
.dash-header {
  position: fixed; top: 0; left: 0; right: 0; z-index: 50;
  background: rgba(5,5,8,0.75); backdrop-filter: blur(24px);
  border-bottom: 1px solid rgba(255,255,255,0.06);
}
.dash-header-inner {
  max-width: 1400px; margin: 0 auto; padding: 0 1.5rem;
  height: 68px; display: flex; align-items: center; justify-content: space-between;
}
.dash-nav { display: flex; align-items: center; gap: 0.25rem; }
.dash-nav a {
  padding: 0.55rem 1rem; border-radius: 10px; color: var(--muted);
  font-size: 0.88rem; font-weight: 600; text-decoration: none; transition: all 0.2s ease;
}
.dash-nav a:hover { color: #fff; background: rgba(255,255,255,0.04); }
.dash-nav a.active { color: #fff; background: rgba(244,63,94,0.12); }
.dash-user { display: flex; align-items: center; gap: 0.75rem; }
.user-avatar {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, #f43f5e, #a855f7);
  display: flex; align-items: center; justify-content: center;
  font-weight: 700; font-size: 0.9rem; color: #fff;
}
.dash-user #user-name { font-weight: 600; font-size: 0.9rem; color: #fff; }

.dash-main {
  min-height: 100vh; padding: 6.5rem 1.5rem 2.5rem;
  max-width: 1400px; margin: 0 auto; position: relative; z-index: 1;
}

.stats-grid {
  display: grid; grid-template-columns: repeat(4, 1fr); gap: 1.25rem; margin-bottom: 1.75rem;
}
.stat-card {
  position: relative;
  background:
    radial-gradient(circle at 120% -20%, rgba(244,63,94,0.18) 0%, transparent 45%),
    radial-gradient(circle at -10% 120%, rgba(168,85,247,0.14) 0%, transparent 40%),
    linear-gradient(145deg, rgba(28,20,38,0.96) 0%, rgba(14,10,22,0.98) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 20px; padding: 1.25rem;
  transition: all 0.25s ease;
  box-shadow: 0 16px 34px rgba(0,0,0,0.35), inset 0 1px 0 rgba(255,255,255,0.06);
  overflow: hidden;
}
.stat-card::before {
  content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px;
  background: linear-gradient(90deg, rgba(244,63,94,0.5), rgba(168,85,247,0.5), rgba(59,130,246,0.5));
  opacity: 0.7;
}
.stat-card:hover { border-color: rgba(255,255,255,0.16); box-shadow: 0 24px 50px rgba(0,0,0,0.45), 0 0 24px rgba(168,85,247,0.12); transform: scale(1.01); }
.stat-header { display: flex; align-items: center; justify-content: space-between; margin-bottom: 0.75rem; }
.stat-label { font-size: 0.8rem; color: var(--muted); font-weight: 500; }
.stat-icon {
  width: 36px; height: 36px; border-radius: 10px;
  display: flex; align-items: center; justify-content: center;
  font-size: 0.95rem; border: 1px solid rgba(255,255,255,0.08);
}
.stat-icon.pink { background: linear-gradient(135deg, rgba(244,63,94,0.28), rgba(244,63,94,0.08)); color: #ff7a9a; box-shadow: 0 6px 16px rgba(244,63,94,0.22); }
.stat-icon.purple { background: linear-gradient(135deg, rgba(168,85,247,0.28), rgba(168,85,247,0.08)); color: #c49bfc; box-shadow: 0 6px 16px rgba(168,85,247,0.22); }
.stat-icon.blue { background: linear-gradient(135deg, rgba(59,130,246,0.28), rgba(59,130,246,0.08)); color: #7fb3ff; box-shadow: 0 6px 16px rgba(59,130,246,0.22); }
.stat-icon.green { background: linear-gradient(135deg, rgba(34,197,94,0.28), rgba(34,197,94,0.08)); color: #6ee7a0; box-shadow: 0 6px 16px rgba(34,197,94,0.22); }
.stat-value { font-size: 1.75rem; font-weight: 800; margin-bottom: 0.35rem; letter-spacing: -0.02em; }
.stat-meta { font-size: 0.78rem; color: var(--faint); }
.stat-meta.positive { color: #4ade80; }

.events-section {
  background:
    radial-gradient(circle at 10% 0%, rgba(168,85,247,0.10) 0%, transparent 40%),
    radial-gradient(circle at 90% 100%, rgba(244,63,94,0.08) 0%, transparent 40%),
    linear-gradient(180deg, rgba(22,16,32,0.92) 0%, rgba(10,8,14,0.96) 100%);
  border: 1px solid rgba(255,255,255,0.07);
  border-radius: 24px; padding: 1.5rem;
  box-shadow: 0 28px 60px rgba(0,0,0,0.4), inset 0 1px 0 rgba(255,255,255,0.06);
}
.section-header { display: flex; align-items: center; justify-content: space-between; gap: 1rem; margin-bottom: 1.25rem; }
.section-header h2 { font-size: 1.15rem; font-weight: 700; margin: 0 0 0.15rem; }
.section-header p { margin: 0; font-size: 0.82rem; color: var(--faint); }
.section-actions { display: flex; align-items: center; gap: 0.6rem; }
.search-box {
  position: relative; display: flex; align-items: center;
}
.search-box i { position: absolute; left: 0.85rem; color: var(--faint); font-size: 0.8rem; }
.search-box input {
  padding: 0.65rem 0.85rem 0.65rem 2.2rem; background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  color: #fff; font-size: 0.85rem; width: 220px;
}
.search-box input:focus { outline: none; border-color: var(--primary); }
.filter-select {
  padding: 0.65rem 0.85rem; background: rgba(0,0,0,0.25);
  border: 1px solid rgba(255,255,255,0.08); border-radius: 12px;
  color: #fff; font-size: 0.85rem; cursor: pointer;
}
.filter-select option { background: #0f0f14; color: #fff; }

.events-grid { display: grid; grid-template-columns: repeat(4, 1fr); gap: 1rem; }
.event-card {
  display: block; text-decoration: none; color: inherit;
  position: relative;
  background:
    radial-gradient(circle at 110% -10%, rgba(244,63,94,0.16) 0%, transparent 35%),
    radial-gradient(circle at -10% 110%, rgba(168,85,247,0.14) 0%, transparent 35%),
    linear-gradient(160deg, rgba(32,22,44,0.95) 0%, rgba(16,12,26,0.97) 45%, rgba(8,7,14,0.99) 100%);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: 18px; overflow: hidden;
  transition: all 0.3s ease;
  cursor: pointer;
  box-shadow: 0 18px 38px rgba(0,0,0,0.38), inset 0 1px 0 rgba(255,255,255,0.06);
}
.event-card::before {
  content: ''; position: absolute; inset: 0; pointer-events: none;
  border-radius: inherit;
  background: linear-gradient(120deg, rgba(255,255,255,0.05) 0%, transparent 40%);
}
.event-card:hover {
  border-color: rgba(255,255,255,0.18);
  box-shadow: 0 26px 54px rgba(0,0,0,0.48), 0 0 28px rgba(168,85,247,0.14);
  transform: scale(1.012);
}
.event-img { height: 130px; background-size: cover; background-position: center; position: relative; }
.event-img::after {
  content: ''; position: absolute; inset: 0;
  background:
    linear-gradient(to top, rgba(12,8,20,0.95) 0%, transparent 65%),
    radial-gradient(circle at top right, rgba(168,85,247,0.18) 0%, transparent 55%);
}
.event-status { position: absolute; top: 0.6rem; right: 0.6rem; z-index: 2; }
.event-body { padding: 0.85rem; }
.event-category { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.04em; color: var(--primary); margin-bottom: 0.25rem; }
.event-title { font-weight: 700; font-size: 0.92rem; margin-bottom: 0.45rem; line-height: 1.3; }
.event-meta { display: flex; flex-direction: column; gap: 0.25rem; font-size: 0.74rem; color: var(--muted); }
.event-meta i { width: 16px; color: var(--faint); }
.event-footer { display: none; }
.btn-manage { display: none; }
.event-progress { margin: 0 0.85rem 0.85rem; }
.progress-bar { height: 5px; background: rgba(255,255,255,0.07); border-radius: 3px; overflow: hidden; }
.progress-fill { height: 100%; border-radius: 3px; background: linear-gradient(90deg, #f43f5e, #a855f7); box-shadow: 0 0 10px rgba(244,63,94,0.35); }
.progress-text { display: flex; justify-content: space-between; font-size: 0.68rem; color: var(--faint); margin-top: 0.3rem; }

.empty-state { text-align: center; padding: 4rem 1rem; color: var(--muted); }
.empty-state i { font-size: 3rem; margin-bottom: 1rem; color: var(--faint); }
.empty-state h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 0.5rem; color: #fff; }
.empty-state p { margin-bottom: 1.25rem; }

.shimmer { background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%); background-size: 200% 100%; animation: shimmer 1.5s infinite; border-radius: 12px; }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

.tier-row {
  display: grid; grid-template-columns: 1.5fr 1fr 1fr 1fr auto; gap: 0.5rem; align-items: end;
  background: rgba(0,0,0,0.2); border: 1px solid var(--border); border-radius: 12px; padding: 0.75rem;
}

.hidden { display: none !important; }

/* ── MOBILE RESPONSIVE ─────────────────────────────────────── */
@media (max-width: 1100px) {
  .events-grid { grid-template-columns: repeat(3, 1fr); }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 900px) {
  .events-grid { grid-template-columns: repeat(2, 1fr); }
}

@media (max-width: 800px) {
  .page { padding: 0; align-items: flex-start; }
  .card { border-radius: 0; min-height: 100vh; max-width: 100%; box-shadow: none; border: none; background: transparent; }
  .card-inner { grid-template-columns: 1fr; min-height: auto; }

  .left-side {
    padding: 1.5rem 1.25rem 1rem; min-height: auto;
    background: transparent;
  }
  .left-side::before { display: none; }
  .stage-animation { width: 140px; height: 140px; }
  .stage-circle:nth-child(2) { inset: 18px; }
  .stage-circle:nth-child(3) { inset: 36px; }
  .stage-avatar { inset: 42px; font-size: 2rem; box-shadow: 0 0 30px rgba(239, 68, 68, 0.35); }
  .equalizer { height: 36px; gap: 4px; }
  .equalizer span { width: 4px; }
  .equalizer span:nth-child(1) { height: 12px; }
  .equalizer span:nth-child(2) { height: 24px; }
  .equalizer span:nth-child(3) { height: 18px; }
  .equalizer span:nth-child(4) { height: 30px; }
  .equalizer span:nth-child(5) { height: 15px; }

  .right-side { padding: 0 1.25rem 2rem; justify-content: flex-start; }
  h1 { font-size: 1.5rem; }
  .subtitle { font-size: 0.85rem; margin-bottom: 1.25rem; }

  .btn { padding: 0.75rem 1rem; font-size: 0.9rem; }
  .tabs { margin-bottom: 1rem; }
  .tab { padding: 0.5rem; font-size: 0.78rem; }
  input, select, textarea { padding: 0.75rem 0.9rem; }
  .form-group { margin-bottom: 0.75rem; }
  .divider { margin: 1rem 0; }

  /* Dashboard mobile */
  .dash-header-inner { padding: 0 1.25rem; height: 56px; }
  .dash-nav { display: none; }
  .dash-main { padding: 4.5rem 1.25rem 1.5rem; }
  .dash-user #user-name { display: none; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); gap: 0.6rem; margin-bottom: 1rem; }
  .stat-card { padding: 0.85rem; border-radius: 14px; }
  .stat-header { margin-bottom: 0.5rem; }
  .stat-label { font-size: 0.7rem; }
  .stat-icon { width: 28px; height: 28px; font-size: 0.8rem; border-radius: 8px; }
  .stat-value { font-size: 1.15rem; margin-bottom: 0.15rem; }
  .stat-meta { font-size: 0.68rem; }
  .events-section { padding: 1rem; border-radius: 18px; }
  .section-header { flex-direction: row; flex-wrap: wrap; align-items: center; gap: 0.5rem; margin-bottom: 0.75rem; }
  .section-header h2 { font-size: 0.95rem; }
  .section-header p { font-size: 0.72rem; }
  .section-actions { width: auto; flex: 1; justify-content: flex-end; gap: 0.4rem; }
  .search-box input { width: 110px; padding: 0.45rem 0.6rem 0.45rem 1.8rem; font-size: 0.72rem; border-radius: 8px; }
  .search-box i { left: 0.6rem; font-size: 0.7rem; }
  .filter-select { padding: 0.45rem 0.6rem; font-size: 0.72rem; border-radius: 8px; }
  .events-grid { grid-template-columns: repeat(2, 1fr); gap: 0.75rem; }
  .event-card { border-radius: 14px; }
  .event-img { height: 120px; }
  .event-body { padding: 0.75rem; }
  .event-category { font-size: 0.62rem; }
  .event-title { font-size: 0.88rem; margin-bottom: 0.35rem; }
  .event-meta { gap: 0.2rem; font-size: 0.7rem; }
  .event-progress { margin: 0 0.75rem 0.75rem; }
}

@media (max-width: 640px) {
  .events-grid { display: flex; flex-direction: column; gap: 0.85rem; }

  .section-header { flex-direction: column; align-items: flex-start; gap: 0.6rem; }
  .section-actions { width: 100%; justify-content: flex-start; gap: 0.5rem; }
  .search-box { flex: 1 1 0; min-width: 0; }
  .search-box input { width: 100%; min-width: 0; }
  .filter-select { flex: 0 0 auto; max-width: 130px; }
  .events-grid .event-card {
    border-radius: 18px;
    box-shadow: 0 14px 34px rgba(0,0,0,0.42), inset 0 1px 0 rgba(255,255,255,0.05);
  }

  /* Hero first card */
  .events-grid .event-card:first-child {
    display: flex; flex-direction: column;
  }
  .events-grid .event-card:first-child .event-img {
    height: 220px;
    aspect-ratio: 16 / 10;
  }
  .events-grid .event-card:first-child .event-title {
    font-size: 1.15rem;
    margin-bottom: 0.55rem;
  }
  .events-grid .event-card:first-child .event-body { padding: 1rem; }
  .events-grid .event-card:first-child .event-meta { font-size: 0.78rem; gap: 0.35rem; }
  .events-grid .event-card:first-child .event-progress { margin: 0 1rem 1rem; }

  /* Compact list cards */
  .events-grid .event-card:not(:first-child) {
    display: grid;
    grid-template-columns: 96px 1fr;
    grid-template-rows: 1fr auto;
    min-height: 96px;
  }
  .events-grid .event-card:not(:first-child) .event-img {
    grid-row: 1 / 3;
    height: 100%;
    min-height: 96px;
    border-radius: 0;
  }
  .events-grid .event-card:not(:first-child) .event-img::after {
    background: linear-gradient(to right, rgba(12,8,20,0.6) 0%, transparent 60%);
  }
  .events-grid .event-card:not(:first-child) .event-body {
    padding: 0.65rem 0.85rem;
    display: flex; flex-direction: column; justify-content: center;
    overflow: hidden;
  }
  .events-grid .event-card:not(:first-child) .event-category { display: none; }
  .events-grid .event-card:not(:first-child) .event-title {
    font-size: 0.92rem;
    margin-bottom: 0.25rem;
    white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
  }
  .events-grid .event-card:not(:first-child) .event-meta {
    font-size: 0.7rem; gap: 0.15rem;
  }
  .events-grid .event-card:not(:first-child) .event-meta div:not(:first-child) { display: none; }
  .events-grid .event-card:not(:first-child) .event-progress {
    grid-column: 2 / 3;
    margin: 0 0.85rem 0.65rem;
  }

  .tier-row { grid-template-columns: 1fr; }
  .event-grid { grid-template-columns: 1fr; }
  .dashboard { padding: 5rem 1rem 2rem; }
  .header-inner { padding: 0 1rem; }
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .dash-user #user-name { display: none; }
}
