/* ============================================================
   WRATH VR: AEON OF RUIN — Game Page Styles
   ============================================================ */

:root {
  --wr-black:   #170602;
  --wr-red:     #d81f1f;
  --wr-red-dim: #8a1414;
  --wr-cream:   #f3ead9;
  --wr-text:    rgba(255, 255, 255, 0.88);
}

@font-face {
  font-family: 'Creature of the swimming pool';
  src: url('../assets/fonts/CreatureOfTheSwimmingPool.ttf') format('truetype');
  font-weight: 400;
  font-display: swap;
}

.wrath-page {
  background-color: var(--wr-black);
  color: var(--wr-text);
}

.wr-headline {
  font-family: 'Creature of the swimming pool', 'AnotherDanger', 'Quatro', system-ui, sans-serif;
  font-weight: 400;
  color: var(--wr-red);
  letter-spacing: 0.02em;
}

/* ---- HERO ---- */
.wr-hero {
  position: relative;
  overflow: hidden;
  min-height: 720px;
  background: var(--wr-black);
}

.wr-hero-bg {
  position: absolute;
  inset: 0;
}

.wr-hero-video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  display: block;
}

.wr-hero-bg::after {
  content: '';
  position: absolute;
  inset: 0;
  background: linear-gradient(to bottom,
    rgba(23,6,2,0.4) 0%,
    rgba(23,6,2,0.2) 35%,
    rgba(23,6,2,0.35) 65%,
    rgba(23,6,2,0.85) 90%,
    rgba(23,6,2,1) 100%);
}

.wr-hero-content {
  position: absolute;
  inset: 0;
  top: var(--nav-h);
  z-index: 2;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 0 24px;
  text-align: center;
}

.wr-hero-logo-wrap {
  position: relative;
  display: inline-block;
}

.wr-hero-logo {
  width: min(520px, 88vw);
  display: block;
  filter: drop-shadow(0 4px 24px rgba(0,0,0,0.7));
  transform: translateY(-85px);
}

.wr-hero-badge {
  position: absolute;
  top: 34%;
  right: -10%;
  width: min(150px, 24vw);
  filter: drop-shadow(0 4px 16px rgba(0,0,0,0.6));
  transform-origin: center;
  animation: wr-badge-stamp 0.6s cubic-bezier(0.2, 0.8, 0.3, 1) 0.4s both;
}

@keyframes wr-badge-stamp {
  0%   { transform: scale(3.2) rotate(14deg); opacity: 0; }
  50%  { transform: scale(0.92) rotate(-6deg); opacity: 1; }
  70%  { transform: scale(1.08) rotate(-2deg); }
  85%  { transform: scale(0.97) rotate(-5deg); }
  100% { transform: scale(1) rotate(-4deg); }
}

@media (prefers-reduced-motion: reduce) {
  .wr-hero-badge {
    animation: none;
    transform: rotate(-4deg);
  }
}

.wr-hero-status {
  font-family: 'Creature of the swimming pool', 'AnotherDanger', 'Quatro', system-ui, sans-serif;
  font-weight: 400;
  font-size: clamp(1.6rem, 3.6vw, 2.4rem);
  letter-spacing: 0.05em;
  color: var(--wr-cream);
}

.wr-hero-buttons {
  display: flex;
  flex-wrap: wrap;
  gap: 30px;
  justify-content: center;
  align-items: center;
}

.wr-hero-buy {
  display: block;
  transition: transform 0.25s ease, filter 0.25s ease;
}

.wr-hero-buy:hover {
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(200,17,27,0.4)) brightness(1.08);
}

.wr-hero-buy img {
  height: 50px;
  width: auto;
}

/* ---- HUNT THE CORRUPTED ---- */
.wr-hunt {
  position: relative;
  overflow: hidden;
  background: var(--wr-black);
  width: 100%;
  aspect-ratio: 2200 / 1050;
  min-height: 490px;
  display: flex;
  align-items: flex-start;
  padding: 36px 0 96px;
  margin-top: -20px;
  text-align: center;
}

.wr-hunt-bg {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  width: 100%;
  height: auto;
  z-index: 0;
}

.wr-hunt::before {
  content: '';
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(to bottom,
    rgba(23,6,2,0.92) 0%,
    rgba(23,6,2,0.75) 22%,
    rgba(23,6,2,0.15) 45%,
    rgba(23,6,2,0) 60%);
}

.wr-hunt-content {
  position: relative;
  z-index: 2;
  width: 100%;
}

.wr-hunt-title {
  font-family: 'AnotherDanger', 'Quatro', system-ui, sans-serif;
  font-size: clamp(2.2rem, 6vw, 4rem);
  margin-bottom: 32px;
}

.wr-hunt-desc {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05rem;
  line-height: 1.85;
  color: var(--wr-text);
}

.wr-hunt-desc strong {
  color: var(--wr-cream);
}

/* ---- TRAILER ---- */
.wr-trailer {
  background: var(--wr-black);
}

.wr-trailer-frame {
  position: relative;
  width: 100%;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  background: #000;
}

.wr-trailer-iframe {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  border: 0;
  pointer-events: none;
}

.wr-trailer-link {
  position: absolute;
  inset: 0;
  z-index: 2;
  display: block;
  cursor: pointer;
}

/* ---- FEATURES GRID ---- */
.wr-features {
  background: var(--wr-black);
  padding: 64px 0 0;
}

.wr-features-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  column-gap: 64px;
  row-gap: 48px;
}

.wr-feature {
  display: flex;
  gap: 18px;
  align-items: flex-start;
}

.wr-feature-icon {
  flex-shrink: 0;
  width: 56px;
  height: auto;
  margin-top: 2px;
}

.wr-feature-title {
  font-size: 1.55rem;
  margin-bottom: 10px;
  line-height: 1.25;
}

.wr-feature-body p {
  color: var(--wr-text);
  font-size: 0.95rem;
  line-height: 1.6;
}

/* ---- EXPAND YOUR ARSENAL ---- */
.wr-arsenal {
  background: var(--wr-black);
  padding: 56px 0 72px;
}

.wr-arsenal-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 40px;
  align-items: center;
}

.wr-arsenal-carousel {
  position: relative;
  width: 100%;
  aspect-ratio: 4 / 3;
  border-radius: 10px;
  overflow: hidden;
  background: var(--wr-black);
}

.wr-arsenal-slide {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  opacity: 0;
  transition: opacity 0.5s ease;
}

.wr-arsenal-slide.active {
  opacity: 1;
}

.wr-arsenal-dots {
  display: flex;
  justify-content: center;
  gap: 10px;
  margin-top: 20px;
}

.wr-arsenal-dots .wr-arsenal-dot {
  width: 10px;
  height: 10px;
  padding: 0;
  border: none;
  border-radius: 50%;
  background: var(--wr-red-dim);
  cursor: pointer;
  transition: background 0.2s, transform 0.2s;
}

.wr-arsenal-dots .wr-arsenal-dot.active {
  background: var(--wr-red);
  transform: scale(1.2);
}

.wr-arsenal-title {
  font-size: clamp(1.6rem, 3vw, 2.2rem);
  line-height: 1.15;
  margin-bottom: 20px;
}

.wr-arsenal-text p {
  color: var(--wr-text);
  font-size: 1rem;
  line-height: 1.7;
}

.wr-arsenal-text {
  transition: opacity 0.2s ease;
}

.wr-arsenal-text.is-fading {
  opacity: 0;
}

/* ---- THE HUNT CONTINUES HERE (newsletter) ---- */
.wr-newsletter {
  position: relative;
  background: #1a1a1a url('../assets/wrathvr/wrathvr-stone-bg.jpg') center / cover no-repeat;
  padding: 72px 0;
}

.wr-newsletter-banner {
  font-family: 'AnotherDanger', 'Quatro', system-ui, sans-serif;
  text-align: center;
  font-size: clamp(2rem, 5vw, 3.2rem);
  margin-bottom: 56px;
}

.wr-newsletter-heading {
  font-size: clamp(2rem, 4.5vw, 3rem);
  line-height: 1.1;
  color: var(--wr-cream);
  margin-bottom: 20px;
}

.wr-newsletter-inner {
  display: grid;
  grid-template-columns: 1.1fr 0.9fr;
  gap: 40px;
  align-items: center;
}

.wr-newsletter-text p {
  color: var(--wr-text);
  font-size: 1rem;
  line-height: 1.7;
  max-width: 480px;
  margin-bottom: 28px;
}

.wr-newsletter-form-row {
  display: flex;
  flex-direction: row;
  gap: 14px;
  max-width: 520px;
}

.wr-newsletter-form-row input[type="email"] {
  flex: 1;
  background: transparent;
  border: 1.5px solid var(--wr-red);
  border-radius: 6px;
  padding: 0 18px;
  height: 50px;
  color: #fff;
  font-size: 0.95rem;
  outline: none;
}

.wr-newsletter-form-row input[type="email"]::placeholder {
  color: rgba(255,255,255,0.5);
}

.wr-newsletter-submit {
  border: none;
  border-radius: 6px;
  padding: 0 26px;
  height: 50px;
  background: var(--wr-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  cursor: pointer;
  transition: transform 0.25s ease, filter 0.25s ease, background 0.2s;
  white-space: nowrap;
}

.wr-newsletter-submit:hover {
  background: #b91515;
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(200,17,27,0.4)) brightness(1.08);
}

.wr-newsletter-diary {
  display: flex;
  justify-content: center;
}

.wr-newsletter-diary img {
  width: 100%;
  max-width: 340px;
  filter: drop-shadow(0 16px 40px rgba(0,0,0,0.7));
  animation: wr-diary-float 4s ease-in-out infinite;
}

@keyframes wr-diary-float {
  0%, 100% { transform: translateY(0); }
  50%      { transform: translateY(-10px); }
}

@media (prefers-reduced-motion: reduce) {
  .wr-newsletter-diary img {
    animation: none;
  }
}

/* ---- BECOME THE OUTLANDER ---- */
.wr-outlander {
  position: relative;
  background: #3a0d0c url('../assets/wrathvr/wrathvr-outlander-bg.jpg') center / cover no-repeat;
  padding: 64px 0;
  overflow: hidden;
}

.wr-outlander-inner {
  position: relative;
  z-index: 2;
  display: flex;
  justify-content: flex-end;
}

.wr-outlander-text {
  max-width: 480px;
}

.wr-outlander-title-img {
  width: min(336px, 100%);
  height: auto;
  margin-bottom: 20px;
}

.wr-outlander-text p {
  color: var(--wr-text);
  font-size: 1.05rem;
  line-height: 1.6;
  margin-bottom: 8px;
}

.wr-outlander-cta {
  display: inline-flex;
  align-items: center;
  margin-top: 24px;
  padding: 15px 30px;
  background: var(--wr-red);
  color: #fff;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.05em;
  text-transform: uppercase;
  border-radius: 6px;
  transition: transform 0.25s ease, filter 0.25s ease, background 0.2s;
}

.wr-outlander-cta:hover {
  background: #b91515;
  transform: translateY(-6px) scale(1.06);
  filter: drop-shadow(0 6px 14px rgba(200,17,27,0.4)) brightness(1.08);
}

.wr-outlander-social {
  margin-top: 40px;
  display: flex;
  align-items: center;
  gap: 20px;
}

.wr-outlander-social-label {
  font-family: 'Quatro', system-ui, sans-serif;
  font-weight: 700;
  font-size: 0.85rem;
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: #fff;
}

.wr-outlander-social-icons {
  display: flex;
  gap: 20px;
}

.wr-outlander-social-icons a {
  color: #fff;
  font-size: 1.4rem;
  transition: color 0.2s, transform 0.2s;
}

.wr-outlander-social-icons a:hover {
  transform: translateY(-3px);
}

/* ---- HEADER/FOOTER OVERRIDE ---- */
.wrath-page .site-header,
.wrath-page .site-header.scrolled {
  background: var(--wr-black);
}

.wrath-page .btn-merch {
  background: var(--wr-red);
  color: #ffffff;
}

.wrath-page .btn-merch:hover {
  background: #b91515;
}

/* ---- RESPONSIVE ---- */
@media (max-width: 860px) {
  .wr-features-grid {
    grid-template-columns: 1fr;
    row-gap: 36px;
  }

  .wr-arsenal-grid,
  .wr-newsletter-inner {
    grid-template-columns: 1fr;
    text-align: center;
  }

  .wr-outlander-inner {
    justify-content: center;
    text-align: center;
  }

  .wr-arsenal-text,
  .wr-newsletter-text,
  .wr-outlander-text {
    display: flex;
    flex-direction: column;
    align-items: center;
  }

  .wr-newsletter-form-row {
    margin: 0 auto;
  }

  .wr-outlander-social {
    justify-content: center;
  }

  .wr-feature {
    text-align: left;
  }

  .wr-hero-badge {
    right: -4%;
  }
}

@media (max-width: 480px) {
  .wr-newsletter-form-row {
    gap: 8px;
  }

  .wr-newsletter-form-row input[type="email"] {
    padding: 0 12px;
    font-size: 0.85rem;
  }

  .wr-newsletter-submit {
    padding: 0 16px;
    font-size: 0.75rem;
  }
}
