/* Sections shared */
.section {
  position: relative;
  padding: 135px 0;
}
.section-index {
  display: flex;
  align-items: center;
  gap: 13px;
  color: #8babc9;
  font-size: 11px;
  letter-spacing: .22em;
  font-weight: 800;
  margin-bottom: 55px;
}
.section-index>span:first-child {
  color: #62bdff;
  font-size: 12px;
}
.index-rule {
  width: 36px;
  height: 1px;
  background: #4689bc;
}
.section-index.centered {
  justify-content: center;
  margin-bottom: 27px;
}
.center {
  text-align: center;
}
.centered-heading {
  text-align: center;
}
.display-heading {
  font-weight: 900;
  letter-spacing: -.028em;
  font-size: clamp(40px,4.55vw,76px);
  line-height: 1.04;
  margin: 0 0 27px;
}
.blue-glow {
  color: #75bafa;
  text-shadow: 0 0 48px rgba(33,114,221,.26);
}
.section-lead {
  color: #e1eaff;
  font-size: 18px;
  font-weight: 500;
  line-height: 1.68;
  margin: 0 0 25px;
  max-width: 560px;
}
.section-body {
  font-size: 15px;
  line-height: 1.85;
  color: var(--muted);
  margin: 0 0 26px;
  max-width: 570px;
}
.section-intro {
  color: var(--muted);
  max-width: 700px;
  line-height: 1.8;
  font-size: 15px;
  margin: 0 auto 47px;
}
.text-link {
  display: inline-flex;
  gap: 20px;
  align-items: center;
  border-bottom: 1px solid #5d9fd6;
  padding: 0 0 10px;
  color: #c6e4ff;
  font-weight: 850;
  letter-spacing: .1em;
  font-size: 11px;
}
.text-link span {
  font-size: 22px;
  transition: transform .2s;
}
.text-link:hover span {
  transform: translate(3px,-3px);
}
.motion-ready .reveal {
  opacity: 0;
  transform: translateY(24px);
  transition: opacity .65s ease,transform .65s ease;
}
.motion-ready .reveal.visible {
  opacity: 1;
  transform: translateY(0);
}
/* The universe */
.universe {
  background: linear-gradient(180deg,#060b17,#071221 75%,#06111d);
  overflow: hidden;
}
.universe:before {
  content: "";
  position: absolute;
  width: 60vw;
  height: 60vw;
  left: -35vw;
  top: 15%;
  background: radial-gradient(ellipse,rgba(27,88,162,.11),transparent 65%);
  pointer-events: none;
}
.section-layout {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: clamp(60px,9vw,150px);
  align-items: center;
}
.universe-layout .section-text {
  max-width: 585px;
}
.universe-visual {
  position: relative;
  max-width: 515px;
  justify-self: center;
  width: 100%;
  aspect-ratio: 4/4.5;
}
.universe-picture {
  height: 100%;
  width: 100%;
  border: 1px solid rgba(125,194,255,.25);
  background: #0a1628;
  overflow: hidden;
}
.universe-picture img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 39%;
  transition: transform .7s;
}
.universe-picture:hover img {
  transform: scale(1.05);
}
.universe-visual:after {
  content: "";
  position: absolute;
  inset: -16px;
  z-index: -1;
  background: linear-gradient(135deg,rgba(72,148,248,.08),transparent 45%,rgba(53,117,191,.12));
  border: 1px solid rgba(123,185,242,.13);
}
.art-label {
  position: absolute;
  left: -28px;
  bottom: 40px;
  padding: 21px 29px;
  background: #092241;
  border-left: 3px solid #5fb5fc;
  min-width: 240px;
  display: flex;
  flex-direction: column;
  gap: 6px;
  box-shadow: 0 10px 36px #0007;
}
.art-label b {
  font-family: var(--head);
  letter-spacing: .12em;
  font-size: 24px;
}
.art-label span {
  font-size: 11px;
  letter-spacing: .19em;
  color: #87aed0;
}
.picture-corner {
  width: 27px;
  height: 27px;
  position: absolute;
  border-color: #81cbff;
}
.top-left {
  top: -24px;
  left: -24px;
  border-top: 2px solid;
  border-left: 2px solid;
}
.bottom-right {
  right: -24px;
  bottom: -24px;
  border-bottom: 2px solid;
  border-right: 2px solid;
}
/* Civilizations */
.factions-section {
  background: #070e1a;
  isolation: isolate;
}
.factions-sky {
  position: absolute;
  inset: 0;
  z-index: -1;
  background: radial-gradient(ellipse at 50% 37%,rgba(25,74,132,.18),transparent 63%),url('../assets/img/space.webp') center center/cover;
  opacity: .29;
}
.faction-grid {
  display: grid;
  grid-template-columns: repeat(4,1fr);
  gap: 12px;
}
.faction-card {
  color: white;
  position: relative;
  isolation: isolate;
  text-align: left;
  overflow: hidden;
  height: 390px;
  padding: 26px 23px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: space-between;
  border: 1px solid rgba(142,185,239,.22);
  background: linear-gradient(180deg,#0b1628 0%,#040917 100%);
  transition: transform .25s,border-color .25s,box-shadow .25s;
}
.faction-card:before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 0;
  background: linear-gradient(to bottom,rgba(0,0,0,.15) 0%,rgba(3,8,18,.15) 40%,rgba(3,8,17,.95) 100%);
}
.faction-card-bg {
  position: absolute;
  z-index: -2;
  inset: 0;
  background-size: cover;
  background-position: center;
  opacity: .37;
  transition: transform .45s,opacity .3s;
}
.faction-card.selected,.faction-card:hover {
  transform: translateY(-6px);
  border-color: var(--fc);
  box-shadow: 0 15px 46px rgba(var(--frgb),.15);
}
.faction-card.selected .faction-card-bg,.faction-card:hover .faction-card-bg {
  opacity: .65;
  transform: scale(1.04);
}
.faction-id {
  align-self: flex-start;
  font-size: 11px;
  color: #b3c3d7;
  letter-spacing: .22em;
}
.faction-icon {
  height: 135px;
  width: 135px;
  object-fit: contain;
  filter: drop-shadow(0 0 25px rgba(var(--frgb),.25));
  transition: transform .3s;
}
.faction-card:hover .faction-icon {
  transform: scale(1.09);
}
.faction-text {
  display: flex;
  flex-direction: column;
  text-align: center;
  gap: 7px;
}
.faction-text span {
  font-size: 11px;
  letter-spacing: .17em;
  color: #c3d0e0;
  font-weight: 750;
}
.faction-text strong {
  font-size: 36px;
  letter-spacing: .06em;
}
.faction-bottom {
  border-top: 1px solid rgba(225,245,255,.2);
  width: 100%;
  padding-top: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: #daeafa;
  font-size: 11px;
  font-weight: 850;
  letter-spacing: .13em;
}
.faction-bottom span {
  font-size: 20px;
  color: var(--fc);
}
.faction-detail {
  margin-top: 17px;
  display: grid;
  grid-template-columns: 1fr 300px;
  min-height: 295px;
  border: 1px solid rgba(var(--frgb),.32);
  background: linear-gradient(104deg,rgba(var(--frgb),.12),rgba(6,13,26,.97) 38%,rgba(8,19,31,.95));
  position: relative;
  overflow: hidden;
}
.faction-detail:after {
  content: "";
  position: absolute;
  inset: auto 0 0 0;
  height: 2px;
  background: linear-gradient(90deg,var(--fc),transparent 40%);
}
.detail-left {
  padding: 40px 43px;
  z-index: 2;
}
.detail-overline {
  font-size: 11px;
  color: #afc1d8;
  font-weight: 800;
  letter-spacing: .2em;
}
.detail-overline i {
  font-style: normal;
  color: var(--fc);
  padding-left: 9px;
}
.detail-left h3 {
  font-size: 57px;
  letter-spacing: .055em;
  line-height: 1;
  margin: 18px 0 5px;
}
.detail-quote {
  font-size: 18px;
  color: var(--fc);
  font-weight: 600;
  margin: 0 0 11px;
}
.detail-left>p:not(.detail-quote) {
  max-width: 590px;
  color: #aabbd0;
  line-height: 1.7;
  font-size: 14px;
  margin: 0 0 18px;
}
.detail-tags {
  display: flex;
  flex-wrap: wrap;
  gap: 9px;
}
.detail-tags span {
  display: inline-flex;
  align-items: center;
  border: 1px solid rgba(var(--frgb),.32);
  background: rgba(var(--frgb),.08);
  color: #d5e5f5;
  padding: 8px 11px;
  font-size: 11px;
  letter-spacing: .13em;
  font-weight: 800;
}
.detail-right {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-width: 0;
}
.detail-right img {
  width: 190px;
  height: 190px;
  object-fit: contain;
  position: relative;
  z-index: 2;
  filter: drop-shadow(0 0 34px rgba(var(--frgb),.31));
}
.detail-image-halo {
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at center,rgba(var(--frgb),.19),transparent 60%);
}
/* Mechanics */
.play-section {
  background: linear-gradient(#070f1d,#071422);
}
.play-heading-row {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 35px;
  margin-bottom: 45px;
}
.play-heading-row .display-heading {
  margin-bottom: 0;
}
.play-heading-desc {
  max-width: 350px;
  color: #9fb4c9;
  font-size: 14px;
  line-height: 1.75;
  margin: 0 0 5px;
}
.steps-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 15px;
}
.step-card {
  padding: 24px 28px 31px;
  border: 1px solid rgba(149,191,236,.16);
  background: linear-gradient(145deg,#0e2037,#07101f 70%);
  overflow: hidden;
  min-height: 464px;
  display: flex;
  flex-direction: column;
}
.step-number {
  font-size: 11px;
  letter-spacing: .18em;
  color: #8aabc9;
  font-weight: 800;
}
.step-number span {
  padding: 0 6px;
  color: #4f8dc9;
}
.step-art {
  height: 224px;
  margin: 10px -10px 21px;
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
}
.step-art:after {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse,rgba(62,122,206,.17),transparent 62%);
  pointer-events: none;
}
.tiny-emblems {
  display: grid;
  grid-template-columns: repeat(2,85px);
  gap: 20px;
  transform: rotate(-8deg);
}
.tiny-emblems img {
  height: 80px;
  width: 80px;
  object-fit: contain;
  filter: drop-shadow(0 0 14px #3677b057);
}
.tiny-emblems img:nth-child(2) {
  transform: translateY(-8px);
}
.tiny-emblems img:nth-child(3) {
  transform: translateY(6px);
}
.space-board {
  display: grid;
  grid-template-columns: repeat(4,40px);
  grid-template-rows: repeat(3,40px);
  gap: 6px;
  transform: perspective(500px) rotateX(24deg) rotateZ(-20deg);
  filter: drop-shadow(0 20px 15px #0009);
  position: relative;
}
.space-node {
  border: 1px solid #486b94;
  background: #102d4b;
  box-shadow: inset 0 0 9px #3d75ac55;
}
.space-node.n3,.space-node.n6,.space-node.n9 {
  border-color: #75b6ff;
  background: #21589c;
}
.space-node.n4,.space-node.n8 {
  border-color: #67aaf9;
  background: #132740;
}
.space-pawn {
  position: absolute;
  z-index: 2;
  left: 85px;
  top: 35px;
  font-size: 55px;
  color: #a1dfff;
  text-shadow: 0 0 20px #26a2ff,0 4px 10px #000;
  transform: rotate(20deg);
}
.face-card {
  position: absolute;
  width: 124px;
  height: 186px;
  object-fit: fill;
  filter: drop-shadow(0 12px 16px #0009);
}
.face-card-left {
  transform: translateX(-50px) rotate(-16deg);
}
.face-card-right {
  transform: translateX(55px) rotate(12deg);
}
.step-card h3 {
  font-size: 23px;
  line-height: 1.12;
  letter-spacing: .05em;
  margin: 0 0 14px;
}
.step-card p {
  color: #a4b5c9;
  font-size: 14px;
  line-height: 1.73;
  margin: 0;
}
.rule-highlight {
  margin-top: 17px;
  border: 1px solid rgba(100,177,248,.19);
  padding: 19px 25px;
  display: flex;
  gap: 19px;
  align-items: center;
  background: #0b1d34;
}
.rule-highlight-icon {
  width: 36px;
  height: 36px;
  flex-shrink: 0;
  background: rgba(53,130,223,.17);
  color: #8acaed;
  font-size: 23px;
  display: grid;
  place-items: center;
}
.rule-highlight p {
  flex: 1;
  font-size: 13px;
  color: #b7c9d9;
  margin: 0;
  line-height: 1.6;
}
.rule-highlight strong {
  color: white;
}
.rule-highlight a {
  font-size: 11px;
  color: #a3d7ff;
  letter-spacing: .1em;
  font-weight: 850;
  white-space: nowrap;
}
.rule-highlight a span {
  margin-left: 6px;
}
/* Modes */
.modes-section {
  background: #050c18;
}
.modes-section .centered-heading {
  margin-bottom: 51px;
}
.modes-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.mode-panel {
  height: 488px;
  position: relative;
  isolation: isolate;
  border: 1px solid rgba(151,203,255,.21);
  overflow: hidden;
  display: flex;
  align-items: flex-end;
  background: #09162a;
}
.mode-panel:before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background: linear-gradient(0deg,rgba(2,7,18,.98),rgba(4,12,25,.65) 45%,rgba(8,30,57,.3)),url('../assets/img/space.webp') center/cover;
  opacity: .8;
}
.mode-multi {
  background-color: #052c52;
}
.mode-bot {
  background-color: #281015;
}
.mode-bot:before {
  filter: hue-rotate(150deg);
}
.mode-number {
  position: absolute;
  top: 24px;
  left: 28px;
  color: #b8cce0;
  font-size: 11px;
  font-weight: 800;
  letter-spacing: .18em;
}
.mode-art-orbit {
  position: absolute;
  width: 255px;
  height: 255px;
  left: 50%;
  top: 50px;
  transform: translateX(-50%);
}
.mode-planet {
  position: absolute;
  inset: 10%;
  border-radius: 50%;
  background: url('../assets/img/planet.webp') center/contain no-repeat;
  filter: drop-shadow(0 0 30px #348ee45c);
}
.mode-ring {
  position: absolute;
  inset: 0;
  border: 1px solid #93caff88;
  border-radius: 50%;
  transform: scaleY(.44) rotate(-35deg);
  box-shadow: 0 0 22px #398aff32;
}
.pilot-dot {
  position: absolute;
  width: 10px;
  height: 10px;
  border-radius: 50%;
  box-shadow: 0 0 14px currentColor;
}
.pilot-red {
  left: 7%;
  top: 20%;
  background: #e45462;
  color: #e45462;
}
.pilot-gold {
  right: 11%;
  top: 9%;
  background: #f3cc54;
  color: #f3cc54;
}
.pilot-blue {
  right: 4%;
  bottom: 28%;
  background: #4aa4ff;
  color: #4aa4ff;
}
.pilot-green {
  left: 9%;
  bottom: 12%;
  background: #3ad58d;
  color: #3ad58d;
}
.bot-face {
  position: absolute;
  left: 50%;
  top: 55px;
  transform: translateX(-50%);
  width: 215px;
  height: 175px;
  border: 4px solid #82b8ff;
  border-radius: 37px;
  background: linear-gradient(145deg,#1a3c64,#071b34);
  box-shadow: 0 0 50px #3985f34a,inset 0 0 35px #356db730;
}
.bot-face:before,.bot-face:after {
  content: "";
  position: absolute;
  background: #4e92d7;
  width: 16px;
  height: 60px;
  top: 50px;
  border: 2px solid #91ceff;
  border-radius: 10px;
}
.bot-face:before {
  left: -19px;
}
.bot-face:after {
  right: -19px;
}
.bot-antenna {
  position: absolute;
  left: calc(50% - 2px);
  top: -35px;
  height: 32px;
  width: 4px;
  background: #89bdf5;
}
.bot-antenna:before {
  content: "";
  position: absolute;
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #88caff;
  left: -5px;
  top: -10px;
  box-shadow: 0 0 21px #64aaff;
}
.bot-eyes {
  position: absolute;
  top: 63px;
  left: 42px;
  right: 42px;
  display: flex;
  justify-content: space-between;
}
.bot-eyes i {
  height: 18px;
  width: 34px;
  background: #a4deff;
  border-radius: 5px;
  box-shadow: 0 0 18px #59bbff;
}
.bot-mouth {
  width: 42px;
  height: 4px;
  background: #65b7f2;
  left: calc(50% - 21px);
  bottom: 41px;
  position: absolute;
  border-radius: 5px;
}
.mode-info {
  position: relative;
  padding: 0 35px 29px;
}
.mode-subtitle {
  font-size: 11px;
  color: #82c5ff;
  letter-spacing: .16em;
  font-weight: 800;
}
.mode-info h3 {
  font-size: 44px;
  line-height: 1.08;
  letter-spacing: .018em;
  margin: 12px 0 12px;
}
.mode-info p {
  max-width: 450px;
  color: #c1ccda;
  font-size: 14px;
  line-height: 1.65;
  margin: 0 0 19px;
}
.mode-pill {
  display: inline-block;
  border: 1px solid #77baff60;
  color: #b1d6f7;
  padding: 9px 11px;
  font-size: 11px;
  letter-spacing: .14em;
  font-weight: 800;
}
.modes-minor {
  margin-top: 15px;
  display: grid;
  grid-template-columns: repeat(4,1fr);
  border: 1px solid var(--line);
  background: rgba(9,22,40,.9);
}
.modes-minor>div {
  padding: 24px 25px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  border-right: 1px solid var(--line);
}
.modes-minor>div:last-child {
  border-right: 0;
}
.minor-icon {
  font-size: 25px;
  color: #87caff;
  min-height: 30px;
}
.modes-minor strong {
  font-size: 12px;
  letter-spacing: .07em;
}
.modes-minor span:last-child {
  font-size: 12px;
  color: #9caec4;
  line-height: 1.5;
}
