/* ============================================================
   BitHuB â€” Premium Elegant Design System
   Version 5.0 | Refined Â· Fluid Â· Luminous
   ============================================================ */

/* â”€â”€ Google Fonts import â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&family=Space+Grotesk:wght@400;500;600;700&display=swap');

/* â”€â”€ Design Tokens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
:root {
  /* Surfaces â€” pure clean black */
  --bg-void:        #0c0c0c;
  --bg-body:        #0c0c0c;
  --bg-surface:     #111111;
  --bg-elevated:    #161616;
  --bg-card:        #0c0c0c;
  --bg-hover:       #1c1c1c;
  --bg-active:      #222222;
  --bg-glass:       rgba(255,255,255,0.02);

  /* Borders â€” clean dark lines */
  --border:         #222222;
  --border-soft:    #1a1a1a;
  --border-glow:    #3a3a3a;
  --border-accent:  #404040;

  /* Text hierarchy */
  --text-primary:   #f0f0f0;
  --text-secondary: #888888;
  --text-muted:     #555555;
  --text-ghost:     #333333;

  /* Accent â€” neutral white/grey, no colour */
  --accent:         #888888;
  --accent-glow:    transparent;
  --accent-vivid:   #cccccc;
  --accent-dim:     rgba(255,255,255,0.04);

  /* Semantic */
  --green:          #4caf80;
  --green-glow:     transparent;
  --amber:          #d4913a;
  --amber-glow:     transparent;
  --red:            #e05252;

  /* Gradients â€” none */
  --grad-card:      none;
  --grad-accent:    #888888;
  --grad-subtle:    none;

  /* Spacing */
  --sp-1: 4px;  --sp-2: 8px;  --sp-3: 12px;  --sp-4: 16px;
  --sp-5: 20px; --sp-6: 24px; --sp-8: 32px;  --sp-10: 40px;
  --sp-12: 48px; --sp-16: 64px;

  /* Typography */
  --font:      'Inter', system-ui, sans-serif;
  --font-body: 'Inter', system-ui, sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', 'Consolas', monospace;

  /* Motion */
  --ease-out:  cubic-bezier(0.22, 1, 0.36, 1);
  --ease-in:   cubic-bezier(0.55, 0, 1, 0.45);
  --t:         140ms ease;
  --t-slow:    240ms ease;

  /* Radii */
  --radius-sm: 4px;
  --radius:    6px;
  --radius-lg: 10px;

  /* Legacy variable mappings for other stylesheets compatibility */
  --space-1: var(--sp-1);
  --space-2: var(--sp-2);
  --space-3: var(--sp-3);
  --space-4: var(--sp-4);
  --space-5: var(--sp-5);
  --space-6: var(--sp-6);
  --space-8: var(--sp-8);
  --space-10: var(--sp-10);
  --space-12: var(--sp-12);
  --space-16: var(--sp-16);
  
  --accent-text: var(--text-secondary);
  --border-focus: var(--border-glow);
}

/* â”€â”€ Reset â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  overflow-x: hidden;
  -webkit-text-size-adjust: 100%;
}

body {
  font-family: var(--font-body);
  background: var(--bg-body);
  color: var(--text-primary);
  line-height: 1.6;
  font-size: 14px;
  font-weight: 400;
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  min-height: 100vh;
  padding-top: 64px;
}

/* â”€â”€ Typography â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
h1,h2,h3,h4,h5,h6 {
  font-family: var(--font);
  color: var(--text-primary);
  font-weight: 600;
  line-height: 1.25;
  letter-spacing: -0.02em;
}

p { color: var(--text-secondary); }
a { text-decoration: none; color: var(--accent); transition: color var(--t); }
a:hover { color: var(--accent-vivid); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   NAVIGATION â€” Floating glass bar
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.ihead {
  position: fixed;
  top: 0; left: 0;
  width: 100%;
  z-index: 1000;
  background: var(--bg-body);
  border-bottom: 1px solid var(--border);
  box-shadow: none;
}

header { background: transparent; }

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 0 clamp(var(--sp-5), 4vw, var(--sp-12));
  height: 64px;
  max-width: 1440px;
  margin: 0 auto;
  width: 100%;
}

/* Logo */
.logo { display: flex; align-items: center; }

.bithub1 {
  font-family: var(--font);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: var(--text-primary);
  text-transform: uppercase;
  -webkit-text-fill-color: unset;
  background: none;
}

.logo1 img {
  width: 28px;
  height: 28px;
  border-radius: 0;
  border: 1px solid var(--border);
  display: block;
  object-fit: cover;
  transition: border-color var(--t);
}

.logo1 img:hover { border-color: var(--border-accent); }

/* Nav links */
.nav-links {
  list-style: none;
  display: flex;
  gap: 0;
  align-items: center;
}

.nav-links li a {
  display: block;
  color: var(--text-secondary);
  text-decoration: none;
  font-family: var(--font);
  font-weight: 500;
  font-size: clamp(11px, 1.1vw, 13px);
  letter-spacing: 0.03em;
  padding: 0 clamp(var(--sp-2), 1.2vw, var(--sp-5));
  height: 64px;
  line-height: 64px;
  position: relative;
  transition: color var(--t);
  white-space: nowrap;
}

.nav-links li a:hover { color: var(--text-primary); border-bottom-color: var(--border-accent); }

.nav-links li a.blink-feedback { color: var(--accent-vivid); }
.nav-links li a.blink-feedback:hover { color: var(--text-primary); }

/* Mobile toggle */
.menu-toggle {
  display: none;
  background: none;
  border: 1px solid var(--border);
  color: var(--text-secondary);
  font-size: 14px;
  cursor: pointer;
  padding: var(--sp-2) var(--sp-3);
  line-height: 1;
  transition: all var(--t);
}

.menu-toggle:hover {
  border-color: var(--border-accent);
  color: var(--text-primary);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO / TRENDS CHART AREA
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.slider-container {
  width: 100%;
  margin-top: 0;
  background: var(--bg-surface);
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border);
}



.slider {
  width: 100%;
  min-height: clamp(240px, 32vw, 400px);
  position: relative;
}

.slider img {
  width: 100%;
  height: clamp(240px, 32vw, 400px);
  object-fit: cover;
  position: absolute;
  top: 0; left: 0;
  opacity: 0;
  transition: opacity 1.2s ease;
}

.slider img.active { opacity: 1; }

/* Trends card */
.trends-card-shell { width: 100%; background: transparent; }

.trends-card-header {
  padding: clamp(var(--sp-4), 2.5vw, var(--sp-6)) clamp(var(--sp-5), 4vw, var(--sp-10)) clamp(var(--sp-3), 2vw, var(--sp-4));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.trends-card-title {
  font-family: var(--font);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.05em;
  text-transform: uppercase;
}

.trends-live-badge {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  font-size: clamp(9px, 0.9vw, 11px);
  font-weight: 600;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--green);
  background: transparent;
  border: 1px solid rgba(76,175,128,0.2);
  padding: 3px 10px;
}

.trends-live-dot {
  width: 5px; height: 5px;
  background: var(--green);
  flex-shrink: 0;
  animation: livePulse 2s ease-in-out infinite;
}

@keyframes livePulse {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%       { opacity: 0.4; transform: scale(0.75); }
}

.trends-card-body {
  padding: clamp(var(--sp-4), 3vw, var(--sp-8)) clamp(var(--sp-5), 4vw, var(--sp-10));
}

.trends-note {
  margin-top: var(--sp-4);
  font-size: 11px;
  color: var(--text-muted);
  font-family: var(--font-mono);
  letter-spacing: -0.01em;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   COURSES SECTION
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.courses-section {
  width: 100%;
  background: var(--bg-body);
}

/* Section strip header â€” elegant label + line */
.section-strip {
  display: flex;
  align-items: center;
  padding: clamp(var(--sp-6), 4vw, var(--sp-10)) clamp(var(--sp-5), 4vw, var(--sp-10)) clamp(var(--sp-3), 2vw, var(--sp-5));
  max-width: 1440px;
  margin: 0 auto;
  gap: var(--sp-4);
}

.section-strip-label {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.section-strip-line {
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* â”€â”€ Grid â€” fluid, consistent columns across all devices â”€â”€ */
.courses-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
  gap: 0;
  padding: var(--sp-5) var(--sp-8) var(--sp-8);
  max-width: 1440px;
  margin: 0 auto;
  border-left: 1px solid var(--border);
  border-top: 1px solid var(--border);
}

/* â”€â”€ Course Card â€” premium glass â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.course-card {
  display: block;
  text-decoration: none;
  color: inherit;
  padding: var(--sp-8) var(--sp-6);
  background: var(--bg-body);
  border-right: 1px solid var(--border);
  border-bottom: 1px solid var(--border);
  position: relative;
  transition: background var(--t);
  cursor: pointer;
  overflow: hidden;
  min-width: 0;
}

/* Left tick mark â€” subtle white line, no glow */
.course-card::before {
  content: '';
  position: absolute;
  left: 0; top: 0; bottom: 0; right: auto;
  width: 2px;
  background: #444444;
  opacity: 0;
  transition: opacity var(--t);
}

.course-card:hover { background: var(--bg-hover); }
.course-card:hover::before { opacity: 1; }
.course-card:active { background: var(--bg-active); }

.course-name {
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
  display: block;
  word-break: break-word;
  hyphens: auto;
}

.course-credits {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.04em;
  color: var(--text-muted);
  text-transform: uppercase;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   SEMESTER DIVIDER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.crazy-divider {
  max-width: 1440px;
  margin: 0 auto;
  padding: clamp(var(--sp-5), 3vw, var(--sp-8)) clamp(var(--sp-5), 4vw, var(--sp-10)) clamp(var(--sp-3), 2vw, var(--sp-5));
  display: flex;
  align-items: center;
  gap: var(--sp-4);
  overflow: visible;
  background: transparent;
  border: none;
}

.crazy-divider .wave-container,
.crazy-divider .floating-shapes,
.crazy-divider .particle-system { display: none; }

.crazy-divider::before {
  content: attr(data-label);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-muted);
  white-space: nowrap;
  flex-shrink: 0;
}

.crazy-divider::after {
  content: '';
  flex: 1;
  height: 1px;
  background: var(--border);
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   FOOTER â€” TEAM CONTRIBUTORS
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
#project-contributors-bar {
  background: var(--bg-surface);
  border-top: 1px solid var(--border);
  padding: var(--sp-12) var(--sp-8) var(--sp-10);
  position: relative;
}

#project-contributors-bar::before { display: none; }
#project-contributors-bar::after  { display: none; }

.contributors-header {
  max-width: 1440px;
  margin: 0 auto clamp(var(--sp-6), 4vw, var(--sp-10));
  padding-bottom: clamp(var(--sp-4), 3vw, var(--sp-6));
  border-bottom: 1px solid var(--border);
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: var(--sp-3);
}

.contributors-title {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: var(--text-primary);
}

.contributors-subtitle {
  font-size: 12px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
}

.contributor-list-container {
  display: flex;
  flex-wrap: wrap;
  gap: 24px;
  justify-content: center;
  max-width: 1440px;
  margin: 0 auto;
  border: none;
}

/* â”€â”€ Contributor Card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
.contributor-profile,
.contributor-inner,
.contributor-front {
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.contributor-profile {
  width: 400px;
  height: 200px;
  flex-shrink: 0;
  cursor: default;
  opacity: 1;
  transform: translate3d(0, 0, 0);
  transition: opacity 0.3s ease;
  border: 1px solid var(--border);
  position: relative;
  min-width: 0;
}

.contributor-profile.visible {
  opacity: 1;
  transform: translate3d(0, 0, 0);
}

.contributor-inner {
  width: 100%;
  height: 100%;
  position: relative;
  transform-style: flat;
  transform: translate3d(0, 0, 0);
  transition: none;
}

.contributor-profile:hover .contributor-inner,
.contributor-profile:focus-within .contributor-inner { transform: translate3d(0, 0, 0); }

.contributor-front {
  padding: 0;
  display: grid;
  grid-template-columns: 200px 200px;
  grid-template-rows: 40px 28px 20px 48px 1fr;
  background: var(--bg-surface);
  border: none;
  transition: background var(--t);
  height: 100%;
  position: relative;
  overflow: hidden;
}

.contributor-front::after {
  content: '';
  position: absolute;
  top: 0;
  left: 200px;
  bottom: 0;
  width: 1px;
  background: var(--border);
  z-index: 2;
  pointer-events: none;
}

.contributor-profile:hover .contributor-front { background: var(--bg-elevated); }

.contributor-back { display: none; }

/* Profile photo */
.profile-picture {
  grid-column: 1;
  grid-row: 1 / span 5;
  width: 200px;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  border: none !important;
  display: block;
  margin-bottom: 0;
  cursor: pointer;
  transition: border-color var(--t), width 0.35s cubic-bezier(0.4,0,0.2,1),
              height 0.35s cubic-bezier(0.4,0,0.2,1), margin 0.35s cubic-bezier(0.4,0,0.2,1),
              border-radius 0.35s ease, box-shadow 0.35s ease;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: crisp-edges;
  will-change: width, height;
  border-radius: 0 !important;
  transform: scale(1.09);
  transform-origin: center center;
  clip-path: inset(4.2%);
}

.contributor-profile:hover .profile-picture { border-color: var(--border-accent); }


.contributor-profile.img-expanded .contributor-front::before {
  content: '';
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,0.55);
  backdrop-filter: blur(2px);
  -webkit-backdrop-filter: blur(2px);
  z-index: 4;
  pointer-events: none;
  animation: backdropFadeIn 0.3s ease forwards;
}

@keyframes backdropFadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

/* Enlarged profile image fills the card */
.profile-picture.enlarged {
  position: absolute;
  inset: 0;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 0;
  border: none !important;
  border-radius: 0;
  object-fit: cover;
  object-position: center top;
  cursor: zoom-out;
  z-index: 5;
  box-shadow: 0 0 0 1px rgba(107,156,247,0.3), 0 8px 40px rgba(0,0,0,0.6);
  transition: all 0.35s cubic-bezier(0.4,0,0.2,1);
  transform: none !important;
  clip-path: none !important;
  image-rendering: -webkit-optimize-contrast;
  image-rendering: auto;
}

.person-name, .person-role, .person-bio, .social-links {
  grid-column: 2;
  padding-left: 20px;
  padding-right: 20px;
  box-sizing: border-box;
}

.person-name {
  grid-row: 2;
  align-self: center;
  font-size: 13px;
  font-weight: 600;
  color: var(--text-primary);
  letter-spacing: 0.01em;
  margin: 0;
  padding-top: 0;
}

.person-role {
  grid-row: 3;
  align-self: center;
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--accent-vivid);
  margin: 0;
}

.person-bio {
  grid-row: 4;
  align-self: start;
  font-size: 11px;
  color: var(--text-muted);
  line-height: 1.4;
  margin: 0;
}

/* Social links */
.social-links {
  grid-row: 5;
  align-self: end;
  display: flex;
  gap: var(--sp-2);
  padding-bottom: 20px;
  margin: 0;
}

.social-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 28px;
  height: 28px;
  background: var(--bg-active);
  border: 1px solid var(--border);
  transition: all var(--t);
  flex-shrink: 0;
}

.social-icon:hover {
  background: var(--bg-hover);
  border-color: var(--border-accent);
}

.social-image {
  width: 14px;
  height: 14px;
  object-fit: contain;
  filter: grayscale(1) brightness(0.7);
  transition: filter var(--t);
}

.social-icon:hover .social-image { filter: grayscale(0) brightness(1); }

/* Badges */
.founder-badge,
.active-developer-badge {
  grid-column: 2;
  grid-row: 1;
  position: relative;
  overflow: hidden;
  justify-self: end;
  align-self: center;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  padding: 2px 6px;
  border: 1px solid var(--border);
  background: var(--bg-body);
  color: var(--text-muted);
  animation: none;
  margin-right: 20px;
  box-sizing: border-box;
}

.founder-badge {
  border-color: rgba(212,145,58,0.4);
  color: var(--amber);
  box-shadow: 0 0 10px rgba(212,145,58,0.15);
}

.active-developer-badge {
  border-color: rgba(74,144,217,0.4);
  color: var(--accent-vivid);
  box-shadow: 0 0 10px rgba(74,144,217,0.2);
}

.founder-badge::before,
.active-developer-badge::before {
  content: '';
  position: absolute;
  top: 0;
  left: -150%;
  width: 100%;
  height: 100%;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.45),
    transparent
  );
  transform: skewX(-20deg);
  animation: badgeShine 3s ease-in-out infinite;
  pointer-events: none;
}

@keyframes badgeShine {
  0% {
    left: -150%;
  }
  30%, 100% {
    left: 150%;
  }
}

/* Legacy cube overrides */
.cube-container { width: 100%; height: 100%; display: block; position: relative; }
.cube { width: 100%; height: 100%; position: relative; transform-style: flat; transition: none; }
.contributor-profile:hover .cube { transform: none; }
.cube-face {
  position: relative; inset: unset; border: none;
  background: transparent; backdrop-filter: none;
  box-shadow: none; display: flex; flex-direction: column;
  align-items: flex-start;
  padding: clamp(var(--sp-4), 2.5vw, var(--sp-8)) clamp(var(--sp-3), 2vw, var(--sp-6));
  border-radius: 0;
}
.cube-face.front::before { display: none; }
.cube-face.back { transform: none; background: transparent; border: none; display: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   VERSION STAMP
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
footer#project-contributors-bar { position: relative; }

.update-info-btn {
  position: absolute;
  right: clamp(var(--sp-5), 4vw, var(--sp-10));
  bottom: clamp(var(--sp-5), 4vw, var(--sp-10));
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background: var(--bg-void);
  border: 1px solid var(--border);
  color: var(--text-muted);
  font-family: var(--font-mono);
  font-size: 14px;
  font-weight: bold;
  cursor: pointer;
  z-index: 5;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--t);
}

.update-info-btn:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 16px rgba(107,156,247,0.08);
  color: var(--text-primary);
}

.update-details {
  display: inline-block;
  position: absolute;
  right: clamp(var(--sp-5), 4vw, var(--sp-10));
  bottom: calc(clamp(var(--sp-5), 4vw, var(--sp-10)) + 36px);
  padding: var(--sp-3) var(--sp-4);
  background: var(--bg-void);
  border: 1px solid var(--border);
  border-radius: var(--radius-sm);
  color: var(--text-muted);
  font-size: 10px;
  font-family: var(--font-mono);
  z-index: 4;
  transition: all var(--t);
  opacity: 0;
  pointer-events: none;
  transform: translateY(10px);
}

.update-details.active {
  opacity: 1;
  pointer-events: auto;
  transform: translateY(0);
}

.update-details:hover {
  border-color: var(--border-glow);
  box-shadow: 0 0 16px rgba(107,156,247,0.08);
}

.update-details .ud-title {
  font-weight: 700;
  font-size: 9px;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: var(--text-secondary);
  margin-bottom: 4px;
}

.update-details .ud-line { font-size: 9px; color: var(--text-muted); line-height: 1.7; }
.update-details .ud-key  { color: var(--text-secondary); font-weight: 600; margin-right: 4px; }
.update-details .ud-val  { color: var(--text-muted); }

@media (max-width: 900px) { 
  .update-info-btn, .update-details { display: none; } 
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   COPYRIGHT BAR
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.reserve {
  position: relative;
  background: var(--bg-body);
  padding: var(--sp-5) var(--sp-8);
  border-top: 1px solid var(--border);
  margin: 0;
}

.reserve p {
  font-size: 11px;
  color: var(--text-muted);
  letter-spacing: 0.02em;
  max-width: 1440px;
  margin: 0 auto;
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   TRENDS LOADER
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.trends-loader {
  position: absolute; inset: 0;
  display: flex; flex-direction: column;
  align-items: center; justify-content: center;
  color: var(--text-muted);
  pointer-events: none;
  gap: 10px;
  font-size: 11px;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  font-family: var(--font-mono);
}

.trends-loader .dots { display: flex; gap: 5px; }
.trends-loader .dot {
  width: 4px; height: 4px;
  background: var(--accent);
  border-radius: 50%;
  opacity: 0.3;
  animation: dotB 1.2s ease-in-out infinite;
}
.trends-loader .dot:nth-child(2) { animation-delay: 0.15s; }
.trends-loader .dot:nth-child(3) { animation-delay: 0.30s; }

@keyframes dotB {
  0%, 100% { opacity: 0.2; transform: translateY(0); }
  50%       { opacity: 1;   transform: translateY(-4px); }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   HERO SECTION (other pages)
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.hero-section {
  padding: clamp(var(--sp-10), 6vw, var(--sp-16)) clamp(var(--sp-5), 4vw, var(--sp-10)) var(--sp-8);
  max-width: 1440px;
  margin: 0 auto;
}

.hero-title {
  font-family: var(--font);
  font-size: clamp(1.5rem, 4vw, 2.5rem);
  font-weight: 700;
  letter-spacing: -0.03em;
  color: var(--text-primary);
  margin-bottom: var(--sp-3);
}

.hero-subtitle {
  font-size: clamp(13px, 1.4vw, 15px);
  color: var(--text-secondary);
  line-height: 1.7;
  max-width: 60ch;
}

.section-title {
  font-family: var(--font);
  font-size: clamp(11px, 1.2vw, 14px);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: var(--text-primary);
  margin-bottom: var(--sp-6);
  display: block;
}

.section-title::after { display: none; }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   BREADCRUMB
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.breadcrumb {
  display: flex;
  align-items: center;
  gap: var(--sp-2);
  padding: var(--sp-4) clamp(var(--sp-5), 4vw, var(--sp-10));
  font-size: 12px;
  color: var(--text-muted);
  border-bottom: 1px solid var(--border);
  max-width: 100%;
  font-family: var(--font-mono);
}

.breadcrumb a { color: var(--text-muted); font-weight: 400; }
.breadcrumb a:hover { color: var(--text-primary); }
.breadcrumb span { color: var(--text-ghost); }
.breadcrumb .current { color: var(--text-secondary); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   MISC LEGACY
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
.footer1 { display: none; }
.profile-card { display: none; }
.surajsatyamphoto { height: 80%; width: 80%; }
.insta { height: 16px; width: 16px; }
.main1:hover { background: var(--bg-hover); color: var(--text-primary); }
.blink-feedback { animation: none !important; }

/* Footer noise overlay hack */
body::after, html::after { content: none !important; display: none !important; }
.reserve::after { content: none !important; display: none !important; }

/* Radio / Slider remnants */
.photo-text {
  position: absolute; top: 50%; left: 50%;
  transform: translate(-50%,-50%);
  color: var(--text-primary);
  text-align: center; z-index: 2;
}

.radio-buttons {
  position: absolute; bottom: 1rem; left: 50%;
  transform: translateX(-50%);
  display: flex; gap: 6px; z-index: 3;
}
.radio-buttons input[type="radio"] { display: none; }
.radio-buttons label {
  width: 6px; height: 6px;
  background: var(--text-muted);
  cursor: pointer; border-radius: 50%;
  transition: background var(--t);
}
.radio-buttons label:hover { background: var(--text-secondary); }
.radio-buttons input[type="radio"]:checked + label { background: var(--accent); box-shadow: 0 0 6px var(--accent-glow); }

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   RESPONSIVE
   clamp() + vw handles proportional scaling.
   Breakpoints only manage structural changes.
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */

/* â”€â”€ Mobile nav collapse â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (max-width: 900px) {
  .nav-links {
    display: none;
    position: absolute;
    top: 64px; left: 0;
    width: 100%;
    background: rgba(10,10,15,0.96);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-bottom: 1px solid var(--border);
    flex-direction: column;
    gap: 0;
    z-index: 999;
  }

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

  .nav-links li a {
    height: auto;
    line-height: 1.5;
    padding: var(--sp-4) var(--sp-6);
    border-bottom: 1px solid var(--border-soft);
    font-size: 14px;
  }

  .nav-links li a::after { display: none; }

  .menu-toggle { display: block; }

  body { padding-top: 64px; }

  body, html {
    height: auto !important;
    overflow-x: hidden !important;
    margin-bottom: 0 !important;
    padding-bottom: 0 !important;
  }

  #project-contributors-bar { margin-bottom: 0 !important; }
  .reserve { margin-bottom: 0 !important; }

  .contributor-list-container { flex-direction: row; flex-wrap: wrap; }
}

/* â”€â”€ Touch enhancements â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (hover: none) and (pointer: coarse) {
  .course-card::before { opacity: 1; }
  .course-card:active { background: var(--bg-hover); }
  .course-card:active .course-name { color: var(--accent-vivid); }

  .social-icon {
    width: max(34px, clamp(22px, 2.8vw, 30px));
    height: max(34px, clamp(22px, 2.8vw, 30px));
  }
  /* Disable translateY hover on touch */
  .social-icon:hover { transform: none; }
}

/* â”€â”€ Large screens â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media (min-width: 1400px) {
  .slider { min-height: 400px; }
  .slider img { height: 400px; }
}

/* â”€â”€ Print â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
@media print {
  .ihead, .menu-toggle, #poll-modal, #trends-toast { display: none !important; }
  body { padding-top: 0; color: #000; background: #fff; }
  .course-card { border: 1px solid #ccc; background: #fff; }
  .courses-grid { grid-template-columns: repeat(4,1fr); background: #ccc; }
}

/* â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•
   â–ˆâ–ˆâ–ˆ  MOBILE ELEGANT REBUILD  â‰¤ 640px  â–ˆâ–ˆâ–ˆ
   PC view: 100% untouched above this line.
   Same clean black tone as PC â€” just rebuilt for mobile.
â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â•â• */
@media (max-width: 640px) {

  /* â”€â”€ Chart / Trends area â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .slider {
    min-height: 320px;
    height: auto;
  }
  .slider img {
    min-height: 200px;
    height: 200px;
  }

  .trends-card-header { padding: 16px 20px 12px; }
  .trends-card-title  { font-size: 12px; }
  .trends-live-badge  { font-size: 10px; padding: 3px 9px; }
  .trends-card-body   { padding: 18px 20px 16px; }
  .trends-note        { font-size: 10px; margin-top: 12px; }

  /* â”€â”€ Section strips â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .section-strip {
    padding: 28px 20px 16px;
    gap: 12px;
  }

  .section-strip-label {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  /* â”€â”€ Semester divider â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .crazy-divider { padding: 8px 20px 16px; gap: 12px; }

  .crazy-divider::before {
    font-size: 10px;
    letter-spacing: 0.14em;
  }

  /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
     COURSE GRID â€” 2-column, clean sharp panels
  â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .courses-grid {
    grid-template-columns: 1fr 1fr;
    gap: 1px;
    background: #222222;   /* --border, sharp grid lines */
    border-radius: 0;
    overflow: hidden;
    box-shadow: none;
    margin: 0 16px;
    padding: 0;
    width: auto;
    max-width: none;
    border-left: none;
    border-top: none;
  }

  /* â”€â”€ Course card â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .course-card {
    padding: 22px 16px 18px;
    background: #0c0c0c;
    border: none;
    border-radius: 0;
    box-shadow: none;
    min-height: 88px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  /* Left tick â€” subtle white, no glow */
  .course-card::before {
    opacity: 0.2;
    width: 2px;
    height: auto;
    top: 0; bottom: 0; left: 0; right: auto;
    background: #555555;
  }

  .course-card:active { background: #161616; }
  .course-card:active::before { opacity: 1; }
  .course-card:active .course-name { color: #cccccc; }

  /* Subject name */
  .course-name {
    font-size: 12px;
    font-weight: 600;
    letter-spacing: 0.05em;
    text-transform: uppercase;
    color: #f0f0f0;
    margin-bottom: 10px;
    line-height: 1.4;
    display: block;
  }

  /* Credits â€” clean grey pill */
  .course-credits {
    font-size: 10px;
    font-weight: 500;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #666666;
    background: rgba(255,255,255,0.04);
    border: 1px solid #333333;
    border-radius: 100px;
    padding: 2px 9px;
    display: inline-block;
    width: fit-content;
  }

  /* â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€
     TEAM â€” Horizontal scroll row, sharp dark cards
  â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  #project-contributors-bar {
    padding: 40px 0 36px;
  }

  .contributors-header {
    padding: 0 20px 16px;
    margin-bottom: 20px;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .contributors-title    { font-size: 12px; letter-spacing: 0.1em; }
  .contributors-subtitle { font-size: 11px; }

  /* Horizontal scroll row */
  .contributor-list-container {
    flex-direction: row;
    flex-wrap: nowrap;
    overflow-x: auto;
    overflow-y: visible;
    gap: 12px;
    padding: 4px 20px 20px;
    background: transparent;
    border: none;
    border-radius: 0;
    scrollbar-width: none;
    -ms-overflow-style: none;
    -webkit-mask-image: linear-gradient(
      90deg, transparent 0%, black 5%, black 95%, transparent 100%);
    mask-image: linear-gradient(
      90deg, transparent 0%, black 5%, black 95%, transparent 100%);
  }

  .contributor-list-container::-webkit-scrollbar { display: none; }

  /* Contributor card — clean black, sharp border */
  .contributor-profile {
    width: 400px;
    min-width: 400px;
    height: 200px;
    flex-shrink: 0;
    border-radius: 0;
    overflow: hidden;
    border: 1px solid #222222;
    background: #111111;
    box-shadow: 0 4px 20px rgba(0,0,0,0.4);
    transform: translate3d(0, 0, 0);
    opacity: 1;
  }

  .contributor-profile.visible {
    opacity: 1;
    transform: translate3d(0, 0, 0);
  }

  .contributor-front {
    padding: 0;
    background: #111111;
    height: 100%;
    overflow: hidden;
    position: relative;
    border-top: 2px solid #333333;
    display: grid;
    grid-template-columns: 200px 200px;
    grid-template-rows: 40px 28px 20px 48px 1fr;
  }

  .contributor-front::after {
    content: '';
    position: absolute;
    top: 0;
    left: 200px;
    bottom: 0;
    width: 1px;
    background: #333333;
    z-index: 2;
    pointer-events: none;
    display: block !important;
  }

  .profile-picture {
    grid-column: 1;
    grid-row: 1 / span 5;
    width: 200px;
    height: 100%;
    border-radius: 0 !important;
    border: none !important;
    margin-bottom: 0;
    box-shadow: none;
    object-fit: cover;
    object-position: center top;
    transform: scale(1.09);
    transform-origin: center center;
    clip-path: inset(4.2%);
  }

  .person-name, .person-role, .person-bio, .social-links {
    grid-column: 2;
    padding-left: 16px;
    padding-right: 16px;
    box-sizing: border-box;
  }

  .person-name {
    grid-row: 2;
    align-self: center;
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 0.01em;
    color: #f0f0f0;
    word-break: normal;
    margin: 0;
    padding-top: 0;
  }

  .person-role {
    grid-row: 3;
    align-self: center;
    font-size: 10px;
    letter-spacing: 0.06em;
    text-transform: uppercase;
    color: #888888;
    opacity: 1;
    margin: 0;
  }

  .person-bio {
    grid-row: 4;
    align-self: start;
    font-size: 11px;
    line-height: 1.6;
    color: #555555;
    font-style: normal;
    word-break: normal;
    margin: 0;
  }

  .social-links {
    grid-row: 5;
    align-self: end;
    gap: 6px;
    flex-wrap: nowrap;
    padding-bottom: 20px;
    margin: 0;
  }

  .social-icon {
    width: 30px;
    height: 30px;
    border-radius: 0;
    background: #1c1c1c;
    border: 1px solid #333333;
  }

  .social-image { width: 13px; height: 13px; }

  .founder-badge,
  .active-developer-badge {
    grid-column: 2;
    grid-row: 1;
    position: relative;
    overflow: hidden;
    justify-self: end;
    align-self: center;
    font-size: 8px;
    padding: 2px 7px;
    border-radius: 0;
    margin-right: 16px;
    box-sizing: border-box;
  }

  /* â”€â”€ Copyright â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€â”€ */
  .reserve {
    padding: 16px 20px;
    text-align: center;
  }

  .reserve p {
    font-size: 10px;
    letter-spacing: 0.03em;
    line-height: 1.7;
    color: #333333;
  }
}

:where(#project-contributors-bar *), :where(#project-contributors-bar *::before), :where(#project-contributors-bar *::after) { box-sizing: border-box; margin: 0; padding: 0; }
