/* === 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 {
  display: none !important;
}

#primary, #content, .elementor-section-wrap {
  margin-top: 0 !important;
  padding-top: 0 !important;
}
/* GRID LAYOUT */
.welcome-grid {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 28px; /* spacing between buttons */
    padding: 20px 0;
}

/* BUTTON IMAGE STYLE */
.welcome-btn {
    width: 260px; /* adjust if your images need bigger/smaller */
    border-radius: 12px;
    transition: 
        transform 0.25s ease,
        box-shadow 0.25s ease,
        filter 0.25s ease;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
    filter: brightness(0.92);
}

/* HOVER EFFECT */
.welcome-btn:hover {
    transform: scale(1.06);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.45);
    filter: brightness(1);
}

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

/* MAKE NAV TEXT WHITE + RED HOVER */
.gfx-button span,
.nav-link {
  font-family: 'Orbitron', sans-serif;
  color: #ffffff !important;
  cursor: pointer;
  transition: color 0.3s ease;
}

.gfx-button span:hover,
.nav-link:hover {
  color: #ff5f6d !important;
}

/* WHITE DIVIDERS BETWEEN NAV ITEMS */
.gfx-nav > div:not(:last-child)::after {
  content: "|";
  margin-left: 1.5rem;
  margin-right: -1.5rem;
  color: #ffffff;
  font-weight: 300;
  pointer-events: none;
}

/* ============================================================
   MAPS DROPDOWN — CLEAN, NON-CONFLICTING VERSION
   ============================================================ */
.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;
}

/* MATCH NAV COLORS */
.dropdown-menu a {
  display: block;
  padding: 8px 16px;
  color: #78cce2;
  text-decoration: none;
  white-space: nowrap;
  transition: color 0.3s ease;
}

.dropdown-menu a:hover {
  color: #ffffff;
  background: #111;
}

/* ============================================================
   VAULT GRID
   ============================================================ */
.gfx-grid {
  display: none;
  grid-template-columns: repeat(2, 1fr);
  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;
}

/* === HIDE SYSTEM ELEMENTS === */
.site-title,
.custom-logo-link,
.custom-logo,
.site-footer {
  display: none !important;
}

/* === RESPONSIVE === */
@media (max-width: 768px) {
  .gfx-grid {
    grid-template-columns: 1fr;
    padding: 20px;
    gap: 20px;
  }
}

/* === HIDE WORDPRESS PAGE TITLE ONLY === */
.page-title,
.entry-title,
.elementor-page-title {
  display: none !important;
}

/* === EXTINCTION 2x2 === */
#extinction.gfx-grid {
  grid-template-columns: repeat(2, 1fr) !important;
}

/* === MAKE SYFYI.COM TITLE WHITE === */
.gfx-banner h1 {
  color: #ffffff !important;
}

/* FORCE ALL MAPS GRIDS TO 2x2 — OVERRIDES ELEMENTOR */
#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;
}

/* MAKE "MAPS" BLUE + WHITE GLOW ON HOVER */
.nav-item.dropdown .nav-link {
    color: #78cce2 !important;      /* neon blue */
    font-family: 'Orbitron', sans-serif;
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

.nav-item.dropdown .nav-link:hover {
    color: #ffffff !important;      /* white glow */
    text-shadow: 0 0 8px rgba(255,255,255,0.8);
}

/* MAKE ALL COD GAME NAMES BLUE + WHITE GLOW */
.dropdown-menu a {
    color: #78cce2 !important;      /* neon blue */
    transition: color 0.3s ease, text-shadow 0.3s ease;
}

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

/* REAL WORKING DIVIDERS FOR /PHOTOS NAV */
.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;
}

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

body {
    background-color: black;
    margin: 0;
    padding: 0;
    font-family: 'Courier New', monospace;
    color: white;
    text-align: center;
}

/* Remove WP header clutter */
header,
.site-title,
.custom-logo-link,
.custom-logo,
h1 {
    display: none !important;
}

/* MAIN BANNER */
.welcome-button img {
    max-width: 1100px;
    width: 95%;
    height: auto;
    cursor: pointer;
    transition: transform 0.3s ease;
}

.welcome-button img:hover {
    transform: scale(1.10);
}

/* ICON GRID */
.icon-row {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 55px;
    justify-items: center;
    padding-bottom: 60px;
    max-width: 1400px;
    margin: 0 auto;
}

/* ICON BUTTONS */
.icon-row img {
    width: 560px;
    height: auto;
    cursor: pointer;
    border-radius: 12px;
    transition: 
        transform 0.28s ease,
        box-shadow 0.28s ease,
        filter 0.28s ease;
    box-shadow: 0 0 14px rgba(255, 255, 255, 0.18);
    filter: brightness(0.92);
}

.icon-row img:hover {
    transform: scale(1.12);
    box-shadow: 0 0 22px rgba(255, 255, 255, 0.45);
    filter: brightness(1);
}

/* MOBILE */
@media (max-width: 878px) {
    .icon-row {
        grid-template-columns: 1fr;
        gap: 30px;
    }

    .icon-row img {
        width: 92%;
    }

    .welcome-button img {
        width: 100%;
        max-width: 100%;
    }
}

/* ============================================================
   CLEAN THREE-COLUMN HOME FRONT ROW (NO SCROLL)
   ============================================================ */
.icon-row {
    display: grid;
    grid-template-columns: repeat(3, 1fr) !important; /* Forces exactly 3 items in a single row */
    gap: 30px !important;                             /* Tightens the gap so they fit side-by-side */
    max-width: 1200px !important;                     /* Constrains the max width of the row */
    margin: 0 auto !important;
    padding: 40px 20px !important;
}

.icon-row img {
    width: 100% !important;                           /* Makes images fluid to perfectly scale inside the 3 columns */
    max-width: 360px !important;                      /* Prevents them from bloating on massive screens */
    height: auto !important;
}

/* Mobile responsive fallback so it doesn't break on phones */
@media (max-width: 878px) {
    .icon-row {
        grid-template-columns: 1fr !important;        /* Reverts back to a clean stack on mobile screen sizes */
        gap: 20px !important;
    }
    .icon-row img {
        width: 92% !important;
        max-width: 100% !important;
    }
}

.icon-row img, 
.icon-row + a img {
  width: 100% !important;
  max-width: 150px; /* Adjust this to whatever pixel size your grid squares are */
  height: auto;
  object-fit: contain;
}