/* WAUR Launch Discounts. All classes prefixed .wld- to avoid clashes with site CSS. */
.wld {
  --wld-bg: #170B1F;
  --wld-panel: rgba(18, 8, 26, .88);
  --wld-pink: #FF4FA0;
  --wld-pink-line: #FF2D87;
  --wld-pink-soft: #FF8CC0;
  --wld-ink: #F3EEF5;
  --wld-ink-2: #E6DCEC;
  --wld-ink-3: #C7B3D6;
  --wld-legal: #B4A3C2;
  container-type: inline-size;
  font-family: 'Work Sans', system-ui, sans-serif;
  color: var(--wld-ink);
  background: var(--wld-bg) url(assets/floral-bg.jpg) center top / 1400px auto;
  -webkit-font-smoothing: antialiased;
}
.wld *, .wld *::before, .wld *::after { box-sizing: border-box; }
.wld a { color: var(--wld-pink); }
.wld a:hover { color: #fff; }

/* Hero */
.wld-hero {
  position: relative;
  aspect-ratio: 1200 / 560;
  max-height: 560px;
  width: 100%;
  overflow: hidden;
  background: var(--wld-bg) url(assets/floral-bg.jpg) center top / 1400px auto;
}
/* Art layer: grows with the screen up to 1920px, then stays centered while the floral ground fills the sides */
.wld-hero::before {
  content: ""; position: absolute; top: 0; bottom: 0; left: 50%; transform: translateX(-50%);
  width: 100%; max-width: 1920px;
  background: url(assets/hero-desktop.jpg) center top / cover no-repeat;
}
@container (min-width: 1921px) {
  .wld-hero::before {
    -webkit-mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
    mask-image: linear-gradient(90deg, transparent 0, #000 12%, #000 88%, transparent 100%);
  }
}
.wld-hero::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, rgba(23,11,31,0) 50%, rgba(23,11,31,.85) 82%, var(--wld-bg) 100%);
}
.wld-hero__inner {
  position: absolute; z-index: 1; left: max(6.67%, calc(50% - 520px)); right: max(6.67%, calc(50% - 520px)); bottom: 36px;
  display: flex; justify-content: space-between; align-items: flex-end; gap: 32px;
}
.wld-logo { width: 30%; max-width: 360px; min-width: 200px; height: auto; display: block; margin-left: -10px; flex-shrink: 0; filter: drop-shadow(0 4px 24px rgba(0,0,0,.6)); }
.wld-titles { display: flex; flex-direction: column; gap: 8px; align-items: flex-end; text-align: right; padding-bottom: 8px; white-space: nowrap; }
.wld-eyebrow { margin: 0; font-size: 14px; font-weight: 700; letter-spacing: .18em; text-transform: uppercase; color: var(--wld-pink); }
.wld-h1 { margin: 0; font-size: 56px; font-weight: 900; line-height: 1; color: #fff; text-shadow: 0 2px 24px rgba(0,0,0,.6); }
.wld-eyebrow .wld-short { display: none; }
.wld-time { margin: -2px 0 0; font-size: 15px; font-weight: 500; color: #fff; text-shadow: 0 1px 10px rgba(0,0,0,.7); }

/* Body */
.wld-body { max-width: 1200px; margin: 0 auto; padding: 24px 80px 80px; }
.wld-lede { margin: 0; font-size: 28px; font-weight: 700; color: #fff; white-space: nowrap; }
.wld-lede em { font-style: normal; color: var(--wld-pink); }

/* Desktop table */
.wld-table-wrap { margin-top: 32px; background: var(--wld-panel); border: 1px solid rgba(255,79,160,.25); padding: 8px 32px 0; }
.wld-table { width: 100%; border-collapse: collapse; font-size: 15px; }
.wld-table th { text-align: left; vertical-align: bottom; font-size: 12px; font-weight: 700; letter-spacing: .12em; text-transform: uppercase; color: var(--wld-ink-3); padding: 20px 12px 14px; }
.wld-table td { vertical-align: top; padding: 20px 12px; border-top: 1px solid rgba(255,255,255,.1); color: var(--wld-ink-2); line-height: 1.45; }
.wld-table th:first-child { padding-left: 0; }
.wld-table th:last-child, .wld-table td:last-child { padding-right: 0; }
.wld-table th[rowspan] { border-top: 1px solid rgba(255,255,255,.1); }
.wld-table th.wld-platform { text-align: left; vertical-align: top; padding: 20px 12px 20px 0; border-top: 1px solid rgba(255,255,255,.1); font-weight: 700; font-size: 17px; letter-spacing: 0; text-transform: none; color: #fff; }
.wld-col-platform { width: 15%; } .wld-col-buyer { width: 16%; } .wld-col-new { width: 11%; }
.wld-col-own { width: 13%; } .wld-col-orig { width: 17%; } .wld-col-how { width: 28%; }
.wld-num { font-size: 22px; font-weight: 800; color: #fff; }
.wld-off { font-size: 13px; color: var(--wld-ink-3); }
.wld-full { color: var(--wld-ink-3); font-weight: 500; }
/* Highlighted owner column */
.wld-table .wld-own { border-left: 2px solid var(--wld-pink-line); border-right: 2px solid var(--wld-pink-line); background: rgba(255,45,135,.08); padding-left: 14px; padding-right: 14px; }
.wld-table th.wld-own { color: var(--wld-pink); border-top: 2px solid var(--wld-pink-line); box-shadow: 0 -6px 18px -6px rgba(255,45,135,.6); }
.wld-table td.wld-own { border-top-color: rgba(255,45,135,.3); }
.wld-table tr:last-child td { padding-bottom: 36px; }
.wld-table tr:last-child td.wld-own { border-bottom: 2px solid var(--wld-pink-line); box-shadow: 0 8px 18px -6px rgba(255,45,135,.6); }
.wld-own .wld-num { font-size: 28px; font-weight: 900; color: var(--wld-pink); text-shadow: 0 0 16px rgba(255,45,135,.55); }
.wld-own .wld-off { color: var(--wld-pink-soft); }

/* Mobile cards (hidden on desktop) */
.wld-cards { display: none; list-style: none; margin: 0; padding: 0; flex-direction: column; gap: 14px; }
.wld-card { background: rgba(18,8,26,.9); border: 1px solid rgba(255,79,160,.25); padding: 18px; display: flex; flex-direction: column; gap: 12px; }
.wld-card h3 { margin: 0; font-weight: 800; font-size: 18px; color: #fff; }
.wld-card__buyer { margin: 2px 0 0; font-size: 14px; color: var(--wld-ink-3); }
.wld-card__prices { display: grid; grid-template-columns: 1fr 1fr; gap: 8px; }
.wld-price { padding: 10px 12px; border: 1px solid rgba(255,255,255,.15); }
.wld-price__label { font-size: 11px; font-weight: 700; letter-spacing: .1em; text-transform: uppercase; color: var(--wld-ink-3); }
.wld-price__val { margin-top: 2px; font-size: 24px; font-weight: 800; color: #fff; }
.wld-price__val .wld-off { font-size: 13px; font-weight: 500; color: inherit; }
.wld-price__val.wld-full { font-size: 16px; font-weight: 600; color: var(--wld-ink-2); margin-top: 6px; }
.wld-price--own { border: 2px solid var(--wld-pink-line); background: rgba(255,45,135,.1); box-shadow: 0 0 14px rgba(255,45,135,.35); }
.wld-price--own .wld-price__label { color: var(--wld-pink-soft); }
.wld-price--own .wld-price__val { font-weight: 900; color: var(--wld-pink); }
.wld-card p { margin: 0; font-size: 14px; color: var(--wld-ink-2); line-height: 1.45; }
.wld-card strong { color: #fff; }

/* Nintendo Switch callout */
.wld-soon { margin-top: 24px; background: var(--wld-panel); border: 2px solid var(--wld-pink-line); box-shadow: 0 0 18px -4px rgba(255,45,135,.45); padding: 24px 32px; display: flex; align-items: baseline; gap: 12px 32px; flex-wrap: wrap; }
.wld-soon__title { margin: 0; font-size: 22px; font-weight: 800; color: #fff; white-space: nowrap; }
.wld-soon__text { margin: 0; font-size: 16px; color: var(--wld-ink-2); line-height: 1.5; white-space: nowrap; }

/* Notes + legal */
.wld-notes { margin: 40px 0 0; padding: 0; list-style: none; display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 32px; }
.wld-notes li { border-top: 1px solid rgba(255,79,160,.5); padding-top: 16px; }
.wld-notes h3 { margin: 0 0 6px; font-weight: 700; font-size: 16px; color: #fff; }
.wld-notes p { margin: 0; font-size: 14px; color: #D9CCE2; line-height: 1.5; }
.wld-legal { margin: 56px 0 0; padding-top: 20px; border-top: 1px solid rgba(255,255,255,.12); font-size: 11px; line-height: 1.6; color: var(--wld-legal); }

/* Tablet */
@container (max-width: 1000px) {
  .wld-body { padding: 24px 40px 64px; }
  .wld-hero__inner { left: 40px; right: 40px; }
  .wld-h1 { font-size: 44px; }
  .wld-table-wrap { padding: 8px 20px 0; }
  .wld-table { font-size: 14px; }
}

/* Mobile */
@container (max-width: 760px) {
  .wld { background-size: 900px auto; }
  .wld-hero { aspect-ratio: 1 / 1; max-height: none; }
  .wld-hero::before { max-width: none; background-image: url(assets/hero-mobile.jpg); }
  .wld-hero::after { background: linear-gradient(180deg, rgba(23,11,31,0) 45%, rgba(23,11,31,.8) 80%, var(--wld-bg) 100%); }
  .wld-hero__inner { left: 20px; right: 20px; bottom: 20px; flex-direction: column; align-items: flex-start; gap: 12px; }
  .wld-logo { width: 210px; min-width: 0; margin-left: -6px; filter: drop-shadow(0 4px 16px rgba(0,0,0,.6)); }
  .wld-titles { align-items: flex-start; text-align: left; padding: 0; }
  .wld-eyebrow { font-size: 12px; letter-spacing: .16em; }
  .wld-eyebrow .wld-long { display: none; } .wld-eyebrow .wld-short { display: inline; }
  .wld-time { font-size: 13px; margin-top: -4px; }
  .wld-h1 { font-size: 32px; }
  .wld-body { padding: 12px 16px 40px; }
  .wld-lede { font-size: 20px; line-height: 1.25; padding: 0 4px 14px; white-space: normal; }
  .wld-table-wrap { display: none; }
  .wld-cards { display: flex; }
  .wld-soon { margin-top: 14px; padding: 18px; flex-direction: column; gap: 6px; }
  .wld-soon__title { font-size: 18px; }
  .wld-soon__text { font-size: 14px; white-space: normal; }
  .wld-notes { grid-template-columns: 1fr; gap: 16px; margin-top: 22px; padding: 0 4px; }
  .wld-notes li { padding-top: 12px; }
  .wld-notes h3 { font-size: 15px; margin-bottom: 2px; }
  .wld-legal { margin-top: 28px; padding: 16px 4px 0; font-size: 10.5px; }
}
