@font-face {
  font-family: Outfit;
  src: url("../fonts/Outfit-Variable.woff") format("woff");
  font-weight: 100 900;
  font-style: normal;
  font-display: swap;
}

:root {
  --steggs-blue: #006afd;
  --steggs-navy: #0f1a28;
  --steggs-white: #fff;
  --bs-body-font-family: Outfit, system-ui, sans-serif;
  --bs-body-bg: #0b121c;
  --bs-body-color: #fff;
  --bs-primary: var(--steggs-blue);
  --bs-primary-rgb: 0, 106, 253;
}

html { scroll-behavior: smooth; scroll-padding-top: 24px; }
body { margin: 0; -webkit-font-smoothing: antialiased; background: radial-gradient(ellipse at 90% 0, #006afd10, transparent 48%), var(--bs-body-bg); }
::selection { background: var(--steggs-blue); color: #fff; }
a { text-underline-offset: .2em; }
a, button { -webkit-tap-highlight-color: transparent; }
a:focus-visible, button:focus-visible { outline: 3px solid #86b8ff; outline-offset: 5px; }
.container { max-width: 1280px; padding-inline: 32px; }
.icon { width: 20px; height: 20px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; flex: 0 0 auto; vertical-align: middle; }
.icon-definitions { position: absolute; width: 0; height: 0; overflow: hidden; }
.skip-link { position: absolute; top: -100px; left: 20px; z-index: 10; padding: 14px 22px; color: #fff; background: var(--steggs-blue); }
.skip-link:focus { top: 12px; }
.text-blue { color: #71abff; }
.eyebrow { display: flex; align-items: center; gap: 10px; font-size: 11px; font-weight: 500; letter-spacing: .16em; line-height: 1.8; color: #c9d5e5; margin-bottom: 22px; }
.brand-stroke { display: inline-block; width: 20px; height: 3px; background: #398cff; }
h1, h2, h3, p { overflow-wrap: break-word; }
h1 { font-size: clamp(2.6rem, 5vw, 4.4rem); line-height: 1.05; letter-spacing: -.045em; font-weight: 600; }
h2 { font-size: 25px; line-height: 1.2; letter-spacing: -.025em; font-weight: 500; }
h3 { font-size: 40px; font-weight: 600; letter-spacing: -.035em; }
.btn { display: inline-flex; align-items: center; justify-content: center; gap: 16px; font-size: 14px; font-weight: 500; border-radius: 5px; padding: 14px 22px; transition: background-color .2s, border-color .2s, color .2s; }
.btn-primary { --bs-btn-bg: #006afd; --bs-btn-border-color: #006afd; --bs-btn-hover-bg: #0056ce; --bs-btn-hover-border-color: #0056ce; --bs-btn-active-bg: #0048ad; --bs-btn-active-border-color: #0048ad; }
.btn-sm { padding: 10px 17px; font-size: 13px; gap: 12px; }
.btn-outline-light { --bs-btn-border-color: #3f516a; --bs-btn-bg: #ffffff04; }
.btn .icon { width: 18px; height: 18px; }
.site-header { background: #0b121c66; }
.navbar { padding-block: 0; min-height: 100px; }
.navbar-brand { margin-left: -18px; padding: 0; }
.navbar-brand img { display: block; width: 220px; height: auto; }
.navbar .nav-link { color: #b9c8dc; font-size: 14px; padding: 12px 8px; }
.navbar .nav-link:hover, .navbar .nav-link:focus { color: #fff; }
.nav-link .icon { width: 14px; height: 14px; margin-left: 6px; }
.nav-panel { margin-left: 12px; }
.navbar-toggler { border-color: #627184; border-radius: 4px; padding: 8px; }

.hero { padding-top: 8px; }
.hero-stage { position: relative; overflow: hidden; isolation: isolate; min-height: 450px; background: var(--steggs-navy); border: 1px solid #344d65; border-radius: 10px; display: flex; align-items: center; }
.hero-scenes { position: absolute; inset: 0; z-index: -2; }
.hero-scene { position: absolute; width: 100%; height: 100%; object-fit: cover; object-position: center 44%; opacity: 0; transition: opacity .5s ease; }
.hero-scene.is-active { opacity: 1; }
.hero-stage::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(90deg, #091421f5 0%, #091421e8 25%, #091421a8 45%, #09142112 75%), linear-gradient(0deg, #091421b3, transparent 40%); }
.hero-stage::after { content: ""; width: 4px; height: 68px; position: absolute; top: 44px; left: 0; background: var(--steggs-blue); }
.hero-copy { padding: 48px 50px 60px; position: relative; z-index: 1; max-width: 730px; }
.hero-description { color: #cad5e5; font-size: 17px; line-height: 1.6; margin: 22px 0 26px; }
.hero-switch { position: absolute; right: 24px; bottom: 24px; display: flex; gap: 4px; padding: 5px; border: 1px solid #7c94b05e; border-radius: 6px; background: #08131ded; z-index: 2; }
.hero-switch[hidden] { display: none; }
.hero-switch button { min-height: 40px; display: flex; align-items: center; gap: 8px; color: #c9d6e6; background: transparent; border: 1px solid transparent; border-radius: 3px; padding: 8px 12px; font-size: 12px; transition: background-color .2s; }
.hero-switch button:hover { color: #fff; background: #1c3047; }
.hero-switch button[aria-pressed="true"] { color: #fff; background: #1d395b; border-color: #3c608f; }
.game-swatch { width: 7px; height: 7px; border-radius: 2px; }
.swatch-minecraft { background: #97cf75; }
.swatch-factorio { background: #eeb768; }

.hosting { padding-block: 36px 32px; }
.section-heading { display: flex; align-items: center; gap: 24px; margin-bottom: 20px; }
.section-heading h2 { margin: 0; flex-shrink: 0; }
.section-rule { flex: 1; height: 1px; background: linear-gradient(90deg, #344457, #34445733); }
.game-card { position: relative; display: flex; align-items: flex-end; overflow: hidden; isolation: isolate; min-height: 330px; height: 100%; background: var(--steggs-navy); border: 1px solid #34485c; border-radius: 8px; transition: border-color .25s, box-shadow .25s; }
.game-card::before { content: ""; position: absolute; inset: 0; z-index: -1; background: linear-gradient(0deg, #08111afc 0%, #08111ae8 26%, #08111a77 55%, #08111a0a 85%); }
.game-art { position: absolute; inset: 0; z-index: -2; }
.game-art img { display: block; width: 100%; height: 100%; object-fit: cover; object-position: center 47%; transition: transform .6s ease; }
.game-body { width: 100%; padding: 0 26px 20px; }
.game-body h3 { margin-bottom: 7px; }
.game-body p { font-size: 14px; color: #c9d5e4; line-height: 1.6; margin-bottom: 15px; }
.game-body a { color: #fff; font-size: 12px; font-weight: 500; text-decoration: none; display: flex; align-items: center; justify-content: space-between; gap: 12px; }
.card-arrow { display: grid; place-items: center; width: 36px; height: 36px; border: 1px solid #5899fc88; border-radius: 4px; background: #006afdd9; transition: background-color .25s; }
.card-arrow .icon { width: 18px; height: 18px; }
.game-card:hover, .game-card:focus-within { border-color: #6c9ce0; box-shadow: 0 0 0 1px #006afd26, 0 8px 28px #0003; }
.game-card:hover .game-art img { transform: scale(1.035); }
.game-card:hover .card-arrow { background: var(--steggs-blue); }
.game-body a:focus-visible { outline: none; }
.game-body a:focus-visible::after { outline: 3px solid #86b8ff; outline-offset: -4px; border-radius: 8px; }

.site-footer { padding-block: 22px 26px; }
.footer-main { border-top: 1px solid #26364b; padding-top: 24px; display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 16px; font-size: 11px; color: #a2b4cc; }
.footer-main p { margin: 0; }
.footer-main nav { display: flex; flex-wrap: wrap; gap: 26px; }
.footer-main a { color: #c6d4e7; text-decoration: none; }
.footer-main a:hover { color: #86b8ff; }
.error-page { min-height: 100vh; display: flex; flex-direction: column; align-items: flex-start; justify-content: center; padding-block: 48px; }
.error-page > a:first-child { margin-left: -18px; margin-bottom: 34px; }

@media (max-width: 1199.98px) {
  .hero-copy { padding-inline: 36px; }
  h1 { font-size: clamp(2.6rem, 5.5vw, 4rem); }
}
@media (max-width: 991.98px) {
  .navbar-collapse { padding-bottom: 22px; }
  .nav-panel { margin: 12px 0 0; }
  .navbar .nav-link { padding-left: 0; }
  .hero-copy { padding: 44px 32px 94px; }
  .hero-stage { min-height: 410px; }
  h1 { font-size: 3.4rem; }
  .hero-description { font-size: 16px; }
  .hero-stage::before { background: linear-gradient(90deg, #091421f5, #091421d9 35%, #09142155 90%), linear-gradient(0deg, #09142199, transparent 40%); }
  .hero-switch { right: 20px; bottom: 20px; }
  .game-card { min-height: 315px; }
  .game-body { padding-inline: 20px; }
  .game-body h3 { font-size: 34px; }
  .game-body p { max-width: 260px; }
}
@media (max-width: 767.98px) {
  .container { padding-inline: 20px; }
  .hero { padding-top: 0; }
  .hero-stage { min-height: 460px; align-items: flex-start; }
  .hero-copy { padding: 32px 24px 110px; }
  h1 { font-size: clamp(2.2rem, 6.8vw, 3.4rem); }
  .eyebrow { font-size: 10px; margin-bottom: 18px; }
  .hero-description { max-width: 280px; margin-block: 18px 22px; font-size: 15px; }
  .hero-stage::before { background: linear-gradient(180deg, #091421e8 0%, #091421b8 42%, #0914211a 67%, #091421cc 100%); }
  .hero-scene { object-position: 55% center; }
  .hero-stage::after { top: 32px; height: 44px; }
  .hero-switch { left: 20px; right: auto; bottom: 18px; }
  .hosting { padding-block: 28px 8px; }
  .section-heading { gap: 16px; margin-bottom: 16px; }
  .section-heading h2 { font-size: 23px; }
  .game-card { min-height: 315px; }
  .game-body p { max-width: none; }
  .site-footer { padding-block: 20px; }
  .footer-main { align-items: flex-start; flex-direction: column; gap: 14px; padding-top: 20px; }
}
@media (max-width: 399.98px) {
  .navbar-brand { margin-left: -18px; margin-right: 0; }
  .navbar-toggler { padding: 5px; }
  .navbar-toggler-icon { width: 24px; height: 24px; }
  .hero-copy { padding-inline: 20px; }
  h1 { font-size: 2.15rem; }
  .hero-stage { min-height: 430px; }
  .game-body { padding-inline: 20px; }
}
@media (max-width: 359.98px) {
  .navbar-brand img { width: 200px; }
  h1 { font-size: 1.9rem; }
  .hero-switch { left: 16px; }
  .hero-switch button { padding-inline: 10px; }
}
@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  *, *::before, *::after { animation: none !important; transition: none !important; }
}
