/* VTX welcome page for Wanderer: styles for the page welcome.js builds (/welcome only).
   Look follows vtxg.org: #050505, logo behind a vignette, uppercase spaced type, blood-red accents. */
html.vtx-wl-on body > main {
  display: none !important;
}

.vtx-wl {
  --vtx-bg: #050505;
  --vtx-text: #e0e0e0;
  --vtx-muted: #9a9a9a;
  --vtx-blood: #8b0000;
  --vtx-crimson: #c62828;
  --vtx-gold: #c8a465;
  --vtx-line: #2a2a2a;
  position: relative;
  min-height: calc(100vh - var(--vtx-site-nav-h, 0px));
  display: flex;
  flex-direction: column;
  color: var(--vtx-text);
  font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
  background: var(--vtx-bg);
  overflow-x: hidden;
}
.vtx-wl a {
  color: inherit;
}

/* Background logo + vignette */
.vtx-wl-bg {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
}
.vtx-wl-logo {
  position: absolute;
  inset: 0;
  background: url('/vtx-theme/vtx-logo.png?v=1') center 42% / min(78vmin, 640px) no-repeat;
  opacity: 0.18;
  filter: drop-shadow(0 0 40px rgba(139, 0, 0, 0.6));
}
.vtx-wl-vignette {
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at center 42%, transparent 0%, rgba(0, 0, 0, 0.55) 55%, #000 100%);
}

.vtx-wl-hero,
.vtx-wl-news,
.vtx-wl-footer {
  position: relative;
  z-index: 1;
}

/* Hero */
.vtx-wl-hero {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
  min-height: min(78vh, 760px);
  padding: 3rem 16px 2.5rem;
  box-sizing: border-box;
}
.vtx-wl-eyebrow {
  margin: 0 0 0.6rem;
  color: var(--vtx-gold);
  font-size: 0.95rem;
  letter-spacing: 6px;
  text-transform: uppercase;
}
.vtx-wl-title {
  margin: 0;
  font-size: clamp(2.6rem, 9vw, 5.5rem);
  font-weight: 700;
  line-height: 1.05;
  letter-spacing: clamp(5px, 1.4vw, 14px);
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 0 20px rgba(255, 255, 255, 0.2);
  margin-right: calc(-1 * clamp(5px, 1.4vw, 14px)); /* keep the spaced word optically centred */
}
.vtx-wl-tagline {
  margin: 0.6rem 0 0;
  color: var(--vtx-crimson);
  font-size: clamp(1.1rem, 2.6vw, 1.6rem);
  font-weight: 700;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.vtx-wl-lead {
  max-width: 34rem;
  margin: 1.6rem 0 0;
  color: #c8c8c8;
  font-size: 1.05rem;
  line-height: 1.55;
}
.vtx-wl-sso {
  display: inline-block;
  margin-top: 2rem;
  padding: 3px;
  border: 1px solid var(--vtx-blood);
  background: rgba(139, 0, 0, 0.25);
  box-shadow: 0 0 18px rgba(139, 0, 0, 0.55);
  transition: box-shadow 0.3s ease, border-color 0.3s ease, transform 0.3s ease;
}
.vtx-wl-sso img {
  display: block;
  width: 270px;
  max-width: calc(100vw - 48px);
  height: auto;
}
.vtx-wl-sso:hover,
.vtx-wl-sso:focus-visible {
  border-color: var(--vtx-crimson);
  box-shadow: 0 0 28px rgba(198, 40, 40, 0.8);
  transform: translateY(-1px);
  outline: none;
}
.vtx-wl-note {
  margin: 1rem 0 0;
  color: var(--vtx-muted);
  font-size: 0.9rem;
}
.vtx-wl-note a {
  color: var(--vtx-gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(200, 164, 101, 0.4);
}
.vtx-wl-note a:hover {
  border-bottom-color: var(--vtx-gold);
}
.vtx-wl-links {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 0.5rem 1.8rem;
  margin-top: 2.4rem;
}
.vtx-wl-links a {
  position: relative;
  color: #bbb;
  font-size: 0.85rem;
  letter-spacing: 2px;
  text-transform: uppercase;
  text-decoration: none;
  transition: color 0.3s ease;
}
.vtx-wl-links a::after {
  content: '';
  position: absolute;
  left: 0;
  bottom: -5px;
  width: 0;
  height: 2px;
  background: var(--vtx-blood);
  transition: width 0.3s ease;
}
.vtx-wl-links a:hover {
  color: #fff;
}
.vtx-wl-links a:hover::after {
  width: 100%;
}

/* News and guides */
.vtx-wl-news {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
  padding: 0 16px 3rem;
  box-sizing: border-box;
}
.vtx-wl-heading {
  display: flex;
  align-items: center;
  gap: 1rem;
  margin: 0 0 1.5rem;
  color: #ddd;
  font-size: 1rem;
  font-weight: 600;
  letter-spacing: 4px;
  text-transform: uppercase;
}
.vtx-wl-heading::before,
.vtx-wl-heading::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--vtx-blood));
}
.vtx-wl-heading::after {
  background: linear-gradient(90deg, var(--vtx-blood), transparent);
}
.vtx-wl-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(min(260px, 100%), 1fr));
  gap: 1rem;
}
.vtx-wl-card {
  display: flex;
  flex-direction: column;
  min-width: 0;
  text-decoration: none;
  background: rgba(13, 13, 13, 0.82);
  border: 1px solid var(--vtx-line);
  border-top: 2px solid var(--vtx-blood);
  backdrop-filter: blur(3px);
  transition: border-color 0.25s ease, box-shadow 0.25s ease, transform 0.25s ease;
}
.vtx-wl-card img {
  display: block;
  width: 100%;
  aspect-ratio: 5 / 3;
  object-fit: cover;
  opacity: 0.7;
  filter: grayscale(35%);
  transition: opacity 0.25s ease, filter 0.25s ease;
}
.vtx-wl-card-body {
  display: flex;
  flex-direction: column;
  gap: 0.3rem;
  padding: 0.8rem 0.9rem 0.95rem;
}
.vtx-wl-card-kind {
  color: var(--vtx-gold);
  font-size: 0.72rem;
  letter-spacing: 2px;
  text-transform: uppercase;
}
.vtx-wl-card-title {
  color: #eee;
  font-size: 0.98rem;
  line-height: 1.35;
}
.vtx-wl-card:hover,
.vtx-wl-card:focus-visible {
  border-color: rgba(198, 40, 40, 0.7);
  box-shadow: 0 0 18px rgba(139, 0, 0, 0.45);
  transform: translateY(-2px);
  outline: none;
}
.vtx-wl-card:hover img,
.vtx-wl-card:focus-visible img {
  opacity: 1;
  filter: none;
}

/* Footer: Wanderer's partner badge and CCP notice */
.vtx-wl-footer {
  margin-top: auto;
  padding: 1.5rem 16px 2rem;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.7);
  text-align: center;
  font-size: 0.85rem;
}
.vtx-wl-footer-inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 0.75rem;
  color: #888;
}
.vtx-wl-footer-inner img {
  width: 220px !important;
  max-width: 100%;
  opacity: 0.85;
}
.vtx-wl-footer-inner a {
  color: #bbb;
}
.vtx-wl-footer-inner a:hover {
  color: #fff;
}

@media (max-width: 480px) {
  .vtx-wl-hero { min-height: auto; padding-top: 2.5rem; }
  .vtx-wl-eyebrow { font-size: 0.8rem; letter-spacing: 4px; }
  .vtx-wl-tagline { letter-spacing: 3px; }
  .vtx-wl-links { gap: 0.5rem 1.1rem; }
  .vtx-wl-links a { font-size: 0.78rem; letter-spacing: 1.5px; }
}
@media (prefers-reduced-motion: reduce) {
  .vtx-wl-sso,
  .vtx-wl-card {
    transition: none;
  }
}
