/* Seamless team card photo style */
.team-photo-seamless {
  width: 100%;
  height: 270px;
  object-fit: cover;
  border-radius: 0;
  margin: 0;
  display: block;
}
.flip-card-front.no-padding {
  padding: 0 !important;
}
/* ============================================
   COMBAT ROBOTICS TEAM - MAIN STYLESHEET
   Theme: Bold Red & Black | Futuristic
   ============================================ */

/* ============================================
   ANDROID ASSASSIN FONT FOR TCR TEXT
   ============================================ */
@import url('https://fonts.cdnfonts.com/css/android-assassin');

/* TCR Text Styling with Android Assassin Font */
.tcr-text {
  font-family: 'Orbitron', sans-serif !important;
  letter-spacing: 0.15em;
  font-weight: 700;
}

/* ============================================
   CSS CUSTOM PROPERTIES (Design Tokens)
   ============================================ */
:root {
  /* Primary Colors */
  --color-black-deep: #050505;
  --color-black: #0a0a0a;
  --color-black-light: #121212;
  --color-charcoal: #1a1a1a;
  --color-charcoal-light: #2a2a2a;
  --color-gray-dark: #666060;
  --color-gray: #666666;
  --color-gray-light: #999999;

  /* Accent Colors */
  --color-crimson: #c32b1f;
  --color-red: #d1462c;
  --color-neon-red: #ff4f4f;
  --color-red-glow: rgba(255, 79, 79, 0.45);
  --color-red-subtle: rgba(255, 79, 79, 0.12);

  /* Text Colors */
  --color-white: #ffffff;
  --color-white-muted: #e5e5e5;
  --color-text-primary: #ffffff;
  --color-text-secondary: #8a8a8a;
  --color-text-muted: #595959;

  /* Gradients */
  --gradient-red: linear-gradient(135deg, #e74b39 0%, #a42220 100%);
  --gradient-red-glow: linear-gradient(135deg, #ff5a5a 0%, #e74b39 100%);
  --gradient-dark: linear-gradient(180deg, #0a0a0a 0%, #1a1a1a 100%);
  --gradient-card: linear-gradient(145deg, #1a1a1a 0%, #0f0f0f 100%);
  --gradient-hero: radial-gradient(ellipse at center, #1a0a0a 0%, #0a0a0a 70%);

  /* Typography */
  --font-heading: 'Orbitron', 'Rajdhani', sans-serif;
  --font-body: 'Inter', 'Roboto', sans-serif;
  --font-mono: 'JetBrains Mono', 'Fira Code', monospace;

  /* Font Sizes */
  --text-xs: 0.75rem;
  --text-sm: 0.875rem;
  --text-base: 1rem;
  --text-lg: 1.125rem;
  --text-xl: 1.25rem;
  --text-2xl: 1.5rem;
  --text-3xl: 1.875rem;
  --text-4xl: 2.25rem;
  --text-5xl: 3rem;
  --text-6xl: 3.75rem;
  --text-7xl: 4.5rem;
  --text-8xl: 6rem;

  /* Spacing */
  --space-1: 0.25rem;
  --space-2: 0.5rem;
  --space-3: 0.75rem;
  --space-4: 1rem;
  --space-5: 1.25rem;
  --space-6: 1.5rem;
  --space-8: 2rem;
  --space-10: 2.5rem;
  --space-12: 3rem;
  --space-16: 4rem;
  --space-20: 5rem;
  --space-24: 6rem;

  /* Border Radius */
  --radius-sm: 4px;
  --radius-md: 8px;
  --radius-lg: 12px;
  --radius-xl: 16px;
  --radius-2xl: 24px;
  --radius-full: 9999px;

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.5);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.5);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.5);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.5);
  --shadow-glow: 0 0 20px var(--color-red-glow);
  --shadow-glow-lg: 0 0 40px var(--color-red-glow);
  --shadow-neon: 0 0 10px var(--color-neon-red), 0 0 20px var(--color-red-glow);

  /* Transitions */
  --transition-fast: 150ms ease;
  --transition-base: 250ms ease;
  --transition-slow: 400ms ease;
  --transition-bounce: 400ms cubic-bezier(0.68, -0.55, 0.265, 1.55);

  /* Z-Index */
  --z-base: 1;
  --z-dropdown: 100;
  --z-sticky: 200;
  --z-fixed: 300;
  --z-modal: 400;
  --z-popover: 500;
  --z-tooltip: 600;
}

:root[data-theme="light"] {
  /* Primary Colors - Inverted for Light Mode */
  --color-black-deep: #ffffff;
  --color-black: #f5f5f5;
  --color-black-light: #e5e5e5;
  --color-charcoal: #d4d4d4;
  --color-charcoal-light: #c0c0c0;
  --color-gray-dark: #a0a0a0;

  /* Text Colors */
  --color-text-primary: #1a1a1a;
  --color-text-secondary: #4a4a4a;
  --color-text-muted: #737373;

  /* Gradients */
  --gradient-dark: linear-gradient(180deg, #f5f5f5 0%, #e5e5e5 100%);
  --gradient-card: linear-gradient(145deg, #ffffff 0%, #f0f0f0 100%);
  --gradient-hero: radial-gradient(ellipse at center, #f5f5f5 0%, #e5e5e5 70%);

  /* Shadows */
  --shadow-sm: 0 1px 2px rgba(0, 0, 0, 0.1);
  --shadow-md: 0 4px 6px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px rgba(0, 0, 0, 0.1);
  --shadow-xl: 0 20px 25px rgba(0, 0, 0, 0.1);
}

/* ============================================
   CSS RESET & BASE STYLES
   ============================================ */
*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

html {
  scroll-behavior: smooth;
  font-size: 16px;
}

body {
  font-family: var(--font-body);
  font-size: var(--text-base);
  line-height: 1.6;
  color: var(--color-text-primary);
  background-color: var(--color-black);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* Scrollbar Styling */
::-webkit-scrollbar {
  width: 8px;
  height: 8px;
}

::-webkit-scrollbar-track {
  background: var(--color-black);
}

::-webkit-scrollbar-thumb {
  background: var(--color-charcoal-light);
  border-radius: var(--radius-full);
}

::-webkit-scrollbar-thumb:hover {
  background: var(--color-crimson);
}

/* Selection */
::selection {
  background: var(--color-crimson);
  color: var(--color-white);
}

/* Links */
a {
  color: var(--color-red);
  text-decoration: none;
  transition: color var(--transition-fast);
}

a:hover {
  color: var(--color-neon-red);
}

/* Images */
img {
  max-width: 100%;
  height: auto;
  display: block;
}

/* Lists */
ul,
ol {
  list-style: none;
}

/* Buttons */
button {
  font-family: inherit;
  cursor: pointer;
  border: none;
  background: none;
}

/* Inputs */
input,
textarea,
select {
  font-family: inherit;
  font-size: inherit;
}

/* Focus States */
:focus-visible {
  outline: 2px solid var(--color-red);
  outline-offset: 2px;
}

/* ============================================
   TYPOGRAPHY
   ============================================ */
h1,
h2,
h3,
h4,
h5,
h6 {
  font-family: var(--font-heading);
  font-weight: 700;
  line-height: 1.2;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

h1 {
  font-size: var(--text-6xl);
}

h2 {
  font-size: var(--text-4xl);
}

h3 {
  font-size: var(--text-2xl);
}

h4 {
  font-size: var(--text-xl);
}

h5 {
  font-size: var(--text-lg);
}

h6 {
  font-size: var(--text-base);
}

.text-gradient {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.text-glow {
  text-shadow: var(--shadow-neon);
}

.hero-text-magnetic {
  display: inline-block;
  transition: transform 0.1s ease-out;
}

/* ============================================
   LAYOUT UTILITIES
   ============================================ */
.container {
  width: 100%;
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 var(--space-6);
}

.section {
  padding: var(--space-24) 0;
  position: relative;
}

#team {
  padding-top: var(--space-12);
  padding-bottom: var(--space-12);
}

#team .container {
  display: flex;
  flex-direction: column;
  align-items: center;
}

.section-header {
  text-align: center;
  margin-bottom: var(--space-16);
}

.section-header h2 {
  margin-bottom: var(--space-4);
}

.section-header p {
  color: var(--color-text-secondary);
  font-size: var(--text-lg);
  max-width: 600px;
  margin: 0 auto;
}

.grid {
  display: grid;
  gap: var(--space-6);
}

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

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

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

.flex {
  display: flex;
}

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

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

/* ============================================
   NAVIGATION
   ============================================ */
.nav {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: var(--z-fixed);
  padding: var(--space-4) 0;
  background: rgba(10, 10, 10, 0.9);
  backdrop-filter: blur(20px);
  border-bottom: 1px solid transparent;
  transition: all var(--transition-base);
}

.nav.scrolled {
  padding: var(--space-3) 0;
  border-bottom-color: var(--color-charcoal);
}

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

.nav-logo {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  font-family: var(--font-heading);
  font-size: var(--text-xl);
  font-weight: 700;
  color: var(--color-white);
  text-transform: uppercase;
  letter-spacing: 0.1em;
}

.nav-logo svg {
  width: 40px;
  height: 40px;
  fill: var(--color-red);
}

.nav-logo span {
  background: var(--gradient-red);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.nav-menu {
  display: flex;
  align-items: center;
  gap: var(--space-8);
}

.nav-link {
  position: relative;
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
  font-weight: 500;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  padding: var(--space-2) 0;
  transition: color var(--transition-fast);
}

.nav-link::after {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  width: 0;
  height: 2px;
  background: var(--gradient-red);
  transition: width var(--transition-base);
}

.nav-link:hover,
.nav-link.active {
  color: var(--color-white);
}

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

.nav-actions {
  display: flex;
  align-items: center;
  gap: var(--space-4);
}

.nav-toggle {
  display: none;
  flex-direction: column;
  gap: 5px;
  padding: var(--space-2);
}

.nav-toggle span {
  display: block;
  width: 24px;
  height: 2px;
  background: var(--color-white);
  transition: all var(--transition-base);
}

/* Dark Mode Toggle */
.theme-toggle {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.theme-toggle:hover {
  background: var(--color-charcoal-light);
  box-shadow: var(--shadow-glow);
}

.theme-toggle svg {
  width: 20px;
  height: 20px;
  fill: var(--color-white);
}

/* ============================================
   BUTTONS
   ============================================ */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: var(--space-2);
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.1em;
  border-radius: var(--radius-md);
  cursor: pointer;
  transition: all var(--transition-base);
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.2), transparent);
  transition: left var(--transition-slow);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-red);
  color: var(--color-white);
  border: none;
  box-shadow: var(--shadow-md);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-glow-lg);
}

.btn-secondary {
  background: transparent;
  color: var(--color-white);
  border: 2px solid var(--color-red);
}

.btn-secondary:hover {
  background: var(--color-red-subtle);
  border-color: var(--color-neon-red);
  box-shadow: var(--shadow-glow);
}

.btn-secondary.active {
  background: var(--gradient-red);
  color: var(--color-white);
  border-color: transparent;
  box-shadow: var(--shadow-md);
}

.btn-lg {
  padding: var(--space-4) var(--space-8);
  font-size: var(--text-base);
}

.btn-icon {
  width: 48px;
  height: 48px;
  padding: 0;
  border-radius: var(--radius-full);
}

/* Glitch Button Effect */
.btn-glitch {
  position: relative;
}

.btn-glitch:hover {
  animation: btn-glitch 0.3s linear;
}

@keyframes btn-glitch {

  0%,
  100% {
    transform: translateX(0);
  }

  10% {
    transform: translateX(-2px);
  }

  20% {
    transform: translateX(2px);
  }

  30% {
    transform: translateX(-2px);
  }

  40% {
    transform: translateX(2px);
  }

  50% {
    transform: translateX(-2px);
  }
}

/* ============================================
   CARDS
   ============================================ */
.card {
  background: var(--gradient-card);
  border: 1px solid var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
  transition: all var(--transition-base);
}

.card:hover {
  border-color: var(--color-crimson);
  transform: translateY(-5px);
  box-shadow: var(--shadow-glow);
}

.card-header {
  margin-bottom: var(--space-4);
}

.card-title {
  font-size: var(--text-xl);
  margin-bottom: var(--space-2);
}

.card-body {
  color: var(--color-text-secondary);
}

/* Gradient Card */
.card-gradient {
  background: linear-gradient(145deg, rgba(220, 38, 38, 0.1) 0%, rgba(10, 10, 10, 0.9) 100%);
  border: 1px solid rgba(220, 38, 38, 0.3);
}

/* Glass Card */
.card-glass {
  background: rgba(20, 20, 20, 0.6);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

/* ============================================
   FLIP CARDS (Team Section)
   ============================================ */
.flip-card {
  perspective: 1000px;
  aspect-ratio: 4 / 3;
  min-height: 320px;
  width: 100%;
}

.flip-card-inner {
  position: relative;
  width: 100%;
  height: 100%;
  transition: transform 0.6s cubic-bezier(0.175, 0.885, 0.32, 1.275);
  transform-style: preserve-3d;
}

.flip-card:hover .flip-card-inner {
  transform: none;
}

.flip-card-front,
.flip-card-back {
  position: absolute;
  width: 100%;
  height: 100%;
  -webkit-backface-visibility: hidden;
  backface-visibility: hidden;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 14px 28px rgba(0, 0, 0, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.02);
}

.flip-card-front {
  position: relative;
  background: #0b0b0b;
  border: 1px solid rgba(255, 255, 255, 0.06);
  padding: 0;
}

.flip-card-back {
  background: var(--gradient-red);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: var(--space-6);
}

.team-member img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-seamless {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.team-photo-placeholder {
  width: 100%;
  height: 100%;
  min-height: 260px;
  flex: 1 1 100%;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-direction: column;
  gap: 6px;
  background:
    radial-gradient(circle at 30% 30%, rgba(255,72,72,0.55), transparent 35%),
    radial-gradient(circle at 70% 60%, rgba(255,72,72,0.32), transparent 45%),
    linear-gradient(135deg, #1c0d0f, #0a0a0a);
  color: #f8fafc;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-weight: 800;
  border-radius: inherit;
  text-align: center;
  box-shadow: inset 0 0 0 1px rgba(255,255,255,0.04);
  position: relative;
}

.team-photo-placeholder small {
  text-transform: none;
  letter-spacing: 0.02em;
  font-weight: 600;
  font-size: 0.9rem;
  color: rgba(255,255,255,0.82);
}

.flip-card-front .team-photo-placeholder {
  border-radius: 12px;
  margin-bottom: var(--space-4);
  padding: 18px 14px;
  font-size: 1.2rem;
}

.team-photo-placeholder::after {
  content: "IMAGE COMING SOON";
  position: absolute;
  right: 14px;
  bottom: 12px;
  font-size: 0.9rem;
  letter-spacing: 0.05em;
  font-weight: 700;
  color: rgba(255,255,255,0.78);
  text-transform: uppercase;
}

.team-member h3 {
  font-size: var(--text-lg);
  letter-spacing: 0.03em;
}

.team-member p.text-red {
  color: var(--color-neon-red);
  font-size: var(--text-sm);
  letter-spacing: 0.02em;
}

.team-grid {
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: stretch;
  justify-items: stretch;
  justify-content: center;
  width: 100%;
  gap: var(--space-10);
  row-gap: var(--space-12);
  max-width: 1260px;
  margin: 0 auto;
}

@media (max-width: 1100px) {
  .team-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 720px) {
  .team-grid {
    grid-template-columns: 1fr;
  }
}

.team-member .flip-card-back {
  align-items: flex-start;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 18px 38px rgba(0, 0, 0, 0.38);
}

.team-member .flip-card-back h3 {
  font-size: var(--text-xl);
}

.team-member .flip-card-back p {
  line-height: 1.5;
}

.team-member .icon-badge {
  background: rgba(0,0,0,0.35);
  border-radius: var(--radius-full);
  padding: 10px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.team-member .icon-badge:hover {
  background: rgba(0,0,0,0.55);
  transform: translateY(-2px);
}

/* Photo overlay card style */
.team-card-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 50%, rgba(0, 0, 0, 0.75) 95%);
  z-index: 1;
  pointer-events: none;
}

.team-card-meta {
  position: absolute;
  left: var(--space-5);
  right: var(--space-5);
  bottom: var(--space-5);
  z-index: 2;
  color: #fff;
  text-shadow: 0 8px 18px rgba(0,0,0,0.55);
}

.team-card-name {
  font-family: var(--font-heading);
  font-size: 1.15rem;
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  margin: 0 0 4px 0;
}

.team-card-role {
  font-size: 0.9rem;
  color: rgba(255,255,255,0.78);
  margin: 0;
}

.team-card-domain {
  display: none;
}

.flip-card-front .content-stack {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
}

.team-member .flip-card-front {
  cursor: pointer;
  overflow: hidden;
  border-radius: 18px;
  box-shadow: 0 18px 32px rgba(0,0,0,0.35);
  position: relative;
  transition: transform 180ms ease, box-shadow 220ms ease;
}

.team-member .flip-card-front::after {
  content: '';
  position: absolute;
  inset: -2px;
  border-radius: 18px;
  border: 2px solid rgba(239,68,68,0.55);
  box-shadow: 0 0 0 2px rgba(239,68,68,0.55), 0 0 32px rgba(239,68,68,0.25), 0 18px 44px rgba(239,68,68,0.25);
  opacity: 0;
  transform: scale(1);
  transition: opacity 180ms ease, box-shadow 220ms ease, transform 200ms ease;
  pointer-events: none;
}

.team-member:hover .flip-card-front::after {
  opacity: 1;
  transform: scale(1.02);
  box-shadow: 0 0 0 2px rgba(239,68,68,0.85), 0 0 40px rgba(239,68,68,0.35), 0 22px 52px rgba(239,68,68,0.28);
}

.team-member:hover .flip-card-front {
  transform: translateY(-6px) scale(1.015);
  box-shadow: 0 22px 48px rgba(239,68,68,0.32), 0 18px 44px rgba(0,0,0,0.5);
}
.team-member .content-stack img {
  flex: 1;
  width: 100%;
  object-fit: cover;
}

.team-member:hover .flip-card-front img {
  transform: scale(1.03);
  transition: transform 0.4s ease;
}

/* Modal */
.member-modal-backdrop {
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.7);
  backdrop-filter: blur(8px);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 999;
  opacity: 0;
  pointer-events: none;
  transition: opacity 200ms ease;
}

.member-modal-backdrop.active {
  opacity: 1;
  pointer-events: auto;
}

.member-modal {
  width: min(880px, 94vw);
  background: #0d0d0d;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 30px 80px rgba(0,0,0,0.55);
  display: grid;
  grid-template-columns: 1.2fr 0.95fr;
  gap: 0;
  border: 1px solid rgba(255,255,255,0.05);
}

.member-modal .modal-photo {
  position: relative;
  min-height: 420px;
  background: #111;
}

.member-modal .modal-photo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
}

.member-modal .modal-body {
  padding: 30px;
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.member-modal .modal-domain {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  background: rgba(239, 68, 68, 0.12);
  color: var(--color-neon-red);
  letter-spacing: 0.1em;
  font-weight: 800;
  font-size: 0.8rem;
}

.member-modal .modal-name {
  font-family: var(--font-heading);
  font-size: clamp(1.5rem, 2.8vw, 2.05rem);
  letter-spacing: 0.05em;
  font-style: italic;
}

.member-modal .modal-role {
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.08em;
  font-size: 0.85rem;
}

.member-modal .modal-bio {
  color: var(--color-text-secondary);
  line-height: 1.6;
}

.member-modal .modal-meta {
  display: flex;
  gap: 16px;
  flex-wrap: wrap;
  color: rgba(255,255,255,0.8);
  font-size: 0.95rem;
}

.member-modal .modal-socials {
  display: flex;
  gap: 10px;
  margin-top: 6px;
}

.member-modal .modal-socials a {
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255,255,255,0.06);
  color: #fff;
  border: 1px solid rgba(255,255,255,0.08);
  transition: all 0.2s ease;
}

.member-modal .modal-socials a:hover {
  background: rgba(239,68,68,0.18);
  border-color: rgba(239,68,68,0.5);
  transform: translateY(-2px);
}

.member-modal .modal-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  border: 1px solid rgba(255,255,255,0.08);
  background: rgba(0,0,0,0.6);
  color: #fff;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.2s ease;
}

.member-modal .modal-close:hover {
  background: rgba(239,68,68,0.2);
  border-color: rgba(239,68,68,0.5);
}

@media (max-width: 900px) {
  .member-modal {
    grid-template-columns: 1fr;
  }
  .member-modal .modal-photo {
    min-height: 260px;
  }
}

/* ============================================
   FORMS
   ============================================ */
.form-group {
  margin-bottom: var(--space-6);
}

.form-label {
  display: block;
  font-size: var(--text-sm);
  font-weight: 500;
  color: var(--color-text-secondary);
  margin-bottom: var(--space-2);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.form-input {
  width: 100%;
  padding: var(--space-4);
  background: var(--color-charcoal);
  border: 2px solid var(--color-gray-dark);
  border-radius: var(--radius-md);
  color: var(--color-white);
  font-size: var(--text-base);
  transition: all var(--transition-fast);
}

.form-input::placeholder {
  color: var(--color-gray);
}

.form-input:focus {
  outline: none;
  border-color: var(--color-red);
  box-shadow: 0 0 0 3px var(--color-red-subtle);
}

.form-input:valid:not(:placeholder-shown) {
  border-color: #22c55e;
}

.form-input:invalid:not(:placeholder-shown) {
  border-color: var(--color-red);
}

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

/* Custom Checkbox */
.checkbox-wrapper {
  display: flex;
  align-items: center;
  gap: var(--space-3);
  cursor: pointer;
}

.checkbox-input {
  display: none;
}

.checkbox-custom {
  width: 24px;
  height: 24px;
  border: 2px solid var(--color-gray-dark);
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-fast);
}

.checkbox-input:checked+.checkbox-custom {
  background: var(--color-red);
  border-color: var(--color-red);
}

.checkbox-custom svg {
  width: 14px;
  height: 14px;
  fill: var(--color-white);
  opacity: 0;
  transform: scale(0.5);
  transition: all var(--transition-fast);
}

.checkbox-input:checked+.checkbox-custom svg {
  opacity: 1;
  transform: scale(1);
}

/* ============================================
   TABS
   ============================================ */
.tabs {
  display: flex;
  gap: var(--space-2);
  margin-bottom: var(--space-8);
  overflow-x: auto;
  padding-bottom: var(--space-2);
}

.tab-btn {
  padding: var(--space-3) var(--space-6);
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  color: var(--color-text-secondary);
  background: var(--color-charcoal);
  border: 1px solid var(--color-charcoal-light);
  border-radius: var(--radius-md);
  white-space: nowrap;
  transition: all var(--transition-fast);
}

.tab-btn:hover {
  color: var(--color-white);
  border-color: var(--color-gray-dark);
}

.tab-btn.active {
  color: var(--color-white);
  background: var(--gradient-red);
  border-color: var(--color-red);
}

.tab-content {
  display: none;
}

.tab-content.active {
  display: block;
  animation: fadeIn 0.3s ease;
}

/* ============================================
   PROGRESS BARS
   ============================================ */
.progress-bar {
  height: 8px;
  background: var(--color-charcoal);
  border-radius: var(--radius-full);
  overflow: hidden;
}

.progress-fill {
  height: 100%;
  background: var(--gradient-red);
  border-radius: var(--radius-full);
  width: 0;
  transition: width 1s cubic-bezier(0.4, 0, 0.2, 1);
}

.progress-fill.animated {
  animation: progressFill 1.5s ease forwards;
}

/* ============================================
   COUNTERS
   ============================================ */
.counter-wrapper {
  text-align: center;
}

.counter-value {
  font-family: var(--font-heading);
  font-size: var(--text-5xl);
  font-weight: 700;
  color: var(--color-red);
  line-height: 1;
}

.counter-label {
  font-size: var(--text-sm);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-2);
}

/* ============================================
   TIMELINE
   ============================================ */
.timeline {
  position: relative;
  padding-left: var(--space-12);
}

.timeline::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15px;
  width: 2px;
  height: 100%;
  background: var(--gradient-red);
}

.timeline-item {
  position: relative;
  padding-bottom: var(--space-8);
}

.timeline-item:last-child {
  padding-bottom: 0;
}

.timeline-dot {
  position: absolute;
  left: calc(-1 * var(--space-12) + 8px);
  width: 16px;
  height: 16px;
  background: var(--color-red);
  border: 3px solid var(--color-black);
  border-radius: var(--radius-full);
  box-shadow: var(--shadow-glow);
}

.timeline-date {
  font-family: var(--font-heading);
  font-size: var(--text-sm);
  color: var(--color-red);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-bottom: var(--space-2);
}

.timeline-content {
  background: var(--gradient-card);
  border: 1px solid var(--color-charcoal);
  border-radius: var(--radius-lg);
  padding: var(--space-6);
}

/* ============================================
   COUNTDOWN TIMER
   ============================================ */
.countdown {
  display: flex;
  gap: var(--space-4);
  justify-content: center;
}

.countdown-item {
  text-align: center;
  min-width: 80px;
}

.countdown-value {
  font-family: var(--font-heading);
  font-size: var(--text-4xl);
  font-weight: 700;
  color: var(--color-white);
  background: var(--gradient-card);
  border: 1px solid var(--color-charcoal);
  border-radius: var(--radius-md);
  padding: var(--space-4);
  display: block;
}

.countdown-value.blink {
  animation: blink 1s infinite;
}

.countdown-label {
  font-size: var(--text-xs);
  color: var(--color-text-secondary);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  margin-top: var(--space-2);
}

@keyframes blink {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0.5;
  }
}

/* ============================================
   MARQUEE
   ============================================ */
.marquee {
  overflow: hidden;
  position: relative;
  background: var(--color-charcoal);
  padding: var(--space-8) 0;
}

.marquee-content {
  display: flex;
  gap: var(--space-16);
  animation: marquee 30s linear infinite;
}

.marquee:hover .marquee-content {
  animation-play-state: paused;
}

.marquee-item {
  flex-shrink: 0;
  opacity: 0.5;
  transition: all var(--transition-base);
  filter: grayscale(100%);
}

.marquee-item:hover {
  opacity: 1;
  filter: grayscale(0%);
  transform: scale(1.1);
}

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

@keyframes marquee {
  0% {
    transform: translateX(0);
  }

  100% {
    transform: translateX(-50%);
  }
}

/* ============================================
   MASONRY GALLERY
   ============================================ */
.gallery {
  columns: 3;
  column-gap: var(--space-4);
}

.gallery-item {
  break-inside: avoid;
  margin-bottom: var(--space-4);
  position: relative;
  overflow: hidden;
  border-radius: var(--radius-lg);
  cursor: pointer;
}

.gallery-item img {
  width: 100%;
  transition: transform var(--transition-slow);
}

.gallery-item::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to top, rgba(0, 0, 0, 0.8) 0%, transparent 50%);
  opacity: 0;
  transition: opacity var(--transition-base);
}

.gallery-item:hover img {
  transform: scale(1.1);
}

.gallery-item:hover::after {
  opacity: 1;
}

.gallery-caption {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: var(--space-4);
  color: var(--color-white);
  transform: translateY(100%);
  transition: transform var(--transition-base);
  z-index: 1;
}

.gallery-item:hover .gallery-caption {
  transform: translateY(0);
}

/* ============================================
   BADGES
   ============================================ */
.badge {
  display: inline-block;
  padding: var(--space-1) var(--space-3);
  font-size: var(--text-xs);
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 0.05em;
  border-radius: var(--radius-full);
  background: var(--color-charcoal);
  color: var(--color-text-secondary);
}

.icon-badge {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  padding: 0;
  text-transform: none;
  letter-spacing: 0;
  color: var(--color-text-secondary);
  transition: color var(--transition-fast), background var(--transition-fast);
}

.icon-badge:hover {
  background: var(--color-red);
  color: var(--color-white);
}

.icon-badge svg {
  width: 22px;
  height: 22px;
  flex-shrink: 0;
}

.badge-primary {
  background: var(--gradient-red);
  color: var(--color-white);
}

.badge-platinum {
  background: linear-gradient(135deg, #e5e4e2 0%, #a8a8a8 100%);
  color: var(--color-black);
}

.badge-gold {
  background: linear-gradient(135deg, #ffd700 0%, #b8860b 100%);
  color: var(--color-black);
}

.badge-silver {
  background: linear-gradient(135deg, #c0c0c0 0%, #808080 100%);
  color: var(--color-black);
}

/* ============================================
   TOOLTIP
   ============================================ */
[data-tooltip] {
  position: relative;
}

[data-tooltip]::after {
  content: attr(data-tooltip);
  position: absolute;
  bottom: 100%;
  left: 50%;
  transform: translateX(-50%) translateY(-5px);
  padding: var(--space-2) var(--space-3);
  background: var(--color-charcoal-light);
  color: var(--color-white);
  font-size: var(--text-xs);
  white-space: nowrap;
  border-radius: var(--radius-sm);
  opacity: 0;
  visibility: hidden;
  transition: all var(--transition-fast);
  z-index: var(--z-tooltip);
}

[data-tooltip]:hover::after {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* ============================================
   FOOTER
   ============================================ */
.footer {
  background: var(--color-black-deep);
  border-top: 1px solid var(--color-charcoal);
  padding: var(--space-16) 0 var(--space-8);
}

.footer-grid {
  display: grid;
  grid-template-columns: 2fr repeat(3, 1fr);
  gap: var(--space-8);
  margin-bottom: var(--space-12);
}

.footer-brand p {
  color: var(--color-text-secondary);
  margin: var(--space-4) 0;
  max-width: 300px;
}

.footer-social {
  display: flex;
  gap: var(--space-3);
}

.footer-social a {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-full);
  background: var(--color-charcoal);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--transition-base);
}

.footer-social a:hover {
  background: var(--color-red);
  transform: translateY(-3px);
}

.footer-social svg {
  width: 18px;
  height: 18px;
  fill: var(--color-white);
}

.footer-column h4 {
  font-size: var(--text-sm);
  margin-bottom: var(--space-4);
  color: var(--color-white);
}

.footer-links li {
  margin-bottom: var(--space-2);
}

.footer-links a {
  color: var(--color-text-secondary);
  font-size: var(--text-sm);
}

.footer-links a:hover {
  color: var(--color-red);
}

.footer-bottom {
  text-align: center;
  padding-top: var(--space-8);
  border-top: 1px solid var(--color-charcoal);
  color: var(--color-text-muted);
  font-size: var(--text-sm);
}

/* ============================================
   UTILITY CLASSES
   ============================================ */
/* Display */
.hidden {
  display: none !important;
}

.block {
  display: block;
}

.inline-block {
  display: inline-block;
}

.flex {
  display: flex;
}

.inline-flex {
  display: inline-flex;
}

.grid {
  display: grid;
}

/* Flex */
.flex-col {
  flex-direction: column;
}

.flex-wrap {
  flex-wrap: wrap;
}

.items-center {
  align-items: center;
}

.items-start {
  align-items: flex-start;
}

.items-end {
  align-items: flex-end;
}

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

.justify-between {
  justify-content: space-between;
}

.justify-end {
  justify-content: flex-end;
}

.gap-1 {
  gap: var(--space-1);
}

.gap-2 {
  gap: var(--space-2);
}

.gap-3 {
  gap: var(--space-3);
}

.gap-4 {
  gap: var(--space-4);
}

.gap-6 {
  gap: var(--space-6);
}

.gap-8 {
  gap: var(--space-8);
}

/* Text */
.text-center {
  text-align: center;
}

.text-left {
  text-align: left;
}

.text-right {
  text-align: right;
}

.text-xs {
  font-size: var(--text-xs);
}

.text-sm {
  font-size: var(--text-sm);
}

.text-base {
  font-size: var(--text-base);
}

.text-lg {
  font-size: var(--text-lg);
}

.text-xl {
  font-size: var(--text-xl);
}

.text-2xl {
  font-size: var(--text-2xl);
}

.text-3xl {
  font-size: var(--text-3xl);
}

.text-4xl {
  font-size: var(--text-4xl);
}

.uppercase {
  text-transform: uppercase;
}

.font-bold {
  font-weight: 700;
}

.font-medium {
  font-weight: 500;
}

/* Colors */
.text-primary {
  color: var(--color-text-primary);
}

.text-secondary {
  color: var(--color-text-secondary);
}

.text-muted {
  color: var(--color-text-muted);
}

.text-red {
  color: var(--color-red);
}

.bg-black {
  background-color: var(--color-black);
}

.bg-charcoal {
  background-color: var(--color-charcoal);
}

/* Spacing */
.m-0 {
  margin: 0;
}

.mt-4 {
  margin-top: var(--space-4);
}

.mt-6 {
  margin-top: var(--space-6);
}

.mt-8 {
  margin-top: var(--space-8);
}

.mb-4 {
  margin-bottom: var(--space-4);
}

.mb-6 {
  margin-bottom: var(--space-6);
}

.mb-8 {
  margin-bottom: var(--space-8);
}

.mb-20 {
  margin-bottom: 5rem;
}

.mb-24 {
  margin-bottom: 6rem;
}

.p-4 {
  padding: var(--space-4);
}

.p-6 {
  padding: var(--space-6);
}

.p-8 {
  padding: var(--space-8);
}

/* Width/Height */
.w-full {
  width: 100%;
}

.object-cover {
  object-fit: cover;
}

.w-32 {
  width: 8rem;
}

.h-32 {
  height: 8rem;
}

.bg-gradient-red {
  background: var(--gradient-red);
}

.h-full {
  height: 100%;
}

.min-h-screen {
  min-height: 100vh;
}

/* Position */
.relative {
  position: relative;
}

.absolute {
  position: absolute;
}

.fixed {
  position: fixed;
}

.sticky {
  position: sticky;
}

.inset-0 {
  top: 0;
  right: 0;
  bottom: 0;
  left: 0;
}

/* Overflow */
.overflow-hidden {
  overflow: hidden;
}

.overflow-x-auto {
  overflow-x: auto;
}

/* Border */
.rounded {
  border-radius: var(--radius-md);
}

.rounded-lg {
  border-radius: var(--radius-lg);
}

.rounded-full {
  border-radius: var(--radius-full);
}

/* Shadow */
.shadow-glow {
  box-shadow: var(--shadow-glow);
}

/* Transition */
.transition {
  transition: all var(--transition-base);
}

/* Cursor */
.cursor-pointer {
  cursor: pointer;
}

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

/* ============================================
   THEME TOGGLE ICONS (REMOVED)
   ============================================ */

/* ============================================
   TACTICAL MAP STYLES
   ============================================ */
.tactical-map-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(255, 0, 0, 0.3);
  transition: all 0.3s ease;
}

.tactical-map-card:hover {
  border-color: var(--color-red);
  box-shadow: 0 0 20px rgba(255, 0, 0, 0.2);
  transform: translateY(-5px);
}

.tactical-grid {
  width: 100%;
  height: 250px;
  background-color: #0a0a0a;
  background-image:
    linear-gradient(rgba(0, 255, 255, 0.1) 1px, transparent 1px),
    linear-gradient(90deg, rgba(0, 255, 255, 0.1) 1px, transparent 1px);
  background-size: 30px 30px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}

.tactical-grid::after {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: radial-gradient(circle at center, transparent 30%, rgba(0, 0, 0, 0.8));
  pointer-events: none;
}

.map-pin {
  font-size: 40px;
  color: var(--color-red);
  filter: drop-shadow(0 0 10px var(--color-red));
  z-index: 2;
  animation: floatPin 2s infinite ease-in-out;
}

.map-pulse {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 20px;
  height: 20px;
  background: rgba(255, 0, 0, 0.5);
  border-radius: 50%;
  z-index: 1;
  animation: radarPulse 2s infinite;
}

.glitch-text {
  font-family: 'Courier New', monospace;
  letter-spacing: 2px;
  text-transform: uppercase;
  font-weight: bold;
  color: var(--color-secondary);
  transition: color 0.3s;
}

.tactical-map-card:hover .glitch-text {
  color: var(--color-red);
  text-shadow: 0 0 5px var(--color-red);
}

@keyframes radarPulse {
  0% {
    width: 20px;
    height: 20px;
    opacity: 0.8;
  }

  100% {
    width: 100px;
    height: 100px;
    opacity: 0;
  }
}

@keyframes floatPin {

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

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

/* ============================================
   GLOWING BORDER EFFECT
   ============================================ */
@property --glow-angle {
  syntax: "<angle>";
  initial-value: 0deg;
  inherits: false;
}

@keyframes glow-spin {
  to { --glow-angle: 360deg; }
}

.glow-border {
  position: relative;
  isolation: isolate;
}

.glow-border::before {
  content: '';
  position: absolute;
  inset: -1.5px;
  border-radius: inherit;
  background: conic-gradient(
    from var(--glow-angle),
    transparent 0deg,
    transparent 60deg,
    rgba(255, 79, 79, 0.85) 120deg,
    rgba(209, 50, 44, 0.6) 160deg,
    rgba(243, 142, 74, 0.5) 200deg,
    transparent 260deg,
    transparent 360deg
  );
  z-index: -1;
  opacity: 0;
  transition: opacity 0.4s ease;
  animation: glow-spin 4s linear infinite paused;
}

.glow-border:hover::before {
  opacity: 1;
  animation-play-state: running;
}

/* Inner cutout to show only the border */
.glow-border::after {
  content: '';
  position: absolute;
  inset: 1.5px;
  border-radius: inherit;
  background: var(--gradient-card);
  z-index: -1;
}

/* For glass cards override the after background */
.card-glass.glow-border::after {
  background: rgba(20, 20, 20, 0.6);
}

/* Sponsor cards use #0a0a0a background */
.sponsor-card.glow-border::after {
  background: #0a0a0a;
}

/* Skip link for accessibility */
.skip-link {
  position: absolute;
  left: -999px;
  top: 8px;
  background: #fff;
  color: #222;
  padding: 8px 16px;
  z-index: 1000;
  border-radius: 4px;
  font-weight: bold;
  transition: left 0.2s;
}
.skip-link:focus {
  left: 16px;
  outline: 2px solid #d1462c;
}

/* Enhanced focus styles for accessibility */
a:focus-visible, button:focus-visible, input:focus-visible, select:focus-visible, textarea:focus-visible {
  outline: 2.5px solid #ff4f4f;
  outline-offset: 2px;
  box-shadow: 0 0 0 3px rgba(255,79,79,0.15);
}

/* ============================================
   PREMIUM MICRO-POLISH (subtle-only layer)
   Adds ambient shapes, softer shading, and responsive hover/speed tweaks
   without altering core layout or content.
   ============================================ */
body {
  position: relative;
}

body::before,
body::after {
  content: '';
  position: fixed;
  pointer-events: none;
  width: 38vw;
  aspect-ratio: 1 / 1;
  filter: blur(90px);
  opacity: 0.45;
  mix-blend-mode: screen;
  z-index: 0;
}

body::before {
  top: -20%;
  left: -12%;
  background: radial-gradient(circle, rgba(239, 68, 68, 0.18), rgba(239, 68, 68, 0) 62%);
}

body::after {
  right: -12%;
  bottom: -18%;
  background: radial-gradient(circle, rgba(255, 255, 255, 0.14), rgba(255, 255, 255, 0) 60%);
}

.section {
  position: relative;
  z-index: 1;
}

.section::before {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.035), transparent 22%, transparent 78%, rgba(255, 255, 255, 0.025));
  pointer-events: none;
  opacity: 0.6;
}

.nav {
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.45);
}

.nav::after {
  content: '';
  position: absolute;
  left: 10%;
  right: 10%;
  bottom: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.16), transparent);
  opacity: 0.75;
  pointer-events: none;
}

.nav-link {
  transition: color var(--transition-fast), text-shadow var(--transition-base);
}

.nav-link:hover,
.nav-link:focus-visible {
  color: var(--color-white);
  text-shadow: 0 0 12px rgba(239, 68, 68, 0.35);
}

.btn {
  transition: transform 200ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 240ms ease, background 200ms ease;
}

.btn:active {
  transform: translateY(0);
  filter: brightness(1.02);
}

.btn-primary:hover {
  box-shadow: 0 18px 45px rgba(239, 68, 68, 0.35);
}

.btn-secondary:hover {
  box-shadow: 0 10px 24px rgba(239, 68, 68, 0.25);
}

.hover-lift {
  transition: transform 220ms cubic-bezier(0.22, 1, 0.36, 1), box-shadow 260ms ease, border-color 220ms ease;
}

.hover-lift:hover {
  transform: translateY(-6px) scale(1.01);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.45), 0 0 18px rgba(239, 68, 68, 0.18);
}

.hover-lift:active {
  transform: translateY(-2px);
}

.card,
.card-glass,
.sponsor-card {
  position: relative;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.03), 0 10px 30px rgba(0, 0, 0, 0.35);
  background-blend-mode: screen;
}

.card-image img,
.sponsor-logo-wrap img {
  transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1), filter 0.4s ease;
}

.hover-lift:hover .card-image img,
.sponsor-card:hover img {
  transform: scale(1.03);
  filter: saturate(1.08);
}

.counter-wrapper {
  position: relative;
  padding: var(--space-5);
  border-radius: var(--radius-lg);
  background: linear-gradient(145deg, rgba(239, 68, 68, 0.08), rgba(255, 255, 255, 0.02));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, 0.04);
  transition: transform 220ms ease, box-shadow 240ms ease, background 220ms ease;
}

.counter-wrapper::after {
  content: '';
  position: absolute;
  inset: 6px;
  border-radius: inherit;
  border: 1px dashed rgba(255, 255, 255, 0.05);
  pointer-events: none;
  opacity: 0;
  transition: opacity 220ms ease;
}

.counter-wrapper:hover {
  transform: translateY(-4px) scale(1.01);
  box-shadow: 0 12px 30px rgba(239, 68, 68, 0.18);
}

.counter-wrapper:hover::after {
  opacity: 1;
}

.timeline-item {
  position: relative;
}

.timeline-item::after {
  content: '';
  position: absolute;
  left: -8px;
  top: 12px;
  width: 2px;
  height: calc(100% - 12px);
  background: linear-gradient(180deg, rgba(239, 68, 68, 0.5), rgba(239, 68, 68, 0));
  opacity: 0.4;
  pointer-events: none;
}

.timeline-item:hover .timeline-date {
  color: var(--color-white);
  text-shadow: 0 0 10px rgba(239, 68, 68, 0.35);
}

.form-input,
select.form-input,
textarea.form-input {
  transition: border-color 200ms ease, box-shadow 220ms ease, background-color 200ms ease;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.02), rgba(255, 255, 255, 0));
}

.form-input:focus,
select.form-input:focus,
textarea.form-input:focus {
  box-shadow: 0 0 0 6px rgba(239, 68, 68, 0.08);
  border-color: var(--color-neon-red);
}

.footer {
  position: relative;
}

.footer::before {
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 15% 30%, rgba(239, 68, 68, 0.08), transparent 50%);
  pointer-events: none;
  opacity: 0.8;
}
