/* ==========================================================================
   Xenowave Survivor — Dedicated Styles (Isolated Frame)
   Trailer, Screenshots Showcase, Lightbox, Real-Time Tactics, Steam Wishlist,
   Official Animated GIFs & Epic Background
   ========================================================================== */

/* Enhanced Hero Elements */
.xeno-hero-actions {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 1.25rem;
  flex-wrap: wrap;
  margin-bottom: 2.25rem;
}

.xeno-btn-steam-primary {
  display: inline-flex;
  align-items: center;
  gap: 0.75rem;
  padding: 1rem 2.25rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #102a45 0%, #173e68 50%, #1e528b 100%);
  border: 2px solid #38bdf8;
  color: #ffffff !important;
  font-size: 1.05rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 25px rgba(56, 189, 248, 0.55), 0 10px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
}

.xeno-btn-steam-primary::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.25) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: nav-shine 3.5s infinite linear;
  pointer-events: none;
}

.xeno-btn-steam-primary:hover {
  transform: translateY(-3px) scale(1.03);
  background: linear-gradient(135deg, #153c65 0%, #205591 50%, #2a6fbd 100%);
  border-color: #7dd3fc;
  box-shadow: 0 0 45px rgba(56, 189, 248, 0.85), 0 15px 40px rgba(0, 0, 0, 0.8);
  color: #ffffff !important;
}

.xeno-btn-steam-primary svg {
  width: 24px;
  height: 24px;
  fill: #38bdf8;
  filter: drop-shadow(0 0 8px rgba(56, 189, 248, 0.8));
  transition: transform 0.3s ease;
}

.xeno-btn-steam-primary:hover svg {
  transform: rotate(-10deg) scale(1.15);
  fill: #ffffff;
}

.xeno-btn-trailer {
  display: inline-flex;
  align-items: center;
  gap: 0.65rem;
  padding: 1rem 1.85rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.16);
  border: 1.5px solid rgba(239, 68, 68, 0.65);
  color: #ffffff !important;
  font-size: 0.95rem;
  font-weight: 800;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  text-decoration: none;
  box-shadow: 0 0 20px rgba(239, 68, 68, 0.35);
  transition: all 0.3s ease;
}

.xeno-btn-trailer:hover {
  transform: translateY(-2px);
  background: rgba(220, 38, 38, 0.32);
  border-color: #f87171;
  box-shadow: 0 0 35px rgba(239, 68, 68, 0.65);
  color: #ffffff !important;
}

.xeno-btn-trailer svg {
  width: 20px;
  height: 20px;
  fill: #ef4444;
}

.xeno-specs-strip {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0.75rem;
  flex-wrap: wrap;
  margin: 0 auto 3.5rem;
  max-width: 960px;
}

.xeno-spec-chip {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.45rem 1.05rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.3);
  color: #bae6fd;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.03em;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.4);
}

/* Sections Common Styling */
.xeno-section {
  padding: 3.5rem 0;
  position: relative;
}

.xeno-section-header {
  text-align: center;
  max-width: 780px;
  margin: 0 auto 2.5rem;
}

.xeno-section-badge {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  padding: 0.35rem 0.95rem;
  border-radius: 999px;
  font-family: var(--mono);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  margin-bottom: 0.85rem;
  background: rgba(56, 189, 248, 0.12);
  border: 1px solid rgba(56, 189, 248, 0.4);
  color: #38bdf8;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.xeno-section-title {
  font-size: clamp(1.85rem, 4vw, 2.75rem);
  font-weight: 900;
  text-transform: uppercase;
  letter-spacing: -0.01em;
  color: #ffffff;
  margin-bottom: 0.75rem;
  background: linear-gradient(180deg, #ffffff 0%, #cbd5e1 50%, #94a3b8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

.xeno-section-desc {
  font-size: 1.05rem;
  color: #94a3b8;
  line-height: 1.6;
}

/* Trailer Section */
.xeno-trailer-card {
  max-width: 1040px;
  margin: 0 auto;
  border-radius: 20px;
  border: 2px solid rgba(56, 189, 248, 0.4);
  background: rgba(9, 17, 31, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 45px rgba(56, 189, 248, 0.3);
  overflow: hidden;
  backdrop-filter: blur(16px);
}

.xeno-trailer-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.9rem 1.4rem;
  background: rgba(6, 11, 20, 0.98);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #bae6fd;
}

.xeno-trailer-ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  width: 100%;
  background: #000000;
  overflow: hidden;
}

.xeno-trailer-ratio iframe,
.xeno-trailer-ratio .youtube-facade {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: none;
  border-radius: 0;
}

.xeno-trailer-footer {
  padding: 1.15rem 1.5rem;
  background: rgba(6, 11, 20, 0.98);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 1rem;
}

.xeno-trailer-yt-link {
  display: inline-flex;
  align-items: center;
  gap: 0.5rem;
  color: #f87171;
  font-size: 0.88rem;
  font-weight: 700;
  text-decoration: none;
  transition: color 0.2s;
}

.xeno-trailer-yt-link:hover {
  color: #ffffff;
  text-decoration: underline;
}

/* Tactics & Gameplay Showcase */
.xeno-tactics-layout {
  display: grid;
  grid-template-columns: 1.25fr 1fr;
  gap: 2.25rem;
  max-width: 1140px;
  margin: 0 auto;
  align-items: center;
}

@media (max-width: 960px) {
  .xeno-tactics-layout {
    grid-template-columns: 1fr;
  }
}

.xeno-video-card {
  border-radius: 18px;
  border: 2px solid rgba(56, 189, 248, 0.35);
  background: rgba(10, 20, 36, 0.9);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.25);
}

.xeno-video-ratio {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.xeno-video-ratio video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xeno-video-meta {
  padding: 0.9rem 1.25rem;
  background: rgba(6, 11, 20, 0.98);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--mono);
  font-size: 0.8rem;
  color: #94a3b8;
}

.xeno-video-meta strong {
  color: #38bdf8;
}

.xeno-tactics-cards {
  display: flex;
  flex-direction: column;
  gap: 1rem;
}

.xeno-tactic-item {
  display: flex;
  align-items: flex-start;
  gap: 1.15rem;
  padding: 1.15rem 1.35rem;
  border-radius: 14px;
  background: rgba(13, 27, 46, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.22);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.xeno-tactic-item:hover {
  transform: translateX(6px);
  border-color: #38bdf8;
  background: rgba(16, 35, 62, 0.95);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4), 0 0 20px rgba(56, 189, 248, 0.25);
}

.xeno-tactic-icon-box {
  width: 44px;
  height: 44px;
  border-radius: 10px;
  background: rgba(56, 189, 248, 0.15);
  border: 1px solid rgba(56, 189, 248, 0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.35rem;
  flex-shrink: 0;
}

.xeno-tactic-info h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.3rem;
  letter-spacing: 0.02em;
}

.xeno-tactic-info p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* ==========================================================================
   OFFICIAL ANIMATED GIFS SHOWCASE (Combat & Tactics Grid)
   ========================================================================== */
.xeno-gifs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 1.75rem;
  max-width: 1140px;
  margin: 0 auto;
}

@media (max-width: 820px) {
  .xeno-gifs-grid {
    grid-template-columns: 1fr;
  }
}

.xeno-gif-card {
  border-radius: 18px;
  border: 2px solid rgba(56, 189, 248, 0.35);
  background: rgba(8, 16, 28, 0.95);
  overflow: hidden;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 30px rgba(56, 189, 248, 0.2);
  display: flex;
  flex-direction: column;
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}

.xeno-gif-card:hover {
  transform: translateY(-4px);
  border-color: #38bdf8;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.4);
}

.xeno-gif-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.8rem 1.25rem;
  background: rgba(6, 11, 20, 0.98);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  font-family: var(--mono);
  font-size: 0.8rem;
}

.xeno-gif-viewport {
  position: relative;
  aspect-ratio: 16 / 9;
  background: #000;
  overflow: hidden;
}

.xeno-gif-img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.xeno-gif-caption {
  padding: 1.15rem 1.35rem;
  background: rgba(8, 16, 28, 0.95);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
}

.xeno-gif-caption h4 {
  font-size: 1.05rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.35rem;
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.xeno-gif-caption p {
  font-size: 0.88rem;
  color: #94a3b8;
  line-height: 1.5;
  margin: 0;
}

/* Official Logo in Hero */
.xeno-hero-logo-wrap {
  max-width: 440px;
  margin: 0 auto 1.25rem;
  position: relative;
}

.xeno-hero-logo-img {
  width: 100%;
  height: auto;
  filter: drop-shadow(0 0 35px rgba(56, 189, 248, 0.55)) drop-shadow(0 0 15px rgba(250, 204, 21, 0.35));
  transition: transform 0.4s ease;
}

.xeno-hero-logo-img:hover {
  transform: scale(1.03);
}

/* Screenshot Gallery */
.xeno-gallery-wrap {
  max-width: 1140px;
  margin: 0 auto;
}

.xeno-gallery-viewer {
  border-radius: 20px;
  border: 2px solid rgba(56, 189, 248, 0.4);
  background: rgba(8, 16, 28, 0.95);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 40px rgba(56, 189, 248, 0.25);
  overflow: hidden;
  margin-bottom: 1.5rem;
  position: relative;
}

.xeno-gallery-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 0.85rem 1.4rem;
  background: rgba(6, 11, 20, 0.98);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  font-family: var(--mono);
  font-size: 0.82rem;
}

.xeno-gallery-stage {
  position: relative;
  aspect-ratio: 16 / 10;
  width: 100%;
  background: #000;
  cursor: zoom-in;
  overflow: hidden;
}

.xeno-gallery-stage img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  transition: transform 0.4s ease;
  display: block;
}

.xeno-gallery-stage:hover img {
  transform: scale(1.02);
}

.xeno-gallery-expand-hint {
  position: absolute;
  bottom: 1rem;
  right: 1rem;
  background: rgba(8, 16, 28, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #38bdf8;
  padding: 0.4rem 0.85rem;
  border-radius: 8px;
  font-family: var(--mono);
  font-size: 0.78rem;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 0.4rem;
  pointer-events: none;
  backdrop-filter: blur(8px);
}

.xeno-gallery-caption {
  padding: 1rem 1.4rem;
  background: rgba(6, 11, 20, 0.98);
  border-top: 1px solid rgba(56, 189, 248, 0.2);
  display: flex;
  align-items: center;
  justify-content: space-between;
  flex-wrap: wrap;
  gap: 0.75rem;
}

.xeno-caption-title {
  font-weight: 800;
  font-size: 1rem;
  color: #ffffff;
}

.xeno-caption-biome {
  font-family: var(--mono);
  font-size: 0.82rem;
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.12);
  padding: 0.25rem 0.65rem;
  border-radius: 4px;
}

/* Thumbnails Strip */
.xeno-thumbs-grid {
  display: grid;
  grid-template-columns: repeat(5, 1fr);
  gap: 1rem;
}

@media (max-width: 768px) {
  .xeno-thumbs-grid {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 480px) {
  .xeno-thumbs-grid {
    grid-template-columns: repeat(2, 1fr);
  }
}

.xeno-thumb-btn {
  aspect-ratio: 16 / 10;
  border-radius: 12px;
  overflow: hidden;
  border: 2px solid rgba(56, 189, 248, 0.25);
  background: rgba(13, 27, 46, 0.8);
  cursor: pointer;
  position: relative;
  padding: 0;
  transition: all 0.25s ease;
}

.xeno-thumb-btn img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  display: block;
}

.xeno-thumb-btn:hover {
  border-color: #38bdf8;
  transform: translateY(-3px);
  box-shadow: 0 6px 18px rgba(0, 0, 0, 0.5), 0 0 16px rgba(56, 189, 248, 0.4);
}

.xeno-thumb-btn:hover img {
  transform: scale(1.08);
}

.xeno-thumb-btn.active {
  border-color: #facc15;
  box-shadow: 0 0 20px rgba(250, 204, 21, 0.7);
  transform: translateY(-2px);
}

.xeno-thumb-btn .thumb-badge {
  position: absolute;
  bottom: 4px;
  left: 4px;
  background: rgba(0, 0, 0, 0.75);
  color: #fff;
  font-family: var(--mono);
  font-size: 0.65rem;
  font-weight: 700;
  padding: 2px 6px;
  border-radius: 4px;
  pointer-events: none;
}

/* Lightbox Modal */
.xeno-lightbox-modal {
  position: fixed;
  inset: 0;
  z-index: 99999;
  background: rgba(3, 7, 18, 0.96);
  backdrop-filter: blur(16px);
  display: flex;
  flex-direction: column;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

.xeno-lightbox-modal.open {
  opacity: 1;
  pointer-events: auto;
}

.xeno-lightbox-topbar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 1rem 1.5rem;
  background: rgba(10, 20, 36, 0.9);
  border-bottom: 1px solid rgba(56, 189, 248, 0.25);
  color: #fff;
}

.xeno-lightbox-count {
  font-family: var(--mono);
  font-size: 0.9rem;
  color: #38bdf8;
}

.xeno-lightbox-close {
  background: transparent;
  border: none;
  color: #fff;
  font-size: 1.75rem;
  cursor: pointer;
  padding: 0.25rem 0.5rem;
  line-height: 1;
  transition: transform 0.2s, color 0.2s;
}

.xeno-lightbox-close:hover {
  color: #ef4444;
  transform: scale(1.2);
}

.xeno-lightbox-body {
  flex: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  padding: 1.5rem;
  overflow: hidden;
}

.xeno-lightbox-img {
  max-width: 92vw;
  max-height: 82vh;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 0 50px rgba(0, 0, 0, 0.8), 0 0 30px rgba(56, 189, 248, 0.3);
}

.xeno-lightbox-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.8);
  border: 1px solid rgba(56, 189, 248, 0.5);
  color: #fff;
  width: 50px;
  height: 50px;
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  cursor: pointer;
  transition: all 0.2s;
}

.xeno-lightbox-nav:hover {
  background: #38bdf8;
  color: #000;
  box-shadow: 0 0 20px rgba(56, 189, 248, 0.8);
}

.xeno-lightbox-prev { left: 1.5rem; }
.xeno-lightbox-next { right: 1.5rem; }

/* Features Pillars Grid */
.xeno-features-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 1.5rem;
  max-width: 1140px;
  margin: 0 auto;
}

.xeno-feature-card {
  padding: 2rem 1.75rem;
  border-radius: 18px;
  background: rgba(13, 27, 46, 0.85);
  border: 1.5px solid rgba(56, 189, 248, 0.25);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: flex;
  flex-direction: column;
}

.xeno-feature-card:hover {
  transform: translateY(-5px);
  border-color: #38bdf8;
  box-shadow: 0 15px 40px rgba(0, 0, 0, 0.6), 0 0 25px rgba(56, 189, 248, 0.25);
  background: rgba(16, 35, 62, 0.95);
}

.xeno-feature-icon {
  font-size: 2.2rem;
  margin-bottom: 1.1rem;
  display: inline-block;
}

.xeno-feature-title {
  font-size: 1.25rem;
  font-weight: 800;
  color: #ffffff;
  margin-bottom: 0.65rem;
  letter-spacing: 0.01em;
}

.xeno-feature-text {
  font-size: 0.92rem;
  color: #94a3b8;
  line-height: 1.6;
  margin: 0;
}

/* Steam Mega Wishlist Banner */
.xeno-wishlist-banner {
  max-width: 1140px;
  margin: 4rem auto 2rem;
  border-radius: 24px;
  border: 2px solid #38bdf8;
  background: radial-gradient(circle at 75% 30%, rgba(37, 99, 235, 0.28) 0%, rgba(8, 16, 30, 0.98) 70%);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.35);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  align-items: center;
  backdrop-filter: blur(18px);
}

@media (max-width: 900px) {
  .xeno-wishlist-banner {
    grid-template-columns: 1fr;
  }
}

.xeno-wishlist-content {
  padding: 3rem 2.5rem;
}

.xeno-wishlist-art {
  position: relative;
  height: 100%;
  min-height: 320px;
  background: #000;
}

.xeno-wishlist-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* Teaser Card on index.html */
.index-game-teaser-section {
  padding: 4.5rem 0 2rem;
}

.index-game-teaser-card {
  max-width: 1140px;
  margin: 0 auto;
  border-radius: 24px;
  background: radial-gradient(circle at 20% 40%, rgba(37, 99, 235, 0.3) 0%, rgba(13, 27, 46, 0.95) 70%);
  border: 2px solid #38bdf8;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.7), 0 0 45px rgba(56, 189, 248, 0.35);
  overflow: hidden;
  display: grid;
  grid-template-columns: 1.1fr 1fr;
  align-items: center;
}

@media (max-width: 900px) {
  .index-game-teaser-card {
    grid-template-columns: 1fr;
  }
}

.index-game-teaser-body {
  padding: 3rem 2.5rem;
}

.index-game-teaser-media {
  position: relative;
  height: 100%;
  min-height: 320px;
  background: #050a14;
  overflow: hidden;
}

.index-game-teaser-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.5s ease;
}

.index-game-teaser-card:hover .index-game-teaser-media img {
  transform: scale(1.04);
}

/* Poster Background Settings (Sharp & Visible with Transparency) */
.untitled-backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  pointer-events: none;
  background: radial-gradient(circle at 50% 18%, rgba(7, 13, 24, 0.45) 0%, rgba(7, 13, 24, 0.82) 65%, #070d18 100%),
              linear-gradient(180deg, rgba(7, 13, 24, 0.45) 0%, rgba(7, 13, 24, 0.88) 100%);
}

.untitled-backdrop-art {
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center top;
  opacity: 0.28;
  filter: contrast(1.15) brightness(0.95) saturate(1.1);
  z-index: -3;
  pointer-events: none;
  transition: opacity 0.3s ease;
}

@media (min-width: 1200px) {
  .untitled-backdrop-art {
    opacity: 0.32;
  }
}

/* ==========================================================================
   Xenowave Survivor — Redesigned Hero Command Hub Card
   ========================================================================== */

.xeno-hero-hub {
  padding: calc(var(--header-h) + 1.5rem) 0 3.5rem;
  position: relative;
}

.xeno-hero-hub-card {
  max-width: 1040px;
  margin: 0 auto;
  padding: 3rem 2.75rem 2.5rem;
  border-radius: 28px;
  background: radial-gradient(circle at 50% 0%, rgba(18, 42, 78, 0.85) 0%, rgba(7, 14, 27, 0.95) 75%);
  border: 1.5px solid rgba(56, 189, 248, 0.35);
  box-shadow: 0 25px 60px rgba(0, 0, 0, 0.8), 0 0 50px rgba(56, 189, 248, 0.22);
  backdrop-filter: blur(24px);
  -webkit-backdrop-filter: blur(24px);
  position: relative;
  overflow: hidden;
}

.xeno-hero-hub-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 15%;
  right: 15%;
  height: 2px;
  background: linear-gradient(90deg, transparent, #38bdf8, #facc15, #38bdf8, transparent);
  pointer-events: none;
}

/* Top Status Bar */
.xeno-hero-top-status {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 1rem;
  flex-wrap: wrap;
  margin-bottom: 2rem;
}

.xeno-status-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.6rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: rgba(220, 38, 38, 0.16);
  border: 1px solid rgba(239, 68, 68, 0.55);
  color: #fca5a5;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  box-shadow: 0 0 20px rgba(220, 38, 38, 0.3);
}

.status-pulse-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: #ef4444;
  box-shadow: 0 0 10px #ef4444;
  animation: pulse-glow 1.2s infinite ease-in-out;
}

.status-sep {
  color: rgba(255, 255, 255, 0.3);
  margin: 0 0.15rem;
}

.status-action {
  color: #ffffff;
  font-weight: 800;
}

.xeno-platform-pill {
  display: inline-flex;
  align-items: center;
  gap: 0.55rem;
  padding: 0.45rem 1.15rem;
  border-radius: 999px;
  background: rgba(15, 23, 42, 0.85);
  border: 1px solid rgba(56, 189, 248, 0.45);
  color: #bae6fd;
  font-family: var(--mono);
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.2);
}

.steam-icon-mini {
  width: 17px;
  height: 17px;
  fill: #38bdf8;
}

/* Centerpiece Title & Logo */
.xeno-hero-title-area {
  text-align: center;
  margin-bottom: 2.25rem;
}

.xeno-logo-showcase {
  max-width: 480px;
  margin: 0 auto 1.25rem;
  position: relative;
  display: flex;
  justify-content: center;
}

.xeno-title-logo {
  width: 100%;
  height: auto;
  object-fit: contain;
  filter: drop-shadow(0 0 40px rgba(56, 189, 248, 0.6)) drop-shadow(0 0 15px rgba(250, 204, 21, 0.4));
  transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.xeno-title-logo:hover {
  transform: scale(1.03);
}

.xeno-genre-title {
  font-size: clamp(1.25rem, 2.8vw, 1.75rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  margin-bottom: 1rem;
  background: linear-gradient(180deg, #ffffff 0%, #bae6fd 60%, #38bdf8 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 35px rgba(56, 189, 248, 0.45);
}

.xeno-lead-text {
  max-width: 740px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.65;
  color: #cbd5e1;
}

.xeno-lead-text strong {
  color: #ffffff;
  font-weight: 700;
}

/* Action Group: Unified Hierarchy */
.xeno-actions-group {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 1.25rem;
  margin-bottom: 2.5rem;
}

/* Primary Master Button */
.xeno-btn-steam-master {
  display: inline-flex;
  align-items: center;
  gap: 1.25rem;
  padding: 1.1rem 2.75rem;
  border-radius: 999px;
  background: linear-gradient(135deg, #0e2a4a 0%, #154575 50%, #1c62a6 100%);
  border: 2px solid #38bdf8;
  color: #ffffff !important;
  text-decoration: none;
  box-shadow: 0 0 35px rgba(56, 189, 248, 0.65), 0 12px 30px rgba(0, 0, 0, 0.6);
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
  overflow: hidden;
  cursor: pointer;
}

.xeno-btn-steam-master::before {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(60deg, transparent 40%, rgba(255, 255, 255, 0.28) 50%, transparent 60%);
  transform: rotate(25deg);
  animation: nav-shine 3.5s infinite linear;
  pointer-events: none;
}

.xeno-btn-steam-master:hover {
  transform: translateY(-3px) scale(1.02);
  border-color: #7dd3fc;
  background: linear-gradient(135deg, #133963 0%, #1c5793 50%, #2477c7 100%);
  box-shadow: 0 0 50px rgba(56, 189, 248, 0.9), 0 16px 40px rgba(0, 0, 0, 0.8);
  color: #ffffff !important;
}

.steam-icon-circle {
  width: 44px;
  height: 44px;
  border-radius: 50%;
  background: rgba(56, 189, 248, 0.2);
  border: 1.5px solid rgba(56, 189, 248, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.5);
  transition: transform 0.3s ease;
}

.steam-icon-circle svg {
  width: 24px;
  height: 24px;
  fill: #ffffff;
}

.xeno-btn-steam-master:hover .steam-icon-circle {
  transform: rotate(-10deg) scale(1.1);
  background: #38bdf8;
}

.xeno-btn-steam-master:hover .steam-icon-circle svg {
  fill: #070d18;
}

.steam-btn-text {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.steam-btn-sub {
  font-family: var(--mono);
  font-size: 0.72rem;
  font-weight: 700;
  color: #7dd3fc;
  letter-spacing: 0.12em;
}

.steam-btn-main {
  font-size: 1.15rem;
  font-weight: 900;
  color: #ffffff;
  letter-spacing: 0.04em;
  text-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

/* Secondary Media Bar */
.xeno-media-nav-bar {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  width: 100%;
  max-width: 680px;
  margin: 0 auto;
}

.xeno-nav-tab {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 0.6rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  background: rgba(13, 27, 46, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.25);
  color: #f1f5f9 !important;
  text-decoration: none;
  font-size: 0.92rem;
  font-weight: 700;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.xeno-nav-tab:hover {
  background: rgba(19, 44, 76, 0.95);
  border-color: #38bdf8;
  color: #ffffff !important;
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(0, 0, 0, 0.5), 0 0 20px rgba(56, 189, 248, 0.35);
}

.tab-icon {
  font-size: 1.1rem;
}

/* Tier 3: Balanced Specs Matrix */
.xeno-specs-matrix {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 0.85rem;
  width: 100%;
  border-top: 1px solid rgba(56, 189, 248, 0.18);
  padding-top: 2rem;
}

.spec-matrix-item {
  display: flex;
  align-items: center;
  gap: 0.85rem;
  padding: 0.85rem 1.15rem;
  border-radius: 14px;
  background: rgba(9, 18, 33, 0.75);
  border: 1px solid rgba(56, 189, 248, 0.18);
  transition: all 0.25s ease;
}

.spec-matrix-item:hover {
  border-color: rgba(56, 189, 248, 0.45);
  background: rgba(13, 27, 48, 0.9);
  transform: translateY(-2px);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
}

.spec-icon {
  font-size: 1.45rem;
  flex-shrink: 0;
}

.spec-info {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  text-align: left;
}

.spec-info strong {
  font-size: 0.92rem;
  font-weight: 800;
  color: #ffffff;
  line-height: 1.25;
}

.spec-info small {
  font-size: 0.78rem;
  color: #94a3b8;
  font-family: var(--mono);
  margin-top: 2px;
}

/* Responsive adjustments */
@media (max-width: 860px) {
  .xeno-hero-hub-card {
    padding: 2.25rem 1.75rem;
  }
  .xeno-specs-matrix {
    grid-template-columns: repeat(2, 1fr);
  }
}

@media (max-width: 620px) {
  .xeno-hero-top-status {
    justify-content: center;
    text-align: center;
  }
  .xeno-media-nav-bar {
    grid-template-columns: 1fr;
  }
  .xeno-btn-steam-master {
    width: 100%;
    padding: 0.9rem 1.25rem;
    gap: 0.85rem;
  }
  .steam-btn-main {
    font-size: 0.95rem;
  }
  .xeno-specs-matrix {
    grid-template-columns: 1fr;
  }
}

/* ==========================================================================
   Web Performance & Rendering Optimizations
   ========================================================================== */

/* Modern Content-Visibility for Offscreen Sections */
#tactics,
#gifs,
#screenshots,
.xeno-features-grid,
.xeno-wishlist-banner,
.untitled-social-hub,
.newsletter-section {
  content-visibility: auto;
  contain-intrinsic-size: 1px 650px;
}

/* Hardware-accelerated transitions */
.xeno-hero-hub-card,
.xeno-trailer-card,
.xeno-tactic-item,
.xeno-gif-card,
.xeno-feature-card,
.xeno-thumb-btn {
  transform: translateZ(0);
  backface-visibility: hidden;
}

/* Navbar Lang-Dropdown Alignment on Game Page */
.untitled-page .nav-links {
  align-items: center;
}

.untitled-page .lang-dropdown {
  margin: 0 0.25rem;
}

.untitled-page .lang-dropdown-btn {
  background: rgba(8, 16, 30, 0.7);
  border-color: rgba(56, 189, 248, 0.35);
  color: #bae6fd;
}

.untitled-page .lang-dropdown-btn:hover,
.untitled-page .lang-dropdown.open .lang-dropdown-btn {
  border-color: #38bdf8;
  color: #ffffff;
  background: rgba(56, 189, 248, 0.18);
  box-shadow: 0 0 15px rgba(56, 189, 248, 0.3);
}

.untitled-page .lang-dropdown-menu {
  background: #081120;
  border-color: rgba(56, 189, 248, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.8), 0 0 20px rgba(56, 189, 248, 0.2);
}

.untitled-page .lang-dropdown-item {
  color: #94a3b8;
}

.untitled-page .lang-dropdown-item:hover {
  background: rgba(56, 189, 248, 0.15);
  color: #ffffff;
}

.untitled-page .lang-dropdown-item.active {
  color: #38bdf8;
  background: rgba(56, 189, 248, 0.22);
  font-weight: 700;
}


/* ==========================================================================
   Mobile, iPhone, Android & Tablet Flawless Responsiveness
   ========================================================================== */

/* 1. Tablet & iPad Adaptations (<= 1024px) */
@media (max-width: 1024px) {
  .untitled-page .site-header {
    width: 100%;
    max-width: 100%;
  }

  .untitled-page .nav-toggle {
    display: flex;
  }

  .untitled-page .nav-links {
    position: fixed;
    top: var(--header-h);
    left: 0;
    right: 0;
    width: 100%;
    max-width: 100vw;
    background: rgba(6, 12, 22, 0.98);
    backdrop-filter: blur(24px);
    -webkit-backdrop-filter: blur(24px);
    border-bottom: 1px solid rgba(56, 189, 248, 0.3);
    padding: 2rem 1.5rem;
    flex-direction: column;
    align-items: center;
    gap: 1.25rem;
    transform: translateY(-120%);
    opacity: 0;
    pointer-events: none;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1), opacity 0.3s ease;
    z-index: 999;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.8);
    max-height: calc(100vh - var(--header-h));
    overflow-y: auto;
  }

  .untitled-page .nav-links.open {
    transform: translateY(0);
    opacity: 1;
    pointer-events: auto;
  }

  .untitled-page .nav-links a {
    font-size: 1.05rem;
    padding: 0.35rem 0;
  }

  .untitled-page .nav-links .lang-dropdown {
    width: auto;
    display: flex;
    justify-content: center;
    position: relative;
    margin: 0.5rem 0;
  }

  .untitled-page .nav-links .lang-dropdown-btn {
    min-width: 110px;
    padding: 0.5rem 1.15rem;
    font-size: 0.92rem;
  }

  .untitled-page .nav-links .lang-dropdown-menu {
    top: calc(100% + 8px);
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    min-width: 170px;
  }

  .untitled-page .nav-links .btn-reveal-loud {
    width: 100%;
    max-width: 280px;
    text-align: center;
    justify-content: center;
  }
}

/* 2. Medium Tablet & Large Smartphone (<= 768px) */
@media (max-width: 768px) {
  .xeno-hero-hub-card {
    padding: 2rem 1.5rem;
    border-radius: 22px;
  }

  .xeno-specs-matrix {
    grid-template-columns: repeat(2, 1fr);
    gap: 0.75rem;
  }

  .xeno-tactics-layout {
    grid-template-columns: 1fr;
    gap: 1.75rem;
  }

  .xeno-gifs-grid {
    grid-template-columns: 1fr;
    gap: 1.5rem;
  }

  .xeno-features-grid {
    grid-template-columns: 1fr;
    gap: 1.25rem;
  }

  .xeno-wishlist-banner {
    grid-template-columns: 1fr;
    border-radius: 20px;
  }

  .xeno-wishlist-content {
    padding: 2.25rem 1.75rem;
    text-align: center;
  }

  .xeno-wishlist-content div[style*="display: flex"] {
    justify-content: center;
  }

  .xeno-wishlist-art {
    min-height: 260px;
  }

  .untitled-social-hub {
    margin-top: 3.5rem;
  }

  .social-cards-grid {
    grid-template-columns: repeat(2, 1fr);
    gap: 1rem;
  }
}

/* 3. Smartphones (iPhone 15/16, iPhone SE, Samsung Galaxy, Pixel, etc. <= 580px) */
@media (max-width: 580px) {
  .xeno-hero-hub {
    padding-top: calc(var(--header-h) + 1rem);
    padding-bottom: 2.5rem;
  }

  .xeno-hero-hub-card {
    padding: 1.6rem 1.15rem 1.35rem;
    border-radius: 20px;
  }

  .xeno-hero-top-status {
    flex-direction: column;
    align-items: center;
    gap: 0.65rem;
    margin-bottom: 1.5rem;
  }

  .xeno-status-pill,
  .xeno-platform-pill {
    width: 100%;
    max-width: 320px;
    justify-content: center;
    font-size: 0.75rem;
    padding: 0.4rem 0.85rem;
    letter-spacing: 0.04em;
  }

  .xeno-logo-showcase {
    max-width: min(340px, 88vw);
    margin-bottom: 1rem;
  }

  .xeno-genre-title {
    font-size: clamp(1.05rem, 4.6vw, 1.35rem);
    letter-spacing: 0.05em;
    margin-bottom: 0.85rem;
  }

  .xeno-lead-text {
    font-size: 0.92rem;
    line-height: 1.6;
  }

  /* Master Steam Button on Small Touchscreens */
  .xeno-btn-steam-master {
    width: 100%;
    padding: 0.85rem 1rem;
    gap: 0.75rem;
    border-radius: 16px;
    justify-content: center;
  }

  .steam-icon-circle {
    width: 38px;
    height: 38px;
    min-width: 38px;
  }

  .steam-icon-circle svg {
    width: 22px;
    height: 22px;
  }

  .steam-btn-main {
    font-size: clamp(0.78rem, 3.5vw, 0.92rem);
    white-space: normal;
    line-height: 1.25;
    text-align: left;
  }

  .steam-btn-sub {
    font-size: 0.65rem;
  }

  .xeno-media-nav-bar {
    grid-template-columns: 1fr;
    width: 100%;
    gap: 0.5rem;
  }

  .xeno-nav-tab {
    padding: 0.7rem 1rem;
    font-size: 0.86rem;
    justify-content: center;
  }

  .xeno-specs-matrix {
    grid-template-columns: 1fr;
    gap: 0.55rem;
    padding-top: 1.25rem;
  }

  .spec-matrix-item {
    padding: 0.7rem 0.85rem;
  }

  /* Trailer Card Mobile */
  .xeno-trailer-bar {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
    padding: 0.75rem 1rem;
    font-size: 0.74rem;
  }

  .xeno-trailer-footer {
    flex-direction: column;
    align-items: stretch;
    gap: 0.85rem;
    padding: 1rem;
    text-align: center;
  }

  .xeno-trailer-links {
    flex-direction: column;
    gap: 0.65rem;
    width: 100%;
  }

  .xeno-trailer-links a {
    width: 100%;
    justify-content: center;
    text-align: center;
  }

  /* Tactics Arsenal */
  .xeno-tactic-item {
    padding: 1.15rem 1rem;
    gap: 0.85rem;
  }

  .xeno-tactic-icon-box {
    width: 44px;
    height: 44px;
    min-width: 44px;
    font-size: 1.35rem;
  }

  .xeno-tactic-info h4 {
    font-size: 1rem;
  }

  .xeno-tactic-info p {
    font-size: 0.85rem;
  }

  /* Screenshots & Swipeable Thumbnails */
  .xeno-gallery-header {
    padding: 0.75rem 1rem;
    font-size: 0.78rem;
  }

  .xeno-gallery-caption {
    padding: 0.85rem 1rem;
    flex-direction: column;
    align-items: flex-start;
    gap: 0.35rem;
  }

  .xeno-thumbs-grid {
    display: flex;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    gap: 0.65rem;
    padding-bottom: 0.6rem;
    scrollbar-width: thin;
  }

  .xeno-thumb-btn {
    flex: 0 0 46%;
    min-width: 130px;
    scroll-snap-align: start;
  }

  /* Lightbox Touch Controls */
  .xeno-lightbox-topbar {
    padding: 0.75rem 1rem;
  }

  .xeno-lightbox-close {
    font-size: 1.5rem;
    min-width: 44px;
    min-height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
  }

  .xeno-lightbox-nav {
    width: 42px;
    height: 42px;
    font-size: 1.4rem;
  }

  .xeno-lightbox-prev { left: 0.5rem; }
  .xeno-lightbox-next { right: 0.5rem; }

  .xeno-lightbox-img {
    max-width: 96vw;
    max-height: 74vh;
  }

  /* Social Hub Grid */
  .social-cards-grid {
    grid-template-columns: 1fr;
    gap: 0.75rem;
  }

  /* Newsletter Form */
  .newsletter-card {
    padding: 1.85rem 1.15rem;
  }

  .newsletter-input-wrap {
    flex-direction: column;
    gap: 0.75rem;
  }

  .newsletter-input,
  .newsletter-btn {
    width: 100%;
  }

  .xeno-btn-steam-primary {
    width: 100%;
    justify-content: center;
    font-size: 0.95rem;
    padding: 0.85rem 1.25rem;
  }
}

/* 4. Ultra-compact smartphones (iPhone 5/SE 1st gen, small Androids <= 360px) */
@media (max-width: 360px) {
  .xeno-hero-hub-card {
    padding: 1.25rem 0.85rem 1rem;
  }

  .xeno-status-pill,
  .xeno-platform-pill {
    font-size: 0.7rem;
    padding: 0.35rem 0.65rem;
  }

  .spec-matrix-item {
    padding: 0.55rem 0.65rem;
  }

  .spec-info strong {
    font-size: 0.84rem;
  }

  .spec-info small {
    font-size: 0.72rem;
  }

  .xeno-thumb-btn {
    flex: 0 0 54%;
  }
}



/* Exact navbar consistency matching index.html */
.untitled-page .site-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  height: var(--header-h);
  z-index: 100;
  background: rgba(5, 7, 13, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border);
  transition: background 0.3s, border-color 0.3s;
}

.untitled-page .site-header.scrolled {
  background: rgba(5, 7, 13, 0.92);
  border-color: rgba(56, 189, 248, 0.2);
}

.untitled-page .nav-links {
  display: flex;
  align-items: center;
  gap: 1.25rem;
}

.untitled-page .nav-links a:not(.btn):not(.nav-game-link) {
  font-size: 0.9rem;
  font-weight: 500;
  color: var(--text-muted);
  text-decoration: none;
  transition: color 0.2s ease;
}

.untitled-page .nav-links a:not(.btn):not(.nav-game-link):hover {
  color: var(--cyan);
}

@media (min-width: 1025px) and (max-width: 1240px) {
  .untitled-page .nav-links {
    gap: 0.85rem;
  }
  .untitled-page .nav-links a:not(.btn):not(.nav-game-link) {
    font-size: 0.82rem;
  }
  .untitled-page .nav-game-link {
    font-size: 0.82rem;
    padding: 0.28rem 0.75rem 0.28rem 0.35rem !important;
  }
}

