@import url('https://fonts.googleapis.com/css2?family=Orbitron:wght@500&display=swap');
/* --- Starfield Overlay --- */
#starfield {
  position: fixed;
  top: 0; left: 0;
  width: 100vw;
  height: 100vh;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}
#starfield::before, #starfield::after {
  content: '';
  position: absolute;
  width: 100%; height: 100%;
  top: 0; left: 0;
  background: transparent;
  pointer-events: none;
  z-index: 0;
}
#starfield::before {
  background: 
    radial-gradient(white 1px, transparent 1px) 0 0,
    radial-gradient(white 1px, transparent 1px) 50px 50px;
  background-size: 100px 100px;
  opacity: 0.35;
  animation: starMove 60s linear infinite;
}
#starfield::after {
  background: 
    radial-gradient(white 2px, transparent 2px) 20px 20px,
    radial-gradient(white 1.5px, transparent 1.5px) 70px 80px;
  background-size: 150px 150px;
  opacity: 0.25;
  animation: starMove 120s linear infinite reverse;
}
@keyframes starMove {
  0% { background-position: 0 0, 50px 50px; }
  100% { background-position: 100px 100px, 150px 150px; }
}

/* --- Body and Layout --- */
body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  font-family: 'Segoe UI', 'Orbitron', Arial, sans-serif;
  background: linear-gradient(135deg, #0f0c29, #302b63, #ff00cc);
  background-size: 400% 400%;
  animation: neonFlow 15s ease infinite;
  color: #f0f0f0;
  display: flex;
  flex-direction: column;
  align-items: center;
  overflow-x: hidden;
}

@keyframes neonFlow {
  0% { background-position: 0% 50%; }
  50% { background-position: 100% 50%; }
  100% { background-position: 0% 50%; }
}
html, body {
  overflow-x: hidden;
}
/* ========== Headers: Desktop vs Mobile ========== */
.main-header-Desktop { display: block; }
.main-header-Mobile  { display: none; }

/* Desktop Heading */
.main-header-Desktop {
  width: 100%;
  text-align: center;
  padding: 0.5rem 0 1rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  letter-spacing: 0.13em;
}
.headingDesktop {
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-size: 2.5rem;
  color: #fff8e6;
  letter-spacing: 0.13em;
  text-shadow: 0 0 8px #302b63, 0 0 18px #ff00cc;
  margin: 0;
}

/* Mobile Heading */
.main-header-Mobile {
  width: 110vw;
  text-align: center;
  padding: 0.5rem 0 0.7rem 0;
  background: rgba(20, 24, 82, 0.82);
  border-bottom: 1.5px solid #ff00cc;
  box-shadow: 0 2px 8px #ff00cc44;
  backdrop-filter: blur(3px);
  letter-spacing: 0.05em;
  box-sizing: border-box;
}
.headingMobile {
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-size: 1.5rem;
  color: #ffb6f9;
  letter-spacing: 0.06em;
  text-shadow: 0 0 4px #302b63, 0 0 8px #ff00cc;
  margin: 0;
  animation: fireGlow 3s infinite ease-in-out;
  margin: 0;
  letter-spacing: 2px;
  padding-left: 10px;
}

@keyframes fireGlow {
  0% {
    text-shadow: 0 0 2px #ff7300, 0 0 6px #ff7300, 0 0 10px #ff4500, 0 0 14px #ff0000;
    color: #ffe8cc;
  }
  50% {
    text-shadow: 0 0 5px #ffa500, 0 0 12px #ff4500, 0 0 22px #ff0000, 0 0 30px #ff0000;
    color: #fff0dd;
  }
  100% {
    text-shadow: 0 0 3px #ff7300, 0 0 8px #ff7300, 0 0 16px #ff3300, 0 0 24px #ff1100;
    color: #ffe6d0;
  }

}

/* Responsive: Show mobile header, hide desktop on small screens */
@media (max-width: 600px) {
  .main-header-Desktop { display: none; }
  .main-header-Mobile  { display: block; }
}

/* ========== Headers: Desktop vs Mobile ========== */
.page-title-Desktop { display: block; }
.page-title-Mobile  { display: none; }

/* Desktop Heading */
.page-title-Desktop {
  width: 100%;
  text-align: center;
  padding: 0.5rem 0 1rem 0;
  background: rgba(0, 0, 0, 0.3);
  border-bottom: 2px solid rgba(255, 255, 255, 0.13);
  box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
  backdrop-filter: blur(8px);
  letter-spacing: 0.13em;
}
.titleDesktop {
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-size: 2.5rem;
  color: #fff8e6;
  letter-spacing: 0.13em;
  text-shadow: 0 0 8px #302b63, 0 0 18px #ff00cc;
  margin: 0;
}

/* Mobile Heading */
.page-title-Mobile {
  width: 110vw;
  text-align: center;
  padding: 0.5rem 0 0.7rem 0;
  background: rgba(20, 24, 82, 0.82);
  border-bottom: 1.5px solid #ff00cc;
  box-shadow: 0 2px 8px #ff00cc44;
  backdrop-filter: blur(3px);
  letter-spacing: 0.05em;
  box-sizing: border-box;
}
.titleMobile {
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-size: 1.5rem;
  color: #ffb6f9;
  letter-spacing: 0.06em;
  text-shadow: 0 0 4px #302b63, 0 0 8px #ff00cc;
  margin: 0;
  animation: fireGlow 3s infinite ease-in-out;
  margin: 0;
  letter-spacing: 2px;
  padding-left: 10px;
}

@keyframes fireGlow {
  0% {
    text-shadow: 0 0 2px #ff7300, 0 0 6px #ff7300, 0 0 10px #ff4500, 0 0 14px #ff0000;
    color: #ffe8cc;
  }
  50% {
    text-shadow: 0 0 5px #ffa500, 0 0 12px #ff4500, 0 0 22px #ff0000, 0 0 30px #ff0000;
    color: #fff0dd;
  }
  100% {
    text-shadow: 0 0 3px #ff7300, 0 0 8px #ff7300, 0 0 16px #ff3300, 0 0 24px #ff1100;
    color: #ffe6d0;
  }

}

/* Responsive: Show mobile header, hide desktop on small screens */
@media (max-width: 600px) {
  .page-title-Desktop { display: none; }
  .page-title-Mobile  { display: block; }
}
html, body {
  margin: 0;
  padding: 0;
  scroll-behavior: smooth;
}
/* Desktop Navigation */
#desktopNav {
  background: #232946;
  color: #fff;
  padding: 0.5rem 0;
}
#desktopNav .nav-links {
  list-style: none;
  display: flex;
  gap: 1.2rem;
  align-items: center;
  margin: 0;
  padding: 0 1.5rem;
}
#desktopNav .nav-links li {
  position: relative;
}
#desktopNav .nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1rem;
  display: block;
  border-radius: 4px;
  transition: background-color 0.2s;
}
#desktopNav .nav-links a:hover {
  background: #393e60;
}
#desktopNav .dropdown-menu {
  display: none;
  position: absolute;
  background: #232946;
  box-shadow: 0 4px 12px rgba(0,0,0,0.08);
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 10;
}
#desktopNav .dropdown:hover .dropdown-menu,
#desktopNav .dropdown:focus-within .dropdown-menu {
  display: block;
}
#desktopNav .dropdown-menu li a {
  padding: 0.5rem 1rem;
  white-space: nowrap;
}

/* --- Desktop Form Styling --- */
#defenceFormDesktop{
  background: rgba(0, 0, 0, 0.44);
  border-radius: 15px;
  padding: 2rem;
  box-shadow: 0 0 28px 2px #ff730055;
  width: 100%;
  max-width: 600px;
  backdrop-filter: blur(8px);
  border: 1px solid #23234d;
  margin-bottom: 2rem;
}
#defenceFormDesktop .input-group {
  margin-bottom: 1.25rem;
  position: relative;
}
#defenceFormDesktop .input-group label{
  display: block;
  margin-bottom: 0.3rem;
  font-weight: bold;
  font-size: 1rem;
  color: #ffe6d0;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
}
#defenceFormDesktop .input-group input[type="number"],
#defenceFormDesktop .input-group input[type="text"]{
  width: 100%;
  padding: 0.6rem;
  background: #23234d;
  border: 1.5px solid #b0b0b0;
  border-radius: 8px;
  color: #fff;
  font-size: 1rem;
  transition: border 0.2s, box-shadow 0.2s;
  box-sizing: border-box;
}
#defenceFormDesktop .input-group input:focus,
#defenceFormDesktop .input-group select:focus {
  outline: 2px solid #ff00cc;
  border-color: #ff9900;
  box-shadow: 0 0 0 2px #ffb366;
}
#defenceFormDesktop button[type="submit"], 
#defenceFormDesktop button[type="button"] {
  background: linear-gradient(90deg, #00fff7 0%, #ff7300 100%);
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  color: #000;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-top: 10px;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-size: 1.05em;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px #ff730044;
}
#defenceFormDesktop button[type="submit"]:hover, 
#defenceFormDesktop button[type="button"]:hover {
  background: linear-gradient(90deg, #ff7300 0%, #00fff7 100%);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 16px #ff730055;
}
/* Desktop Hero Dropdown */
#defenceDropdownDesktop {
  background: #18183a;
  border: 1.5px solid #ff9900;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.24);
  z-index: 10;
  margin-top: -2px;
  color: #fff;
  max-height: 220px;
  overflow-y: auto;
  position: absolute;
  left: 0;
  width: 100%;
  display: none;
}
#defenceDropdownDesktop .dropdown-item {
  padding: 10px 18px;
  cursor: pointer;
  font-size: 1rem;
  background: transparent;
  color: #fff;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}
#defenceDropdownDesktop .dropdown-item:hover,
#defenceDropdownDesktop .dropdown-item:focus {
    background: #ff9900;
  color: #18183a;
  outline: none;
}
/* Desktop Results */
#resultContainerDesktop.result {
  background: #19232e;
  border: 1px dashed #00fff7;
  padding: 1rem;
  border-radius: 6px;
  margin-top: 1.2rem;
  color: #fff8e6;
  font-size: 1.1em;
  box-shadow: 0 2px 10px rgba(0,0,0,0.13);
  display: none;
}
#resultContainerDesktop.result strong {
  color: #393e60;
}

/* Desktop Prompt */
#defencePromptDesktop {
font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
font-size: 1.1em;
color: #d8fff2;
margin: 1rem 0 0 0;
text-shadow: 0 0 7px #00ffb7;
background: linear-gradient(90deg, #23234d 60%, #00ffb7 100%);
border-radius: 10px;
padding: 0.75em 1.2em;
border: 2px solid #00ffb7;
box-shadow: 0 0 16px #00ffb744, 0 2px 10px #00ffb733;
min-height: 2.3em;
display: flex;
align-items: center;
transition: background-color 0.3s, color 0.3s;
}

#defenceFormDesktop input[readonly], 
#defenceFormDesktop input[disabled] {
  background: #f4f4f4;
  color: #888;
}
.elixircolor {
  color: #ff00cc;
  text-shadow: 0 0 8px #ff00cc;
  font-weight: bold;
  font-family: 'Rajdhani', Arial, sans-serif;
}

#darkelixirCostDesktop {
  color: #ff00cc;            /* Neon Pink */
  text-shadow: 0 0 8px #ff00cc;
  font-family: 'Rajdhani', Arial, sans-serif;
}

.timeDesktop {
  color: #fff; /* White */
  font-weight: bold;
  font-family: 'Rajdhani', Arial, sans-serif;
}
#defencesInputsBoxesDesktop.defences-inputs {
  background: rgba(36, 39, 70, 0.18);
  border-radius: 10px;
  box-shadow: 0 4px 18px 0 #23234d33;
  padding: 1.1rem 1.5rem;
  margin: 1.2rem 0 1.5rem 0;
  min-height: 56px;
  max-width: 540px;
  width: 100%;
  display: flex;
  flex-wrap: wrap;
  gap: 1.1rem;
  align-items: flex-start;
  border: 1.5px solid #393e60;
  transition: background-color 0.2s, box-shadow 0.2s;
}
/***************************
 * MOBILE STYLES
 ***************************/

/* Mobile Navigation */
#mobileNav {
  background: #232946;
  color: #fff;
  padding: 0.1rem 0.1rem;
}
#mobileNav .mobile-nav-links {
  list-style: none;
  display: flex;
  gap: 0.1rem;
  align-items: center;
  margin: 0;
  padding-left: 10px;
}
#mobileNav .mobile-nav-links li {
  position: relative;
}
#mobileNav .mobile-nav-links a {
  color: #fff;
  text-decoration: none;
  padding: 0.5rem 1.1rem;
  display: block;
  border-radius: 2px;
  transition: background-color 0.2s;
}
#mobileNav .mobile-nav-links a:hover {
  background: #393e60;
}
#mobileNav .dropdown-menu li {
  margin-bottom: 0.12em; /* Small vertical gap */
}

#mobileNav .dropdown-menu li:last-child {
  margin-bottom: 0; /* Remove gap after the last item */
}

#mobileNav .dropdown-menu {
  display: none;
  position: absolute;
  background: #232946;
  box-shadow: none;
  min-width: 160px;
  z-index: 10;
}
#mobileNav .dropdown:hover .dropdown-menu,
#mobileNav .dropdown:focus-within .dropdown-menu {
  display: block;
}
#mobileNav .dropdown-menu li a {
  padding: 0.1rem 0.1rem;
  white-space: nowrap;
  
}

/* Mobile Calculator Form */
#defenceFormMobile.calculator {
  background: rgba(0, 0, 0, 0.44);
  border-radius: 10px;
  box-shadow: 0 2px 8px rgba(0,0,0,0.08);
  max-width: 85vw;
  margin: 1.2rem auto;
  padding: 1.0rem 0.8rem 0.5rem 0.8rem;
  min-height: 380px;       /* Reserve space for basic content */
  max-height: 80vh;        /* Limit to 80% of the viewport height */
  overflow-y: auto;        /* Enable vertical scrolling if content overflows */
  transition: max-height 0.4s;
}

#defenceFormMobile .input-group {
  margin-bottom: 1.1rem;
  display: flex;
  flex-direction: column;
}

#defenceFormMobile .input-group label {
  margin-bottom: 0.4rem;
  font-weight: 500;
  color: #ffe6d0;
}
#defenceFormMobile .input-group input[type="number"],
#defenceFormMobile .input-group input[type="text"],
#defenceFormMobile .input-group select {
  padding: 0.7rem;
  border: 1px solid #bfc0c0;
  border-radius: 4px;
  outline: none;
  transition: border-color 0.2s;
  color: #111; /* Dark black for mobile */
  background: #fff;
}
#defenceFormMobile .input-group input:focus,
#defenceFormMobile .input-group select:focus {
  border-color: #232946;
}
#defenceFormMobile button[type="submit"]{
  background: linear-gradient(90deg, #1a2980 0%, #c471f5 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  margin-right: 0.5rem;
  cursor: pointer;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  transition: background-color 0.2s;
  box-shadow: 0 2px 8px #ff730044;
}
#defenceFormMobile button[type="button"]{
   background: linear-gradient(90deg, #ff00cc 0%, #ff7300 100%);
  color: #fff;
  border: none;
  border-radius: 4px;
  padding: 0.7rem 1.5rem;
  font-size: 1rem;
  margin-right: 0.5rem;
  cursor: pointer;
  transition: background-color 0.2s;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
}
#defenceFormMobile button[type="submit"]:hover, 
#defenceFormMobile button[type="button"]:hover {
  background: #393e60;
}

/* Mobile Hero Dropdown */
#defenceDropdownMobile {
  display: none;
  position: absolute;
  background: #fff;
  border: 1px solid #bfc0c0;
  border-radius: 4px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.08);
  top: 100%;
  left: 0;
  min-width: 180px;
  z-index: 100;
  max-height: 220px;
  overflow-y: auto;
}
#defenceDropdownMobile .dropdown-item {
  padding: 0.6rem 1rem;
  cursor: pointer;
  color: #0028f1;
}
#defenceDropdownMobile .dropdown-item:hover {
  background: #e7eaf6;
}

/* Mobile Results */
#resultContainerMobile.result {
  background: linear-gradient(135deg, #181c2b 60%, #23234d 100%);
  border-radius: 10px;
  padding: 1.2rem;
  margin-top: 1.2rem;
  color: #f0f0f0;
  font-size: 1.07rem;
  box-shadow: 0 2px 16px 2px #7f5cff44;
  border: 1.5px solid #292c4e;
}


#resultContainerMobile.result strong {
  color: #7f5cff; /* Neon blue-violet */
}

/* Mobile Prompt */
#defencePromptMobile {
 font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
font-size: 1.1em;
color: #e0e7ff;
margin: 1rem 0 0 0;
text-shadow: 0 0 8px #7f5cff;
background: linear-gradient(90deg, #23234d 60%, #7f5cff 100%);
border-radius: 10px;
padding: 0.75em 1.2em;
border: 2px solid #7f5cff;
box-shadow: 0 0 16px #7f5cff44, 0 2px 12px rgba(0,0,0,0.18);
min-height: 2.2em;
display: flex;
align-items: center;
transition: background-color 0.3s, color 0.3s;

}

#defenceFormMobile input[readonly], 
#defenceFormMobile input[disabled] {
  background: #f4f4f4;
  color: #888;
}
/* styles.css */
.defence-inputs {
  position: relative; /* Needed for absolute positioning of prompt inside */
}

/* Shared prompt base */
.input-prompt {
  position: absolute;
  left: 0;
  top: 100%;
  z-index: 10;
  min-width: 220px;
  max-width: 90vw;
  padding: 0.6em 1em;
  border-radius: 5px;
  font-size: 1em;
  font-family: 'Segoe UI', Arial, sans-serif;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
  margin-top: 0.3em;
  display: block;
  box-shadow: 0 2px 8px #f8bcbc33;
  border: 1px solid #f8bcbc;
}

/* Desktop-specific prompt style 
.input-prompt-desktop {
  background: #fff3f3;
  color: #d32f2f;
}*/

/* Mobile-specific prompt style */
.input-prompt-mobile {
  background: #ff6f91;
  color: #fff;
  border: 1px solid #ffb6c1;
  font-size: 1.08em;
}

/* Show the prompt 
.input-prompt.show {
  opacity: 1;
  pointer-events: auto;
}*/

/* Error input highlight (shared) */
.input-error {
  border-color: #d32f2f !important;
  background: #fff3f3 !important;
  color: #d32f2f !important;
}
/* Mobile Dynamic Input Container */
#defencesInputsBoxesMobile.defences-inputs {
  background: linear-gradient(135deg, #181c2b 60%, #23234d 100%);
  border-radius: 12px;
  box-shadow:
    0 2px 16px 2px #7f5cff44,
    0 0 0 2px #23234d inset,
    0 0 24px 4px #23234d55 inset;
  padding: 1rem 1.2rem;
  margin: 1.2rem 0 1.5rem 0;
  min-height: 54px;
  max-width: 97vw;
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 1rem;
  align-items: stretch;
  border: 1.5px solid #292c4e;
  transition: background-color 0.3s, box-shadow 0.3s;
  /* Optional: add a faint starfield effect as background image */
  /* background-image: url('your-starfield.png'); */
  /* background-size: cover; */
}

/* Responsive: Only show relevant prompt on each device */
@media (max-width: 600px) {
  .input-prompt-desktop { display: none !important; }
  .input-prompt-mobile { display: block !important; }
}
@media (min-width: 601px) {
  .input-prompt-desktop { display: block !important; }
  .input-prompt-mobile { display: none !important; }
}


/* Responsive Tweaks (Optional) */
@media (max-width: 600px) {
  #desktopNav, #defenceFormDesktop { display: none !important; }
  #mobileNav, #defenceFormMobile { display: block !important; }
}
@media (min-width: 601px) {
  #mobileNav, #defenceFormMobile { display: none !important; }
  #desktopNav, #defenceFormDesktop { display: block !important; }
}

/* --- Custom Dropdown --- 
#defenceDropdown, .dropdown-menu {
  background: #18183a;
  border: 1.5px solid #ff9900;
  border-radius: 0 0 8px 8px;
  box-shadow: 0 4px 16px rgba(0,0,0,0.24);
  z-index: 10;
  margin-top: -2px;
  color: #fff;
  max-height: 220px;
  overflow-y: auto;
}
.dropdown-item {
  padding: 10px 16px;
  cursor: pointer;
  font-size: 1rem;
  background: transparent;
  color: #fff;
  border-radius: 6px;
  transition: background-color 0.2s, color 0.2s;
}
.dropdown-item:hover,
.dropdown-item:focus {
  background: #ff9900;
  color: #18183a;
  outline: none;
}

/* --- Defence Inputs --- 
.defence-inputs {
  display: flex;
  flex-direction: row;
  gap: 2rem;
  flex-wrap: wrap;
  margin-top: 1rem;
}
.defence-level-input-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  min-width: 80px;
}
.defence-level-input {
  max-width: 120px;
  padding: 0.5rem;
  border: 1.5px solid #b0b0b0;
  border-radius: 8px;
  text-align: center;
  font-size: 1rem;
  background: #23234d;
  color: #fff;
  transition: border 0.2s, box-shadow 0.2s;
}
.defence-level-input:focus {
  border-color: #ff9900;
  box-shadow: 0 0 0 2px #ffb366;
  outline: none;
}
.defence-level-input.invalid {
  border-color: #ff3333 !important;
  box-shadow: 0 0 0 2px #ffcccc;
}
.input-error-message {
  color: #ff3333;
  font-size: 0.9em;
  margin-top: 0.25rem;
  display: none;
}
.defence-level-input-group label {
  font-size: 0.95rem;
  margin-bottom: 0.25rem;
  color: #ffe6d0;
  text-align: center;
}

/* --- Result Container --- 
.result, #resultContainer {
  background: #18183a;
  border: 1.5px solid #ff9900;
  border-radius: 8px;
  color: #fffbe6;
  margin-top: 2rem;
  padding: 1.2rem;
  box-shadow: 0 2px 8px rgba(255, 153, 0, 0.08);
  font-size: 1.1rem;
}

/* --- Prompt/Status Bar --- 
#defencePrompt {
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-size: 1.1em;
  color: #ffd580;
  margin: 1rem 0 0 0;
  text-shadow: 0 0 4px #ff7300;
  background: linear-gradient(90deg, #23234d 60%, #ff7300 100%);
  border-radius: 8px;
  padding: 0.75em 1.2em;
  border: 2px solid #ff7300;
  box-shadow: 0 0 12px #ff730044, 0 2px 10px rgba(0,0,0,0.16);
  min-height: 2.2em;
  display: flex;
  align-items: center;
  transition: background-color 0.3s, color 0.3s;
}

/* --- Buttons --- 
button[type="submit"], #resetButton {
  background: linear-gradient(90deg, #00fff7 0%, #ff7300 100%);
  border: none;
  padding: 0.6rem 1.2rem;
  font-weight: bold;
  color: #000;
  border-radius: 6px;
  cursor: pointer;
  margin-right: 0.5rem;
  margin-top: 10px;
  font-family: 'Orbitron', 'Segoe UI', Arial, sans-serif;
  font-size: 1.05em;
  transition: all 0.25s ease;
  box-shadow: 0 2px 8px #ff730044;
}
button[type="submit"]:hover, #resetButton:hover {
  background: linear-gradient(90deg, #ff7300 0%, #00fff7 100%);
  color: #fff;
  transform: scale(1.04);
  box-shadow: 0 4px 16px #ff730055;
}

/* --- Responsive --- 
@media (max-width: 700px) {
  .main-header { padding: 1rem 0; }
  .page-heading { font-size: 1.2rem; }
  form.calculator { padding: 1rem; }
  .defence-inputs { flex-direction: column; gap: 1rem; }
  .defence-level-input-group { min-width: 60px; }
  button { font-size: 1em; padding: 0.6rem 1rem; }
}
*/
