/* =====================
   Site Footer with PNG Icon Toggle
   ===================== */

.site-footer {
  /* Clean professional foundation */
  background: linear-gradient(145deg, rgba(8, 16, 32, 0.95) 0%, rgba(12, 20, 36, 0.92) 50%, rgba(8, 16, 32, 0.95) 100%);
  border: none;
  flex-shrink: 0;
  margin-top: auto;
  padding: 0; /* Remove all padding to eliminate top section */
  color: var(--text-light);
  width: 100%;
  box-sizing: border-box;
  position: relative;
  z-index: 10;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  box-shadow: none; /* Remove box-shadow that creates unwanted visual elements */
}

/* Collapsed footer state - Ultra Compact */
.site-footer.collapsed {
  padding: 0;
  overflow: visible;
  min-height: auto;
  height: auto !important;
}

.site-footer.collapsed .footer-header {
  padding: 10px 28px;
  min-height: 42px;
  display: flex !important;
  align-items: center;
  justify-content: center;
  background: rgba(8, 16, 32, 0.7) !important;
  backdrop-filter: blur(16px) saturate(1.1) !important;
  border-radius: 0 !important;
  border: none !important; /* Remove border to match expanded state */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.05) !important;
}

.site-footer.collapsed .footer-content,
.site-footer.collapsed .footer-bottom {
  opacity: 0 !important;
  transform: translateY(-20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  height: 0 !important;
  margin: 0 !important;
  padding: 0 !important;
  overflow: hidden;
  display: none !important;
}

/* Expanded footer content animations */
.site-footer:not(.collapsed) .footer-content,
.site-footer:not(.collapsed) .footer-bottom {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

/* Footer Header Bar - Professional Glass Morphism Style */
.footer-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 12px 32px;
  cursor: pointer;
  user-select: none;
  transition: all 0.28s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(8, 16, 32, 0.65);
  backdrop-filter: blur(16px) saturate(1.2);
  border: none; /* Remove all borders to eliminate edge artifacts */
  border-radius: 0;
  min-height: 36px;
  position: relative;
  overflow: visible;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.06);
}

/* Disable legacy center rail when collapsed; allow expanded to draw endcaps */
.site-footer.collapsed .footer-header::before { content: none; }

.footer-header:hover {
  background: rgba(12, 20, 38, 0.75);
  backdrop-filter: blur(20px) saturate(1.3);
  transform: translateY(-0.5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.2), 0 2px 6px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.08);
}


/* Remove light-theme side seams to avoid vertical lines */
/* (Intentionally left empty) */

/* Beveled endcaps to echo forged fantasy UI */
.site-footer:not(.collapsed) .footer-header::before,
.site-footer:not(.collapsed) .footer-header::after {
  content: '';
  position: absolute;
  top: 50%;
  width: 46px;
  height: 12px;
  transform: translateY(-50%);
  pointer-events: none;
  z-index: 1;
  /* vertical metal highlight + horizontal darker edges */
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.08) 45%, rgba(0, 0, 0, 0.55) 100%), linear-gradient(90deg, rgba(0, 0, 0, 0.50) 0%, rgba(59, 130, 246, 0.12) 50%, rgba(0, 0, 0, 0.50) 100%);
  /* outer drop shadow + crisp inner edges */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.35), inset 0 1px 0 rgba(255, 255, 255, 0.25), inset 0 -1px 0 rgba(0, 0, 0, 0.6), inset 1px 0 0 rgba(0, 0, 0, 0.5), inset -1px 0 0 rgba(0, 0, 0, 0.5);
  clip-path: polygon(0 50%, 60% 0, 100% 0, 100% 100%, 60% 100%);
  opacity: 0.95;
}

.site-footer:not(.collapsed) .footer-header::before {
  left: -20px; /* sticks out to the left */
  transform: translate(-100%, -50%) scaleX(-1); /* mirror left side */
}

.site-footer:not(.collapsed) .footer-header::after {
  right: -20px; /* sticks out to the right */
}

/* Light theme bevel tuning */
.light-theme .site-footer:not(.collapsed) .footer-header::before,
.light-theme .site-footer:not(.collapsed) .footer-header::after {
  background: linear-gradient(180deg, rgba(255, 255, 255, 0.7) 0%, rgba(255, 255, 255, 0.45) 45%, rgba(0, 0, 0, 0.08) 100%), linear-gradient(90deg, rgba(59, 130, 246, 0.10) 0%, rgba(99, 179, 237, 0.12) 50%, rgba(59, 130, 246, 0.10) 100%);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Professional Footer Pill - Dark Theme */
.footer-orb {
  width: 58px;
  height: 15px;
  /* Enhanced glass morphism base */
  background-color: rgba(15, 25, 45, 0.85);
  background-image: linear-gradient(90deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 179, 237, 0.18) 50%, rgba(59, 130, 246, 0.12) 100%);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 9999px;
  cursor: pointer;
  transition: all 0.24s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: visible;
  backdrop-filter: blur(12px) saturate(1.1);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 8px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  animation: pillBreath 4s ease-in-out infinite;
  color: rgba(241, 245, 249, 0.9); /* used by the dot indicator */
  z-index: 1; /* keep pill above the rail */
}

/* Professional glass highlight */
.footer-orb::before {
  content: '';
  position: absolute;
  top: 2px;
  left: 8px;
  width: 18px;
  height: 1.5px;
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.45) 50%,
    transparent 100%);
  border-radius: 0.75px;
  opacity: 0.8;
}

/* Professional three dots inside the pill */
.footer-orb::after {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  width: 2.5px;
  height: 2.5px;
  transform: translate(-50%, -50%);
  border-radius: 50%;
  background: currentColor;
  box-shadow: -6px 0 0 currentColor, 6px 0 0 currentColor;
  opacity: 0.9;
  transition: opacity 0.3s ease, transform 0.3s ease;
}

/* Subtle breathing animation for the pill */
@keyframes pillBreath {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 8px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.15);
  }
  50% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 12px rgba(59, 130, 246, 0.12), inset 0 1px 0 rgba(255, 255, 255, 0.18);
  }
}

/* Professional light theme header */
.light-theme .footer-header {
  background: rgba(248, 250, 252, 0.75);
  backdrop-filter: blur(16px) saturate(1.1);
  border: none; /* Remove border for seamless look */
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.05), 0 1px 3px rgba(0, 0, 0, 0.03), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

.light-theme .footer-header:hover {
  background: rgba(241, 245, 249, 0.85);
  backdrop-filter: blur(20px) saturate(1.2);
  transform: translateY(-0.5px);
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

/* Light theme pill enhancement */
.light-theme .footer-orb { 
  color: rgba(51, 65, 85, 0.9);
  background-color: rgba(255, 255, 255, 0.9);
  background-image: linear-gradient(90deg, rgba(59, 130, 246, 0.08) 0%, rgba(99, 179, 237, 0.12) 50%, rgba(59, 130, 246, 0.08) 100%);
  border: 1px solid rgba(148, 163, 184, 0.25);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 8px rgba(59, 130, 246, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
  animation: pillBreathLight 4s ease-in-out infinite;
}

/* Light theme breathing animation */
@keyframes pillBreathLight {
  0%, 100% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 8px rgba(59, 130, 246, 0.06), inset 0 1px 0 rgba(255, 255, 255, 1);
  }
  50% {
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.06), 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 12px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 1);
  }
}

/* Subtle glass morphism pulse animation */
@keyframes footerPulse {
  0%, 100% {
    box-shadow: 
      0 4px 12px rgba(0, 0, 0, 0.15),
      0 2px 6px rgba(0, 0, 0, 0.1),
      0 0 16px rgba(0, 255, 204, 0.1),
      inset 0 1px 0 rgba(255, 255, 255, 0.1);
    border-color: var(--glass-border);
  }
  50% {
    box-shadow: 
      0 6px 16px rgba(0, 0, 0, 0.2),
      0 3px 8px rgba(0, 0, 0, 0.15),
      0 0 24px rgba(0, 255, 204, 0.2),
      inset 0 1px 0 rgba(255, 255, 255, 0.15);
    border-color: rgba(0, 255, 204, 0.5);
  }
}

@keyframes keyholeIntense {
  0%, 100% {
    box-shadow: inset 4px 4px 16px rgba(0, 0, 0, 1.0), inset -3px -3px 12px rgba(0, 255, 221, 0.4), inset 0 0 25px rgba(0, 0, 0, 0.9), 0 0 25px rgba(0, 255, 221, 1.0), 0 0 50px rgba(0, 200, 255, 0.7), 0 0 75px rgba(0, 255, 153, 0.5), 0 0 100px rgba(0, 180, 200, 0.3);
    filter: brightness(1.2) contrast(1.4);
  }
  50% {
    box-shadow: inset 6px 6px 20px rgba(0, 0, 0, 1.0), inset -4px -4px 16px rgba(0, 255, 238, 0.5), inset 0 0 30px rgba(0, 0, 0, 0.95), 0 0 35px rgba(0, 255, 238, 1.0), 0 0 70px rgba(0, 220, 255, 0.8), 0 0 105px rgba(0, 255, 170, 0.6), 0 0 140px rgba(0, 200, 220, 0.4);
    filter: brightness(1.3) contrast(1.5);
  }
}

/* Unused animations removed - now using glass morphism design */

.footer-header:hover .footer-orb {
  /* Professional enhanced glass morphism */
  background-color: rgba(20, 30, 55, 0.9);
  background-image: linear-gradient(90deg, rgba(59, 130, 246, 0.18) 0%, rgba(99, 179, 237, 0.25) 50%, rgba(59, 130, 246, 0.18) 100%);
  border-color: rgba(255, 255, 255, 0.18);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25), 0 2px 6px rgba(0, 0, 0, 0.1), 0 0 12px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.25);
  transform: none;
  animation: none; /* Pause breathing on hover */
}

.footer-header:hover .footer-orb::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

.light-theme .footer-header:hover .footer-orb {
  background-color: rgba(255, 255, 255, 0.95);
  background-image: linear-gradient(90deg, rgba(59, 130, 246, 0.12) 0%, rgba(99, 179, 237, 0.18) 50%, rgba(59, 130, 246, 0.12) 100%);
  border-color: rgba(148, 163, 184, 0.35);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.04), 0 0 12px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 1);
  animation: none; /* Pause breathing on hover */
}

.light-theme .footer-header:hover .footer-orb::after {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1.1);
}

/* Professional keyboard accessibility */
.footer-orb:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.7);
  outline-offset: 2px;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15), 0 1px 3px rgba(0, 0, 0, 0.08), 0 0 0 3px rgba(59, 130, 246, 0.2), inset 0 1px 0 rgba(255, 255, 255, 0.15);
}

.light-theme .footer-orb:focus-visible {
  outline: 2px solid rgba(59, 130, 246, 0.8);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), 0 1px 3px rgba(0, 0, 0, 0.04), 0 0 0 3px rgba(59, 130, 246, 0.15), inset 0 1px 0 rgba(255, 255, 255, 1);
}

.footer-orb:hover::before {
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(255, 255, 255, 0.5) 50%,
    transparent 100%);
  opacity: 0.8;
}

.footer-orb:hover::after {
  background: linear-gradient(90deg, 
    transparent 0%,
    rgba(0, 255, 204, 0.6) 50%,
    transparent 100%);
  opacity: 0.7;
}

/* Unified hover animation for dark theme */
@keyframes keyholeUnified {
  0%, 100% {
    background: linear-gradient(135deg, rgba(0, 255, 221, 1.0) 0%, rgba(0, 220, 200, 0.8) 25%, transparent 45%), linear-gradient(45deg, rgba(0, 200, 255, 0.9) 0%, rgba(0, 170, 240, 0.7) 30%, transparent 65%), linear-gradient(-45deg, rgba(0, 255, 153, 0.9) 0%, rgba(0, 220, 120, 0.7) 35%, transparent 70%), linear-gradient(90deg, rgba(0, 240, 220, 0.8) 0%, rgba(0, 200, 180, 0.6) 45%, transparent 90%), radial-gradient(ellipse at 35% 25%, rgba(0, 0, 0, 1.0) 0%, rgba(0, 10, 20, 0.95) 15%, rgba(0, 20, 40, 0.9) 35%, rgba(0, 0, 0, 0.95) 65%, rgba(0, 100, 150, 0.9) 100%);
    box-shadow: inset 4px 4px 16px rgba(0, 0, 0, 1.0), inset -3px -3px 12px rgba(0, 255, 221, 0.5), inset 0 0 25px rgba(0, 0, 0, 0.9), 0 0 30px rgba(0, 255, 221, 1.0), 0 0 60px rgba(0, 200, 255, 0.8), 0 0 90px rgba(0, 255, 153, 0.6);
  }
  50% {
    background: linear-gradient(135deg, rgba(0, 255, 221, 1.2) 0%, rgba(0, 240, 220, 0.9) 25%, transparent 45%), linear-gradient(45deg, rgba(0, 180, 255, 1.0) 0%, rgba(0, 150, 230, 0.8) 30%, transparent 65%), linear-gradient(-45deg, rgba(0, 255, 170, 1.0) 0%, rgba(0, 240, 140, 0.8) 35%, transparent 70%), linear-gradient(90deg, rgba(0, 255, 240, 0.9) 0%, rgba(0, 220, 200, 0.7) 45%, transparent 90%), radial-gradient(ellipse at 35% 25%, rgba(0, 0, 0, 1.0) 0%, rgba(0, 15, 25, 0.98) 15%, rgba(0, 25, 45, 0.95) 35%, rgba(0, 0, 0, 0.98) 65%, rgba(0, 120, 170, 0.95) 100%);
    box-shadow: inset 4px 4px 16px rgba(0, 0, 0, 1.0), inset -3px -3px 12px rgba(0, 255, 221, 0.6), inset 0 0 25px rgba(0, 0, 0, 0.9), 0 0 40px rgba(0, 255, 221, 1.0), 0 0 80px rgba(0, 200, 255, 0.9), 0 0 120px rgba(0, 255, 153, 0.7);
  }
}

/* Intense arcane hover animations */
@keyframes arcaneIntense {
  0%, 100% {
    box-shadow: inset 0 0 20px rgba(220, 240, 255, 0.6), inset 4px 4px 12px rgba(240, 250, 255, 0.5), inset -4px -4px 12px rgba(60, 80, 180, 0.8), 0 0 30px rgba(140, 200, 255, 1.0), 0 0 60px rgba(100, 160, 255, 0.9), 0 0 90px rgba(80, 120, 255, 0.7), 0 0 120px rgba(60, 80, 200, 0.5);
    filter: brightness(1.2);
  }
  50% {
    box-shadow: inset 0 0 30px rgba(240, 250, 255, 0.8), inset 6px 6px 16px rgba(255, 255, 255, 0.6), inset -6px -6px 16px rgba(60, 80, 180, 1.0), 0 0 40px rgba(180, 220, 255, 1.0), 0 0 80px rgba(140, 180, 255, 0.95), 0 0 120px rgba(100, 140, 255, 0.8), 0 0 160px rgba(80, 100, 220, 0.6);
    filter: brightness(1.4);
  }
}

/* Additional unused animations removed */



/* Hotkey hint styling */
.footer-header .hotkey-hint {
  font-size: 0.7rem;
  color: rgba(0, 255, 204, 0.8);
  background: rgba(0, 20, 30, 0.8);
  padding: 2px 6px;
  border-radius: 4px;
  border: 1px solid rgba(0, 255, 204, 0.2);
  white-space: nowrap;
  pointer-events: none;
  opacity: 0.8;
}

.footer-header .hotkey-hint kbd {
  background: rgba(0, 255, 204, 0.1);
  border: 1px solid rgba(0, 255, 204, 0.3);
  border-radius: 3px;
  padding: 1px 4px;
  font-size: 0.65rem;
  margin: 0 1px;
  color: rgba(0, 255, 204, 0.9);
}

/* Light theme styles */
.light-theme .footer-header {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(96, 165, 250, 0.04) 30%, rgba(147, 197, 253, 0.03) 60%, rgba(59, 130, 246, 0.06) 100%);
  border-image: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.25) 25%, rgba(96, 165, 250, 0.3) 50%, rgba(59, 130, 246, 0.25) 75%, transparent 100%) 1;
}

.light-theme .footer-header:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(96, 165, 250, 0.08) 30%, rgba(147, 197, 253, 0.06) 60%, rgba(59, 130, 246, 0.12) 100%);
  border-image: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.4) 25%, rgba(96, 165, 250, 0.5) 50%, rgba(59, 130, 246, 0.4) 75%, transparent 100%) 1;
  transform: translateY(-0.5px);
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(59, 130, 246, 0.08), 0 0 12px rgba(96, 165, 250, 0.1);
}

.light-theme .footer-header .hotkey-hint {
  color: rgba(59, 130, 246, 0.8);
  background: rgba(248, 250, 252, 0.9);
  border: 1px solid rgba(59, 130, 246, 0.2);
}

.light-theme .footer-header .hotkey-hint kbd {
  background: rgba(59, 130, 246, 0.1);
  border: 1px solid rgba(59, 130, 246, 0.3);
  color: rgba(59, 130, 246, 0.9);
}

/* Light theme collapsed footer header */
.light-theme .site-footer.collapsed .footer-header {
  background: rgba(248, 250, 252, 0.95) !important;
  border-top: none !important;
}

/* Light theme glass morphism - Warm tones */
.light-theme .footer-orb {
  /* Light glass morphism base */
  background-color: rgba(248, 250, 252, 0.7);
  background-image: linear-gradient(90deg, rgba(255, 193, 7, 0.1) 0%, rgba(30, 144, 255, 0.15) 50%, rgba(255, 193, 7, 0.1) 100%);
  border: 1px solid rgba(203, 213, 224, 0.6);
  backdrop-filter: blur(8px);
  /* Light glass shadows + Subtle warm glow + Inner highlight */
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.08), 0 2px 6px rgba(0, 0, 0, 0.05), 0 0 16px rgba(255, 193, 7, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.light-theme .footer-header:hover .footer-orb {
  /* Enhanced light glass */
  background-color: rgba(255, 255, 255, 0.85);
  background-image: linear-gradient(90deg, rgba(255, 193, 7, 0.2) 0%, rgba(30, 144, 255, 0.25) 50%, rgba(255, 193, 7, 0.2) 100%);
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 8px 20px rgba(0, 0, 0, 0.12), 0 4px 10px rgba(0, 0, 0, 0.08), 0 0 24px rgba(255, 193, 7, 0.2), 0 0 40px rgba(30, 144, 255, 0.15), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  transform: translateY(-1px);
}

/* Unified keyhole animation for light theme */
@keyframes keyholeUnifiedGold {
  0%, 100% {
    background: linear-gradient(135deg, rgba(255, 235, 59, 1.0) 0%, rgba(0, 191, 255, 0.8) 25%, transparent 45%), linear-gradient(45deg, rgba(70, 130, 180, 0.9) 0%, rgba(255, 193, 7, 0.7) 30%, transparent 65%), linear-gradient(-45deg, rgba(255, 245, 157, 0.95) 0%, rgba(30, 144, 255, 0.75) 35%, transparent 70%), linear-gradient(90deg, rgba(0, 191, 255, 0.8) 0%, rgba(255, 215, 0, 0.6) 45%, transparent 90%), radial-gradient(ellipse at 35% 25%, rgba(101, 67, 33, 1.0) 0%, rgba(139, 69, 19, 0.9) 15%, rgba(184, 134, 11, 0.8) 35%, rgba(255, 215, 0, 0.9) 65%, rgba(30, 144, 255, 0.95) 100%);
    box-shadow: inset 4px 4px 16px rgba(101, 67, 33, 1.0), inset -3px -3px 12px rgba(255, 215, 0, 0.6), inset 0 0 20px rgba(139, 69, 19, 0.8), 0 0 30px rgba(255, 215, 0, 1.0), 0 0 60px rgba(30, 144, 255, 0.8), 0 0 90px rgba(65, 105, 225, 0.6);
  }
  50% {
    background: linear-gradient(135deg, rgba(255, 245, 157, 1.2) 0%, rgba(0, 206, 255, 0.9) 25%, transparent 45%), linear-gradient(45deg, rgba(65, 105, 225, 1.0) 0%, rgba(255, 215, 0, 0.8) 30%, transparent 65%), linear-gradient(-45deg, rgba(255, 255, 224, 1.0) 0%, rgba(30, 144, 255, 0.8) 35%, transparent 70%), linear-gradient(90deg, rgba(0, 206, 255, 0.9) 0%, rgba(255, 235, 59, 0.7) 45%, transparent 90%), radial-gradient(ellipse at 35% 25%, rgba(83, 53, 10, 1.0) 0%, rgba(139, 69, 19, 0.98) 15%, rgba(205, 158, 25, 0.9) 35%, rgba(255, 235, 59, 0.95) 65%, rgba(0, 191, 255, 1.0) 100%);
    box-shadow: inset 4px 4px 16px rgba(83, 53, 10, 1.0), inset -3px -3px 12px rgba(255, 235, 59, 0.7), inset 0 0 20px rgba(139, 69, 19, 0.9), 0 0 40px rgba(255, 235, 59, 1.0), 0 0 80px rgba(0, 191, 255, 0.9), 0 0 120px rgba(65, 105, 225, 0.7);
  }
}

/* Gold & Blue prismatic animation for light theme */
@keyframes prismaticIntenseGoldBlue {
  0%, 100% {
    box-shadow: inset 3px 3px 12px rgba(255, 255, 224, 0.6), inset -3px -3px 12px rgba(0, 0, 139, 0.9), inset 0 0 18px rgba(255, 235, 59, 0.8), 0 0 25px rgba(255, 235, 59, 1.0), 0 0 50px rgba(30, 144, 255, 0.7), 0 0 75px rgba(255, 215, 0, 0.5), 0 0 100px rgba(65, 105, 225, 0.3);
    filter: brightness(1.3) hue-rotate(0deg);
  }
  50% {
    box-shadow: inset 4px 4px 16px rgba(255, 255, 255, 0.8), inset -4px -4px 16px rgba(25, 25, 112, 1.0), inset 0 0 24px rgba(255, 245, 157, 0.9), 0 0 35px rgba(0, 191, 255, 1.0), 0 0 70px rgba(255, 215, 0, 0.8), 0 0 105px rgba(70, 130, 180, 0.6), 0 0 140px rgba(255, 193, 7, 0.4);
    filter: brightness(1.5) hue-rotate(10deg);
  }
}

/* Footer Content Layout */
.footer-content {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
  gap: 0.75rem;
  margin-bottom: 0.4rem;
}

.footer-section {
  color: rgba(255, 255, 255, 0.8);
}

.footer-section h3 {
  color: rgba(0, 255, 255, 0.9);
  font-size: 0.95rem;
  font-weight: 600;
  margin-bottom: 0.5rem;
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.3);
}

.footer-section p {
  margin-bottom: 0.25rem;
  line-height: 1.4;
  font-size: 0.85rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 0;
}

.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 0.25rem;
  padding: 0.1rem 0.2rem;
  color: rgba(0, 255, 255, 0.9);
  text-decoration: none;
  transition: all 0.25s ease;
  position: relative;
  border-radius: 4px;
  font-size: 0.8rem;
}

.footer-links a::before {
  content: '';
  display: inline-block;
  width: 18px;
  height: 18px;
  background-size: 14px 14px; /* normalized visible size */
  background-repeat: no-repeat;
  background-position: center;
  flex-shrink: 0;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 4px;
  background-color: rgba(255, 255, 255, 0.02);
}

/* W3Champions */
.footer-links a[href*="w3champions"]::before {
  background-image: url('/images/link_logos/w3champions.ico');
}

/* Warcraft3.info - News/Info icon */
.footer-links a[href*="warcraft3.info"]::before {
  background-image: url('/images/link_logos/warcraft3info.png');
}

/* Back2Warcraft - Community icon */
.footer-links a[href*="back2warcraft"]::before {
  background-image: url('/images/link_logos/back2warcraft.ico');
}

/* Hive Workshop - Gear/Tool icon */
.footer-links a[href*="hiveworkshop"]::before {
  background-image: url('/images/link_logos/hiveworkshop.png');
}

.footer-links a:hover {
  color: rgba(0, 255, 255, 1);
  text-shadow: 0 0 8px rgba(0, 255, 255, 0.5);
  background: rgba(0, 255, 255, 0.08);
  transform: translateX(4px);
}

.footer-links a:hover::before {
  filter: brightness(1.2);
}

.footer-bottom {
  text-align: center;
  padding: 0.15rem 0;
  margin-top: 0.15rem;
  border-top: 1px solid rgba(0, 255, 255, 0.15);
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
}

.footer-bottom p {
  margin: 0;
  line-height: 1.3;
}

.coffee-link {
  display: inline-block;
  transition: transform 0.2s ease;
}

.coffee-link:hover {
  transform: scale(1.05);
}

.site-footer.collapsed .footer-content,
.site-footer.collapsed .footer-bottom {
  opacity: 0;
  transform: translateY(-20px);
  transition: opacity 0.2s ease, transform 0.2s ease;
  pointer-events: none;
  height: 0;
  margin: 0;
  padding: 0;
  overflow: hidden;
}

/* Expanded footer content animations */
.site-footer:not(.collapsed) .footer-content,
.site-footer:not(.collapsed) .footer-bottom {
  opacity: 1;
  transform: translateY(0);
  transition: opacity 0.4s ease 0.1s, transform 0.4s ease 0.1s;
}

/* Compact Footer Header Bar - Fantasy Style */
.footer-header {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 6px 24px;
  cursor: pointer;
  user-select: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(10, 18, 35, 0.5);
  backdrop-filter: blur(12px);
  border: 1px solid var(--glass-border);
  border-bottom: none;
  border-image: none;
  min-height: 32px;
  position: relative;
  overflow: visible;
  box-shadow: 
    0 1px 4px rgba(0, 0, 0, 0.1),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
}

/* Center rail behind the pill, spanning the footer width (override older overlay) */
/* removed legacy rule to allow endcaps */

/* No animated sweep on hover for cleaner look */
.footer-header:hover::before { left: 50%; transform: translate(-50%, -50%); }

.footer-header:hover {
  background: rgba(10, 18, 35, 0.55);
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.12);
}

/* Rune toggle indicator removed - using crystal only */

/* Arrow removed - cleaner design */

.footer-content {
  padding: 14px 24px 16px 24px;
  background: rgba(0, 0, 0, 0.02);
  border-top: 1px solid rgba(255, 255, 255, 0.05);
}

/* Professional Footer Hotkey Hint Styling */
.footer-header .hotkey-hint {
  position: absolute;
  left: 50%;
  bottom: 100%;
  transform: translateX(-50%);
  margin-bottom: 8px;
  font-size: 11px;
  color: rgba(255, 255, 255, 0.95);
  opacity: 0;
  visibility: hidden;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 10000;
  pointer-events: none;
  background: rgba(0, 0, 0, 0.9);
  padding: 6px 10px;
  border-radius: 4px;
  font-weight: 500;
  white-space: nowrap;
  backdrop-filter: blur(8px);
  border: none;
  border-top: 1px solid var(--glass-border);
  box-shadow:
    0 4px 12px rgba(0, 0, 0, 0.3),
    0 0 0 1px rgba(255, 255, 255, 0.05);
}

/* Collapsed footer hotkey positioning - now handled by relative positioning */

/* Arrow pointing down to footer */
.footer-header .hotkey-hint::before {
  content: '';
  position: absolute;
  top: 100%;
  left: 50%;
  transform: translateX(-50%);
  width: 0;
  height: 0;
  border-left: 4px solid transparent;
  border-right: 4px solid transparent;
  border-top: 4px solid rgba(0, 0, 0, 0.9);
}

.footer-header:hover .hotkey-hint {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(-2px);
}

.footer-header .hotkey-hint kbd {
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  border-radius: 3px;
  padding: 2px 4px;
  font-size: 10px;
  font-family: 'Segoe UI', monospace;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.9);
  margin: 0 1px;
}

/* Light Theme Professional Styling */
.light-theme .footer-header {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.08) 0%, rgba(0, 120, 215, 0.05) 30%, rgba(37, 99, 235, 0.04) 60%, rgba(59, 130, 246, 0.08) 100%);
  border-image: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.3) 25%, rgba(0, 120, 215, 0.4) 50%, rgba(59, 130, 246, 0.3) 75%, transparent 100%) 1;
  box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.6);
}

.light-theme .footer-header::before {
  background: linear-gradient(90deg,
    transparent 0%,
    rgba(59, 130, 246, 0.1) 50%,
    transparent 100%);
}

.light-theme .footer-header:hover {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.12) 0%, rgba(0, 120, 215, 0.08) 30%, rgba(37, 99, 235, 0.06) 60%, rgba(59, 130, 246, 0.12) 100%);
  border-image: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.6) 25%, rgba(0, 120, 215, 0.7) 50%, rgba(59, 130, 246, 0.6) 75%, transparent 100%) 1;
  box-shadow: 0 4px 16px rgba(0, 0, 0, 0.12), 0 0 12px rgba(59, 130, 246, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
}

/* Light theme toggle indicator styles removed - using crystal only */

/* Light theme collapsed state */
.light-theme.site-footer.collapsed .footer-header {
  background: linear-gradient(135deg, rgba(59, 130, 246, 0.06) 0%, rgba(0, 120, 215, 0.03) 50%, rgba(59, 130, 246, 0.06) 100%);
  border-image: linear-gradient(90deg, transparent 0%, rgba(59, 130, 246, 0.15) 25%, rgba(0, 120, 215, 0.2) 50%, rgba(59, 130, 246, 0.15) 75%, transparent 100%) 1;
}

.light-theme .footer-header .hotkey-hint {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(248, 250, 252, 0.98) 100%);
  color: var(--text-dark);
  border: 1px solid rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.15), 0 0 16px rgba(59, 130, 246, 0.08), inset 0 1px 0 rgba(255, 255, 255, 0.9);
}

.light-theme .footer-header .hotkey-hint::after {
  border-top-color: rgba(255, 255, 255, 0.98);
}

.light-theme .footer-header .hotkey-hint kbd {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.08) 0%, rgba(0, 0, 0, 0.04) 100%);
  border: 1px solid rgba(0, 0, 0, 0.15);
  color: rgba(0, 0, 0, 0.85);
  box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1), inset 0 1px 0 rgba(255, 255, 255, 0.8);
  text-shadow: none;
}

/* Remove decorative glow line for cleaner design */
.site-footer::before {
  display: none;
}

/* Hover effects removed for cleaner appearance */

.footer-content {
  max-width: 1400px;
  margin: 0 auto;
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
  gap: 20px;
  width: 100%;
  box-sizing: border-box;
}

/* Responsive Design */
@media (max-width: 768px) {
  .site-footer {
    padding: 0; /* Keep clean approach on mobile */
  }
  
  .footer-header {
    padding: 4px 16px;
    min-height: 28px;
  }
  
  .footer-toggle-indicator {
    width: 24px;
    height: 24px;
    padding: 3px 8px;
  }
  
  .footer-toggle-indicator::before {
    font-size: 12px;
  }
  
  .footer-content {
    grid-template-columns: 1fr;
    gap: 20px;
    text-align: center;
    padding: 20px 20px 24px 20px;
  }
  
  .footer-section {
    padding: 16px;
  }
  
  .footer-section h3 {
    font-size: 1rem;
    margin-bottom: 12px;
  }
  
  .footer-bottom {
    margin-top: 16px;
    padding: 16px 20px;
    font-size: 0.85rem;
  }
  
  .footer-header .hotkey-hint {
    font-size: 10px;
    padding: 6px 8px;
  }
}

.footer-section {
  padding: 14px;
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.3) 0%, rgba(20, 20, 30, 0.2) 100%);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--accent-glow) 50%,
    transparent 100%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.footer-section:hover {
  background: linear-gradient(135deg, rgba(0, 0, 0, 0.4) 0%, rgba(20, 20, 30, 0.3) 100%);
  border-color: rgba(0, 255, 204, 0.2);
  transform: translateY(-2px);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.footer-section:hover::before {
  opacity: 1;
}

.footer-section h3 {
  color: var(--accent-glow);
  font-size: 1.1rem;
  padding: 2px 0;
  margin-bottom: 12px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.3);
  position: relative;
}

.footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, var(--accent-glow), transparent);
}

.footer-section p {
  margin-bottom: 6px;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.85);
  font-size: 0.9rem;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
}

.footer-links li {
  margin-bottom: 4px;
  color: rgba(255, 255, 255, 0.8);
  padding: 1px 0;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.75);
  text-decoration: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  display: inline-flex; /* ensure icon + text align baseline */
  align-items: center;
  gap: 5px;
  padding: 1px 5px;
  border-radius: 6px;
  font-size: 0.83rem;
  font-weight: 500;
}

.footer-links a:hover {
  color: var(--accent-glow);
  background: rgba(0, 255, 204, 0.1);
  text-shadow: 0 0 8px rgba(0, 255, 204, 0.4);
  transform: translateX(6px);
  box-shadow: 0 2px 8px rgba(0, 255, 204, 0.15);
}

.footer-links a::after {
  content: '';
  position: absolute;
  left: 0;
  top: 50%;
  transform: translateY(-50%);
  width: 2px;
  height: 0;
  background: linear-gradient(180deg, var(--accent-glow), transparent);
  transition: height 0.3s ease;
  opacity: 0;
}

.footer-links a:hover::after {
  height: 100%;
  opacity: 1;
}

.coffee-link {
  display: inline-block;
  margin-top: 12px;
  padding: 6px;
  border-radius: 8px;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  background: rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.coffee-link:hover {
  transform: translateY(-3px) scale(1.05);
  background: rgba(0, 0, 0, 0.2);
  border-color: rgba(255, 193, 7, 0.3);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3), 0 0 20px rgba(255, 193, 7, 0.1);
}

.footer-bottom {
  margin-top: 8px;
  padding: 8px 12px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  text-align: center;
  color: rgba(255, 255, 255, 0.7);
  font-size: 0.8rem;
  max-width: calc(100% - 32px);
  margin-left: auto;
  margin-right: auto;
  width: fit-content;
  box-sizing: border-box;
  background: rgba(0, 0, 0, 0.1);
  position: relative;
}

/* Light Theme Footer Adjustments */
.light-theme .site-footer {
  background: linear-gradient(145deg, rgba(248, 250, 252, 0.95) 0%, rgba(241, 245, 249, 0.92) 50%, rgba(248, 250, 252, 0.95) 100%);
  color: var(--text-dark);
  padding: 0; /* Remove padding to eliminate top section */
  box-shadow: none; /* Remove shadows that create unwanted visual elements */
}

.light-theme .footer-content {
  background: rgba(255, 255, 255, 0.02);
  border-top: none; /* Remove top border */
}

.light-theme .footer-section {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.8) 0%, rgba(248, 250, 252, 0.6) 100%);
  border: 1px solid rgba(0, 0, 0, 0.08);
}

.light-theme .footer-section::before {
  background: linear-gradient(90deg, 
    transparent 0%,
    var(--blue-500) 50%,
    transparent 100%);
}

.light-theme .footer-section:hover {
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.95) 0%, rgba(248, 250, 252, 0.8) 100%);
  border-color: rgba(59, 130, 246, 0.2);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1);
}

.light-theme .footer-section h3 {
  color: #0066cc; /* --primary-blue equivalent */
  font-size: 1.1rem;
  margin-bottom: 16px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  text-shadow: 0 0 8px rgba(0, 102, 204, 0.2);
  position: relative;
}

.light-theme .footer-section h3::after {
  content: '';
  position: absolute;
  bottom: -4px;
  left: 0;
  width: 30px;
  height: 2px;
  background: linear-gradient(90deg, #0066cc, transparent);
}

.light-theme .footer-section p {
  color: rgba(0, 0, 0, 0.8);
}

.light-theme .footer-links li {
  color: rgba(0, 0, 0, 0.7);
}

.light-theme .footer-links a {
  color: rgba(0, 0, 0, 0.7);
}

.light-theme .footer-links a::before {
  border: 1px solid rgba(0, 102, 204, 0.2);
  background-color: rgba(0, 102, 204, 0.05);
  box-shadow: 0 2px 4px rgba(0, 0, 0, 0.08);
}

.light-theme .footer-links a:hover {
  color: #0066cc;
  background: rgba(0, 102, 204, 0.08);
  text-shadow: 0 0 8px rgba(0, 102, 204, 0.3);
  box-shadow: 0 2px 8px rgba(0, 102, 204, 0.15);
  transform: translateX(4px);
}

.light-theme .footer-links a:hover::before {
  filter: brightness(1.1);
  border-color: rgba(0, 102, 204, 0.4);
  background-color: rgba(0, 102, 204, 0.1);
  box-shadow: 0 2px 6px rgba(0, 102, 204, 0.2);
}

.light-theme .coffee-link {
  background: rgba(255, 255, 255, 0.6);
  border: 1px solid rgba(0, 0, 0, 0.1);
}

.light-theme .coffee-link:hover {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 193, 7, 0.4);
  box-shadow: 0 8px 25px rgba(0, 0, 0, 0.1), 0 0 20px rgba(255, 193, 7, 0.08);
}

.light-theme .footer-bottom {
  color: rgba(0, 0, 0, 0.6);
  border-top: 1px solid rgba(0, 0, 0, 0.08);
  background: rgba(255, 255, 255, 0.3);
}

/* Glowing Footer Title */
.footer-title-glow {
  margin-bottom: 16px;
}

.footer-title-glow h2 {
  font-family: 'Orbitron', 'Exo 2', sans-serif;
  font-size: 1.8rem;
  font-weight: 700;
  text-align: center;
  color: var(--accent-glow);
  text-transform: uppercase;
  letter-spacing: 3px;
  margin: 0;
  text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow), 0 0 30px rgba(100, 255, 218, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
  animation: subtle-glow 4s ease-in-out infinite alternate;
}

@keyframes subtle-glow {
  0% {
    text-shadow: 0 0 10px var(--accent-glow), 0 0 20px var(--accent-glow), 0 0 30px rgba(100, 255, 218, 0.5), 0 2px 4px rgba(0, 0, 0, 0.3);
  }
  100% {
    text-shadow: 
      0 0 15px var(--accent-glow),
      0 0 25px var(--accent-glow),
      0 0 40px rgba(100, 255, 218, 0.7),
      0 2px 4px rgba(0, 0, 0, 0.3);
  }
}

/* Light theme adjustments */
.light-theme .footer-title-glow h2 {
  color: var(--blue-600);
  text-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
}

.light-theme .footer-title-glow h2 {
  animation: subtle-glow-light 4s ease-in-out infinite alternate;
}

@keyframes subtle-glow-light {
  0% {
    text-shadow: 0 0 10px rgba(59, 130, 246, 0.6), 0 0 20px rgba(59, 130, 246, 0.4), 0 0 30px rgba(59, 130, 246, 0.3), 0 2px 4px rgba(0, 0, 0, 0.2);
  }
  100% {
    text-shadow: 0 0 15px rgba(59, 130, 246, 0.8), 0 0 25px rgba(59, 130, 246, 0.5), 0 0 40px rgba(59, 130, 246, 0.4), 0 2px 4px rgba(0, 0, 0, 0.2);
  }
}

/* =====================
   Contact Form Styles
   ===================== */

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

.contact-form input,
.contact-form textarea {
  width: 100%;
  padding: 6px 10px;
  background: rgba(0, 20, 40, 0.6);
  border: 1px solid rgba(51, 225, 255, 0.3);
  border-radius: 5px;
  color: #eaf7ff;
  font-family: inherit;
  font-size: 12px;
  transition: all 0.25s ease;
  box-sizing: border-box;
}

.contact-form input::placeholder,
.contact-form textarea::placeholder {
  color: rgba(234, 247, 255, 0.5);
}

.contact-form input:focus,
.contact-form textarea:focus {
  outline: none;
  border-color: rgba(51, 225, 255, 0.7);
  background: rgba(0, 30, 50, 0.7);
  box-shadow: 0 0 12px rgba(51, 225, 255, 0.2), inset 0 0 6px rgba(51, 225, 255, 0.1);
}

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

.contact-form button {
  padding: 6px 14px;
  background: linear-gradient(135deg, rgba(51, 225, 255, 0.2) 0%, rgba(0, 150, 180, 0.3) 100%);
  border: 1px solid rgba(51, 225, 255, 0.5);
  border-radius: 5px;
  color: #33e1ff;
  font-family: 'Cinzel', serif;
  font-size: 12px;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  cursor: pointer;
  transition: all 0.25s ease;
}

.contact-form button:hover {
  background: linear-gradient(135deg, rgba(51, 225, 255, 0.35) 0%, rgba(0, 150, 180, 0.45) 100%);
  border-color: rgba(51, 225, 255, 0.8);
  box-shadow: 0 0 15px rgba(51, 225, 255, 0.3), 0 4px 12px rgba(0, 0, 0, 0.2);
  transform: translateY(-1px);
}

.contact-form button:active {
  transform: translateY(0);
}

/* Light theme contact form */
.light-theme .contact-form input,
.light-theme .contact-form textarea {
  background: rgba(255, 255, 255, 0.9);
  border-color: rgba(0, 119, 204, 0.3);
  color: #213547;
}

.light-theme .contact-form input::placeholder,
.light-theme .contact-form textarea::placeholder {
  color: rgba(33, 53, 71, 0.5);
}

.light-theme .contact-form input:focus,
.light-theme .contact-form textarea:focus {
  border-color: rgba(0, 119, 204, 0.7);
  background: rgba(255, 255, 255, 1);
  box-shadow: 0 0 12px rgba(0, 119, 204, 0.15), inset 0 0 6px rgba(0, 119, 204, 0.05);
}

.light-theme .contact-form button {
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.15) 0%, rgba(0, 80, 150, 0.25) 100%);
  border-color: rgba(0, 119, 204, 0.5);
  color: #0077cc;
}

.light-theme .contact-form button:hover {
  background: linear-gradient(135deg, rgba(0, 119, 204, 0.25) 0%, rgba(0, 80, 150, 0.35) 100%);
  border-color: rgba(0, 119, 204, 0.8);
  box-shadow: 0 0 15px rgba(0, 119, 204, 0.2), 0 4px 12px rgba(0, 0, 0, 0.1);
}
