@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');
@import url('https://fonts.googleapis.com/css2?family=Outfit:wght@300;400;500;600;700&display=swap');

:root {
  /* Premium Dark Palette */
  --bg-color: #030712;
  --surface-color: rgba(17, 24, 39, 0.7);
  --text-primary: #f8fafc;
  --text-secondary: #94a3b8;
  --accent-primary: #818cf8;
  /* Indigo 400 */
  --accent-secondary: #c084fc;
  /* Purple 400 */
  --accent-tertiary: #38bdf8;
  /* Sky 400 */
  --glass-border: rgba(255, 255, 255, 0.08);
  --glass-bg: rgba(255, 255, 255, 0.03);

  /* Spacing */
  --container-width: 800px;
  --header-height: 4rem;

  /* Animation */
  --transition-fast: 0.2s ease;
  --transition-medium: 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

html {
  scroll-behavior: smooth;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Inter', system-ui, sans-serif;
  background-color: var(--bg-color);
  color: var(--text-primary);
  line-height: 1.6;
  overflow-x: hidden;
  position: relative;
}

/* Background Gradients */
body::before {
  content: '';
  position: fixed;
  top: -10%;
  left: -10%;
  width: 50%;
  height: 50%;
  background: radial-gradient(circle, rgba(129, 140, 248, 0.15) 0%, transparent 60%);
  filter: blur(80px);
  /* Soft glow */
  z-index: -1;
  pointer-events: none;
}

body::after {
  content: '';
  position: fixed;
  bottom: -10%;
  right: -10%;
  width: 60%;
  height: 60%;
  background: radial-gradient(circle, rgba(192, 132, 252, 0.1) 0%, transparent 60%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}

main {
  width: 100%;
  max-width: var(--container-width);
  margin: 0 auto;
  padding: 4rem 1.5rem;
}

/* Typography */
h1,
h2,
h3,
h4 {
  font-family: 'Outfit', sans-serif;
  color: var(--text-primary);
  line-height: 1.2;
}

h1 {
  font-size: 3.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  background: linear-gradient(135deg, #fff 0%, #cbd5e1 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  margin-bottom: 0.5rem;
}

h2 {
  font-size: 1.75rem;
  font-weight: 600;
  margin-bottom: 2rem;
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

h2::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, var(--glass-border), transparent);
}

p {
  color: var(--text-secondary);
  font-size: 1.05rem;
  margin-bottom: 1.5rem;
}

a {
  color: var(--text-primary);
  text-decoration: none;
  transition: var(--transition-fast);
}

/* Hero Section */
.hero {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 3rem;
  align-items: start;
  margin-bottom: 5rem;
  animation: fadeIn 0.8s ease-out;
}

.hero-content {
  display: flex;
  flex-direction: column;
}

.identity {
  font-size: 1.25rem;
  color: var(--accent-primary);
  font-weight: 500;
  margin-bottom: 0.25rem;
}

.roles {
  display: flex;
  flex-wrap: wrap;
  gap: 0.75rem;
  margin-bottom: 1.5rem;
  font-size: 0.9rem;
  color: var(--text-secondary);
}

.role-tag {
  display: inline-flex;
  align-items: center;
  padding: 0.25rem 0.75rem;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  border-radius: 999px;
  backdrop-filter: blur(4px);
}

.bio {
  margin-bottom: 2rem;
  max-width: 500px;
}

.hero-photo {
  width: 180px;
  height: 180px;
  border-radius: 24px;
  /* Soft square */
  background: linear-gradient(135deg, var(--surface-color), var(--glass-bg));
  border: 1px solid var(--glass-border);
  overflow: hidden;
  position: relative;
  box-shadow: 0 20px 40px -10px rgba(0, 0, 0, 0.3);
}

.hero-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.cta-group {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0.6rem 1.4rem;
  border-radius: 12px;
  font-weight: 500;
  font-size: 0.95rem;
  transition: var(--transition-medium);
  cursor: pointer;
}

.btn-primary {
  background: var(--text-primary);
  color: var(--bg-color);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.1);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 0 30px rgba(255, 255, 255, 0.2);
}

.btn-secondary {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
}

.btn-secondary:hover {
  background: rgba(255, 255, 255, 0.08);
  /* slight brighten */
  border-color: rgba(255, 255, 255, 0.2);
  transform: translateY(-2px);
}

/* Featured Projects */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 1.5rem;
  margin-bottom: 5rem;
}

.project-card {
  background: linear-gradient(180deg, var(--glass-bg) 0%, rgba(0, 0, 0, 0) 100%);
  border: 1px solid var(--glass-border);
  border-radius: 16px;
  padding: 1.5rem;
  transition: var(--transition-medium);
  display: flex;
  flex-direction: column;
  height: 100%;
  backdrop-filter: blur(10px);
}

.project-card:hover {
  border-color: var(--accent-primary);
  transform: translateY(-5px);
  box-shadow: 0 10px 30px -10px rgba(129, 140, 248, 0.15);
}

.project-title {
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  color: var(--text-primary);
}

.project-desc {
  font-size: 0.9rem;
  color: var(--text-secondary);
  flex-grow: 1;
  margin-bottom: 1rem;
}

.project-meta {
  font-size: 0.75rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  font-weight: 600;
  margin-bottom: 1rem;
}

.card-link {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--accent-primary);
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
}

.card-link:hover {
  text-decoration: underline;
  text-underline-offset: 4px;
}

/* Talks & Teaching */
.talks-list {
  display: flex;
  flex-direction: column;
  gap: 1rem;
  margin-bottom: 5rem;
}

.talk-item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 1rem 1.5rem;
  background: rgba(255, 255, 255, 0.015);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-fast);
}

.talk-item:hover {
  background: rgba(255, 255, 255, 0.03);
  border-color: var(--text-secondary);
}

.talk-content div:first-child {
  font-weight: 600;
  color: var(--text-primary);
}

.talk-content div:last-child {
  font-size: 0.85rem;
  color: var(--text-secondary);
  margin-top: 0.25rem;
}

.talk-link {
  color: var(--accent-tertiary);
  font-size: 0.9rem;
}

/* Quick Credibility */
.credibility {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 2rem;
  padding: 3rem 2rem;
  border-top: 1px solid var(--glass-border);
  border-bottom: 1px solid var(--glass-border);
  margin-bottom: 5rem;
  background: rgba(0, 0, 0, 0.2);
}

.cred-item {
  font-size: 0.95rem;
  color: var(--text-secondary);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  gap: 0.25rem;
}

.cred-item strong {
  color: var(--text-primary);
  font-weight: 600;
  display: block;
  font-size: 1.1rem;
  color: var(--accent-primary);
  margin-bottom: 0.25rem;
}

/* Footer */
footer {
  display: flex;
  justify-content: center;
  gap: 2rem;
  padding: 2rem 0;
  color: var(--text-secondary);
  font-size: 0.9rem;
}

footer a {
  color: var(--text-secondary);
  transition: color 0.2s;
}

footer a:hover {
  color: var(--text-primary);
}

/* Mobile Menu Toggle (Hidden on Desktop) */
.mobile-menu-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  background: transparent;
  border: none;
  cursor: pointer;
  padding: 0.5rem;
  z-index: 1000;
}

.mobile-menu-toggle span {
  width: 25px;
  height: 3px;
  background: var(--text-primary);
  border-radius: 3px;
  transition: all 0.3s ease;
}

/* Hamburger animation when active */
.mobile-menu-toggle.active span:nth-child(1) {
  transform: rotate(45deg) translate(7px, 7px);
}

.mobile-menu-toggle.active span:nth-child(2) {
  opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
  transform: rotate(-45deg) translate(7px, -7px);
}

/* Responsive */
@media (max-width: 768px) {

  /* Typography adjustments */
  h1 {
    font-size: 2rem;
  }

  h2 {
    font-size: 1.5rem;
  }

  /* Navigation */
  .glass-nav {
    padding: 1rem 1.5rem;
    flex-direction: row;
    justify-content: space-between;
  }

  /* Show hamburger menu on mobile */
  .mobile-menu-toggle {
    display: flex;
  }

  /* Hide nav links by default on mobile */
  .nav-links {
    position: fixed;
    top: 70px;
    right: -100%;
    width: 250px;
    height: calc(100vh - 70px);
    background: rgba(3, 7, 18, 0.98);
    backdrop-filter: blur(12px);
    border-left: 1px solid var(--glass-border);
    flex-direction: column;
    gap: 0;
    padding: 2rem 0;
    transition: right 0.3s ease;
    z-index: 999;
  }

  /* Show nav links when active */
  .nav-links.active {
    right: 0;
  }

  .nav-links a {
    font-size: 1.1rem;
    padding: 1rem 2rem;
    border-bottom: 1px solid var(--glass-border);
    transition: background 0.2s;
  }

  .nav-links a:hover {
    background: rgba(255, 255, 255, 0.05);
  }

  .nav-logo {
    font-size: 1.3rem;
  }

  .nav-logo-img {
    width: 32px;
    height: 32px;
  }

  /* Hero section */
  .hero {
    grid-template-columns: 1fr;
    text-align: center;
    justify-items: center;
    gap: 2rem;
    padding: 2rem 1rem;
  }

  .hero-content {
    align-items: center;
  }

  .hero-photo {
    width: 140px;
    height: 140px;
  }

  .identity {
    font-size: 1rem;
  }

  .bio {
    font-size: 0.95rem;
  }

  .cta-group {
    justify-content: center;
  }

  /* Projects grid */
  .projects-grid {
    grid-template-columns: 1fr !important;
    gap: 1rem;
  }

  /* Experience cards */
  .experience-list {
    gap: 1.5rem;
  }

  .exp-header {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }

  .exp-date {
    margin-left: 0;
  }

  /* Credibility section */
  .credibility {
    grid-template-columns: 1fr;
    gap: 1.5rem;
    padding: 2rem 1rem;
  }

  /* Main content padding */
  main {
    padding: 1rem;
  }

  section {
    margin-bottom: 3rem !important;
  }

  /* Video containers */
  .video-container {
    margin-bottom: 1rem;
  }

  /* Talk metadata */
  .talk-meta {
    flex-direction: column;
    gap: 0.5rem;
    align-items: flex-start;
  }

  /* Compact grid for additional projects */
  .compact-grid {
    grid-template-columns: 1fr;
  }

  /* Footer */
  footer {
    flex-direction: column;
    gap: 1rem;
    text-align: center;
  }

  /* Project detail pages */
  .project-content-layout {
    grid-template-columns: 1fr;
    gap: 2rem;
  }

  /* Stats grid */
  .stats-grid {
    grid-template-columns: 1fr !important;
  }

  /* Featured talk section */
  #featured-talk>div {
    padding: 1.5rem !important;
  }

  #featured-talk h3 {
    font-size: 1.2rem !important;
  }
}

@keyframes fadeIn {
  from {
    opacity: 0;
    transform: translateY(10px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

/* Subpage Navigation */
.glass-nav {
  position: sticky;
  top: 0;
  z-index: 100;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1.5rem 3rem;
  /* Increased padding */
  background: rgba(3, 7, 18, 0.85);
  /* Slightly more opaque for better contrast */
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--glass-border);
  transition: padding 0.3s ease;
}

.nav-logo {
  font-family: 'Outfit', sans-serif;
  font-weight: 700;
  font-size: 1.5rem;
  /* Larger logo */
  color: var(--text-primary);
  display: flex;
  align-items: center;
  gap: 0.75rem;
}

.nav-logo-img {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  object-fit: cover;
  border: 2px solid var(--glass-border);
  transition: transform 0.3s ease, border-color 0.3s ease;
}

.nav-logo:hover .nav-logo-img {
  transform: scale(1.05);
  border-color: var(--accent-primary);
}

.nav-links {
  display: flex;
  gap: 2rem;
  /* More space between links */
}

.nav-links a {
  font-size: 1.1rem;
  /* Larger links */
  color: var(--text-secondary);
  font-weight: 500;
}

.nav-links a:hover,
.nav-links a.active {
  color: var(--accent-primary);
}

/* Page Headers */
.page-header {
  margin-bottom: 4rem;
  text-align: left;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 2rem;
}

.page-header h1 {
  font-size: 2.5rem;
  margin-bottom: 0.5rem;
}

/* Project Details (on /projects) */
.projects-list {
  display: flex;
  flex-direction: column;
  gap: 4rem;
  margin-bottom: 5rem;
}

.project-detail {
  padding: 2rem;
  border-radius: 20px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(10px);
}

.project-header {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 1rem;
  margin-bottom: 1rem;
}

.project-header h3 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin: 0;
}

.project-badge {
  font-size: 0.75rem;
  padding: 0.2rem 0.6rem;
  border-radius: 4px;
  background: rgba(129, 140, 248, 0.1);
  color: var(--accent-primary);
  border: 1px solid rgba(129, 140, 248, 0.2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
  font-weight: 600;
}

.project-summary {
  font-size: 1.1rem;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  line-height: 1.7;
}

.project-specs {
  display: grid;
  gap: 0.75rem;
  font-size: 0.95rem;
  color: var(--text-secondary);
  margin-bottom: 2rem;
  padding: 1.5rem;
  background: rgba(0, 0, 0, 0.2);
  border-radius: 12px;
}

.project-specs strong {
  color: var(--text-primary);
}

.project-links {
  display: flex;
  gap: 1rem;
}

.btn-sm {
  font-size: 0.85rem;
  padding: 0.5rem 1rem;
  border-radius: 8px;
  background: var(--surface-color);
  border: 1px solid var(--glass-border);
  color: var(--text-primary);
  font-weight: 500;
}

.btn-sm:hover {
  background: var(--glass-border);
  border-color: var(--text-secondary);
}

/* Additional Projects Grid */
.compact-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
  gap: 1.5rem;
  margin-top: 2rem;
}

.compact-card {
  padding: 1.5rem;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--glass-border);
  border-radius: 12px;
  transition: var(--transition-fast);
}

.compact-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-2px);
}

.compact-card h4 {
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
}

.compact-card p {
  font-size: 0.9rem;
  margin-bottom: 0;
}

/* Detailed Talks */
.talks-container {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.talk-card-full {
  padding: 2rem;
  border-bottom: 1px solid var(--glass-border);
}

.talk-card-full:last-child {
  border-bottom: none;
}

.talk-meta {
  display: flex;
  gap: 1rem;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--accent-secondary);
  margin-bottom: 0.5rem;
  font-weight: 600;
}

.talk-topic {
  display: inline-block;
  font-size: 0.9rem;
  color: var(--accent-tertiary);
  margin-bottom: 1rem;
}

.talk-desc {
  max-width: 650px;
}

.talk-links {
  margin-top: 1.5rem;
  display: flex;
  gap: 0.75rem;
}

/* About / Honors */
.about-content section {
  margin-bottom: 3rem;
}

.honors-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.honors-list li {
  padding-left: 1.5rem;
  position: relative;
  color: var(--text-secondary);
}

.honors-list li::before {
  content: '▹';
  position: absolute;
  left: 0;
  color: var(--accent-primary);
}

.honors-list strong {
  color: var(--text-primary);
  margin-right: 0.5rem;
}

/* Project Detail Layout (Subfiles) */
.project-content-layout {
  display: grid;
  grid-template-columns: 2fr 1fr;
  gap: 4rem;
  margin-top: 2rem;
}

.project-meta-top {
  font-size: 0.9rem;
  text-transform: uppercase;
  color: var(--accent-primary);
  letter-spacing: 0.05em;
  font-weight: 600;
  margin-bottom: 0.5rem;
}

.project-subtitle {
  font-size: 1.5rem;
  color: var(--text-secondary);
  font-weight: 300;
  margin-top: 0.5rem;
}

.project-main-text section {
  margin-bottom: 3rem;
}

.project-main-text h2 {
  font-size: 1.5rem;
  color: var(--text-primary);
  margin-bottom: 1rem;
}

.tech-list {
  list-style: none;
}

.tech-list li {
  margin-bottom: 0.75rem;
  padding-left: 1rem;
  border-left: 2px solid var(--accent-primary);
}

.tech-list strong {
  color: var(--text-primary);
}

/* Sidebar */
.project-sidebar {
  display: flex;
  flex-direction: column;
  gap: 2rem;
}

.sidebar-block {
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  padding: 1.5rem;
  border-radius: 12px;
}

.sidebar-block h3 {
  font-size: 0.85rem;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 0.5rem;
  letter-spacing: 0.05em;
}

.sidebar-block p {
  color: var(--text-primary);
  font-weight: 500;
  margin: 0;
  font-size: 1rem;
}

.stack-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 0.5rem;
}

.stack-tags span {
  font-size: 0.8rem;
  padding: 0.25rem 0.6rem;
  background: rgba(255, 255, 255, 0.05);
  border-radius: 4px;
  color: var(--text-secondary);
}

.full-width {
  width: 100%;
  text-align: center;
}

@media (max-width: 768px) {
  .project-content-layout {
    grid-template-columns: 1fr;
  }
}

/* Project Themes */
.project-theme-green {
  --accent-primary: #10b981;
  /* Emerald 500 */
}

.project-theme-yellow {
  --accent-primary: #f59e0b;
  /* Amber 500 */
}

.project-theme-red {
  --accent-primary: #ef4444;
  /* Red 500 */
}

/* Experience Section */
.experience-list {
  display: flex;
  flex-direction: column;
  gap: 2rem;
  margin-bottom: 5rem;
}

.experience-card {
  padding: 2rem;
  border-radius: 16px;
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  backdrop-filter: blur(8px);
  transition: var(--transition-medium);
  position: relative;
  overflow: hidden;
}

.experience-card:hover {
  background: rgba(255, 255, 255, 0.05);
  border-color: var(--glass-border);
  transform: translateY(-2px);
}

.experience-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 4px;
  height: 100%;
  background: var(--accent-primary);
  opacity: 0.5;
}

.exp-header {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  margin-bottom: 0.5rem;
  flex-wrap: wrap;
  gap: 1rem;
}

.exp-header h3 {
  font-size: 1.25rem;
  color: var(--text-primary);
  margin: 0;
}

.exp-company {
  color: var(--accent-secondary);
  font-weight: 600;
  font-size: 1rem;
}

.exp-date {
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-left: auto;
}

.exp-meta {
  font-size: 0.9rem;
  color: var(--text-secondary);
  font-family: 'Inter', monospace;
  margin-bottom: 1rem;
  opacity: 0.8;
}

.exp-details {
  list-style-type: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 0.5rem;
}

.exp-details li {
  padding-left: 1.2rem;
  position: relative;
  color: var(--text-secondary);
  font-size: 0.95rem;
  line-height: 1.6;
}

.exp-details li::before {
  content: "•";
  color: var(--accent-primary);
  position: absolute;
  left: 0;
  font-weight: bold;
}

/* Golden Experience Card */
.experience-card-gold {
  border-color: rgba(245, 158, 11, 0.5);
  /* Amber with opacity */
  background: linear-gradient(135deg, rgba(245, 158, 11, 0.08) 0%, rgba(3, 7, 18, 0.4) 100%);
  box-shadow: 0 0 20px rgba(245, 158, 11, 0.15);
  position: relative;
  overflow: hidden;
}

.experience-card-gold::before {
  background: #f59e0b;
  /* Amber 500 */
  box-shadow: 0 0 15px #f59e0b;
}

.experience-card-gold .exp-company,
.experience-card-gold .exp-date {
  color: #fbbf24;
  /* Amber 400 */
}

/* Shine Effect */
.experience-card-gold::after {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 50%;
  height: 100%;
  background: linear-gradient(to right,
      transparent 0%,
      rgba(255, 255, 255, 0.1) 50%,
      transparent 100%);
  transform: skewX(-25deg);
  animation: shine 3s infinite;
  pointer-events: none;
}

@keyframes shine {
  0% {
    left: -100%;
  }

  20% {
    left: 200%;
  }

  100% {
    left: 200%;
  }
}

/* Sub-navbar (Tabs) for Talks Page */
.sub-nav {
  display: flex;
  gap: 1rem;
  margin-bottom: 2rem;
  border-bottom: 1px solid var(--glass-border);
  padding-bottom: 1rem;
  overflow-x: auto;
}

.sub-nav-btn {
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-family: 'Outfit', sans-serif;
  font-size: 1.1rem;
  font-weight: 500;
  padding: 0.5rem 1rem;
  cursor: pointer;
  transition: all 0.2s ease;
  border-radius: 8px;
  white-space: nowrap;
}

.sub-nav-btn:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.05);
}

.sub-nav-btn.active {
  color: var(--text-primary);
  background: var(--glass-bg);
  border: 1px solid var(--glass-border);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
}

.tab-content {
  display: none;
  animation: fadeIn 0.4s ease-out;
}

.tab-content.active {
  display: block;
}

.video-container {
  width: 100%;
  aspect-ratio: 16 / 9;
  background: black;
  border-radius: 12px;
  overflow: hidden;
  border: 1px solid var(--glass-border);
  margin-bottom: 1.5rem;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-secondary);
}

.video-container iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Math Society Nav Link */
.nav-link-gold {
  color: #fbbf24 !important;
  /* Amber 400 */
  font-weight: 600;
  transition: all 0.3s ease;
}

.nav-link-gold:hover {
  color: #f59e0b !important;
  /* Amber 500 */
  text-shadow: 0 0 10px rgba(245, 158, 11, 0.4);
}T i m e s t a m p :   0 2 / 0 6 / 2 0 2 6   1 8 : 2 1 : 5 4  
 