:root {
  --ui-black: #050505;
  --ui-black-2: #0b0b0a;
  --ui-panel: rgba(7, 7, 7, 0.93);
  --metal-dark: #1a1b1b;
  --metal: #565753;
  --metal-light: #8a8b84;
  --wood-dark: #361405;
  --wood-mid: #632507;
  --wood-hot: #8c3508;
  --ember: #bd5b13;
  --gold: #bd900f;
  --ivory: #e4ded2;
  --muted: #9c9992;
  --shadow: rgba(0, 0, 0, 0.78);
}

* {
  box-sizing: border-box;
}

html,
body {
  min-height: 100%;
}

body {
  margin: 0;
  min-height: 100svh;
  font-family: Georgia, "Times New Roman", serif;
  color: var(--ivory);
  background: #050708;
}

.backdrop {
  position: fixed;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(4, 6, 7, 0.12), rgba(4, 5, 5, 0.30) 48%, rgba(1, 2, 2, 0.66)),
    radial-gradient(circle at 50% 44%, transparent 0 31%, rgba(0, 0, 0, 0.18) 58%, rgba(0, 0, 0, 0.66) 100%),
    url("lif-landing-bg.webp") center / cover no-repeat;
  filter: saturate(0.78) contrast(1.08);
  transform: scale(1.015);
}

.backdrop::after {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.22), transparent 18%, transparent 82%, rgba(0, 0, 0, 0.28)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 4px);
  mix-blend-mode: multiply;
  opacity: 0.7;
}

.page-shell {
  min-height: 100svh;
  display: grid;
  place-items: center;
  padding: clamp(18px, 4vw, 52px);
}

.game-window {
  width: min(980px, 100%);
  position: relative;
  background: var(--ui-black);
  border: 2px solid #393a38;
  outline: 1px solid #0a0a0a;
  box-shadow:
    0 34px 90px var(--shadow),
    0 0 0 1px rgba(151, 151, 143, 0.20),
    inset 0 0 0 1px rgba(121, 121, 115, 0.18);
}

.game-window::before,
.game-window::after {
  content: "";
  position: absolute;
  width: 58px;
  height: 58px;
  pointer-events: none;
  opacity: 0.72;
}

.game-window::before {
  top: -3px;
  left: -3px;
  border-top: 2px solid var(--metal-light);
  border-left: 2px solid var(--metal-light);
  box-shadow: 8px 8px 0 -7px rgba(189, 144, 15, 0.52);
}

.game-window::after {
  right: -3px;
  bottom: -3px;
  border-right: 2px solid var(--metal-light);
  border-bottom: 2px solid var(--metal-light);
  box-shadow: -8px -8px 0 -7px rgba(189, 144, 15, 0.52);
}

.window-bar {
  min-height: 58px;
  position: relative;
  display: grid;
  place-items: center;
  padding: 10px 58px;
  border-bottom: 1px solid #151515;
  box-shadow:
    inset 0 -1px 0 rgba(185, 91, 22, 0.55),
    inset 0 1px 0 rgba(215, 124, 48, 0.18);
  background:
    linear-gradient(180deg, rgba(126, 48, 9, 0.18), rgba(23, 8, 2, 0.36)),
    repeating-linear-gradient(96deg, rgba(255,255,255,0.035) 0 2px, transparent 2px 34px),
    repeating-linear-gradient(4deg, transparent 0 7px, rgba(0,0,0,0.12) 7px 9px),
    linear-gradient(90deg, #241006, #612608 30%, #4d1e07 70%, #251006);
}

.window-title {
  color: #e5ddd0;
  font-weight: 700;
  font-size: 1.12rem;
  letter-spacing: 0.20em;
  text-shadow:
    0 1px 0 #000,
    0 0 12px rgba(0, 0, 0, 0.76);
}

.bar-rivet {
  position: absolute;
  top: 50%;
  width: 9px;
  height: 9px;
  transform: translateY(-50%) rotate(45deg);
  border: 1px solid #7a7770;
  background: linear-gradient(135deg, #242424, #080808);
  box-shadow: inset 0 0 0 1px #020202;
}

.bar-rivet-left {
  left: 21px;
}

.bar-rivet-right {
  right: 21px;
}

.window-body {
  position: relative;
  padding: clamp(34px, 5vw, 58px) clamp(24px, 5vw, 58px) clamp(30px, 4vw, 46px);
  text-align: center;
  background:
    radial-gradient(circle at 50% 20%, rgba(255,255,255,0.025), transparent 34%),
    repeating-linear-gradient(135deg, rgba(255,255,255,0.012) 0 1px, transparent 1px 5px),
    linear-gradient(180deg, rgba(12, 12, 11, 0.96), rgba(3, 3, 3, 0.97));
  box-shadow:
    inset 0 0 54px rgba(0, 0, 0, 0.84),
    inset 0 0 0 1px rgba(104, 104, 99, 0.10);
}

.ornament-line {
  width: min(430px, 70%);
  margin: -2px auto 22px;
  display: grid;
  grid-template-columns: 1fr 12px 1fr;
  align-items: center;
  gap: 10px;
  opacity: 0.72;
}

.ornament-line span,
.separator span {
  height: 1px;
  background: linear-gradient(90deg, transparent, #7b5c1b 38%, #b68a19);
}

.ornament-line span:last-child {
  transform: scaleX(-1);
}

.ornament-line i,
.separator::before,
.separator::after {
  display: block;
  width: 9px;
  height: 9px;
  border: 1px solid #a87816;
  transform: rotate(45deg);
  background: #090909;
  box-shadow: inset 0 0 0 2px #171717;
}

h1 {
  margin: 0;
  color: #e8e2d7;
  font-size: clamp(2.15rem, 5.2vw, 4.15rem);
  line-height: 1.03;
  font-weight: 700;
  text-shadow:
    0 2px 0 #000,
    0 0 18px rgba(0, 0, 0, 0.76);
}

.lead {
  width: min(720px, 100%);
  margin: 20px auto 0;
  color: #aaa69e;
  font-size: clamp(1rem, 2vw, 1.22rem);
  line-height: 1.65;
}

.lead strong {
  color: #c89a18;
  font-weight: 700;
}

.countdown {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 14px;
  margin: 38px 0 28px;
}

.time-box {
  min-height: 138px;
  display: grid;
  place-content: center;
  padding: 20px 14px;
  position: relative;
  clip-path: polygon(9px 0, calc(100% - 9px) 0, 100% 9px, 100% calc(100% - 9px), calc(100% - 9px) 100%, 9px 100%, 0 calc(100% - 9px), 0 9px);
  border: 1px solid #5f605d;
  background:
    linear-gradient(180deg, rgba(255,255,255,0.025), rgba(0,0,0,0.22)),
    repeating-linear-gradient(0deg, rgba(255,255,255,0.01) 0 1px, transparent 1px 4px),
    #070707;
  box-shadow:
    inset 0 0 0 2px #111,
    inset 0 0 18px rgba(0, 0, 0, 0.9);
}

.time-box::before,
.time-box::after {
  content: "";
  position: absolute;
  top: 8px;
  bottom: 8px;
  width: 2px;
  background: linear-gradient(180deg, transparent, #8b8982 20%, #252525 50%, #77756f 80%, transparent);
  opacity: 0.44;
}

.time-box::before {
  left: 4px;
}

.time-box::after {
  right: 4px;
}

.time-value {
  display: block;
  color: #e5ddd0;
  font-size: clamp(2.35rem, 4.4vw, 3.45rem);
  line-height: 1;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
  text-shadow:
    0 2px 0 #000,
    0 0 14px rgba(255, 204, 114, 0.05);
}

.time-label {
  display: block;
  margin-top: 12px;
  color: var(--gold);
  font-family: Arial, Helvetica, sans-serif;
  font-size: 0.86rem;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.separator {
  width: min(520px, 76%);
  height: 15px;
  margin: 4px auto 25px;
  position: relative;
  display: grid;
  place-items: center;
}

.separator span {
  width: 100%;
  background: linear-gradient(90deg, transparent, #4b4a45 18%, #8b6a1b 48%, #4b4a45 82%, transparent);
}

.separator::before {
  content: "";
  position: absolute;
}

.launch-row {
  display: flex;
  justify-content: center;
  align-items: stretch;
  gap: 16px;
  flex-wrap: wrap;
}

.launch-badge,
.launch-note {
  min-height: 54px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-family: Arial, Helvetica, sans-serif;
}

.launch-badge {
  min-width: 250px;
  gap: 13px;
  padding: 10px 22px;
  color: #e8ded2;
  border: 1px solid #9d4310;
  outline: 1px solid #17110d;
  background:
    linear-gradient(180deg, rgba(176, 70, 12, 0.55), rgba(74, 25, 5, 0.85)),
    repeating-linear-gradient(90deg, rgba(255,255,255,0.018) 0 1px, transparent 1px 14px);
  box-shadow:
    inset 0 1px 0 rgba(255, 151, 63, 0.22),
    inset 0 -1px 0 rgba(23, 7, 1, 0.9);
}

.launch-caption {
  color: #c79b22;
  font-size: 0.72rem;
  letter-spacing: 0.13em;
}

.launch-badge strong {
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.06rem;
  letter-spacing: 0.03em;
}

.launch-note {
  min-width: 230px;
  gap: 11px;
  padding: 10px 20px;
  color: #b7b4ad;
  border: 1px solid #474844;
  background: linear-gradient(180deg, #111, #070707);
  box-shadow:
    inset 0 0 0 1px #050505,
    inset 0 1px 0 rgba(255,255,255,0.025);
}

.status-light {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: #5e9f55;
  box-shadow: 0 0 8px rgba(94, 159, 85, 0.55);
}

@media (max-width: 760px) {
  .page-shell {
    padding: 14px;
  }

  .game-window {
    width: 100%;
  }

  .window-bar {
    min-height: 52px;
  }

  .window-body {
    padding: 32px 18px 28px;
  }

  .countdown {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
    margin-top: 30px;
  }

  .time-box {
    min-height: 116px;
  }

  .backdrop {
    background-position: 58% center;
  }
}

@media (max-width: 420px) {
  .window-title {
    font-size: 0.94rem;
    letter-spacing: 0.14em;
  }

  .launch-badge,
  .launch-note {
    width: 100%;
    min-width: 0;
  }

  .ornament-line,
  .separator {
    width: 86%;
  }
}
