/* ==========================================================================
   INNOVERSE OFFICIAL WEBSITE - MAIN STYLESHEET
   Style System: Dark Theme, Glassmorphism, Neon Accents, Fluid Grid
   ========================================================================== */

/* --------------------------------------------------------------------------
   1. ROOT VARIABLES & GLOBAL SETUP
   -------------------------------------------------------------------------- */
:root {
  /* Color Palette */
  --bg-color: #000000;
  --bg-card: rgba(20, 16, 38, 0.45);
  --border-color: rgba(255, 255, 255, 0.08);
  --border-hover: rgba(0, 240, 255, 0.3);

  --primary-glow: #00f0ff;
  /* Cyan */
  --secondary-glow: #a100ff;
  /* Purple */
  --accent-glow: #ff007f;
  /* Magenta/Pink */

  --text-main: #f3f1f9;
  --text-muted: #a6a2bc;
  --text-glow-shadow: 0 0 10px rgba(0, 240, 255, 0.5);

  /* Fonts */
  --font-heading: 'Space Grotesk', sans-serif;
  --font-body: 'Inter', sans-serif;

  /* Layout Constants */
  --max-width: 1200px;
  --header-height: 80px;
  --border-radius-lg: 24px;
  --border-radius-md: 16px;
  --border-radius-sm: 8px;
  --transition-smooth: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

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

html {
  scroll-behavior: smooth;
  font-size: 16px;
  background-color: transparent;
  color: var(--text-main);
  overflow-x: hidden;
}

body {
  font-family: var(--font-body);
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  position: relative;
  overflow-x: hidden;
  background-color: transparent;
}

h1,
h2,
h3,
h4,
h5,
h6,
.section-title,
.about-section-title,
.vision-section-title,
.mission-title,
.project-title,
.pillar-title,
.tab-btn {
  font-weight: 900 !important;
}

.bulb-motto {
  font-family: var(--font-heading);
  font-size: 1.25rem;
  font-weight: 900;
  color: var(--primary-glow);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.6);
  margin-top: 25px;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-align: center;
  animation: glowPulse 2.5s infinite alternate ease-in-out;
}

@keyframes glowPulse {
  0% {
    opacity: 0.8;
    text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  }

  100% {
    opacity: 1;
    text-shadow: 0 0 20px rgba(0, 240, 255, 0.8), 0 0 30px rgba(0, 240, 255, 0.4);
  }
}

.bg-glow-container {
  position: fixed;
  width: 100vw;
  height: 100vh;
  top: 0;
  left: 0;
  z-index: -2;
  overflow: hidden;
  pointer-events: none;
}

.bg-glow-blob {
  position: absolute;
  border-radius: 50%;
  filter: blur(140px);
  opacity: 0.35;
  mix-blend-mode: screen;
  pointer-events: none;
}

.blob-1 {
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, var(--secondary-glow) 0%, transparent 70%);
  top: -10%;
  right: -5%;
}

.blob-2 {
  width: 600px;
  height: 600px;
  background: radial-gradient(circle, var(--primary-glow) 0%, transparent 70%);
  bottom: 10%;
  left: -10%;
}

.blob-3 {
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
  top: 40%;
  right: 25%;
}

/* Particle Canvas Background */
#particle-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-color);
}

/* --------------------------------------------------------------------------
   3. GLASSMORPHIC DESIGN SYSTEM UTILITIES
   -------------------------------------------------------------------------- */
.glass-card {
  background: var(--bg-card);
  backdrop-filter: blur(20px) saturate(180%);
  -webkit-backdrop-filter: blur(20px) saturate(180%);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-lg);
  box-shadow: 0 8px 32px 0 rgba(0, 0, 0, 0.37);
  transition: border-color var(--transition-smooth), box-shadow var(--transition-smooth);
  position: relative;
  overflow: hidden;
}

.glass-card::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  background: linear-gradient(115deg,
      transparent 0%,
      rgba(255, 255, 255, 0.08) 50%,
      transparent 100%);
  background-size: 200% 100%;
  background-position: -100% 0;
  transition: background-position 0.75s ease;
  pointer-events: none;
  border-radius: inherit;
}

.glass-card:hover::after {
  background-position: 100% 0;
}

.glass-card:hover {
  border-color: var(--border-hover);
  box-shadow: 0 10px 40px 0 rgba(0, 240, 255, 0.1);
}

/* Text Gradient Utilities */
.text-gradient {
  background: linear-gradient(135deg, #ffffff 30%, var(--primary-glow) 70%, var(--secondary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-gradient-cyan-purple {
  background: linear-gradient(135deg, var(--primary-glow) 0%, var(--secondary-glow) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

/* Button UI Components */
.glass-btn {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 600;
  text-decoration: none;
  padding: 12px 28px;
  border-radius: 50px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 10px;
  transition: var(--transition-smooth);
  border: 1px solid var(--border-color);
  backdrop-filter: blur(8px);
}

.glass-btn-primary {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.25) 0%, rgba(161, 0, 255, 0.25) 100%);
  color: #fff;
  border-color: rgba(0, 240, 255, 0.4);
  box-shadow: 0 4px 15px rgba(0, 240, 255, 0.15);
}

.glass-btn-primary:hover {
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.45) 0%, rgba(161, 0, 255, 0.45) 100%);
  border-color: var(--primary-glow);
  box-shadow: 0 4px 25px rgba(0, 240, 255, 0.35);
  transform: scale(1.05);
}

.glass-btn-secondary {
  background: rgba(255, 255, 255, 0.05);
  color: var(--text-main);
}

.glass-btn-secondary:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.2);
  box-shadow: 0 4px 15px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

/* --------------------------------------------------------------------------
   4. LAYOUT SECTIONS CONTROLS
   -------------------------------------------------------------------------- */
.section {
  padding: 100px 20px;
  position: relative;
  z-index: 1;
}

.container {
  max-width: var(--max-width);
  margin: 0 auto;
  width: 100%;
}

.section-title-wrap {
  text-align: center;
  margin-bottom: 60px;
}

.section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 700;
  text-transform: uppercase;
  margin-bottom: 12px;
}

.section-subtitle {
  font-size: 1.1rem;
  color: var(--text-muted);
  max-width: 600px;
  margin: 0 auto;
}

/* --------------------------------------------------------------------------
   5. HEADER / NAVBAR (Controlled inside header.html)
   -------------------------------------------------------------------------- */
.site-header {
  position: fixed;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  width: 90%;
  max-width: 1200px;
  height: var(--header-height);
  z-index: 1000;
  background: rgba(13, 10, 28, 0.45);
  backdrop-filter: blur(20px);
  border: none;
  /* Gradient border handled by ::before overlay */
  border-radius: 100px;
  box-shadow:
    0 10px 30px rgba(0, 0, 0, 0.5),
    inset 0 1px 1px rgba(255, 255, 255, 0.1),
    inset 0 -1px 1px rgba(0, 0, 0, 0.4),
    0 0 20px rgba(0, 240, 255, 0.15),
    0 0 35px rgba(124, 58, 237, 0.1);
  transition: all 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

/* Gradient outline overlay (cyan-purple-blue) */
.site-header::before {
  content: "";
  position: absolute;
  top: -1px;
  left: -1px;
  right: -1px;
  bottom: -1px;
  border-radius: 100px;
  background: linear-gradient(90deg, #00f0ff 0%, #7c3aed 50%, #0052ff 100%);
  z-index: -1;
  pointer-events: none;
  padding: 1px;
  /* outline thickness */
  -webkit-mask: linear-gradient(#fff 0 0) content-box, linear-gradient(#fff 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.5;
  transition: opacity 0.4s cubic-bezier(0.16, 1, 0.3, 1);
}

.site-header.scrolled {
  background: rgba(13, 10, 28, 0.75);
  border: none;
  box-shadow:
    0 15px 35px rgba(0, 240, 255, 0.12),
    0 0 25px rgba(124, 58, 237, 0.18),
    inset 0 1px 1px rgba(255, 255, 255, 0.15);
}

.site-header.scrolled::before {
  opacity: 0.9;
}

.nav-container {
  display: flex;
  justify-content: space-between;
  align-items: center;
  height: 100%;
  max-width: var(--max-width);
  margin: 0 auto;
  padding: 0 20px;
}

.logo-link {
  display: flex;
  align-items: center;
  gap: 10px;
  text-decoration: none;
  color: #fff;
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 1.4rem;
  letter-spacing: 1px;
}

.logo-icon {
  width: 80px;
  height: 56px;
}

.amu-logo-wrap {
  display: flex;
  align-items: center;
  margin-left: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.2);
  padding-left: 10px;
}

.amu-logo {
  width: 56px;
  height: 56px;
}

.nav-menu {
  display: flex;
  list-style: none;
  gap: 30px;
  align-items: center;
  padding-left: 20px;
  padding-right: 20px;
  padding-bottom: 10px;
  padding-top: 10px;
}

.nav-link {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 0.95rem;
  font-weight: 500;
  transition: var(--transition-smooth);
  position: relative;
  padding: 5px 0;
}

.nav-link:hover {
  color: var(--text-main);
  text-shadow: var(--text-glow-shadow);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--primary-glow);
  box-shadow: var(--text-glow-shadow);
  transition: var(--transition-smooth);
}

.nav-link:hover::after {
  width: 100%;
}

.nav-toggle {
  display: none;
  background: none;
  border: none;
  cursor: pointer;
  position: relative;
  z-index: 1001;
}

.nav-toggle span {
  display: block;
  width: 25px;
  height: 2px;
  background-color: var(--text-main);
  margin: 5px 0;
  transition: var(--transition-smooth);
}

/* Hamburger animation */
.nav-toggle.active span:nth-child(1) {
  transform: translateY(7px) rotate(45deg);
}

.nav-toggle.active span:nth-child(2) {
  opacity: 0;
}

.nav-toggle.active span:nth-child(3) {
  transform: translateY(-7px) rotate(-45deg);
}

/* --------------------------------------------------------------------------
   6. HERO SECTION (Controlled inside hero.html)
   -------------------------------------------------------------------------- */
.hero-wrapper {
  min-height: 100vh;
  display: flex;
  align-items: center;
  padding-top: var(--header-height);
  position: relative;
}

.hero-grid {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-content-side {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  width: 100%;
}

.hero-tagline-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  background: rgba(0, 240, 255, 0.08);
  border: 1px solid rgba(0, 240, 255, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  margin-bottom: 30px;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.05);
}

.hero-title-container {
  margin-bottom: 30px;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-motto {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 800;
  text-transform: uppercase;
  letter-spacing: 8px;
  color: rgba(255, 255, 255, 0.95);
  margin-bottom: 25px;
  display: inline-flex;
  align-items: center;
  gap: 4px;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.35);
}

.motto-dot {
  color: var(--secondary-glow);
  /* neon purple/magenta dot */
  font-size: 1.4rem;
  margin: 0 8px;
  text-shadow: 0 0 12px rgba(161, 0, 255, 0.8);
  animation: mottoPulse 2s infinite alternate ease-in-out;
  display: inline-block;
}

@keyframes mottoPulse {
  0% {
    transform: scale(1);
    opacity: 0.7;
  }

  100% {
    transform: scale(1.3);
    opacity: 1;
  }
}

.hero-main-title {
  font-family: var(--font-heading);
  font-size: 8.5rem;
  line-height: 1;
  font-weight: 950;
  text-transform: uppercase;
  letter-spacing: 24px;
  margin-bottom: 30px;
  position: relative;
  display: inline-block;

  /* Rexton solid digital gradient fill */
  background: linear-gradient(90deg, #00f0ff, #0066ff, #00f0ff);
  background-size: 200% auto;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: textGradientFlow 8s linear infinite;

  /* SVG Glitch Smear displacement filter */
  filter: url(#glitch-smear);

  /* Subtle drop shadow blend */
  text-shadow: 0 0 20px rgba(0, 96, 255, 0.3);
}

@keyframes textGradientFlow {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

.hero-tagline {
  font-family: 'Silkscreen', monospace;
  font-size: 1.4rem;
  font-weight: 700;
  color: var(--primary-glow);
  text-transform: uppercase;
  letter-spacing: 3px;
  display: inline-flex;
  align-items: center;
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.typewriter-cursor {
  font-weight: 400;
  color: var(--primary-glow);
  animation: cursorBlink 0.8s step-end infinite;
  margin-left: 6px;
}

@keyframes cursorBlink {

  from,
  to {
    opacity: 0
  }

  50% {
    opacity: 1
  }
}

.hero-body-container {
  max-width: 680px;
  margin: 0 auto;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-desc {
  font-size: 1.25rem;
  color: var(--text-muted);
  margin: 0 auto 40px;
  line-height: 1.7;
}

.hero-btns {
  display: flex;
  justify-content: center;
  gap: 20px;
  width: 100%;
}

/* Glass interactive 3D container in Hero */
.hero-art-container {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
}

.hero-liquid-sphere {
  width: 320px;
  height: 320px;
  border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
  background: linear-gradient(135deg, rgba(0, 240, 255, 0.4) 0%, rgba(161, 0, 255, 0.4) 100%);
  box-shadow:
    inset 10px 10px 20px rgba(255, 255, 255, 0.25),
    inset -10px -10px 20px rgba(0, 0, 0, 0.5),
    0 15px 35px rgba(161, 0, 255, 0.25);
  animation: liquid-morph 8s ease-in-out infinite alternate;
  position: relative;
  backdrop-filter: blur(10px);
}

.hero-liquid-sphere::before {
  content: '';
  position: absolute;
  top: 15%;
  left: 15%;
  width: 60px;
  height: 30px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.4);
  transform: rotate(-30deg);
  filter: blur(2px);
}

@keyframes liquid-morph {
  0% {
    border-radius: 60% 40% 30% 70% / 60% 30% 70% 40%;
    transform: rotate(0deg);
  }

  50% {
    border-radius: 40% 60% 50% 50% / 50% 50% 60% 40%;
  }

  100% {
    border-radius: 30% 70% 70% 30% / 40% 60% 40% 60%;
    transform: rotate(360deg);
  }
}

/* --------------------------------------------------------------------------
   7. ABOUT & VISION
   -------------------------------------------------------------------------- */
/* --------------------------------------------------------------------------
   7. ABOUT & VISION (No Cards Layout with Centered/Left Glow Text)
   -------------------------------------------------------------------------- */
.about-grid {
  display: grid;
  grid-template-columns: 1.15fr 0.85fr;
  gap: 50px;
  align-items: center;
}

@media (max-width: 991px) {
  .about-grid {
    grid-template-columns: 1fr;
    gap: 40px;
  }
}

.about-left-side {
  display: flex;
  flex-direction: column;
  gap: 45px;
  justify-content: center;
  align-items: flex-start;
}

.about-text-block,
.vision-text-block {
  width: 100%;
  text-align: justify;
  color: #fff;
  text-shadow: 0 0 30px rgba(0, 240, 255, 0.08);
}

.about-section-title {
  font-family: var(--font-heading);
  font-size: 2.5rem;
  font-weight: 800;
  margin-bottom: 25px;
  text-align: left;
}

.about-p {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 25px;
  line-height: 1.7;
}

/* Feature Grid List inside About */
.about-features {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 15px;
  margin: 35px 0;
}

.about-feature-item {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  border-radius: var(--border-radius-sm);
  padding: 20px 10px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  text-align: center;
  transition: var(--transition-smooth);
}

.about-feature-item:hover {
  background: rgba(0, 240, 255, 0.03);
  border-color: rgba(0, 240, 255, 0.4);
  transform: translateY(-3px);
  box-shadow: 0 5px 15px rgba(0, 240, 255, 0.05);
}

.feature-icon {
  font-size: 1.4rem;
  color: var(--primary-glow);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.3);
}

.about-feature-item span {
  font-family: var(--font-heading);
  font-size: 0.85rem;
  font-weight: 600;
  color: #fff;
  letter-spacing: 0.5px;
}

/* Quote Callout styling */
.about-quote-card {
  position: relative;
  background: rgba(255, 255, 255, 0.01);
  border-left: 3px solid transparent;
  border-image: linear-gradient(to bottom, var(--primary-glow), var(--secondary-glow)) 1;
  padding: 25px 30px;
  border-radius: 4px;
  margin-top: 35px;
  overflow: hidden;
}

.quote-bg-icon {
  position: absolute;
  right: 25px;
  top: 15px;
  font-size: 4.5rem;
  color: #fff;
  opacity: 0.03;
  pointer-events: none;
}

.about-quote {
  font-style: italic;
  font-size: 1.15rem;
  line-height: 1.6;
  color: #fff;
  margin-bottom: 12px;
  position: relative;
  z-index: 2;
  text-align: left;
}

.about-author {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 700;
  text-transform: uppercase;
  color: var(--primary-glow);
  letter-spacing: 1px;
  position: relative;
  z-index: 2;
  display: block;
  text-align: left;
}

.vision-section-title {
  font-family: var(--font-heading);
  color: var(--secondary-glow);
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 850;
  font-size: 1.2rem;
  margin-bottom: 20px;
  text-align: left;
  text-shadow: 0 0 12px rgba(124, 58, 237, 0.5);
}

.vision-content-text {
  font-size: 1.45rem;
  font-weight: 600;
  line-height: 1.65;
  color: #fff;
  border-left: 3px solid var(--secondary-glow);
  padding-left: 20px;
  text-align: justify;
  text-shadow: 0 0 20px rgba(124, 58, 237, 0.15);
}

.about-right-side {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  position: relative;
  width: 100%;
}

/* --------------------------------------------------------------------------
   8. MISSION SECTOR (The 6 Pillars)
   -------------------------------------------------------------------------- */
.mission-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 30px;
}

.mission-card {
  padding: 35px;
  display: flex;
  flex-direction: column;
  height: 100%;
  position: relative;

  /* Override glass-card defaults for custom SVG background */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.mission-card::after {
  display: none !important;
  /* Hide standard rectangular shine overlay */
}

.mission-card:hover {
  transform: translateY(-5px);
}

/* Hover dynamic glows on the SVG background for mission cards */
.mission-card:hover .card-svg-bg {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.45));
}

.mission-card.purple-card:hover .card-svg-bg {
  filter: drop-shadow(0 0 6px rgba(161, 0, 255, 0.45));
}

.mission-icon-wrap {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 25px;
  width: 100%;
}

.mission-num {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  line-height: 1;
  display: block;
}

.mission-icon {
  font-size: 1.8rem;
  color: var(--primary-glow);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
  transition: transform 0.3s ease, color 0.3s ease;
}

.mission-card:hover .mission-icon {
  transform: scale(1.15) rotate(5deg);
  color: var(--secondary-glow);
  text-shadow: 0 0 12px rgba(161, 0, 255, 0.5);
}

.mission-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 15px;
}

.mission-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* --------------------------------------------------------------------------
   9. PILLARS & SUB-TEAMS (Core vs Tinkers)
   -------------------------------------------------------------------------- */
.team-structure-layout {
  display: flex;
  flex-direction: column;
  gap: 50px;
  margin-bottom: 60px;
}

.core-team-block {
  width: 100%;
}

.tinkers-team-block {
  width: 100%;
}

.pillar-title-wrap {
  display: flex;
  align-items: center;
  gap: 15px;
  margin-bottom: 15px;
}

.pillar-title-wrap i {
  font-size: 1.4rem;
}

.core-icon {
  color: var(--primary-glow);
  text-shadow: 0 0 10px rgba(0, 240, 255, 0.4);
}

.tinkers-icon {
  color: var(--secondary-glow);
  text-shadow: 0 0 10px rgba(161, 0, 255, 0.4);
}

.pillar-main-title {
  font-family: var(--font-heading);
  font-size: 1.6rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
  letter-spacing: 0.5px;
}

.pillar-main-desc {
  color: var(--text-muted);
  font-size: 1rem;
  line-height: 1.5;
  margin: 0 0 25px 0;
}

/* Tinkers Specific Card */
.tinkers-detail-card {
  padding: 45px !important;
  position: relative;
  overflow: hidden;
  border-left: 2.5px solid var(--secondary-glow);
}

.tinkers-circuit-svg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
  pointer-events: none;
  opacity: 0.65;
  transition: opacity 0.3s ease;
}

.tinkers-detail-card:hover .tinkers-circuit-svg {
  opacity: 0.9;
}

/* Live Hexagon Network Animations matching reference */
.tinkers-circuit-svg path {
  stroke-dasharray: 60 180;
  stroke-dashoffset: 240;
  animation: hex-sweep 7s infinite linear;
}

.tinkers-circuit-svg path:nth-of-type(1) {
  animation-duration: 6s;
}

.tinkers-circuit-svg path:nth-of-type(2) {
  animation-duration: 9s;
  animation-direction: reverse;
}

.tinkers-circuit-svg path:nth-of-type(3) {
  animation-duration: 5s;
}

@keyframes hex-sweep {
  to {
    stroke-dashoffset: 0;
  }
}

/* Pulsing vertices nodes */
.tinkers-circuit-svg circle {
  animation: node-pulse 2s infinite alternate ease-in-out;
  transform-origin: center;
}

.tinkers-circuit-svg circle:nth-of-type(even) {
  animation-delay: 0.4s;
  animation-duration: 2.4s;
}

@keyframes node-pulse {
  0% {
    opacity: 0.55;
    transform: scale(0.92);
  }

  100% {
    opacity: 1;
    transform: scale(1.1);
  }
}

/* Drift for background lines */
.tinkers-circuit-svg line {
  stroke-dashoffset: 100;
  animation: line-drift 25s infinite linear;
}

@keyframes line-drift {
  to {
    stroke-dashoffset: 0;
  }
}

.tinkers-grid-content {
  display: grid;
  grid-template-columns: 1.15fr 1.85fr;
  gap: 50px;
  align-items: center;
  position: relative;
  z-index: 2;
}

.tinkers-main-desc {
  color: #ffffff;
  font-size: 1.05rem;
  font-weight: 500;
  line-height: 1.65;
  margin: 0;
  position: relative;
  z-index: 2;
  text-shadow: 0 1.5px 3px rgba(0, 0, 0, 0.85);
}

.tinkers-roadmap {
  position: relative;
  z-index: 2;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  padding-left: 45px;
}

.roadmap-title {
  font-family: var(--font-heading);
  font-size: 1.1rem;
  font-weight: 700;
  margin-bottom: 20px;
  color: #fff;
  text-transform: uppercase;
  letter-spacing: 1px;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.roadmap-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 25px;
}

.roadmap-list li {
  display: flex;
  gap: 15px;
  align-items: flex-start;
}

.roadmap-step {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 800;
  color: var(--secondary-glow);
  background: rgba(161, 0, 255, 0.1);
  border: 1px solid rgba(161, 0, 255, 0.25);
  width: 28px;
  height: 28px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 8px rgba(161, 0, 255, 0.2);
}

.roadmap-text h5 {
  font-family: var(--font-heading);
  font-size: 0.95rem;
  font-weight: 700;
  margin: 0 0 4px 0;
  color: #fff;
  text-shadow: 0 1px 3px rgba(0, 0, 0, 0.7);
}

.roadmap-text p {
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.83rem;
  line-height: 1.45;
  margin: 0;
  text-shadow: 0 1px 2px rgba(0, 0, 0, 0.8);
}

.subteams-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 24px;
  margin-top: 25px;
}

.subteam-mini-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.04);
  border-radius: 14px;
  padding: 28px 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  transition: transform 0.3s cubic-bezier(0.165, 0.84, 0.44, 1), background 0.3s ease, border-color 0.3s ease;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  text-align: left;
}

.subteam-mini-card:hover {
  background: rgba(255, 255, 255, 0.04);
  transform: translateY(-4px);
}

/* Color Coding Borders & Icons */
.subteam-mini-card.web-track,
.subteam-mini-card.ai-track,
.subteam-mini-card.design-track {
  border-left: 3px solid var(--primary-glow);
}

.subteam-mini-card.research-track,
.subteam-mini-card.pr-track,
.subteam-mini-card.ops-track {
  border-left: 3px solid var(--secondary-glow);
}

.track-header {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 12px;
}

.track-icon {
  font-size: 1.25rem;
  transition: transform 0.3s ease;
}

.web-track .track-icon,
.ai-track .track-icon,
.design-track .track-icon {
  color: var(--primary-glow);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.4);
}

.research-track .track-icon,
.pr-track .track-icon,
.ops-track .track-icon {
  color: var(--secondary-glow);
  text-shadow: 0 0 8px rgba(161, 0, 255, 0.4);
}

.subteam-mini-card:hover .track-icon {
  transform: scale(1.15);
}

.track-name {
  font-family: var(--font-heading);
  font-size: 1.2rem;
  font-weight: 700;
  margin: 0;
  color: #fff;
}

.track-desc {
  font-size: 0.94rem;
  color: var(--text-muted);
  line-height: 1.5;
  margin: 0;
}

/* --------------------------------------------------------------------------
   10. FLAGSHIP COMPONENT: AMU VAULT
   -------------------------------------------------------------------------- */
.vault-layout {
  display: grid;
  grid-template-columns: 1fr 1.2fr;
  gap: 60px;
  align-items: center;
}

.vault-info-side {
  display: flex;
  flex-direction: column;
  position: relative;
}

/* Float graphic layout container */
.vault-graphic-side {
  display: flex;
  justify-content: center;
  align-items: center;
  position: relative;
  height: 100%;
  min-height: 400px;
}

.vault-svg-container {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 480px;
  /* Increased SVG graphic width */
}

/* Premium Floating SVG image */
.vault-floating-svg {
  width: 100%;
  height: auto;
  z-index: 2;
  animation: floatUpDown 4s ease-in-out infinite;
  filter: drop-shadow(0 0 45px rgba(0, 240, 255, 0.45));
  /* enhanced cyan glow scale and opacity */
}

/* Pulsing cyan shadow */
.vault-shadow {
  width: 80%;
  /* Increased shadow width to scale with vector size */
  height: 30px;
  /* Increased shadow thickness */
  background: radial-gradient(ellipse at center, rgba(0, 240, 255, 0.6) 0%, transparent 70%);
  border-radius: 50%;
  margin-top: 35px;
  filter: blur(12px);
  /* Increased blur radius for smoother dispersion */
  z-index: 1;
  animation: shadowPulse 4s ease-in-out infinite;
}

/* Floating animation */
@keyframes floatUpDown {
  0% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-22px);
  }

  100% {
    transform: translateY(0);
  }
}

/* Shadow scale and opacity changes mapped to SVG floating cycle */
@keyframes shadowPulse {
  0% {
    transform: scale(1);
    opacity: 0.9;
  }

  50% {
    transform: scale(0.65);
    opacity: 0.35;
  }

  100% {
    transform: scale(1);
    opacity: 0.9;
  }
}

.vault-badge {
  background: rgba(161, 0, 255, 0.08);
  border: 1px solid rgba(161, 0, 255, 0.2);
  color: var(--secondary-glow);
  font-family: var(--font-heading);
  text-transform: uppercase;
  font-size: 0.85rem;
  font-weight: 700;
  padding: 6px 16px;
  border-radius: 50px;
  align-self: flex-start;
  margin-bottom: 20px;
}

.vault-title {
  font-family: var(--font-heading);
  font-size: 3rem;
  font-weight: 800;
  margin-bottom: 20px;
}

.vault-desc {
  font-size: 1.1rem;
  color: var(--text-muted);
  margin-bottom: 30px;
}

.vault-features-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 20px;
  margin-bottom: 40px;
}

.vault-feat-item {
  display: flex;
  align-items: flex-start;
  gap: 12px;
}

.vault-feat-icon {
  color: var(--primary-glow);
  font-size: 1.2rem;
  margin-top: 3px;
}

.vault-feat-title {
  font-weight: 600;
  margin-bottom: 4px;
}

.vault-feat-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* CPI Predictor Glass Card Widget */
.vault-widget-side {
  padding: 40px;
}

.widget-title {
  font-family: var(--font-heading);
  font-size: 1.4rem;
  font-weight: 700;
  margin-bottom: 8px;
  text-align: center;
}

.widget-subtitle {
  font-size: 0.85rem;
  color: var(--text-muted);
  text-align: center;
  margin-bottom: 25px;
}

.predictor-form {
  display: flex;
  flex-direction: column;
  gap: 18px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.form-label {
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-muted);
}

.widget-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 16px;
  border-radius: var(--border-radius-sm);
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  width: 100%;
}

.widget-input:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.calc-btn {
  background: var(--primary-glow);
  color: #000;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.calc-btn:hover {
  background: #fff;
  box-shadow: var(--text-glow-shadow);
  transform: translateY(-2px);
}

.calc-result-wrap {
  margin-top: 20px;
  padding-top: 20px;
  border-top: 1px solid var(--border-color);
  text-align: center;
  display: none;
}

.calc-result-num {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  color: var(--primary-glow);
  line-height: 1.2;
}

.calc-result-txt {
  font-size: 0.85rem;
  color: var(--text-muted);
  margin-top: 4px;
}

/* --------------------------------------------------------------------------
   11. EVENTS MODULE (PromptCraft)
   -------------------------------------------------------------------------- */
.events-flex {
  display: flex;
  flex-direction: column;
  gap: 50px;
}

.event-highlight-card {
  padding: 45px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 50px;
  align-items: center;
}

.evt-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 14px;
  background: rgba(255, 0, 127, 0.08);
  border: 1px solid rgba(255, 0, 127, 0.2);
  border-radius: 50px;
  font-size: 0.85rem;
  color: var(--accent-glow);
  font-weight: 600;
  margin-bottom: 20px;
}

.evt-title {
  font-family: var(--font-heading);
  font-size: 2.2rem;
  font-weight: 800;
  margin-bottom: 15px;
}

.evt-date {
  font-family: var(--font-heading);
  color: var(--primary-glow);
  font-weight: 600;
  font-size: 1.05rem;
  margin-bottom: 20px;
}

.evt-desc {
  color: var(--text-muted);
  margin-bottom: 25px;
  font-size: 1rem;
  line-height: 1.6;
}

.evt-gallery-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 20px;
}

.evt-img-container {
  height: 220px;
  border-radius: var(--border-radius-md);
  overflow: hidden;
  border: 1px solid var(--border-color);
  position: relative;
}

.evt-img-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition-smooth);
}

.evt-img-container:hover img {
  transform: scale(1.08);
}

.evt-img-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  padding: 15px;
  background: linear-gradient(to top, rgba(7, 5, 15, 0.9) 0%, transparent 100%);
  font-size: 0.8rem;
  font-weight: 500;
}

/* Winner Showcases layout */
.winners-title-row {
  font-family: var(--font-heading);
  font-size: 1.5rem;
  font-weight: 700;
  text-align: center;
}

.winners-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 30px;
  max-width: 800px;
  margin: 0 auto;
}

.winner-card {
  padding: 30px;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.winner-badge-icon {
  font-size: 2.5rem;
  color: #ffd700;
  /* Gold */
  margin-bottom: 15px;
}

.winner-card-2nd .winner-badge-icon {
  color: #c0c0c0;
  /* Silver */
}

.winner-name {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  margin-bottom: 8px;
}

.winner-prize {
  font-size: 0.95rem;
  font-weight: 600;
  color: var(--primary-glow);
  margin-bottom: 12px;
}

.winner-desc {
  font-size: 0.85rem;
  color: var(--text-muted);
}

/* --------------------------------------------------------------------------
   12. PROJECT ECOSYSTEM & TIMELINE
   -------------------------------------------------------------------------- */
/* Projects Horizontal Slider */
.section-title-header {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-bottom: 45px;
  width: 100%;
}

.slider-controls {
  position: absolute;
  right: 0;
  bottom: 0;
  display: flex;
  gap: 15px;
}

@media (max-width: 768px) {
  .section-title-header {
    align-items: center;
    text-align: center;
  }

  .slider-controls {
    position: static;
    margin-top: 20px;
  }
}

.slider-btn {
  width: 46px;
  height: 46px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-color);
  color: #fff;
  font-size: 0.95rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.slider-btn:hover {
  background: var(--primary-glow);
  color: #000;
  box-shadow: var(--text-glow-shadow);
  border-color: var(--primary-glow);
  transform: translateY(-2px);
}

.projects-slider-track,
.events-slider-track {
  display: flex;
  gap: 30px;
  overflow-x: auto;
  padding: 10px 5px 40px;
  scrollbar-width: none;
  /* Hide Firefox scrollbar */
}

.projects-slider-track::-webkit-scrollbar,
.events-slider-track::-webkit-scrollbar {
  display: none;
  /* Hide Chrome/Safari scrollbar */
}

/* Hide navigation controls and dots for seamless marquee */
.slider-controls,
.slider-dots {
  display: none !important;
}

/* Projects Portal Portal-like Entering/Exiting Wrappers */
.projects-portal-wrapper,
.events-portal-wrapper {
  position: relative;
  width: 100%;
  overflow: visible;
  /* Allow neon glows to radiate above and below container */
  border-radius: var(--border-radius-md);
}

/* Left Neon Portal Line */
.projects-portal-wrapper::before,
.events-portal-wrapper::before {
  content: '';
  position: absolute;
  left: 0;
  top: 10px;
  bottom: 40px;
  width: 0;
  border-left: 2.5px solid var(--secondary-glow);
  box-shadow: 0 0 25px 8px rgba(161, 0, 255, 0.7);
  z-index: 10;
  pointer-events: none;
}

/* Right Neon Portal Line */
.projects-portal-wrapper::after,
.events-portal-wrapper::after {
  content: '';
  position: absolute;
  right: 0;
  top: 10px;
  bottom: 40px;
  width: 0;
  border-right: 2.5px solid var(--secondary-glow);
  box-shadow: 0 0 25px 8px rgba(161, 0, 255, 0.7);
  z-index: 10;
  pointer-events: none;
}

.project-slide-card,
.event-slide-card,
.event-static-card {
  flex: 0 0 360px;
  scroll-snap-align: start;
  padding: 35px;
  min-height: 260px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  align-items: center;
  text-align: center;
  position: relative;
  /* Override glass-card defaults for custom SVG background */
  background: transparent !important;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  overflow: visible !important;
  backdrop-filter: blur(12px) saturate(180%) !important;
  -webkit-backdrop-filter: blur(12px) saturate(180%) !important;
  transition: transform 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
}

.project-slide-card::after,
.event-slide-card::after,
.event-static-card::after {
  display: none !important;
  /* Hide standard rectangular shine overlay */
}

.project-slide-card:hover,
.event-slide-card:hover,
.event-static-card:hover {
  transform: translateY(-5px);
}

/* Featured Events Static Grid Layout */
.events-static-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 30px;
  max-width: 1200px;
  margin: 0 auto;
}

.event-card-inner {
  display: flex;
  gap: 25px;
  width: 100%;
  height: 100%;
  align-items: center;
  text-align: left;
}

.event-poster-col {
  flex: 0 0 170px;
  max-width: 170px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.event-poster-img {
  width: 100%;
  height: auto;
  aspect-ratio: 1 / 1.4;
  object-fit: cover;
  border-radius: 8px;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.4);
  transition: transform 0.4s ease, border-color 0.4s ease;
}

.event-static-card:hover .event-poster-img {
  transform: scale(1.03);
}

.event-info-col {
  flex: 1;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.event-card-details {
  border-top: 1px solid rgba(255, 255, 255, 0.05);
  padding-top: 10px;
}

.event-card-details strong {
  color: rgba(255, 255, 255, 0.85);
}

.project-coming-soon-card {
  align-items: center;
  text-align: center;
  justify-content: center;
  gap: 15px;
}

/* Custom Responsive SVG Background styling */
.card-svg-bg {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: -1;
  pointer-events: none;
  opacity: 0.85;
  transition: opacity 0.4s ease, filter 0.4s ease;
}

/* Hover dynamic glows */
.project-slide-card:hover .card-svg-bg {
  opacity: 1;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.45));
}

.project-coming-soon-card:hover .card-svg-bg {
  filter: drop-shadow(0 0 6px rgba(161, 0, 255, 0.45));
}

.coming-soon-icon {
  font-size: 2.2rem;
  color: var(--secondary-glow);
  text-shadow: 0 0 10px rgba(124, 58, 237, 0.4);
}

.coming-soon-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 800;
  color: #fff;
  letter-spacing: 0.5px;
}

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

.timeline-item-title {
  font-family: var(--font-heading);
  font-size: 1.3rem;
  font-weight: 700;
  color: #fff;
}

.project-status-bar {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
  width: 100%;
}

.project-status-text {
  font-family: var(--font-heading);
  font-size: 0.8rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  color: var(--text-muted);
}

/* 3D Indicator Dots */
.project-status-indicator {
  width: 16px;
  height: 16px;
  border-radius: 50%;
  display: inline-block;
  position: relative;
}

/* Green 3D dot for Live */
.indicator-live {
  background: radial-gradient(circle at 35% 35%, #5ff78e 0%, #10b981 60%, #064e3b 100%);
  box-shadow: 0 0 10px rgba(16, 185, 129, 0.6), inset -1px -1px 3px rgba(0, 0, 0, 0.4), inset 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Yellow 3D dot for In Progress / Active Dev */
.indicator-dev {
  background: radial-gradient(circle at 35% 35%, #ffe66d 0%, #f59e0b 60%, #78350f 100%);
  box-shadow: 0 0 10px rgba(245, 158, 11, 0.6), inset -1px -1px 3px rgba(0, 0, 0, 0.4), inset 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* Grey 3D dot for Planned */
.indicator-planned {
  background: radial-gradient(circle at 35% 35%, #d1d5db 0%, #6b7280 60%, #374151 100%);
  box-shadow: 0 0 8px rgba(107, 114, 128, 0.4), inset -1px -1px 3px rgba(0, 0, 0, 0.4), inset 1px 1px 2px rgba(255, 255, 255, 0.5);
}

/* AMU Vault Link */
.project-card-link {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: var(--primary-glow);
  font-family: var(--font-heading);
  font-weight: 700;
  font-size: 0.85rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  margin-top: 15px;
  text-decoration: none;
  transition: var(--transition-smooth);
}

.project-card-link:hover {
  color: #fff;
  text-shadow: 0 0 10px var(--primary-glow);
}

.timeline-desc {
  font-size: 0.95rem;
  color: var(--text-muted);
  line-height: 1.6;
}

/* Slider Pagination Dots */
.slider-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 30px;
}

.dot {
  width: 10px;
  height: 10px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: var(--transition-smooth);
}

.dot.active {
  background: var(--primary-glow);
  box-shadow: 0 0 10px var(--primary-glow);
  width: 26px;
  /* Pill active shape */
  border-radius: 5px;
}

/* --------------------------------------------------------------------------
   13. FOOTER (Controlled inside footer.html)
   -------------------------------------------------------------------------- */
.site-footer {
  border-top: 1px solid var(--border-color);
  background: rgba(7, 5, 15, 0.85);
  padding: 80px 20px 30px;
  position: relative;
  z-index: 10;
}

.footer-grid {
  display: grid;
  grid-template-columns: 1.2fr 0.8fr;
  gap: 50px;
  max-width: var(--max-width);
  margin: 0 auto 50px;
}

.footer-brand-side {
  display: flex;
  flex-direction: column;
  gap: 20px;
}

.footer-br.calc-result-txt {
  color: var(--text-muted);
  font-size: 0.85rem;
}

/* ==========================================================================
   AMU VAULT - CPI CALCULATOR CUSTOM WIDGET STYLES
   ========================================================================== */
.cpi-calculator-container {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.cpi-header-row {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 0.5fr;
  gap: 10px;
  text-align: center;
  margin-bottom: 5px;
}

.cpi-header-label {
  font-family: var(--font-heading);
  font-size: 0.9rem;
  font-weight: 600;
  color: #fff;
}

#cpi-rows-container {
  display: flex;
  flex-direction: column;
  gap: 12px;
  max-height: 200px;
  overflow-y: auto;
  padding-right: 5px;
}

/* Custom scrollbar for rows container */
#cpi-rows-container::-webkit-scrollbar {
  width: 5px;
}

#cpi-rows-container::-webkit-scrollbar-track {
  background: rgba(255, 255, 255, 0.02);
  border-radius: 10px;
}

#cpi-rows-container::-webkit-scrollbar-thumb {
  background: rgba(0, 240, 255, 0.2);
  border-radius: 10px;
}

.cpi-row {
  display: grid;
  grid-template-columns: 2fr 2fr 2fr 0.5fr;
  gap: 10px;
  align-items: center;
}

.cpi-row-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  color: #fff;
  font-family: var(--font-body);
  transition: var(--transition-smooth);
  width: 100%;
  text-align: center;
}

.cpi-row-input:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 8px rgba(0, 240, 255, 0.15);
}

.cpi-select-wrap {
  position: relative;
  width: 100%;
}

.cpi-row-select {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 10px 12px;
  border-radius: var(--border-radius-sm);
  color: #fff;
  font-family: var(--font-body);
  width: 100%;
  text-align: center;
  appearance: none;
  cursor: pointer;
  transition: var(--transition-smooth);
}

.cpi-row-select:focus {
  outline: none;
  border-color: var(--primary-glow);
}

.cpi-remove-btn {
  background: transparent;
  border: none;
  color: rgba(255, 255, 255, 0.4);
  cursor: pointer;
  font-size: 1rem;
  transition: var(--transition-smooth);
  padding: 5px;
}

.cpi-remove-btn:hover {
  color: #ff5252;
}

.cpi-btn-container {
  display: flex;
  justify-content: flex-start;
  margin-top: 5px;
}

.cpi-add-btn {
  background: var(--primary-glow);
  color: #000;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 8px 16px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 0.85rem;
}

.cpi-add-btn:hover {
  background: #fff;
  box-shadow: var(--text-glow-shadow);
  transform: translateY(-1px);
}

.cpi-calculate-btn {
  background: linear-gradient(135deg, #ff9f43 0%, #ff5252 100%);
  color: #fff;
  border: none;
  font-family: var(--font-heading);
  font-weight: 700;
  padding: 14px;
  border-radius: var(--border-radius-sm);
  cursor: pointer;
  transition: var(--transition-smooth);
  font-size: 1rem;
  width: 100%;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.cpi-calculate-btn:hover {
  background: linear-gradient(135deg, #ffa852 0%, #ff6b6b 100%);
  box-shadow: 0 0 15px rgba(255, 82, 82, 0.3);
  transform: translateY(-2px);
}

.footer-brand-desc {
  color: var(--text-muted);
  font-size: 0.95rem;
  max-width: 320px;
}

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

.social-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  text-decoration: none;
  font-size: 1.1rem;
  transition: var(--transition-smooth);
}

.social-btn:hover {
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--primary-glow);
  color: #fff;
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.2);
  transform: translateY(-2px);
}

.footer-links-side {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.footer-links-title {
  font-family: var(--font-heading);
  font-size: 1.05rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

.footer-nav {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.footer-nav-link {
  text-decoration: none;
  color: var(--text-muted);
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.footer-nav-link:hover {
  color: #fff;
  padding-left: 5px;
}

.footer-form-side {
  display: flex;
  flex-direction: column;
  gap: 15px;
}

.newsletter-form {
  display: flex;
  gap: 10px;
}

.newsletter-input {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid var(--border-color);
  padding: 12px 18px;
  border-radius: 50px;
  color: #fff;
  font-family: var(--font-body);
  font-size: 0.9rem;
  flex-grow: 1;
  transition: var(--transition-smooth);
}

.newsletter-input:focus {
  outline: none;
  border-color: var(--primary-glow);
  box-shadow: 0 0 10px rgba(0, 240, 255, 0.15);
}

.newsletter-btn {
  background: #fff;
  color: #000;
  border: none;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 0.95rem;
  transition: var(--transition-smooth);
}

.newsletter-btn:hover {
  background: var(--primary-glow);
  box-shadow: var(--text-glow-shadow);
  transform: scale(1.05);
}

.footer-bottom {
  max-width: var(--max-width);
  margin: 0 auto;
  padding-top: 30px;
  border-top: 1px solid var(--border-color);
  display: flex;
  justify-content: space-between;
  font-size: 0.85rem;
  color: var(--text-muted);
  flex-wrap: wrap;
  gap: 15px;
}

/* Rainbow Color Switch for game aesthetic */
.neon-switch {
  display: inline-block;
  animation: rainbowSwitchAnimation 6s infinite linear;
}

@keyframes rainbowSwitchAnimation {
  0% {
    color: #ff0055;
    text-shadow: 0 0 8px #ff0055, 0 0 15px #ff0055;
  }

  17% {
    color: #ff7700;
    text-shadow: 0 0 8px #ff7700, 0 0 15px #ff7700;
  }

  33% {
    color: #ffdd00;
    text-shadow: 0 0 8px #ffdd00, 0 0 15px #ffdd00;
  }

  50% {
    color: #00ff66;
    text-shadow: 0 0 8px #00ff66, 0 0 15px #00ff66;
  }

  67% {
    color: #00f0ff;
    text-shadow: 0 0 8px #00f0ff, 0 0 15px #00f0ff;
  }

  83% {
    color: #a100ff;
    text-shadow: 0 0 8px #a100ff, 0 0 15px #a100ff;
  }

}

/* ==========================================================================
   WIDGETS: SCROLL DOWN INDICATOR & CIRCULAR RETURN BACK BUTTON
   ========================================================================== */
.scroll-down-wrap {
  position: absolute;
  bottom: 40px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 100;
}

.scroll-down-btn {
  color: rgba(255, 255, 255, 0.8);
  font-size: 1.6rem;
  transition: all 0.3s ease;
  animation: scrollDownFloat 2s infinite ease-in-out;
  text-shadow: 0 0 12px rgba(0, 240, 255, 0.4);
}

.scroll-down-btn:hover {
  color: var(--primary-glow);
  text-shadow: 0 0 10px var(--primary-glow);
}

@keyframes scrollDownFloat {
  0%, 100% {
    transform: translateY(0);
    opacity: 0.5;
  }
  50% {
    transform: translateY(8px);
    opacity: 1;
  }
}

.main-back-btn {
  position: fixed;
  top: 30px;
  left: 30px;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--text-muted);
  text-decoration: none;
  z-index: 1100;
  transition: all 0.3s cubic-bezier(0.165, 0.84, 0.44, 1);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.main-back-btn:hover {
  color: #fff;
  background: rgba(0, 240, 255, 0.08);
  border-color: var(--primary-glow);
  box-shadow: 0 0 15px rgba(0, 240, 255, 0.25);
  transform: scale(1.05) translateX(-2px);
}

/* Adjust local back-btn style inside cards if present so they don't clash on desktop viewports */
@media (min-width: 992px) {
  .idea-card .back-btn,
  .member-card .back-btn {
    display: none !important;
  }
}