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

:root {
  --bg-primary: #0a0a0f;
  --bg-secondary: #12121a;
  --bg-tertiary: #1a1a25;
  --glass-bg: rgba(255, 255, 255, 0.04);
  --glass-bg-hover: rgba(255, 255, 255, 0.08);
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-border-hover: rgba(255, 255, 255, 0.15);
  --text-primary: rgba(255, 255, 255, 0.95);
  --text-secondary: rgba(255, 255, 255, 0.6);
  --text-muted: rgba(255, 255, 255, 0.35);
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.4);
  --accent-light: #a29bfe;
  --danger: #ff6b6b;
  --success: #51cf66;
  --warning: #ffd43b;
  --blur-amount: 20px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 16px;
  --radius-xl: 24px;
  --shadow-sm: 0 2px 8px rgba(0, 0, 0, 0.3);
  --shadow-md: 0 4px 16px rgba(0, 0, 0, 0.4);
  --shadow-lg: 0 8px 32px rgba(0, 0, 0, 0.5);
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

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

html {
  scroll-behavior: smooth;
}

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

/* Background animated gradient */
body::before {
  content: '';
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: 
    radial-gradient(ellipse at 20% 20%, rgba(108, 92, 231, 0.08) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(162, 155, 254, 0.05) 0%, transparent 50%),
    radial-gradient(ellipse at 50% 50%, rgba(108, 92, 231, 0.03) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}
::-webkit-scrollbar-track {
  background: var(--bg-secondary);
}
::-webkit-scrollbar-thumb {
  background: var(--glass-border);
  border-radius: 3px;
}
::-webkit-scrollbar-thumb:hover {
  background: var(--accent);
}

/* ===== NAVBAR ===== */
.navbar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1000;
  padding: 0 24px;
  height: 64px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: rgba(10, 10, 15, 0.8);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  border-bottom: 1px solid var(--glass-border);
  transition: var(--transition);
}

.navbar.scrolled {
  background: rgba(10, 10, 15, 0.95);
  box-shadow: var(--shadow-md);
}

.nav-brand {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: var(--text-primary);
}

.nav-brand-icon {
  width: 36px;
  height: 36px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.nav-brand-text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 20px;
  letter-spacing: -0.5px;
}

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

.nav-links a {
  color: var(--text-secondary);
  text-decoration: none;
  padding: 8px 16px;
  border-radius: var(--radius-sm);
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
  position: relative;
}

.nav-links a:hover, .nav-links a.active {
  color: var(--text-primary);
  background: var(--glass-bg-hover);
}

.nav-links a.active::after {
  content: '';
  position: absolute;
  bottom: -1px;
  left: 50%;
  transform: translateX(-50%);
  width: 20px;
  height: 2px;
  background: var(--accent);
  border-radius: 1px;
}

.nav-right {
  display: flex;
  align-items: center;
  gap: 12px;
}

.nav-listeners {
  display: flex;
  align-items: center;
  gap: 6px;
  color: var(--text-muted);
  font-size: 13px;
  font-weight: 500;
}

.nav-listeners .live-dot {
  width: 8px;
  height: 8px;
  background: var(--success);
  border-radius: 50%;
  animation: pulse-live 2s infinite;
}

.mobile-toggle {
  display: none;
  background: none;
  border: none;
  color: var(--text-primary);
  font-size: 20px;
  cursor: pointer;
  padding: 8px;
}

/* ===== HERO / PLAYER SECTION ===== */
.hero {
  position: relative;
  min-height: 480px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 100px 24px 40px;
  overflow: hidden;
}

.hero-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  transition: background-image 0.8s ease;
  background-size: cover;
  background-position: center;
  filter: blur(60px) brightness(0.3);
  transform: scale(1.2);
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(180deg, 
    rgba(10, 10, 15, 0.6) 0%, 
    rgba(10, 10, 15, 0.8) 50%, 
    var(--bg-primary) 100%);
  z-index: 1;
}

.hero-content {
  position: relative;
  z-index: 2;
  text-align: center;
  width: 100%;
  max-width: 600px;
}

.now-playing-art {
  width: 180px;
  height: 180px;
  margin: 0 auto 24px;
  border-radius: var(--radius-lg);
  overflow: hidden;
  box-shadow: 0 16px 48px rgba(0, 0, 0, 0.5);
  position: relative;
  transition: var(--transition);
}

.now-playing-art:hover {
  transform: scale(1.03);
  box-shadow: 0 20px 56px rgba(0, 0, 0, 0.6);
}

.now-playing-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.now-playing-art .live-badge {
  position: absolute;
  top: 12px;
  left: 12px;
  background: var(--danger);
  color: white;
  padding: 4px 10px;
  border-radius: 20px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  animation: pulse-live 2s infinite;
}

.now-playing-info {
  margin-bottom: 24px;
}

.now-playing-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  margin-bottom: 4px;
  letter-spacing: -0.5px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.now-playing-artist {
  font-size: 16px;
  color: var(--text-secondary);
  font-weight: 400;
}

/* ===== PLAYER CONTROLS ===== */
.player-controls {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  margin-bottom: 20px;
}

.play-btn {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: none;
  color: white;
  font-size: 22px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition);
  box-shadow: 0 4px 20px var(--accent-glow);
  position: relative;
}

.play-btn:hover {
  transform: scale(1.08);
  box-shadow: 0 6px 28px var(--accent-glow);
}

.play-btn:active {
  transform: scale(0.96);
}

.play-btn .spinner {
  position: absolute;
  width: 100%;
  height: 100%;
  border: 2px solid transparent;
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.8s linear infinite;
  opacity: 0;
}

.play-btn.loading .spinner { opacity: 1; }
.play-btn.loading .fa-play { opacity: 0; }

.volume-control {
  display: flex;
  align-items: center;
  gap: 8px;
}

.volume-control i {
  color: var(--text-muted);
  font-size: 16px;
  cursor: pointer;
}

.volume-slider {
  -webkit-appearance: none;
  appearance: none;
  width: 100px;
  height: 4px;
  background: var(--glass-border);
  border-radius: 2px;
  outline: none;
  cursor: pointer;
}

.volume-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 14px;
  height: 14px;
  background: var(--accent);
  border-radius: 50%;
  cursor: pointer;
  transition: var(--transition);
}

.volume-slider::-webkit-slider-thumb:hover {
  transform: scale(1.2);
  box-shadow: 0 0 10px var(--accent-glow);
}

.visualizer-canvas {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 120px;
  z-index: 1;
  opacity: 0.5;
  pointer-events: none;
}

/* ===== GLASS BOX ===== */
.glass {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  transition: var(--transition);
}

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

/* ===== CONTENT SECTIONS ===== */
.content-wrapper {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 24px;
}

.section {
  padding: 40px 0;
}

.section-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.section-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  display: flex;
  align-items: center;
  gap: 10px;
}

.section-title i {
  color: var(--accent);
  font-size: 18px;
}

.section-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  font-weight: 500;
  transition: var(--transition);
}

.section-link:hover {
  color: var(--accent-light);
}

/* ===== TWO COLUMN LAYOUT ===== */
.two-col {
  display: grid;
  grid-template-columns: 1fr 380px;
  gap: 24px;
  align-items: start;
}

/* ===== SCHEDULE ===== */
.schedule-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
}

.schedule-card {
  padding: 16px;
  text-align: center;
  position: relative;
  overflow: hidden;
}

.schedule-card .avatar {
  width: 56px;
  height: 56px;
  border-radius: 50%;
  margin: 0 auto 10px;
  overflow: hidden;
  background: var(--bg-tertiary);
}

.schedule-card .avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.schedule-card .label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
  color: var(--text-muted);
  margin-bottom: 6px;
}

.schedule-card.live .label {
  color: var(--danger);
  animation: pulse-live 2s infinite;
}

.schedule-card .name {
  font-weight: 600;
  font-size: 14px;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.schedule-card .time {
  font-size: 12px;
  color: var(--text-muted);
  margin-top: 2px;
}

/* ===== RECENTLY PLAYED ===== */
.song-list {
  display: flex;
  flex-direction: column;
  gap: 2px;
  max-height: 480px;
  overflow-y: auto;
}

.song-item {
  display: flex;
  align-items: center;
  gap: 12px;
  padding: 10px 14px;
  border-radius: var(--radius-md);
  cursor: default;
  transition: var(--transition);
}

.song-item:hover {
  background: var(--glass-bg-hover);
}

.song-item .art {
  width: 44px;
  height: 44px;
  border-radius: var(--radius-sm);
  overflow: hidden;
  flex-shrink: 0;
  background: var(--bg-tertiary);
}

.song-item .art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.song-item .info {
  flex: 1;
  min-width: 0;
}

.song-item .song-name {
  font-size: 14px;
  font-weight: 500;
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-item .artist-name {
  font-size: 13px;
  color: var(--text-secondary);
  white-space: nowrap;
  overflow: hidden;
  text-overflow: ellipsis;
}

.song-item .timestamp {
  font-size: 12px;
  color: var(--text-muted);
  flex-shrink: 0;
}

/* ===== NEWS SECTION ===== */
.news-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
}

.news-card {
  overflow: hidden;
  cursor: pointer;
}

.news-card .image {
  width: 100%;
  height: 180px;
  background: var(--bg-tertiary);
  overflow: hidden;
}

.news-card .image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.news-card:hover .image img {
  transform: scale(1.05);
}

.news-card .body {
  padding: 16px;
}

.news-card .tag {
  display: inline-block;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.5px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.news-card .title {
  font-weight: 600;
  font-size: 15px;
  line-height: 1.4;
  margin-bottom: 6px;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.news-card .excerpt {
  font-size: 13px;
  color: var(--text-secondary);
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

/* ===== LIVE STATS ===== */
.stats-row {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 12px;
  margin-bottom: 24px;
}

.stat-card {
  padding: 20px;
  text-align: center;
}

.stat-card .stat-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
  color: var(--accent-light);
}

.stat-card .stat-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 4px;
}

/* ===== FOOTER ===== */
.footer {
  border-top: 1px solid var(--glass-border);
  padding: 32px 24px;
  margin-top: 40px;
}

.footer-content {
  max-width: 1200px;
  margin: 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.footer-left {
  color: var(--text-muted);
  font-size: 13px;
}

.footer-links {
  display: flex;
  gap: 16px;
}

.footer-links a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 13px;
  transition: var(--transition);
}

.footer-links a:hover {
  color: var(--accent-light);
}

.footer-social {
  display: flex;
  gap: 12px;
}

.footer-social a {
  width: 36px;
  height: 36px;
  border-radius: 50%;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
  text-decoration: none;
  transition: var(--transition);
}

.footer-social a:hover {
  background: var(--accent);
  border-color: var(--accent);
  color: white;
}

/* ===== COOKIE BAR ===== */
.cookie-bar {
  position: fixed;
  bottom: 0;
  left: 0;
  right: 0;
  background: rgba(18, 18, 26, 0.95);
  backdrop-filter: blur(var(--blur-amount));
  -webkit-backdrop-filter: blur(var(--blur-amount));
  border-top: 1px solid var(--glass-border);
  padding: 16px 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  z-index: 999;
  transform: translateY(100%);
  transition: transform 0.4s ease;
}

.cookie-bar.show {
  transform: translateY(0);
}

.cookie-bar p {
  font-size: 13px;
  color: var(--text-secondary);
}

.cookie-bar a {
  color: var(--accent-light);
}

/* ===== BUTTONS ===== */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: var(--radius-sm);
  border: 1px solid var(--glass-border);
  background: var(--glass-bg);
  color: var(--text-primary);
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: var(--transition);
  text-decoration: none;
  font-family: inherit;
}

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

.btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border: none;
  color: white;
}

.btn-primary:hover {
  box-shadow: 0 4px 20px var(--accent-glow);
  transform: translateY(-1px);
}

.btn-sm {
  padding: 6px 14px;
  font-size: 13px;
}

.btn-block {
  width: 100%;
}

/* ===== FORMS ===== */
.form-group { margin-bottom: 16px; }
.form-group label {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.form-input {
  width: 100%;
  display: block;
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-size: 14px;
  font-family: inherit;
  outline: none;
  transition: var(--transition);
}
.form-input::placeholder { color: var(--text-muted); }
.form-input:focus,
.form-input:focus-visible {
  border-color: var(--accent);
  box-shadow: 0 0 0 3px var(--accent-glow);
  outline: none;
}
select.form-input { color: var(--text-primary); }
select.form-input option { background: var(--bg-secondary); color: var(--text-primary); }
textarea.form-input { resize: vertical; min-height: 96px; }

/* ===== STAFF APPLICATIONS ===== */
.apply-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 38px 42px;
  background:
    linear-gradient(135deg, rgba(108, 92, 231, 0.30), rgba(162, 155, 254, 0.10) 45%, rgba(10, 10, 15, 0) 70%),
    var(--bg-secondary);
  border: 1px solid var(--glass-border);
  margin-bottom: 26px;
}
.apply-hero::after {
  content: '';
  position: absolute;
  top: -90px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.apply-hero-inner { position: relative; z-index: 1; }
.apply-pill {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  background: rgba(108, 92, 231, 0.18);
  border: 1px solid rgba(108, 92, 231, 0.4);
  color: var(--accent-light);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  padding: 6px 14px;
  border-radius: 999px;
  margin-bottom: 14px;
}
.apply-hero h2 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 30px;
  line-height: 1.15;
  color: var(--text-primary);
  margin: 0 0 8px;
}
.apply-hero h2 em { font-style: normal; color: var(--accent-light); }
.apply-hero > .apply-hero-inner > p {
  color: var(--text-secondary);
  font-size: 15px;
  margin: 0 0 26px;
  max-width: 560px;
}
.apply-steps {
  display: flex;
  gap: 26px;
  margin-top: 6px;
}
.apply-step {
  display: flex;
  gap: 12px;
  align-items: flex-start;
  flex: 1;
}
.apply-step-num {
  width: 36px; height: 36px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-weight: 700;
  font-size: 15px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.apply-step strong { display: block; color: var(--text-primary); font-size: 14px; }
.apply-step span { display: block; color: var(--text-muted); font-size: 12px; line-height: 1.4; }

.apply-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 22px;
  align-items: start;
}
.apply-jobs { display: flex; flex-direction: column; gap: 12px; }
.job-pick {
  position: relative;
  cursor: pointer;
  padding: 18px 20px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.job-pick:hover { border-color: var(--glass-border-hover); transform: translateY(-1px); }
.job-pick.selected {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.10);
  box-shadow: 0 6px 24px var(--accent-glow);
}
.jp-title { font-weight: 600; color: var(--text-primary); font-size: 15px; margin: 0 0 3px; }
.jp-dept {
  font-size: 11px;
  color: var(--accent-light);
  text-transform: uppercase;
  letter-spacing: 0.6px;
  font-weight: 700;
  margin-bottom: 3px;
}
.jp-desc { font-size: 13px; color: var(--text-secondary); margin: 0 0 4px; }
.jp-region { font-size: 12px; color: var(--text-muted); }
.jp-check {
  position: absolute;
  top: 16px; right: 16px;
  width: 24px; height: 24px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 12px;
  display: none;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 12px var(--accent-glow);
}
.job-pick.selected .jp-check { display: flex; }

.apply-message-panel {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 24px;
  position: sticky;
  top: 96px;
}
.apply-message-panel h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 17px;
  margin: 0 0 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.apply-message-panel h3 i { color: var(--accent); }
.apply-message-panel > p { color: var(--text-muted); font-size: 13px; margin: 0 0 18px; }
.apply-message-panel .form-group { margin-bottom: 16px; }
.apply-message-panel .form-group label {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 8px;
}
.apply-message-panel .form-group label span { font-weight: 400; color: var(--text-muted); }
.apply-submit { width: 100%; }

.app-card {
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
  padding: 16px 18px;
  background: var(--bg-tertiary);
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  border-left: 3px solid var(--accent);
  transition: var(--transition);
}
.app-card:hover { border-color: var(--glass-border-hover); }
.app-icon {
  width: 42px; height: 42px;
  flex-shrink: 0;
  border-radius: var(--radius-sm);
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 16px;
}
.app-card-meta { flex: 1; min-width: 200px; }
.app-card-title { font-weight: 600; color: var(--text-primary); font-size: 15px; }
.app-card-sub { font-size: 12px; color: var(--text-muted); margin-top: 2px; }
.app-status {
  padding: 5px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  text-transform: capitalize;
}
.app-status.pending { background: rgba(255, 152, 0, 0.15); color: #ff9800; }
.app-status.accepted { background: rgba(0, 200, 83, 0.15); color: #00c853; }
.app-status.declined { background: rgba(229, 57, 53, 0.15); color: #e53935; }
.app-empty {
  padding: 28px;
  text-align: center;
  color: var(--text-muted);
  font-size: 14px;
  background: var(--bg-tertiary);
  border: 1px dashed var(--glass-border);
  border-radius: var(--radius-md);
}

@media (max-width: 900px) {
  .apply-grid { grid-template-columns: 1fr; }
  .apply-message-panel { position: static; }
}
@media (max-width: 640px) {
  .apply-steps { flex-direction: column; gap: 16px; }
  .apply-hero { padding: 26px 20px; }
  .apply-hero h2 { font-size: 24px; }
}

/* ===== ACCOUNT PAGES (PROFILE / SETTINGS) ===== */
.acct-hero {
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-xl);
  padding: 34px 38px;
  background:
    linear-gradient(135deg, rgba(108, 92, 231, 0.28), rgba(162, 155, 254, 0.10) 45%, rgba(10, 10, 15, 0) 70%),
    var(--bg-secondary);
  border: 1px solid var(--glass-border);
  margin-bottom: 26px;
}
.acct-hero::after {
  content: '';
  position: absolute;
  top: -90px; right: -50px;
  width: 300px; height: 300px;
  background: radial-gradient(circle, var(--accent-glow), transparent 70%);
  border-radius: 50%;
  z-index: 0;
  pointer-events: none;
}
.acct-hero-inner { position: relative; z-index: 1; display: flex; align-items: center; gap: 22px; flex-wrap: wrap; }
.avatar-big {
  width: 80px; height: 80px;
  flex-shrink: 0;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-weight: 700;
  font-size: 30px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 28px var(--accent-glow);
  border: 3px solid rgba(255, 255, 255, 0.12);
  overflow: hidden;
}
.avatar-big img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.acct-hero .acct-hero-title h1 { font-family: 'Space Grotesk', sans-serif; font-size: 26px; margin: 0; color: var(--text-primary); }
.acct-hero .acct-sub { color: var(--text-muted); font-size: 14px; margin-top: 2px; }
.acct-chips { display: flex; gap: 8px; flex-wrap: wrap; margin-top: 10px; }
.chip {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 5px 12px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: var(--bg-tertiary);
  color: var(--text-secondary);
}
.chip-accent {
  background: rgba(108, 92, 231, 0.16);
  border-color: rgba(108, 92, 231, 0.4);
  color: var(--accent-light);
}

.acct-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 22px;
  align-items: start;
}
.acct-card {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 26px;
}
.acct-card h3 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  margin: 0 0 4px;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 8px;
}
.acct-card h3 i { color: var(--accent); }
.acct-card > p { color: var(--text-muted); font-size: 13px; margin: 0 0 18px; }

.field { margin-bottom: 18px; }
.field label {
  display: flex;
  align-items: center;
  gap: 6px;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-secondary);
  margin-bottom: 7px;
}
.field label i { color: var(--accent-light); font-size: 12px; }
.field .form-input:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  background: var(--bg-secondary);
  border-style: dashed;
}
.lock-note {
  font-size: 11px;
  color: var(--text-muted);
  margin-top: 5px;
  display: flex;
  align-items: center;
  gap: 5px;
}
.lock-note i { color: var(--accent-light); }

.acct-actions {
  display: flex;
  gap: 12px;
  justify-content: flex-end;
  margin-top: 22px;
}

.stat-tile {
  padding: 18px 14px;
  border-radius: var(--radius-md);
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  text-align: center;
  transition: var(--transition);
}
.stat-tile:hover { border-color: var(--glass-border-hover); }
.stat-tile .st-icon {
  width: 40px; height: 40px;
  margin: 0 auto 8px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 15px;
  box-shadow: 0 4px 16px var(--accent-glow);
}
.stat-tile .st-label {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
}
.stat-tile .st-value { font-weight: 700; color: var(--text-primary); font-size: 15px; margin-top: 3px; }
.stat-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
}

.security-strength {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 12px;
  color: var(--text-muted);
  padding: 10px 14px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  margin-top: 14px;
}
.security-strength i { color: var(--success); }

@media (max-width: 640px) {
  .acct-grid { grid-template-columns: 1fr; }
  .acct-hero { padding: 24px 20px; }
}

/* ===== ANIMATIONS ===== */
@keyframes pulse-live {
  0%, 100% { opacity: 1; }
  50% { opacity: 0.5; }
}

@keyframes spin {
  to { transform: rotate(360deg); }
}

@keyframes fadeInUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(-50%); }
}

.animate-in {
  animation: fadeInUp 0.5s ease forwards;
}

/* ===== RESPONSIVE ===== */
@media (max-width: 1024px) {
  .two-col {
    grid-template-columns: 1fr;
  }
  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 768px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px;
    left: 0;
    right: 0;
    background: rgba(10, 10, 15, 0.98);
    backdrop-filter: blur(var(--blur-amount));
    -webkit-backdrop-filter: blur(var(--blur-amount));
    flex-direction: column;
    padding: 16px;
    border-bottom: 1px solid var(--glass-border);
    gap: 4px;
  }

  .nav-links.open {
    display: flex;
  }

  .nav-links a {
    width: 100%;
    padding: 12px 16px;
  }

  .mobile-toggle {
    display: block;
  }

  .hero {
    min-height: 400px;
    padding: 80px 16px 30px;
  }

  .now-playing-art {
    width: 140px;
    height: 140px;
  }

  .now-playing-title {
    font-size: 20px;
  }

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

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

  .stats-row {
    grid-template-columns: repeat(2, 1fr);
  }

  .footer-content {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }

  .volume-control {
    display: none;
  }

  .player-controls {
    gap: 20px;
  }
}

@media (max-width: 480px) {
  .hero {
    padding: 76px 12px 20px;
    min-height: 360px;
  }

  .now-playing-art {
    width: 120px;
    height: 120px;
  }

  .content-wrapper {
    padding: 0 12px;
  }
}

/* ===== PAGE HERO & PANELS (PUBLIC) ===== */
.pg-hero {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex-wrap: wrap;
  padding: 26px 28px;
  border-radius: var(--radius-lg);
  background:
    linear-gradient(135deg, rgba(108, 92, 231, 0.22), rgba(162, 155, 254, 0.08) 45%, rgba(10, 10, 15, 0) 70%),
    var(--bg-secondary);
  border: 1px solid var(--glass-border);
  margin-bottom: 24px;
  overflow: hidden;
}
.pg-hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 85% 10%, rgba(108, 92, 231, 0.18), transparent 55%);
  pointer-events: none;
}
.pg-hero > * { position: relative; z-index: 1; }
.pg-hero-l { display: flex; align-items: center; gap: 16px; min-width: 0; }
.pg-hero-ico {
  width: 52px;
  height: 52px;
  border-radius: 15px;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-size: 21px;
  box-shadow: 0 8px 24px var(--accent-glow);
}
.pg-hero-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 24px;
  font-weight: 700;
  color: var(--text-primary);
  margin: 0 0 3px;
}
.pg-hero-sub { font-size: 13px; color: var(--text-secondary); margin: 0; max-width: 640px; }
.pg-hero-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 600;
  border: 1px solid var(--glass-border);
  background: var(--bg-tertiary);
  color: var(--text-muted);
  white-space: nowrap;
}
.pg-hero-pill i { color: var(--accent-light); }

.panel {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  margin-bottom: 24px;
  overflow: hidden;
}
.panel-head {
  padding: 16px 22px;
  border-bottom: 1px solid var(--glass-border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}
.panel-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  font-weight: 700;
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 10px;
}
.panel-title i { color: var(--accent-light); }
.panel-body { padding: 18px 22px; }

.stat-tile.green .st-icon { background: linear-gradient(135deg, #00c853, #69f0ae); }
.stat-tile.orange .st-icon { background: linear-gradient(135deg, #ff9800, #ffcc80); }

/* ===== CURRENTLY ACTIVE (PROFILE) ===== */
.active-user {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 14px 7px 7px;
  border-radius: 999px;
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
}
.active-user:hover { border-color: var(--glass-border-hover); }
.active-user .au-avatar {
  position: relative;
  width: 34px;
  height: 34px;
  flex: none;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: #fff;
  font-weight: 700;
  font-size: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 4px 14px var(--accent-glow);
  overflow: hidden;
}
.active-user .au-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; }
.admin-avatar-mini { width: 26px; height: 26px; border-radius: 50%; object-fit: cover; flex-shrink: 0; }
.active-user .au-dot {
  position: absolute;
  bottom: 1px;
  right: 1px;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: var(--success);
  border: 2px solid var(--bg-tertiary);
  animation: pulse-live 2s infinite;
}
.active-user .au-name {
  display: block;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  line-height: 1.25;
}
.active-user .au-role {
  display: block;
  font-size: 11px;
  color: var(--text-muted);
  text-transform: capitalize;
  line-height: 1.25;
}
.active-user .au-role i { color: var(--accent-light); margin-right: 2px; }
.active-user.active-user-me {
  border-color: var(--accent);
  background: rgba(108, 92, 231, 0.14);
}

@media (max-width: 640px) {
  .pg-hero { padding: 22px 18px; }
  .pg-hero-title { font-size: 20px; }
}

/* ===== ADMIN STYLES ===== */
.admin-layout {
  display: grid;
  grid-template-columns: 240px 1fr;
  min-height: 100vh;
}

.admin-sidebar {
  background: var(--bg-secondary);
  border-right: 1px solid var(--glass-border);
  padding: 24px 0;
  position: sticky;
  top: 0;
  height: 100vh;
  overflow-y: auto;
}

.admin-sidebar-brand {
  padding: 0 20px 24px;
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 16px;
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: var(--text-primary);
}

.admin-sidebar-brand .icon {
  width: 32px;
  height: 32px;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
}

.admin-sidebar-brand .text {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
}

.admin-nav a {
  display: flex;
  align-items: center;
  gap: 10px;
  padding: 10px 20px;
  color: var(--text-secondary);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  transition: var(--transition);
}

.admin-nav a:hover, .admin-nav a.active {
  color: var(--text-primary);
  background: var(--glass-bg-hover);
}

.admin-nav a.active {
  border-right: 2px solid var(--accent);
}

.admin-nav a i {
  width: 20px;
  text-align: center;
  font-size: 15px;
}

.admin-main {
  padding: 32px;
  overflow-y: auto;
}

.admin-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 32px;
}

.admin-header h1 {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 28px;
  font-weight: 700;
}

.admin-cards {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
  gap: 16px;
  margin-bottom: 32px;
}

.admin-card {
  padding: 24px;
}

.admin-card .card-label {
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-bottom: 8px;
}

.admin-card .card-value {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 32px;
  font-weight: 700;
}

.admin-card .card-sub {
  font-size: 13px;
  color: var(--text-secondary);
  margin-top: 4px;
}

.admin-table {
  width: 100%;
  border-collapse: collapse;
}

.admin-table th {
  text-align: left;
  padding: 12px 16px;
  font-size: 12px;
  font-weight: 600;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.5px;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table td {
  padding: 14px 16px;
  font-size: 14px;
  border-bottom: 1px solid var(--glass-border);
}

.admin-table tr:hover td {
  background: var(--glass-bg);
}

.admin-badge {
  display: inline-block;
  padding: 3px 10px;
  border-radius: 20px;
  font-size: 12px;
  font-weight: 600;
}

.admin-badge.live {
  background: rgba(255, 107, 107, 0.15);
  color: var(--danger);
}

.admin-badge.success {
  background: rgba(81, 207, 102, 0.15);
  color: var(--success);
}

/* ===== LOADING SKELETON ===== */
.skeleton {
  background: linear-gradient(90deg, var(--bg-tertiary) 25%, var(--glass-bg-hover) 50%, var(--bg-tertiary) 75%);
  background-size: 200% 100%;
  animation: skeleton-loading 1.5s infinite;
  border-radius: var(--radius-sm);
}

@keyframes skeleton-loading {
  0% { background-position: 200% 0; }
  100% { background-position: -200% 0; }
}

/* ===== USER MODAL ===== */
.user-modal {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(10, 10, 15, 0.7);
  backdrop-filter: blur(6px);
  -webkit-backdrop-filter: blur(6px);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  padding: 24px;
}

.user-modal.show {
  display: flex;
}

.user-modal-box {
  width: 100%;
  max-width: 520px;
  padding: 28px;
  background: var(--bg-secondary);
  box-shadow: var(--shadow-lg);
  max-height: 90vh;
  overflow-y: auto;
}

/* ===== JOBS ROSTER ===== */
.jobs-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 12px;
}

.job-card {
  padding: 18px;
  text-align: left;
  position: relative;
  overflow: hidden;
}

.job-card .job-region {
  display: inline-block;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  color: var(--accent-light);
  margin-bottom: 8px;
}

.job-card .job-title {
  font-weight: 600;
  font-size: 15px;
  margin-bottom: 4px;
}

.job-card .job-dept {
  font-size: 13px;
  color: var(--text-secondary);
  margin-bottom: 12px;
}

.job-card .btn {
  width: 100%;
}

/* ============ Light theme ============ */
[data-theme="light"] {
  --bg-primary: #f4f5fb;
  --bg-secondary: #ffffff;
  --bg-tertiary: #eef0f8;
  --glass-bg: rgba(255, 255, 255, 0.7);
  --glass-bg-hover: rgba(255, 255, 255, 0.9);
  --glass-border: rgba(15, 15, 40, 0.12);
  --glass-border-hover: rgba(15, 15, 40, 0.22);
  --text-primary: rgba(15, 15, 40, 0.95);
  --text-secondary: rgba(15, 15, 40, 0.62);
  --text-muted: rgba(15, 15, 40, 0.4);
  --accent: #6c5ce7;
  --accent-glow: rgba(108, 92, 231, 0.25);
  --accent-light: #5f4bdb;
  --danger: #e5484d;
  --success: #30a46c;
  --warning: #b7791f;
  --shadow-sm: 0 2px 8px rgba(15, 15, 40, 0.08);
  --shadow-md: 0 4px 16px rgba(15, 15, 40, 0.12);
  --shadow-lg: 0 8px 32px rgba(15, 15, 40, 0.16);
}

[data-theme="light"] body::before {
  background:
    radial-gradient(ellipse at 20% 20%, rgba(108, 92, 231, 0.1) 0%, transparent 50%),
    radial-gradient(ellipse at 80% 80%, rgba(95, 75, 219, 0.06) 0%, transparent 50%);
}

[data-theme="light"] ::-webkit-scrollbar-track { background: #eceef7; }
[data-theme="light"] .glass { background: var(--glass-bg); }
[data-theme="light"] .news-card, [data-theme="light"] .job-card { box-shadow: var(--shadow-sm); }

/* ============ Community / new components ============ */
.pg-pill-active {
  background: linear-gradient(135deg, var(--accent), var(--accent-light)) !important;
  color: #fff !important;
  border-color: transparent !important;
  box-shadow: 0 4px 14px var(--accent-glow);
}

.comment-row {
  display: flex;
  gap: 12px;
  padding: 16px 0;
  border-bottom: 1px solid var(--glass-border);
}
.comment-row:last-of-type { border-bottom: none; }

.msg-av {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  overflow: hidden;
  flex: none;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 13px;
  font-weight: 700;
  color: var(--accent-light);
  background: var(--bg-tertiary);
  border: 1px solid var(--glass-border);
}
.msg-av img { width: 100%; height: 100%; object-fit: cover; }

.search-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 14px 22px;
  border-bottom: 1px solid var(--glass-border);
  text-decoration: none;
  color: inherit;
  transition: background 0.2s ease;
}
.search-row:hover { background: var(--glass-bg-hover); }
.search-row:last-of-type { border-bottom: none; }
.sr-title { font-size: 14px; font-weight: 600; color: var(--text-primary); }
.sr-meta { font-size: 12px; color: var(--text-muted); white-space: nowrap; }

.msg-empty { padding: 22px; text-align: center; color: var(--text-muted); font-size: 14px; }

.admin-badge.warning { background: rgba(255, 152, 0, 0.15); color: rgb(255, 152, 0); }
.admin-badge.muted { background: var(--bg-tertiary); color: var(--text-muted); }

/* ============ Public modals ============ */
.modal-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.6);
  z-index: 9998;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(4px);
}
.modal-overlay.open { display: flex; }
.modal {
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  width: 100%;
  max-width: 600px;
  max-height: 90vh;
  overflow-y: auto;
  padding: 32px;
  position: relative;
  box-shadow: 0 24px 80px rgba(0, 0, 0, 0.5);
}
.modal-close {
  position: absolute;
  top: 16px;
  right: 16px;
  background: none;
  border: none;
  color: var(--text-muted);
  font-size: 20px;
  cursor: pointer;
  transition: color 0.2s;
}
.modal-close:hover { color: var(--text-primary); }
.modal-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  font-weight: 700;
  margin-bottom: 24px;
  color: var(--text-primary);
}
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }

[data-theme="light"] .modal, [data-theme="light"] .panel { box-shadow: var(--shadow-sm); }

/* ---------- Members directory + rich profiles ---------- */
.member-banner {
  width: 100%;
  max-height: 220px;
  overflow: hidden;
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.25), rgba(9, 132, 227, 0.25));
}
.member-banner img {
  display: block;
  width: 100%;
  max-height: 220px;
  object-fit: cover;
}

.member-stats {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 10px;
  padding: 14px 20px;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  background: var(--bg-tertiary);
}
.ms-stat {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 2px;
  text-align: center;
}
.ms-stat b {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 20px;
  color: var(--text-primary);
}
.ms-stat span {
  font-size: 11px;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.6px;
}
@media (max-width: 560px) {
  .member-stats { grid-template-columns: repeat(2, 1fr); }
}

.members-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
  gap: 16px;
}
.member-card {
  display: flex;
  flex-direction: column;
  align-items: stretch;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-lg);
  padding: 20px;
  transition: var(--transition);
  position: relative;
}
.member-card:hover {
  border-color: rgba(108, 92, 231, 0.5);
  transform: translateY(-2px);
  box-shadow: var(--shadow-sm);
}
.member-card .mc-avatar {
  align-self: center;
  margin-bottom: 12px;
}
.member-card .mc-avatar .au-avatar {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  position: relative;
  background: linear-gradient(135deg, var(--accent), var(--accent-light));
  color: white;
  font-size: 24px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  font-family: 'Space Grotesk', sans-serif;
}
.member-card .mc-avatar .au-avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}
.member-card .mc-avatar .au-dot {
  position: absolute;
  bottom: 2px;
  right: 2px;
  width: 13px;
  height: 13px;
  border-radius: 50%;
  background: var(--success);
  border: 2.5px solid var(--bg-secondary);
}
.member-card .mc-avatar .au-dot.off { background: var(--text-muted); }
.member-card .mc-body { display: flex; flex-direction: column; align-items: center; text-align: center; flex: 1; }
.member-card .mc-name {
  font-family: 'Space Grotesk', sans-serif;
  font-weight: 700;
  font-size: 16px;
  color: var(--text-primary);
}
.member-card .mc-name:hover { color: var(--accent-light); }
.member-card .mc-user { font-size: 12px; color: var(--text-muted); margin-top: 1px; }
.member-card .mc-chips { display: flex; gap: 6px; flex-wrap: wrap; justify-content: center; margin-top: 10px; }
.member-card .mc-bio {
  font-size: 12.5px;
  color: var(--text-secondary);
  line-height: 1.55;
  margin: 10px 0 0;
  text-align: center;
}
.member-card .mc-foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
  padding-top: 14px;
  width: 100%;
}
.member-card .mc-followers {
  font-size: 12px;
  color: var(--text-muted);
  white-space: nowrap;
}
.member-card .mc-followers i { color: var(--danger); }
@media (max-width: 560px) {
  .member-card .mc-foot { flex-direction: column; align-items: stretch; }
  .member-card .mc-foot .btn { width: 100%; justify-content: center; }
}

.chip-filter {
  padding: 6px 12px;
  cursor: pointer;
  text-decoration: none;
  transition: var(--transition);
}
.chip-filter:hover { border-color: var(--accent); color: var(--text-primary); }
.chip-filter.on {
  background: rgba(108, 92, 231, 0.16);
  border-color: rgba(108, 92, 231, 0.6);
  color: var(--accent-light);
}

/* ---------- Events calendar ---------- */
.event-list { display: flex; flex-direction: column; gap: 14px; }
.event-card {
  display: flex;
  gap: 16px;
  align-items: stretch;
  padding: 18px 20px;
  border-radius: var(--radius-lg);
  transition: var(--transition);
  scroll-margin-top: 110px;
}
.event-card:hover { border-color: rgba(108, 92, 231, 0.5); transform: translateY(-1px); }
.ec-date {
  flex: none;
  width: 60px;
  border-radius: var(--radius-md);
  background: linear-gradient(135deg, rgba(108, 92, 231, 0.28), rgba(9, 132, 227, 0.18));
  border: 1px solid rgba(108, 92, 231, 0.45);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 8px 0;
}
.ec-day { font-family: 'Space Grotesk', sans-serif; font-size: 24px; font-weight: 700; line-height: 1; color: var(--text-primary); }
.ec-month { font-size: 11px; font-weight: 800; letter-spacing: .12em; text-transform: uppercase; color: var(--accent-light); margin-top: 3px; }
.ec-body { flex: 1; min-width: 0; }
.ec-meta { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; margin-bottom: 6px; }
.ec-time { font-size: 12px; color: var(--text-secondary); }
.ec-time i { color: var(--accent-light); }
.ec-title { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; color: var(--text-primary); margin: 0 0 4px; }
.ec-desc { font-size: 13.5px; color: var(--text-secondary); line-height: 1.6; margin: 0 0 10px; }
.ev-past-title {
  font-family: 'Space Grotesk', sans-serif;
  font-size: 16px;
  color: var(--text-muted);
  margin: 28px 0 10px;
}
.ev-past-list { display: flex; flex-direction: column; gap: 8px; }
.ev-past-row {
  display: flex;
  align-items: center;
  gap: 12px;
  flex-wrap: wrap;
  padding: 12px 16px;
  background: var(--bg-secondary);
  border: 1px solid var(--glass-border);
  border-radius: var(--radius-sm);
  scroll-margin-top: 110px;
}
.ev-past-name { flex: 1; min-width: 160px; font-weight: 600; font-size: 14px; color: var(--text-primary); }
.ev-past-when { font-size: 12px; color: var(--text-muted); }
@media (max-width: 560px) {
  .event-card { flex-direction: column; }
  .ec-date { width: 100%; flex-direction: row; gap: 8px; }
  .ec-day { font-size: 18px; }
}

/* ---------- Home-page upcoming events strip ---------- */
.home-events {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 14px;
}
.home-event {
  padding: 16px;
  border-radius: var(--radius-md);
  border: 1px solid var(--glass-border);
  transition: var(--transition);
  min-width: 0;
}
.home-event:hover { border-color: rgba(108, 92, 231, 0.5); transform: translateY(-2px); }
.he-date {
  flex: none;
  width: 46px;
  border-radius: var(--radius-sm);
  background: rgba(108, 92, 231, 0.16);
  border: 1px solid rgba(108, 92, 231, 0.4);
  display: flex;
  flex-direction: column;
  align-items: center;
  padding: 6px 0;
}
.he-day { font-family: 'Space Grotesk', sans-serif; font-size: 18px; font-weight: 700; line-height: 1; color: var(--text-primary); }
.he-month { font-size: 10px; font-weight: 800; letter-spacing: .1em; text-transform: uppercase; color: var(--accent-light); margin-top: 2px; }
