@import url("https://fonts.googleapis.com/css2?family=Metal+Mania&display=swap");

:root {
  --black: #050203;
  --black-soft: #0b0405;
  --surface: #160709;
  --bone: #ead8d1;
  --bone-muted: #a0807b;
  --blood: #a02220;
  --blood-dark: #3d0809;
  --gold: #d0a27c;
  --line: #52201f;
}

* { box-sizing: border-box; }

html {
  scroll-behavior: smooth;
  background: #050505;
}

body {
  margin: 0;
  background: #050505;
  color: var(--bone);
  font-family: "Arial Narrow", Arial, sans-serif;
  -webkit-font-smoothing: antialiased;
}

a { color: inherit; text-decoration: none; }

.comparison-page {
  min-height: 100vh;
  padding: 18px;
  background: #070707;
}

.comparison-header,
.version-tabs,
.version-content {
  width: min(100%, 1600px);
  margin-inline: auto;
}

.comparison-header {
  margin-bottom: 12px;
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 24px;
}

.comparison-header p {
  margin: 0 0 4px;
  color: #897e75;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.comparison-header h2 {
  margin: 0;
  color: #eee4d6;
  font: 700 clamp(29px, 4vw, 50px)/.95 Georgia, serif;
  letter-spacing: -.05em;
  text-transform: uppercase;
}

.comparison-header a {
  padding: 10px 0;
  border-bottom: 1px solid #5d312c;
  color: #b4a69a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .16em;
  text-transform: uppercase;
}

.version-tabs {
  height: auto !important;
  margin-bottom: 14px;
  padding: 8px !important;
  display: grid !important;
  grid-template-columns: 1fr 1fr;
  gap: 6px !important;
  border: 1px solid #302723;
  background: #0c0a09;
}

.version-tab {
  min-height: 60px !important;
  padding: 8px 14px !important;
  display: grid !important;
  grid-template-columns: auto 1fr;
  grid-template-rows: auto auto;
  column-gap: 12px;
  border: 1px solid transparent !important;
  border-radius: 0 !important;
  color: #8a7e75 !important;
  text-align: left;
}

.version-tab b {
  grid-row: 1 / 3;
  align-self: center;
  color: #b0342d;
  font-size: 18px;
}

.version-tab span {
  color: #d9cdc0;
  font: 700 13px Georgia, serif;
  text-transform: uppercase;
}

.version-tab small {
  font-size: 8px;
  letter-spacing: .1em;
  text-transform: uppercase;
}

.version-tab[data-state="active"] {
  border-color: #78302c !important;
  background: #27100f !important;
  color: #d6c8bb !important;
}

.version-content { margin-top: 0; }

.eclipse-site {
  width: 100%;
  position: relative;
  overflow: hidden;
  background: var(--black);
  box-shadow: 0 34px 110px #000;
}

.masthead {
  width: 100%;
  height: 76px;
  padding: 0 clamp(20px, 3vw, 48px);
  display: flex;
  align-items: center;
  justify-content: space-between;
  position: absolute;
  z-index: 12;
  border-bottom: 1px solid rgba(234,216,209,.13);
  background: linear-gradient(180deg, rgba(0,0,0,.98), rgba(4,2,2,.7));
}

.version-switcher {
  padding: 4px;
  display: flex;
  align-items: center;
  gap: 3px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  border: 1px solid rgba(208, 162, 124, .28);
  background: rgba(5, 2, 3, .86);
  box-shadow: 0 8px 28px rgba(0, 0, 0, .46);
}

.version-switcher a {
  min-width: 72px;
  padding: 9px 11px;
  border: 1px solid transparent;
  color: #8f7771;
  font-size: 8px;
  font-weight: 900;
  letter-spacing: .16em;
  text-align: center;
  text-transform: uppercase;
  transition: border-color 140ms ease, background-color 140ms ease, color 140ms ease;
}

.version-switcher a:hover,
.version-switcher a:focus-visible {
  border-color: #6f2926;
  color: #ead8d1;
}

.version-switcher a[aria-current="page"] {
  border-color: #9d322c;
  background: #430909;
  color: #f0d9ce;
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 13px;
  color: #d9cac0;
  font-family: Georgia, serif;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: .05em;
  text-transform: uppercase;
}

.brand-seal {
  width: 34px;
  height: 42px;
  display: grid;
  place-items: center;
  border: 1px solid var(--gold);
  color: var(--bone);
  font-size: 11px;
  letter-spacing: -.08em;
  transform: skewY(-4deg);
  box-shadow: inset 0 0 0 3px #080303;
}

.development-mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  color: #b5a39a;
  font-size: 9px;
  font-weight: 800;
  letter-spacing: .2em;
  text-transform: uppercase;
}

.development-mark i {
  width: 8px;
  height: 8px;
  background: #bd342d;
  transform: rotate(45deg);
}

.hero {
  min-height: min(920px, 100vh);
  padding: 136px clamp(24px, 6vw, 92px) 118px;
  display: grid;
  grid-template-columns: minmax(0, .88fr) minmax(380px, 1.12fr);
  align-items: center;
  gap: clamp(46px, 6vw, 96px);
  position: relative;
  isolation: isolate;
  overflow: hidden;
  background: linear-gradient(112deg, #190709 0%, #0c0405 48%, #020202 100%);
  border-bottom: 7px solid #230405;
}

.hero-copy {
  max-width: 620px;
  position: relative;
  z-index: 2;
}

.pure-eclipse .hero-copy {
  width: min(100%, 620px);
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}

.pure-eclipse .kicker,
.pure-eclipse .title-rule,
.pure-eclipse h1,
.pure-eclipse .hero-lede {
  width: min(100%, 580px);
  box-sizing: border-box;
}

.kicker {
  margin: 0 0 18px;
  color: #c75b4f;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .28em;
  text-transform: uppercase;
}

.title-rule {
  width: 100%;
  height: 15px;
  margin-bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--gold);
  font-size: 9px;
}

.title-rule::before,
.title-rule::after {
  display: none;
}

.title-rule span { padding: 0 13px; }

h1 {
  margin: 0 0 30px;
  color: var(--bone);
  font: 400 clamp(86px, 9.3vw, 150px)/.62 "Metal Mania", Impact, sans-serif;
  letter-spacing: -.025em;
  text-align: center;
  text-transform: uppercase;
  /* Intentionally black-only: no red glow or shine behind the title. */
  text-shadow: 0 7px 0 #000, 0 18px 36px rgba(0,0,0,.78);
}

h1 span { display: block; }
h1 span:last-child {
  color: #d3a180;
  transform: scaleX(1.08);
}

.hero-lede {
  max-width: 580px;
  margin: 0 0 32px;
  color: #bda6a0;
  font: clamp(17px, 1.7vw, 23px)/1.58 Georgia, serif;
  text-shadow: 0 2px 12px #000;
}

.blood-button {
  width: min(100%, 580px);
  min-height: 55px;
  padding: 0 24px;
  display: grid;
  grid-template-columns: 24px minmax(0, 1fr) 24px;
  align-items: center;
  border: 1px solid #c64d45;
  background:
    linear-gradient(135deg, transparent 8px, #8f1d1c 0) top left,
    linear-gradient(-45deg, transparent 8px, #8f1d1c 0) bottom right;
  background-size: 54% 100%;
  background-repeat: no-repeat;
  color: #f3e4dc;
  font-size: 10px;
  font-weight: 900;
  letter-spacing: .22em;
  text-transform: uppercase;
}

.blood-button > span {
  grid-column: 2;
  justify-self: center;
}

.blood-button > b {
  grid-column: 3;
  justify-self: end;
}

.pure-eclipse .blood-button {
  width: min(100%, 580px);
  box-sizing: border-box;
}

.hero-art {
  width: 100%;
  max-width: 760px;
  margin: 0;
  justify-self: end;
  position: relative;
  z-index: 1;
  border: 1px solid var(--line);
  background: #000;
  box-shadow: 0 25px 70px #000;
}

.hero-art::before,
.hero-art::after {
  display: none;
}

.hero-art img {
  width: 100%;
  height: auto;
  display: block;
  image-rendering: pixelated;
}

.hero-facts {
  position: absolute;
  right: clamp(24px, 3vw, 48px);
  bottom: 26px;
  display: flex;
  z-index: 4;
  color: #76645f;
  font-size: 8px;
  font-weight: 800;
  letter-spacing: .18em;
  text-transform: uppercase;
}

.hero-facts span { padding: 0 18px; }
.hero-facts span + span { border-left: 1px solid #573f3b; }

.blood-banner {
  min-height: 88px;
  padding: 28px clamp(24px, 5vw, 76px);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(22px, 4vw, 68px);
  background: #430909;
  color: #ead1c3;
  font: 700 clamp(13px, 1.5vw, 18px)/1 Georgia, serif;
  letter-spacing: .12em;
  text-align: center;
  text-transform: uppercase;
  box-shadow: inset 0 1px #71201c, inset 0 -1px #090000;
}

.blood-banner i {
  color: var(--gold);
  font-size: 7px;
}

.trial-section {
  min-height: 800px;
  display: grid;
  grid-template-columns: minmax(360px, .9fr) minmax(520px, 1.1fr);
  background: #0a0506;
}

.trial-heading {
  min-width: 0;
  padding: 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-right: 1px solid var(--line);
}

.trial-media {
  width: 100%;
  height: auto;
  max-width: none;
  margin: 0;
  display: block;
  image-rendering: pixelated;
}

.trial-list {
  min-height: 800px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.trial {
  min-height: 300px;
  margin: 12px 18px;
  padding: 30px clamp(28px, 4vw, 62px);
  display: flex;
  flex-direction: column;
  align-items: stretch;
  gap: 16px;
  position: relative;
  border: 1px solid #5f2321;
  background: #0c0506;
}

.trial-title {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  text-align: center;
}

.trial-title small {
  width: 46px;
  height: 46px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  border: 1px solid #9d322c;
  color: #c65b51;
  font: 700 13px Georgia, serif;
}

.trial h3 {
  margin: 0;
  color: #ddcec4;
  font: 700 clamp(24px, 2.3vw, 37px)/1 Georgia, serif;
  letter-spacing: -.04em;
  text-transform: uppercase;
}

.trial-art-grid {
  width: 100%;
  min-width: 0;
  min-height: 168px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  align-items: center;
  gap: clamp(12px, 2vw, 32px);
}

.trial-art-slot {
  width: clamp(92px, 8vw, 128px);
  min-width: 0;
  aspect-ratio: 1;
  box-sizing: border-box;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  padding: 5px;
  border: 1px solid #5f2321;
  background: #050203;
}

.trial-art-slot:nth-child(1) { justify-self: start; }
.trial-art-slot:nth-child(2) { justify-self: center; }
.trial-art-slot:nth-child(3) { justify-self: end; }

.trial-art-slot img {
  width: 100%;
  height: 100%;
  max-width: 100%;
  max-height: 100%;
  object-fit: contain;
  image-rendering: pixelated;
}

.trial > p {
  margin: -2px 0 0;
  color: #9b7c75;
  font: 13px Georgia, serif;
  text-align: center;
}

.pure-eclipse .hero-art {
  grid-column: 2;
  grid-row: 1;
  justify-self: end;
}

.pure-eclipse .hero-copy {
  grid-column: 1;
  grid-row: 1;
}

footer {
  min-height: 110px;
  padding: 34px clamp(24px, 4vw, 60px);
  display: grid;
  grid-template-columns: 1fr auto auto;
  align-items: center;
  gap: 32px;
  border-top: 1px solid #321718;
  background: #030202;
  color: #776b66;
  font-size: 9px;
  letter-spacing: .14em;
  text-transform: uppercase;
}

footer > span {
  color: #d2c2b8;
  font: 700 14px Georgia, serif;
}

footer p { margin: 0; }

/* Blood Eclipse × Abyss: Blood Eclipse styling, only the image treatment changes. */
.cinema-mix .hero {
  min-height: 900px;
  padding: 0;
  display: block;
  background: #020102;
}

.cinema-mix .hero-art {
  width: auto;
  height: auto;
  max-width: none;
  margin: 0;
  position: absolute;
  inset: 96px 40px 55px;
  z-index: 0;
  transform: none;
  border: 0;
  box-shadow: none;
}

.cinema-mix .hero-art::before,
.cinema-mix .hero-art::after { display: none; }

.cinema-mix .hero-art img {
  width: 100%;
  height: 100%;
  object-fit: contain;
  filter: brightness(.86) contrast(1.07) saturate(.96);
}

.cinema-mix .hero-copy {
  max-width: none;
  position: absolute;
  inset: 0;
  z-index: 2;
  padding: 130px clamp(24px, 7vw, 110px) 100px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  background: rgba(2,0,1,.09);
  text-align: center;
}

/* Keep the lower-left gameplay GIF edge-fitted to its entire column. */
.trial-section > .trial-heading {
  padding-inline: 8px !important;
}

.trial-section > .trial-heading > .trial-media-edge {
  width: 100% !important;
  min-width: 100% !important;
  max-width: none !important;
  height: auto !important;
  margin: 0 !important;
  flex: 0 0 100% !important;
  display: block !important;
}

.cinema-mix .hero-copy > * { width: min(100%, 580px); }
.cinema-mix .hero-copy h1 {
  text-shadow: 0 7px 0 #000, 0 18px 36px rgba(0,0,0,.9);
}

@media (max-width: 950px) {
  .hero,
  .trial-section {
    grid-template-columns: 1fr;
  }

  .hero { padding-bottom: 100px; }
  .pure-eclipse .hero-copy {
    grid-column: 1;
    grid-row: 1;
  }
  .pure-eclipse .hero-art {
    grid-column: 1;
    grid-row: 2;
  }
  .hero-art { max-width: 720px; justify-self: center; }
  .trial-heading {
    min-height: 390px;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
}

@media (max-width: 650px) {
  .comparison-page { padding: 8px; }
  .comparison-header {
    align-items: flex-start;
    flex-direction: column;
  }
  .version-tabs { grid-template-columns: 1fr; }
  .masthead { height: 66px; }
  .brand > span:last-child { display: none; }
  .development-mark { gap: 0; font-size: 0; }
  .version-switcher { padding: 3px; gap: 0; }
  .version-switcher a {
    min-width: 0;
    padding: 8px 7px;
    font-size: 7px;
    letter-spacing: .08em;
  }
  .development-mark { font-size: 7px; }
  .hero { min-height: 0; padding: 112px 22px 76px; }
  h1 { font-size: clamp(75px, 25vw, 112px); }
  .hero-facts {
    position: static;
    margin-top: 34px;
    flex-wrap: wrap;
    gap: 8px;
  }
  .hero-facts span { padding: 0 8px; }
  .blood-banner { flex-wrap: wrap; gap: 12px; }
  .trial-heading { min-height: 320px; padding: 12px; }
  .trial {
    min-height: 310px;
    margin: 8px;
    padding: 27px 22px;
  }
  .trial > p { margin-left: 0; }
  .trial-art-grid { width: 100%; }
  footer { grid-template-columns: 1fr; gap: 12px; }

  .cinema-mix .hero { min-height: 800px; }
  .cinema-mix .hero-art { inset: 82px 12px 44px; }
  .cinema-mix .hero-copy {
    padding: 100px 22px 72px;
    justify-content: flex-end;
  }
}
