:root {
  /* Core Colors - Dark Mode Base */
  --bg-body: #09090b;
  --bg-card: #18181b;
  --bg-card-hover: #27272a;
  --bg-nav: rgba(9, 9, 11, 0.85);
  
  /* Brand Colors - Warm Blue / Dream Theme */
  --primary: #3b82f6;
  --primary-dark: #2563eb;
  --accent: #06b6d4; /* Cyan/Dream glow */
  --accent-glow: rgba(6, 182, 212, 0.4);
  --gradient-main: linear-gradient(135deg, #06b6d4 0%, #3b82f6 100%);
  --gradient-card: linear-gradient(180deg, rgba(24, 24, 27, 0.8) 0%, rgba(39, 39, 42, 0.9) 100%);

  /* Typography */
  --text-main: #fafafa;
  --text-secondary: #a1a1aa;
  --text-muted: #71717a;
  --font-display: 'Inter', system-ui, -apple-system, sans-serif;
  
  /* Spacing & Layout */
  --spacing-xs: 4px;
  --spacing-sm: 8px;
  --spacing-md: 16px;
  --spacing-lg: 24px;
  --radius-sm: 8px;
  --radius-md: 12px;
  --radius-lg: 20px;
  --radius-full: 9999px;
  
  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0,0,0,0.3);
  --shadow-md: 0 4px 6px -1px rgba(0,0,0,0.4), 0 2px 4px -1px rgba(0,0,0,0.2);
  --shadow-glow: 0 0 20px rgba(59, 130, 246, 0.3);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  background-color: var(--bg-body);
  color: var(--text-main);
  font-family: var(--font-display);
  font-size: 15px;
  line-height: 1.5;
  -webkit-font-smoothing: antialiased;
  min-height: 100vh;
  overflow-x: hidden;
  padding-bottom: 90px; /* Space for bottom nav */
}

/* Utilities */
.container {
  width: 100%;
  max-width: 480px; /* Mobile focused max-width */
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.text-gradient {
  background: var(--gradient-main);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Header */
.header {
  position: sticky;
  top: 0;
  z-index: 50;
  background: var(--bg-nav);
  backdrop-filter: blur(12px);
  padding: var(--spacing-md) 0;
  border-bottom: 1px solid rgba(255,255,255,0.05);
}

.header-content {
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.brand-title {
  font-size: 20px;
  font-weight: 800;
  letter-spacing: -0.5px;
  margin: 0;
}

.brand-motto {
  font-size: 11px;
  color: var(--text-secondary);
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 2px;
}

/* Profile Bubble Section */
.profile-section {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  margin-top: var(--spacing-lg);
  margin-bottom: var(--spacing-lg);
}

.profile-bubble {
  width: 72px;
  height: 72px;
  border-radius: 50%;
  padding: 3px;
  background: var(--gradient-main);
  position: relative;
  flex-shrink: 0;
  box-shadow: var(--shadow-glow);
}

.profile-image {
  width: 100%;
  height: 100%;
  border-radius: 50%;
  background-color: var(--bg-card);
  overflow: hidden;
  border: 3px solid var(--bg-body);
}

.profile-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.profile-text h2 {
  font-size: 18px;
  margin: 0 0 4px 0;
  font-weight: 700;
}

.profile-text p {
  margin: 0;
  font-size: 13px;
  color: var(--text-muted);
}

/* Section Titles */
.section-header {
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  margin-bottom: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

.section-title {
  font-size: 16px;
  font-weight: 700;
  color: var(--text-main);
  margin: 0;
}

.section-link {
  font-size: 12px;
  color: var(--primary);
  text-decoration: none;
  font-weight: 600;
}

/* Fusion Bar (Horizontal Scroll) */
.fusion-scroll {
  display: flex;
  overflow-x: auto;
  gap: var(--spacing-md);
  padding: 0 var(--spacing-md) var(--spacing-lg) var(--spacing-md);
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}

.fusion-scroll::-webkit-scrollbar {
  display: none;
}

.fusion-card {
  min-width: 160px;
  width: 160px;
  height: 200px;
  background: var(--bg-card);
  border-radius: var(--radius-md);
  padding: var(--spacing-md);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border: 1px solid rgba(255,255,255,0.05);
  position: relative;
  overflow: hidden;
  transition: transform 0.2s;
}

.fusion-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; width: 100%; height: 4px;
  background: var(--gradient-main);
}

.fusion-card:active {
  transform: scale(0.98);
}

.fusion-title {
  font-size: 14px;
  font-weight: 700;
  line-height: 1.3;
  margin-bottom: auto;
}

.fusion-meta {
  font-size: 11px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 4px;
  margin-top: 8px;
}

.fusion-status {
  display: inline-block;
  padding: 2px 8px;
  border-radius: 12px;
  font-size: 10px;
  font-weight: 600;
  background: rgba(6, 182, 212, 0.1);
  color: var(--accent);
  width: fit-content;
}

/* Reels Teaser */
.reels-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: var(--spacing-md);
  padding: 0 var(--spacing-md);
}

.reel-card {
  background: var(--bg-card);
  border-radius: var(--radius-md);
  aspect-ratio: 3/4;
  position: relative;
  overflow: hidden;
}

.reel-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--spacing-md);
  background: linear-gradient(to top, rgba(0,0,0,0.9), transparent);
}

.reel-text {
  font-size: 12px;
  font-weight: 600;
  color: white;
}

/* Campus Database List */
.campus-list {
  padding: 0 var(--spacing-md);
  display: flex;
  flex-direction: column;
  gap: var(--spacing-sm);
}

.event-card {
  display: flex;
  align-items: center;
  gap: var(--spacing-md);
  background: var(--bg-card);
  padding: var(--spacing-md);
  border-radius: var(--radius-md);
  border: 1px solid rgba(255,255,255,0.03);
}

.date-box {
  background: rgba(255,255,255,0.05);
  border-radius: var(--radius-sm);
  width: 48px;
  height: 48px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
}

.date-box span:first-child {
  font-size: 10px;
  color: var(--text-muted);
  text-transform: uppercase;
}
.date-box span:last-child {
  font-size: 16px;
  font-weight: 800;
  color: var(--text-main);
}

.event-info h3 {
  font-size: 14px;
  margin: 0 0 4px 0;
  color: var(--text-main);
}
.event-info p {
  font-size: 12px;
  margin: 0;
  color: var(--text-secondary);
}

/* Bottom Nav */
.bottom-nav {
  position: fixed;
  bottom: 0;
  left: 0;
  width: 100%;
  background: var(--bg-card);
  border-top: 1px solid rgba(255,255,255,0.05);
  padding: 12px 24px 24px;
  display: flex;
  justify-content: space-between;
  align-items: flex-end;
  z-index: 100;
}

.nav-item {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  color: var(--text-muted);
  text-decoration: none;
  font-size: 10px;
  width: 44px;
}

.nav-item.active {
  color: var(--primary);
}

.nav-center {
  position: relative;
  top: -24px;
}

.center-sphere {
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: var(--gradient-main);
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 8px 20px rgba(6, 182, 212, 0.4);
  color: white;
  border: 4px solid var(--bg-body);
}

/* Placeholders */
.placeholder-image {
  background: #27272a;
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #52525b;
}

/* Notification Badge */
.badge-dot {
  width: 8px;
  height: 8px;
  background: #ef4444;
  border-radius: 50%;
  position: absolute;
  top: 0;
  right: 0;
}

.icon-btn {
  background: none;
  border: none;
  color: var(--text-main);
  padding: 8px;
  position: relative;
  cursor: pointer;
}
