/* Vectron Orbit – official website. (c) 2026 GhostKrisssDEV. All rights reserved. */
@font-face { font-family: "Rajdhani"; src: url("assets/fonts/Rajdhani-SemiBold.ttf") format("truetype"); font-weight: 600; font-display: swap; }
@font-face { font-family: "Rajdhani"; src: url("assets/fonts/Rajdhani-Bold.ttf") format("truetype"); font-weight: 700; font-display: swap; }
@font-face { font-family: "Orbitron"; src: url("assets/fonts/Orbitron.ttf") format("truetype"); font-weight: 400 900; font-display: swap; }

:root {
  --void: #05060b;      /* deep space */
  --plate: #10131b;     /* hull plating */
  --plate-2: #181c27;
  --line: #262b39;
  --text: #e9eef7;
  --steel: #a3adbf;
  --red: #ff2b3a;       /* raider accent, from the game icon */
  --rim: #ff3d8b;       /* neon rim, red -> magenta */
  --gold: #ffb547;
  --cut: 14px;          /* cut corner size of the plates */
  --wrap: 1180px;
  --gut: clamp(16px, 4vw, 40px);
}

* { box-sizing: border-box; }
html { scroll-behavior: smooth; -webkit-text-size-adjust: 100%; }
body { margin: 0; background: var(--void); color: var(--text); font: 600 19px/1.55 "Rajdhani", system-ui, sans-serif; overflow-x: hidden; }
img, video { max-width: 100%; display: block; }
a { color: inherit; }
h1, h2, h3 { font-weight: 700; line-height: 1; letter-spacing: -0.01em; margin: 0; }
h2 { font-size: clamp(38px, 5.4vw, 64px); }
h3 { font-size: 30px; }
p { margin: 0 0 14px; }
:focus-visible { outline: 2px solid var(--rim); outline-offset: 3px; }
.skip { position: absolute; left: -999px; top: 8px; background: var(--red); color: #fff; padding: 8px 14px; z-index: 99; }
.skip:focus { left: 8px; }
.wrap { max-width: var(--wrap); margin: 0 auto; padding: 0 var(--gut); }

/* ---------- buttons: angular hull plates ---------- */
.plate, .ghost {
  display: inline-flex; align-items: center; justify-content: center; gap: 10px; min-height: 54px; padding: 0 30px;
  font: 700 21px/1 "Rajdhani", sans-serif; text-decoration: none; cursor: pointer; border: 0;
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut));
  transition: filter .15s, transform .15s;
}
.plate { background: var(--red); color: #fff; }
.plate:hover { filter: brightness(1.15); }
.plate:active, .ghost:active { transform: translateY(1px); }
.plate.small { min-height: 40px; padding: 0 18px; font-size: 18px; --cut: 10px; }
.plate.gold { background: var(--gold); color: #1a1003; }
.ghost { background: rgba(233, 238, 247, 0.08); color: var(--text); box-shadow: inset 0 0 0 1px rgba(233, 238, 247, 0.28); }
.ghost:hover { background: rgba(233, 238, 247, 0.16); }

/* ---------- navigation ---------- */
.nav { position: fixed; inset: 0 0 auto 0; z-index: 50; display: flex; align-items: center; justify-content: space-between;
  padding: 14px var(--gut); transition: background .25s; }
.nav.solid { background: rgba(5, 6, 11, 0.92); backdrop-filter: blur(10px); box-shadow: 0 1px 0 var(--line); }
.brand { display: flex; align-items: center; gap: 12px; text-decoration: none; font: 800 17px/1 "Orbitron", sans-serif; letter-spacing: 0.06em; }
.brand img { border-radius: 50%; }
.nav nav { display: flex; align-items: center; gap: 26px; }
.nav nav a:not(.plate) { text-decoration: none; color: var(--steel); font-size: 18px; }
.nav nav a:not(.plate):hover { color: var(--text); }
.burger { display: none; width: 44px; height: 44px; background: none; border: 0; cursor: pointer; position: relative; }
.burger span { position: absolute; left: 10px; right: 10px; height: 2px; background: var(--text); transition: transform .2s; }
.burger span:first-child { top: 17px; }
.burger span:last-child { top: 25px; }
.burger[aria-expanded="true"] span:first-child { transform: translateY(4px) rotate(45deg); }
.burger[aria-expanded="true"] span:last-child { transform: translateY(-4px) rotate(-45deg); }

/* ---------- hero: the trailer is the page ---------- */
.hero { position: relative; min-height: 100svh; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; }
.hero-video { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; z-index: -2; background: #000; }
.hero-shade { position: absolute; inset: 0; z-index: -1;
  background: linear-gradient(90deg, rgba(5, 6, 11, .9) 0%, rgba(5, 6, 11, .55) 38%, rgba(5, 6, 11, 0) 70%),
              linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 11, 0) 40%); }
.frame { position: absolute; inset: clamp(70px, 9vh, 96px) var(--gut) clamp(18px, 4vh, 40px); pointer-events: none; }
.frame i { position: absolute; width: 46px; height: 46px; border: 2px solid var(--rim); opacity: .85; }
.frame i:nth-child(1) { top: 0; left: 0; border-right: 0; border-bottom: 0; border-color: var(--red); }
.frame i:nth-child(2) { top: 0; right: 0; border-left: 0; border-bottom: 0; }
.frame i:nth-child(3) { bottom: 0; left: 0; border-right: 0; border-top: 0; border-color: var(--red); }
.frame i:nth-child(4) { bottom: 0; right: 0; border-left: 0; border-top: 0; }
.hero-copy { position: relative; max-width: 760px; padding: 0 0 clamp(64px, 11vh, 120px) calc(var(--gut) + 34px); }
.hero h1 { font-size: clamp(54px, 7.4vw, 104px); line-height: .9; text-shadow: 0 4px 40px rgba(0, 0, 0, .6); }
.hero h1::after { content: ""; display: block; width: 120px; height: 4px; margin-top: 22px; background: linear-gradient(90deg, var(--red), var(--rim)); }
.lead { max-width: 560px; margin: 22px 0 28px; font-size: clamp(19px, 2vw, 22px); color: #d4dbe7; max-width: 34em; }
.actions { display: flex; flex-wrap: wrap; gap: 12px; }
.steps { list-style: none; margin: 26px 0 0; padding: 0; display: flex; flex-wrap: wrap; gap: 8px 22px; color: var(--steel); font-size: 17px; }
.steps li { display: flex; align-items: center; gap: 9px; }
.steps b { width: 26px; height: 26px; flex: 0 0 26px; display: grid; place-items: center; font-size: 15px; color: #fff;
  background: var(--red); clip-path: polygon(6px 0, 100% 0, 100% calc(100% - 6px), calc(100% - 6px) 100%, 0 100%, 0 6px); }
.hero-meta { position: absolute; right: calc(var(--gut) + 30px); bottom: clamp(30px, 6vh, 60px); margin: 0; color: var(--steel); font-size: 16px; }
.hero h1, .lead, .actions, .steps { animation: in .9s cubic-bezier(.2, .7, .2, 1) both; }
.lead { animation-delay: .12s; } .actions { animation-delay: .22s; } .steps { animation-delay: .32s; }
@keyframes in { from { opacity: 0; transform: translateY(18px); } to { opacity: 1; transform: none; } }

.play { width: 0; height: 0; border-style: solid; border-width: 7px 0 7px 12px; border-color: transparent transparent transparent currentColor; }

/* trailer player */
.player { padding: 0; border: 0; background: #000; width: min(1100px, 94vw); max-width: none; box-shadow: 0 30px 120px rgba(0, 0, 0, .8); }
.player::backdrop { background: rgba(2, 3, 6, .88); }
.player video { width: 100%; aspect-ratio: 16 / 9; }
.player .close { position: absolute; top: 8px; right: 8px; z-index: 2; width: 44px; height: 44px; border: 0; cursor: pointer;
  background: rgba(5, 6, 11, .7); color: #fff; font-size: 20px; }

/* ---------- sections ---------- */
main > section:not(.hero) { padding: clamp(80px, 11vw, 140px) 0; }
.head { max-width: 720px; margin-bottom: 48px; }
.head p { color: var(--steel); margin-top: 16px; font-size: 21px; }
.note { color: var(--steel); margin-top: 26px; }

/* fleet: pick a hull, see it big */
.fleet { background: radial-gradient(ellipse 60% 50% at 70% 50%, rgba(255, 43, 58, .1), transparent 70%); }
.hangar { display: grid; grid-template-columns: 260px 1fr; gap: 30px; align-items: center; }
.hull-list { display: flex; flex-direction: column; border-left: 1px solid var(--line); }
.hull-list button { background: none; border: 0; color: var(--steel); font: 700 26px/1 "Rajdhani", sans-serif; text-align: left;
  padding: 12px 0 12px 22px; cursor: pointer; position: relative; }
.hull-list button::before { content: ""; position: absolute; left: -1px; top: 8px; bottom: 8px; width: 3px; background: transparent; }
.hull-list button:hover { color: var(--text); }
.hull-list button[aria-selected="true"] { color: var(--text); }
.hull-list button[aria-selected="true"]::before { background: linear-gradient(var(--red), var(--rim)); }
.hull-view { margin: 0; display: grid; grid-template-columns: minmax(0, 1.25fr) minmax(0, 1fr); gap: 24px; align-items: center;
  background: linear-gradient(180deg, var(--plate), rgba(16, 19, 27, .4)); padding: 28px;
  clip-path: polygon(28px 0, 100% 0, 100% calc(100% - 28px), calc(100% - 28px) 100%, 0 100%, 0 28px); }
.hull-view img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 20px 40px rgba(0, 0, 0, .6)); transition: opacity .2s; }
.hull-view img.swap { opacity: 0; }
.hull-view h3 { font-size: clamp(44px, 5vw, 64px); }
.hull-role { color: var(--red); margin: 6px 0 16px; font-size: 21px; }
.hull-stats { display: flex; gap: 34px; margin: 22px 0 0; }
.hull-stats dt { color: var(--steel); font-size: 16px; }
.hull-stats dd { margin: 0; font-size: 34px; font-weight: 700; }

/* gameplay rows */
.row { display: grid; grid-template-columns: minmax(0, 1.4fr) minmax(0, 1fr); gap: clamp(24px, 5vw, 64px); align-items: center; margin-bottom: clamp(48px, 7vw, 90px); }
.row:last-child { margin-bottom: 0; }
.row.flip img { order: 2; }
.row img { width: 100%; height: auto; clip-path: polygon(22px 0, 100% 0, 100% calc(100% - 22px), calc(100% - 22px) 100%, 0 100%, 0 22px); }
.row h3 { font-size: clamp(32px, 3.4vw, 44px); margin-bottom: 14px; }
.row p { color: var(--steel); font-size: 20px; }

/* split sections */
.split { display: grid; grid-template-columns: minmax(0, 1fr) minmax(0, 1fr); gap: clamp(30px, 6vw, 80px); align-items: start; }
.split h2 { margin-bottom: 20px; }
.split p { color: var(--steel); }
.coop { background: var(--plate); }
.howto { list-style: none; margin: 0; padding: 0; display: grid; gap: 14px; }
.howto li { display: flex; gap: 18px; padding: 20px 22px; background: var(--plate-2);
  clip-path: polygon(var(--cut) 0, 100% 0, 100% calc(100% - var(--cut)), calc(100% - var(--cut)) 100%, 0 100%, 0 var(--cut)); }
.howto b { font-size: 40px; line-height: .9; color: var(--red); min-width: 26px; }
.howto strong { display: block; font-size: 22px; margin-bottom: 2px; }
.howto div { color: var(--steel); }

/* update log */
.log { display: grid; gap: 0; border-top: 1px solid var(--line); margin-bottom: 30px; }
.entry { display: grid; grid-template-columns: 170px minmax(0, 1fr); gap: 24px; padding: 28px 0; border-bottom: 1px solid var(--line); }
.entry .when { color: var(--steel); font-size: 17px; }
.entry .when strong { display: block; color: var(--text); font-size: 30px; line-height: 1; }
.entry.latest .when strong { color: var(--red); }
.entry h3 { font-size: 30px; margin-bottom: 8px; }
.entry p { color: var(--steel); }
.entry ul { margin: 6px 0 0; padding-left: 20px; color: #c9d1de; }
.entry li { margin: 3px 0; }
.entry li::marker { color: var(--red); }

/* support */
.support { background: linear-gradient(180deg, transparent, rgba(255, 181, 71, .06)); }
.donate-box { display: grid; gap: 14px; justify-items: start; align-content: center; height: 100%; }
.donate-box p { color: var(--steel); }

/* contact */
.channels { list-style: none; margin: 0; padding: 0; border-top: 1px solid var(--line); }
.channels li { display: flex; justify-content: space-between; gap: 16px; padding: 18px 0; border-bottom: 1px solid var(--line); flex-wrap: wrap; }
.channels span { color: var(--steel); }
.channels a { font-size: 22px; text-decoration-color: var(--red); text-underline-offset: 4px; }

/* footer */
.foot { padding: 40px 0 50px; border-top: 1px solid var(--line); color: var(--steel); font-size: 16px; }
.foot .wrap { display: flex; flex-wrap: wrap; justify-content: space-between; gap: 18px; }
.foot p { margin: 0; max-width: 640px; }
.foot nav { display: flex; flex-wrap: wrap; gap: 20px; }
.foot a { text-decoration: none; }
.foot a:hover { color: var(--text); }

/* ---------- inner pages (patch notes, legal, 404) ---------- */
.page { padding: 140px 0 90px; min-height: 70vh; }
.page h1 { font-size: clamp(48px, 7vw, 90px); margin-bottom: 18px; }
.page h1::after { content: ""; display: block; width: 100px; height: 4px; margin-top: 18px; background: linear-gradient(90deg, var(--red), var(--rim)); }
.page .intro { color: var(--steel); font-size: 21px; max-width: 40em; margin-bottom: 40px; }
.legal pre { white-space: pre-wrap; font: 600 18px/1.6 "Rajdhani", sans-serif; color: #cfd6e2; background: var(--plate); padding: 28px; }
.legal h3 { margin: 34px 0 10px; font-size: 26px; }
.legal p { color: var(--steel); }

/* ---------- small screens ---------- */
@media (max-width: 960px) {
  .hangar { grid-template-columns: 1fr; }
  .hull-list { flex-direction: row; overflow-x: auto; border-left: 0; border-bottom: 1px solid var(--line); scroll-snap-type: x mandatory; -webkit-overflow-scrolling: touch; }
  .hull-list button { padding: 12px 16px; font-size: 22px; white-space: nowrap; scroll-snap-align: start; }
  .hull-list button::before { left: 12px; right: 12px; top: auto; bottom: -1px; width: auto; height: 3px; background: transparent; }
  .hull-list button[aria-selected="true"]::before { background: linear-gradient(90deg, var(--red), var(--rim)); }
  .hull-view { grid-template-columns: 1fr; }
  .row, .row.flip { grid-template-columns: 1fr; }
  .row.flip img { order: 0; }
  .split { grid-template-columns: 1fr; }
}
@media (max-width: 760px) {
  .burger { display: block; }
  .nav nav { position: fixed; inset: 68px 0 auto 0; flex-direction: column; align-items: stretch; gap: 0; padding: 8px var(--gut) 20px;
    background: rgba(5, 6, 11, .97); box-shadow: 0 1px 0 var(--line); display: none; }
  .nav nav.open { display: flex; }
  .nav nav a:not(.plate) { padding: 14px 0; border-bottom: 1px solid var(--line); font-size: 20px; }
  .nav nav .plate { margin-top: 16px; }
  .nav { background: rgba(5, 6, 11, .75); backdrop-filter: blur(8px); }
  .hero { min-height: 100svh; }
  .hero-shade { background: linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 11, .82) 48%, rgba(5, 6, 11, .2) 100%); }
  .hero-copy { padding: 0 var(--gut) 90px; }
  .frame { display: none; }
  .hero-meta { left: var(--gut); right: auto; bottom: 30px; }
  .actions .plate, .actions .ghost { flex: 1 1 100%; }
  .steps { flex-direction: column; }
  .entry { grid-template-columns: 1fr; gap: 8px; }
  .entry .when strong { display: inline; margin-right: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  .hero h1, .lead, .actions, .steps { animation: none; }
}

/* FAQ */
.faq-list { display: grid; gap: 10px; max-width: 900px; }
.faq details { background: var(--plate); box-shadow: inset 0 0 0 1px var(--line); padding: 0 22px; }
.faq summary { cursor: pointer; list-style: none; padding: 18px 0; font-size: 23px; font-weight: 700; display: flex; justify-content: space-between; gap: 16px; }
.faq summary::-webkit-details-marker { display: none; }
.faq summary::after { content: "+"; color: var(--rim); font-size: 26px; line-height: 1; }
.faq details[open] summary::after { content: "–"; }
.faq details p { color: var(--steel); padding-bottom: 18px; margin: 0; }

/* Short header nav that stays visible on phones (landing pages) */
@media (max-width: 900px) {
  .nav nav.keep { display: flex; position: static; flex-direction: row; align-items: center; gap: 14px; padding: 0; background: none; box-shadow: none; }
  .nav nav.keep a:not(.plate) { border: 0; padding: 0; font-size: 16px; }
  .nav nav.keep .plate { margin-top: 0; }
}

/* Content pages (guide / ships / sectors) */
.doc { padding: 120px 0 80px; }
.doc h1 { font-size: clamp(44px, 6vw, 76px); }
.doc .lead { max-width: 46em; }
.doc h2 { font-size: clamp(28px, 3.4vw, 40px); margin: 0 0 10px; }
.doc h2.sub { margin: 56px 0 16px; }
.doc ul { padding-left: 1.2em; color: var(--steel); }
.doc ul li { margin: 6px 0; }
.doc p { color: #cfd6e2; }
.crumbs { color: var(--steel); font-size: 16px; margin-bottom: 18px; }
.crumbs a { color: var(--steel); }
.table-wrap { overflow-x: auto; margin: 26px 0 40px; }
.doc table { width: 100%; border-collapse: collapse; font-size: 17px; min-width: 640px; }
.doc caption { text-align: left; color: var(--steel); padding-bottom: 8px; }
.doc th, .doc td { text-align: left; padding: 10px 12px; border-bottom: 1px solid var(--line); }
.doc th { color: var(--steel); font-weight: 700; }
.doc kbd { font: 700 15px/1 "Orbitron", sans-serif; background: var(--plate-2); padding: 4px 8px; box-shadow: inset 0 0 0 1px var(--line); }
.entry { display: grid; grid-template-columns: 260px 1fr; gap: 34px; align-items: center; padding: 34px 0; border-top: 1px solid var(--line); }
.entry.wide { grid-template-columns: 1fr; }
.entry img { width: 100%; height: auto; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .6)); }
.entry .tag { color: var(--red); font-size: 19px; }
.guide { padding-left: 0; list-style: none; counter-reset: s; }
.guide li { counter-increment: s; padding: 22px 0 10px 64px; position: relative; border-top: 1px solid var(--line); }
.guide li::before { content: counter(s); position: absolute; left: 0; top: 22px; width: 42px; height: 42px; display: grid; place-items: center; background: var(--red); color: #fff; font-weight: 700; }
.cta { margin-top: 70px; padding: 34px; background: var(--plate); box-shadow: inset 0 0 0 1px var(--line); }
@media (max-width: 760px) { .entry { grid-template-columns: 1fr; } .entry img { max-width: 240px; } }
@media (max-width: 560px) { .nav nav.keep a:not(.plate) { display: none; } }

/* ---------- Rift Arena ---------- */
.rift { position: relative; overflow: hidden;
  background: radial-gradient(ellipse 70% 60% at 50% 30%, rgba(255, 61, 139, .16), transparent 70%),
              radial-gradient(ellipse 50% 40% at 80% 80%, rgba(140, 60, 255, .12), transparent 70%), var(--void); }
.rift::before { content: ""; position: absolute; left: 50%; top: 32%; width: 1200px; height: 1200px; margin: -600px 0 0 -600px;
  background: repeating-conic-gradient(from 0deg, rgba(255, 61, 139, .07) 0 8deg, transparent 8deg 24deg);
  border-radius: 50%; animation: riftspin 90s linear infinite; pointer-events: none;
  -webkit-mask: radial-gradient(circle, #000 0 30%, transparent 70%); mask: radial-gradient(circle, #000 0 30%, transparent 70%); }
@keyframes riftspin { to { transform: rotate(360deg); } }
@media (prefers-reduced-motion: reduce) { .rift::before { animation: none; } }
.rift .wrap { position: relative; }
.kicker { color: var(--rim) !important; font: 700 16px/1 "Orbitron", sans-serif !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px !important; }
.rift-live { display: flex; flex-wrap: wrap; gap: 14px; margin-bottom: 40px; }
.rift-live > div { background: rgba(16, 19, 27, .85); padding: 18px 26px; box-shadow: inset 0 0 0 1px rgba(255, 61, 139, .35);
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); display: flex; flex-direction: column; gap: 6px; }
.rift-state, .rift-label { color: var(--steel); font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.rift-time { font: 800 clamp(34px, 5vw, 52px)/1 "Orbitron", sans-serif; color: #fff; text-shadow: 0 0 24px rgba(255, 61, 139, .6); font-variant-numeric: tabular-nums; }
.rift-live.open .rift-time { color: #7dffb0; text-shadow: 0 0 24px rgba(80, 255, 160, .5); }
.rift-boss { font: 800 clamp(26px, 3.4vw, 38px)/1 "Orbitron", sans-serif; color: var(--rim); }
.rift-bosses { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 16px; }
.rift-bosses article { background: linear-gradient(180deg, rgba(24, 28, 39, .95), rgba(16, 19, 27, .6)); padding: 18px; position: relative;
  clip-path: polygon(18px 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%, 0 18px); transition: transform .2s; }
.rift-bosses article.today { box-shadow: inset 0 0 0 2px var(--rim); transform: translateY(-6px); }
.rift-bosses article.today::after { content: "TODAY"; position: absolute; top: 14px; right: 14px; background: var(--rim); color: #fff;
  font: 700 13px/1 "Orbitron", sans-serif; padding: 6px 10px; letter-spacing: .1em; }
.rift-bosses img { width: 100%; height: auto; aspect-ratio: 1; object-fit: contain; filter: drop-shadow(0 16px 30px rgba(0, 0, 0, .7)); }
.rift-bosses h3 { font-size: 26px; margin: 8px 0 8px; }
.rift-bosses p { color: var(--steel); font-size: 17px; }
.rift-bosses span { color: var(--gold); font-size: 16px; }
.rift-modes { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 16px; margin-top: 30px; }
.rift-modes div { background: var(--plate); padding: 20px 22px; }
.rift-modes b { font: 800 22px/1 "Orbitron", sans-serif; text-transform: uppercase; display: block; margin-bottom: 4px; }
.rift-modes span { color: var(--steel); font-size: 16px; }
.rift-modes p { color: var(--steel); margin: 10px 0 0; font-size: 18px; }
.m-normal { color: #6dff9e; } .m-hard { color: var(--gold); } .m-night { color: var(--red); }
.rift-rules { margin: 30px 0 0; padding-left: 22px; color: var(--steel); font-size: 18px; }
.rift-rules li { margin-bottom: 8px; }
@media (max-width: 980px) { .rift-bosses { grid-template-columns: repeat(2, minmax(0, 1fr)); } .rift-modes { grid-template-columns: 1fr; } }
@media (max-width: 520px) { .rift-bosses { grid-template-columns: 1fr; } }

/* =====================================================================
   v1.9 redesign layer: glass nav, cinematic hero, reveal, bento, gallery,
   CTA and a mobile pass (shorter texts, swipe rows, collapsibles)
   ===================================================================== */
#stars { position: fixed; inset: 0; width: 100%; height: 100%; z-index: -1; pointer-events: none; }
body { background: radial-gradient(ellipse 80% 50% at 50% 0%, #0b0d1a, var(--void) 70%) fixed; }
main > section:not(.hero) { background-color: transparent; }
.nav.solid { background: rgba(5, 6, 11, .72); backdrop-filter: blur(14px) saturate(1.3); -webkit-backdrop-filter: blur(14px) saturate(1.3); }
.nav nav a:not(.plate) { position: relative; }
.nav nav a:not(.plate)::after { content: ""; position: absolute; left: 0; right: 0; bottom: -6px; height: 2px; background: var(--rim);
  transform: scaleX(0); transition: transform .2s; }
.nav nav a:not(.plate):hover::after { transform: scaleX(1); }
.nav nav a[href="#rift"] { color: var(--rim); }

/* hero */
.hero h1 em { font-style: normal; background: linear-gradient(90deg, #fff 0%, #ffd1e4 40%, var(--rim) 100%); -webkit-background-clip: text;
  background-clip: text; color: transparent; filter: drop-shadow(0 0 30px rgba(255, 61, 139, .35)); }
.hero-shade { background: linear-gradient(90deg, rgba(5, 6, 11, .92) 0%, rgba(5, 6, 11, .6) 40%, rgba(5, 6, 11, .05) 75%),
  linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 11, 0) 45%), radial-gradient(ellipse at 70% 40%, transparent 30%, rgba(5, 6, 11, .5) 100%); }
.hero::after { content: ""; position: absolute; inset: 0; z-index: -1; pointer-events: none; opacity: .18;
  background: repeating-linear-gradient(0deg, rgba(255, 255, 255, .05) 0 1px, transparent 1px 3px); mix-blend-mode: overlay; }
.hero-badge { display: inline-flex; align-items: center; gap: 10px; margin-bottom: 22px; padding: 8px 16px 8px 8px; text-decoration: none;
  background: rgba(255, 61, 139, .12); box-shadow: inset 0 0 0 1px rgba(255, 61, 139, .45); color: #ffd1e4; font-size: 17px;
  clip-path: polygon(10px 0, 100% 0, 100% calc(100% - 10px), calc(100% - 10px) 100%, 0 100%, 0 10px); animation: in .9s both; }
.hero-badge b { background: var(--rim); color: #fff; font: 700 12px/1 "Orbitron", sans-serif; padding: 6px 8px; letter-spacing: .1em; }
.hero-badge span { color: #fff; font-variant-numeric: tabular-nums; }
.hero-badge:hover { background: rgba(255, 61, 139, .2); }
.hero-stats { list-style: none; display: flex; flex-wrap: wrap; gap: 10px 30px; margin: 30px 0 0; padding: 0; animation: in .9s .3s both; }
.hero-stats li { color: var(--steel); font-size: 16px; text-transform: uppercase; letter-spacing: .08em; }
.hero-stats b { display: block; font: 800 34px/1 "Orbitron", sans-serif; color: #fff; letter-spacing: 0; margin-bottom: 4px; }
.nowrap { white-space: nowrap; }
.scroll-cue { position: absolute; left: 50%; bottom: 26px; width: 26px; height: 42px; margin-left: -13px; border-radius: 14px;
  box-shadow: inset 0 0 0 2px rgba(233, 238, 247, .5); }
.scroll-cue span { position: absolute; left: 50%; top: 9px; width: 4px; height: 8px; margin-left: -2px; border-radius: 2px; background: #fff;
  animation: cue 1.6s infinite; }
@keyframes cue { 0% { opacity: 0; transform: translateY(0); } 30% { opacity: 1; } 100% { opacity: 0; transform: translateY(14px); } }

/* reveal on scroll */
.pre { opacity: 0; transform: translateY(26px); transition: opacity .8s cubic-bezier(.2, .7, .2, 1), transform .8s cubic-bezier(.2, .7, .2, 1); }
.pre.shown { opacity: 1; transform: none; }
.bento .card.pre:nth-child(2) { transition-delay: .08s; } .bento .card.pre:nth-child(3) { transition-delay: .16s; }
.bento .card.pre:nth-child(4) { transition-delay: .06s; } .bento .card.pre:nth-child(5) { transition-delay: .14s; }

/* section heads */
h2 { background: linear-gradient(180deg, #fff 30%, #b9c3d6); -webkit-background-clip: text; background-clip: text; color: transparent; }
.kicker { color: var(--rim) !important; font: 700 15px/1 "Orbitron", sans-serif !important; letter-spacing: .14em; text-transform: uppercase; margin: 0 0 14px !important; }
main > section:not(.hero):not(.gallery) { position: relative; }
main > section:not(.hero):not(.gallery):not(.cta)::before { content: ""; position: absolute; top: 0; left: 50%; width: min(900px, 80%); height: 1px;
  transform: translateX(-50%); background: linear-gradient(90deg, transparent, rgba(255, 61, 139, .5), transparent); }

/* bento gameplay */
.bento { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); grid-auto-rows: 280px; gap: 16px; }
.card { position: relative; overflow: hidden; margin: 0; background: var(--plate);
  clip-path: polygon(20px 0, 100% 0, 100% calc(100% - 20px), calc(100% - 20px) 100%, 0 100%, 0 20px); }
.card.big { grid-column: span 2; grid-row: span 2; }
.card.wide { grid-column: span 2; }
.card img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; transition: transform .6s cubic-bezier(.2, .7, .2, 1), filter .4s; filter: saturate(1.05); }
.card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(0deg, rgba(5, 6, 11, .95) 0%, rgba(5, 6, 11, .55) 38%, rgba(5, 6, 11, 0) 70%); }
.card > div { position: absolute; left: 0; right: 0; bottom: 0; z-index: 1; padding: 22px 24px; }
.card h3 { font-size: clamp(24px, 2.4vw, 32px); margin-bottom: 8px; }
.card.big h3 { font-size: clamp(32px, 3.4vw, 46px); }
.card p { color: #c9d1de; font-size: 17px; margin: 0; max-height: 0; opacity: 0; overflow: hidden; transition: max-height .4s, opacity .4s; }
.card.big p, .card:hover p, .card:focus-within p { max-height: 160px; opacity: 1; }
.card:hover img { transform: scale(1.06); filter: saturate(1.25) brightness(1.08); }
.card { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .06); }

/* gallery strip */
.gallery { padding: 0 0 clamp(60px, 8vw, 110px) !important; }
.strip { display: flex; gap: 14px; overflow-x: auto; scroll-snap-type: x mandatory; padding: 4px var(--gut) 16px; scrollbar-width: thin; }
.strip button { flex: 0 0 min(460px, 78vw); padding: 0; border: 0; background: none; cursor: zoom-in; scroll-snap-align: center;
  clip-path: polygon(14px 0, 100% 0, 100% calc(100% - 14px), calc(100% - 14px) 100%, 0 100%, 0 14px); }
.strip img { width: 100%; height: auto; aspect-ratio: 16 / 9; object-fit: cover; transition: transform .4s; }
.strip button:hover img { transform: scale(1.04); }
.lightbox { padding: 0; border: 0; background: none; max-width: 96vw; }
.lightbox::backdrop { background: rgba(2, 3, 6, .9); }
.lightbox img { max-width: 96vw; max-height: 88vh; width: auto; height: auto; }
.lightbox .close { position: absolute; top: 8px; right: 8px; width: 44px; height: 44px; border: 0; cursor: pointer; background: rgba(5, 6, 11, .7); color: #fff; font-size: 20px; }

/* fleet: glowing platform under the ship */
.hull-view { position: relative; }
.hull-view img { position: relative; z-index: 1; }
.hull-view::before { content: ""; position: absolute; left: 6%; top: 18%; width: 48%; aspect-ratio: 1; border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 61, 139, .22), transparent 65%); animation: pulse 4s ease-in-out infinite; }
@keyframes pulse { 50% { transform: scale(1.08); opacity: .7; } }

/* collapsible "more" */
details.more { margin-top: 24px; }
details.more summary { cursor: pointer; list-style: none; display: inline-flex; align-items: center; gap: 10px; color: var(--text); font-size: 19px;
  padding: 10px 18px; background: rgba(233, 238, 247, .06); box-shadow: inset 0 0 0 1px rgba(233, 238, 247, .2); }
details.more summary::-webkit-details-marker { display: none; }
details.more summary::after { content: "+"; color: var(--rim); font-size: 22px; line-height: 1; transition: transform .2s; }
details.more[open] summary::after { transform: rotate(45deg); }

/* final call to action */
.cta { text-align: center; background: radial-gradient(ellipse 60% 70% at 50% 60%, rgba(255, 43, 58, .16), transparent 70%); }
.cta img { width: min(460px, 80vw); height: auto; margin: 0 auto 10px; filter: drop-shadow(0 0 40px rgba(80, 160, 255, .25)); }
.cta h2 { margin-bottom: 14px; }
.cta p { color: var(--steel); margin-bottom: 26px; }

/* ---------- phones & small tablets ---------- */
@media (max-width: 900px) {
  .bento { grid-template-columns: repeat(2, minmax(0, 1fr)); grid-auto-rows: 220px; }
  .card.big { grid-column: span 2; grid-row: span 1; grid-auto-rows: 260px; }
  .card.wide { grid-column: span 2; }
}
@media (max-width: 700px) {
  body { font-size: 17px; }
  main > section:not(.hero) { padding: 64px 0; }
  .head { margin-bottom: 28px; }
  .head p { font-size: 18px; }
  h2 { font-size: 36px; }
  /* hero: text sits on a solid gradient, video stays visible above it */
  .hero { min-height: 100svh; align-items: flex-end; }
  .hero-shade { background: linear-gradient(0deg, var(--void) 0%, rgba(5, 6, 11, .92) 42%, rgba(5, 6, 11, .35) 70%, rgba(5, 6, 11, .2) 100%); }
  .hero-copy { padding: 0 var(--gut) 64px; }
  .hero h1 { font-size: 48px; }
  .hero h1::after { margin-top: 14px; }
  .lead { font-size: 18px; margin: 16px 0 20px; }
  .hero-badge { font-size: 14px; margin-bottom: 16px; }
  .hero-stats { gap: 8px 20px; margin-top: 22px; }
  .hero-stats b { font-size: 24px; }
  .hero-stats li { font-size: 12px; }
  .steps, .hero-meta, .frame, .scroll-cue { display: none; }
  .actions .plate, .actions .ghost { flex: 1 1 100%; }
  /* rift: bosses as a swipe row */
  .rift-bosses { display: flex; overflow-x: auto; scroll-snap-type: x mandatory; gap: 12px; margin: 0 calc(var(--gut) * -1); padding: 6px var(--gut) 14px; }
  .rift-bosses article { flex: 0 0 74vw; scroll-snap-align: center; }
  .rift-bosses article.today { transform: none; }
  .rift-bosses p { font-size: 16px; }
  .rift-live > div { flex: 1 1 100%; padding: 14px 18px; }
  .rift-modes { gap: 10px; }
  .rift-modes div { padding: 14px 16px; }
  .rift-modes p { font-size: 16px; }
  /* gameplay cards: one per row, short text always visible */
  .bento { grid-template-columns: 1fr; grid-auto-rows: 210px; gap: 12px; }
  .card.big, .card.wide { grid-column: span 1; grid-row: span 1; }
  .card p { max-height: 90px; opacity: 1; font-size: 15px; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }
  .card h3, .card.big h3 { font-size: 24px; }
  .card > div { padding: 16px 18px; }
  /* fleet: ship picker as a swipe row */
  .hangar { grid-template-columns: 1fr; gap: 14px; }
  .hull-list { flex-direction: row; overflow-x: auto; border-left: 0; gap: 4px; scroll-snap-type: x proximity; }
  .hull-list button { flex: 0 0 auto; padding: 10px 14px; font-size: 20px; scroll-snap-align: start; }
  .hull-list button::before { left: 10px; right: 10px; top: auto; bottom: 0; width: auto; height: 3px; }
  .hull-view { grid-template-columns: 1fr; padding: 18px; }
  .hull-view h3 { font-size: 40px; }
  .note { font-size: 16px; }
  /* co-op + support + contact: tighter */
  .split { grid-template-columns: 1fr; gap: 22px; }
  .howto li div { font-size: 16px; }
  .updates .entry ul li:nth-child(n+4) { display: none; }
  .faq-list summary { font-size: 18px; }
  .strip button { flex-basis: 84vw; }
  .cta h2 { font-size: 34px; }
}
@media (prefers-reduced-motion: reduce) { .pre { opacity: 1; transform: none; } .hull-view::before, .scroll-cue span { animation: none; } }

.hero-badge i { font-style: normal; }
@media (max-width: 700px) { .hero-badge .long { display: none; } .hero-badge { white-space: nowrap; } }
