body { font-family: Arial, sans-serif; margin: 0; padding: 0; }
.container { max-width: 1200px; margin: auto; padding: 20px; }
h1, h2 { color: #333; font-weight: bold; }
h3 { font-weight: bold; }
footer { background: #f8f9fa; text-align: center; padding: 10px; margin-top: 40px; }
.green-button { background-color: #001f3f; color: white; padding: 10px 20px; margin: 10px; border: none; text-decoration: none; display: inline-block; border-radius: 5px; transition: background-color 0.3s; }
.green-button:hover { background-color: #004d80; }
.center { text-align: center; }
.section { margin-bottom: 40px; background: #f9f9f9; padding: 20px; border-radius: 5px; text-align: left; }
.banner { background: linear-gradient(to right, #001f3f, #004d80); color: white; padding: 8px 20px; text-align: center; }
.bid-heading { color: red; font-weight: bold; text-align: left; }
.alert-info { background-color: #d1ecf1; border-color: #bee5eb; color: #0c5460; padding: 10px; border-radius: 5px; margin-bottom: 20px; text-align: left; }
.navbar { background: linear-gradient(to right,#001f3f,#004d80) !important; }
.navbar .nav-link { color: white !important; }
.navbar-toggler-icon { filter: invert(1); }

.btn-danger {
background-color: #FF0000 !important;
border-color: #FF0000 !important;
}

.btn-danger:hover {
background-color: #CC0000 !important;
border-color: #CC0000 !important;
}

.site-header { background-color: #001f3f; }
.top-brand { padding: 6px 0; }
.menu-bar { background-color: #001f3f; padding: 8px 0; }
.site-page-title { color: #fff; font-size: 1.7rem; margin: 0; }

.site-search-wrap { width: 240px; }
#site-search-input {
  background: rgba(255,255,255,0.95);
  border-radius: 9999px;
}
.site-search-results {
  position: absolute;
  width: 240px;
  max-height: 300px;
  overflow-y: auto;
  display: none;
  z-index: 1000;
  background: #fff;
  box-shadow: 0 0.5rem 1rem rgba(0,0,0,0.15);
  border-radius: 0.375rem;
  margin-top: 0.25rem;
}

.navbar-toggler-icon { filter: invert(1); }
.navbar-nav .nav-link.active,
.navbar-nav .dropdown-item.active {
  font-weight: 700;
  text-decoration: underline;
}

.usa250-nav-item {
  position: relative;
  width: 82px;
}

.usa250-nav-link {
  position: relative;
  display: block;
  width: 82px;
  height: 100%;
  min-height: 40px;
  padding: 0.5rem 0.65rem;
  text-decoration: none;
  overflow: visible;
}

.usa250-nav-link::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 50%;
  width: 64px;
  height: 12px;
  border-radius: 50%;
  background: rgba(0, 0, 0, 0.36);
  filter: blur(5px);
  transform: translate(-50%, 16px);
  transition: width 0.16s ease, opacity 0.16s ease, transform 0.16s ease;
  z-index: 0;
}

.usa250-nav-link img {
  position: absolute;
  left: 50%;
  top: 50%;
  display: block;
  width: auto;
  height: 54px;
  max-width: 132px;
  object-fit: contain;
  filter:
    drop-shadow(0 8px 8px rgba(0, 0, 0, 0.36))
    drop-shadow(0 2px 2px rgba(255, 255, 255, 0.28));
  transition: transform 0.2s ease, filter 0.2s ease;
  transform: translate(-50%, calc(-50% - 5px));
  z-index: 1;
}

.usa250-nav-link:hover img,
.usa250-nav-link:focus img,
.usa250-nav-link.active img {
  transform: translate(-50%, calc(-50% - 8px)) scale(1.04);
  filter:
    drop-shadow(0 12px 10px rgba(0, 0, 0, 0.42))
    drop-shadow(0 2px 2px rgba(255, 255, 255, 0.32));
}

.usa250-nav-link:hover::after,
.usa250-nav-link:focus::after,
.usa250-nav-link.active::after {
  width: 74px;
  opacity: 0.88;
  transform: translate(-50%, 18px);
}

.usa250-nav-link:active img {
  transform: translate(-50%, calc(-50% - 1px)) scale(0.96);
  filter:
    drop-shadow(0 4px 4px rgba(0, 0, 0, 0.34))
    drop-shadow(0 1px 1px rgba(255, 255, 255, 0.2));
}

.usa250-nav-link:active::after {
  width: 56px;
  opacity: 0.72;
  transform: translate(-50%, 14px);
}

.game-launch-card {
  background: #fff;
  border: 1px solid #e0e0e0;
  align-items: center;
}

.game-launch-link {
  display: inline-block;
  position: relative;
  text-decoration: none;
  color: inherit;
}

.game-launch-link::before,
.game-launch-link::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: 0;
  width: 142%;
  height: 78%;
  border-radius: 50% 50% 45% 45%;
  pointer-events: none;
  transform: translateX(-50%);
  z-index: 0;
}

.game-launch-link::before {
  background:
    radial-gradient(circle at 50% 95%, rgba(255, 230, 96, 0.95) 0 17%, rgba(255, 132, 29, 0.72) 38%, rgba(210, 34, 14, 0) 70%),
    radial-gradient(circle at 25% 75%, rgba(255, 98, 22, 0.78) 0 24%, rgba(255, 98, 22, 0) 56%),
    radial-gradient(circle at 75% 72%, rgba(255, 154, 27, 0.76) 0 22%, rgba(255, 154, 27, 0) 58%);
  filter: blur(18px);
  opacity: 0.82;
  animation: launcherFlameGlow 1.8s ease-in-out infinite alternate;
}

.game-launch-link::after {
  background:
    radial-gradient(ellipse at 50% 100%, rgba(255, 244, 160, 0.95) 0 12%, rgba(255, 187, 54, 0.72) 30%, rgba(255, 83, 18, 0) 66%);
  clip-path: polygon(50% 0, 61% 35%, 78% 12%, 69% 55%, 92% 38%, 74% 83%, 50% 100%, 27% 84%, 8% 38%, 31% 55%, 22% 12%, 39% 35%);
  opacity: 0.7;
  animation: launcherFlameFlicker 0.9s ease-in-out infinite alternate;
}

.game-launch-button {
  position: relative;
  display: block;
  width: min(260px, 70vw);
  height: auto;
  border: 0;
  border-radius: 0;
  filter: drop-shadow(0 8px 16px rgba(0, 31, 63, 0.2));
  transition: transform 0.2s ease, filter 0.2s ease;
  z-index: 1;
}

.game-launch-link:hover .game-launch-button,
.game-launch-link:focus .game-launch-button {
  transform: translateY(-3px);
  filter: drop-shadow(0 12px 20px rgba(0, 31, 63, 0.3));
}

.game-launch-link:focus {
  outline: 3px solid #004d80;
  outline-offset: 4px;
}

.game-launch-copy {
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
  text-align: center;
  line-height: 1.5;
}

.map-card-link {
  display: flex;
  justify-content: center;
  align-items: center;
  color: inherit;
  text-decoration: none;
  flex: 1;
  min-height: 0;
}

.map-card-image {
  display: block;
  width: min(390px, 100%);
  max-height: 390px;
  height: auto;
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 31, 63, 0.14);
  object-fit: contain;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
}

.map-card-link:hover .map-card-image,
.map-card-link:focus .map-card-image {
  transform: translateY(-3px);
  box-shadow: 0 8px 20px rgba(0, 31, 63, 0.22);
}

.map-card-link:focus {
  outline: 3px solid #004d80;
  outline-offset: 4px;
}

@keyframes launcherFlameGlow {
  from {
    transform: translateX(-50%) scale(0.94, 0.9);
    opacity: 0.56;
  }
  to {
    transform: translateX(-50%) scale(1.06, 1.05);
    opacity: 0.82;
  }
}

@keyframes launcherFlameFlicker {
  from {
    transform: translateX(-50%) translateY(8px) scale(0.92, 0.88) rotate(-2deg);
    opacity: 0.42;
  }
  to {
    transform: translateX(-50%) translateY(-4px) scale(1.05, 1.08) rotate(2deg);
    opacity: 0.66;
  }
}

@media (prefers-reduced-motion: reduce) {
  .game-launch-link::before,
  .game-launch-link::after {
    animation: none;
  }
}

@media (max-width: 992px) {
  .site-search-wrap {
    width: 100%;
    margin-top: 0.75rem;
  }
  .site-search-results { width: 100%; }
  .site-page-title { font-size: 1.35rem; }
}
