/* ===============================================
   CSS VARIABLES & ROOT STYLES
   Centralized design tokens for consistent theming
   =============================================== */
:root {
  /* Brand Colors */
  --primary-color: #ff0000;
  --secondary-color: #e6e6e6;
  --dark-color: #111111;
  --light-color: #f9f9f9;
  
  /* Text Colors */
  --text-color: #ffffff;
  --text-muted: #aaa;
  --text-dim: #ccc;
  --text-subtle: #9a9a9a;
  --heading-color: #ffffff;
  
  /* Background Colors */
  --bg-dark: #111111;
  --bg-darker: rgba(6, 6, 6, 0.95);
  --bg-overlay: rgba(0, 0, 0, 0.5);
  --bg-header-scrolled: rgba(10, 10, 10, 0.9);
  --bg-transparent: transparent;
  
  /* Border Colors */
  --border-default: #333;
  --border-light: rgba(255, 255, 255, 0.04);
  --border-muted: rgba(255, 255, 255, 0.5);
  --border-primary: var(--primary-color);
  
  /* Shadows */
  --shadow-sm: 0 2px 4px rgba(0, 0, 0, 0.2);
  --shadow-md: 0 5px 15px rgba(0, 0, 0, 0.2);
  --shadow-lg: 0 6px 18px rgba(0, 0, 0, 0.4);
  --shadow-text: 2px 2px 4px rgba(0, 0, 0, 0.7);
  --shadow-glow: 0 0 10px rgba(255, 0, 0, 0.8);
  
  /* Transitions & Animations */
  --transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
  --transition-fast: all 0.2s ease;
  --transition-medium: all 0.3s ease;
  --easing-smooth: cubic-bezier(0.25, 0.1, 0.25, 1);
  
  /* Typography */
  --heading-font: 'Teko', sans-serif;
  --body-font: 'Rajdhani', sans-serif;
  --letter-spacing-wide: 3px;
  --letter-spacing-normal: 1px;
  
  /* Spacing */
  --spacing-xs: 8px;
  --spacing-sm: 12px;
  --spacing-md: 20px;
  --spacing-lg: 40px;
  --spacing-xl: 60px;
  --spacing-2xl: 120px;
  --spacing-3xl: 180px;
  --spacing-4xl: 240px;
  
  /* Layout */
  --container-width: 90%;
  --container-max: 1200px;
  --border-radius: 8px;
  --border-radius-sm: 4px;
}

/* ===============================================
   GLOBAL RESET & BASE STYLES
   =============================================== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  font-family: var(--body-font);
  font-weight: 500;
  line-height: 1.5;
  color: var(--text-color);
  background: var(--bg-dark);
  overflow-x: auto;
}

/* ===============================================
   UTILITY CLASSES
   Reusable helper classes
   =============================================== */
.container {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: 0 auto;
  padding: 0 var(--spacing-md);
}

.sr-only {
  position: absolute !important;
  width: 1px !important;
  height: 1px !important;
  padding: 0 !important;
  margin: -1px !important;
  overflow: hidden !important;
  clip: rect(0 0 0 0) !important;
  white-space: nowrap !important;
  border: 0 !important;
}

.section-hidden {
  display: none !important;
}

/* ===============================================
   SECTION STYLES
   =============================================== */
section {
  padding: var(--spacing-2xl) 0;
  position: relative;
  /* Smooth fade transitions for sections */
  transition: opacity 0.35s ease;
  will-change: opacity;
}

.fade-reveal {
  opacity: 0;
}

/* Respect user motion preferences */
@media (prefers-reduced-motion: reduce) {
  section {
    transition: none !important;
  }
}

.section-title {
  font-size: 2.8rem;
  text-align: center;
  margin-bottom: 30px;
  color: var(--heading-color);
  position: relative;
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--heading-font);
}

/* ===============================================
   VIDEO LANDING PAGE
   Full-screen hero with background video
   =============================================== */
.video-section {
  position: relative;
  width: 100%;
  height: 100vh;
  overflow: hidden;
  background-color: #000;
}

.video-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

#bgVideo {
  position: absolute;
  min-width: 100%;
  min-height: 100%;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  object-fit: cover;
  z-index: 1;
  filter: grayscale(100%);
}

.video-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background-color: var(--bg-overlay);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  z-index: 2;
}

.video-content {
  display: flex;
  flex-direction: column;
  align-items: center;
  position: absolute;
  bottom: 0;
  padding-bottom: 10vh;
}

.scroll-down {
  color: white;
  font-size: 2rem;
  margin-top: var(--spacing-lg);
  animation: bounce 2s infinite;
}

@keyframes bounce {
  0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
  40% { transform: translateY(-15px); }
  60% { transform: translateY(-10px); }
}

/* ===============================================
   BUTTONS
   Reusable button components
   =============================================== */
.btn {
  font-family: var(--heading-font);
  font-weight: 600;
  letter-spacing: 2px;
  display: inline-block;
  padding: 12px 35px;
  text-decoration: none;
  transition: var(--transition);
  cursor: pointer;
  border: none;
  text-transform: uppercase;
}

.primary-btn {
  background: var(--primary-color);
  color: white;
}

.primary-btn:hover {
  background: var(--secondary-color);
  color: var(--dark-color);
  transform: scale(1.05);
}

/* ===============================================
   HEADER & NAVIGATION
   Fixed header with scroll behavior
   =============================================== */
header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  padding: var(--spacing-md) 0;
  z-index: 1000;
  background-color: var(--bg-transparent);
  transition: background-color 0.3s ease, padding 0.3s ease;
}

header.scrolled {
  background-color: var(--bg-header-scrolled);
  backdrop-filter: blur(5px);
  padding: 15px 0;
  box-shadow: var(--shadow-md);
}

nav {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: var(--container-width);
  max-width: 1400px;
  margin: 0 auto;
}

.logo-img {
  height: 60px;
  width: auto;
}

.nav-links {
  display: flex;
  list-style: none;
}

.nav-links li {
  margin: 0 18px;
}

.nav-links a {
  text-decoration: none;
  color: var(--heading-color);
  font-weight: 700;
  font-size: 1.1rem;
  letter-spacing: var(--letter-spacing-normal);
  font-family: var(--heading-font);
  text-transform: uppercase;
  transition: var(--transition-medium);
}

.nav-links a:hover {
  color: var(--primary-color);
}

/* Navigation keyboard shortcuts */
.nav-key {
  font-weight: 700;
  color: var(--primary-color);
  border: 1px solid var(--border-muted);
  padding: 2px 6px;
  border-radius: var(--border-radius-sm);
  margin-right: var(--spacing-xs);
  transition: var(--transition);
}

.nav-links a:hover .nav-key,
.nav-links a.active .nav-key {
  background-color: var(--primary-color);
  color: white;
  border-color: var(--primary-color);
}

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

/* Shop icon in navigation */
.nav-extra .shop-icon {
  color: var(--heading-color);
  font-size: 1.5rem;
  transition: var(--transition-medium);
}

.nav-extra .shop-icon:hover {
  color: var(--primary-color);
  transform: scale(1.1);
}

/* Mobile burger menu - hidden by default */
.burger {
  display: none;
  cursor: pointer;
}

.line1, .line2, .line3 {
  width: 25px;
  height: 3px;
  background-color: white;
  margin: 5px 0;
  transition: 0.4s;
}

/* ===============================================
   ABOUT SECTION
   Two-column layout with image and text
   =============================================== */
.about-content {
  display: flex;
  align-items: center;
  gap: var(--spacing-xl);
}

/* Fixed flex basis to prevent layout shift */
.about-image {
  flex: 0 0 50%;
  max-width: 50%;
}

.about-text {
  flex: 0 0 80%;
  max-width: 80%;
  min-width: 0;
  word-wrap: break-word;
  overflow-wrap: break-word;
}

.about-image img {
  width: 100%;
  height: auto;
  border-radius: var(--border-radius);
}

.about-text h3 {
  font-size: 2.2rem;
  margin-bottom: 25px;
  color: var(--heading-color);
  font-family: var(--heading-font);
}

.about-intro {
  font-size: 1.15rem;
  font-weight: 600;
  line-height: 1.6;
  margin-bottom: 30px;
}

.about-volets {
  margin-bottom: 30px;
  padding-left: 30px;
  border-left: 4px solid var(--primary-color);
}

.about-volets h4 {
  font-family: var(--heading-font);
  font-size: 1.5rem;
  text-transform: uppercase;
  color: var(--primary-color);
  letter-spacing: 1.5px;
  margin-top: var(--spacing-md);
  margin-bottom: 10px;
}

.about-volets p,
.about-vision p {
  color: var(--text-dim);
  line-height: 1.7;
  margin-bottom: 15px;
  font-size: 1.05rem;
}

/* ===============================================
   TEAM & COLLAB SHARED STYLES
   =============================================== */
.team, .collab {
  background-color: var(--bg-transparent);
  padding: 70px 0;
  overflow: hidden;
  margin-top: var(--spacing-md);
  margin-bottom: var(--spacing-lg);
}

.section-title-team, .section-title-collab {
  text-align: center;
  margin-bottom: 80px;
}

.section-title-team h3, .section-title-collab h3 {
  font-family: var(--heading-font);
  font-size: 2.5rem;
  letter-spacing: 5px;
  color: var(--text-muted);
  text-transform: uppercase;
}

.title-logo {
  max-width: 300px;
}

.team-carousel-container, .collab-carousel-container {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 550px; /* Increased height to fit name on top */
}

.team-carousel, .collab-carousel {
  display: flex;
  align-items: center;
  width: 100%;
  height: 100%;
  transform-style: preserve-3d;
  perspective: 1500px;
  transition: transform 0.5s var(--easing-smooth);
}

/* MEMBER CARD STYLING */
.team-member, .collab-member {
  flex: 0 0 20%;
  position: relative;
  cursor: pointer;
  transition: var(--transition);
  filter: grayscale(100%);
  opacity: 0.4;
  transform: scale(0.85);
  
  /* FLEX STACKING FOR NAME ON TOP */
  display: flex;
  flex-direction: column; 
  align-items: center;
  justify-content: center;
}

.team-member.active, .collab-member.active {
  filter: none;
  opacity: 1;
  transform: scale(1.15); /* Slightly larger pop */
  z-index: 10;
}

.team-member.adjacent, .collab-member.adjacent {
  opacity: 0.6;
  transform: scale(0.95);
  z-index: 5;
}

/* NAME STYLING - CENTERED ON TOP */
.member-name {
  font-family: var(--heading-font);
  font-size: 2rem;
  letter-spacing: var(--letter-spacing-wide);
  color: white;
  text-shadow: 0 4px 10px rgba(0,0,0,0.8); /* Strong shadow for readability */
  text-align: center;
  margin-bottom: 15px; /* Space between name and head */
  width: 100%;
  
  /* Transition Effects */
  opacity: 0;
  transform: translateY(20px);
  transition: all 0.4s ease;
}

.team-member.active .member-name, 
.collab-member.active .member-name {
  opacity: 1;
  transform: translateY(0);
}

/* IMAGE STYLING */
.member-photo {
  width: 85%; /* Slightly larger */
  max-width: 280px;
  height: auto;
  object-fit: cover;
  transition: var(--transition-medium);
  /* Optional: Add a subtle glow to active images */
  filter: drop-shadow(0 0 0 transparent);
}

.team-member.active .member-photo,
.collab-member.active .member-photo {
  filter: drop-shadow(0 0 15px rgba(255, 0, 0, 0.3)); /* Red glow */
}

/* INFO (ROLE) STYLING - BELOW IMAGE */
.member-info {
  margin-top: 15px;
  text-align: center;
  opacity: 0;
  transform: translateY(-10px);
  transition: all 0.4s ease 0.1s; /* Slight delay */
}

.team-member.active .member-info,
.collab-member.active .member-info {
  opacity: 1;
  transform: translateY(0);
}

.member-role {
  font-family: var(--body-font);
  font-weight: 700;
  font-size: 1.1rem;
  color: var(--light-color);
  text-transform: uppercase;
  letter-spacing: 2px;
}

/* INDICATOR DOT */
.indicator {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #333;
  margin: 10px auto 0;
  transition: var(--transition-medium);
}

.team-member.active .indicator,
.collab-member.active .indicator {
  background-color: var(--primary-color);
  box-shadow: 0 0 8px var(--primary-color);
  transform: scale(1.5);
}

/* CAROUSEL BUTTONS */
.carousel-btn, .carousel-btn-collab {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(0,0,0,0.5);
  border: 1px solid rgba(255,255,255,0.2);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  font-size: 1.2rem;
  cursor: pointer;
  z-index: 20;
  transition: var(--transition);
  display: flex;
  align-items: center;
  justify-content: center;
}

.carousel-btn:hover {
  background: var(--primary-color);
  border-color: var(--primary-color);
  transform: translateY(-50%) scale(1.1);
}

.prev-btn, .prev-btn-collab { left: 20px; }
.next-btn, .next-btn-collab { right: 20px; }

/* ===============================================
   ROSTERS SECTION
   Expandable parallelogram tiles
   =============================================== */
/* Wider container for roster section */
.rosters .container {
  width: 96%;
  max-width: 1600px;
}

.rosters .section-title {
  color: var(--text-muted);
  font-family: var(--heading-font);
}

.roster-tiles {
  --gap: 8px;
  --speed: 0.6s;
  --easing: cubic-bezier(.22,.61,.36,1);
  --article-width: 480;
  --items: 6;

  display: grid;
  grid-template-columns: 16fr repeat(calc(var(--items) - 1), 1fr);
  gap: var(--gap);
  list-style: none;
  padding: 0;
  margin: 2rem auto;
  width: 100%;
  max-width: 1600px;
  height: clamp(480px, 52dvh, 580px);
  transition: grid-template-columns var(--speed) var(--easing);
}

.roster-tiles > li {
  position: relative;
  overflow: hidden;
  min-width: 80px;
  border: 1px solid var(--text-dim);
  background: var(--bg-dark);
  border-radius: 0;
  transform: skewX(-14deg);
  transform-origin: left center;
  isolation: isolate;
}

.roster-tiles article {
  width: calc(var(--article-width) * 1px);
  height: 100%;
  position: absolute;
  inset: 0;
  transform: skewX(14deg);
  display: flex;
  flex-direction: column;
  justify-content: flex-end;
  padding: 1rem clamp(12px, 2.2cqi, 20px) 3.25rem;
  color: var(--light-color);
}

.roster-tiles article h3 {
  position: absolute;
  top: 1rem;
  left: 1rem;
  transform: none;
  font-size: 1.2rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0.9;
  margin-left: 50px;
}

.roster-tiles article p {
  font-size: 1.2rem;
  opacity: 0;
  transition: opacity var(--speed) var(--easing);
  margin: 0 0 .75rem;
  max-width: 46ch;
  line-height: 1.35;
  display: -webkit-box;
  -webkit-line-clamp: 3;
  -webkit-box-orient: vertical;
  overflow: hidden;
}

.roster-tiles article a {
  position: absolute;
  left: clamp(12px, 2.2cqi, 20px);
  bottom: 1rem;
  color: var(--light-color);
  text-decoration: none;
  line-height: 1;
}

.roster-tiles article a span {
  border-bottom: 2px solid var(--light-color);
}

.roster-tiles article img {
  position: absolute;
  inset: 0;
  width: 170%;
  height: 170%;
  left: -35%;
  top: -35%;
  object-fit: contain;
  transform: skewX(-14deg) scale(1.02);
  transition: filter var(--speed) var(--easing), transform var(--speed) var(--easing);
  z-index: -1;
}

.roster-tiles [data-active="true"] article img {
  filter: grayscale(0) brightness(1);
  transform: skewX(-14deg) scale(0.6);
}

/* Gradient overlay for readability */
.roster-tiles > li::after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 40%;
  background: linear-gradient(to top, rgba(0,0,0,.35), transparent);
  z-index: 0;
}

.roster-tiles article {
  z-index: 1;
}

/* Disable interaction on inactive tiles */
.roster-tiles li:not([data-active="true"]) article :is(p, a) {
  pointer-events: none;
}



/* ===============================================
   JOIN SECTION
   Call-to-action section
   =============================================== */
.join-section {
  background: var(--bg-transparent);
  padding: 0;
  text-align: center;
  margin-top: var(--spacing-3xl);
  margin-bottom: var(--spacing-3xl);
}

.join-section .section-title {
  font-size: 2rem;
  color: var(--heading-color);
  margin-bottom: var(--spacing-md);
  font-family: var(--heading-font);
  letter-spacing: var(--letter-spacing-wide);
}

.join-content {
  display: flex;
  justify-content: center;
  align-items: center;
}

.join-btn {
  margin-top: var(--spacing-md);
  padding: 16px 36px;
  font-size: 1.05rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
}

/* ===============================================
   FOOTER
   Site footer with navigation and social links
   =============================================== */
footer {
  background: var(--bg-darker);
  color: var(--light-color);
  padding: var(--spacing-xl) 0;
  border-top: 1px solid var(--border-light);
  font-size: 0.95rem;
}

.footer-inner {
  width: var(--container-width);
  max-width: var(--container-max);
  margin: 0 auto;
}

.footer-top {
  display: flex;
  gap: var(--spacing-lg);
  align-items: flex-start;
  justify-content: space-between;
  padding-bottom: 28px;
  border-bottom: 1px solid var(--border-light);
}

.footer-brand {
  max-width: 320px;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-logo {
  height: 48px;
  width: auto;
  display: block;
}

.footer-tag {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.4;
}

.footer-nav ul {
  list-style: none;
  display: flex;
  gap: 18px;
  flex-wrap: wrap;
  padding: 0;
  margin: 0;
}

.footer-nav a {
  color: #ddd;
  text-decoration: none;
  font-weight: 600;
  letter-spacing: 0.4px;
  transition: color 0.25s ease, transform 0.15s ease;
}

.footer-nav a:hover {
  color: var(--primary-color);
  transform: translateY(-2px);
}

.footer-actions {
  display: flex;
  gap: var(--spacing-md);
  align-items: center;
  justify-content: flex-end;
}

.social-links {
  display: flex;
  gap: 15px;
}

.social-links a {
  color: var(--text-dim);
  font-size: 1.25rem;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: var(--transition-fast);
}

.social-links a:hover {
  color: var(--primary-color);
  transform: translateY(-3px);
}

.footer-bottom {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: var(--spacing-md);
  gap: var(--spacing-sm);
  flex-wrap: wrap;
}

.copyright {
  color: var(--text-subtle);
  font-size: 0.92rem;
}

.footer-legal {
  display: flex;
  align-items: center;
  gap: var(--spacing-xs);
}

.footer-legal a {
  color: var(--text-subtle);
  text-decoration: none;
  font-size: 0.92rem;
}

.footer-legal a:hover {
  color: var(--primary-color);
}

.back-to-top {
  color: var(--text-dim);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.02);
  text-decoration: none;
  transition: var(--transition-fast);
}

.back-to-top:hover {
  background: var(--primary-color);
  color: var(--dark-color);
  transform: translateY(-3px);
}

/* ===============================================
   ANIMATED BACKGROUND (DESKTOP ONLY)
   Parallax shapes with gradient overlay
   =============================================== */
@media (min-width: 769px) {
  .bg-animation {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1;
    overflow: hidden;
    pointer-events: none;
  }

  .bg-gradient {
    position: absolute;
    width: 100%;
    height: 100%;
    background: linear-gradient(
      135deg,
      rgba(17, 17, 17, 0.95) 0%,
      rgba(34, 0, 0, 0.9) 50%,
      rgba(17, 17, 17, 0.95) 100%
    );
    animation: gradientShift 15s ease infinite;
  }

  @keyframes gradientShift {
    0%, 100% { background-position: 0% 50%; }
    50% { background-position: 100% 50%; }
  }

  .bg-shapes {
    position: absolute;
    width: 100%;
    height: 100%;
  }

  .shape {
    position: absolute;
    background: linear-gradient(135deg, rgba(255, 0, 0, 0.03), rgba(255, 0, 0, 0.08));
    border: 1px solid rgba(255, 0, 0, 0.1);
    transform: skewX(-20deg);
    animation: float 20s ease-in-out infinite;
  }

  /* Individual shape positioning */
  .shape-1 {
    width: 300px;
    height: 200px;
    top: -50px;
    left: -100px;
    animation-delay: 0s;
  }

  .shape-2 {
    width: 250px;
    height: 180px;
    top: 10%;
    right: -80px;
    animation-delay: 2s;
  }

  .shape-3 {
    width: 350px;
    height: 220px;
    bottom: 10%;
    left: -120px;
    animation-delay: 4s;
  }

  .shape-4 {
    width: 280px;
    height: 190px;
    bottom: -60px;
    right: -90px;
    animation-delay: 6s;
  }

  .shape-5 {
    width: 200px;
    height: 150px;
    top: 50%;
    left: 5%;
    animation-delay: 8s;
    opacity: 0.5;
  }

  .shape-6 {
    width: 220px;
    height: 160px;
    top: 30%;
    right: 8%;
    animation-delay: 10s;
    opacity: 0.5;
  }

  @keyframes float {
    0%, 100% {
      transform: skewX(-20deg) translateY(0) rotate(0deg);
      opacity: 0.4;
    }
    25% {
      transform: skewX(-20deg) translateY(-30px) rotate(2deg);
      opacity: 0.6;
    }
    50% {
      transform: skewX(-20deg) translateY(-15px) rotate(-1deg);
      opacity: 0.5;
    }
    75% {
      transform: skewX(-20deg) translateY(-40px) rotate(1deg);
      opacity: 0.7;
    }
  }

  /* Floating particles with glow effect */
  .particle {
    position: absolute;
    width: 4px;
    height: 4px;
    background: var(--primary-color);
    border-radius: 50%;
    box-shadow: var(--shadow-glow);
    animation: particleFloat 15s infinite;
  }

  .particle-1 {
    top: 20%;
    left: 10%;
    animation-delay: 0s;
  }

  .particle-2 {
    top: 60%;
    left: 80%;
    animation-delay: 3s;
  }

  .particle-3 {
    top: 40%;
    left: 60%;
    animation-delay: 6s;
  }

  .particle-4 {
    top: 80%;
    left: 30%;
    animation-delay: 9s;
  }

  @keyframes particleFloat {
    0%, 100% {
      transform: translate(0, 0);
      opacity: 0;
    }
    10%, 90% {
      opacity: 1;
    }
    100% {
      transform: translate(100px, -100px);
      opacity: 0;
    }
  }
}

/* ===============================================
   RESPONSIVE DESIGN
   Mobile and tablet optimizations
   =============================================== */
/* Extra large screens - prevent names from drifting too far */
@media (min-width: 1400px) {
  .member-name {
    left: clamp(40px, 4%, 70px);
  }
}

/* Large screens (992px and below) */
@media (max-width: 992px) {
  section {
    padding: 70px 0;
  }
  
  .section-title {
    font-size: 2.4rem;
  }
  
  /* Adjust member name positioning for medium screens */
  .member-name {
    left: clamp(15px, 3%, 40px);
    font-size: clamp(1rem, 1.8vw, 1.6rem);
  }
}

/* About section mobile */
@media (max-width: 768px) {
  .about-content {
    flex-direction: column;
    gap: 30px;
    overflow-x: visible;
  }
  
  .about-image,
  .about-text {
    flex: 0 0 100%;
    max-width: 100%;
    width: 100%;
  }
  
  .about-text h3 {
    font-size: 1.8rem;
    text-align: center;
  }
  
  .about-intro,
  .about-volets p,
  .about-vision p {
    font-size: 0.95rem;
  }
  
  .about-volets {
    padding-left: var(--spacing-sm);
  }
  
  .about-volets h4 {
    font-size: 1.3rem;
  }
}

/* Team carousel mobile - converted to static list */
@media (max-width: 768px) {
  .team-carousel-container,
  .collab-carousel-container {
    height: auto;
    padding: var(--spacing-md) 0;
  }
  
  .team-carousel,
  .collab-carousel {
    flex-wrap: wrap;
    justify-content: center;
    gap: 40px;
    transform: none !important;
    perspective: none;
    transition: none;
  }
  
  .team-member,
  .collab-member {
    flex: 0 0 100%;
    margin-bottom: 30px;
    transform: none !important;
    opacity: 1 !important;
    filter: none !important;
    transition: none;
  }
  
  .carousel-btn,
  .prev-btn-collab,
  .next-btn-collab {
    display: none;
  }
  
  .member-name {
    position: static;
    writing-mode: horizontal-tb;
    transform: none !important;
    opacity: 1 !important;
    margin-bottom: 20px;
    text-shadow: 0 2px 8px rgba(0,0,0,0.8);
    font-size: 2.2rem;
  }
  
  .member-photo {
    width: 80%;
    max-width: 320px;
    transition: none;
    filter: none !important;
  }
  
  .member-info {
    opacity: 1 !important;
    transform: none !important;
    margin-top: 20px;
  }
  
  .member-role {
    font-size: 1.2rem;
  }
  
  .indicator {
    background-color: var(--primary-color) !important;
    box-shadow: 0 0 8px var(--primary-color);
    transform: scale(1.5) !important;
  }
  
  .team-member:hover .member-photo,
  .collab-member:hover .member-photo {
    transform: none;
  }
}

/* Roster tiles mobile - converted to stacked cards */
@media (max-width: 820px) {
  .roster-tiles {
    display: flex;
    flex-direction: column;
    gap: var(--spacing-md);
    height: auto;
    padding: 0;
  }

  .roster-tiles > li {
    transform: skewX(-8deg);
    min-width: 100%;
    border-radius: 0;
    height: 200px;
    border: 2px solid var(--border-default);
    overflow: hidden;
  }

  .roster-tiles article {
    transform: skewX(8deg);
    position: relative;
    height: 100%;
    width: 100%;
    padding: var(--spacing-md);
    display: flex;
    flex-direction: column;
    justify-content: space-between;
  }

  .roster-tiles article h3 {
    position: static;
    margin: 0 0 10px 0;
    font-size: 1.5rem;
    text-align: center;
  }

  .roster-tiles article p {
    opacity: 1;
    font-size: 0.95rem;
    text-align: center;
    margin: 10px 0;
    display: block;
    -webkit-line-clamp: 4;
  }

  .roster-tiles article a {
    position: static;
    display: inline-block;
    margin-top: 0.5rem;
    text-align: center;
  }

  .roster-tiles article img {
    width: 50%;
    height: 50%;
    left: 25%;
    top: 25%;
    object-fit: contain;
    transform: none;
    opacity: 0.15;
    filter: grayscale(0) brightness(0.8);
  }

  .roster-tiles > li::after {
    display: none;
  }

  .roster-tiles li:not([data-active="true"]) article :is(p, a) {
    pointer-events: auto;
  }
}

/* Join section mobile */
@media (max-width: 768px) {
  .join-section {
    padding: var(--spacing-xl) 0;
  }
  
  .join-section .section-title {
    font-size: 1.6rem;
  }
  
  .join-btn {
    width: 100%;
    max-width: 320px;
    padding: 14px var(--spacing-md);
  }
}

/* Mobile navigation */
@media (max-width: 768px) {
  .burger {
    display: none;
  }

  .video-btn {
    display: none;
  }
  .nav-links {
    position: absolute;
    right: 0;
    top: 80px;
    background: var(--bg-header-scrolled);
    backdrop-filter: blur(10px);
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
    transform: translateX(100%);
    transition: transform 0.5s ease-in;
    z-index: 999;
  }
  
  .nav-links li {
    opacity: 0;
    margin: 15px 0;
  }
  
  .nav-active {
    transform: translateX(0%);
  }
  
  /* Burger menu animation */
  .toggle .line1 {
    transform: rotate(-45deg) translate(-5px, 6px);
  }
  
  .toggle .line2 {
    opacity: 0;
  }
  
  .toggle .line3 {
    transform: rotate(45deg) translate(-5px, -6px);
  }
}

/* Footer mobile */
@media (max-width: 768px) {
  .footer-top {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 18px;
  }

  .footer-brand {
    align-items: center;
    text-align: center;
  }

  .footer-nav {
    width: 100%;
    text-align: center;
  }

  .footer-nav ul {
    flex-direction: column;
    gap: 10px;
    align-items: center;
    justify-content: center;
  }

  .footer-actions {
    flex-direction: row;
    align-items: center;
    justify-content: center;
    width: 100%;
  }

  .social-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 15px;
  }

  .social-links a {
    margin-left: 0;
  }

  .footer-bottom {
    flex-direction: column;
    align-items: center;
    gap: var(--spacing-sm);
    text-align: center;
    justify-content: center;
  }

  .footer-legal {
    justify-content: center;
  }
}
