/* ═══════════════════════════════════════════════════════════════════════
   style.css — KOSMORENA 2026 | Homepage Styling
   Aesthetic: PURE WHITE (#FFFFFF) + DEEP BLACK (#000000) + PARTICLES
   ═══════════════════════════════════════════════════════════════════════ */

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

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

:root {
  --font-main: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
  --color-bg: #000000;
  --color-white: #ffffff;
  --color-white-90: rgba(255, 255, 255, 0.90);
  --color-white-70: rgba(255, 255, 255, 0.70);
  --color-white-50: rgba(255, 255, 255, 0.50);
  --color-white-25: rgba(255, 255, 255, 0.25);
  --color-white-15: rgba(255, 255, 255, 0.15);
  --color-white-08: rgba(255, 255, 255, 0.08);
  --color-white-04: rgba(255, 255, 255, 0.04);
  --header-height: 72px;
}

html {
  scroll-behavior: smooth;
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-main);
}

body {
  width: 100%;
  min-height: 100vh;
  background-color: var(--color-bg);
  color: var(--color-white);
  font-family: var(--font-main);
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  text-rendering: optimizeLegibility;
}

/* Custom Minimalist Scrollbar */
::-webkit-scrollbar {
  width: 6px;
}

::-webkit-scrollbar-track {
  background: #000000;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.2);
  border-radius: 3px;
}

::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.4);
}

/* ── Minimalist Preloader ─────────────────────────────────────────────────── */
#preloader {
  position: fixed;
  inset: 0;
  background: #000000;
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: opacity 0.8s cubic-bezier(0.16, 1, 0.3, 1), visibility 0.8s ease;
}

#preloader.fade-out {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}

.pre-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 18px;
}

.pre-ring {
  width: 36px;
  height: 36px;
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  border-top-color: #ffffff;
  border-radius: 50%;
  animation: cosmic-spin 0.85s linear infinite;
}

@keyframes cosmic-spin {
  to {
    transform: rotate(360deg);
  }
}

.pre-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.35em;
  color: var(--color-white-70);
  text-transform: uppercase;
}

/* ── Background Three.js Canvas ───────────────────────────────────────────── */
#bg-canvas {
  position: fixed;
  top: 0;
  left: 0;
  width: 100vw;
  height: 100vh;
  z-index: 0;
  pointer-events: none;
}

/* ── Cursor Ambient Glow (Pure White Starlight) ───────────────────────────── */
#cursor-glow {
  position: fixed;
  width: 480px;
  height: 480px;
  border-radius: 50%;
  pointer-events: none;
  transform: translate(-50%, -50%);
  background: radial-gradient(circle, rgba(255, 255, 255, 0.035) 0%, rgba(255, 255, 255, 0.008) 45%, transparent 70%);
  z-index: 1;
  transition: opacity 0.3s ease;
}

/* ── Minimalist Aerospace Header ─────────────────────────────────────────── */
#astra-header {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: var(--header-height);
  padding: 0 40px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  z-index: 100;
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  transition: transform 0.4s ease, background 0.4s ease;
}

.header-left .brand-logo {
  display: flex;
  align-items: center;
  gap: 12px;
  text-decoration: none;
  color: #ffffff;
}

.brand-icon {
  width: 22px;
  height: 22px;
  stroke: #ffffff;
}

.brand-text {
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: #ffffff;
}

.header-nav {
  display: flex;
  align-items: center;
  gap: 28px;
}

.nav-link {
  color: var(--color-white-70);
  text-decoration: none;
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  position: relative;
  padding: 6px 0;
  transition: color 0.25s ease;
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 1px;
  background: #ffffff;
  transition: width 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.nav-link:hover {
  color: #ffffff;
}

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

.header-right {
  display: flex;
  align-items: center;
  gap: 20px;
}

.cta-header-btn {
  padding: 8px 20px;
  border: 1px solid rgba(255, 255, 255, 0.4);
  background: transparent;
  color: #ffffff;
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  transition: all 0.25s ease;
}

.cta-header-btn:hover {
  background: #ffffff;
  color: #000000;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3);
}

/* ── Mobile 3-Line Hamburger Menu Button ──────────────────────────────── */
/* ── Mobile 3-Line Hamburger Menu Button ──────────────────────────────── */
.mobile-menu-btn {
  display: none;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 5px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 8px;
  cursor: pointer;
  padding: 8px;
  position: relative;
  z-index: 1002;
  transition: all 0.25s ease;
  -webkit-tap-highlight-color: transparent;
}

.mobile-menu-btn:hover {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.35);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.6);
}

.hamburger-bar {
  display: block;
  width: 22px;
  height: 2px;
  background: #ffffff;
  border-radius: 2px;
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1),
    opacity 0.2s ease,
    background 0.2s ease;
  transform-origin: center;
}

/* Morph into 'X' when active (Clean white lines & dark frame like dashboard) */
.mobile-menu-btn.active {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.7);
}

.mobile-menu-btn.active .hamburger-bar {
  background: #ffffff;
}

.mobile-menu-btn.active .bar-1 {
  transform: translateY(7px) rotate(45deg);
}

.mobile-menu-btn.active .bar-2 {
  opacity: 0;
  transform: scaleX(0);
}

.mobile-menu-btn.active .bar-3 {
  transform: translateY(-7px) rotate(-45deg);
}

/* ── Mobile Navigation Drawer System (Black & White Dashboard Aesthetic) ─ */
.mobile-nav-drawer {
  position: fixed;
  inset: 0;
  z-index: 1001;
  pointer-events: none;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.35s ease, visibility 0.35s ease;
}

.mobile-nav-drawer.open {
  pointer-events: auto;
  opacity: 1;
  visibility: visible;
}

.mobile-nav-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
}

.mobile-nav-panel {
  position: absolute;
  top: 0;
  right: 0;
  bottom: 0;
  width: min(380px, 88vw);
  background: rgba(6, 6, 9, 0.98);
  border-left: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: -15px 0 50px rgba(0, 0, 0, 0.95);
  display: flex;
  flex-direction: column;
  padding: 24px 20px 24px;
  transform: translateX(100%);
  transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1);
  overflow-y: auto;
  overflow-x: hidden;
  -webkit-overflow-scrolling: touch;
}

.mobile-nav-drawer.open .mobile-nav-panel {
  transform: translateX(0);
}

.mobile-nav-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  margin-bottom: 20px;
}

.mobile-nav-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: 'Space Mono', monospace, sans-serif;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.18em;
  color: #ffffff;
  text-transform: uppercase;
}

.badge-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #ffffff;
  box-shadow: 0 0 6px #ffffff;
  animation: pulseDot 2s infinite ease-in-out;
}

@keyframes pulseDot {

  0%,
  100% {
    opacity: 0.4;
    transform: scale(0.9);
  }

  50% {
    opacity: 1;
    transform: scale(1.15);
  }
}

.mobile-nav-close-btn {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 8px;
  width: 36px;
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-nav-close-btn:hover {
  background: rgba(255, 255, 255, 0.15);
  color: #ffffff;
  border-color: rgba(255, 255, 255, 0.35);
}

.mobile-nav-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
  flex: 1;
}

.mobile-nav-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 13px 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 10px;
  color: #ffffff;
  text-decoration: none;
  font-family: var(--font-main);
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: all 0.2s ease;
  min-height: 48px;
}

.mobile-nav-item:hover,
.mobile-nav-item:active {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.28);
  color: #ffffff;
  transform: translateX(4px);
}

.mobile-nav-item .nav-code {
  font-family: 'Space Mono', monospace, sans-serif;
  font-size: 11px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.5);
  margin-right: 12px;
  letter-spacing: 0.08em;
}

.mobile-nav-item:hover .nav-code {
  color: #ffffff;
}

.mobile-nav-item .nav-title {
  flex: 1;
  color: #ffffff;
}

.mobile-nav-item .nav-arrow {
  color: rgba(255, 255, 255, 0.4);
  font-size: 16px;
  transition: transform 0.2s ease, color 0.2s ease;
}

.mobile-nav-item:hover .nav-arrow {
  transform: translateX(4px);
  color: #ffffff;
}

.mobile-nav-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.mobile-nav-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  width: 100%;
  padding: 13px 18px;
  border-radius: 8px;
  font-family: var(--font-main);
  font-size: 11.5px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: all 0.2s ease;
}

.mobile-btn-auth {
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: #ffffff;
}

.mobile-btn-auth:hover {
  background: rgba(255, 255, 255, 0.14);
  border-color: rgba(255, 255, 255, 0.4);
  color: #ffffff;
}

.mobile-btn-forms {
  background: #ffffff;
  color: #000000;
  border: 1px solid #ffffff;
  box-shadow: 0 4px 20px rgba(255, 255, 255, 0.2);
}

.mobile-btn-forms:hover {
  background: #e5e5e5;
  color: #000000;
  box-shadow: 0 6px 25px rgba(255, 255, 255, 0.35);
}

.mobile-nav-subtext {
  font-size: 10px;
  color: rgba(255, 255, 255, 0.45);
  text-align: center;
  letter-spacing: 0.06em;
  margin-top: 6px;
  line-height: 1.4;
}

/* ══════════════════════════════════════════════════════════════════════════
   HERO SECTION — PURE WHITE KOSMORENA WITH SUBTLE ATMOSPHERIC BLUR
   ══════════════════════════════════════════════════════════════════════════ */
#hero-section {
  position: relative;
  width: 100%;
  height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  z-index: 10;
  user-select: none;
  overflow: hidden;
}

.hero-content {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  transition: transform 0.1s linear, opacity 0.1s linear, filter 0.1s linear;
  will-change: transform, opacity, filter;
}

/* KOSMORENA Title Container */
.hero-title-wrap {
  position: relative;
  display: inline-block;
}

/* Foreground Sharp Pure White Title */
.hero-title-main {
  font-size: clamp(3.6rem, 13vw, 11.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  padding: 0 0.08em;
  position: relative;
  z-index: 2;
  text-rendering: optimizeLegibility;
}

/* Atmospheric Soft White Blur Layer Behind */
.hero-title-blur {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  font-size: clamp(3.6rem, 13vw, 11.5rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 0.95;
  margin: 0;
  padding: 0 0.08em;
  z-index: 1;
  pointer-events: none;
  user-select: none;
  filter: blur(28px);
  opacity: 0.38;
  text-shadow: 0 0 50px rgba(255, 255, 255, 0.65);
  transition: filter 0.2s ease, opacity 0.2s ease;
}

/* Supporting 2026 Typography Directly Below */
.hero-year {
  font-size: clamp(1.4rem, 3.2vw, 2.8rem);
  font-weight: 500;
  letter-spacing: 0.45em;
  color: #ffffff;
  margin-top: 1.6rem;
  text-transform: uppercase;
  line-height: 1.0;
  padding-left: 0.45em;
  /* Optical centering for letter spacing */
  position: relative;
  z-index: 2;
  opacity: 0.95;
  transition: transform 0.1s linear, opacity 0.1s linear;
}

/* Caption & GET STARTED Button directly above Earth horizon (matching screenshot) */
.hero-earth-caption {
  font-size: clamp(0.75rem, 1.1vw, 0.95rem);
  color: var(--color-white-70);
  max-width: 620px;
  line-height: 1.6;
  margin-top: 18px;
  letter-spacing: 0.05em;
  font-weight: 300;
  padding: 0 20px;
  position: relative;
  z-index: 2;
}

.hero-get-started-btn {
  margin-top: 24px;
  padding: 14px 44px;
  border-radius: 9999px;
  background: #ffffff;
  color: #000000;
  font-family: var(--font-main);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.24em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.45);
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
  z-index: 10;
  cursor: pointer;
  border: 1px solid #ffffff;
}

.hero-get-started-btn:hover {
  background: #eaeaea;
  box-shadow: 0 0 55px rgba(255, 255, 255, 0.7);
  transform: translateY(-2px) scale(1.02);
}

/* ─── HERO COUNTDOWN TIMER ─────────────────────────────────────────────────── */
.hero-countdown {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 16px;
  margin-top: 32px;
  margin-bottom: 28px;
  position: relative;
  z-index: 10;
  user-select: none;
}

.cd-label {
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.36em;
  color: rgba(255, 255, 255, 0.5);
  text-transform: uppercase;
}

.cd-blocks {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(14px, 3.6vw, 36px);
  position: relative;
}

.cd-block {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 6px;
  width: clamp(74px, 13vw, 100px);
  min-height: 94px;
  padding: 10px 8px;
  border-radius: 16px;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.04) 0%, rgba(255, 255, 255, 0.01) 100%);
  border: 1px solid rgba(255, 255, 255, 0.08);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.35);
  transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), border-color 0.3s ease, box-shadow 0.3s ease;
}

.cd-block:hover {
  transform: translateY(-4px) scale(1.03);
  border-color: rgba(0, 240, 255, 0.35);
  box-shadow: 0 14px 40px rgba(0, 240, 255, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.2);
}

/* Per-block particle canvas sits behind & around the numbers */
.cd-particle-canvas {
  position: absolute;
  top: -24px;
  left: -24px;
  width: calc(100% + 48px);
  height: calc(100% + 48px);
  pointer-events: none;
  z-index: 1;
}

.cd-num {
  font-family: var(--font-main);
  font-size: clamp(2.4rem, 5.2vw, 3.8rem);
  font-weight: 800;
  color: #ffffff;
  line-height: 1;
  letter-spacing: -0.02em;
  position: relative;
  z-index: 2;
  text-shadow:
    0 0 24px rgba(255, 255, 255, 0.65),
    0 0 50px rgba(0, 240, 255, 0.35);
  transition: transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.cd-num.cd-flip {
  animation: cd-tick 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes cd-tick {
  0% {
    transform: translateY(-6px) scale(0.96);
    opacity: 0.5;
  }

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

.cd-unit {
  font-family: var(--font-main);
  font-size: clamp(12px, 1.5vw, 14px);
  font-weight: 500;
  letter-spacing: 0.05em;
  color: rgba(255, 255, 255, 0.65);
  text-transform: capitalize;
  position: relative;
  z-index: 2;
}

.cd-sep {
  display: none;
}

/* Date badge row */
.cd-date-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 18px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  font-family: var(--font-main);
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: rgba(255, 255, 255, 0.55);
  text-transform: uppercase;
  margin-top: 4px;
}

.cd-date-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #00f0ff;
  box-shadow: 0 0 8px #00f0ff, 0 0 16px rgba(0, 240, 255, 0.6);
  animation: cd-dot-pulse 1.8s ease-in-out infinite;
  flex-shrink: 0;
}

@keyframes cd-dot-pulse {

  0%,
  100% {
    opacity: 1;
    transform: scale(1);
    box-shadow: 0 0 8px #00f0ff, 0 0 16px rgba(0, 240, 255, 0.6);
  }

  50% {
    opacity: 0.6;
    transform: scale(0.8);
    box-shadow: 0 0 4px #00f0ff;
  }
}

/* Responsive: smaller screens */
@media (max-width: 480px) {
  .cd-block {
    width: 66px;
    min-height: 80px;
    padding: 8px 4px;
  }

  .cd-blocks {
    gap: 8px;
  }

  .cd-num {
    font-size: 2.1rem;
  }

  .cd-unit {
    font-size: 11px;
  }
}


/* Scroll Hint at bottom of hero */
.hero-scroll-hint {
  position: absolute;
  bottom: 40px;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 12px;
  color: var(--color-white-50);
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.32em;
  text-transform: uppercase;
  transition: opacity 0.4s ease;
}

.scroll-line {
  width: 1px;
  height: 32px;
  background: linear-gradient(180deg, #ffffff 0%, transparent 100%);
  animation: scroll-pulse 2s infinite ease-in-out;
}

@keyframes scroll-pulse {
  0% {
    transform: scaleY(0);
    transform-origin: top;
    opacity: 0.2;
  }

  50% {
    transform: scaleY(1);
    transform-origin: top;
    opacity: 1;
  }

  50.1% {
    transform: scaleY(1);
    transform-origin: bottom;
    opacity: 1;
  }

  100% {
    transform: scaleY(0);
    transform-origin: bottom;
    opacity: 0.2;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION LAYOUT & TYPOGRAPHY
   ══════════════════════════════════════════════════════════════════════════ */
.content-section {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 140px 32px;
  z-index: 10;
}

.section-header {
  margin-bottom: 56px;
}

.section-tag {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-white-50);
  text-transform: uppercase;
  display: block;
  margin-bottom: 12px;
}

.section-title {
  font-size: clamp(2.5rem, 6.5vw, 5.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.05;
}

.section-desc {
  font-size: clamp(1rem, 1.25vw, 1.2rem);
  font-weight: 400;
  line-height: 1.7;
  color: var(--color-white-70);
  max-width: 720px;
  margin-top: 18px;
}

/* ══════════════════════════════════════════════════════════════════════════
   3D FLOATING FRAMES (CARDS)
   Aesthetic: Black/Transparent Glass + Thin White Border + 3D Tilt
   ══════════════════════════════════════════════════════════════════════════ */
.frame-3d {
  position: relative;
  background: rgba(6, 6, 6, 0.70);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 8px;
  padding: 36px;
  color: #ffffff;
  overflow: hidden;
  transform-style: preserve-3d;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
  will-change: transform;
}

.frame-3d:hover {
  border-color: rgba(255, 255, 255, 0.40);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.85), 0 0 30px rgba(255, 255, 255, 0.06);
}

/* Aerospace Telemetry Corner Reticles */
.frame-3d::before,
.frame-3d::after {
  content: '';
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.frame-3d::before {
  top: 0;
  left: 0;
  border-top: 2px solid rgba(255, 255, 255, 0.5);
  border-left: 2px solid rgba(255, 255, 255, 0.5);
}

.frame-3d::after {
  bottom: 0;
  right: 0;
  border-bottom: 2px solid rgba(255, 255, 255, 0.5);
  border-right: 2px solid rgba(255, 255, 255, 0.5);
}

.frame-3d:hover::before,
.frame-3d:hover::after {
  border-color: #ffffff;
}

/* Subtle Specular Sheen Reflection */
.frame-sheen {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle 350px at var(--mx, 50%) var(--my, 50%), rgba(255, 255, 255, 0.09), transparent 80%);
  pointer-events: none;
  opacity: 0;
  transition: opacity 0.3s ease;
}

.frame-3d:hover .frame-sheen {
  opacity: 1;
}

/* ══════════════════════════════════════════════════════════════════════════
   CARD DISPLAY MEDIA — BLACK & WHITE RESOLUTION-PERFECT CINEMATIC IMAGES
   ══════════════════════════════════════════════════════════════════════════ */
.card-media-wrap {
  position: relative;
  width: 100%;
  overflow: hidden;
  border-radius: 8px;
  background: #020712;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 22px;
}

/* Leadership portrait frame - sleek compact proportions */
.leader-media-wrap {
  height: 310px;
  max-height: 330px;
  margin-bottom: 18px;
}

.event-media-wrap {
  height: 240px;
}

.project-media-wrap {
  height: 250px;
}

.organiser-media-wrap {
  height: 220px;
}

/* Strict Black and White Photographic Treatment with Centered Face Framing */
.card-bw-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 62%;
  display: block;
  filter: grayscale(100%) contrast(114%) brightness(95%);
  -webkit-filter: grayscale(100%) contrast(114%) brightness(95%);
  transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.leader-media-wrap .card-bw-img {
  object-position: center 12%;
}

.frame-3d:hover .card-bw-img {
  transform: scale(1.03);
  filter: grayscale(100%) contrast(122%) brightness(105%);
  -webkit-filter: grayscale(100%) contrast(122%) brightness(105%);
}

.card-media-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(4, 16, 31, 0.0) 72%, rgba(4, 16, 31, 0.65) 100%);
  pointer-events: none;
  z-index: 2;
  transition: background 0.3s ease;
}

.frame-3d:hover .card-media-overlay {
  background: linear-gradient(180deg, rgba(4, 16, 31, 0.0) 65%, rgba(4, 16, 31, 0.45) 100%);
}

/* ── Section: ABOUT (KUMARAGURU SEDS & KOSMORENA - 3D CARDS) ───────────── */
.about-twin-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  margin-bottom: 32px;
}

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

.about-card {
  padding: 36px 32px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 290px;
}

.about-card-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white-50);
  margin-bottom: 12px;
  display: block;
}

.about-card-title {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 16px;
  line-height: 1.25;
}

.about-card-desc {
  font-size: 14.5px;
  line-height: 1.8;
  color: var(--color-white-70);
  margin-bottom: 24px;
  flex-grow: 1;
}

.about-pills-wrap {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  padding-top: 18px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.about-pill {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 4px 10px;
  border-radius: 2px;
  transition: all 0.25s ease;
}

.about-card:hover .about-pill {
  border-color: rgba(255, 255, 255, 0.4);
  background: rgba(255, 255, 255, 0.09);
}

.about-stats-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 20px;
}

@media (max-width: 900px) {
  .about-stats-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 16px;
  }
}

@media (max-width: 480px) {
  .about-stats-grid {
    grid-template-columns: 1fr;
  }
}

.stat-frame {
  padding: 28px 24px;
  text-align: left;
}

.stat-number {
  font-size: clamp(2rem, 3.6vw, 3.2rem);
  font-weight: 700;
  color: #ffffff;
  letter-spacing: -0.02em;
  line-height: 1.0;
}

.stat-label {
  font-size: 11px;
  font-weight: 500;
  letter-spacing: 0.2em;
  color: var(--color-white-70);
  text-transform: uppercase;
  margin-top: 10px;
}

/* ── Section: LEADERSHIP (PRESIDENT & VICE PRESIDENT) ─────────────────── */
.leadership-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(260px, 360px));
  justify-content: center;
  gap: 28px;
  max-width: 780px;
  margin: 0 auto;
}

.leader-frame {
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  min-height: auto;
  padding: 24px;
  box-sizing: border-box;
}

.leader-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  padding-bottom: 12px;
}

.leader-role-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.25em;
  text-transform: uppercase;
  color: var(--color-white-70);
}

.leader-badge {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.15em;
  padding: 3px 9px;
  border: 1px solid rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  text-transform: uppercase;
}

.leader-name {
  font-size: clamp(1.35rem, 1.8vw, 1.65rem);
  font-weight: 700;
  letter-spacing: 0.03em;
  color: #ffffff;
  margin-bottom: 6px;
}

.leader-designation {
  font-size: 12.5px;
  color: var(--color-white-70);
  font-weight: 400;
  letter-spacing: 0.04em;
  margin-bottom: 16px;
  line-height: 1.45;
}

.leader-quote {
  font-size: 13.5px;
  line-height: 1.6;
  color: var(--color-white-90);
  font-style: normal;
  border-left: 2px solid rgba(255, 255, 255, 0.3);
  padding-left: 14px;
  margin-top: auto;
}

.leader-meta {
  margin-top: 16px;
  padding-top: 14px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  display: flex;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-white-50);
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

/* ── Section: EVENTS (Split Layout for College & School Events) ──────────── */
.events-filter-bar {
  display: flex;
  gap: 12px;
  margin: 0 auto 40px auto;
  justify-content: center;
  flex-wrap: wrap;
}

.events-filter-btn {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.2);
  color: var(--color-white-70);
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  padding: 8px 20px;
  border-radius: 2px;
  cursor: pointer;
  transition: all 0.25s ease;
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.events-filter-btn:hover {
  border-color: #ffffff;
  color: #ffffff;
  background: rgba(255, 255, 255, 0.1);
}

.events-filter-btn.active,
.events-filter-btn[data-filter="school"].active,
.events-filter-btn[data-filter="college"].active {
  background: #ffffff;
  border-color: #ffffff;
  color: #000000;
  box-shadow: 0 0 16px rgba(255, 255, 255, 0.3);
}

.events-subgroup {
  margin-bottom: 56px;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

.events-subgroup.hidden {
  display: none !important;
}

.events-subgroup-header {
  margin-bottom: 24px;
}

.events-subgroup-tag,
.events-subgroup-tag.school-tag {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white-50);
  margin-bottom: 4px;
  display: block;
}

.events-subgroup-title {
  font-size: 1.4rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin: 0 0 8px 0;
}

.events-subgroup-desc {
  font-size: 13.5px;
  color: var(--color-white-70);
  line-height: 1.6;
  max-width: 720px;
  margin: 0;
}

.school-notice-banner {
  display: flex;
  align-items: center;
  gap: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  padding: 14px 20px;
  border-radius: 4px;
  margin-bottom: 28px;
  color: #cbd5e1;
  font-size: 12.5px;
  line-height: 1.6;
}

.school-notice-icon {
  font-size: 18px;
  flex-shrink: 0;
  filter: grayscale(100%);
}

.school-events-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 28px;
  max-width: 960px;
  margin: 0 auto;
}

@media (max-width: 860px) {
  .school-events-grid {
    grid-template-columns: 1fr;
    max-width: 100%;
  }
}

.event-category-badge,
.event-category-badge.college,
.event-category-badge.school {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  width: fit-content;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.events-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

.event-frame {
  display: flex;
  flex-direction: column;
  min-height: 520px;
}

.event-num {
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-white-50);
  margin-bottom: 16px;
}

.event-name {
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 12px;
  line-height: 1.2;
}

.event-tag {
  display: inline-block;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white-70);
  padding: 3px 8px;
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 2px;
  width: fit-content;
  margin-bottom: 16px;
}

.event-brief {
  font-size: 13px;
  line-height: 1.65;
  color: var(--color-white-70);
  margin-bottom: 24px;
  flex-grow: 1;
}

.event-footer {
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
}

.event-footer-actions {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  flex-wrap: wrap;
}

/* Registered Status Pill in Card Footer */
.event-registered-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #38ef7d;
  background: rgba(56, 239, 125, 0.12);
  border: 1px solid rgba(56, 239, 125, 0.4);
  padding: 6px 12px;
  border-radius: 2px;
  text-decoration: none;
  box-shadow: 0 0 14px rgba(56, 239, 125, 0.18);
  transition: all 0.25s ease;
  white-space: nowrap;
}

.event-registered-status-pill:hover {
  background: rgba(56, 239, 125, 0.22);
  border-color: #38ef7d;
  color: #ffffff;
  box-shadow: 0 0 20px rgba(56, 239, 125, 0.35);
}

/* Pulsing Status Dot */
.pulse-dot-green {
  display: inline-block;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38ef7d;
  box-shadow: 0 0 8px #38ef7d;
  animation: pulse-dot-green-anim 1.8s infinite ease-in-out;
}

@keyframes pulse-dot-green-anim {
  0%, 100% {
    transform: scale(1);
    opacity: 1;
  }
  50% {
    transform: scale(0.75);
    opacity: 0.4;
  }
}

/* Registered Badge next to Category Badge in Card Header */
.event-card-top-registered {
  display: inline-flex;
  align-items: center;
  gap: 5px;
  font-family: 'Space Mono', monospace;
  font-size: 9.5px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: #38ef7d;
  background: rgba(56, 239, 125, 0.1);
  border: 1px solid rgba(56, 239, 125, 0.35);
  padding: 4px 10px;
  border-radius: 2px;
  margin-bottom: 12px;
  margin-left: 8px;
  box-shadow: 0 0 10px rgba(56, 239, 125, 0.15);
}

/* Registered Card Accent */
.event-frame.is-registered {
  border-color: rgba(56, 239, 125, 0.4);
  box-shadow: 0 0 25px rgba(56, 239, 125, 0.08);
}

.event-frame.is-registered:hover {
  border-color: rgba(56, 239, 125, 0.65);
  box-shadow: 0 0 35px rgba(56, 239, 125, 0.18);
}

.event-prize {
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.08em;
  color: #ffffff;
}

.event-details-btn {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  padding: 7px 16px;
  border-radius: 2px;
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: all 0.25s ease;
}

.event-details-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
}

/* Event Card Poster & Metadata Layout */
.event-poster-container {
  position: relative;
  width: 100%;
  aspect-ratio: 1 / 1;
  overflow: hidden;
  border-radius: 4px;
  background: #030712;
  border: 1px solid rgba(255, 255, 255, 0.12);
  margin-bottom: 20px;
}

.event-poster-img-card {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
  filter: grayscale(100%) contrast(110%) brightness(95%);
  -webkit-filter: grayscale(100%) contrast(110%) brightness(95%);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.event-frame:hover .event-poster-img-card {
  transform: scale(1.035);
  filter: grayscale(100%) contrast(120%) brightness(105%);
  -webkit-filter: grayscale(100%) contrast(120%) brightness(105%);
}

.event-meta-info {
  display: flex;
  flex-direction: column;
  gap: 7px;
  margin-bottom: 18px;
  padding: 12px 14px;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid rgba(255, 255, 255, 0.07);
  border-radius: 3px;
}

.event-meta-row {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  font-family: 'Space Mono', monospace;
  color: var(--color-white-70);
  line-height: 1.4;
}

.event-meta-icon {
  color: #ffffff;
  font-size: 11px;
  flex-shrink: 0;
}

.event-meta-svg,
.preview-icon {
  width: 15px;
  height: 15px;
  min-width: 15px;
  stroke: #ffffff;
  flex-shrink: 0;
  display: block;
}

/* ── Section: PROJECTS ────────────────────────────────────────────────────── */
.projects-grid {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 28px;
}

@media (max-width: 1024px) {
  .projects-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 24px;
  }
}

@media (max-width: 768px) {
  .projects-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }
}

.project-frame {
  min-height: 520px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  border-radius: 12px;
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.4s ease, border-color 0.4s ease;
}

.project-frame:hover {
  transform: translateY(-6px);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.8), 0 0 28px rgba(255, 255, 255, 0.08);
}

.project-media-wrap {
  height: 240px;
  border-radius: 8px;
  overflow: hidden;
  position: relative;
  border: 1px solid rgba(255, 255, 255, 0.1);
  margin-bottom: 22px;
}

.project-media-wrap .card-bw-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center center;
  filter: grayscale(100%) contrast(112%) brightness(95%);
  -webkit-filter: grayscale(100%) contrast(112%) brightness(95%);
  transition: transform 0.6s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.project-frame:hover .project-media-wrap .card-bw-img {
  transform: scale(1.05);
  filter: grayscale(100%) contrast(122%) brightness(105%);
  -webkit-filter: grayscale(100%) contrast(122%) brightness(105%);
}

.project-code {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.28em;
  color: #ffffff;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.2);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.project-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin-bottom: 14px;
}

.project-desc {
  font-size: 14px;
  line-height: 1.75;
  color: var(--color-white-70);
  margin-bottom: 24px;
}

.project-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.1);
  padding-top: 16px;
}

.project-tag-pill {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: rgba(255, 255, 255, 0.85);
  padding: 4px 10px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  text-transform: uppercase;
  transition: all 0.25s ease;
}

.project-frame:hover .project-tag-pill {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.45);
  color: #ffffff;
}

/* ── Section: ORGANISERS ──────────────────────────────────────────────────── */
.organisers-grid {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  gap: 24px;
}

.organiser-frame {
  padding: 30px 24px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  min-height: 420px;
}

.org-wing {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  color: var(--color-white-50);
}

.org-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  margin: 12px 0;
  line-height: 1.3;
}

.org-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-white-70);
}

.org-badge {
  font-size: 9px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white-50);
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  padding-top: 12px;
  margin-top: 16px;
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION: FORMS (REGISTRATION PORTAL)
   ══════════════════════════════════════════════════════════════════════════ */
#forms {
  padding-bottom: 40px;
}

.form-container {
  max-width: 840px;
  margin: 0 auto;
}

.form-frame {
  padding: 48px;
}

.form-header {
  margin-bottom: 36px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 20px;
}

.form-header-title {
  font-size: 1.8rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.form-header-subtitle {
  font-size: 13px;
  color: var(--color-white-70);
  letter-spacing: 0.1em;
  margin-top: 6px;
}

.registration-form {
  display: flex;
  flex-direction: column;
  gap: 28px;
}

.form-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.form-group {
  display: flex;
  flex-direction: column;
  gap: 8px;
  text-align: left;
}

.form-label {
  font-size: 11px;
  font-weight: 600;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: var(--color-white-70);
}

.form-input,
.form-select,
.form-textarea {
  width: 100%;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.18);
  border-radius: 4px;
  padding: 14px 18px;
  font-family: var(--font-main);
  font-size: 14px;
  color: #ffffff;
  outline: none;
  transition: all 0.25s ease;
}

.form-input:focus,
.form-select:focus,
.form-textarea:focus {
  border-color: #ffffff;
  background: rgba(255, 255, 255, 0.07);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.15);
}

.form-select option {
  background: #0a0a0a;
  color: #ffffff;
}

.form-textarea {
  min-height: 100px;
  resize: vertical;
}

.form-checkbox-group {
  display: flex;
  align-items: center;
  gap: 12px;
}

.form-checkbox {
  width: 16px;
  height: 16px;
  accent-color: #ffffff;
  cursor: pointer;
}

.checkbox-label {
  font-size: 12px;
  color: var(--color-white-70);
  cursor: pointer;
}

.form-submit-btn {
  background: #ffffff;
  color: #000000;
  border: none;
  border-radius: 4px;
  padding: 16px 36px;
  font-family: var(--font-main);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  margin-top: 12px;
}

.form-submit-btn:hover {
  background: #eaeaea;
  box-shadow: 0 0 35px rgba(255, 255, 255, 0.4);
  transform: translateY(-2px);
}

.form-submit-btn:disabled {
  opacity: 0.6;
  cursor: not-allowed;
  transform: none;
  box-shadow: none;
}

.form-success-box {
  display: none;
  padding: 32px 24px;
  border: 1px solid rgba(56, 239, 125, 0.4);
  border-radius: 6px;
  background: rgba(56, 239, 125, 0.05);
  backdrop-filter: blur(16px);
  text-align: center;
  margin-top: 24px;
  animation: fadeInContact 0.4s ease forwards;
}

.form-success-box.visible {
  display: block;
}

.form-error-box {
  display: none;
  padding: 14px 18px;
  border: 1px solid rgba(255, 77, 77, 0.4);
  background: rgba(255, 77, 77, 0.08);
  border-radius: 4px;
  color: #ff6b6b;
  font-size: 13px;
  text-align: left;
  line-height: 1.5;
  animation: fadeInContact 0.3s ease forwards;
}

.field-error-msg {
  display: none;
  font-size: 11px;
  color: #ff6b6b;
  margin-top: 5px;
  font-weight: 500;
  letter-spacing: 0.02em;
  line-height: 1.4;
  animation: fadeInContact 0.2s ease forwards;
}

.field-error-msg.visible {
  display: block;
}

.form-input.is-invalid,
.form-select.is-invalid,
.form-textarea.is-invalid {
  border-color: #ff6b6b !important;
  background: rgba(255, 107, 107, 0.06) !important;
  box-shadow: 0 0 14px rgba(255, 107, 107, 0.22) !important;
}

.form-input.is-valid,
.form-textarea.is-valid {
  border-color: rgba(56, 239, 125, 0.6) !important;
  background: rgba(56, 239, 125, 0.03) !important;
}

.contact-meta-cards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-bottom: 28px;
}

.contact-meta-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 16px;
  display: flex;
  align-items: flex-start;
  gap: 12px;
  transition: border-color 0.25s ease, background 0.25s ease;
}

.contact-meta-card:hover {
  border-color: rgba(255, 255, 255, 0.25);
  background: rgba(255, 255, 255, 0.05);
}

.contact-meta-icon {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  color: #ffffff;
  opacity: 0.85;
  margin-top: 2px;
}

.contact-meta-title {
  font-size: 10px;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: var(--color-white-50);
  margin-bottom: 4px;
}

.contact-meta-val {
  font-size: 12px;
  color: #ffffff;
  font-weight: 500;
  word-break: break-word;
}

@media (max-width: 768px) {
  .contact-meta-cards {
    grid-template-columns: 1fr;
  }
}

@keyframes fadeInContact {
  from {
    opacity: 0;
    transform: translateY(8px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes spinContact {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

.btn-spinner {
  display: inline-block;
  width: 14px;
  height: 14px;
  border: 2px solid rgba(0, 0, 0, 0.25);
  border-top-color: #000000;
  border-radius: 50%;
  animation: spinContact 0.75s linear infinite;
  vertical-align: middle;
}

.success-title {
  font-size: 1.25rem;
  font-weight: 700;
  color: #38ef7d;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 10px;
}

.success-desc {
  font-size: 13px;
  color: var(--color-white-90);
  line-height: 1.7;
  max-width: 600px;
  margin: 0 auto;
}

/* ══════════════════════════════════════════════════════════════════════════
   FINAL KOSMORENA 2026 FOOTER
   ══════════════════════════════════════════════════════════════════════════ */
#final-section {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 160px 32px 80px;
  text-align: center;
  z-index: 10;
}

.final-wrap {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 32px;
  border-top: 1px solid rgba(255, 255, 255, 0.12);
  padding-top: 80px;
}

.final-title {
  font-size: clamp(3rem, 9vw, 8rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 0.95;
}

.final-subtitle {
  font-size: clamp(1rem, 2vw, 1.8rem);
  font-weight: 500;
  letter-spacing: 0.38em;
  color: #ffffff;
  text-transform: uppercase;
}

.final-meta-grid {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 40px;
  margin-top: 20px;
}

.final-meta-item {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.meta-sub {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.28em;
  color: var(--color-white-50);
  text-transform: uppercase;
}

.meta-val {
  font-size: 14px;
  font-weight: 600;
  letter-spacing: 0.12em;
  color: #ffffff;
  text-transform: uppercase;
}

.final-bottom {
  margin-top: 60px;
  padding-top: 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-size: 11px;
  color: var(--color-white-50);
  letter-spacing: 0.14em;
  text-transform: uppercase;
}

.final-links {
  display: flex;
  gap: 24px;
}

.final-link {
  color: var(--color-white-50);
  text-decoration: none;
  transition: color 0.2s ease;
}

.final-link:hover {
  color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════════════════
   INTERACTIVE DETAILS MODAL
   ══════════════════════════════════════════════════════════════════════════ */
#details-modal {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.85);
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 24px;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.3s ease, visibility 0.3s ease;
}

#details-modal.open {
  opacity: 1;
  visibility: visible;
}

.modal-frame {
  width: 100%;
  max-width: 640px;
  background: rgba(8, 8, 8, 0.95);
  border: 1px solid rgba(255, 255, 255, 0.25);
  border-radius: 8px;
  padding: 40px;
  position: relative;
  max-height: 85vh;
  overflow-y: auto;
}

.modal-close-btn {
  position: absolute;
  top: 24px;
  right: 24px;
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.3);
  color: #ffffff;
  font-size: 16px;
  width: 32px;
  height: 32px;
  border-radius: 50%;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all 0.2s ease;
}

.modal-close-btn:hover {
  background: #ffffff;
  color: #000000;
}

.modal-tag {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.25em;
  color: var(--color-white-50);
  text-transform: uppercase;
  margin-bottom: 12px;
}

.modal-title {
  font-size: 2rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  color: #ffffff;
  margin-bottom: 16px;
}

.modal-body {
  font-size: 14px;
  line-height: 1.8;
  color: var(--color-white-90);
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.modal-rules-list {
  list-style: none;
  padding: 0;
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 12px;
}

.modal-rules-list li {
  padding-left: 20px;
  position: relative;
  font-size: 13px;
  color: var(--color-white-70);
}

.modal-rules-list li::before {
  content: '—';
  position: absolute;
  left: 0;
  color: #ffffff;
}

/* ══════════════════════════════════════════════════════════════════════════
   REACT BITS ANIMATED ITEM & CARD SCROLL ANIMATION
   Formula: initial={{ scale: 0.7, opacity: 0 }}
            animate={inView ? { scale: 1, opacity: 1 } : { scale: 0.7, opacity: 0 }}
            triggerOnce: false
   ══════════════════════════════════════════════════════════════════════════ */
.animated-card-item {
  opacity: 0;
  transform: scale(0.76) translateY(32px);
  transition: opacity 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.5s cubic-bezier(0.16, 1, 0.3, 1),
    border-color 0.35s ease,
    box-shadow 0.35s ease;
  will-change: transform, opacity;
}

.animated-card-item.in-view {
  opacity: 1;
  transform: scale(1) translateY(0);
}

.animated-card-item.in-view:hover {
  transform: scale(1.02);
}

/* ══════════════════════════════════════════════════════════════════════════
   REACT BITS: ANIMATED LIST COMPONENT
   Interactive Scrollable List + Animated Items + Top/Bottom Gradients + Keyboard Nav
   ══════════════════════════════════════════════════════════════════════════ */
.schedule-section-grid {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 36px;
  align-items: start;
}

.scroll-list-container {
  position: relative;
  width: 100%;
  background: rgba(8, 8, 12, 0.75);
  border: 1px solid rgba(255, 255, 255, 0.14);
  border-radius: 12px;
  padding: 8px 4px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  overflow: hidden;
}

.scroll-list {
  max-height: 440px;
  overflow-y: auto;
  padding: 20px 16px;
  scroll-behavior: smooth;
}

.scroll-list::-webkit-scrollbar {
  width: 7px;
}

.scroll-list::-webkit-scrollbar-track {
  background: #07060a;
  border-radius: 4px;
}

.scroll-list::-webkit-scrollbar-thumb {
  background: #2a2436;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.scroll-list::-webkit-scrollbar-thumb:hover {
  background: #463c5c;
}

.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}

/* Animated Item in List */
.animated-list-item {
  opacity: 0;
  transform: scale(0.72);
  transition: opacity 0.25s cubic-bezier(0.16, 1, 0.3, 1),
    transform 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  will-change: transform, opacity;
  margin-bottom: 0.85rem;
  cursor: pointer;
}

.animated-list-item.in-view {
  opacity: 1;
  transform: scale(1);
}

.item {
  padding: 16px 20px;
  background-color: #17141f;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 14px;
  transition: background-color 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease, transform 0.22s ease;
}

.item:hover {
  background-color: #272134;
  border-color: rgba(255, 255, 255, 0.3);
  transform: translateX(4px);
}

.item.selected {
  background-color: #2f2742;
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 4px 24px rgba(0, 0, 0, 0.6), 0 0 16px rgba(255, 255, 255, 0.15);
}

.item-left {
  display: flex;
  align-items: center;
  gap: 14px;
}

.item-index-badge {
  font-family: 'Space Mono', monospace;
  font-size: 11px;
  color: var(--color-white-50);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 4px;
  padding: 2px 7px;
  font-weight: 700;
  letter-spacing: 0.1em;
}

.item.selected .item-index-badge {
  color: #ffffff;
  background: rgba(255, 255, 255, 0.2);
  border-color: rgba(255, 255, 255, 0.4);
}

.item-text {
  color: #ffffff;
  margin: 0;
  font-size: 13.5px;
  font-weight: 600;
  letter-spacing: 0.02em;
  line-height: 1.4;
}

.item-time-pill {
  font-family: 'Space Mono', monospace;
  font-size: 10px;
  font-weight: 700;
  color: var(--color-white-70);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 3px;
  letter-spacing: 0.08em;
  white-space: nowrap;
}

.top-gradient {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 55px;
  background: linear-gradient(to bottom, #07060a, transparent);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 4;
}

.bottom-gradient {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 90px;
  background: linear-gradient(to top, #07060a, transparent);
  pointer-events: none;
  transition: opacity 0.3s ease;
  z-index: 4;
}

/* Inspector card next to AnimatedList */
.stream-inspector-frame {
  min-height: 440px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.stream-inspector-header {
  border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  padding-bottom: 16px;
  margin-bottom: 20px;
}

.stream-status-pill {
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 0.2em;
  color: #38ef7d;
  background: rgba(56, 239, 125, 0.12);
  border: 1px solid rgba(56, 239, 125, 0.3);
  padding: 3px 10px;
  border-radius: 3px;
  text-transform: uppercase;
  display: inline-block;
  margin-bottom: 10px;
}

.stream-inspector-title {
  font-size: 1.6rem;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  line-height: 1.25;
}

.stream-inspector-desc {
  font-size: 14px;
  line-height: 1.7;
  color: var(--color-white-70);
  margin-bottom: 20px;
}

.stream-telemetry-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  margin-bottom: 24px;
}

.stream-telem-box {
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  padding: 10px 14px;
}

.stream-telem-label {
  font-size: 9px;
  letter-spacing: 0.2em;
  color: var(--color-white-50);
  text-transform: uppercase;
  margin-bottom: 4px;
}

.stream-telem-val {
  font-family: 'Space Mono', monospace;
  font-size: 13px;
  font-weight: 700;
  color: #ffffff;
}

.stream-keyboard-hint {
  font-size: 11px;
  color: var(--color-white-50);
  letter-spacing: 0.1em;
  margin-top: 10px;
}

.stream-keyboard-hint kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  padding: 2px 6px;
  border-radius: 3px;
  color: #ffffff;
  font-size: 10px;
}

/* ══════════════════════════════════════════════════════════════════════════
   RESPONSIVE DESIGN
   ══════════════════════════════════════════════════════════════════════════ */
@media (max-width: 1024px) {
  .about-grid {
    grid-template-columns: 1fr;
  }

  .schedule-section-grid {
    grid-template-columns: 1fr;
  }

  .events-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .organisers-grid {
    grid-template-columns: repeat(2, 1fr);
  }

  .header-nav {
    display: none;
  }
}

@media (max-width: 768px) {
  #astra-header {
    padding: 0 20px;
  }

  .content-section {
    padding: 100px 20px;
  }

  .leadership-grid {
    grid-template-columns: 1fr;
    max-width: 360px;
    margin: 0 auto;
  }

  .events-grid {
    grid-template-columns: 1fr;
  }

  .projects-grid {
    grid-template-columns: 1fr;
  }

  .organisers-grid {
    grid-template-columns: 1fr;
  }

  .form-row {
    grid-template-columns: 1fr;
  }

  .form-frame {
    padding: 24px;
  }

  .final-bottom {
    flex-direction: column;
    gap: 16px;
    text-align: center;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   KUMARAGURU SEDS DIRECTORY FOOTER & DOTGRID CANVAS (OPENAI AESTHETIC)
   ══════════════════════════════════════════════════════════════════════════ */
.seds-footer {
  position: relative;
  width: 100%;
  background: linear-gradient(to bottom,
      rgba(2, 2, 4, 0) 0%,
      rgba(2, 2, 4, 0.45) 8%,
      rgba(1, 1, 3, 0.88) 22%,
      #000000 45%,
      #000000 100%);
  border-top: none;
  overflow: hidden;
  color: #f1f5f9;
  font-family: 'Space Grotesk', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
}

/* Soft top blur transition overlay — disabled to allow wave dotgrid to extend to top */
.footer-top-blur {
  display: none;
}

/* DotGrid background canvas container — follows the curved wave boundary */
.dotgrid-wrap {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  z-index: 1;
  overflow: hidden;
  -webkit-mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
  mask-image: linear-gradient(to bottom, #000 0%, #000 88%, transparent 100%);
}

.dot-grid__canvas {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
}

/* Foreground content container */
.footer-container {
  position: relative;
  z-index: 3;
  max-width: 1400px;
  margin: 0 auto;
  padding: 85px 48px 48px;
  display: flex;
  flex-direction: column;
}

/* 2-Column Directory Navigation Grid — Clean, spacious, and readable */
.footer-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 50px 100px;
  max-width: 860px;
  margin: 0 auto 52px auto;
  width: 100%;
}

.footer-col {
  display: flex;
  flex-direction: column;
}

.footer-col-header {
  font-size: 24px;
  font-weight: 700;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin-bottom: 22px;
  user-select: none;
}

.footer-link-list {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.footer-link {
  font-size: 19px;
  color: #cbd5e1;
  text-decoration: none;
  font-weight: 500;
  line-height: 1.5;
  transition: all 0.22s cubic-bezier(0.16, 1, 0.3, 1);
  display: inline-flex;
  align-items: center;
  gap: 8px;
  width: fit-content;
}

.footer-link:hover {
  color: #00f0ff;
  transform: translateX(6px);
}

.footer-arrow {
  font-size: 16px;
  color: #64748b;
  margin-left: 2px;
  transition: all 0.22s ease;
  line-height: 1;
}

.footer-link:hover .footer-arrow {
  color: #00f0ff;
  transform: translate(3px, -3px);
}

/* Bottom Bar — Completely invisible line (no border-top) */
.footer-bottom-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-top: 24px;
  border-top: none;
  border: none;
  max-width: 860px;
  margin: 0 auto;
  width: 100%;
  flex-wrap: wrap;
  gap: 24px;
}

/* Social Icon Components (Enlarged to 58px with 28px icons) */
.footer-social-group {
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-social-btn {
  width: 58px;
  height: 58px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  color: #ffffff;
  text-decoration: none;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
  backdrop-filter: blur(12px);
}

.footer-social-btn svg {
  width: 28px;
  height: 28px;
  transition: transform 0.25s ease;
}

.footer-social-btn:hover {
  transform: translateY(-4px) scale(1.08);
}

.footer-social-btn:hover svg {
  transform: scale(1.1);
}

/* Brand-specific hover tints */
.footer-social-btn.btn-linkedin:hover {
  background: rgba(10, 102, 194, 0.18);
  border-color: rgba(10, 102, 194, 0.7);
  color: #0a66c2;
  box-shadow: 0 0 24px rgba(10, 102, 194, 0.4);
}

.footer-social-btn.btn-instagram:hover {
  background: rgba(225, 48, 108, 0.18);
  border-color: rgba(225, 48, 108, 0.7);
  color: #e1306c;
  box-shadow: 0 0 24px rgba(225, 48, 108, 0.4);
}

.footer-social-btn.btn-facebook:hover {
  background: rgba(24, 119, 242, 0.18);
  border-color: rgba(24, 119, 242, 0.7);
  color: #1877f2;
  box-shadow: 0 0 24px rgba(24, 119, 242, 0.4);
}

.footer-social-btn.btn-youtube:hover {
  background: rgba(255, 0, 0, 0.18);
  border-color: rgba(255, 0, 0, 0.7);
  color: #ff3333;
  box-shadow: 0 0 24px rgba(255, 0, 0, 0.4);
}

.footer-social-btn.btn-x:hover {
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.5);
  color: #ffffff;
  box-shadow: 0 0 24px rgba(255, 255, 255, 0.3);
}

.footer-social-btn.btn-github:hover {
  background: rgba(0, 240, 255, 0.16);
  border-color: rgba(0, 240, 255, 0.6);
  color: #00f0ff;
  box-shadow: 0 0 24px rgba(0, 240, 255, 0.35);
}

.footer-social-btn.btn-discord:hover {
  background: rgba(88, 101, 242, 0.18);
  border-color: rgba(88, 101, 242, 0.7);
  color: #5865f2;
  box-shadow: 0 0 24px rgba(88, 101, 242, 0.4);
}

/* Center Copyright */
.footer-copyright-group {
  font-size: 14px;
  color: #94a3b8;
  display: flex;
  align-items: center;
  gap: 16px;
}

.footer-cookies-link {
  color: #cbd5e1;
  text-decoration: none;
  transition: color 0.2s ease;
  cursor: pointer;
}

.footer-cookies-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Locale Badge */
.footer-locale-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  border-radius: 9999px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #e2e8f0;
  font-size: 14px;
  font-weight: 500;
  cursor: pointer;
  transition: all 0.2s ease;
  backdrop-filter: blur(8px);
}

.footer-locale-badge:hover {
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #ffffff;
}

.footer-locale-badge svg {
  color: #94a3b8;
}

/* ═══════════════════════════════════════════════════════════════════════
   MASTER AUTO-RESPONSIVE SYSTEM — MOBILE, TABLET, LAPTOP & DESKTOP
   ═══════════════════════════════════════════════════════════════════════ */

/* Global Auto-Fit Safeguards */
img,
svg,
video,
canvas {
  max-width: 100%;
  height: auto;
}

/* 1. Large Tablets & Small Laptops (max-width: 1024px) */
@media (max-width: 1024px) {
  #astra-header {
    padding: 0 24px;
    height: 64px;
  }

  .hero-container {
    padding: 100px 24px 60px;
  }

  .hero-title {
    font-size: clamp(2.4rem, 6vw, 3.8rem);
  }

  .countdown-grid {
    gap: 12px;
  }

  .countdown-item {
    min-width: 72px;
    padding: 14px 10px;
  }

  .events-grid,
  .features-grid,
  .tracks-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
  }

  .contact-container-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }
}

/* 2. Tablets & Large Phones (max-width: 768px) */
@media (max-width: 768px) {
  #astra-header {
    padding: 0 16px;
    height: 60px;
  }

  .header-nav {
    display: none;
    /* Controlled by mobile menu toggle */
  }

  .mobile-menu-btn {
    display: flex;
  }

  .header-right .cta-header-btn {
    display: none;
  }

  .header-right {
    gap: 12px;
  }

  .hero-container {
    padding: 85px 16px 40px;
    text-align: center;
  }

  .hero-title {
    font-size: clamp(2rem, 8vw, 2.8rem);
    letter-spacing: -0.02em;
    line-height: 1.15;
  }

  .hero-subtitle {
    font-size: clamp(0.95rem, 3.5vw, 1.15rem);
    padding: 0 8px;
    margin-bottom: 24px;
  }

  .hero-cta-group {
    flex-direction: column;
    width: 100%;
    max-width: 320px;
    margin: 0 auto 32px;
    gap: 12px;
  }

  .hero-cta-group .btn-primary,
  .hero-cta-group .btn-secondary,
  .hero-cta-group a {
    width: 100%;
    text-align: center;
    justify-content: center;
    min-height: 48px;
  }

  .countdown-wrapper {
    width: 100%;
    max-width: 100%;
    overflow-x: auto;
    padding: 4px;
  }

  .countdown-grid {
    display: flex;
    justify-content: center;
    gap: 8px;
    flex-wrap: nowrap;
  }

  .countdown-item {
    min-width: 64px;
    padding: 10px 8px;
    border-radius: 10px;
  }

  .countdown-val {
    font-size: 1.4rem;
  }

  .countdown-lbl {
    font-size: 9px;
  }

  /* Grids collapse cleanly */
  .events-grid,
  .features-grid,
  .tracks-grid,
  .stats-grid {
    grid-template-columns: 1fr;
    gap: 18px;
  }

  .footer-container {
    padding: 50px 18px 30px;
  }

  .footer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .footer-bottom-bar {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 20px;
  }

  .footer-social-group {
    flex-wrap: wrap;
    justify-content: center;
    gap: 12px;
  }

  .footer-social-btn {
    width: 48px;
    height: 48px;
    border-radius: 12px;
  }

  .footer-social-btn svg {
    width: 22px;
    height: 22px;
  }
}

/* 3. Standard Mobile Phones (max-width: 480px) */
@media (max-width: 480px) {
  #astra-header {
    padding: 0 12px;
  }

  .logo-text {
    font-size: 15px;
    letter-spacing: 0.1em;
  }

  .hero-title {
    font-size: clamp(1.85rem, 9vw, 2.3rem);
  }

  .hero-tag {
    font-size: 10px;
    padding: 4px 12px;
    letter-spacing: 0.15em;
  }

  .countdown-item {
    min-width: 58px;
    padding: 8px 4px;
  }

  .countdown-val {
    font-size: 1.25rem;
  }

  .countdown-lbl {
    font-size: 8px;
  }

  .event-card,
  .feature-card {
    padding: 20px 16px;
    border-radius: 14px;
  }

  .section-container {
    padding: 50px 14px;
  }

  .section-title {
    font-size: clamp(1.5rem, 7vw, 2rem);
  }

  .contact-form-box {
    padding: 20px 16px;
  }

  .footer-col-header {
    font-size: 20px;
    margin-bottom: 16px;
  }

  .footer-link {
    font-size: 16px;
  }
}

/* 4. Small / Compact Mobile Phones (max-width: 360px) */
@media (max-width: 360px) {
  .hero-title {
    font-size: 1.65rem;
  }

  .countdown-grid {
    gap: 4px;
  }

  .countdown-item {
    min-width: 50px;
    padding: 6px 2px;
  }

  .countdown-val {
    font-size: 1.1rem;
  }

  .countdown-lbl {
    font-size: 7.5px;
  }

  .footer-social-btn {
    width: 42px;
    height: 42px;
  }
}

/* ══════════════════════════════════════════════════════════════════════════
   SECTION 07: DEVELOPER (PLATFORM ARCHITECT & CREATIVE TECH)
   Aesthetic: Designed. Engineered. Deployed. • Manikandan N
   ══════════════════════════════════════════════════════════════════════════ */
.developer-section {
  position: relative;
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 130px 32px 100px;
  z-index: 10;
}

.developer-section-header {
  margin-bottom: 44px;
}

.developer-eyebrow-wrap {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 14px;
  margin-bottom: 12px;
}

.developer-live-status {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: var(--color-white-70);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 5px 12px;
  border-radius: 20px;
  backdrop-filter: blur(10px);
}

.live-pulse-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: #38ef7d;
  box-shadow: 0 0 10px #38ef7d;
  animation: live-dot-pulse 2s infinite ease-in-out;
}

@keyframes live-dot-pulse {
  0%, 100% {
    transform: scale(1);
    opacity: 0.85;
  }
  50% {
    transform: scale(1.35);
    opacity: 1;
    box-shadow: 0 0 14px #38ef7d;
  }
}

.dev-telemetry-sep {
  color: rgba(255, 255, 255, 0.25);
}

.dev-coords {
  color: var(--color-white-50);
  font-family: monospace;
  font-size: 9.5px;
}

.developer-main-title {
  font-size: clamp(2.2rem, 5.5vw, 4.2rem);
  font-weight: 700;
  letter-spacing: 0.06em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.08;
}

.developer-name-gradient {
  background: linear-gradient(135deg, #ffffff 30%, rgba(255, 255, 255, 0.65) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(255, 255, 255, 0.18);
}

.developer-main-desc {
  font-size: clamp(0.95rem, 1.2vw, 1.15rem);
  color: var(--color-white-70);
  margin-top: 14px;
}

/* ── Developer Panoramic Hero Grid (3 Columns) ────────────────────────── */
.developer-hero-grid {
  display: grid;
  grid-template-columns: 350px 1fr 310px;
  gap: 24px;
  align-items: stretch;
}

/* Identity Card */
.dev-identity-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 36px 28px;
}

.dev-avatar-orbital-container {
  position: relative;
  width: 156px;
  height: 156px;
  margin: 6px auto 24px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s ease-out;
}

/* Outer Telemetry Square Frame Bracket */
.dev-frame-bracket-outer {
  position: absolute;
  inset: -10px;
  border: 1px dashed rgba(255, 255, 255, 0.2);
  border-radius: 8px;
  pointer-events: none;
  transition: border-color 0.3s ease;
}

.dev-identity-card:hover .dev-frame-bracket-outer {
  border-color: rgba(255, 255, 255, 0.45);
}

/* Precision Square Telemetry Corner Crosshairs */
.dev-crosshair {
  position: absolute;
  width: 10px;
  height: 10px;
  pointer-events: none;
  opacity: 0.75;
  transition: all 0.3s ease;
}

.ch-tl { top: -16px; left: -16px; border-top: 2px solid #ffffff; border-left: 2px solid #ffffff; }
.ch-tr { top: -16px; right: -16px; border-top: 2px solid #ffffff; border-right: 2px solid #ffffff; }
.ch-bl { bottom: -16px; left: -16px; border-bottom: 2px solid #ffffff; border-left: 2px solid #ffffff; }
.ch-br { bottom: -16px; right: -16px; border-bottom: 2px solid #ffffff; border-right: 2px solid #ffffff; }

.dev-identity-card:hover .dev-crosshair {
  opacity: 1;
  border-color: #38ef7d;
}

/* Square Avatar Frame */
.dev-avatar-frame {
  position: relative;
  width: 144px;
  height: 144px;
  border-radius: 6px;
  overflow: hidden;
  border: 1.5px solid rgba(255, 255, 255, 0.35);
  background: #050505;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.95), 0 0 24px rgba(255, 255, 255, 0.08);
  z-index: 2;
  transition: border-color 0.35s ease, box-shadow 0.35s ease;
}

.dev-identity-card:hover .dev-avatar-frame {
  border-color: rgba(255, 255, 255, 0.65);
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.98), 0 0 30px rgba(255, 255, 255, 0.15);
}

.dev-avatar-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 4px;
  filter: grayscale(100%) contrast(1.12);
  transition: transform 0.4s cubic-bezier(0.16, 1, 0.3, 1), filter 0.4s ease;
}

.dev-identity-card:hover .dev-avatar-img {
  filter: grayscale(80%) contrast(1.18);
  transform: scale(1.05);
}

.dev-monogram {
  width: 100%;
  height: 100%;
  border-radius: 4px;
  display: flex;
  align-items: center;
  justify-content: center;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.15) 0%, rgba(0, 0, 0, 0.95) 75%);
  font-size: 40px;
  font-weight: 700;
  letter-spacing: 0.12em;
  color: #ffffff;
}

.dev-avatar-glow {
  position: absolute;
  inset: -6px;
  border-radius: 8px;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.12) 0%, transparent 70%);
  pointer-events: none;
  z-index: 1;
}

.dev-identity-info {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  width: 100%;
}

.dev-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: #38ef7d;
  background: rgba(56, 239, 125, 0.08);
  border: 1px solid rgba(56, 239, 125, 0.28);
  padding: 4px 10px;
  border-radius: 12px;
}

.dev-status-indicator {
  width: 5px;
  height: 5px;
  border-radius: 50%;
  background: #38ef7d;
}

.dev-identity-name {
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 0.1em;
  color: #ffffff;
  margin-top: 4px;
}

.dev-identity-roles {
  display: flex;
  flex-wrap: wrap;
  gap: 6px;
  justify-content: center;
  margin: 4px 0 8px;
}

.dev-role-badge {
  font-size: 10px;
  font-weight: 500;
  letter-spacing: 0.08em;
  color: var(--color-white-90);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid rgba(255, 255, 255, 0.14);
  padding: 3px 8px;
  border-radius: 4px;
}

.dev-identity-institution,
.dev-identity-location {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 11px;
  color: var(--color-white-70);
  text-align: center;
}

.dev-inst-icon {
  width: 14px;
  height: 14px;
  flex-shrink: 0;
  stroke: var(--color-white-50);
}

/* Philosophy & Quote Pipeline Card */
.dev-philosophy-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 36px 32px;
}

.dev-card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 12px;
  margin-bottom: 20px;
}

.dev-card-tag {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.22em;
  color: var(--color-white-50);
  text-transform: uppercase;
}

.dev-motif-code-aero {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-family: monospace;
  font-size: 10px;
  color: var(--color-white-70);
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  padding: 4px 10px;
  border-radius: 4px;
}

.dev-motif-token {
  color: #ffffff;
  font-weight: 600;
}

.dev-motif-line {
  display: inline-block;
  width: 14px;
  height: 1px;
  background: rgba(255, 255, 255, 0.25);
}

.dev-motif-node {
  color: #38ef7d;
  font-size: 9px;
}

.dev-motto-headline {
  font-size: clamp(1.4rem, 2.8vw, 2.1rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
  text-transform: uppercase;
  line-height: 1.25;
  margin-bottom: 16px;
  border-left: 2px solid #ffffff;
  padding-left: 16px;
}

.dev-bio-text {
  font-size: 13.5px;
  line-height: 1.75;
  color: var(--color-white-70);
  margin-bottom: 28px;
}

/* Quote Pipeline Stages */
.dev-quote-pipeline-wrap {
  margin-top: auto;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 6px;
  padding: 20px;
}

.dev-quote-banner {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.08em;
  color: #ffffff;
  margin-bottom: 16px;
}

.quote-mark-open,
.quote-mark-close {
  color: var(--color-white-50);
  font-size: 18px;
}

.dev-pipeline-steps {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 6px;
}

.pipeline-step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 4px;
  padding: 10px 14px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  flex: 1;
  text-align: center;
  transition: all 0.3s ease;
  cursor: pointer;
}

.pipeline-step:hover,
.pipeline-step.active {
  background: rgba(255, 255, 255, 0.12);
  border-color: rgba(255, 255, 255, 0.45);
  box-shadow: 0 4px 18px rgba(0, 0, 0, 0.7), 0 0 15px rgba(255, 255, 255, 0.08);
  transform: translateY(-2px);
}

.step-num {
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.15em;
  color: var(--color-white-50);
  font-family: monospace;
}

.pipeline-step.active .step-num {
  color: #38ef7d;
}

.step-name {
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.14em;
  color: #ffffff;
}

.repeat-glyph {
  font-size: 13px;
  line-height: 1;
  display: inline-block;
}

.step-connector {
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--color-white-25);
  font-size: 12px;
  padding: 0 2px;
  transition: color 0.3s ease;
}

.step-connector.passed {
  color: rgba(255, 255, 255, 0.7);
}

/* Spotlight Column (GitHub & LinkedIn Cards) */
.dev-spotlight-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.dev-spotlight-card {
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  padding: 28px;
  min-height: 200px;
}

.spotlight-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 12px;
}

.spotlight-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.16em;
  color: #ffffff;
}

.spotlight-brand-icon {
  width: 20px;
  height: 20px;
}

.spotlight-handle {
  font-size: 11px;
  font-family: monospace;
  color: var(--color-white-70);
  background: rgba(255, 255, 255, 0.05);
  padding: 3px 8px;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.spotlight-badge {
  font-size: 10px;
  font-weight: 600;
  letter-spacing: 0.1em;
  color: var(--color-white-50);
}

.spotlight-desc {
  font-size: 12px;
  line-height: 1.6;
  color: var(--color-white-70);
  margin-bottom: 20px;
}

.dev-action-btn {
  display: inline-flex;
  align-items: center;
  justify-content: space-between;
  padding: 12px 18px;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 4px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(255, 255, 255, 0.05);
  color: #ffffff;
  transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

.dev-action-btn:hover {
  background: #ffffff;
  color: #000000;
  border-color: #ffffff;
  box-shadow: 0 6px 20px rgba(255, 255, 255, 0.25);
  transform: translateY(-2px);
}

.dev-action-btn:hover .action-arrow {
  transform: translate(2px, -2px);
}

.action-arrow {
  font-size: 13px;
  transition: transform 0.2s ease;
}

/* ── Developer Section Responsive Breakpoints ─────────────────────────── */
@media (max-width: 1100px) {
  .developer-hero-grid {
    grid-template-columns: 1fr 1fr;
  }

  .dev-spotlight-column {
    grid-column: span 2;
    flex-direction: row;
  }

  .dev-spotlight-card {
    flex: 1;
  }
}

@media (max-width: 768px) {
  .developer-section {
    padding: 80px 20px 60px;
  }

  .developer-eyebrow-wrap {
    flex-direction: column;
    align-items: flex-start;
    gap: 8px;
  }

  .developer-hero-grid {
    grid-template-columns: 1fr;
    gap: 20px;
  }

  .dev-spotlight-column {
    grid-column: span 1;
    flex-direction: column;
  }

  .dev-pipeline-steps {
    flex-direction: column;
    align-items: stretch;
    gap: 6px;
  }

  .step-connector {
    transform: rotate(90deg);
    margin: 4px auto;
  }

  .dev-motto-headline {
    font-size: 1.35rem;
  }
}

/* Accessibility: Reduced Motion Support */
@media (prefers-reduced-motion: reduce) {
  .live-pulse-dot {
    animation: none !important;
  }

  .dev-avatar-orbital-container,
  .pipeline-step {
    transition: none !important;
    transform: none !important;
  }
}