/* === BASE STYLES === */
body {
  background-color: #000 !important;
  margin: 0;
  padding: 0;
  font-family: 'Courier New', monospace;
  color: white;
  text-align: center;
  cursor: url("https://syfyi.com/wp-content/uploads/2026/02/crosshair.png") 32 32, auto;
}

/* === THE NUCLEAR UFO FIX === */
.syfyi-pulse img,
.syfyi-pulse .elementor-widget-container img,
.elementor-widget-image.syfyi-pulse img {
  width: 100px !important;
  max-width: 100px !important;
  height: auto !important;
  display: block !important;
  margin: 0 auto !important;
  animation: ufo-pulse-animation 3s infinite ease-in-out !important;
  cursor: pointer;
}

@keyframes ufo-pulse-animation {
  0% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,255,255,0.2)); }
  50% { transform: scale(1.1); filter: drop-shadow(0 0 15px rgba(255,255,255,0.6)); }
  100% { transform: scale(1); filter: drop-shadow(0 0 2px rgba(255,255,255,0.2)); }
}

/* === TITLE BAR & HEADER FIX === */
#wpadminbar,
.elementor-location-header,
.site-header,
.title-bar,
.site-title,
.custom-logo-link,
.custom-logo,
.site-footer {
  display: none !important;
}

#primary, #content, .elementor-section-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}

/* === NAVIGATION & DROPDOWNS === */
.gfx-nav {
  display: flex;
  justify-content: center;
  align-items: center;
  gap: 3rem;
  background: #0a0a0a;
  padding: 1.5rem 0;
  border-bottom: 1px solid #222;
}

.gfx-button span,
.nav-link {
  font-family: 'Orbitron', sans-serif;
  color: #78cce2 !important;
  cursor: pointer;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.gfx-button span:hover,
.nav-link:hover {
  color: #ffffff !important;
  text-shadow: 0 0 8px rgba(255,255,255,0.8);
}

.gfx-nav .elementor-widget-wrap > .elementor-widget {
  position: relative;
}

.gfx-nav .elementor-widget-wrap > .elementor-widget:not(:last-child)::after {
  content: "|";
  position: absolute;
  right: -1.5rem;
  top: 0;
  color: #ffffff !important;
  font-weight: 300;
  pointer-events: none;
}

.nav-item.dropdown {
  position: relative;
  list-style: none;
  display: inline-block;
}

.dropdown-menu {
  display: none;
  position: absolute;
  top: 100%;
  left: 0;
  background: #000;
  padding: 10px 0;
  border: 1px solid #333;
  z-index: 9999;
  min-width: 160px;
}

.nav-item.dropdown:hover .dropdown-menu {
  display: block;
}

.dropdown-menu li {
  list-style: none;
}

.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: #78cce2 !important;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease, text-shadow 0.3s ease;
}

.dropdown-menu a:hover {
  color: #ffffff !important;
  background: #111;
  text-shadow: 0 0 8px rgba(255,255,255,0.8);
}

/* === VAULT GRIDS (2x2) === */
.gfx-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr) !important;
  gap: 32px;
  padding: 60px;
}

.gfx-grid.active {
  display: grid;
}

.gfx-item {
  background-color: #111;
  border: 1px solid #333;
  width: 100%;
  display: block;
  overflow: hidden;
  transition: border 0.4s ease, transform 0.3s ease, box-shadow 0.4s ease;
  cursor: pointer;
}

.gfx-item:hover {
  border: 1px solid #ffffff;
  transform: scale(1.03);
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
}

.gfx-item img {
  width: 100%;
  height: auto;
  object-fit: cover;
  display: block;
  transition: transform 0.5s ease;
}

#extinction.gfx-grid,
#ghosts.gfx-grid,
#bo3.gfx-grid,
#mw3.gfx-grid,
#aw.gfx-grid,
#iw.gfx-grid,
#waw.gfx-grid,
#ww2.gfx-grid,
#bo1.gfx-grid,
#bo2.gfx-grid,
#bo4.gfx-grid,
#bo6.gfx-grid,
#bo7.gfx-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* === MASTER GRID WRAPPER (ROWS OF 3 BIG BOXES) === */
.icon-row {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 30px !important;
  max-width: 1400px !important;
  margin: 0 auto !important;
  padding: 40px 20px !important;
  box-sizing: border-box !important;
}

/* Clear Elementor layout wrappers so they don't break the row layout */
.icon-row > .elementor-widget,
.icon-row > .elementor-widget-wrap,
.icon-row > .elementor-widget-container,
.icon-row > div {
  display: contents !important;
}

/* === EACH INDIVIDUAL 3X3 BOX === */
.icon-section-3x3 {
  display: grid !important;
  grid-template-columns: repeat(3, 1fr) !important;
  gap: 16px !important;
  padding: 24px !important;
  background: rgba(255, 255, 255, 0.02) !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  border-radius: 24px !important;
  box-shadow: 0 4px 25px rgba(0, 0, 0, 0.6) !important;
  box-sizing: border-box !important;
  width: 100% !important;
}

/* === UNLOCK ELEMENTOR INNER WRAPPERS & FORCE IMAGES VISIBLE === */
.icon-section-3x3 .elementor-widget,
.icon-section-3x3 .elementor-widget-container,
.icon-section-3x3 .elementor-image,
.icon-section-3x3 .elementor-widget-image {
  display: flex !important;
  align-items: center !important;
  justify-content: center !important;
  aspect-ratio: 1 / 1 !important;
  width: 100% !important;
  height: 100% !important;
  margin: 0 !important;
  padding: 8px !important;
  background: rgba(255, 255, 255, 0.04) !important;
  border: 1px solid rgba(255, 255, 255, 0.18) !important;
  border-radius: 14px !important;
  box-sizing: border-box !important;
  transition: all 0.3s ease !important;
}

.icon-section-3x3 a {
  display: flex !important;
  width: 100% !important;
  height: 100% !important;
  align-items: center !important;
  justify-content: center !important;
  text-decoration: none !important;
}

/* Force the actual image tags to fill their container completely */
.icon-section-3x3 img {
  width: 100% !important;
  height: 100% !important;
  max-width: 100% !important;
  max-height: 100% !important;
  object-fit: cover !important;
  border-radius: 8px !important;
  display: block !important;
}

.icon-section-3x3 .elementor-widget:hover,
.icon-section-3x3 .elementor-widget-image:hover,
.icon-section-3x3 a:hover {
  transform: translateY(-4px) !important;
  background: rgba(255, 255, 255, 0.1) !important;
  border-color: rgba(255, 255, 255, 0.9) !important;
  box-shadow: 0 0 20px rgba(255, 255, 255, 0.3) !important;
}

/* === MISC UTILITIES === */
.glow-white img {
  filter: drop-shadow(0 0 12px rgba(255,255,255,0.9));
}

.page-title,
.entry-title,
.elementor-page-title {
  display: none !important;
}

.gfx-banner h1 {
  color: #ffffff !important;
}

/* === MOBILE RESPONSIVE FALLBACK === */
@media (max-width: 1024px) {
  .icon-row {
    grid-template-columns: repeat(2, 1fr) !important;
  }
}

@media (max-width: 650px) {
  .icon-row {
    grid-template-columns: 1fr !important;
  }
}