/* ── Page Wipe Transition ── */
.page-wipe {
  position: fixed;
  inset: 0;
  z-index: 9999;
  background: #000;
  pointer-events: none;
}

.page-wipe.loaded {
  animation: wipeRight 0.8s cubic-bezier(0.77, 0, 0.175, 1) forwards;
}

@keyframes wipeRight {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(100%);
  }
}

/* ── Video Background ── */
#video-container {
  background-color: #0a0a0a;
}

#bg-video {
  filter: brightness(0.7) saturate(1.1);
}

/* YouTube background — scale iframe to cover viewport and crop YouTube UI */
#yt-player-wrap {
  pointer-events: none;
}

#yt-player-wrap iframe {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 120vw;
  height: 120vh;
  min-width: 120vw;
  min-height: 120vh;
  transform: translate(-50%, -50%);
  filter: brightness(0.7) saturate(1.1);
}

/* ── Title Glow Effect ── */
.title-glow {
  font-variation-settings: "MORF" 15, "SHLN" 50;
  filter: drop-shadow(0 0 12px rgba(255, 91, 26, 0.4));
}

/* ── Social Icon Hover ── */
.social-icon {
  color: #ededed;
  transition: color 0.25s ease, transform 0.25s ease, filter 0.25s ease;
}

.social-icon:hover {
  color: #ff5b1a;
  transform: scale(1.15);
  filter: drop-shadow(0 0 6px rgba(255, 91, 26, 0.5));
}

/* ── Fade-in Animation ── */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(24px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

main h1 {
  animation: fadeInUp 1s ease-out 1s both;
}

main p {
  animation: fadeInUp 1s ease-out 1.3s both;
}

main > div {
  animation: fadeInUp 1s ease-out 1.6s both;
}

/* ── Coming Soon Button ── */
.steam-btn {
  box-shadow: 0 0 20px rgba(0, 0, 0, 0.4);
  transition: background-color 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}

.steam-btn:hover {
  background-color: #444444;
  border-color: #ff5b1a;
  box-shadow: 0 0 16px rgba(255, 91, 26, 0.3);
  transform: scale(1.03);
}

/* ── Responsive Adjustments ── */
@media (max-width: 640px) {
  header {
    padding: 0.75rem 1rem;
  }

  .social-icon svg {
    width: 18px;
    height: 18px;
  }
}
