
/* ═══════════════════════════════════════════════════════════════
   POP UP LA — Static Site Design System
   Colors: Pink #ff1d58, Purple #2D0052, Orange #ff8c00
   ═══════════════════════════════════════════════════════════════ */

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

:root {
  --pink: #ff1d58;
  --pink-light: #ff69b4;
  --purple: #2D0052;
  --purple-dark: #1a0033;
  --orange: #ff8c00;
  --bg: #FFF5F7;
  --card-bg: #2D0052;
  --text: #1a1a2e;
  --text-light: rgba(255,255,255,0.7);
  --radius: 24px;
  --radius-sm: 12px;
  --shadow: 0 18px 45px rgba(45, 0, 82, 0.22);
  --font: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
}

body {
  font-family: var(--font);
  background: linear-gradient(135deg, var(--bg) 0%, #ffffff 100%);
  color: var(--text);
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
}

a { color: var(--pink); text-decoration: none; }
a:hover { text-decoration: underline; }

img { max-width: 100%; height: auto; }

/* ─── Navigation ──────────────────────────────────────────── */

.app-banner {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  padding: 10px 20px;
  background: linear-gradient(90deg, var(--purple), #4a0e8f);
  color: #fff;
  font-size: 13px;
  font-weight: 600;
  text-align: center;
}
.app-banner a { color: #fff; text-decoration: underline; }
.app-banner strong { font-weight: 900; }
.banner-close {
  background: none;
  border: none;
  color: rgba(255,255,255,0.7);
  font-size: 18px;
  cursor: pointer;
  padding: 4px 8px;
}
.banner-close:hover { color: #fff; }

.site-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 24px;
  background: rgba(255,255,255,0.92);
  backdrop-filter: blur(12px);
  border-bottom: 1px solid rgba(45,0,82,0.06);
}

.nav-logo {
  font-size: 22px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), #7a2cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  text-decoration: none;
}

.nav-links {
  display: flex;
  align-items: center;
  gap: 24px;
}

.nav-links a {
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  transition: color 0.2s;
}
.nav-links a:hover { color: var(--pink); text-decoration: none; }

.nav-login {
  background: var(--pink) !important;
  color: #fff !important;
  padding: 8px 18px;
  border-radius: 999px;
  font-weight: 700 !important;
}
.nav-login:hover { opacity: 0.9; }

.nav-hamburger {
  display: none;
  background: none;
  border: none;
  font-size: 24px;
  cursor: pointer;
}

/* ─── Nav Dropdown ────────────────────────────────────────── */

.nav-dropdown {
  position: relative;
}

.nav-dropdown-toggle {
  background: none;
  border: none;
  color: var(--text);
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  font-family: var(--font);
  padding: 0;
  display: flex;
  align-items: center;
  gap: 3px;
  transition: color 0.2s;
}
.nav-dropdown-toggle:hover { color: var(--pink); }

.nav-dropdown-arrow {
  font-size: 10px;
  transition: transform 0.2s;
}

.nav-dropdown-menu {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 8px 30px rgba(45,0,82,0.12);
  border: 1px solid rgba(45,0,82,0.06);
  min-width: 160px;
  padding: 8px 0;
  z-index: 200;
}

.nav-dropdown-menu a {
  display: block;
  padding: 10px 18px;
  font-size: 14px;
  font-weight: 600;
  color: var(--text);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
}
.nav-dropdown-menu a:hover {
  background: rgba(255,29,88,0.06);
  color: var(--pink);
  text-decoration: none;
}

/* Desktop: hover to open */
@media (hover: hover) {
  .nav-dropdown:hover .nav-dropdown-menu {
    display: block;
  }
  .nav-dropdown:hover .nav-dropdown-arrow {
    transform: rotate(180deg);
  }
}

/* Touch/click: toggle via JS class */
.nav-dropdown.open .nav-dropdown-menu {
  display: block;
}
.nav-dropdown.open .nav-dropdown-arrow {
  transform: rotate(180deg);
}

/* ─── Hero ────────────────────────────────────────────────── */

.hero {
  text-align: center;
  padding: 60px 20px 30px;
}

.hero-title {
  font-size: 48px;
  font-weight: 900;
  background: linear-gradient(90deg, var(--pink), #7a2cff);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  margin-bottom: 8px;
}

.hero-subtitle {
  font-size: 16px;
  color: #666;
  font-weight: 600;
  margin-bottom: 24px;
}

.search-bar {
  max-width: 500px;
  margin: 0 auto;
}

.search-bar input {
  width: 100%;
  padding: 14px 20px;
  border: 2px solid rgba(45,0,82,0.08);
  border-radius: 999px;
  font-size: 15px;
  font-family: var(--font);
  background: #fff;
  box-shadow: 0 8px 24px rgba(45,0,82,0.06);
  outline: none;
  transition: border-color 0.2s;
}
.search-bar input:focus { border-color: var(--pink); }

/* ─── Filter Row ──────────────────────────────────────────── */

.live-filter-row {
  display: flex;
  gap: 8px;
  padding: 0 20px 10px;
  max-width: 900px;
  margin: 0 auto;
}

.live-filter-btn {
  padding: 8px 16px;
  border-radius: 10px;
  border: none;
  font-size: 13px;
  font-weight: 800;
  cursor: pointer;
  background: rgba(45,0,82,0.05);
  color: #555;
  transition: all 0.2s;
}
.live-filter-btn:hover { background: rgba(255,29,88,0.08); }
.live-filter-btn.active {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,29,88,0.3);
}

.type-filter-row {
  display: flex;
  gap: 8px;
  overflow-x: auto;
  padding: 12px 24px 4px;
  -webkit-overflow-scrolling: touch;
}
.type-filter-row::-webkit-scrollbar { display: none; }

.type-filter {
  white-space: nowrap;
  padding: 8px 16px;
  border-radius: 999px;
  border: 2px solid var(--purple);
  background: transparent;
  color: var(--purple);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  transition: all 0.2s;
}
.type-filter:hover { background: rgba(45,0,82,0.06); }
.type-filter.active {
  background: var(--purple);
  color: #fff;
}

.filter-row {
  display: flex;
  gap: 10px;
  overflow-x: auto;
  padding: 8px 24px 12px;
  -webkit-overflow-scrolling: touch;
}
.filter-row::-webkit-scrollbar { display: none; }

.event-count {
  padding: 0 24px;
  font-size: 13px;
  font-weight: 700;
  color: #888;
}

.location-filters {
  display: flex;
  gap: 10px;
  padding: 4px 24px 8px;
  flex-wrap: wrap;
}

.location-select {
  padding: 8px 14px;
  border-radius: 12px;
  border: 2px solid rgba(45,0,82,0.08);
  background: #fff;
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
  appearance: none;
  -webkit-appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 12 12'%3E%3Cpath fill='%23666' d='M6 8L1 3h10z'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
  padding-right: 28px;
}
.location-select:focus {
  outline: none;
  border-color: var(--pink);
}

.filter-pill {
  white-space: nowrap;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(255,29,88,0.08);
  background: rgba(255,255,255,0.9);
  color: var(--pink);
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  box-shadow: 0 4px 12px rgba(255,29,88,0.06);
  transition: all 0.2s;
}
.filter-pill:hover { background: rgba(255,29,88,0.08); }
.filter-pill.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

/* ─── Events Grid ─────────────────────────────────────────── */

.feed-section {
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 60px;
}

/* ─── View Toggles (Grid / Calendar / Map) ────────────────── */

.view-toggles {
  display: flex;
  gap: 8px;
  padding: 0 8px 14px;
  justify-content: center;
}

.view-toggle {
  padding: 9px 18px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  color: var(--purple);
  background: rgba(45,0,82,0.05);
  border: 2px solid transparent;
  transition: all 0.2s;
}
.view-toggle:hover {
  background: rgba(255,29,88,0.08);
  text-decoration: none;
}
.view-toggle.active {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 24px;
  padding-top: 16px;
}

/* ─── Event Card ──────────────────────────────────────────── */

.event-card {
  display: block;
  background: var(--card-bg);
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: var(--shadow);
  text-decoration: none;
  transition: transform 0.2s, box-shadow 0.2s;
}
.event-card:hover {
  transform: translateY(-4px);
  box-shadow: 0 24px 60px rgba(45,0,82,0.3);
  text-decoration: none;
}

.card-image {
  position: relative;
  width: 100%;
  height: 200px;
  overflow: hidden;
}
.card-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.card-badge {
  position: absolute;
  top: 10px;
  left: 10px;
  color: #fff;
  font-size: 11px;
  font-weight: 900;
  padding: 5px 10px;
  border-radius: 8px;
  letter-spacing: 0.3px;
}
.card-badge.new {
  background: linear-gradient(90deg, var(--orange), var(--pink));
}
.card-badge.editors-pick {
  background: linear-gradient(90deg, #7a2cff, var(--pink));
}

.card-body {
  padding: 18px;
}

.card-cats {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 10px;
  align-items: center;
}

.card-cat {
  display: inline-block;
  background: rgba(255,29,88,0.2);
  color: var(--pink);
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 6px;
  text-transform: uppercase;
}

.card-type-badge {
  display: inline-block;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 8px;
  border-radius: 6px;
}
.card-type-badge.recurring {
  background: rgba(122,44,255,0.2);
  color: #a855f7;
}
.card-type-badge.permanent {
  background: rgba(59,130,246,0.2);
  color: #60a5fa;
}
.card-type-badge.multi-day {
  background: rgba(255,140,0,0.2);
  color: var(--orange);
}

.card-title {
  color: #fff;
  font-size: 20px;
  font-weight: 900;
  margin-bottom: 10px;
  line-height: 1.2;
}

.card-divider {
  height: 1px;
  background: rgba(255,255,255,0.2);
  margin: 10px 0;
}

.card-meta {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 8px;
}

.card-meta-left {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.card-meta-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
}

.card-date {
  color: var(--text-light);
  font-size: 13px;
  font-weight: 700;
}

.card-city {
  color: #fff;
  font-size: 13px;
  font-weight: 700;
}

.card-venue {
  color: var(--text-light);
  font-size: 11px;
  font-weight: 600;
}

.card-footer {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-top: 8px;
}

.card-price {
  display: inline-block;
  background: rgba(255,255,255,0.1);
  color: #fff;
  padding: 4px 10px;
  border-radius: 8px;
  font-size: 12px;
  font-weight: 700;
}

.card-rsvp {
  font-size: 12px;
  color: var(--text-light);
  font-weight: 600;
}

/* ─── Event Detail ────────────────────────────────────────── */

.event-detail {
  max-width: 800px;
  margin: 0 auto;
  padding-bottom: 60px;
}

.event-hero {
  width: 100%;
  position: relative;
}
.event-hero-img {
  width: 100%;
  height: auto;
  display: block;
}

.event-content {
  padding: 24px 20px;
}

.event-cats {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
  margin-bottom: 12px;
}

.cat-pill {
  background: rgba(255,29,88,0.1);
  color: var(--pink);
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 800;
}

.event-title {
  font-size: 32px;
  font-weight: 900;
  color: var(--purple);
  margin-bottom: 20px;
  line-height: 1.1;
}

.event-info-grid {
  display: grid;
  gap: 16px;
  margin-bottom: 24px;
}

.info-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}
.info-icon { font-size: 20px; }
.info-item div { display: flex; flex-direction: column; gap: 2px; }
.info-item strong { font-size: 15px; }
.info-item span { font-size: 13px; color: #666; }
.info-item a { color: var(--pink); font-weight: 600; }

.event-actions {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 24px;
  flex-wrap: wrap;
}

.btn-ticket {
  background: var(--pink) !important;
  color: #fff !important;
  text-decoration: none !important;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
}

.btn-going { background: #22c55e !important; }

.detail-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 12px;
}

.detail-actions-top {
  display: flex;
  gap: 8px;
  flex-shrink: 0;
}

.icon-btn {
  background: none;
  border: none;
  cursor: pointer;
  padding: 8px;
  border-radius: 50%;
  transition: background 0.15s;
}
.icon-btn:hover { background: rgba(45,0,82,0.06); }

.detail-type-badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 10px;
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 12px;
}
.detail-type-badge.recurring { background: rgba(122,44,255,0.1); color: #7a2cff; }
.detail-type-badge.permanent { background: rgba(59,130,246,0.1); color: #3b82f6; }
.detail-type-badge.multi-day { background: rgba(255,140,0,0.1); color: var(--orange); }
.detail-type-badge.single { background: rgba(255,29,88,0.08); color: var(--pink); }

.detail-info-section {
  display: flex;
  flex-direction: column;
  gap: 0;
  margin: 16px 0;
  background: #fff;
  border: 1px solid rgba(45,0,82,0.08);
  border-radius: 16px;
  box-shadow: 0 8px 24px rgba(45,0,82,0.06);
  overflow: hidden;
}

.info-row {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 14px 16px;
  border-bottom: 1px solid rgba(45,0,82,0.05);
}
.info-row:last-child { border-bottom: none; }
.info-row-icon { font-size: 18px; min-width: 24px; text-align: center; }
.info-row-content { display: flex; flex-direction: column; gap: 1px; }
.info-row-label {
  font-size: 11px;
  font-weight: 900;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.info-row-value {
  font-size: 15px;
  font-weight: 800;
  color: var(--purple);
}

.tz-picker {
  display: flex;
  align-items: center;
  gap: 8px;
  margin: 12px 0;
}
.tz-picker label {
  font-size: 13px;
  font-weight: 700;
  color: #666;
}
.tz-select {
  padding: 6px 12px;
  border-radius: 10px;
  border: 1px solid rgba(45,0,82,0.1);
  background: rgba(45,0,82,0.03);
  font-family: var(--font);
  font-size: 13px;
  font-weight: 700;
  color: var(--text);
  cursor: pointer;
}
.tz-select:focus { outline: none; border-color: var(--pink); }

.detail-creator {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 8px 0;
  text-decoration: none;
  transition: opacity 0.15s;
}
.detail-creator:hover { opacity: 0.8; text-decoration: none; }
.creator-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,29,88,0.5), rgba(122,44,255,0.5));
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 14px;
  flex-shrink: 0;
}
.creator-avatar-img {
  width: 36px;
  height: 36px;
  max-width: 36px;
  max-height: 36px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
  flex-shrink: 0;
}
.detail-creator div { display: flex; flex-direction: column; }
.detail-creator strong { font-size: 14px; color: var(--pink); }
.detail-creator span { font-size: 11px; color: #888; }

.detail-divider {
  height: 1px;
  background: rgba(45,0,82,0.08);
  margin: 20px 0;
}

.detail-section-title {
  font-size: 18px;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 12px;
}

.hero-badge {
  position: absolute;
  top: 16px;
  left: 16px;
  color: #fff;
  font-size: 12px;
  font-weight: 900;
  padding: 6px 12px;
  border-radius: 10px;
}
.hero-badge.editors-pick { background: linear-gradient(90deg, #7a2cff, var(--pink)); }
.hero-badge.new { background: linear-gradient(90deg, var(--orange), var(--pink)); }

.event-hero { position: relative; }

.rsvp-count, .going-count {
  font-size: 13px;
  color: #666;
  font-weight: 600;
}

.event-description {
  font-size: 15px;
  line-height: 1.7;
  color: #333;
}
.event-description p { margin-bottom: 12px; }

/* ─── Share Card ──────────────────────────────────────────── */

.share-card {
  display: none;
  background: #fff;
  border: 1.5px solid #f0f0f0;
  border-radius: 16px;
  padding: 16px;
  margin: 12px 0;
  box-shadow: 0 4px 20px rgba(0,0,0,0.06);
}
.share-card.open { display: block; }
.share-card-header {
  font-size: 14px;
  font-weight: 900;
  color: var(--purple);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid #f0f0f0;
}
.share-option {
  display: flex;
  align-items: center;
  gap: 12px;
  width: 100%;
  padding: 12px;
  border: none;
  background: #f8f8fa;
  border-radius: 12px;
  cursor: pointer;
  text-align: left;
  margin-bottom: 8px;
  transition: all 0.15s;
}
.share-option:last-child { margin-bottom: 0; }
.share-option:hover { background: rgba(255,29,88,0.04); transform: translateX(2px); }
.share-option:active { transform: scale(0.98); }
.share-option-icon { font-size: 24px; flex-shrink: 0; }
.share-option-text { display: flex; flex-direction: column; gap: 2px; }
.share-option-text strong { font-size: 14px; font-weight: 800; color: #1a1a2e; }
.share-option-text span { font-size: 12px; color: #888; }

/* ─── Buttons ─────────────────────────────────────────────── */

.btn {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.btn-primary {
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,29,88,0.25);
}
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,29,88,0.35); }

.btn-secondary {
  background: rgba(45,0,82,0.08);
  color: var(--purple);
}
.btn-secondary:hover { background: rgba(45,0,82,0.14); }

.btn-apple {
  background: #000;
  color: #fff;
  width: 100%;
  justify-content: center;
  padding: 14px 24px;
  font-size: 16px;
}

/* ─── Comments ────────────────────────────────────────────── */

.event-comments {
  margin-top: 32px;
  padding-top: 24px;
  border-top: 1px solid rgba(45,0,82,0.08);
}
.event-comments h2 {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 16px;
}

.comment-form textarea {
  width: 100%;
  padding: 12px 16px;
  border: 2px solid rgba(45,0,82,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  resize: vertical;
  margin-bottom: 8px;
}

.login-prompt {
  font-size: 14px;
  color: #666;
  text-align: center;
  padding: 16px;
}

/* ─── Calendar ────────────────────────────────────────────── */

.calendar-view {
  max-width: 800px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.cal-month {
  margin-bottom: 32px;
}

.cal-month-title {
  font-size: 22px;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 2px solid rgba(255,29,88,0.1);
}

.cal-events {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.cal-event {
  display: flex;
  align-items: center;
  gap: 16px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 4px 12px rgba(45,0,82,0.06);
  text-decoration: none;
  transition: transform 0.15s;
}
.cal-event:hover { transform: translateX(4px); text-decoration: none; }

.cal-date {
  font-size: 24px;
  font-weight: 900;
  color: var(--pink);
  min-width: 36px;
  text-align: center;
}

.cal-info {
  display: flex;
  flex-direction: column;
  gap: 2px;
}
.cal-info strong { font-size: 14px; color: var(--text); }
.cal-info span { font-size: 12px; color: #666; }

/* ─── Party Wall ──────────────────────────────────────────── */

.wall-feed {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 16px 60px;
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.wall-post {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(45,0,82,0.08);
}

.wall-media img,
.wall-media video {
  width: 100%;
  display: block;
}

.wall-content {
  padding: 16px;
}

.wall-author {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 8px;
}

.wall-avatar {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  object-fit: cover;
}

.wall-name {
  font-weight: 700;
  font-size: 14px;
  color: var(--text);
}

.wall-time {
  font-size: 12px;
  color: #999;
  margin-left: auto;
}

.wall-caption {
  font-size: 14px;
  line-height: 1.5;
  margin-bottom: 8px;
}

.wall-location {
  font-size: 12px;
  color: #666;
  margin-bottom: 8px;
  display: block;
}

.wall-actions {
  display: flex;
  gap: 16px;
}

.wall-actions button {
  background: none;
  border: none;
  font-size: 14px;
  cursor: pointer;
  padding: 4px 8px;
  border-radius: 8px;
  transition: background 0.15s;
}
.wall-actions button:hover { background: rgba(255,29,88,0.08); }

/* Wall Comments */
.wall-comments {
  padding: 12px 0 0;
  border-top: 1px solid rgba(0,0,0,0.06);
  margin-top: 10px;
}

.wall-comments-list {
  max-height: 200px;
  overflow-y: auto;
  margin-bottom: 10px;
}

.wall-comment-item {
  padding: 6px 0;
  font-size: 13px;
  line-height: 1.4;
  color: var(--text);
}

.wall-comment-item strong {
  font-weight: 700;
  margin-right: 6px;
}

.wall-comment-time {
  font-size: 11px;
  color: #999;
  margin-left: 6px;
}

.wall-comment-form {
  display: flex;
  gap: 8px;
  align-items: center;
}

.wall-comment-input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 20px;
  border: 1px solid #e0d4f0;
  font-size: 13px;
  font-family: var(--font);
  outline: none;
}

.wall-comment-input:focus {
  border-color: var(--pink);
}

.wall-comment-send {
  padding: 6px 14px;
  border-radius: 20px;
  border: none;
  background: var(--pink);
  color: #fff;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
}

.wall-comment-send:hover {
  opacity: 0.9;
}

/* ─── Wall New Post Form ──────────────────────────────────── */

.wall-new-post {
  max-width: 600px;
  margin: 0 auto 20px;
  padding: 0 16px;
}

.wall-post-form {
  margin-top: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 4px 12px rgba(45,0,82,0.06);
}

.wall-post-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid rgba(45,0,82,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
  resize: vertical;
  margin-bottom: 10px;
}
.wall-post-form textarea:focus { outline: none; border-color: var(--pink); }

.wall-form-row {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.wall-file-label {
  display: inline-block;
  padding: 8px 14px;
  background: rgba(45,0,82,0.06);
  border-radius: 8px;
  font-size: 13px;
  font-weight: 700;
  cursor: pointer;
  transition: background 0.15s;
}
.wall-file-label:hover { background: rgba(45,0,82,0.12); }

.wall-file-input { display: none; }

.wall-file-name {
  font-size: 12px;
  color: #666;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
  max-width: 200px;
}

/* ─── Wall Video ──────────────────────────────────────────── */

.wall-video {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  background: #000;
  border-radius: 0;
  display: block;
}

/* Ensure native video controls are never hidden */
.wall-video::-webkit-media-controls {
  display: flex !important;
  visibility: visible !important;
}

.wall-video::-webkit-media-controls-panel {
  display: flex !important;
  visibility: visible !important;
}

.wall-video::-webkit-media-controls-play-button,
.wall-video::-webkit-media-controls-volume-slider,
.wall-video::-webkit-media-controls-mute-button,
.wall-video::-webkit-media-controls-timeline,
.wall-video::-webkit-media-controls-current-time-display,
.wall-video::-webkit-media-controls-time-remaining-display,
.wall-video::-webkit-media-controls-fullscreen-button {
  display: flex !important;
  visibility: visible !important;
}

/* ─── Groups Actions ──────────────────────────────────────── */

.groups-actions {
  max-width: 900px;
  margin: 0 auto 20px;
  padding: 0 20px;
}

.create-group-form {
  margin-top: 12px;
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 16px;
  box-shadow: 0 4px 12px rgba(45,0,82,0.06);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.create-group-form input,
.create-group-form textarea {
  width: 100%;
  padding: 12px 14px;
  border: 2px solid rgba(45,0,82,0.08);
  border-radius: var(--radius-sm);
  font-family: var(--font);
  font-size: 14px;
}
.create-group-form input:focus,
.create-group-form textarea:focus { outline: none; border-color: var(--pink); }
.create-group-form textarea { resize: vertical; }

.group-card-link {
  display: block;
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s, box-shadow 0.15s;
}
.group-card-link:hover {
  transform: translateY(-3px);
  box-shadow: 0 12px 32px rgba(45,0,82,0.14);
  text-decoration: none;
}

/* ─── Members ─────────────────────────────────────────────── */

.members-search-bar {
  max-width: 400px;
  margin: 16px auto 0;
}
.members-search-bar input {
  width: 100%;
  padding: 12px 18px;
  border: 2px solid rgba(45,0,82,0.08);
  border-radius: 999px;
  font-size: 14px;
  font-family: var(--font);
  background: #fff;
  box-shadow: 0 4px 12px rgba(45,0,82,0.04);
  outline: none;
  transition: border-color 0.2s;
}
.members-search-bar input:focus { border-color: var(--pink); }

.members-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 16px 60px;
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 14px;
}

.member-card {
  display: flex;
  flex-direction: column;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 16px rgba(45,0,82,0.08);
  text-decoration: none;
  overflow: hidden;
  transition: transform 0.15s, box-shadow 0.15s;
}
.member-card:hover {
  transform: translateY(-3px);
  box-shadow: 0 10px 30px rgba(45,0,82,0.14);
  text-decoration: none;
}

.member-card-photo {
  width: 100%;
  height: 320px;
  overflow: hidden;
  background: linear-gradient(135deg, #f0e6ff, #ffe6f0);
}

.member-card-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.member-card-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
  padding: 12px;
  text-align: center;
}

.member-card-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
}

.member-card-name {
  font-size: 15px;
  font-weight: 800;
  color: var(--text);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.member-card-badge {
  font-size: 12px;
  flex-shrink: 0;
}

.member-card-username {
  font-size: 12px;
  color: var(--pink);
  font-weight: 600;
}

.member-card-city {
  font-size: 11px;
  color: #666;
  font-weight: 500;
}

@media (max-width: 500px) {
  .members-grid { grid-template-columns: repeat(2, 1fr); gap: 10px; padding: 0 10px 60px; }
  .member-card-photo { height: 240px; }
  .member-card-info { padding: 10px 8px; }
  .member-card-name { font-size: 13px; }
}

.member-profile {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 0 60px;
}

.profile-cover {
  position: relative;
  height: 180px;
  background: linear-gradient(135deg, #ff1d58, #7a2cff);
  display: flex;
  align-items: flex-end;
  justify-content: center;
}

.profile-avatar-large {
  width: 100px;
  height: 100px;
  border-radius: 50%;
  object-fit: cover;
  border: 4px solid #fff;
  box-shadow: 0 4px 20px rgba(0,0,0,0.2);
  position: absolute;
  bottom: -50px;
  left: 50%;
  transform: translateX(-50%);
}

.profile-header-info {
  text-align: center;
  padding: 60px 20px 20px;
}

.profile-name-row {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.profile-name-row h1 {
  font-size: 26px;
  font-weight: 900;
  margin: 0;
}

.profile-badge {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  font-size: 10px;
  font-weight: 900;
  padding: 4px 10px;
  border-radius: 8px;
  color: #fff;
}

.profile-badge.admin {
  background: linear-gradient(90deg, #2D0052, #7a2cff);
}

.profile-badge.founder {
  background: linear-gradient(90deg, #d97706, #f59e0b);
}

.profile-username {
  color: #666;
  font-size: 14px;
  font-weight: 600;
  margin-top: 4px;
}

.profile-stats {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin: 16px 0;
  background: #f8f8fa;
  border-radius: 14px;
  padding: 12px 0;
}

.profile-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  flex: 1;
}

.profile-stat strong {
  font-size: 18px;
  font-weight: 900;
  color: var(--purple);
}

.profile-stat span {
  font-size: 11px;
  font-weight: 700;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-stat-divider {
  width: 1px;
  height: 28px;
  background: rgba(0,0,0,0.08);
}

.profile-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  margin-bottom: 8px;
}

.profile-tabs {
  display: flex;
  border-bottom: 2px solid #f0f0f0;
  margin: 0 20px;
}

.profile-tab {
  flex: 1;
  padding: 12px 0;
  font-size: 14px;
  font-weight: 700;
  color: #888;
  background: none;
  border: none;
  cursor: pointer;
  border-bottom: 3px solid transparent;
  transition: all 0.2s;
}

.profile-tab.active {
  color: var(--pink);
  border-bottom-color: var(--pink);
}

.profile-tab:hover {
  color: var(--pink);
}

.profile-tab-content {
  padding: 20px;
}

.profile-info-card {
  background: #fff;
  border-radius: 14px;
  box-shadow: 0 2px 12px rgba(0,0,0,0.04);
  overflow: hidden;
}

.profile-info-row {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  padding: 14px 16px;
  border-bottom: 1px solid #f5f5f5;
  text-decoration: none;
  color: inherit;
}

.profile-info-row:last-child {
  border-bottom: none;
}

.profile-social-link:hover {
  background: rgba(255,29,88,0.03);
}

.profile-info-icon {
  font-size: 18px;
  width: 24px;
  text-align: center;
  flex-shrink: 0;
  padding-top: 2px;
}

.profile-info-content {
  display: flex;
  flex-direction: column;
  gap: 2px;
  flex: 1;
}

.profile-info-label {
  font-size: 11px;
  font-weight: 800;
  color: #888;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.profile-info-value {
  font-size: 15px;
  font-weight: 600;
  color: #1a1a2e;
  line-height: 1.4;
}

.profile-info-value.social-handle {
  color: var(--pink);
}

.profile-link-arrow {
  font-size: 14px;
  color: rgba(255,29,88,0.4);
  align-self: center;
}

.profile-photo-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 8px;
}

.profile-photo-item img {
  width: 100%;
  height: 160px;
  object-fit: cover;
  border-radius: 12px;
}

.profile-section-title {
  font-size: 16px;
  font-weight: 900;
  color: var(--pink);
  margin-bottom: 12px;
}

.profile-events-list {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 24px;
}

.profile-event-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.04);
  text-decoration: none;
  color: inherit;
  transition: transform 0.15s;
}

.profile-event-card:hover {
  transform: translateY(-2px);
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  text-decoration: none;
}

.profile-event-card img {
  width: 70px;
  height: 70px;
  border-radius: 10px;
  object-fit: cover;
  flex-shrink: 0;
}

.profile-event-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.profile-event-info strong {
  font-size: 14px;
  font-weight: 800;
  line-height: 1.3;
}

.profile-event-info span {
  font-size: 12px;
  color: #888;
  font-weight: 600;
}

.profile-empty {
  text-align: center;
  color: #888;
  font-size: 15px;
  padding: 40px 20px;
}

.profile-going-section {
  margin-top: 24px;
}

.profile-going-note {
  font-size: 13px;
  color: #888;
  font-style: italic;
}

.btn-following {
  background: rgba(45,0,82,0.08) !important;
  color: var(--purple) !important;
  box-shadow: none !important;
}

/* ─── Messaging ───────────────────────────────────────────── */

.messages-container {
  max-width: 700px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.thread-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.thread-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  text-decoration: none;
  transition: background 0.15s;
}
.thread-item:hover { background: rgba(255,29,88,0.04); text-decoration: none; }

.thread-avatar {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
}

.thread-info {
  flex: 1;
  min-width: 0;
}
.thread-info strong { font-size: 14px; color: var(--text); display: block; }
.thread-info p { font-size: 13px; color: #888; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; margin: 0; }

.thread-unread {
  background: var(--pink);
  color: #fff;
  font-size: 11px;
  font-weight: 800;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
}

.conversation {
  display: flex;
  flex-direction: column;
  height: 70vh;
}

.conversation-header {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 12px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  margin-bottom: 8px;
  box-shadow: 0 2px 8px rgba(45,0,82,0.06);
  text-decoration: none;
  color: var(--text);
  transition: background 0.15s;
}
.conversation-header:hover { background: rgba(255,29,88,0.03); text-decoration: none; }

.conversation-top-bar {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 8px;
}

.conversation-delete-btn {
  background: none;
  border: none;
  font-size: 18px;
  cursor: pointer;
  padding: 6px 10px;
  border-radius: 8px;
  transition: background 0.15s;
}
.conversation-delete-btn:hover { background: rgba(255,0,0,0.08); }

.conversation-header-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--pink);
}

.conversation-header-name {
  font-size: 16px;
  font-weight: 800;
  color: var(--text);
}

.back-link {
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  padding: 8px 0;
  display: block;
}

.messages-list {
  flex: 1;
  overflow-y: auto;
  padding: 16px 0;
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.message {
  max-width: 75%;
  padding: 0;
  display: flex;
  align-items: flex-start;
  gap: 8px;
}
.message.mine {
  align-self: flex-end;
  flex-direction: row-reverse;
}
.message.theirs {
  align-self: flex-start;
}

.message-avatar {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  object-fit: cover;
  flex-shrink: 0;
  margin-top: 2px;
}

.message-content {
  display: flex;
  flex-direction: column;
}

.message-sender-name {
  font-size: 11px;
  font-weight: 800;
  color: var(--pink);
  margin-bottom: 2px;
}

.message.mine .message-content {
  align-items: flex-end;
}

.message.mine .message-content p {
  background: var(--pink);
  color: #fff;
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-right-radius: 4px;
}
.message.theirs .message-content p {
  background: rgba(45,0,82,0.06);
  color: var(--text);
  padding: 10px 14px;
  border-radius: 16px;
  border-bottom-left-radius: 4px;
}
.message p { margin: 0; font-size: 14px; }
.msg-time { font-size: 10px; opacity: 0.6; display: block; margin-top: 4px; }

.message-input-row {
  display: flex;
  gap: 8px;
  padding: 12px 0;
  border-top: 1px solid rgba(45,0,82,0.08);
}

.msg-input {
  flex: 1;
  padding: 10px 16px;
  border: 2px solid rgba(45,0,82,0.08);
  border-radius: 999px;
  font-family: var(--font);
  font-size: 14px;
}
.msg-input:focus { outline: none; border-color: var(--pink); }

.empty-state {
  text-align: center;
  color: #888;
  padding: 40px 20px;
  font-size: 15px;
}

/* ─── Comments ────────────────────────────────────────────── */

.comment-item {
  padding: 10px 0;
  border-bottom: 1px solid rgba(45,0,82,0.05);
}
.comment-author {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
}
.comment-item p { font-size: 14px; margin: 4px 0; }
.comment-time { font-size: 11px; color: #999; }

/* ─── Toast ───────────────────────────────────────────────── */

.toast {
  position: fixed;
  bottom: 24px;
  left: 50%;
  transform: translateX(-50%) translateY(20px);
  background: var(--purple);
  color: #fff;
  padding: 12px 24px;
  border-radius: 999px;
  font-size: 14px;
  font-weight: 700;
  opacity: 0;
  transition: all 0.3s;
  z-index: 9999;
}
.toast.show { opacity: 1; transform: translateX(-50%) translateY(0); }

/* ─── Groups ──────────────────────────────────────────────── */

.groups-grid {
  max-width: 900px;
  margin: 0 auto;
  padding: 0 20px 60px;
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 20px;
}

.group-card {
  background: #fff;
  border-radius: var(--radius);
  overflow: hidden;
  box-shadow: 0 8px 24px rgba(45,0,82,0.08);
}

.group-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.group-info {
  padding: 16px;
}
.group-info h3 { font-size: 18px; font-weight: 800; margin-bottom: 6px; }
.group-info p { font-size: 13px; color: #666; margin-bottom: 8px; }
.group-members { font-size: 12px; color: var(--pink); font-weight: 700; }

/* ─── Login ───────────────────────────────────────────────── */

.login-page {
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 70vh;
  padding: 40px 20px;
}

.login-card {
  background: #fff;
  border-radius: var(--radius);
  padding: 40px 32px;
  max-width: 400px;
  width: 100%;
  box-shadow: 0 16px 48px rgba(45,0,82,0.12);
  text-align: center;
}
.login-card h1 { font-size: 24px; font-weight: 900; margin-bottom: 8px; }
.login-card > p { font-size: 14px; color: #666; margin-bottom: 24px; }

.login-divider {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 20px 0;
  color: #ccc;
  font-size: 13px;
}
.login-divider::before,
.login-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: #eee;
}

.login-form {
  display: flex;
  flex-direction: column;
  gap: 12px;
}
.login-form input {
  padding: 12px 16px;
  border: 2px solid rgba(45,0,82,0.08);
  border-radius: var(--radius-sm);
  font-size: 15px;
  font-family: var(--font);
}
.login-form input:focus { outline: none; border-color: var(--pink); }

.login-footer {
  margin-top: 20px;
  font-size: 13px;
  color: #888;
}

.login-note {
  margin-top: 20px;
  font-size: 13px;
  color: #888;
  text-align: center;
}

/* ─── Page Header ─────────────────────────────────────────── */

.page-header {
  text-align: center;
  padding: 40px 20px 24px;
}
.page-header h1 {
  font-size: 32px;
  font-weight: 900;
  color: var(--purple);
  margin-bottom: 6px;
}
.page-header p {
  font-size: 15px;
  color: #666;
}

/* ─── Help Section ────────────────────────────────────────── */

.help-section {
  position: relative;
  display: inline-block;
  margin: 0 0 8px 24px;
}

.help-icon-btn {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  border: 2px solid rgba(45,0,82,0.1);
  background: #fff;
  font-size: 16px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 8px rgba(45,0,82,0.08);
  transition: all 0.2s;
}
.help-icon-btn:hover {
  border-color: var(--pink);
  box-shadow: 0 4px 12px rgba(255,29,88,0.15);
  transform: scale(1.1);
}

.help-tooltip {
  display: none;
  position: absolute;
  top: 44px;
  left: 0;
  z-index: 200;
  width: 320px;
  max-height: 70vh;
  overflow-y: auto;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 12px 40px rgba(45,0,82,0.18);
  border: 1px solid rgba(45,0,82,0.08);
  animation: tooltipFadeIn 0.2s ease;
}
.help-tooltip.open { display: block; }

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

.help-tooltip-arrow {
  position: absolute;
  top: -6px;
  left: 14px;
  width: 12px;
  height: 12px;
  background: #fff;
  border-left: 1px solid rgba(45,0,82,0.08);
  border-top: 1px solid rgba(45,0,82,0.08);
  transform: rotate(45deg);
}

.help-tooltip-content {
  padding: 16px;
}

.help-tooltip-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 12px;
  padding-bottom: 8px;
  border-bottom: 1px solid rgba(45,0,82,0.06);
}
.help-tooltip-header strong {
  font-size: 14px;
  font-weight: 800;
  color: var(--purple);
}
.help-tooltip-close {
  background: none;
  border: none;
  font-size: 16px;
  cursor: pointer;
  color: #888;
  padding: 4px;
  line-height: 1;
}
.help-tooltip-close:hover { color: var(--pink); }

.help-card {
  margin-bottom: 10px;
  padding: 10px 12px;
  background: rgba(45,0,82,0.02);
  border-radius: 10px;
}
.help-card:last-child { margin-bottom: 0; }
.help-card h3 {
  font-size: 13px;
  font-weight: 800;
  margin-bottom: 4px;
  color: var(--purple);
}
.help-card p {
  font-size: 12px;
  line-height: 1.5;
  color: #555;
  margin-bottom: 3px;
}
.help-card p:last-child { margin-bottom: 0; }
.help-card a { color: var(--pink); font-weight: 700; }

@media (max-width: 600px) {
  .help-tooltip {
    width: calc(100vw - 40px);
    left: -4px;
  }
}

/* ─── Pagination ──────────────────────────────────────────── */

.pagination {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  padding: 32px 20px;
}

.pagination-info {
  font-size: 13px;
  font-weight: 700;
  color: #888;
}

/* ─── Photo Zoom Overlay ──────────────────────────────────── */

.photo-zoom-overlay {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: rgba(0,0,0,0.9);
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  cursor: pointer;
}

.photo-zoom-content {
  position: relative;
  max-width: 90vw;
  max-height: 90vh;
}

.photo-zoom-content img {
  max-width: 90vw;
  max-height: 85vh;
  object-fit: contain;
  border-radius: 12px;
}

.photo-zoom-close {
  position: absolute;
  top: -12px;
  right: -12px;
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: #fff;
  border: none;
  font-size: 18px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px rgba(0,0,0,0.3);
}

/* ─── Followers Modal ─────────────────────────────────────── */

.followers-modal {
  background: #fff;
  border-radius: 16px;
  width: 100%;
  max-width: 400px;
  max-height: 70vh;
  overflow: hidden;
  display: flex;
  flex-direction: column;
}

.followers-modal-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 16px 20px;
  border-bottom: 1px solid #f0f0f0;
}
.followers-modal-header strong {
  font-size: 16px;
  font-weight: 800;
}

.followers-modal-list {
  flex: 1;
  overflow-y: auto;
  padding: 8px 0;
}

.follower-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 20px;
  text-decoration: none;
  transition: background 0.15s;
}
.follower-item:hover { background: rgba(255,29,88,0.04); text-decoration: none; }

.follower-avatar {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  object-fit: cover;
}

.follower-info {
  display: flex;
  flex-direction: column;
}
.follower-info strong { font-size: 14px; color: var(--text); }
.follower-info span { font-size: 12px; color: #888; }

/* ─── Video Player Controls ───────────────────────────────── */

.wall-video-wrapper {
  position: relative;
  background: #000;
}

.wall-video {
  width: 100%;
  max-height: 80vh;
  object-fit: contain;
  display: block;
  cursor: pointer;
}

.wall-video-controls {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  background: linear-gradient(transparent, rgba(0,0,0,0.7));
  padding: 20px 12px 12px;
  display: flex;
  align-items: center;
  gap: 10px;
  opacity: 1;
}
.wall-video-wrapper:hover .wall-video-controls { opacity: 1; }

.wall-video-play {
  background: none;
  border: none;
  color: #fff;
  font-size: 18px;
  cursor: pointer;
  padding: 4px;
}

.wall-video-progress {
  flex: 1;
  height: 4px;
  background: rgba(255,255,255,0.3);
  border-radius: 2px;
  cursor: pointer;
  position: relative;
}

.wall-video-progress-fill {
  height: 100%;
  background: var(--pink);
  border-radius: 2px;
  width: 0%;
  transition: width 0.1s linear;
}

.wall-video-time {
  color: #fff;
  font-size: 11px;
  font-weight: 600;
  min-width: 36px;
}

.wall-video-mute {
  background: none;
  border: none;
  color: #fff;
  font-size: 16px;
  cursor: pointer;
  padding: 4px;
}

.wall-video-play-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 60px;
  height: 60px;
  background: rgba(0,0,0,0.6);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
  color: #fff;
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.2s;
}
.wall-video-wrapper.paused .wall-video-play-overlay { opacity: 1; }

/* ─── Location Filter Fix ─────────────────────────────────── */

.location-select {
  max-width: 140px;
  text-overflow: ellipsis;
  white-space: nowrap;
  overflow: hidden;
}

@media (max-width: 600px) {
  .location-filters {
    flex-wrap: nowrap;
    overflow-x: auto;
    -webkit-overflow-scrolling: touch;
  }
  .location-select {
    min-width: 0;
    max-width: 120px;
    font-size: 12px;
    padding: 6px 10px;
    padding-right: 22px;
  }
}

/* ─── Live/Ended Toggle ───────────────────────────────────── */

.live-filter-row {
  display: flex;
  gap: 8px;
  padding: 0 20px 10px;
  max-width: 900px;
  margin: 0 auto;
  align-items: center;
}

.live-toggle {
  display: inline-flex;
  background: rgba(45,0,82,0.05);
  border-radius: 10px;
  padding: 3px;
  gap: 2px;
}

.live-toggle-btn {
  padding: 7px 14px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 800;
  cursor: pointer;
  background: transparent;
  color: #555;
  transition: all 0.2s;
}
.live-toggle-btn:hover { color: var(--pink); }
.live-toggle-btn.active {
  background: var(--pink);
  color: #fff;
  box-shadow: 0 2px 8px rgba(255,29,88,0.3);
}

/* ─── Footer ──────────────────────────────────────────────── */

.site-footer {
  text-align: center;
  padding: 32px 20px;
  background: var(--purple-dark);
  color: var(--text-light);
  font-size: 13px;
}
.site-footer a { color: var(--pink-light); }
.site-footer p { margin-bottom: 8px; }

/* ─── Create Event ────────────────────────────────────────── */

.ce-notice {
  background: #f0fdf4;
  border: 1px solid #86efac;
  border-radius: 12px;
  padding: 14px 16px;
  margin-bottom: 24px;
}
.ce-notice p { margin: 0; color: #166534; font-size: 0.9rem; font-weight: 600; }

.ce-section-header {
  font-size: 1rem;
  font-weight: 900;
  color: var(--pink);
  margin: 28px 0 12px;
  padding-bottom: 6px;
  border-bottom: 2px solid rgba(255,29,88,0.1);
}

.ce-field {
  display: block;
  margin-bottom: 14px;
}
.ce-label {
  display: block;
  font-size: 0.85rem;
  font-weight: 700;
  margin-bottom: 5px;
  color: #333;
}
.ce-required { color: var(--pink); }
.ce-hint { font-size: 0.75rem; color: #888; margin-top: 4px; }

.ce-field input[type="text"],
.ce-field input[type="url"],
.ce-field input[type="number"],
.ce-field input[type="datetime-local"],
.ce-field textarea,
.ce-field select,
.ce-field input[type="file"] {
  width: 100%;
  padding: 11px 14px;
  border-radius: 10px;
  border: 1.5px solid #e0e0e0;
  font-size: 0.95rem;
  box-sizing: border-box;
  transition: border-color 0.2s;
  font-family: var(--font);
}
.ce-field input:focus, .ce-field textarea:focus, .ce-field select:focus {
  border-color: var(--pink);
  outline: none;
  box-shadow: 0 0 0 3px rgba(255,29,88,0.08);
}
.ce-field textarea { resize: vertical; min-height: 160px; line-height: 1.6; }

.ce-row-2 { display: grid; grid-template-columns: 1fr 1fr; gap: 12px; }
.ce-row-3 { display: grid; grid-template-columns: 1fr 1fr 1fr; gap: 12px; }

.ce-type-picker {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 12px;
}
.ce-type-option {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 12px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
  font-weight: 600;
}
.ce-type-option:has(input:checked) {
  border-color: var(--pink);
  background: rgba(255,29,88,0.04);
}
.ce-type-option input[type="radio"] { accent-color: var(--pink); }
.ce-type-info {
  background: #f8f8fa;
  border-radius: 10px;
  padding: 12px 14px;
  margin-bottom: 8px;
}
.ce-type-info p { font-size: 0.8rem; color: #666; margin: 4px 0; line-height: 1.4; }

.ce-categories-grid {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}
.ce-cat-pill {
  cursor: pointer;
  display: inline-flex;
  align-items: center;
}
.ce-cat-pill input { display: none; }
.ce-cat-pill span {
  display: inline-block;
  padding: 8px 14px;
  border: 1.5px solid #e0e0e0;
  border-radius: 999px;
  font-size: 0.85rem;
  font-weight: 600;
  transition: all 0.2s;
  user-select: none;
}
.ce-cat-pill:hover span { border-color: var(--pink); }
.ce-cat-pill input:checked + span {
  background: var(--pink);
  color: #fff;
  border-color: var(--pink);
  box-shadow: 0 2px 8px rgba(255,29,88,0.2);
}

.ce-desc-toolbar {
  display: flex;
  gap: 6px;
  margin-bottom: 6px;
}
.ce-toolbar-btn {
  padding: 4px 10px;
  border: 1px solid #ddd;
  border-radius: 6px;
  background: #f8f8fa;
  cursor: pointer;
  font-size: 0.85rem;
  font-weight: 700;
}
.ce-toolbar-btn:hover { background: #eee; }

.ce-address-suggestions {
  background: #fff;
  border: 1px solid #ddd;
  border-radius: 8px;
  margin-top: 4px;
  max-height: 200px;
  overflow-y: auto;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}
.ce-suggestion {
  padding: 10px 12px;
  font-size: 0.85rem;
  cursor: pointer;
  border-bottom: 1px solid #f0f0f0;
}
.ce-suggestion:last-child { border-bottom: none; }
.ce-suggestion:hover { background: rgba(255,29,88,0.04); }

.ce-toggle-wrapper {
  display: flex;
  align-items: center;
  gap: 12px;
  margin: 14px 0;
}
.ce-toggle {
  cursor: pointer;
}
.ce-toggle-track {
  width: 48px;
  height: 26px;
  background: #ddd;
  border-radius: 13px;
  position: relative;
  transition: background 0.2s;
}
.ce-toggle.active .ce-toggle-track {
  background: var(--pink);
}
.ce-toggle-thumb {
  width: 22px;
  height: 22px;
  background: #fff;
  border-radius: 50%;
  position: absolute;
  top: 2px;
  left: 2px;
  transition: transform 0.2s;
  box-shadow: 0 1px 3px rgba(0,0,0,0.2);
}
.ce-toggle.active .ce-toggle-thumb {
  transform: translateX(22px);
}
.ce-toggle-label {
  font-size: 0.95rem;
  font-weight: 600;
  color: #333;
}
.ce-advanced-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 14px 18px;
  background: linear-gradient(135deg, rgba(255,29,88,0.08), rgba(138,43,226,0.08));
  border: 1px solid rgba(255,29,88,0.2);
  border-radius: 12px;
  cursor: pointer;
  font-size: 1rem;
  font-weight: 700;
  color: #333;
  transition: all 0.2s;
  margin-top: 8px;
}
.ce-advanced-header:hover {
  background: linear-gradient(135deg, rgba(255,29,88,0.14), rgba(138,43,226,0.14));
  border-color: rgba(255,29,88,0.35);
}
.ce-advanced-header.open {
  border-radius: 12px 12px 0 0;
  border-bottom: none;
}
.ce-advanced-arrow {
  font-size: 0.8rem;
  transition: transform 0.2s;
}
.ce-advanced-header.open .ce-advanced-arrow {
  transform: rotate(90deg);
}
#ce-advanced-section {
  border: 1px solid rgba(255,29,88,0.2);
  border-top: none;
  border-radius: 0 0 12px 12px;
  padding: 20px 18px;
  background: rgba(255,29,88,0.02);
}
.ce-slots-list {
  margin-bottom: 16px;
}
.ce-slot-card {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 12px 16px;
  background: rgba(255,29,88,0.04);
  border: 1px solid rgba(255,29,88,0.15);
  border-radius: 10px;
  margin-bottom: 8px;
}
.ce-slot-card .ce-slot-info h4 {
  font-size: 0.9rem;
  margin: 0 0 2px;
  font-weight: 700;
}
.ce-slot-card .ce-slot-info .ce-slot-time {
  font-size: 0.8rem;
  color: #666;
}
.ce-slot-card .ce-slot-info .ce-slot-cap {
  font-size: 0.8rem;
  color: var(--pink);
  margin-top: 2px;
}
.ce-slot-remove-btn {
  background: rgba(244,67,54,0.1);
  border: 1px solid rgba(244,67,54,0.3);
  color: #f44336;
  padding: 4px 10px;
  border-radius: 6px;
  font-size: 0.75rem;
  font-weight: 600;
  cursor: pointer;
}
.ce-slot-remove-btn:hover {
  background: rgba(244,67,54,0.2);
}
.ce-slot-add-row {
  padding: 16px;
  background: #f9f9f9;
  border-radius: 12px;
  border: 1px dashed #ddd;
}
.ce-add-slot-btn {
  margin-top: 12px;
}

.ce-submit-btn {
  width: 100%;
  padding: 16px;
  font-size: 1.1rem;
  font-weight: 900;
  margin-top: 24px;
  border-radius: 14px;
}

@media (max-width: 500px) {
  .ce-row-2, .ce-row-3 { grid-template-columns: 1fr; }
}

/* ─── Responsive ──────────────────────────────────────────── */

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-links.open {
    display: flex;
    flex-direction: column;
    position: absolute;
    top: 60px;
    left: 0;
    right: 0;
    background: #fff;
    padding: 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.1);
    gap: 16px;
  }
  .nav-hamburger { display: block; }

  /* Mobile dropdown: inline expand instead of absolute */
  .nav-dropdown-menu {
    position: static;
    transform: none;
    box-shadow: none;
    border: none;
    border-radius: 0;
    padding: 0 0 0 16px;
    min-width: unset;
    background: transparent;
  }
  .nav-dropdown-menu a {
    padding: 8px 0;
    font-size: 14px;
  }
  /* On mobile, always show dropdown menu when parent nav is open (tap toggles via JS) */
  .nav-dropdown .nav-dropdown-menu {
    display: none;
  }
  .nav-dropdown.open .nav-dropdown-menu {
    display: block;
  }

  .hero-title { font-size: 36px; }
  .events-grid { grid-template-columns: 1fr; }
  .event-title { font-size: 24px; }
  .profile-cover { height: 140px; }
  .profile-avatar-large { width: 80px; height: 80px; }
  .profile-header-info { padding-top: 50px; }
  .profile-name-row h1 { font-size: 22px; }
}

@media (max-width: 480px) {
  .hero { padding: 40px 16px 20px; }
  .hero-title { font-size: 28px; }
  .card-body { padding: 14px; }
  .card-title { font-size: 17px; }
}

/* ─── Map Page ────────────────────────────────────────────── */

.map-container {
  width: 100%;
  height: 70vh;
  min-height: 400px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  margin: 0 auto;
  max-width: 1200px;
  box-shadow: 0 8px 24px rgba(45,0,82,0.1);
}

.map-controls {
  display: flex;
  align-items: center;
  gap: 16px;
  max-width: 1200px;
  margin: 0 auto 12px;
  padding: 0 20px;
  flex-wrap: wrap;
}

.map-city-nav {
  max-width: 1200px;
  margin: 0 auto 16px;
  padding: 12px 20px;
  background: #fff;
  border-radius: 12px;
  box-shadow: 0 4px 12px rgba(45,0,82,0.06);
}
.map-city-nav strong {
  font-size: 13px;
  color: #666;
  display: block;
  margin-bottom: 8px;
}
.map-city-list {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}
.map-city-btn {
  padding: 6px 14px;
  border-radius: 999px;
  border: 1px solid rgba(45,0,82,0.1);
  background: #fff;
  font-family: var(--font);
  font-size: 12px;
  font-weight: 700;
  color: var(--purple);
  cursor: pointer;
  transition: all 0.15s;
}
.map-city-btn:hover { background: rgba(255,29,88,0.06); border-color: var(--pink); }
.map-city-btn.active { background: var(--pink); color: #fff; border-color: var(--pink); }
.map-city-count {
  display: inline-block;
  background: rgba(45,0,82,0.08);
  color: #666;
  font-size: 10px;
  font-weight: 900;
  padding: 1px 5px;
  border-radius: 999px;
  margin-left: 4px;
}
.map-city-btn.active .map-city-count { background: rgba(255,255,255,0.3); color: #fff; }

.map-legend {
  display: flex;
  align-items: center;
  gap: 12px;
  font-size: 13px;
  font-weight: 700;
  color: #666;
}

.legend-dot {
  display: inline-block;
  width: 12px;
  height: 12px;
  border-radius: 50%;
  margin-right: 4px;
}
.legend-pink { background: #ff1d58; }
.legend-blue { background: #3b82f6; }
.legend-purple { background: #7a2cff; }

/* ─── Settings Page ───────────────────────────────────────── */

.settings-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.settings-content {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.settings-card {
  background: #fff;
  border-radius: var(--radius-sm);
  padding: 20px;
  box-shadow: 0 4px 12px rgba(45,0,82,0.06);
}
.settings-card h3 {
  font-size: 16px;
  font-weight: 800;
  color: var(--purple);
  margin-bottom: 10px;
}

.settings-link {
  display: block;
  font-size: 14px;
  font-weight: 700;
  color: var(--pink);
  text-decoration: none;
  padding: 6px 0;
}
.settings-link:hover { text-decoration: underline; }

.settings-logout-btn {
  margin-right: 12px;
}

.settings-delete-btn {
  background: rgba(239,68,68,0.1) !important;
  color: #ef4444 !important;
  border: none;
  padding: 10px 20px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 13px;
  cursor: pointer;
  font-family: var(--font);
  margin-top: 8px;
}
.settings-delete-btn:hover { background: rgba(239,68,68,0.2) !important; }

.settings-version {
  text-align: center;
}
.settings-version p {
  font-size: 13px;
  color: #888;
  margin-bottom: 4px;
}

/* ─── Notifications Page ──────────────────────────────────── */

.notifications-container {
  max-width: 600px;
  margin: 0 auto;
  padding: 0 20px 60px;
}

.notifications-list {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.notification-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px 16px;
  background: #fff;
  border-radius: var(--radius-sm);
  box-shadow: 0 2px 8px rgba(45,0,82,0.04);
  transition: background 0.15s;
}
.notification-item.unread {
  background: rgba(255,29,88,0.04);
  border-left: 3px solid var(--pink);
}

.notification-icon {
  font-size: 20px;
  min-width: 32px;
  text-align: center;
}

.notification-body {
  flex: 1;
  min-width: 0;
}
.notification-body p {
  font-size: 14px;
  color: var(--text);
  margin: 0;
}
.notification-body .notification-time {
  font-size: 12px;
  color: #888;
  margin-top: 2px;
}

.notifications-loading,
.notifications-empty {
  text-align: center;
  color: #888;
  padding: 40px 20px;
  font-size: 14px;
}

/* ─── Calendar Enhancements ───────────────────────────────── */

.cal-quick-filters {
  display: flex;
  gap: 10px;
  margin-bottom: 16px;
  flex-wrap: wrap;
}

.cal-filter-status {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
  margin-bottom: 12px;
}

.cal-day-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: var(--pink);
  color: #fff;
  font-size: 10px;
  font-weight: 900;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  flex-shrink: 0;
}

/* ─── Membership Card Page ────────────────────────────────── */

.membership-page {
  min-height: 80vh;
}

.membership-bg {
  background: linear-gradient(135deg, #12002b 0%, #2D0052 50%, #1a0033 100%);
  min-height: 80vh;
  padding: 24px 20px 60px;
}

.membership-content {
  max-width: 500px;
  margin: 0 auto;
}

.membership-events {
  margin-bottom: 24px;
}

.membership-events-title {
  font-size: 13px;
  font-weight: 900;
  color: rgba(255,255,255,0.6);
  letter-spacing: 1px;
  margin-bottom: 12px;
}

.membership-event-card {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 16px;
  background: linear-gradient(90deg, rgba(255,29,88,0.2), rgba(122,44,255,0.15));
  border: 1px solid rgba(255,29,88,0.3);
  border-radius: 14px;
  text-decoration: none;
  transition: transform 0.15s;
}
.membership-event-card:hover { transform: translateX(4px); text-decoration: none; }

.membership-event-info {
  display: flex;
  flex-direction: column;
  gap: 4px;
  flex: 1;
}
.membership-event-info strong {
  font-size: 16px;
  font-weight: 900;
  color: #fff;
}
.membership-event-date {
  font-size: 13px;
  font-weight: 700;
  color: var(--pink);
}
.membership-event-perk {
  font-size: 12px;
  color: rgba(255,255,255,0.6);
}
.membership-event-arrow {
  font-size: 20px;
  color: rgba(255,255,255,0.4);
  font-weight: 700;
}

.membership-card {
  border-radius: 24px;
  overflow: hidden;
  box-shadow: 0 20px 60px rgba(255,29,88,0.3);
  margin-bottom: 24px;
}

.membership-card-top {
  background: linear-gradient(135deg, #ff1d58, #7a2cff);
  padding: 20px 24px;
}

.membership-card-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  margin-bottom: 16px;
}

.membership-card-brand {
  font-size: 24px;
  font-weight: 900;
  color: #fff;
  margin: 0;
}

.membership-card-label {
  font-size: 11px;
  font-weight: 900;
  color: rgba(255,255,255,0.7);
  letter-spacing: 2px;
}

.membership-card-sparkle {
  font-size: 28px;
}

.membership-card-user {
  display: flex;
  align-items: center;
  gap: 14px;
}

.membership-card-avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid rgba(255,255,255,0.5);
}

.membership-card-user-info {
  display: flex;
  flex-direction: column;
  gap: 3px;
}
.membership-card-user-info strong {
  font-size: 18px;
  font-weight: 900;
  color: #fff;
}
.membership-card-user-info span {
  font-size: 13px;
  font-weight: 600;
  color: rgba(255,255,255,0.6);
}
.membership-since {
  font-size: 11px !important;
  color: rgba(255,255,255,0.5) !important;
}

.membership-card-bottom {
  background: #fff;
  padding: 24px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
}

.membership-qr-container {
  padding: 12px;
  background: #fff;
  border-radius: 16px;
  box-shadow: 0 4px 20px rgba(255,29,88,0.15);
}

.membership-qr-container canvas {
  display: block;
}

.membership-id {
  font-size: 13px;
  font-weight: 700;
  font-family: monospace;
  color: #888;
}

.membership-scan-text {
  font-size: 12px;
  font-weight: 600;
  color: #666;
}

.membership-info-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 20px;
}

.membership-info-row {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 14px;
  background: rgba(255,255,255,0.06);
  border-radius: 12px;
}
.membership-info-icon {
  font-size: 16px;
  width: 32px;
  text-align: center;
}
.membership-info-row span:last-child {
  font-size: 14px;
  font-weight: 600;
  color: rgba(255,255,255,0.85);
}

.membership-tip {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 12px;
  background: rgba(255,255,255,0.08);
  border-radius: 12px;
  font-size: 13px;
  color: rgba(255,255,255,0.7);
}

.membership-guest {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 20px;
  text-align: center;
  gap: 16px;
}
.membership-guest-icon {
  font-size: 60px;
  opacity: 0.5;
}
.membership-guest p {
  font-size: 16px;
  font-weight: 700;
  color: rgba(255,255,255,0.7);
}

/* ─── Kollab Page ─────────────────────────────────────────── */

.kollab-page {
  max-width: 800px; margin: 0 auto; padding: 0 20px 60px;
  position: relative; z-index: 1;
}

.kollab-hero {
  background: linear-gradient(135deg, var(--pink), #7a2cff);
  border-radius: 32px;
  padding: 48px 40px;
  margin-bottom: 32px;
  color: #fff;
  text-align: center;
}
.kollab-hero::before { display: none; }
.kollab-hero-inner { display: flex; flex-direction: column; align-items: center; gap: 20px; }
.kollab-logo-row { display: flex; align-items: center; gap: 16px; justify-content: center; }
.kollab-logo {
  width: 64px; height: 64px; border-radius: 18px;
  background: rgba(255,255,255,0.2);
  display: flex; align-items: center; justify-content: center;
  font-size: 32px; font-weight: 900; color: #fff; flex-shrink: 0;
}
.kollab-hero-text { display: flex; flex-direction: column; gap: 4px; text-align: left; }
.kollab-title { font-size: 36px; font-weight: 900; margin: 0; letter-spacing: -1px; }
.kollab-partner { font-size: 15px; font-weight: 700; opacity: 0.85; margin: 0; }
.kollab-desc { font-size: 18px; line-height: 1.7; opacity: 0.95; margin: 0; max-width: 560px; }
.kollab-desc-sub { font-size: 15px; line-height: 1.6; opacity: 0.75; margin: 0; font-weight: 600; }
.kollab-meta-row { display: flex; align-items: center; gap: 20px; flex-wrap: wrap; justify-content: center; }
.kollab-location { font-size: 15px; font-weight: 700; opacity: 0.85; }
.kollab-visit-btn {
  font-size: 14px; font-weight: 800; color: #fff;
  padding: 10px 22px; background: rgba(255,255,255,0.2); border-radius: 12px;
  text-decoration: none; transition: all 0.2s; border: 1.5px solid rgba(255,255,255,0.3);
}
.kollab-visit-btn:hover { background: rgba(255,255,255,0.35); text-decoration: none; transform: translateY(-2px); box-shadow: 0 8px 20px rgba(0,0,0,0.15); }
.kollab-site-link { display: none; }

.kollab-rewards { margin-bottom: 28px; }
.kollab-points-row { display: flex; gap: 14px; }
.kollab-points-btn, .kollab-qr-btn {
  flex: 1; display: flex; align-items: center; gap: 14px;
  padding: 20px; background: #fff; border-radius: 16px;
  border: 2px solid rgba(255,29,88,0.1); cursor: pointer;
  text-decoration: none; color: var(--text); transition: all 0.2s;
}
.kollab-points-btn:hover, .kollab-qr-btn:hover {
  border-color: var(--pink); transform: translateY(-3px);
  box-shadow: 0 12px 30px rgba(255,29,88,0.12); text-decoration: none;
}
.kollab-points-btn strong, .kollab-qr-btn strong { font-size: 16px; display: block; font-weight: 800; }
.kollab-points-btn span, .kollab-qr-btn span { font-size: 13px; color: #888; display: block; }
.kollab-points-circle {
  width: 50px; height: 50px; border-radius: 50%;
  background: linear-gradient(135deg, var(--pink), #7a2cff);
  color: #fff; font-size: 17px; font-weight: 900;
  display: flex; align-items: center; justify-content: center; flex-shrink: 0;
}
.kollab-qr-icon { font-size: 28px; flex-shrink: 0; }

.kollab-history-modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.6); z-index: 9999;
  align-items: center; justify-content: center; padding: 20px;
}
.kollab-history-content {
  background: #fff; border-radius: 16px; width: 100%; max-width: 450px;
  max-height: 70vh; overflow: hidden; display: flex; flex-direction: column;
}
.kollab-history-header {
  display: flex; justify-content: space-between; align-items: center;
  padding: 16px 20px; border-bottom: 1px solid #f0f0f0;
}
.kollab-history-header strong { font-size: 16px; }
.kollab-history-header button { background: none; border: none; font-size: 18px; cursor: pointer; }
#kollab-history-list { padding: 12px 20px; overflow-y: auto; flex: 1; }
.kollab-txn-row {
  display: flex; align-items: center; gap: 12px; padding: 10px 0;
  border-bottom: 1px solid #f5f5f5;
}
.kollab-txn-pts { font-size: 16px; font-weight: 900; color: #22c55e; min-width: 50px; }
.kollab-txn-info strong { font-size: 13px; display: block; }
.kollab-txn-info span { font-size: 11px; color: #888; }

.kollab-events-section { margin-bottom: 32px; }
.kollab-section-title {
  font-size: 14px; font-weight: 900; color: #888;
  letter-spacing: 1.5px; margin-bottom: 16px; text-transform: uppercase;
}
.kollab-events-list { display: flex; flex-direction: column; gap: 10px; }
.kollab-event-row {
  display: flex; align-items: center; gap: 16px;
  padding: 16px; background: #fff; border-radius: 16px;
  box-shadow: 0 4px 12px rgba(0,0,0,0.04); text-decoration: none; color: var(--text);
  transition: all 0.2s;
}
.kollab-event-row:hover { transform: translateY(-2px); box-shadow: 0 8px 24px rgba(0,0,0,0.08); text-decoration: none; }
.kollab-event-img { width: 70px; height: 70px; border-radius: 12px; object-fit: cover; }
.kollab-event-info { flex: 1; display: flex; flex-direction: column; gap: 4px; }
.kollab-event-info strong { font-size: 16px; font-weight: 800; }
.kollab-event-date { font-size: 13px; font-weight: 700; color: var(--pink); }
.kollab-event-venue { font-size: 12px; color: #888; }
.kollab-event-arrow { font-size: 20px; color: #ccc; }

.kollab-leaderboard-section { margin-bottom: 32px; }
.kollab-lb-row {
  display: flex; align-items: center; gap: 12px;
  padding: 12px 16px; background: #fff; border-radius: 12px; margin-bottom: 8px;
  box-shadow: 0 2px 6px rgba(0,0,0,0.03); text-decoration: none; color: var(--text);
  transition: all 0.15s;
}
.kollab-lb-row:hover { transform: translateX(4px); text-decoration: none; box-shadow: 0 4px 12px rgba(0,0,0,0.06); }
.kollab-lb-rank { font-size: 18px; min-width: 32px; text-align: center; }
.kollab-lb-avatar { width: 36px; height: 36px; border-radius: 50%; object-fit: cover; }
.kollab-lb-avatar-placeholder {
  width: 36px; height: 36px; border-radius: 50%;
  background: linear-gradient(135deg, rgba(255,29,88,0.2), rgba(122,44,255,0.2));
}
.kollab-lb-name { font-size: 15px; font-weight: 700; flex: 1; }
.kollab-lb-pts { font-size: 14px; font-weight: 800; color: var(--pink); }

.kollab-guest { text-align: center; padding: 40px 20px; }
.kollab-guest p { font-size: 15px; color: #666; margin-bottom: 16px; }
.kollab-empty { text-align: center; color: #888; padding: 20px; font-size: 14px; }

/* Kollab Card Modal */
.kollab-card-modal {
  display: none; position: fixed; top: 0; left: 0; width: 100%; height: 100%;
  background: rgba(0,0,0,0.7); z-index: 9999;
  align-items: center; justify-content: center; padding: 20px;
}
.kollab-card-modal-content {
  width: 100%; max-width: 380px; border-radius: 24px; overflow: hidden;
  box-shadow: 0 20px 60px rgba(255,29,88,0.3);
}
.kollab-card-top {
  background: linear-gradient(135deg, var(--pink), #7a2cff);
  padding: 24px;
  color: #fff;
}
.kollab-card-header { display: flex; justify-content: space-between; align-items: flex-start; margin-bottom: 16px; }
.kollab-card-header h2 { font-size: 24px; font-weight: 900; margin: 0; }
.kollab-card-header span { font-size: 11px; font-weight: 800; opacity: 0.7; letter-spacing: 2px; display: block; }
.kollab-card-sparkle { font-size: 28px; opacity: 0.6; }
.kollab-card-user { display: flex; align-items: center; gap: 14px; }
.kollab-card-avatar { width: 52px; height: 52px; border-radius: 50%; object-fit: cover; border: 2px solid rgba(255,255,255,0.5); }
.kollab-card-user strong { font-size: 17px; font-weight: 900; display: block; color: #fff; }
.kollab-card-user span { font-size: 13px; opacity: 0.6; display: block; color: #fff; }
.kollab-card-bottom {
  background: #fff; padding: 28px; display: flex; flex-direction: column; align-items: center; gap: 12px;
}
.kollab-card-qr { width: 180px; height: 180px; border-radius: 12px; box-shadow: 0 4px 20px rgba(255,29,88,0.15); }
.kollab-card-id { font-size: 13px; font-weight: 700; font-family: monospace; color: #888; }
.kollab-card-scan-text { font-size: 12px; font-weight: 600; color: #666; }
.kollab-card-close {
  display: block; width: 100%; padding: 14px; background: #f5f5f5; border: none;
  font-size: 14px; font-weight: 700; color: #666; cursor: pointer; text-align: center;
}
.kollab-card-close:hover { background: #eee; }

@media (max-width: 500px) {
  .kollab-points-row { flex-direction: column; }
  .kollab-hero { padding: 24px 20px; }
}

/* ─── RSVP Section & Buttons ─────────────────────────────── */

.rsvp-section {
  padding-top: 24px;
  border-top: 1px solid rgba(255,255,255,0.1);
}

.rsvp-buttons {
  display: flex;
  flex-direction: row;
  gap: 12px;
}

.rsvp-btn {
  padding: 12px 24px;
  border-radius: 24px;
  font-weight: 600;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.2s;
}

.rsvp-btn.going {
  background: linear-gradient(135deg, #ff6b9d, #c44dff);
  color: #fff;
}

.rsvp-btn.maybe {
  border: 2px solid #ff9800;
  color: #ff9800;
  background: transparent;
}

.rsvp-btn.not-going {
  background: rgba(255,255,255,0.08);
  color: #999;
}

.rsvp-btn.active {
  transform: scale(0.95);
  filter: brightness(1.2);
}

.rsvp-payment-notice {
  margin-top: 16px;
}

.payment-notice-box {
  background: linear-gradient(135deg, rgba(255,152,0,0.08), rgba(255,87,34,0.06));
  border: 1px solid rgba(255,152,0,0.3);
  border-radius: 14px;
  padding: 16px 18px;
}

.payment-notice-box h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: #e65100;
  margin-bottom: 8px;
}

.payment-notice-box .payment-status {
  font-size: 13px;
  color: #666;
  margin-bottom: 10px;
}

.payment-notice-box .payment-instructions {
  font-size: 14px;
  color: var(--text);
  background: rgba(255,255,255,0.6);
  padding: 10px 14px;
  border-radius: 8px;
  line-height: 1.5;
}

.rsvp-confirmed {
  margin-top: 16px;
  padding: 14px 18px;
  background: rgba(76,175,80,0.08);
  border: 1px solid rgba(76,175,80,0.3);
  border-radius: 12px;
  color: #2e7d32;
  font-weight: 600;
}

.rsvp-form-fields {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-top: 16px;
}

.rsvp-input {
  width: 100%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(255,255,255,0.15);
  border-radius: 8px;
  color: #fff;
  padding: 12px;
  font-family: var(--font);
  font-size: 14px;
}

.rsvp-consent {
  display: flex;
  flex-direction: row;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  color: #ccc;
}

.rsvp-submit {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 6px;
  padding: 12px 24px;
  border-radius: 999px;
  font-weight: 800;
  font-size: 14px;
  border: none;
  cursor: pointer;
  font-family: var(--font);
  background: linear-gradient(90deg, var(--pink), var(--pink-light));
  color: #fff;
  box-shadow: 0 8px 20px rgba(255,29,88,0.25);
  transition: all 0.2s;
}
.rsvp-submit:hover { transform: translateY(-1px); box-shadow: 0 12px 28px rgba(255,29,88,0.35); }

.capacity-indicator {
  font-size: 14px;
  font-weight: 600;
  margin-bottom: 12px;
}

.capacity-indicator.urgency {
  color: #ff9800;
}

.capacity-indicator.full {
  color: #f44336;
}

.card-capacity {
  font-size: 12px;
}

.card-capacity.urgency {
  color: #ff9800;
}

.card-capacity.full {
  color: #f44336;
}

/* ─── Slot Picker & Capacity Indicators ──────────────────── */

.slot-picker {
  display: grid;
  gap: 12px;
  margin: 16px 0;
}

.slot-card {
  padding: 16px;
  background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  cursor: pointer;
  transition: all 0.2s;
}

.slot-card:hover {
  border-color: #ff6b9d;
}

.slot-card.selected {
  border-color: #ff6b9d;
  background: rgba(255,107,157,0.1);
}

.slot-card.full {
  opacity: 0.6;
  cursor: default;
}

.slot-card .slot-time {
  font-weight: 600;
  font-size: 15px;
}

.slot-card .slot-desc {
  font-size: 13px;
  color: #999;
  margin-top: 4px;
}

.slot-card .slot-capacity {
  font-size: 12px;
  margin-top: 8px;
}

.slot-card .slot-capacity.urgency {
  color: #ff9800;
}

.slot-card .slot-capacity.full {
  color: #f44336;
}

.slot-highlighted {
  animation: pulse 1s ease-in-out;
}

@keyframes pulse {
  0%, 100% { box-shadow: 0 0 0 0 rgba(255,107,157,0); }
  50% { box-shadow: 0 0 0 8px rgba(255,107,157,0.3); }
}

/* ─── QR Display & Dashboard ─────────────────────────────── */

.qr-display {
  text-align: center;
  padding: 24px;
  background: rgba(255,255,255,0.05);
  border-radius: 16px;
  margin-top: 16px;
}

.qr-display canvas {
  margin: 16px auto;
  display: block;
}

.qr-display .qr-instructions {
  font-size: 13px;
  color: #999;
  margin-top: 12px;
}

.qr-display .qr-event-title {
  font-size: 16px;
  font-weight: 600;
}

.dashboard-page {
  display: flex;
  min-height: calc(100vh - 200px);
  gap: 0;
}

.dashboard-sidebar {
  width: 220px;
  flex-shrink: 0;
  padding: 24px 12px;
  background: var(--purple-dark);
  border-radius: 0 0 0 16px;
}

.dashboard-title {
  font-size: 1.1rem;
  font-weight: 800;
  color: #fff;
  margin-bottom: 16px;
  padding: 0 12px;
}

.dashboard-nav-item {
  display: block;
  width: 100%;
  text-align: left;
  padding: 10px 14px;
  border: none;
  background: none;
  color: rgba(255,255,255,0.7);
  cursor: pointer;
  border-radius: 8px;
  font-size: 13px;
  font-family: var(--font);
  font-weight: 500;
  transition: all 0.15s;
  margin-bottom: 2px;
}

.dashboard-nav-item:hover {
  background: rgba(255,255,255,0.1);
  color: #fff;
}

.dashboard-nav-item.active {
  background: linear-gradient(135deg, rgba(255,29,88,0.4), rgba(138,43,226,0.3));
  color: #fff;
  font-weight: 600;
}

.dashboard-main {
  flex: 1;
  padding: 28px;
  background: #fff;
  border-radius: 0 0 16px 0;
}

.dashboard-loading {
  text-align: center;
  padding: 60px 20px;
  color: #666;
  font-size: 14px;
}

.dashboard-empty {
  text-align: center;
  padding: 60px 20px;
  color: #666;
}

.dashboard-error {
  text-align: center;
  padding: 40px 20px;
  color: #d32f2f;
  background: rgba(211,47,47,0.05);
  border-radius: 12px;
}

.dashboard-status {
  position: fixed;
  bottom: 16px;
  right: 16px;
  font-size: 11px;
  color: #666;
}

.dash-ws-connected { color: #4caf50; }
.dash-ws-disconnected { color: #f44336; }
.dash-hint { font-size: 12px; color: #888; margin-bottom: 12px; }

/* Dashboard Event Cards */
.dashboard-events-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(320px, 1fr));
  gap: 16px;
}

.dash-event-card {
  background: #fff;
  border: 1px solid #e8e0f0;
  border-radius: 14px;
  overflow: hidden;
  transition: all 0.2s;
  box-shadow: 0 2px 8px rgba(45,0,82,0.06);
}

.dash-event-card:hover {
  border-color: var(--pink);
  box-shadow: 0 4px 16px rgba(255,29,88,0.12);
  transform: translateY(-2px);
}

.dash-event-card.selected {
  border-color: var(--pink);
  box-shadow: 0 4px 16px rgba(255,29,88,0.2);
}

.dash-event-img {
  width: 100%;
  height: 140px;
  object-fit: cover;
}

.dash-event-body {
  padding: 14px 16px 16px;
}

.dash-event-card h4 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 8px;
  line-height: 1.3;
}

.dash-event-meta {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  font-size: 12px;
  color: #666;
  margin-bottom: 12px;
}

.dash-meta-item {
  display: flex;
  align-items: center;
  gap: 3px;
}

.dash-rsvp-badge {
  background: rgba(76,175,80,0.1);
  color: #2e7d32;
  padding: 2px 6px;
  border-radius: 4px;
  font-weight: 600;
}

.dash-event-actions {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
}

/* Dashboard Buttons */
.btn-dash {
  padding: 8px 14px;
  border-radius: 8px;
  border: none;
  font-size: 12px;
  font-weight: 600;
  cursor: pointer;
  font-family: var(--font);
  transition: all 0.15s;
}

.btn-dash-primary {
  background: linear-gradient(135deg, #ff1d58, #8a2be2);
  color: #fff;
}

.btn-dash-primary:hover {
  opacity: 0.9;
  transform: translateY(-1px);
}

.btn-dash-secondary {
  background: #f5f0fa;
  color: var(--purple);
  border: 1px solid #e0d4f0;
}

.btn-dash-secondary:hover {
  background: #ebe0f8;
}

.btn-dash-sm {
  padding: 6px 10px;
  font-size: 11px;
}

.btn-dash-danger {
  background: #fff0f0;
  color: #d32f2f;
  border: 1px solid #ffcdd2;
}

.btn-dash-danger:hover {
  background: #ffebee;
}

/* Dashboard Panels */
.dashboard-panel {
  background: #fff;
  border: 1px solid #e8e0f0;
  border-radius: 14px;
  padding: 20px;
  margin-bottom: 16px;
  box-shadow: 0 2px 8px rgba(45,0,82,0.04);
}

.dashboard-panel h3 {
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--text);
  margin-bottom: 14px;
}

/* Dashboard Table */
.dashboard-table-wrap {
  overflow-x: auto;
  border-radius: 10px;
  border: 1px solid #e8e0f0;
}

.dashboard-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 12px;
}

.dashboard-table th {
  text-align: left;
  padding: 10px 12px;
  background: #f8f4fc;
  color: #666;
  font-weight: 600;
  font-size: 11px;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.dashboard-table td {
  padding: 10px 12px;
  border-top: 1px solid #f0e8f8;
  color: var(--text);
}

.dashboard-table tr:hover td {
  background: #faf8fc;
}

/* Dashboard Badges */
.dash-badge {
  display: inline-block;
  padding: 3px 8px;
  border-radius: 6px;
  font-size: 10px;
  font-weight: 600;
  text-transform: uppercase;
}

.dash-badge-going { background: #e8f5e9; color: #2e7d32; }
.dash-badge-maybe { background: #fff3e0; color: #e65100; }
.dash-badge-not_going { background: #ffebee; color: #c62828; }
.dash-badge-withdrawn { background: #f3e8ff; color: #7c3aed; }
.dash-badge-checked { background: #e8f5e9; color: #2e7d32; }
.dash-badge-pending { background: #f5f5f5; color: #888; }
.dash-badge-paid { background: #e8f5e9; color: #2e7d32; }
.dash-badge-unpaid { background: #fff3e0; color: #e65100; }

/* Dashboard Filters */
.dashboard-filters {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
  margin-bottom: 14px;
}

.dashboard-filters select,
.dashboard-filters input {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #e0d4f0;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-family: var(--font);
}

/* Dashboard Bulk Actions */
.dashboard-bulk-actions {
  display: flex;
  gap: 8px;
  margin-bottom: 14px;
  flex-wrap: wrap;
}

/* Dashboard Broadcast */
.dashboard-broadcast-section textarea {
  width: 100%;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid #e0d4f0;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
  resize: vertical;
  box-sizing: border-box;
}

.dashboard-broadcast-options {
  display: flex;
  gap: 10px;
  margin: 12px 0;
  flex-wrap: wrap;
}

.dashboard-broadcast-options select {
  padding: 7px 12px;
  border-radius: 8px;
  border: 1px solid #e0d4f0;
  background: #fff;
  color: var(--text);
  font-size: 12px;
  font-family: var(--font);
}

/* Dashboard Co-host */
.dashboard-cohost-add {
  display: flex;
  gap: 8px;
  margin-bottom: 12px;
}

.dashboard-cohost-add input {
  flex: 1;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid #e0d4f0;
  background: #fff;
  color: var(--text);
  font-size: 13px;
  font-family: var(--font);
}

.dashboard-cohost-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8f4fc;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text);
}

/* Dashboard Waitlist */
.dashboard-waitlist-list {
  list-style: none;
  padding: 0;
  margin: 0;
}

.dashboard-waitlist-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 10px 14px;
  background: #f8f4fc;
  border-radius: 8px;
  margin-bottom: 6px;
  font-size: 13px;
  color: var(--text);
}

/* Dashboard Edit Form */
.dash-edit-label {
  display: block;
  margin-bottom: 14px;
}

.dash-edit-label span {
  display: block;
  font-size: 0.8rem;
  color: #666;
  margin-bottom: 4px;
  font-weight: 500;
}

.dash-edit-label input,
.dash-edit-label textarea,
.dash-edit-label select {
  width: 100%;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid #e0d4f0;
  background: #fff;
  color: var(--text);
  box-sizing: border-box;
  font-size: 13px;
  font-family: var(--font);
}

.de-rich-editor {
  width: 100%;
  min-height: 150px;
  max-height: 350px;
  overflow-y: auto;
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid #e0d4f0;
  background: #fff;
  color: var(--text);
  font-size: 14px;
  font-family: var(--font);
  line-height: 1.6;
  outline: none;
  box-sizing: border-box;
}

.de-rich-editor:focus {
  border-color: var(--pink);
  box-shadow: 0 0 0 2px rgba(255,29,88,0.1);
}

.de-rich-editor:empty::before {
  content: 'Describe your event — what makes it special?';
  color: #aaa;
}

.dash-edit-actions {
  margin-top: 16px;
  display: flex;
  gap: 10px;
}

.dash-success { color: #2e7d32; font-size: 13px; }
.dash-error { color: #d32f2f; font-size: 13px; }
.dash-empty { color: #888; font-size: 13px; font-style: italic; }

@media (max-width: 768px) {
  .dashboard-page { flex-direction: column; }
  .dashboard-sidebar { width: 100%; border-radius: 0; border-bottom: 1px solid rgba(255,255,255,0.1); padding: 16px; }
  .dashboard-nav { display: flex; flex-wrap: wrap; gap: 4px; }
  .dashboard-events-grid { grid-template-columns: 1fr; }
  .dashboard-main { border-radius: 0; }
}
