/*
 * GModHosting - one stylesheet, no build step.
 * Layout and colours follow the approved GModHosting design mockup (navy, electric
 * blue, Sora headings over Inter body). Colours live in :root.
 */

:root {
  --bg: #0a1118;
  --bg-strip: #0d161e;
  --bg-deep: #070c12;
  --card: #0f1b26;
  --card-2: #13212f;
  --line: #1c2b3a;
  --line-soft: rgba(255, 255, 255, 0.06);

  --blue: #0a8fff;
  --blue-btn: #019bfd;
  --blue-btn-hover: #24abff;
  --blue-ink: #3fb0ff;
  --cyan: #9be6ff;

  --ink: #f6f9fc;
  --soft: #a9b8c8;
  --mute: #74859a;
  --green: #4ade80;

  --head: "Sora", "Inter", ui-sans-serif, system-ui, sans-serif;
  --body: "Inter", ui-sans-serif, system-ui, -apple-system, "Segoe UI", sans-serif;
  --radius: 12px;
  color-scheme: dark;
}

/* ---------- Base ---------- */
*,
*::before,
*::after {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
  -webkit-text-size-adjust: 100%;
}
body {
  margin: 0;
  background: var(--bg);
  color: var(--soft);
  font-family: var(--body);
  font-size: 16px;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  overflow-x: hidden;
}
h1, h2, h3, p, ul, figure {
  margin: 0;
}
h1, h2, h3 {
  color: var(--ink);
  font-family: var(--head);
  font-weight: 700;
  letter-spacing: -0.02em;
}
ul {
  padding: 0;
  list-style: none;
}
a {
  color: var(--blue-ink);
  text-decoration: none;
  transition: color 0.2s;
}
a:hover {
  color: #fff;
}
strong {
  color: var(--ink);
  font-weight: 600;
}
button {
  font: inherit;
  color: inherit;
  background: none;
  border: 0;
  padding: 0;
  cursor: pointer;
}
img {
  display: block;
  max-width: 100%;
}
:focus-visible {
  outline: 2px solid var(--blue-ink);
  outline-offset: 3px;
  border-radius: 6px;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}
/* absolute, not fixed: a fixed element follows the scroll and shows up mid-page in full-page captures. */
.skip-link {
  position: absolute;
  left: 16px;
  top: -60px;
  z-index: 100;
  padding: 8px 16px;
  border-radius: 8px;
  background: var(--blue-btn);
  color: #fff;
  font-weight: 600;
}
.skip-link:focus {
  top: 16px;
}
.icon {
  width: 16px;
  height: 16px;
  flex-shrink: 0;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}
/* Filled blue tick (mockup checklists). */
.tick {
  width: 20px;
  height: 20px;
  flex-shrink: 0;
  fill: var(--blue-btn);
  stroke: var(--bg);
  stroke-width: 2.4;
  stroke-linecap: round;
  stroke-linejoin: round;
}
.hl {
  color: var(--blue);
}

/* ---------- Layout ---------- */
.container {
  width: 100%;
  max-width: 1240px;
  margin: 0 auto;
  padding: 0 20px;
}
@media (min-width: 640px) {
  .container {
    padding: 0 28px;
  }
}
.section {
  padding: 52px 0;
}
.section-tight {
  padding: 48px 0;
}
section[id] {
  scroll-margin-top: 16px;
}
@media (min-width: 1024px) {
  .section {
    padding: 64px 0;
  }
  .section-tight {
    padding: 56px 0;
  }
}
.label {
  margin-bottom: 10px;
  color: var(--blue-ink);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}
.section-copy h2 {
  font-size: 30px;
  line-height: 1.15;
}
.section-copy > p:not(.label) {
  max-width: 460px;
  margin-top: 14px;
  font-size: 16px;
  line-height: 1.65;
}
@media (min-width: 1024px) {
  .section-copy h2 {
    font-size: 38px;
  }
  .section-copy > p:not(.label) {
    font-size: 17px;
  }
}

/* ---------- Buttons ---------- */
.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 46px;
  padding: 0 22px;
  border: 1.5px solid transparent;
  border-radius: 8px;
  font-size: 15px;
  font-weight: 600;
  line-height: 1;
  white-space: nowrap;
  transition: background-color 0.2s, border-color 0.2s, color 0.2s;
}
.btn-primary {
  background: var(--blue-btn);
  color: #fff;
}
.btn-primary:hover {
  background: var(--blue-btn-hover);
  color: #fff;
}
.btn-outline {
  border-color: rgba(255, 255, 255, 0.5);
  color: var(--ink);
}
.btn-outline:hover {
  border-color: #fff;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
}
.btn-sm {
  height: 40px;
  padding: 0 18px;
  font-size: 14px;
}
.btn-lg {
  height: 52px;
  padding: 0 30px;
  font-size: 16px;
}
.btn-block {
  display: flex;
  width: 100%;
}

/* ---------- Header ---------- */
/* Not sticky: a sticky header was being captured mid-page (over Gamemodes) in
   full-page screenshots. Like voltra.gg, it now scrolls away with the page. */
.site-header {
  position: relative;
  z-index: 50;
  background: rgba(10, 17, 24, 0.94);
  border-bottom: 1px solid var(--line);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  transition: box-shadow 0.2s;
}
.header-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 24px;
  height: 64px;
}
.logo {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  color: var(--ink);
}
.logo:hover {
  color: var(--ink);
}
.logo-mark {
  width: 36px;
  height: 36px;
}
.logo-text {
  display: flex;
  flex-direction: column;
  line-height: 1.1;
}
.logo-word {
  font-family: var(--head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.02em;
}
.logo-sub {
  margin-top: 2px;
  color: var(--soft);
  font-size: 9.5px;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}
.main-nav {
  display: none;
}
.main-nav ul {
  display: flex;
  gap: 34px;
}
.main-nav a {
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.main-nav a:hover {
  color: var(--blue-ink);
}
.header-actions {
  display: flex;
  align-items: center;
  gap: 20px;
}
.login-link,
.header-actions .btn {
  display: none;
}
.login-link {
  font-size: 14px;
  font-weight: 600;
}
.menu-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid var(--line);
  border-radius: 8px;
  color: var(--ink);
}
.menu-btn .icon {
  width: 20px;
  height: 20px;
}
.menu-btn .i-close,
.menu-btn[aria-expanded="true"] .i-open {
  display: none;
}
.menu-btn[aria-expanded="true"] .i-close {
  display: block;
}
.mobile-nav {
  border-top: 1px solid var(--line);
}
.mobile-nav ul {
  display: flex;
  flex-direction: column;
  padding-top: 6px;
  padding-bottom: 16px;
}
.mobile-nav a:not(.btn) {
  display: block;
  padding: 12px 0;
  border-bottom: 1px solid var(--line-soft);
  color: var(--ink);
  font-weight: 500;
}
.mobile-nav li:last-child {
  padding-top: 14px;
}
@media (min-width: 640px) {
  .header-actions .btn {
    display: inline-flex;
  }
}
@media (min-width: 1024px) {
  .main-nav,
  .login-link {
    display: block;
  }
  .menu-btn,
  .mobile-nav {
    display: none !important;
  }
}

/* ---------- Hero ---------- */
.hero {
  position: relative;
  isolation: isolate;
  overflow: hidden;
}
.hero-art {
  position: relative;
  height: 320px;
}
.hero-art img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 55%;
}
.hero-art::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, var(--bg) 100%);
}
.hero-inner {
  position: relative;
  margin-top: -56px;
  padding-bottom: 48px;
}
.pill {
  display: inline-block;
  padding: 5px 14px;
  border: 1.5px solid rgba(255, 255, 255, 0.55);
  border-radius: 999px;
  background: rgba(10, 17, 24, 0.55);
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.hero h1 {
  margin-top: 20px;
  font-size: 46px;
  font-weight: 800;
  line-height: 1.02;
  letter-spacing: -0.03em;
}
.h1-gmod {
  background: linear-gradient(180deg, #c2f1ff 0%, var(--cyan) 45%, #6cc8f5 100%);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}
.h1-hosting {
  display: block;
  color: var(--blue);
}
.hero-sub {
  max-width: 460px;
  margin-top: 20px;
  color: #d3dde8;
  font-size: 17px;
  line-height: 1.55;
}
.hero-points {
  display: flex;
  flex-wrap: wrap;
  gap: 12px 26px;
  margin-top: 24px;
  color: var(--ink);
  font-size: 14px;
  font-weight: 500;
}
.hero-points li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.hero-points .icon {
  width: 22px;
  height: 22px;
  color: var(--blue-ink);
  stroke-width: 1.8;
}
.hero-ctas {
  display: flex;
  flex-wrap: wrap;
  gap: 14px 22px;
  margin-top: 32px;
}
.hero-note {
  margin-top: 18px;
  color: var(--mute);
  font-size: 13px;
}
@media (min-width: 640px) {
  .hero-art {
    height: 420px;
  }
  .hero h1 {
    font-size: 60px;
  }
}
@media (min-width: 1024px) {
  .hero-art {
    position: absolute;
    top: 0;
    right: 0;
    bottom: 0;
    z-index: -1;
    width: 62%;
    height: auto;
  }
  .hero-art img {
    object-position: center 42%;
  }
  .hero-art::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(10, 17, 24, 0.75) 18%, rgba(10, 17, 24, 0.15) 45%, transparent 70%),
      linear-gradient(0deg, rgba(10, 17, 24, 0.85) 0%, transparent 25%);
  }
  .hero-inner {
    margin-top: 0;
    padding-top: 64px;
    padding-bottom: 72px;
  }
  .hero h1 {
    font-size: 68px;
  }
  .hero-sub {
    font-size: 18px;
  }
}
@media (min-width: 1700px) {
  /* Source art is 736px wide - keep it near the content on very wide screens. */
  .hero-art {
    width: 980px;
    right: calc((100vw - 1240px) / 2 - 140px);
  }
  .hero-art::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(10, 17, 24, 0.75) 18%, rgba(10, 17, 24, 0.15) 45%, transparent 70%),
      linear-gradient(270deg, var(--bg) 0%, transparent 16%),
      linear-gradient(0deg, rgba(10, 17, 24, 0.85) 0%, transparent 25%);
  }
}

/* ---------- Feature strip ---------- */
.strip {
  background: var(--bg-strip);
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}
.strip-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
}
.strip-grid li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 22px 0;
}
.strip-grid li:nth-child(even) {
  padding-left: 16px;
  border-left: 1px solid var(--line);
}
.strip-grid li:nth-child(n + 3) {
  border-top: 1px solid var(--line);
}
.strip-grid .icon {
  width: 34px;
  height: 34px;
  color: var(--blue-ink);
  stroke-width: 1.6;
}
.strip-grid h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.strip-grid p {
  font-size: 13px;
  line-height: 1.4;
}
@media (min-width: 1024px) {
  .strip-grid {
    grid-template-columns: repeat(4, 1fr);
  }
  .strip-grid li,
  .strip-grid li:nth-child(even) {
    padding: 26px 28px;
    border-top: 0;
    border-left: 1px solid var(--line);
  }
  .strip-grid li:first-child {
    padding-left: 0;
    border-left: 0;
  }
  .strip-grid h3 {
    font-size: 16px;
  }
}

/* ---------- Pricing ---------- */
.pricing-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .pricing-layout {
    grid-template-columns: 4fr 7fr;
    gap: 56px;
  }
}
.mini-checks {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-top: 22px;
  color: var(--ink);
  font-size: 15px;
}
.mini-checks li {
  display: flex;
  align-items: center;
  gap: 10px;
}
.price-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.price-main {
  display: grid;
  gap: 24px;
}
@media (min-width: 768px) {
  .price-card {
    padding: 28px 32px;
  }
  .price-main {
    grid-template-columns: 1fr auto;
    gap: 48px;
    align-items: center;
  }
}
.price-slider output {
  display: block;
  color: var(--ink);
  font-family: var(--head);
  font-size: 24px;
  font-weight: 700;
}
.ram-range {
  -webkit-appearance: none;
  appearance: none;
  width: 100%;
  height: 28px;
  margin: 14px 0 0;
  background: transparent;
  cursor: pointer;
  --fill: 37.5%;
}
.ram-range::-webkit-slider-runnable-track {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0a6fe0 0%, var(--blue-btn) var(--fill), #1d2c3c var(--fill));
}
.ram-range::-moz-range-track {
  height: 8px;
  border-radius: 999px;
  background: #1d2c3c;
}
.ram-range::-moz-range-progress {
  height: 8px;
  border-radius: 999px;
  background: linear-gradient(90deg, #0a6fe0, var(--blue-btn));
}
.ram-range::-webkit-slider-thumb {
  -webkit-appearance: none;
  appearance: none;
  width: 22px;
  height: 22px;
  margin-top: -7px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue-btn);
  transition: transform 0.15s ease;
}
.ram-range::-moz-range-thumb {
  width: 14px;
  height: 14px;
  border-radius: 50%;
  background: #fff;
  border: 4px solid var(--blue-btn);
}
.ram-range:active::-webkit-slider-thumb {
  transform: scale(1.1);
}
.ram-range:focus-visible {
  outline: none;
}
.ram-range:focus-visible::-webkit-slider-thumb {
  box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--blue-ink);
}
.ram-range:focus-visible::-moz-range-thumb {
  box-shadow: 0 0 0 3px var(--card), 0 0 0 5px var(--blue-ink);
}
.ram-ticks {
  display: flex;
  justify-content: space-between;
  margin: 6px -8px 0;
  color: var(--mute);
  font-size: 12px;
}
.ram-ticks button {
  position: relative;
  width: 40px;
  padding-top: 8px;
  text-align: center;
  white-space: nowrap;
  transition: color 0.15s;
}
.ram-ticks button::before {
  content: "";
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 5px;
  background: var(--line);
}
.ram-ticks button:hover,
.ram-ticks button.on {
  color: var(--ink);
}
.pricing-layout > *,
.price-main > * {
  min-width: 0;
}
@media (max-width: 520px) {
  /* Nine labels don't fit a phone - share the width and show every other one. */
  .ram-ticks {
    margin: 6px 0 0;
  }
  .ram-ticks button {
    flex: 1 1 0;
    width: auto;
    min-width: 0;
    font-size: 10.5px;
  }
  .ram-ticks button,
  .ram-ticks button.on {
    color: transparent;
  }
}
.price-buy {
  display: flex;
  flex-direction: column;
  gap: 16px;
}
@media (min-width: 768px) {
  .price-buy {
    align-items: flex-end;
  }
}
.price-big {
  color: var(--ink);
  font-family: var(--head);
  font-size: 40px;
  font-weight: 700;
  line-height: 1;
  letter-spacing: -0.02em;
}
.price-big small {
  margin-left: 6px;
  color: var(--soft);
  font-family: var(--body);
  font-size: 15px;
  font-weight: 500;
  letter-spacing: 0;
}
.price-buy .btn {
  min-width: 180px;
}
.tiers {
  margin-top: 26px;
  padding-top: 20px;
  border-top: 1px solid var(--line);
}
.tiers-title {
  margin-bottom: 12px;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.tier-chips {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 8px;
}
@media (min-width: 640px) {
  .tier-chips {
    grid-template-columns: repeat(5, 1fr);
  }
}
@media (min-width: 1240px) {
  .tier-chips {
    grid-template-columns: repeat(9, 1fr);
  }
}
.tier-chips button {
  display: flex;
  flex-direction: column;
  width: 100%;
  padding: 8px 6px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--bg-strip);
  text-align: center;
  transition: border-color 0.15s, background-color 0.15s;
}
.tier-chips button:hover {
  border-color: rgba(63, 176, 255, 0.5);
}
.chip-gb {
  color: var(--ink);
  font-size: 13.5px;
  font-weight: 600;
}
.chip-price {
  color: var(--mute);
  font-size: 12px;
  font-variant-numeric: tabular-nums;
}
.tier-chips .on button {
  border-color: var(--blue-btn);
  background: rgba(1, 155, 253, 0.12);
}
.tier-chips .on .chip-price {
  color: var(--blue-ink);
}
.price-fine {
  margin-top: 14px;
  color: var(--mute);
  font-size: 12.5px;
}

/* ---------- Gamemodes ---------- */
.gm-layout {
  display: grid;
  gap: 36px;
  align-items: center;
}
.gm-layout .btn {
  margin-top: 26px;
}
@media (min-width: 1024px) {
  .gm-layout {
    grid-template-columns: 4fr 8fr;
    gap: 48px;
  }
}
.gm-tiles {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
}
@media (min-width: 768px) {
  .gm-tiles {
    grid-template-columns: repeat(4, 1fr);
    gap: 10px;
    padding: 0 26px 0 14px; /* room for the skewed corners */
  }
}
.gm-tile a {
  position: relative;
  display: block;
  aspect-ratio: 4 / 5;
  overflow: hidden;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: linear-gradient(165deg, var(--c1), var(--c2) 60%, var(--c3));
  color: var(--ink);
}
@media (min-width: 768px) {
  /* The mockup's slanted tiles: skew the frame, un-skew the picture. */
  .gm-tile a {
    aspect-ratio: 3 / 5;
    transform: skewX(-8deg);
  }
  .gm-media img {
    transform: skewX(8deg) scale(1.2);
  }
}
.gm-darkrp { --c1: #2a5c88; --c2: #142536; --c3: #0b131c; }
.gm-scifi { --c1: #4a5287; --c2: #1b1f38; --c3: #0b0f18; }
.gm-sandbox { --c1: #3e7f68; --c2: #172b27; --c3: #0b1316; }
.gm-ttt { --c1: #8c3a3e; --c2: #2b171c; --c3: #0d0f15; }
.gm-media,
.gm-media img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
}
.gm-media img {
  object-fit: cover;
  transition: transform 0.5s ease, filter 0.3s ease;
}
.gm-tile a:hover .gm-media img {
  transform: scale(1.05);
}
@media (min-width: 768px) {
  .gm-tile a:hover .gm-media img {
    transform: skewX(8deg) scale(1.26);
  }
}
.gm-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(0deg, rgba(7, 12, 18, 0.95) 0%, rgba(7, 12, 18, 0.4) 35%, transparent 60%);
}
.gm-tile a:hover {
  border-color: rgba(63, 176, 255, 0.55);
}
.gm-name {
  position: absolute;
  left: 16px;
  right: 14px;
  bottom: 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  font-family: var(--head);
  font-size: 19px;
  font-weight: 700;
  letter-spacing: -0.01em;
}
@media (min-width: 768px) {
  .gm-name {
    transform: skewX(8deg);
  }
}
.gm-name .icon {
  width: 18px;
  height: 18px;
  transition: transform 0.2s;
}
.gm-tile a:hover .gm-name .icon {
  transform: translateX(3px);
}

/* ---------- Control panel ---------- */
.panel-layout {
  display: grid;
  gap: 40px;
  align-items: center;
}
@media (min-width: 1024px) {
  .panel-layout:has(.panel-frame) {
    grid-template-columns: 7fr 5fr;
    gap: 56px;
  }
}
.panel-frame {
  overflow: hidden;
  border: 1px solid #2a3d52;
  border-radius: 14px;
  background: var(--card);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, 0.8);
}
@media (min-width: 1024px) {
  .panel-frame {
    transform: perspective(1800px) rotateY(10deg) rotateX(3deg);
    transform-origin: left center;
  }
}
.frame-bar {
  display: flex;
  gap: 7px;
  padding: 12px 16px;
  border-bottom: 1px solid var(--line);
}
.frame-bar i {
  width: 10px;
  height: 10px;
  border-radius: 50%;
}
.frame-bar i:nth-child(1) { background: #ff5f57; }
.frame-bar i:nth-child(2) { background: #febc2e; }
.frame-bar i:nth-child(3) { background: #28c840; }
.panel-frame img {
  width: 100%;
  height: auto;
}
.checks {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px 32px;
  margin-top: 26px;
  color: var(--ink);
  font-size: 15px;
}
.checks li {
  display: flex;
  align-items: center;
  gap: 12px;
}
@media (min-width: 520px) {
  .checks {
    grid-template-columns: 1fr 1fr;
    max-width: 560px;
  }
}

/* ---------- Locations ---------- */
.loc-layout {
  display: grid;
  gap: 28px;
  align-items: center;
}
@media (min-width: 1024px) {
  .loc-layout {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
}
.loc-cards {
  display: grid;
  gap: 12px;
}
@media (min-width: 640px) {
  .loc-cards {
    grid-template-columns: 1fr 1fr;
  }
}
.loc-cards li {
  display: flex;
  align-items: center;
  gap: 14px;
  padding: 16px 18px;
  border: 1px solid var(--line);
  border-radius: var(--radius);
  background: var(--card);
}
.flag {
  width: 30px;
  height: 20px;
  flex-shrink: 0;
  border-radius: 3px;
}
.loc-cards strong {
  display: block;
  font-size: 15px;
}
.loc-cards small {
  display: block;
  color: var(--mute);
  font-size: 12.5px;
}
.status {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  margin-left: auto;
  color: var(--green);
  font-size: 12px;
  font-weight: 600;
}
.status::before {
  content: "";
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: currentColor;
}

/* ---------- FAQ ---------- */
.faq-head h2 {
  font-size: 30px;
}
@media (min-width: 1024px) {
  .faq-head h2 {
    font-size: 38px;
  }
}
.faq-grid {
  display: grid;
  gap: 10px;
  margin-top: 28px;
  align-items: start;
}
.faq-col {
  display: grid;
  gap: 10px;
}
@media (min-width: 1024px) {
  .faq-grid {
    grid-template-columns: 1fr 1fr;
    gap: 12px;
  }
  .faq-col {
    gap: 12px;
  }
}
.faq {
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--card);
  transition: border-color 0.2s;
}
.faq[open] {
  border-color: rgba(63, 176, 255, 0.4);
}
.faq summary {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 15px 18px;
  list-style: none;
  cursor: pointer;
}
.faq summary::-webkit-details-marker {
  display: none;
}
.faq summary h3 {
  font-family: var(--body);
  font-size: 15px;
  font-weight: 600;
  letter-spacing: 0;
}
.faq summary .icon {
  color: var(--blue-ink);
  transition: transform 0.2s;
}
.faq[open] summary .icon {
  transform: rotate(180deg);
}
.faq p {
  padding: 0 18px 18px;
  font-size: 14.5px;
  line-height: 1.65;
}

/* ---------- CTA banner ---------- */
.cta {
  position: relative;
  isolation: isolate;
  overflow: hidden;
  padding: 64px 0;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
  text-align: center;
}
.cta-bg {
  position: absolute;
  inset: 0;
  z-index: -2;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center 35%;
}
.cta::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(ellipse at center, rgba(10, 17, 24, 0.82) 0%, rgba(10, 17, 24, 0.55) 70%),
    linear-gradient(180deg, rgba(10, 17, 24, 0.35), rgba(10, 17, 24, 0.6));
}
.cta h2 {
  font-size: 28px;
  line-height: 1.2;
}
.cta p {
  max-width: 560px;
  margin: 10px auto 0;
  color: #d3dde8;
  font-size: 16px;
}
.cta .btn {
  margin-top: 24px;
}
@media (min-width: 1024px) {
  .cta {
    padding: 76px 0;
  }
  .cta h2 {
    font-size: 38px;
  }
  .cta p {
    font-size: 17px;
  }
}

/* ---------- Footer ---------- */
.site-footer {
  background: var(--bg-deep);
}
.footer-grid {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 32px 24px;
  padding-top: 44px;
  padding-bottom: 36px;
}
.footer-grid .logo,
.socials {
  grid-column: 1 / -1;
}
@media (min-width: 900px) {
  .footer-grid {
    grid-template-columns: 2.2fr 1fr 1fr 1fr auto;
    align-items: start;
  }
  .footer-grid .logo,
  .socials {
    grid-column: auto;
  }
}
.logo-lg .logo-mark {
  width: 42px;
  height: 42px;
}
.logo-lg .logo-word {
  font-size: 22px;
}
.footer-col-title {
  color: var(--ink);
  font-size: 14px;
  font-weight: 600;
}
.footer-links {
  margin-top: 10px;
  font-size: 13.5px;
}
.footer-links li + li {
  margin-top: 6px;
}
.footer-links a {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  color: var(--soft);
}
.footer-links a:hover {
  color: #fff;
}
.footer-links .icon {
  width: 13px;
  height: 13px;
}
.socials {
  display: flex;
  gap: 18px;
}
.socials a {
  display: inline-flex;
  color: var(--soft);
}
.socials a:hover {
  color: #fff;
}
.socials svg {
  width: 22px;
  height: 22px;
  fill: currentColor;
}
.footer-legal {
  border-top: 1px solid var(--line);
}
.footer-legal-inner {
  display: flex;
  flex-direction: column;
  gap: 10px;
  padding-top: 18px;
  padding-bottom: 22px;
  color: var(--mute);
  font-size: 12px;
  line-height: 1.6;
}
.footer-legal ul {
  display: flex;
  flex-wrap: wrap;
  gap: 4px 18px;
}
.footer-legal a {
  color: var(--soft);
}
@media (min-width: 1024px) {
  .footer-legal-inner {
    flex-direction: row;
    justify-content: space-between;
    gap: 32px;
  }
  .footer-legal ul {
    flex-shrink: 0;
  }
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
  *,
  *::before,
  *::after {
    animation-duration: 0.01ms !important;
    transition-duration: 0.01ms !important;
  }
}

/* Wordmark: "GMod" white, "Hosting" in GModHosting blue. */
.logo-blue {
  color: var(--blue);
}
.logo-mark {
  border-radius: 8px;
}

/* Gamemode wallpapers: framed on their subject, then darkened so the tiles sit
   with the navy page and the names stay readable. */
.gm-darkrp .gm-media img { object-position: 28% 50%; }
.gm-scifi .gm-media img { object-position: 30% 30%; }
.gm-sandbox .gm-media img { object-position: 62% 50%; }
.gm-ttt .gm-media img { object-position: 70% 40%; }
.gm-media img {
  filter: brightness(0.62) saturate(0.85);
}
.gm-tile a:hover .gm-media img {
  filter: brightness(0.78) saturate(0.95);
}
.gm-media::after {
  background:
    linear-gradient(0deg, rgba(7, 12, 18, 0.96) 0%, rgba(7, 12, 18, 0.55) 32%, rgba(7, 12, 18, 0.1) 62%),
    rgba(8, 18, 32, 0.32);
}
/* Per-tile exposure: the rebel art is already dark, the sandbox art very bright. */
.gm-scifi .gm-media img { filter: brightness(0.95) saturate(0.9); }
.gm-scifi a:hover .gm-media img { filter: brightness(1.08) saturate(1); }
.gm-sandbox .gm-media img { filter: brightness(0.6) saturate(0.7); }
.gm-sandbox a:hover .gm-media img { filter: brightness(0.75) saturate(0.85); }


/* Free-trial note under the Order button (pricing card). */
.price-trial {
  color: var(--soft);
  font-size: 13px;
}
/* Narrow desktops: the 5fr copy column is too tight for a 2-column checklist. */
@media (min-width: 1024px) and (max-width: 1239px) {
  .panel-layout .checks {
    grid-template-columns: 1fr;
  }
}
/* Wide desktops: size the checklist columns to their content so items don't wrap. */
@media (min-width: 1240px) {
  .panel-layout .checks {
    grid-template-columns: max-content max-content;
    column-gap: 28px;
  }
}

/* Full GModHosting wordmark image (cdn.voltra.gg). The file has ~22% transparent
   padding top/bottom and ~4% left, so negative margins pull the visible mark
   into line with the header/footer content. */
.logo-img {
  display: block;
  width: auto;
  height: 64px;
  margin: -6px 0 -6px -10px;
}
.logo-lg .logo-img {
  height: 84px;
  margin: -14px 0 -14px -13px;
}
@media (max-width: 400px) {
  .logo-img { height: 54px; margin-left: -8px; }
}

/* ---------- Shared content blocks (homepage + gamemode pages) ----------
   Moved unchanged from the inline <style> in index.html so every page can use them. */
.gmod-tools-head{max-width:740px;margin:0 auto 34px;text-align:center}
.gmod-tools-head h2{margin:10px 0 14px}
.gmod-tools-head>p:last-child{color:#aab8cb;line-height:1.75}
.gmod-tools-grid{display:grid;grid-template-columns:repeat(4,minmax(0,1fr));gap:16px}
.gmod-tool{background:#111e2e;border:1px solid #27364b;border-radius:14px;padding:26px 22px;height:100%}
.gmod-tool-icon{display:grid;place-items:center;width:43px;height:43px;margin-bottom:20px;background:#1d3651;border-radius:11px;color:#7fc8ff;font-size:24px;font-weight:700}
.gmod-tool h3,.gmod-steps h3{font-size:1.13rem;line-height:1.35;margin:0 0 12px;color:#fff}
.gmod-tool p,.gmod-steps p{color:#aab8cb;line-height:1.75;margin:0}
.gmod-setup-section{background:rgba(15,29,45,.42)}
.gmod-steps{list-style:none;display:grid;grid-template-columns:repeat(3,minmax(0,1fr));gap:18px;margin:0;padding:0}
.gmod-steps li{border:1px solid #27364b;border-radius:14px;padding:26px;background:#111e2e}
.step-num{display:block;color:#75bdf4;font-weight:800;font-size:1.5rem;margin-bottom:16px}
.gmod-setup-cta{text-align:center;margin-top:30px}
@media(max-width:1000px){.gmod-tools-grid{grid-template-columns:repeat(2,minmax(0,1fr))}}
@media(max-width:650px){.gmod-tools-grid,.gmod-steps{grid-template-columns:1fr}.gmod-tool,.gmod-steps li{padding:22px}}

/* Lucide icon inside a tool card's icon tile (instead of a text glyph). */
.gmod-tool-icon .icon {
  width: 22px;
  height: 22px;
  stroke-width: 1.8;
}

/* ---------- Gamemode landing pages (e.g. /darkrp-server-hosting) ----------
   Built only from the homepage pieces above; these rules just arrange them. */

/* Shorter hero (pricing sits nearer the fold) with landscape art and a stronger
   left fade so the heading stays readable over the picture. */
.hero-compact .hero-art img {
  object-position: 30% 50%;
}
@media (min-width: 1024px) {
  .hero-compact .hero-inner {
    padding-top: 52px;
    padding-bottom: 60px;
  }
  .hero-compact .hero-art::after {
    background:
      linear-gradient(90deg, var(--bg) 0%, rgba(10, 17, 24, 0.9) 22%, rgba(10, 17, 24, 0.45) 48%, rgba(10, 17, 24, 0.1) 72%),
      linear-gradient(0deg, var(--bg) 0%, transparent 30%);
  }
}

/* Copy column + content column (same proportions as .loc-layout). */
.split-layout {
  display: grid;
  gap: 32px;
  align-items: center;
}
@media (min-width: 1024px) {
  .split-layout {
    grid-template-columns: 5fr 7fr;
    gap: 56px;
  }
}
/* Four homepage tool cards as a 2x2 grid. */
.gmod-tools-grid.grid-2 {
  grid-template-columns: repeat(2, minmax(0, 1fr));
}
@media (max-width: 650px) {
  .gmod-tools-grid.grid-2 {
    grid-template-columns: 1fr;
  }
}
.grid-2 .gmod-tool {
  padding: 24px 22px;
}
.grid-2 .gmod-tool-icon {
  margin-bottom: 16px;
}
.grid-2 .gmod-tool p {
  font-size: 15px;
  line-height: 1.65;
}

/* Copy left, screenshot right: the homepage panel layout mirrored. */
@media (min-width: 1024px) {
  .panel-layout-rev:has(.panel-frame) {
    grid-template-columns: 5fr 7fr;
  }
  .panel-layout-rev .panel-frame {
    order: 2;
    transform: perspective(1800px) rotateY(-10deg) rotateX(3deg);
    transform-origin: right center;
  }
}
.section-copy .btn {
  margin-top: 26px;
}
/* Show only the top of a tall screenshot (a short list with empty space below). */
.shot-crop img {
  aspect-ratio: 1982 / 780;
  object-fit: cover;
  object-position: top;
}

/* Laptop widths (1024-1239px): keep nav labels on one line, and give the RAM
   slider the full card width so its nine labels don't overlap. */
.main-nav a {
  white-space: nowrap;
}
@media (min-width: 1024px) and (max-width: 1239px) {
  .main-nav ul {
    gap: 22px;
  }
}
@media (min-width: 1024px) and (max-width: 1239px) {
  /* The 7fr card is too narrow for slider + price side by side: stack them. */
  .price-main {
    grid-template-columns: 1fr;
    gap: 22px;
  }
  .price-buy {
    flex-direction: row;
    flex-wrap: wrap;
    align-items: center;
    gap: 14px 22px;
  }
  .price-trial {
    flex-basis: 100%;
  }
}

/* Panel screenshots: on hover the tilted frame turns to face the viewer and lifts
   slightly. Desktop mouse only (no tilt on smaller screens, no hover on touch);
   the reduced-motion rule above makes it instant. */
@media (min-width: 1024px) and (hover: hover) {
  .panel-frame {
    transition: transform 0.5s cubic-bezier(0.2, 0.7, 0.2, 1), box-shadow 0.5s, border-color 0.3s;
  }
  .panel-frame:hover,
  .panel-layout-rev .panel-frame:hover {
    transform: perspective(1800px) rotateY(0deg) rotateX(0deg) translateY(-6px);
    border-color: rgba(63, 176, 255, 0.45);
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, 0.9);
  }
}

/* ---------- Pricing card: server location picker (replaces the RAM chip list) ----------
   Real radio buttons (keyboard + screen readers for free), styled as the homepage's
   chip/location cards: dark card, subtle border, blue border + tint when selected. */
.loc-pick {
  min-width: 0;
  margin: 24px 0 0;
  padding: 20px 0 0;
  border: 0;
  border-top: 1px solid var(--line);
}
.loc-pick-title {
  float: left; /* keeps the legend out of the fieldset border */
  width: 100%;
  padding: 0;
  color: var(--ink);
  font-size: 13px;
  font-weight: 600;
}
.loc-pick-hint {
  clear: both;
  padding-top: 2px;
  color: var(--mute);
  font-size: 12.5px;
}
.loc-options {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
  margin-top: 12px;
}
@media (max-width: 420px) {
  .loc-options {
    grid-template-columns: 1fr;
  }
}
.loc-opt {
  position: relative;
  display: flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  padding: 12px 14px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--bg-strip);
  cursor: pointer;
  transition: border-color 0.15s, background-color 0.15s;
}
.loc-opt input {
  position: absolute;
  width: 1px;
  height: 1px;
  opacity: 0;
}
.loc-opt > span {
  min-width: 0;
}
.loc-opt strong {
  display: block;
  font-size: 14.5px;
  line-height: 1.3;
}
.loc-opt small {
  display: block;
  color: var(--mute);
  font-size: 12px;
}
/* Radio dot on the right. */
.loc-opt::after {
  content: "";
  flex-shrink: 0;
  width: 16px;
  height: 16px;
  margin-left: auto;
  border: 2px solid #33475c;
  border-radius: 50%;
  transition: border-color 0.15s, background-color 0.15s;
}
.loc-opt:hover {
  border-color: rgba(63, 176, 255, 0.5);
}
.loc-opt:has(input:checked) {
  border-color: var(--blue-btn);
  background: rgba(1, 155, 253, 0.12);
}
.loc-opt:has(input:checked) small {
  color: var(--blue-ink);
}
.loc-opt:has(input:checked)::after {
  border-color: var(--blue-btn);
  background: var(--blue-btn);
  box-shadow: inset 0 0 0 3px var(--card);
}
.loc-opt:has(input:focus-visible) {
  outline: 2px solid var(--blue-ink);
  outline-offset: 2px;
}
.loc-pick + .price-fine {
  margin-top: 16px;
}

/* Narrow slider (long button label beside it, tablets): label every other tier so
   the nine labels don't touch. Sized by the slider's own width, not the screen's. */
.price-slider {
  container-type: inline-size;
}
@container (max-width: 380px) {
  .ram-ticks button:nth-child(even) {
    color: transparent;
  }
}
