/* TuWoW Features Page - Cinematic Full-Bleed Banners with Natural Text Shading */
html, body.features-page-body {
  margin: 0;
  padding: 0;
  width: 100%;
  overflow-x: hidden;
  background: #050505;
  color: #e7e7e7;
  font-family: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
}

/* Ensure no floating language menu ever appears at the top on the features page */
body.features-page-body > [data-language-menu],
body.features-page-body > .account-language-floating,
body.features-page-body .account-language-floating:not(.footer-language-menu) {
  display: none !important;
}

/* Seamless transition from last feature banner into footer */
body.features-page-body .features-main {
  margin-bottom: 0 !important;
  padding-bottom: 0 !important;
}

body.features-page-body .features-banner-stack {
  margin-bottom: 0 !important;
}

body.features-page-body .feature-banner-item:last-child {
  border-bottom: 0 !important;
  box-shadow: none !important;
}

body.features-page-body .site-footer {
  margin-top: 0 !important;
  border-top: 0 !important;
  box-shadow: none !important;
  background:
    linear-gradient(180deg, #050505 0%, rgba(5, 5, 5, 0.85) 20%, rgba(5, 4, 3, 0.45) 50%, rgba(3, 3, 3, 0.8) 100%),
    url("../images/footer.jpg") center 22% / cover no-repeat,
    #050505 !important;
}

body.features-page-body .footer-shell {
  padding-top: 26px !important;
}

/* Language selector strictly inside the footer */
.footer-language-slot .language-menu,
.footer-language-menu,
[data-language-menu].footer-language-menu {
  position: relative !important;
  top: auto !important;
  right: auto !important;
  bottom: auto !important;
  left: auto !important;
  transform: none !important;
  margin: 0 auto !important;
  display: inline-block !important;
  z-index: 24 !important;
}

/* Top Bar with Red Register-Style Go Back Button */
.features-top-bar {
  width: 100%;
  max-width: 100%;
  padding: 24px 28px;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: flex-start;
  position: absolute;
  top: 0;
  left: 0;
  z-index: 100;
  background: linear-gradient(180deg, rgba(5, 5, 5, 0.85) 0%, rgba(5, 5, 5, 0) 100%);
  pointer-events: none;
}

.features-back-btn {
  pointer-events: auto;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  height: 40px;
  min-height: 40px;
  padding: 0 20px;
  border: 1px solid rgba(255, 105, 105, 0.72);
  background: linear-gradient(180deg, #e31c27 0%, #bd0e18 100%);
  color: #ffffff;
  font-family: var(--font-display, 'Cinzel', Georgia, serif);
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.9px;
  text-transform: uppercase;
  text-decoration: none;
  border-radius: 2px;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.18), 0 12px 28px rgba(125, 0, 8, 0.4);
  transition: all 0.2s ease;
  cursor: pointer;
}

.features-back-btn:hover,
.features-back-btn:focus-visible {
  background: linear-gradient(180deg, #f12934 0%, #cf101b 100%);
  border-color: rgba(255, 181, 181, 0.95);
  color: #ffffff;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.22), 0 15px 34px rgba(143, 0, 10, 0.5);
  transform: translateY(-1px);
}

.features-back-btn svg {
  width: 16px;
  height: 16px;
  stroke-width: 2.4;
}

/* Main Container */
.features-main {
  width: 100%;
  padding-top: 0;
}

.features-banner-stack {
  width: 100%;
  display: flex;
  flex-direction: column;
  gap: 0;
}

/* Feature Item with Metallic Golden Bronze Border Separator */
.feature-banner-item {
  width: 100%;
  position: relative;
  isolation: isolate;
  background: #050505;
  border-bottom: 1px solid rgba(110,110,110, 0.34);
  box-shadow:
    inset 0 30px 44px -42px rgba(0, 0, 0, 0.95),
    inset 0 -30px 44px -42px rgba(0, 0, 0, 0.95);
  overflow: hidden;
}

.feature-banner-item::after {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), transparent 18%, transparent 82%, rgba(5, 5, 5, 0.42)),
    linear-gradient(90deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.72) 24%, rgba(5, 5, 5, 0.18) 48%, transparent 68%);
}

.feature-banner-item.align-right::after {
  background:
    linear-gradient(180deg, rgba(5, 5, 5, 0.2), transparent 18%, transparent 82%, rgba(5, 5, 5, 0.42)),
    linear-gradient(270deg, rgba(5, 5, 5, 0.94) 0%, rgba(5, 5, 5, 0.72) 24%, rgba(5, 5, 5, 0.18) 48%, transparent 68%);
}

.feature-banner-item:last-child {
  border-bottom: 0;
}

/* Full Aspect Ratio Uncropped Image */
.feature-banner-item img {
  width: 100%;
  height: auto;
  display: block;
  position: relative;
  z-index: 0;
}

/* Pure Typography with Soft Atmospheric Background Shading - NO SQUARE, NO BORDER */
.feature-banner-overlay {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  max-width: 660px;
  width: min(88%, 660px);
  padding: 34px 44px;
  box-sizing: border-box;
  border: none !important;
  border-radius: 0 !important;
  box-shadow: none !important;
  z-index: 2;
  pointer-events: none;
  background: transparent !important;
}

/* Left-aligned items: soft feathered shadow darkening behind text on left */
.feature-banner-item.align-left .feature-banner-overlay {
  left: clamp(24px, 6vw, 110px);
  right: auto;
  text-align: left;
  background: radial-gradient(ellipse at 35% 50%, rgba(3, 2, 2, 0.88) 0%, rgba(3, 2, 2, 0.62) 48%, rgba(3, 2, 2, 0.18) 75%, transparent 100%);
}

/* Right-aligned items: soft feathered shadow darkening behind text on right */
.feature-banner-item.align-right .feature-banner-overlay {
  right: clamp(24px, 6vw, 110px);
  left: auto;
  text-align: right;
  background: radial-gradient(ellipse at 65% 50%, rgba(3, 2, 2, 0.88) 0%, rgba(3, 2, 2, 0.62) 48%, rgba(3, 2, 2, 0.18) 75%, transparent 100%);
}

/* Dynamic Large Warcraft Gold Title */
.feature-banner-overlay h2 {
  font-family: var(--font-display, 'Cinzel', 'Warcraft', 'Trajan Pro', Georgia, serif);
  font-size: clamp(26px, 3.2vw, 44px);
  font-weight: 900;
  letter-spacing: 0.04em;
  line-height: 1.15;
  color: #d1d1d1;
  margin: 0 0 16px 0;
  text-transform: uppercase;
  text-shadow: 
    0 2px 4px #000000,
    0 4px 14px rgba(0, 0, 0, 0.98),
    0 0 25px rgba(0, 0, 0, 0.9),
    0 0 35px rgba(209,209,209, 0.35);
}

/* Dynamic High-Contrast Clean Body Text */
.feature-banner-overlay p {
  font-family: var(--font-body, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif);
  font-size: clamp(16px, 1.5vw, 22px);
  line-height: 1.65;
  color: #e7e7e7;
  margin: 0;
  font-weight: 450;
  text-shadow: 
    0 2px 4px #000000,
    0 3px 12px rgba(0, 0, 0, 0.98),
    0 0 20px rgba(0, 0, 0, 0.85);
}

/* Responsive Tablet and Mobile */
@media (max-width: 860px) {
  .feature-banner-overlay {
    max-width: 90%;
    padding: 24px 28px;
  }
}

@media (max-width: 640px) {
  .features-top-bar {
    padding: 16px;
  }

  .features-back-btn {
    height: 36px;
    min-height: 36px;
    padding: 0 14px;
    font-size: 11px;
  }

  .feature-banner-overlay {
    position: relative;
    top: auto;
    bottom: auto;
    left: 0 !important;
    right: 0 !important;
    transform: none !important;
    width: 100%;
    max-width: 100%;
    padding: 20px 18px 24px;
    background: linear-gradient(180deg, #0a0908 0%, #050505 100%) !important;
    text-align: left !important;
    border-top: 1px solid rgba(110,110,110, 0.5) !important;
  }

  .feature-banner-item::after,
  .feature-banner-item.align-right::after {
    background: linear-gradient(180deg, transparent 52%, rgba(5, 5, 5, 0.72) 100%);
  }

  .feature-banner-overlay h2 {
    font-size: 22px;
    margin-bottom: 10px;
  }

  .feature-banner-overlay p {
    font-size: 15px;
    line-height: 1.55;
  }
}

/* Standard site header (fixed top menu) now sits above the banners - 2026-10-23 */
body.features-page-body .features-main {
  padding-top: 56px;
}

@media (max-width: 820px) {
  body.features-page-body .features-main {
    padding-top: 113px;
  }
}
