/* ============================================================
   VOLTUM — Design System
   ============================================================ */
@import url('https://fonts.googleapis.com/css2?family=Space+Grotesk:wght@300;400;500;600;700;800&family=Space+Mono:wght@400;700&display=swap');

:root {
  --bg:         #050508;
  --bg2:        #08080f;
  --bg3:        #0d0d1a;
  --card:       rgba(139,92,246,0.04);
  --card-hover: rgba(139,92,246,0.08);
  --border:     rgba(139,92,246,0.18);
  --border2:    rgba(255,255,255,0.06);
  --purple:     #8B5CF6;
  --purple-l:   #A78BFA;
  --purple-d:   #6D28D9;
  --cyan:       #22D3EE;
  --cyan-l:     #67E8F9;
  --gold:       #F59E0B;
  --green:      #10B981;
  --red:        #EF4444;
  --text:       #F1F5F9;
  --muted:      #94A3B8;
  --muted2:     #475569;
  --gradient:   linear-gradient(135deg, #8B5CF6 0%, #22D3EE 100%);
  --gradient2:  linear-gradient(135deg, #6D28D9 0%, #0E7490 100%);
  --glow:       0 0 30px rgba(139,92,246,0.25);
  --glow-cyan:  0 0 30px rgba(34,211,238,0.2);
  --radius:     12px;
  --radius-lg:  20px;
  --radius-xl:  28px;
  --transition: all 0.25s cubic-bezier(0.4,0,0.2,1);
  --sidebar-w:  260px;
}

*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: 'Space Grotesk', sans-serif;
  background: var(--bg);
  color: var(--text);
  min-height: 100vh;
  line-height: 1.6;
  overflow-x: hidden;
}

/* ─── TYPOGRAPHY ─────────────────────────────────────────── */
h1,h2,h3,h4,h5 { line-height: 1.2; font-weight: 700; }
h1 { font-size: clamp(2rem, 5vw, 4rem); }
h2 { font-size: clamp(1.5rem, 3vw, 2.5rem); }
h3 { font-size: 1.25rem; }
p  { color: var(--muted); }
a  { color: var(--purple-l); text-decoration: none; transition: var(--transition); }
a:hover { color: var(--cyan); }

.gradient-text {
  background: var(--gradient);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.mono { font-family: 'Space Mono', monospace; }

/* ─── LAYOUT ─────────────────────────────────────────────── */
.container    { max-width: 1200px; margin: 0 auto; padding: 0 24px; }
.container-sm { max-width: 720px;  margin: 0 auto; padding: 0 24px; }

/* ─── BUTTONS ────────────────────────────────────────────── */
.btn {
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  padding: 10px 22px; border-radius: var(--radius); font-family: inherit;
  font-size: 0.95rem; font-weight: 600; border: none; cursor: pointer;
  transition: var(--transition); text-decoration: none; white-space: nowrap;
}
.btn-primary  { background: var(--gradient); color: #fff; box-shadow: 0 4px 20px rgba(139,92,246,0.35); }
.btn-primary:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(139,92,246,0.5); color: #fff; }
.btn-outline  { background: transparent; color: var(--text); border: 1px solid var(--border); }
.btn-outline:hover { border-color: var(--purple); color: var(--purple-l); background: var(--card); }
.btn-ghost    { background: transparent; color: var(--muted); }
.btn-ghost:hover { color: var(--text); }
.btn-danger   { background: rgba(239,68,68,0.1); color: var(--red); border: 1px solid rgba(239,68,68,0.2); }
.btn-danger:hover { background: rgba(239,68,68,0.2); }
.btn-sm  { padding: 7px 14px; font-size: 0.85rem; }
.btn-lg  { padding: 14px 32px; font-size: 1.05rem; border-radius: var(--radius-lg); }
.btn:disabled { opacity: 0.5; cursor: not-allowed; transform: none !important; }
.btn-full { width: 100%; }
.btn-icon { width: 38px; height: 38px; padding: 0; border-radius: 10px; }

/* ─── CARDS ──────────────────────────────────────────────── */
.card {
  background: var(--card); border: 1px solid var(--border2);
  border-radius: var(--radius-lg); padding: 24px; transition: var(--transition);
}
.card:hover { border-color: var(--border); }
.card-glass { background: rgba(13,13,26,0.8); backdrop-filter: blur(20px); border: 1px solid var(--border2); }

/* ─── FORMS ──────────────────────────────────────────────── */
.form-group { margin-bottom: 20px; }
.form-label { display: block; margin-bottom: 8px; font-size: 0.875rem; font-weight: 500; color: var(--muted); }
.form-input, .form-textarea, .form-select {
  width: 100%; padding: 12px 16px;
  background: rgba(255,255,255,0.04); border: 1px solid var(--border2);
  border-radius: var(--radius); color: var(--text); font-family: inherit;
  font-size: 0.95rem; transition: var(--transition); outline: none;
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
  border-color: var(--purple); background: rgba(139,92,246,0.05);
  box-shadow: 0 0 0 3px rgba(139,92,246,0.15);
}
.form-textarea { resize: vertical; min-height: 100px; }
.form-select   { cursor: pointer; }
.form-select option { background: var(--bg3); }
.form-hint  { margin-top: 6px; font-size: 0.8rem; color: var(--muted2); }
.form-error { margin-top: 6px; font-size: 0.8rem; color: var(--red); }

/* ─── BADGES ─────────────────────────────────────────────── */
.badge { display: inline-flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; font-size: 0.8rem; font-weight: 600; }
.badge-purple { background: rgba(139,92,246,0.15); color: var(--purple-l); border: 1px solid rgba(139,92,246,0.3); }
.badge-cyan   { background: rgba(34,211,238,0.1);  color: var(--cyan);     border: 1px solid rgba(34,211,238,0.25); }
.badge-gold   { background: rgba(245,158,11,0.1);  color: var(--gold);     border: 1px solid rgba(245,158,11,0.25); }
.badge-green  { background: rgba(16,185,129,0.1);  color: var(--green);    border: 1px solid rgba(16,185,129,0.25); }
.badge-red    { background: rgba(239,68,68,0.1);   color: var(--red);      border: 1px solid rgba(239,68,68,0.2);  }

/* ─── EQUALIZER ──────────────────────────────────────────── */
.equalizer { display: flex; gap: 3px; align-items: flex-end; height: 20px; }
.equalizer span { width: 3px; background: var(--gradient); border-radius: 2px; animation: eq 0.9s ease-in-out infinite alternate; }
.equalizer span:nth-child(1) { height: 8px;  animation-delay: 0.00s; }
.equalizer span:nth-child(2) { height: 16px; animation-delay: 0.15s; }
.equalizer span:nth-child(3) { height: 11px; animation-delay: 0.30s; }
.equalizer span:nth-child(4) { height: 20px; animation-delay: 0.10s; }
.equalizer span:nth-child(5) { height: 6px;  animation-delay: 0.45s; }
.equalizer span:nth-child(6) { height: 14px; animation-delay: 0.20s; }
@keyframes eq { from { transform: scaleY(0.25); } to { transform: scaleY(1); } }

/* ─── NAVBAR ─────────────────────────────────────────────── */
.navbar {
  position: fixed; top: 0; left: 0; right: 0; z-index: 100;
  background: rgba(5,5,8,0.85); backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2); padding: 16px 0; transition: var(--transition);
}
.navbar .container { display: flex; align-items: center; justify-content: space-between; }
.logo { display: flex; align-items: center; gap: 10px; font-size: 1.4rem; font-weight: 800; color: var(--text); letter-spacing: 2px; }
.logo-mark { width: 36px; height: 36px; background: var(--gradient); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1rem; }
.nav-links { display: flex; align-items: center; gap: 8px; }
.nav-links a { color: var(--muted); font-weight: 500; padding: 8px 12px; border-radius: var(--radius); transition: var(--transition); }
.nav-links a:hover { color: var(--text); background: var(--card); }

/* ─── HERO ───────────────────────────────────────────────── */
.hero { min-height: 100vh; display: flex; align-items: center; padding: 120px 0 80px; position: relative; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; pointer-events: none; }
.orb { position: absolute; border-radius: 50%; filter: blur(80px); opacity: 0.35; animation: float 8s ease-in-out infinite; }
.orb-1 { width: 500px; height: 500px; background: radial-gradient(circle, #8B5CF6, transparent); top: -100px; left: -150px; }
.orb-2 { width: 400px; height: 400px; background: radial-gradient(circle, #22D3EE, transparent); bottom: -80px; right: -100px; animation-delay: 3s; }
.orb-3 { width: 300px; height: 300px; background: radial-gradient(circle, #6D28D9, transparent); top: 40%; left: 50%; animation-delay: 5s; }
@keyframes float { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(-30px) scale(1.05); } }
.hero-content  { position: relative; z-index: 1; max-width: 800px; }
.hero-badge    { display: inline-flex; align-items: center; gap: 10px; padding: 8px 18px; border-radius: 100px; margin-bottom: 28px; background: rgba(139,92,246,0.1); border: 1px solid var(--border); font-size: 0.875rem; color: var(--purple-l); font-weight: 500; }
.hero-title    { font-size: clamp(2.5rem, 6vw, 5rem); font-weight: 800; margin-bottom: 24px; letter-spacing: -1px; }
.hero-subtitle { font-size: 1.15rem; color: var(--muted); max-width: 560px; margin-bottom: 40px; line-height: 1.7; }
.hero-actions  { display: flex; gap: 16px; flex-wrap: wrap; margin-bottom: 60px; }
.hero-stats    { display: flex; align-items: center; gap: 32px; }
.stat-number   { display: block; font-size: 2rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.stat-label    { font-size: 0.8rem; color: var(--muted2); }
.stat-divider  { width: 1px; height: 40px; background: var(--border2); }

/* ─── SECTIONS ───────────────────────────────────────────── */
section { padding: 100px 0; }
.section-header { text-align: center; margin-bottom: 60px; }
.section-badge  { display: inline-block; padding: 6px 16px; border-radius: 100px; margin-bottom: 16px; background: rgba(139,92,246,0.1); border: 1px solid var(--border); font-size: 0.8rem; color: var(--purple-l); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; }
.section-header h2 { margin-bottom: 16px; }
.section-header p  { font-size: 1.05rem; max-width: 500px; margin: 0 auto; }

/* ─── FEATURES ───────────────────────────────────────────── */
.features-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 24px; }
.feature-card { padding: 32px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border2); transition: var(--transition); position: relative; overflow: hidden; }
.feature-card::before { content: ''; position: absolute; inset: 0; opacity: 0; background: radial-gradient(circle at top left, rgba(139,92,246,0.08), transparent 60%); transition: var(--transition); }
.feature-card:hover { border-color: var(--border); transform: translateY(-4px); }
.feature-card:hover::before { opacity: 1; }
.feature-icon { width: 52px; height: 52px; border-radius: 14px; margin-bottom: 20px; display: flex; align-items: center; justify-content: center; font-size: 1.5rem; background: rgba(139,92,246,0.1); border: 1px solid var(--border); }
.feature-card h3 { margin-bottom: 10px; font-size: 1.1rem; }
.feature-card p  { font-size: 0.9rem; line-height: 1.65; }

/* ─── HOW IT WORKS ───────────────────────────────────────── */
.steps { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 32px; }
.step  { text-align: center; padding: 32px 24px; }
.step-number { width: 56px; height: 56px; border-radius: 50%; margin: 0 auto 20px; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-size: 1.3rem; font-weight: 800; color: #fff; font-family: 'Space Mono', monospace; }

/* ─── PRICING ────────────────────────────────────────────── */
.pricing-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 32px; max-width: 800px; margin: 0 auto; }
.pricing-card { border-radius: var(--radius-xl); padding: 40px 32px; position: relative; border: 1px solid var(--border2); background: var(--card); display: flex; flex-direction: column; }
.pricing-card.featured { background: linear-gradient(145deg, rgba(139,92,246,0.1), rgba(34,211,238,0.05)); border-color: var(--border); box-shadow: var(--glow); }
.pricing-popular { position: absolute; top: -14px; left: 50%; transform: translateX(-50%); padding: 4px 20px; border-radius: 100px; font-size: 0.8rem; font-weight: 700; background: var(--gradient); color: #fff; white-space: nowrap; }
.pricing-name   { font-size: 0.85rem; color: var(--muted); font-weight: 600; letter-spacing: 1px; text-transform: uppercase; margin-bottom: 16px; }
.pricing-price  { margin-bottom: 8px; display: flex; align-items: flex-end; gap: 4px; }
.price-amount   { font-size: 3rem; font-weight: 800; line-height: 1; }
.price-currency { font-size: 1rem; color: var(--muted); margin-bottom: 8px; }
.pricing-period { font-size: 0.85rem; color: var(--muted); margin-bottom: 32px; }
.pricing-features { list-style: none; margin-bottom: 36px; flex: 1; }
.pricing-features li { display: flex; align-items: center; gap: 10px; padding: 10px 0; border-bottom: 1px solid var(--border2); font-size: 0.9rem; color: var(--muted); }
.pricing-features li:last-child { border-bottom: none; }
.pricing-features li::before { content: '✓'; color: var(--green); font-weight: 700; flex-shrink: 0; }

/* ─── TESTIMONIALS ───────────────────────────────────────── */
.testimonials-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(280px, 1fr)); gap: 24px; }
.testimonial { padding: 28px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border2); }
.testimonial-text   { font-size: 0.95rem; color: var(--text); margin-bottom: 20px; font-style: italic; }
.testimonial-author { display: flex; align-items: center; gap: 12px; }
.testimonial-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--gradient); display: flex; align-items: center; justify-content: center; font-weight: 700; color: #fff; font-size: 1rem; flex-shrink: 0; }
.testimonial-name   { font-weight: 600; font-size: 0.9rem; }
.testimonial-role   { font-size: 0.8rem; color: var(--muted); }
.stars { color: var(--gold); font-size: 0.9rem; margin-bottom: 12px; }

/* ─── CTA ────────────────────────────────────────────────── */
.cta-section { text-align: center; padding: 100px 0; background: linear-gradient(180deg, transparent, rgba(139,92,246,0.05), transparent); }
.cta-section h2 { margin-bottom: 16px; }
.cta-section p  { margin-bottom: 40px; font-size: 1.05rem; }
.cta-actions    { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }

/* ─── FOOTER ─────────────────────────────────────────────── */
footer { padding: 60px 0 32px; border-top: 1px solid var(--border2); background: var(--bg2); }
.footer-grid  { display: grid; grid-template-columns: 2fr 1fr 1fr 1fr; gap: 48px; margin-bottom: 48px; }
.footer-brand .logo { margin-bottom: 16px; }
.footer-brand p { font-size: 0.9rem; line-height: 1.7; }
.footer-col h4  { font-size: 0.85rem; font-weight: 700; letter-spacing: 1px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; }
.footer-col ul  { list-style: none; }
.footer-col li  { margin-bottom: 10px; }
.footer-col a   { color: var(--muted); font-size: 0.9rem; }
.footer-col a:hover { color: var(--text); }
.footer-bottom  { display: flex; justify-content: space-between; align-items: center; padding-top: 24px; border-top: 1px solid var(--border2); }
.footer-bottom p { font-size: 0.85rem; }

/* ─── AUTH ───────────────────────────────────────────────── */
.auth-page { min-height: 100vh; display: grid; grid-template-columns: 1fr 1fr; }
.auth-left  { background: linear-gradient(145deg, var(--bg2), var(--bg3)); display: flex; flex-direction: column; justify-content: center; padding: 60px; position: relative; overflow: hidden; }
.auth-left::before { content: ''; position: absolute; inset: 0; background: radial-gradient(circle at 30% 60%, rgba(139,92,246,0.15), transparent 60%); }
.auth-left-content { position: relative; z-index: 1; }
.auth-right { display: flex; flex-direction: column; justify-content: center; padding: 60px; background: var(--bg); }
.auth-form-container { max-width: 420px; width: 100%; }
.auth-tabs { display: flex; margin-bottom: 36px; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border2); }
.auth-tab  { flex: 1; padding: 12px; text-align: center; cursor: pointer; background: transparent; border: none; color: var(--muted); font-family: inherit; font-weight: 600; font-size: 0.95rem; transition: var(--transition); }
.auth-tab.active { background: var(--gradient); color: #fff; }
.auth-features { margin-top: 48px; }
.auth-feature  { display: flex; align-items: center; gap: 12px; margin-bottom: 20px; }
.auth-feature-icon { width: 40px; height: 40px; border-radius: 10px; flex-shrink: 0; background: rgba(139,92,246,0.1); border: 1px solid var(--border); display: flex; align-items: center; justify-content: center; font-size: 1.1rem; }
.auth-feature-text h4 { font-size: 0.95rem; margin-bottom: 2px; }
.auth-feature-text p  { font-size: 0.82rem; }

/* ═══════════════════════════════════════════════════════════
   DASHBOARD LAYOUT — CORREGIDO
   Sidebar es position:fixed → usamos display:block en
   app-layout y margin-left + width en main-content.
   ═══════════════════════════════════════════════════════════ */
.app-layout { display: block; min-height: 100vh; }

.sidebar {
  position: fixed;
  top: 0;
  left: 0;
  width: var(--sidebar-w);
  height: 100vh;
  background: var(--bg2);
  border-right: 1px solid var(--border2);
  padding: 24px 16px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  z-index: 50;
}

.sidebar-logo { padding: 12px; margin-bottom: 32px; }
.sidebar-nav  { flex: 1; }

.sidebar-nav-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 11px 14px;
  border-radius: var(--radius);
  margin-bottom: 4px;
  color: var(--muted);
  font-weight: 500;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  background: transparent;
  width: 100%;
  font-family: inherit;
  font-size: 0.9rem;
  white-space: nowrap;
}
.sidebar-nav-item:hover  { color: var(--text); background: var(--card); }
.sidebar-nav-item.active { color: var(--purple-l); background: rgba(139,92,246,0.1); border: 1px solid var(--border); }
.sidebar-nav-item .nav-icon { font-size: 1.1rem; flex-shrink: 0; }
.sidebar-footer { padding-top: 16px; border-top: 1px solid var(--border2); }

.main-content { margin-left: var(--sidebar-w); padding: 40px; min-height: 100vh; }

.page-header    { margin-bottom: 32px; }
.page-header h1 { font-size: 1.75rem; margin-bottom: 6px; }
.page-header p  { font-size: 0.9rem; }

/* ─── STATS GRID ─────────────────────────────────────────── */
.stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
  margin-bottom: 28px;
}

.stat-card { padding: 24px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border2); position: relative; overflow: hidden; }
.stat-card::after { content: ''; position: absolute; top: 0; left: 0; right: 0; height: 2px; background: var(--gradient); }
.stat-card-icon  { font-size: 1.5rem; margin-bottom: 12px; }
.stat-card-value { font-size: 2rem; font-weight: 800; margin-bottom: 4px; }
.stat-card-label { font-size: 0.8rem; color: var(--muted); }

/* ─── MEMBERSHIP BANNER ──────────────────────────────────── */
.membership-banner {
  padding: 24px 28px;
  border-radius: var(--radius-xl);
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  flex-wrap: wrap;
  background: linear-gradient(135deg, rgba(139,92,246,0.15), rgba(34,211,238,0.08));
  border: 1px solid var(--border);
}
.membership-banner.inactive {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(239,68,68,0.05));
  border-color: rgba(245,158,11,0.3);
}
.membership-info    { flex: 1; min-width: 0; }
.membership-info h3 { margin-bottom: 4px; font-size: 1.1rem; }
.membership-info p  { font-size: 0.875rem; color: var(--muted); margin: 0; }
.membership-banner > div:last-child { flex-shrink: 0; }

/* ─── MID GRID ───────────────────────────────────────────── */
.mid-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 20px;
  margin-bottom: 28px;
}

/* ─── QUICK ACTIONS ──────────────────────────────────────── */
.quick-actions {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(160px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}
.quick-action { padding: 20px; border-radius: var(--radius-lg); text-align: center; background: var(--card); border: 1px solid var(--border2); transition: var(--transition); cursor: pointer; text-decoration: none; color: var(--text); display: flex; flex-direction: column; align-items: center; gap: 10px; }
.quick-action:hover { border-color: var(--border); background: var(--card-hover); transform: translateY(-2px); color: var(--text); }
.quick-action-icon  { font-size: 1.8rem; }
.quick-action-label { font-size: 0.875rem; font-weight: 600; }

/* ─── PROFILE EDITOR ─────────────────────────────────────── */
.profile-grid { display: grid; grid-template-columns: 1fr 340px; gap: 28px; align-items: start; }
.profile-tabs { display: flex; gap: 4px; margin-bottom: 28px; padding: 4px; background: var(--bg3); border-radius: var(--radius); flex-wrap: wrap; }
.profile-tab  { flex: 1; padding: 9px; text-align: center; cursor: pointer; border-radius: calc(var(--radius) - 2px); border: none; background: transparent; font-family: inherit; font-weight: 500; font-size: 0.875rem; color: var(--muted); transition: var(--transition); min-width: 60px; }
.profile-tab.active { background: var(--bg); color: var(--text); }
.tab-content        { display: none; }
.tab-content.active { display: block; }

.genres-input-area { display: flex; flex-wrap: wrap; gap: 8px; padding: 12px; background: rgba(255,255,255,0.04); border: 1px solid var(--border2); border-radius: var(--radius); min-height: 52px; cursor: text; }
.genre-tag         { display: flex; align-items: center; gap: 6px; padding: 4px 12px; border-radius: 100px; background: rgba(139,92,246,0.15); border: 1px solid var(--border); font-size: 0.82rem; color: var(--purple-l); }
.genre-tag button  { background: none; border: none; color: var(--muted); cursor: pointer; font-size: 1rem; line-height: 1; padding: 0; }
.genres-input-area input { border: none; background: none; outline: none; color: var(--text); font-family: inherit; font-size: 0.9rem; min-width: 100px; flex: 1; }

.social-field { display: flex; align-items: center; gap: 12px; margin-bottom: 12px; }
.social-icon  { width: 40px; height: 40px; border-radius: 10px; display: flex; align-items: center; justify-content: center; font-size: 1.1rem; flex-shrink: 0; background: var(--card); border: 1px solid var(--border2); }
.social-field input { flex: 1; }

.events-list  { margin-bottom: 16px; }
.event-item   { display: flex; align-items: center; gap: 12px; padding: 14px 16px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border2); margin-bottom: 8px; }
.event-date-badge { background: rgba(139,92,246,0.1); border: 1px solid var(--border); border-radius: 10px; padding: 8px 12px; text-align: center; min-width: 56px; flex-shrink: 0; }
.event-date-month { font-size: 0.7rem; color: var(--purple-l); font-weight: 700; text-transform: uppercase; }
.event-date-day   { font-size: 1.3rem; font-weight: 800; line-height: 1; }
.event-info        { flex: 1; }
.event-info strong { font-size: 0.95rem; }
.event-info span   { font-size: 0.8rem; color: var(--muted); display: block; }

/* ─── IMAGE UPLOAD ───────────────────────────────────────── */
.image-upload { border: 2px dashed var(--border2); border-radius: var(--radius-lg); padding: 40px; text-align: center; cursor: pointer; transition: var(--transition); position: relative; overflow: hidden; }
.image-upload:hover     { border-color: var(--border); background: var(--card); }
.image-upload.has-image { padding: 0; border-style: solid; }
.image-upload img       { width: 100%; height: 200px; object-fit: cover; border-radius: calc(var(--radius-lg) - 2px); display: block; }
.image-upload input     { position: absolute; inset: 0; opacity: 0; cursor: pointer; }
.upload-icon { font-size: 2rem; margin-bottom: 8px; }
.image-upload p { font-size: 0.85rem; }
.avatar-upload     { width: 120px; height: 120px; border-radius: 50%; }
.avatar-upload img { height: 120px; border-radius: 50%; }

/* ─── PRESSKIT ───────────────────────────────────────────── */
.presskit-page    { min-height: 100vh; background: var(--bg); }
.presskit-banner  { height: 340px; position: relative; overflow: hidden; background: linear-gradient(135deg, var(--bg3), var(--bg2)); }
.presskit-banner img { width: 100%; height: 100%; object-fit: cover; }
.presskit-banner-overlay { position: absolute; inset: 0; background: linear-gradient(180deg, transparent 30%, var(--bg) 100%); }
.presskit-header  { max-width: 900px; margin: 0 auto; padding: 0 24px; display: flex; align-items: flex-end; gap: 28px; transform: translateY(-60px); margin-bottom: -40px; }
.presskit-avatar  { width: 140px; height: 140px; border-radius: 50%; flex-shrink: 0; border: 4px solid var(--bg); object-fit: cover; background: linear-gradient(135deg, var(--purple), var(--cyan)); display: flex; align-items: center; justify-content: center; font-size: 3rem; font-weight: 800; color: #fff; overflow: hidden; }
.presskit-name    { font-size: 2.5rem; font-weight: 800; letter-spacing: -1px; }
.presskit-body    { max-width: 900px; margin: 0 auto; padding: 32px 24px 80px; }
.presskit-section { margin-bottom: 48px; }
.presskit-section-title { font-size: 0.8rem; font-weight: 700; letter-spacing: 2px; text-transform: uppercase; color: var(--muted); margin-bottom: 16px; padding-bottom: 12px; border-bottom: 1px solid var(--border2); }
.genres-display   { display: flex; flex-wrap: wrap; gap: 8px; }
.genres-display span { padding: 6px 16px; border-radius: 100px; background: rgba(139,92,246,0.1); border: 1px solid var(--border); color: var(--purple-l); font-size: 0.875rem; font-weight: 500; }
.socials-display  { display: flex; gap: 12px; flex-wrap: wrap; }
.social-link      { display: flex; align-items: center; gap: 8px; padding: 10px 20px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border2); color: var(--muted); font-size: 0.875rem; transition: var(--transition); }
.social-link:hover { border-color: var(--border); color: var(--text); background: var(--card-hover); }
.presskit-events  { display: grid; gap: 12px; }
.presskit-event   { display: flex; align-items: center; gap: 16px; padding: 16px 20px; border-radius: var(--radius-lg); background: var(--card); border: 1px solid var(--border2); }
.rider-content    { padding: 20px; background: var(--card); border: 1px solid var(--border2); border-radius: var(--radius-lg); white-space: pre-wrap; font-size: 0.9rem; color: var(--muted); line-height: 1.8; }

/* ─── PAYMENT ────────────────────────────────────────────── */
.payment-page   { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 32px; }
.payment-card   { max-width: 460px; width: 100%; }
.payment-amount { text-align: center; padding: 32px; margin-bottom: 28px; background: linear-gradient(135deg, rgba(139,92,246,0.1), rgba(34,211,238,0.05)); border: 1px solid var(--border); border-radius: var(--radius-xl); }
.payment-amount-value { font-size: 3.5rem; font-weight: 800; background: var(--gradient); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.payment-benefits { list-style: none; margin-bottom: 32px; }
.payment-benefits li { display: flex; align-items: center; gap: 10px; padding: 12px 0; border-bottom: 1px solid var(--border2); font-size: 0.9rem; color: var(--muted); }
.payment-benefits li:last-child { border-bottom: none; }
.payment-benefits li::before { content: '⚡'; flex-shrink: 0; }
.trust-badges { display: flex; justify-content: center; gap: 20px; margin-top: 20px; flex-wrap: wrap; }
.trust-badge  { display: flex; align-items: center; gap: 6px; font-size: 0.78rem; color: var(--muted2); }

/* ─── SUCCESS ────────────────────────────────────────────── */
.success-page  { min-height: 100vh; display: flex; align-items: center; justify-content: center; text-align: center; padding: 32px; }
.success-icon  { font-size: 4rem; margin-bottom: 24px; animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275); }
@keyframes popIn { from { transform: scale(0); opacity: 0; } to { transform: scale(1); opacity: 1; } }
.confetti-ring { width: 120px; height: 120px; border-radius: 50%; margin: 0 auto 28px; border: 3px solid var(--green); background: rgba(16,185,129,0.1); display: flex; align-items: center; justify-content: center; font-size: 3rem; box-shadow: 0 0 40px rgba(16,185,129,0.3); animation: popIn 0.5s cubic-bezier(0.175,0.885,0.32,1.275); }

/* ─── TOAST ──────────────────────────────────────────────── */
.toast { position: fixed; bottom: 24px; right: 24px; z-index: 9999; padding: 14px 20px; border-radius: var(--radius); font-size: 0.9rem; font-weight: 500; transform: translateY(20px); opacity: 0; transition: var(--transition); max-width: 340px; }
.toast.show    { transform: translateY(0); opacity: 1; }
.toast-success { background: rgba(16,185,129,0.15); border: 1px solid rgba(16,185,129,0.3); color: var(--green); }
.toast-error   { background: rgba(239,68,68,0.15);  border: 1px solid rgba(239,68,68,0.3);  color: var(--red); }
.toast-info    { background: rgba(139,92,246,0.15); border: 1px solid var(--border); color: var(--purple-l); }

/* ─── LOADING ────────────────────────────────────────────── */
.spinner { width: 40px; height: 40px; border-radius: 50%; border: 3px solid var(--border2); border-top-color: var(--purple); animation: spin 0.8s linear infinite; margin: 60px auto; }
@keyframes spin { to { transform: rotate(360deg); } }
.loading-overlay { position: fixed; inset: 0; z-index: 9998; background: rgba(5,5,8,0.8); backdrop-filter: blur(8px); display: flex; align-items: center; justify-content: center; }
.hidden { display: none !important; }

/* ─── SCROLLBAR ──────────────────────────────────────────── */
::-webkit-scrollbar       { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--muted2); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: var(--purple); }

/* ─── DIVIDER ────────────────────────────────────────────── */
.divider { height: 1px; background: var(--border2); margin: 28px 0; }

/* ─── RESPONSIVE ─────────────────────────────────────────── */
@media (max-width: 1200px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 1024px) {
  .footer-grid  { grid-template-columns: 1fr 1fr; }
  .profile-grid { grid-template-columns: 1fr; }
}
@media (max-width: 768px) {
  .auth-page    { grid-template-columns: 1fr; }
  .auth-left    { display: none; }
  .sidebar      { display: none; }
  .main-content { margin-left: 0; width: 100%; padding: 20px; }
  .footer-grid  { grid-template-columns: 1fr; gap: 32px; }
  .hero-stats   { flex-direction: column; gap: 16px; }
  .stat-divider { display: none; }
  .membership-banner { flex-direction: column; align-items: flex-start; }
  .presskit-header   { flex-direction: column; align-items: flex-start; }
  .page-header h1    { font-size: 1.4rem; }
  .mid-grid          { grid-template-columns: 1fr; }
  .stats-grid        { grid-template-columns: repeat(2, 1fr); }
}
@media (max-width: 480px) {
  .nav-links .btn-ghost { display: none; }
  .hero-actions         { flex-direction: column; }
  .btn-lg               { width: 100%; text-align: center; }
  .stats-grid           { grid-template-columns: 1fr; }
}

/* ═══════════════════════════════════════════════════════════
   MOBILE NAVIGATION — Hamburger + Topbar + Sidebar overlay
   ═══════════════════════════════════════════════════════════ */

/* Hamburger button (landing + payment navbar) */
.nav-hamburger {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  background: none;
  border: none;
  cursor: pointer;
  padding: 6px;
  z-index: 200;
  flex-shrink: 0;
}
.nav-hamburger span {
  display: block;
  width: 22px;
  height: 2px;
  background: var(--text);
  border-radius: 2px;
  transition: var(--transition);
  transform-origin: center;
}
.nav-hamburger.open span:nth-child(1) { transform: translateY(7px) rotate(45deg); }
.nav-hamburger.open span:nth-child(2) { opacity: 0; transform: scaleX(0); }
.nav-hamburger.open span:nth-child(3) { transform: translateY(-7px) rotate(-45deg); }

/* Mobile fullscreen menu (landing) */
.nav-mobile-menu {
  display: none;
  position: fixed;
  top: 68px;
  left: 0; right: 0;
  background: rgba(5,5,8,0.98);
  backdrop-filter: blur(24px);
  border-bottom: 1px solid var(--border2);
  padding: 16px;
  flex-direction: column;
  gap: 8px;
  z-index: 97;
  box-shadow: 0 12px 40px rgba(0,0,0,0.5);
}
.nav-mobile-menu.open { display: flex; }
.nav-mobile-menu .btn { width: 100%; justify-content: center; }
.nav-mobile-menu a[href^="#"] { color: var(--muted); font-weight: 500; padding: 12px; text-align: center; border-radius: var(--radius); transition: var(--transition); }
.nav-mobile-menu a[href^="#"]:hover { background: var(--card); color: var(--text); }

/* Mobile topbar (app pages: dashboard / profile / admin) */
.mobile-topbar {
  display: none;
  position: fixed;
  top: 0; left: 0; right: 0;
  height: 60px;
  background: rgba(8,8,15,0.95);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid var(--border2);
  z-index: 60;
  align-items: center;
  justify-content: space-between;
  padding: 0 16px;
}

/* Overlay behind sidebar on mobile */
.sidebar-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.65);
  backdrop-filter: blur(2px);
  z-index: 54;
}
.sidebar-overlay.visible { display: block; }

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 768px (tablet / mobile)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 768px) {
  /* Navbar */
  .nav-links { display: none !important; }
  .nav-hamburger { display: flex; }

  /* App sidebar */
  .mobile-topbar { display: flex; }
  .sidebar {
    transform: translateX(-100%);
    transition: transform 0.28s cubic-bezier(0.4,0,0.2,1);
    z-index: 55;
  }
  .sidebar.mobile-open { transform: translateX(0); box-shadow: 8px 0 40px rgba(0,0,0,0.6); }
  .main-content { margin-left: 0 !important; padding: 76px 16px 32px; }

  /* Auth */
  .auth-right { padding: 32px 20px; align-items: flex-start; }
  .auth-form-container { max-width: 100%; }

  /* Footer */
  .footer-bottom { flex-direction: column; gap: 16px; text-align: center; }
  .footer-bottom > div { flex-wrap: wrap; justify-content: center; }

  /* Press kit */
  .presskit-name   { font-size: 1.75rem; }
  .presskit-avatar { width: 100px; height: 100px; font-size: 2.2rem; }
  .presskit-header { gap: 16px; padding: 0 16px; }
  .presskit-body   { padding: 24px 16px 60px; }

  /* Payment */
  .payment-page { padding: 24px 16px; align-items: flex-start; }

  /* Profile tabs — scroll horizontal */
  .profile-tabs   { overflow-x: auto; flex-wrap: nowrap; -webkit-overflow-scrolling: touch; }
  .profile-tab    { flex-shrink: 0; }

  /* Copy link */
  .copy-link-area { flex-direction: column; }
  .copy-link-area .btn { width: 100%; }

  /* Save bar */
  .save-bar { justify-content: stretch; }
  .save-bar .btn { flex: 1; }
}

/* ═══════════════════════════════════════════════════════════
   RESPONSIVE — 480px (móvil pequeño)
   ═══════════════════════════════════════════════════════════ */
@media (max-width: 480px) {
  .hero-badge   { font-size: 0.75rem; padding: 6px 12px; gap: 6px; }
  .hero-title   { font-size: clamp(2rem, 8vw, 3rem); }
  .hero-stats   { gap: 12px; }

  .cta-actions  { flex-direction: column; align-items: stretch; }
  .cta-actions .btn { width: 100%; }

  .steps { gap: 16px; }
  .step  { padding: 24px 16px; }

  .quick-actions { grid-template-columns: 1fr 1fr; }

  .presskit-name   { font-size: 1.4rem; }
  .presskit-avatar { width: 80px; height: 80px; font-size: 1.8rem; }
  .presskit-header { transform: translateY(-30px); margin-bottom: -15px; }
  .presskit-event  { flex-wrap: wrap; gap: 10px; }

  .socials-display { gap: 8px; }
  .social-link     { padding: 8px 14px; font-size: 0.8rem; }

  .trust-badges    { flex-direction: column; align-items: center; gap: 10px; }

  .payment-amount-value { font-size: 2.5rem; }

  .stats-grid      { grid-template-columns: 1fr 1fr; }

  .admin-tabs      { overflow-x: auto; flex-wrap: nowrap; width: 100%; }
  .admin-tab       { flex-shrink: 0; }

  .revenue-card    { flex-direction: column; align-items: flex-start; }
}
