/* ==========================================================================
   Rampage Hosting - site styles
   ========================================================================== */

:root {
  /* Near-black with a hint of the logo's deep red, instead of ink blue. */
  --bg: #0C0A10;
  --bg-alt: #120E16;
  --card: #18121C;
  --menu: #150F19;
  --raised: #1D1622;
  --border: #2E2230;
  --border-strong: #3D2A3C;
  --text: #F6F2F4;
  --text-2: #D4C8CE;
  --muted: #B3A5AD;
  /* The three reds of the RH logo: lit faces, mid faces, shadowed sides. */
  --red: #FF2233;
  --red-mid: #D0101E;
  --red-dark: #8A0008;
  --red-text: #FF5A66;            /* lighter red for small text on dark backgrounds */
  --pink: var(--red-mid);         /* old accent names now point at logo reds */
  --orange: var(--red-text);
  --cyan: #22D3EE;
  --green: #4ADE80;
  --discord: #5865F2;
  --energy: linear-gradient(100deg, #FF2233, #D0101E 55%, #8A0008);
  /* 3D bevel like the logo: lit top edge, shadowed bottom edge. */
  --bevel: inset 0 1px 0 rgba(255, 255, 255, .38), inset 0 -3px 0 rgba(60, 0, 6, .45);
  --cut-card: polygon(0 0, calc(100% - 22px) 0, 100% 22px, 100% 100%, 22px 100%, 0 calc(100% - 22px));
  --cut: polygon(12px 0, 100% 0, 100% calc(100% - 12px), calc(100% - 12px) 100%, 0 100%, 0 12px);
  --cut-sm: polygon(8px 0, 100% 0, 100% calc(100% - 8px), calc(100% - 8px) 100%, 0 100%, 0 8px);
  --font-head: "Chakra Petch", "Segoe UI", sans-serif;
  --font-body: "Barlow", "Segoe UI", sans-serif;
  --radius: 10px;
  --header-h: 72px;
  --gutter: 24px;
  color-scheme: dark;
}

*, *::before, *::after { box-sizing: border-box; }

html { -webkit-text-size-adjust: 100%; scroll-behavior: smooth; scroll-padding-top: calc(var(--header-h) + 16px); }

body {
  margin: 0;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  font-size: 17px;
  line-height: 1.55;
  -webkit-font-smoothing: antialiased;
  overflow-x: hidden;
}

img, svg { display: block; max-width: 100%; }
a { color: inherit; }
p { margin: 0 0 1em; }
p:last-child { margin-bottom: 0; }
h1, h2, h3, h4 { margin: 0; font-family: var(--font-head); font-weight: 700; line-height: 1.05; letter-spacing: -0.01em; }
button, input { font: inherit; color: inherit; }
code { font-family: Consolas, "Cascadia Mono", monospace; font-size: .9em; background: var(--raised); border: 1px solid var(--border); border-radius: 6px; padding: 1px 6px; }

:focus-visible { outline: 2px solid var(--cyan); outline-offset: 3px; }

.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; }

.skip-link { position: absolute; left: 16px; top: -60px; z-index: 200; background: var(--cyan); color: var(--bg); padding: 10px 16px; border-radius: 8px; font-weight: 700; text-decoration: none; }
.skip-link:focus { top: 12px; }

.container { width: 100%; max-width: 1280px; margin: 0 auto; padding: 0 var(--gutter); }
.container.narrow { max-width: 820px; }

.icon { width: 20px; height: 20px; flex: none; }
.icon--sm { width: 16px; height: 16px; }

/* --- Buttons ------------------------------------------------------------- */

.btn {
  position: relative;
  isolation: isolate;
  display: inline-flex; align-items: center; justify-content: center; gap: 10px;
  padding: 13px 22px;
  border: 0;
  font-family: var(--font-body); font-weight: 700; font-size: 16px; line-height: 1.2;
  color: #fff; text-decoration: none; white-space: nowrap;
  cursor: pointer;
  clip-path: var(--cut);
  transition: transform .18s ease, filter .18s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.08); }
.btn:focus-visible { clip-path: none; border-radius: 4px; }
.btn--sm { padding: 10px 16px; font-size: 15px; clip-path: var(--cut-sm); }
.btn--lg { padding: 16px 26px; font-size: 17px; }
.btn--energy { background: linear-gradient(180deg, rgba(255, 255, 255, .12), transparent 50%), var(--energy); box-shadow: var(--bevel); text-shadow: 0 1px 2px rgba(60, 0, 6, .5); }
.btn--outline { background: var(--border-strong); }
.btn--outline::before { content: ""; position: absolute; inset: 1.5px; z-index: -1; background: var(--bg); clip-path: var(--cut); }
.btn--outline:hover { background: linear-gradient(100deg, var(--red), var(--pink)); filter: none; }
.btn--dark { background: rgba(12, 10, 16, .88); }
.btn--white { background: #fff; color: #4752C4; font-size: 18px; }
.btn--discord { background: var(--discord); }
.btn .icon { width: 18px; height: 18px; }

.btn-icon {
  display: inline-grid; place-items: center;
  width: 42px; height: 42px; border-radius: 12px;
  text-decoration: none; transition: transform .18s ease, filter .18s ease;
}
.btn-icon:hover { transform: translateY(-1px); filter: brightness(1.12); }
.btn-discord { background: var(--discord); color: #fff; }
.btn-discord .icon { width: 22px; height: 22px; }

.text-link { display: inline-flex; align-items: center; gap: 6px; color: var(--text); font-weight: 600; text-decoration: none; }
.text-link:hover { color: var(--red-text); }

/* --- Pills, badges, chips, live dots ------------------------------------- */

.pill {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  font-size: 13px; font-weight: 600; line-height: 1.3;
}
.pill--glass { background: rgba(12, 10, 16, .5); border: 1px solid rgba(255, 255, 255, .18); color: #fff; backdrop-filter: blur(6px); }
.pill--cyan { background: rgba(34, 211, 238, .1); border: 1px solid rgba(34, 211, 238, .38); color: var(--cyan); font-size: 14px; padding: 7px 14px; }

.badge { display: inline-block; padding: 4px 10px; border-radius: 999px; font-size: 12px; font-weight: 700; line-height: 1.3; }
.badge--popular { background: var(--energy); color: #fff; }
.badge--new { background: #fff; color: var(--bg); }

.chip {
  display: inline-grid; place-items: center; flex: none;
  width: 36px; height: 36px; border-radius: 10px;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  color: #fff; font-family: var(--font-head); font-size: 13px; letter-spacing: .02em;
  text-shadow: 0 1px 2px rgba(0, 0, 0, .4);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .14);
}
.chip--sm { width: 24px; height: 24px; border-radius: 7px; font-size: 10px; }

.live-dot { width: 8px; height: 8px; border-radius: 50%; background: var(--green); box-shadow: 0 0 8px var(--green); flex: none; }
.live-dot--cyan { background: var(--cyan); box-shadow: 0 0 8px var(--cyan); }
.live-count { display: inline-flex; align-items: center; gap: 8px; margin: 0; font-size: 14px; font-weight: 600; color: #fff; }

/* --- Announcement bar ---------------------------------------------------- */

.announce { background: var(--energy); color: #fff; text-align: center; font-weight: 700; font-size: 15px; padding: 9px var(--gutter); text-shadow: 0 1px 2px rgba(80, 0, 20, .45); }
.announce p { margin: 0; }

/* --- Header -------------------------------------------------------------- */

.site-header {
  position: sticky; top: 0; z-index: 50;
  background: rgba(12, 10, 16, .86);
  backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border);
}
.site-header__inner { position: relative; display: flex; align-items: center; gap: 28px; height: var(--header-h); }

.brand { display: inline-flex; align-items: center; gap: 12px; text-decoration: none; flex: none; }
.brand__name { font-family: var(--font-head); font-size: 19px; letter-spacing: .04em; white-space: nowrap; }
.logo { filter: drop-shadow(0 0 12px rgba(255, 34, 51, .55)); }
.logo--header { height: 42px; width: auto; }
.logo--footer { height: 60px; width: auto; }

.main-nav__list { display: flex; align-items: center; gap: 4px; list-style: none; margin: 0; padding: 0; }
.nav-link {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 10px 14px; border: 0; border-radius: 10px; background: none;
  font-weight: 600; font-size: 16px; color: var(--text-2); text-decoration: none; cursor: pointer;
}
.nav-link:hover, .nav-item.is-open > .nav-link { color: var(--text); background: var(--raised); }
.icon--chevron { width: 16px; height: 16px; transition: transform .2s ease; }
.nav-item.is-open .icon--chevron { transform: rotate(180deg); }

.header-actions { display: flex; align-items: center; gap: 12px; margin-left: auto; }

/* Search */
.search { position: relative; }
.search__icon { position: absolute; left: 12px; top: 50%; transform: translateY(-50%); width: 18px; height: 18px; color: var(--muted); pointer-events: none; }
.search__input {
  width: 200px; height: 42px; padding: 0 14px 0 38px;
  background: var(--raised); border: 1px solid var(--border); border-radius: 12px;
  font-size: 15px; transition: border-color .2s ease, width .2s ease;
}
.search__input::placeholder { color: var(--muted); }
.search__input:focus { border-color: var(--cyan); outline: none; box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); }
.search__results {
  position: absolute; right: 0; top: calc(100% + 8px); z-index: 70;
  width: 320px; max-height: 380px; overflow-y: auto;
  margin: 0; padding: 8px; list-style: none;
  background: var(--menu); border: 1px solid var(--border-strong); border-radius: 16px;
  box-shadow: 0 24px 50px -16px rgba(0, 0, 0, .8);
}
.search__option { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 10px; text-decoration: none; cursor: pointer; }
.search__option[aria-selected="true"], .search__option:hover { background: var(--raised); }
.search__option small { display: block; color: var(--muted); font-size: 13px; }
.search__empty { padding: 10px; color: var(--muted); font-size: 15px; }

.menu-toggle, .menu-close { display: none; place-items: center; width: 42px; height: 42px; border: 1px solid var(--border); border-radius: 12px; background: var(--raised); cursor: pointer; }

/* --- Mega menus ---------------------------------------------------------- */

.mega {
  position: absolute; left: var(--gutter); right: var(--gutter); top: 100%;
  padding-top: 10px;
  opacity: 0; visibility: hidden; transform: translateY(-6px);
  transition: opacity .18s ease, transform .18s ease, visibility .18s;
}
.nav-item.is-open > .mega { opacity: 1; visibility: visible; transform: none; }
.mega__panel {
  background: var(--menu); border: 1px solid var(--border-strong); border-radius: 20px;
  box-shadow: 0 30px 70px -20px rgba(0, 0, 0, .85);
  overflow: hidden;
}
.mega__panel--games { display: grid; grid-template-columns: 220px 1fr 300px; min-height: 380px; }

.mega__cats { display: flex; flex-direction: column; gap: 2px; padding: 16px; border-right: 1px solid var(--border); }
.mega-cat {
  position: relative; display: flex; justify-content: space-between; align-items: center;
  padding: 10px 12px; border: 0; border-radius: 10px; background: none;
  font-weight: 600; font-size: 15px; color: var(--text-2); text-align: left; cursor: pointer;
}
.mega-cat:hover { background: var(--raised); color: var(--text); }
.mega-cat.is-active { background: var(--raised); color: var(--text); }
.mega-cat.is-active::before { content: ""; position: absolute; left: 0; top: 8px; bottom: 8px; width: 3px; border-radius: 3px; background: var(--energy); }
.mega-cat__count { min-width: 26px; padding: 1px 7px; border-radius: 999px; background: var(--bg); border: 1px solid var(--border); font-size: 12px; color: var(--muted); text-align: center; }

.mega__games { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); align-content: start; gap: 2px; margin: 0; padding: 16px; list-style: none; }
.mega__games li[hidden] { display: none; }
.mega-game { display: flex; align-items: center; gap: 12px; padding: 8px 10px; border-radius: 12px; text-decoration: none; }
.mega-game:hover, .mega-game:focus-visible, .mega-game.is-current { background: var(--raised); }
.mega-game__text strong { display: block; font-size: 15px; font-weight: 600; line-height: 1.25; }
.mega-game__text small { display: block; font-size: 13px; color: var(--muted); }

.mega__feature {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  padding: 24px; margin: 10px; border-radius: 16px;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  transition: background .25s ease;
}
.mega__feature::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 9, 20, .92), rgba(8, 9, 20, .4) 55%, transparent); }
.mega__feature-mono { position: absolute; right: -8px; top: 4px; font-family: var(--font-head); font-size: 140px; line-height: 1; color: rgba(255, 255, 255, .14); }
.mega__feature-body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.mega__feature-name { margin: 4px 0 0; font-family: var(--font-head); font-size: 26px; line-height: 1.05; }
.mega__feature-tagline { margin: 0; font-size: 15px; color: rgba(255, 255, 255, .85); }
.mega__feature-price { margin: 0 0 6px; font-size: 14px; color: rgba(255, 255, 255, .85); }
.mega__feature-price strong { font-size: 18px; color: #fff; }

.mega__panel--hosting { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; padding: 16px; }
.mega-service {
  display: flex; flex-direction: column; gap: 6px; padding: 20px; border-radius: 16px;
  background: linear-gradient(160deg, color-mix(in srgb, var(--c1) 22%, var(--menu)), var(--menu) 75%);
  border: 1px solid color-mix(in srgb, var(--c1) 35%, var(--border));
  text-decoration: none; transition: transform .2s ease, border-color .2s ease;
}
.mega-service:hover { transform: translateY(-3px); border-color: var(--c1); }
.mega-service strong { font-family: var(--font-head); font-size: 19px; margin-top: 6px; }
.mega-service > span:not(.mega-service__icon):not(.mega-service__more) { color: var(--text-2); font-size: 15px; }
.mega-service__icon { display: grid; place-items: center; width: 44px; height: 44px; border-radius: 12px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 6px 20px -6px var(--c1); }
.mega-service__more { display: inline-flex; align-items: center; gap: 6px; margin-top: 8px; font-size: 14px; font-weight: 700; color: var(--text); }

/* --- Mobile menu --------------------------------------------------------- */

.mobile-menu {
  position: fixed; inset: 0 0 0 auto; z-index: 100;
  width: min(420px, 100%); overflow-y: auto;
  padding: 16px var(--gutter) 32px;
  background: var(--menu); border-left: 1px solid var(--border-strong);
  box-shadow: -30px 0 60px rgba(0, 0, 0, .6);
}
.mobile-menu__top { display: flex; justify-content: space-between; align-items: center; margin-bottom: 16px; }
.mobile-menu .menu-close { display: grid; }
.search--mobile { margin-bottom: 12px; }
.search--mobile .search__input { width: 100%; }
.search--mobile .search__results { left: 0; right: 0; width: auto; }
.mobile-group { border-bottom: 1px solid var(--border); }
.mobile-group summary { display: flex; justify-content: space-between; align-items: center; padding: 14px 4px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.mobile-group summary::-webkit-details-marker { display: none; }
.mobile-group[open] .icon--chevron { transform: rotate(180deg); }
.mobile-group ul { list-style: none; margin: 0 0 12px; padding: 0; }
.mobile-group a { display: flex; align-items: center; gap: 12px; padding: 8px 4px; text-decoration: none; font-weight: 600; }
.mobile-link { display: block; padding: 14px 4px; border-bottom: 1px solid var(--border); font-weight: 700; font-size: 18px; text-decoration: none; }
.mobile-menu__actions { display: grid; gap: 12px; margin-top: 24px; }
body.menu-open { overflow: hidden; }

/* --- Hero ---------------------------------------------------------------- */

.hero { position: relative; overflow: hidden; padding: 88px 0 104px; }
.hero__glow {
  position: absolute; inset: 0; pointer-events: none;
  background:
    radial-gradient(42% 55% at 88% 6%, rgba(255, 34, 51, .34), transparent 70%),
    radial-gradient(40% 55% at 6% 100%, rgba(138, 0, 8, .45), transparent 70%),
    radial-gradient(38% 45% at 52% 55%, rgba(208, 16, 30, .22), transparent 70%);
}
.hero__beam {
  position: absolute; left: -20%; width: 140%; height: 140px; pointer-events: none;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .07) 35%, rgba(255, 34, 51, .14) 55%, transparent 80%);
  filter: blur(2px);
}
.hero__beam--1 { top: 18%; transform: rotate(-16deg); }
.hero__beam--2 { top: 58%; height: 70px; transform: rotate(-16deg); opacity: .7; }

.hero__inner { position: relative; display: grid; grid-template-columns: 1.05fr .95fr; align-items: center; gap: 56px; }
.hero__title { margin: 22px 0 20px; font-size: clamp(42px, 6.4vw, 76px); line-height: 1; letter-spacing: -0.02em; }
.hero__lead { max-width: 560px; font-size: 19px; color: var(--text-2); }
.hero__actions { display: flex; flex-wrap: wrap; gap: 14px; margin-top: 32px; }

.hero__cards { position: relative; display: grid; grid-template-columns: 1fr 1fr; gap: 40px 24px; padding: 10px 10px 56px; }
.hero-card {
  position: relative; overflow: hidden; display: flex; align-items: flex-end;
  aspect-ratio: 4 / 4.2; padding: 18px; border-radius: 20px;
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: 0 24px 50px -18px color-mix(in srgb, var(--c1) 60%, transparent), inset 0 0 0 1px rgba(255, 255, 255, .1);
  text-decoration: none; transition: transform .25s ease;
}
.hero-card::after { content: ""; position: absolute; inset: 0; background: linear-gradient(to top, rgba(8, 9, 20, .9), rgba(8, 9, 20, .2) 55%, transparent); }
.hero-card:nth-child(1) { transform: rotate(-4deg); }
.hero-card:nth-child(2) { transform: rotate(3deg) translateY(30px); }
.hero-card:nth-child(3) { transform: rotate(2.5deg) translateY(-6px); }
.hero-card:nth-child(4) { transform: rotate(-2.5deg) translateY(24px); }
.hero-card:hover { transform: rotate(0) translateY(-4px); }
.hero-card__mono { position: absolute; right: -6px; top: 6px; font-family: var(--font-head); font-size: 110px; line-height: 1; color: rgba(255, 255, 255, .14); }
.hero-card__stripe { position: absolute; top: -30%; bottom: -30%; left: 40%; width: 40px; background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .03)); transform: rotate(24deg); }
.hero-card__body { position: relative; z-index: 1; display: flex; flex-direction: column; align-items: flex-start; gap: 8px; }
.hero-card__name { font-family: var(--font-head); font-size: 24px; line-height: 1.05; }

.hero-toast {
  position: absolute; left: -56px; bottom: -14px; z-index: 2;
  display: flex; align-items: center; gap: 12px;
  padding: 14px 18px; border-radius: 16px;
  background: rgba(24, 18, 28, .94); border: 1px solid var(--border-strong);
  box-shadow: 0 20px 40px -12px rgba(0, 0, 0, .7), 0 0 30px -8px rgba(74, 222, 128, .45);
  backdrop-filter: blur(10px);
}
.hero-toast strong { display: block; font-size: 15px; }
.hero-toast small { display: block; font-size: 13px; color: var(--muted); }
.hero-toast__icon { display: grid; place-items: center; width: 34px; height: 34px; border-radius: 50%; background: rgba(74, 222, 128, .15); color: var(--green); }

/* --- Now hosting ticker -------------------------------------------------- */

.ticker {
  position: relative; display: flex; align-items: stretch; height: 56px; overflow: hidden;
  background: linear-gradient(90deg, #160F17, #1E0C14 50%, #2C0A10);
  border-block: 1px solid var(--border);
}
.ticker__label {
  position: relative; z-index: 2; flex: none;
  display: flex; align-items: center; gap: 10px;
  padding: 0 38px 0 max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter)));
  background: linear-gradient(100deg, var(--red), var(--red-dark));
  clip-path: polygon(0 0, 100% 0, calc(100% - 20px) 100%, 0 100%);
  font-family: var(--font-head); font-size: 16px; color: #fff; white-space: nowrap;
}
.ticker__label-dot { width: 8px; height: 8px; border-radius: 50%; background: #fff; box-shadow: 0 0 6px #fff, 0 0 14px rgba(255, 255, 255, .8); }
.ticker__viewport {
  flex: 1; min-width: 0; overflow: hidden;
  -webkit-mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
          mask-image: linear-gradient(90deg, transparent, #000 32px, #000 calc(100% - 48px), transparent);
}
.ticker__track { display: flex; width: max-content; height: 100%; animation: ticker-scroll 85s linear infinite; }
.ticker__viewport:hover .ticker__track, .ticker__viewport:focus-within .ticker__track, .ticker.is-paused .ticker__track { animation-play-state: paused; }
.ticker__toggle {
  position: relative; z-index: 2; flex: none; align-self: center;
  display: grid; place-items: center; width: 32px; height: 32px; margin: 0 max(var(--gutter), calc((100vw - 1280px) / 2 + var(--gutter))) 0 8px;
  border: 1px solid rgba(255, 255, 255, .22); border-radius: 50%;
  background: rgba(12, 10, 16, .6); color: #fff; cursor: pointer;
}
.ticker__toggle:hover { background: rgba(255, 255, 255, .14); }
.ticker__toggle .icon { width: 14px; height: 14px; }
.ticker__toggle .icon--play { display: none; }
.ticker.is-paused .ticker__toggle .icon--pause { display: none; }
.ticker.is-paused .ticker__toggle .icon--play { display: block; }
.ticker__list { display: flex; align-items: center; margin: 0; padding: 0; list-style: none; }
.ticker__item { display: flex; align-items: center; gap: 10px; padding: 0 26px; white-space: nowrap; border-right: 1px solid rgba(255, 255, 255, .07); }
.ticker__dot { width: 9px; height: 9px; flex: none; background: var(--dot); box-shadow: 0 0 8px var(--dot), 0 0 16px color-mix(in srgb, var(--dot) 60%, transparent); }
.ticker__dot--diamond { transform: rotate(45deg); border-radius: 1px; }
.ticker__dot--round { border-radius: 50%; }
.ticker__name { font-family: var(--font-head); font-size: 15px; text-decoration: none; color: var(--text); }
a.ticker__name:hover { color: var(--red-text); }
.ticker__tag-pill { padding: 3px 10px; border-radius: 999px; font-size: 12.5px; font-weight: 600; line-height: 1.3; background: rgba(255, 255, 255, .08); border: 1px solid rgba(255, 255, 255, .12); color: var(--text-2); }
.ticker__tag-pill--white { background: #fff; border-color: #fff; color: var(--bg); font-weight: 700; }
.ticker__tag-pill--orange { background: rgba(255, 34, 51, .14); border-color: rgba(255, 34, 51, .45); color: #FF8A92; }
.ticker__tag-pill--gradient { background: var(--energy); border: 0; color: #fff; font-weight: 700; }
.ticker__tag-pill--green { background: rgba(74, 222, 128, .12); border-color: rgba(74, 222, 128, .4); color: var(--green); }
.ticker__tag-pill--cyan { background: rgba(34, 211, 238, .12); border-color: rgba(34, 211, 238, .4); color: var(--cyan); }
@keyframes ticker-scroll { to { transform: translateX(-50%); } }

/* --- Feature strip ------------------------------------------------------- */

.features { background: var(--bg-alt); border-bottom: 1px solid var(--border); }
.features__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 28px; padding-top: 40px; padding-bottom: 40px; }
.feature { display: flex; gap: 16px; align-items: flex-start; }
.feature__icon { display: grid; place-items: center; flex: none; width: 48px; height: 48px; border-radius: 14px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 8px 24px -8px var(--c1); }
.feature__icon .icon { width: 22px; height: 22px; }
.feature__title { font-size: 18px; margin: 2px 0 6px; }
.feature p { margin: 0; color: var(--muted); font-size: 15px; }

/* --- Sections ------------------------------------------------------------ */

.section { padding: 96px 0; }
.section--alt { background: var(--bg-alt); }
.section--tight { padding: 64px 0 96px; }
.section--flush-top { padding-top: 8px; }
.section-head { margin-bottom: 36px; max-width: 720px; }
.section-head--center { margin-inline: auto; text-align: center; }
.section-head--row { display: flex; justify-content: space-between; align-items: flex-end; gap: 24px; max-width: none; }
.section-title { font-size: clamp(34px, 4.4vw, 50px); line-height: 1; }
.section-lead { margin-top: 14px; font-size: 18px; color: var(--text-2); }

/* --- Filters + game grid ------------------------------------------------- */

.filters { display: flex; flex-wrap: wrap; gap: 10px; margin-bottom: 28px; }
.filter-btn {
  padding: 9px 18px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--border);
  font-weight: 600; font-size: 15px; color: var(--text-2); cursor: pointer;
  transition: border-color .2s ease, color .2s ease;
}
.filter-btn:hover { border-color: var(--border-strong); color: var(--text); }
.filter-btn.is-active { background: var(--energy); border-color: transparent; color: #fff; }

.game-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(232px, 1fr)); gap: 20px; }
.game-card {
  position: relative; isolation: isolate; overflow: hidden;
  display: flex; flex-direction: column; justify-content: space-between;
  min-height: 330px; border-radius: var(--radius);
  background: linear-gradient(150deg, var(--c1), var(--c2));
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .08);
  transition: transform .25s ease, box-shadow .25s ease;
}
.game-card[hidden] { display: none; }
.game-card:hover, .game-card:focus-within { transform: translateY(-4px); box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .16), 0 22px 44px -16px color-mix(in srgb, var(--c1) 65%, transparent); }
.game-card__art { position: absolute; inset: 0; z-index: -1; }
.game-card__art img { position: absolute; top: 10px; left: 10px; width: calc(100% - 20px); height: 62%; object-fit: cover; border-radius: 12px; opacity: .92; }
.game-card__art::after { content: ""; position: absolute; inset: auto 0 0 0; height: 68%; background: linear-gradient(to top, rgba(8, 9, 20, .94), rgba(8, 9, 20, .55) 50%, transparent); }
.game-card__mono { position: absolute; right: -8px; top: 34px; font-family: var(--font-head); font-size: 140px; line-height: .85; color: rgba(255, 255, 255, .13); letter-spacing: -.03em; }
.game-card__stripe { position: absolute; top: -25%; bottom: -25%; left: 34%; width: 46px; background: linear-gradient(rgba(255, 255, 255, .2), rgba(255, 255, 255, .03)); transform: rotate(24deg); }
.game-card__top { display: flex; justify-content: space-between; align-items: center; gap: 8px; padding: 16px; }
.game-card__body { display: flex; flex-direction: column; gap: 10px; padding: 18px; }
.game-card__name { font-size: 24px; line-height: 1.05; }
.game-card__name a { text-decoration: none; }
.game-card__name a::after { content: ""; position: absolute; inset: 0; z-index: 1; }
.game-card__name a:focus-visible { outline: none; }
.game-card:has(.game-card__name a:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 3px; }
.game-card__foot { display: flex; justify-content: space-between; align-items: center; gap: 10px; margin-top: 4px; }
.game-card__price { margin: 0; font-size: 14px; color: rgba(255, 255, 255, .82); }
.game-card__price strong { font-size: 18px; color: #fff; }
.btn-rent {
  position: relative; z-index: 2;
  padding: 9px 18px; font-weight: 700; font-size: 15px; text-decoration: none;
  background: var(--c1); color: var(--on-c1);
  clip-path: var(--cut-sm);
  box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .25);
  transition: filter .18s ease, transform .18s ease;
}
.btn-rent:hover { filter: brightness(1.12); transform: translateY(-1px); }
.btn-rent:focus-visible { clip-path: none; border-radius: 4px; }

/* --- Steps --------------------------------------------------------------- */

.steps { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; margin: 0; padding: 0; list-style: none; counter-reset: none; }
.step { position: relative; padding: 32px 28px; background: var(--card); border: 1px solid var(--border); border-radius: var(--radius); }
.step__num {
  display: grid; place-items: center; width: 56px; height: 56px; margin-bottom: 22px;
  background: var(--c1); color: #fff; font-family: var(--font-head); font-size: 26px;
  clip-path: var(--cut); filter: drop-shadow(0 0 14px color-mix(in srgb, var(--c1) 55%, transparent));
}
.step__title { font-size: 22px; margin-bottom: 10px; }
.step p { color: var(--muted); font-size: 16px; }

/* --- Service cards ------------------------------------------------------- */

.services { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 20px; }
.service-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 8px;
  padding: 28px; border-radius: var(--radius);
  background: radial-gradient(120% 80% at 100% 0%, color-mix(in srgb, var(--c1) 26%, transparent), transparent 60%), var(--card);
  border: 1px solid var(--border); text-decoration: none;
  transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease;
}
.service-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 60%, var(--border)); box-shadow: 0 22px 44px -18px color-mix(in srgb, var(--c1) 55%, transparent); }
.service-card__icon { display: grid; place-items: center; width: 52px; height: 52px; margin-bottom: 14px; border-radius: 14px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; box-shadow: 0 0 28px -4px color-mix(in srgb, var(--c1) 70%, transparent); }
.service-card__icon .icon { width: 24px; height: 24px; }
.service-card__title { font-size: 22px; }
.service-card p { color: var(--muted); font-size: 16px; }
.service-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; padding-top: 10px; font-weight: 700; font-size: 15px; }
.service-card__more .icon { color: var(--c1); }

/* --- Guide cards --------------------------------------------------------- */

.guides { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.guide-card {
  position: relative; overflow: hidden; display: flex; flex-direction: column; gap: 10px;
  padding: 30px 26px 26px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
  transition: transform .25s ease, border-color .25s ease;
}
.guide-card:hover, .guide-card:focus-within { transform: translateY(-4px); border-color: var(--border-strong); }
.guide-card__bar { position: absolute; inset: 0 0 auto 0; height: 6px; background: linear-gradient(90deg, var(--c1), var(--c2)); }
.guide-card__game { display: inline-flex; align-items: center; gap: 8px; font-size: 14px; font-weight: 600; color: var(--text-2); }
.guide-card__title { font-size: 21px; line-height: 1.15; }
.guide-card__title a { text-decoration: none; }
.guide-card__title a::after { content: ""; position: absolute; inset: 0; }
.guide-card p { color: var(--muted); font-size: 16px; }
.guide-card__more { display: inline-flex; align-items: center; gap: 6px; margin-top: auto; font-weight: 700; font-size: 15px; }
.guide-card__more .icon { color: var(--c1); }

/* --- Discord band -------------------------------------------------------- */

.discord-band {
  position: relative; overflow: hidden;
  display: flex; justify-content: space-between; align-items: center; gap: 32px;
  padding: 56px; border-radius: 24px;
  background: radial-gradient(60% 120% at 100% 0%, rgba(255, 255, 255, .16), transparent 60%), linear-gradient(120deg, #5865F2, #7B3FE4 55%, #3B1080);
  box-shadow: 0 30px 60px -24px rgba(88, 101, 242, .6);
}
.discord-band__title { font-size: clamp(30px, 3.6vw, 44px); margin-bottom: 12px; }
.discord-band p { max-width: 560px; font-size: 18px; color: rgba(255, 255, 255, .9); }

/* --- Inner pages --------------------------------------------------------- */

.page-hero { position: relative; overflow: hidden; padding: 64px 0 48px; }
.page-hero::before { content: ""; position: absolute; inset: 0; pointer-events: none; background: radial-gradient(40% 70% at 90% 0%, rgba(255, 34, 51, .24), transparent 70%), radial-gradient(35% 60% at 0% 100%, rgba(138, 0, 8, .35), transparent 70%); }
.page-hero--game::before { background: linear-gradient(90deg, var(--bg) 25%, color-mix(in srgb, var(--bg) 55%, transparent) 60%, transparent), linear-gradient(150deg, var(--c1), var(--c2)); }
.page-hero .container { position: relative; }
.page-title { font-size: clamp(38px, 5vw, 60px); line-height: 1; margin-top: 14px; }
.page-title--sm { font-size: clamp(32px, 4vw, 46px); }
.breadcrumb { display: flex; flex-wrap: wrap; gap: 8px; font-size: 15px; color: var(--muted); }
.breadcrumb a { color: var(--text-2); text-decoration: none; }
.breadcrumb a:hover { color: var(--text); text-decoration: underline; }
.notice { padding: 20px 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); color: var(--text-2); }

.prose { font-size: 18px; color: var(--text-2); }
.prose h2 { margin: 40px 0 14px; font-size: 26px; color: var(--text); }
.prose h2:first-child { margin-top: 0; }
.prose ul, .prose ol { margin: 0 0 1em; padding-left: 1.3em; }
.prose li { margin-bottom: 8px; }
.prose li::marker { color: var(--pink); font-weight: 700; }
.prose a { color: var(--cyan); }
.prose-cta { margin-top: 40px; }
.support-actions { display: flex; flex-wrap: wrap; gap: 12px; margin-top: 40px; }

/* --- Footer -------------------------------------------------------------- */

.site-footer { background: var(--bg-alt); }
.rainbow { height: 3px; background: linear-gradient(90deg, var(--red-dark), var(--red) 30%, #FF8A92 50%, var(--red) 70%, var(--red-dark)); }
.footer-grid { display: grid; grid-template-columns: 1.6fr 1fr 1fr 1fr; gap: 40px; padding-top: 64px; padding-bottom: 48px; }
.brand--footer .brand__name { font-size: 21px; }
.footer-brand p { margin-top: 18px; max-width: 360px; color: var(--muted); font-size: 16px; }
.footer-email { color: var(--text-2); }
.footer-h { font-family: var(--font-body); font-weight: 700; font-size: 16px; margin-bottom: 16px; }
.footer-h--orange { color: var(--orange); }
.footer-h--pink { color: var(--red); }
.footer-h--cyan { color: #FF9AA2; }
.footer-links { list-style: none; margin: 0; padding: 0; display: grid; gap: 10px; }
.footer-links a { color: var(--text-2); text-decoration: none; font-size: 16px; }
.footer-links a:hover { color: var(--text); text-decoration: underline; }
.footer-bottom { display: flex; justify-content: space-between; flex-wrap: wrap; gap: 12px; padding-top: 24px; padding-bottom: 32px; border-top: 1px solid var(--border); color: var(--muted); font-size: 15px; }
.footer-bottom p { margin: 0; }
.footer-pay { display: inline-flex; align-items: center; gap: 8px; }

.sample-flag { position: fixed; left: 16px; bottom: 16px; z-index: 300; padding: 8px 14px; border-radius: 10px; background: #FFC93F; color: #0B0C1A; font-weight: 700; font-size: 14px; box-shadow: 0 8px 24px rgba(0, 0, 0, .5); }

/* ==========================================================================
   Added: pictures, support menu, game order page, hosting page, forms
   ========================================================================== */

.hp { position: absolute; left: -9999px; width: 1px; height: 1px; overflow: hidden; }
.badge--soon { background: rgba(34, 211, 238, .14); border: 1px solid rgba(34, 211, 238, .45); color: var(--cyan); vertical-align: middle; }
.badge--lg { font-size: 14px; padding: 5px 12px; font-family: var(--font-body); }
.btn.is-soon { white-space: normal; text-align: center; line-height: 1.25; }
.btn.is-soon .icon { width: 16px; height: 16px; }
.header-client.is-soon { font-size: 14px; white-space: nowrap; }
.nav-link { white-space: nowrap; }
@media (min-width: 641px) { .btn-discord--phone { display: none; } }
@media (max-width: 1360px) {
  .nav-link { padding: 10px 10px; }
  .site-header__inner { gap: 20px; }
  .search__input { width: 160px; }
}
@media (max-width: 1250px) and (min-width: 1101px) {
  .brand__name { display: none; }
}
.footer-soon { color: var(--muted); font-size: 14px; }
.footer-legal { margin-top: 6px !important; font-size: 13px; }
.footer-legal a { color: var(--muted); }
.notice--soon { display: flex; flex-wrap: wrap; align-items: center; justify-content: space-between; gap: 16px; }
.notice--soon p { margin: 0; }
.fine-print { margin-top: 18px; font-size: 14px; color: var(--muted); }
.fine-print a { color: var(--text-2); }
.form-msg { padding: 14px 18px; margin-bottom: 24px; border-radius: 12px; font-weight: 600; }
.form-msg--ok { background: rgba(74, 222, 128, .12); border: 1px solid rgba(74, 222, 128, .4); color: var(--green); }
.form-msg--error { background: rgba(255, 34, 51, .12); border: 1px solid rgba(255, 34, 51, .45); color: #FF8095; }

.field {
  width: 100%; padding: 12px 14px; border-radius: 12px;
  background: var(--raised); border: 1px solid var(--border-strong); color: var(--text); font-size: 16px;
}
.field::placeholder { color: var(--muted); opacity: .8; }
.field:focus { outline: none; border-color: var(--cyan); box-shadow: 0 0 0 3px rgba(34, 211, 238, .25); }
textarea.field { resize: vertical; min-height: 84px; }

/* Hero background picture */
.hero__bg, .hero__bg img { position: absolute; inset: 0; width: 100%; height: 100%; }
.hero__bg img { object-fit: cover; object-position: center; }
.hero__shade {
  position: absolute; inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 10, 16, .96) 0%, rgba(12, 10, 16, .86) 38%, rgba(12, 10, 16, .55) 70%, rgba(12, 10, 16, .4) 100%),
    linear-gradient(to bottom, rgba(12, 10, 16, .3), transparent 30%, transparent 70%, var(--bg));
}
.hero--image .hero__glow { opacity: .85; }

/* Game pictures on cards: colour frame, colour tint, dark fade at the bottom */
.game-card__img, .hero-card__img {
  position: absolute; inset: 4px; width: calc(100% - 8px); height: calc(100% - 8px);
  object-fit: cover; border-radius: calc(var(--radius) - 4px);
}
.game-card.has-img .game-card__art::before, .hero-card.has-img::before {
  content: ""; position: absolute; inset: 4px; z-index: 1; border-radius: calc(var(--radius) - 4px);
  background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 45%, transparent), transparent 55%, color-mix(in srgb, var(--c2) 35%, transparent));
  mix-blend-mode: normal;
}
.game-card.has-img .game-card__art::after { z-index: 2; height: 75%; }
.game-card.has-img .game-card__stripe { z-index: 1; opacity: .5; }
.hero-card.has-img::after { z-index: 1; }
.hero-card.has-img .hero-card__stripe { z-index: 1; opacity: .5; }
.hero-card__body { z-index: 2; }

.mega__feature-img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.mega__feature.has-img::before { content: ""; position: absolute; inset: 0; z-index: 0; background: linear-gradient(150deg, color-mix(in srgb, var(--c1) 45%, transparent), transparent 60%); }
.mega__feature.has-img .mega__feature-mono { display: none; }
.mega__feature::after { z-index: 0; }

/* Support dropdown */
.has-mega--small { position: relative; }
.mega--small { left: auto; right: -40px; width: 380px; }
.mega__panel--support { display: grid; gap: 4px; padding: 12px; }
.support-link { display: flex; align-items: center; gap: 14px; padding: 10px 12px; border-radius: 12px; text-decoration: none; }
.support-link:hover, .support-link:focus-visible { background: var(--raised); }
.support-link strong { display: block; font-size: 15px; }
.support-link small { display: block; font-size: 13px; color: var(--muted); }
.support-link__icon { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border-radius: 11px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; }
.support-link--all { justify-content: center; gap: 6px; margin-top: 4px; border-top: 1px solid var(--border); border-radius: 0 0 12px 12px; font-weight: 700; font-size: 14px; color: var(--text-2); }

.support-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(220px, 1fr)); gap: 16px; margin-bottom: 48px; }
.support-card {
  display: flex; flex-direction: column; gap: 6px; padding: 24px; border-radius: var(--radius);
  background: radial-gradient(120% 90% at 100% 0%, color-mix(in srgb, var(--c1) 22%, transparent), transparent 60%), var(--card);
  border: 1px solid var(--border); text-decoration: none; transition: transform .2s ease, border-color .2s ease;
}
.support-card:hover { transform: translateY(-4px); border-color: color-mix(in srgb, var(--c1) 55%, var(--border)); }
.support-card strong { font-family: var(--font-head); font-size: 21px; margin-top: 10px; }
.support-card span:last-child { color: var(--muted); font-size: 15px; }
.support-card__icon { display: grid; place-items: center; width: 48px; height: 48px; border-radius: 13px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; }
.legal-contact { margin-top: 48px; padding: 24px; border-radius: 14px; background: var(--card); border: 1px solid var(--border); color: var(--text-2); }
.legal-contact h2 { font-size: 20px; margin-bottom: 10px; color: var(--text); }
.legal-contact a { color: var(--cyan); }

.service-card__badge { position: absolute; top: 20px; right: 20px; }

/* Game page hero */
.game-hero { position: relative; overflow: hidden; padding: 72px 0 80px; background: linear-gradient(150deg, var(--c1), var(--c2)); }
.game-hero__img { position: absolute; inset: 0; width: 100%; height: 100%; object-fit: cover; }
.game-hero__mono { position: absolute; right: 2%; top: 50%; transform: translateY(-50%); font-family: var(--font-head); font-size: clamp(160px, 26vw, 360px); line-height: 1; color: rgba(255, 255, 255, .12); }
.game-hero.has-img .game-hero__mono { display: none; }
.game-hero__shade {
  position: absolute; inset: 0;
  background: linear-gradient(90deg, var(--bg) 8%, rgba(12, 10, 16, .88) 38%, rgba(12, 10, 16, .35) 75%, rgba(12, 10, 16, .15)),
              linear-gradient(to top, var(--bg), transparent 35%);
}
.game-hero__inner { position: relative; }
.game-hero__pills { display: flex; flex-wrap: wrap; gap: 10px; margin: 22px 0 18px; }
.game-hero__title { font-size: clamp(40px, 6vw, 72px); line-height: 1; max-width: 760px; }
.game-hero__lead { max-width: 580px; margin: 18px 0 30px; font-size: 19px; color: var(--text-2); }

/* Ready-made plans */
.section--plans { padding-top: 72px; }
.plans { display: grid; grid-template-columns: repeat(auto-fit, minmax(230px, 1fr)); gap: 20px; align-items: stretch; }
.plan {
  position: relative; display: flex; flex-direction: column; gap: 14px;
  padding: 28px 24px 24px; border-radius: var(--radius);
  background: var(--card); border: 1px solid var(--border);
}
.plan--popular {
  background: radial-gradient(120% 70% at 50% 0%, color-mix(in srgb, var(--c1) 26%, transparent), transparent 70%), var(--card);
  border-color: color-mix(in srgb, var(--c1) 70%, var(--border));
  box-shadow: 0 24px 50px -24px color-mix(in srgb, var(--c1) 70%, transparent);
}
.plan__flag { position: absolute; top: -13px; left: 24px; padding: 4px 12px; border-radius: 999px; background: var(--energy); color: #fff; font-size: 13px; font-weight: 700; }
.plan__name { font-size: 24px; }
.plan__price { margin: 0; color: var(--muted); }
.plan__price strong { font-family: var(--font-head); font-size: 34px; color: var(--text); margin-right: 4px; }
.plan__specs { display: grid; gap: 10px; margin: 4px 0 8px; padding: 0; list-style: none; }
.plan__specs li { display: flex; align-items: center; gap: 10px; color: var(--text-2); }
.plan__specs .icon { color: var(--c1); }
.plan__desc { color: var(--muted); font-size: 16px; }
.plan__btn { margin-top: auto; width: 100%; }
.plan--build { border-style: dashed; border-color: var(--border-strong); background: transparent; }

/* Build your own */
.builder-section[hidden] { display: none; }
.builder { display: grid; grid-template-columns: minmax(0, 1fr) 360px; gap: 32px; align-items: start; }
.builder__options { display: grid; gap: 28px; }
.opt-group { margin: 0; padding: 24px; border: 1px solid var(--border); border-radius: var(--radius); background: var(--card); min-width: 0; }
.opt-group__title { padding: 0; margin-bottom: 14px; font-family: var(--font-head); font-size: 19px; display: block; }
.opt-group__head { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; }
.opt-group__value { font-family: var(--font-head); font-size: 22px; color: var(--cyan); }
.opt-grid { display: grid; gap: 10px; }
.opt-grid--4 { grid-template-columns: repeat(4, minmax(0, 1fr)); }
.opt-grid--2 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
.opt-grid--steps { grid-template-columns: repeat(auto-fill, minmax(96px, 1fr)); }
.opt-card { position: relative; display: block; cursor: pointer; }
.opt-card input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-card__body {
  display: flex; flex-direction: column; align-items: center; justify-content: center; gap: 2px; min-height: 64px;
  padding: 10px; border-radius: 12px; text-align: center;
  background: var(--raised); border: 1.5px solid var(--border); transition: border-color .15s ease, background .15s ease;
}
.opt-card__body .icon { color: var(--cyan); }
.opt-card__body small { color: var(--muted); font-size: 13px; }
.opt-card__save { font-size: 12.5px; font-weight: 700; color: var(--green); }
.opt-card:hover .opt-card__body { border-color: var(--border-strong); }
.opt-card input:checked + .opt-card__body { border-color: var(--pink); background: color-mix(in srgb, var(--pink) 12%, var(--raised)); box-shadow: 0 0 0 1px var(--pink) inset; }
.opt-card input:focus-visible + .opt-card__body { outline: 2px solid var(--cyan); outline-offset: 2px; }
.opt-card--step strong { font-family: var(--font-head); font-size: 20px; }
.opt-hint { display: flex; flex-wrap: wrap; align-items: center; gap: 6px 10px; margin: 12px 0 0; color: var(--muted); font-size: 15px; }
.opt-group .opt-hint:first-of-type:not(:last-child) { margin: 0 0 14px; }
.opt-hint .icon { color: var(--green); }
.opt-hint__price { margin-left: auto; color: var(--text-2); }
.range { width: 100%; margin: 10px 0 4px; accent-color: var(--pink); height: 28px; }
.range-scale { display: flex; justify-content: space-between; font-size: 13px; color: var(--muted); }
.opt-list { display: grid; gap: 10px; }
.opt-check { position: relative; display: flex; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 12px; background: var(--raised); border: 1.5px solid var(--border); cursor: pointer; }
.opt-check input { position: absolute; opacity: 0; inset: 0; cursor: pointer; }
.opt-check__box { display: grid; place-items: center; flex: none; width: 24px; height: 24px; border-radius: 7px; border: 1.5px solid var(--border-strong); color: transparent; }
.opt-check input:checked ~ .opt-check__box { background: var(--pink); border-color: var(--pink); color: #fff; }
.opt-check:has(input:checked) { border-color: var(--pink); }
.opt-check:has(input:focus-visible) { outline: 2px solid var(--cyan); outline-offset: 2px; }
.opt-check__text { flex: 1; }
.opt-check__text strong { display: block; }
.opt-check__text small { display: block; color: var(--muted); font-size: 14px; }
.opt-check__price { font-weight: 700; white-space: nowrap; }

.summary { position: sticky; top: calc(var(--header-h) + 20px); }
.summary__card {
  padding: 26px; border-radius: 20px; background: var(--menu);
  border: 1px solid var(--border-strong);
  box-shadow: 0 30px 60px -30px rgba(0, 0, 0, .9), inset 0 3px 0 var(--c1);
}
.summary__title { font-size: 21px; margin-bottom: 16px; }
.summary__lines { display: grid; gap: 10px; margin: 0 0 18px; }
.summary__line { display: flex; justify-content: space-between; gap: 16px; font-size: 15px; }
.summary__line dt { color: var(--text-2); }
.summary__line dd { margin: 0; font-weight: 600; text-align: right; }
.summary__totals { display: grid; gap: 8px; padding-top: 16px; border-top: 1px solid var(--border); }
.summary__row { display: flex; justify-content: space-between; align-items: baseline; gap: 12px; color: var(--text-2); }
.summary__row strong { font-size: 18px; color: var(--text); }
.summary__row--due strong { font-family: var(--font-head); font-size: 30px; }
.summary__btn { width: 100%; margin-top: 20px; white-space: normal; text-align: center; }
.summary__note { margin: 12px 0 0; font-size: 14px; color: var(--muted); text-align: center; }
.builder-bar { display: none; }

/* What's included + FAQ */
.included { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 20px; }
.included__item { padding: 26px; border-radius: var(--radius); background: var(--card); border: 1px solid var(--border); }
.included__item h3 { font-size: 20px; margin: 16px 0 8px; }
.included__item p { color: var(--muted); font-size: 16px; }
.included__icon { display: grid; place-items: center; width: 46px; height: 46px; border-radius: 13px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: var(--on-c1); }
.faq { display: grid; gap: 12px; }
.faq__item { border-radius: 14px; background: var(--card); border: 1px solid var(--border); }
.faq__item summary { display: flex; justify-content: space-between; align-items: center; gap: 16px; padding: 18px 22px; font-weight: 700; font-size: 18px; cursor: pointer; list-style: none; }
.faq__item summary::-webkit-details-marker { display: none; }
.faq__item[open] .icon--chevron { transform: rotate(180deg); }
.faq__item p { padding: 0 22px 20px; color: var(--text-2); }

/* Hosting page */
.page-hero--hosting::before {
  background:
    radial-gradient(40% 70% at 92% 0%, rgba(255, 34, 51, .26), transparent 70%),
    radial-gradient(35% 60% at 50% 110%, rgba(34, 211, 238, .18), transparent 70%),
    radial-gradient(30% 60% at 0% 40%, rgba(208, 16, 30, .22), transparent 70%);
}
.jump-links { display: flex; flex-wrap: wrap; gap: 10px; margin-top: 30px; }
.jump-link {
  display: inline-flex; align-items: center; gap: 10px; padding: 8px 16px 8px 8px; border-radius: 999px;
  background: var(--raised); border: 1px solid var(--border); text-decoration: none; font-weight: 600;
}
.jump-link:hover { border-color: var(--c1); }
.jump-link__icon { display: grid; place-items: center; width: 30px; height: 30px; border-radius: 50%; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; }
.hosting-section { position: relative; }
.hosting-section__line { display: block; width: 72px; height: 4px; margin-bottom: 22px; border-radius: 4px; background: linear-gradient(90deg, var(--c1), var(--c2)); box-shadow: 0 0 18px var(--c1); }
.tier-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(240px, 1fr)); gap: 20px; }
.tier {
  display: flex; flex-direction: column; gap: 12px; padding: 26px; border-radius: var(--radius);
  background: radial-gradient(120% 70% at 100% 0%, color-mix(in srgb, var(--c1) 16%, transparent), transparent 60%), var(--card);
  border: 1px solid var(--border);
}
.tier--soon { opacity: .75; }
.tier__label { font-size: 13px; font-weight: 700; color: var(--c1); }
.tier__name { font-size: 24px; }
.tier__price { margin: 0; color: var(--muted); }
.tier__price strong { font-family: var(--font-head); font-size: 28px; color: var(--text); }
.tier__specs { display: grid; gap: 8px; margin: 4px 0 8px; }
.tier__specs div { display: flex; justify-content: space-between; gap: 12px; padding-bottom: 8px; border-bottom: 1px solid var(--border); font-size: 15px; }
.tier__specs dt { color: var(--muted); }
.tier__specs dd { margin: 0; font-weight: 600; text-align: right; }
.tier__specs--inline { display: flex; flex-wrap: wrap; gap: 8px 20px; margin: 6px 0 0; }
.tier__specs--inline div { border: 0; padding: 0; gap: 6px; }
.tier__btn { margin-top: auto; }
.tier__btn:disabled { opacity: .55; cursor: not-allowed; transform: none; filter: none; }
.tier--wide { flex-direction: row; align-items: center; flex-wrap: wrap; gap: 20px; }
.tier--wide .tier__main { flex: 1; min-width: 200px; }
.tier--wide .tier__btn { margin-top: 0; }
.tier__icon { display: grid; place-items: center; width: 56px; height: 56px; border-radius: 15px; background: linear-gradient(150deg, var(--c1), var(--c2)); color: #fff; }

.table-wrap { position: relative; overflow-x: auto; border-radius: var(--radius); border: 1px solid var(--border); background: var(--card); }
.plan-table { width: 100%; min-width: 720px; border-collapse: collapse; }
.plan-table th, .plan-table td { padding: 16px 18px; text-align: left; border-bottom: 1px solid var(--border); white-space: nowrap; }
.plan-table thead th { font-size: 14px; color: var(--muted); font-weight: 600; }
.plan-table tbody th { font-family: var(--font-head); font-size: 18px; }
.plan-table tbody tr:last-child > * { border-bottom: 0; }
.plan-table__price strong { font-size: 18px; }
.plan-table td:last-child { text-align: right; }

.domain-search { display: flex; gap: 10px; margin-bottom: 28px; padding: 10px; border-radius: 16px; background: var(--card); border: 1px solid var(--border); }
.domain-search__input { flex: 1; min-width: 0; padding: 12px 14px; border: 0; background: transparent; font-size: 17px; }
.domain-search__input:focus { outline: none; }
.domain-search:focus-within { border-color: var(--cyan); }
.domain-search.is-disabled { opacity: .6; }
.domain-search button:disabled { cursor: not-allowed; filter: grayscale(.5); transform: none; }

.notify { display: grid; gap: 14px; margin-top: 32px; padding: 28px; border-radius: var(--radius); background: var(--card); border: 1px dashed color-mix(in srgb, var(--c1) 55%, var(--border)); }
.notify__title { font-size: 22px; margin-bottom: 6px; }
.notify p { color: var(--text-2); }
.notify__form { display: flex; flex-wrap: wrap; gap: 10px; }
.notify__form .field { flex: 1 1 260px; }
.notify .fine-print { margin: 0; }
.ts-grid { display: grid; }

/* Quote dialog */
.dialog {
  width: min(720px, calc(100% - 24px)); max-height: calc(100% - 24px); padding: 0;
  border: 1px solid var(--border-strong); border-radius: 20px;
  background: var(--menu); color: var(--text);
  box-shadow: 0 40px 80px rgba(0, 0, 0, .7);
}
.dialog::backdrop { background: rgba(5, 6, 14, .75); backdrop-filter: blur(4px); }
.dialog__form { padding: 28px; }
.dialog__head { display: flex; justify-content: space-between; gap: 16px; margin-bottom: 20px; }
.dialog__title { font-size: 26px; }
.dialog__sub { margin: 8px 0 0; color: var(--text-2); }
.dialog__close { display: grid; place-items: center; flex: none; width: 40px; height: 40px; border: 1px solid var(--border); border-radius: 12px; background: var(--raised); cursor: pointer; }
.dialog__actions { display: flex; justify-content: flex-end; flex-wrap: wrap; gap: 12px; margin-top: 20px; }
.form-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; }
.form-field { display: grid; gap: 6px; }
.form-field > span { font-size: 15px; font-weight: 600; color: var(--text-2); }
.form-field em { font-style: normal; font-weight: 500; color: var(--muted); }
.form-field--full { grid-column: 1 / -1; }

/* ==========================================================================
   Logo look: the RH logo's three reds, bevelled edges and 45° cuts
   ========================================================================== */

/* Key words in the logo's red, lit from above like the logo's faces. */
.hl {
  background: linear-gradient(180deg, #FF7A84 0%, #FF2233 40%, #D0101E 68%, #8A0008 100%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
  filter: drop-shadow(0 0 22px rgba(255, 34, 51, .3));
}

/* An angled red slash before section headings, like the strokes of the logo. */
.section-title::before, .page-title::before {
  content: ""; display: inline-block; width: .3em; height: .8em; margin-right: .32em; vertical-align: -.05em;
  background: linear-gradient(180deg, #FF6A74, var(--red) 40%, var(--red-dark));
  transform: skewX(-24deg); box-shadow: var(--bevel);
}
.game-hero__title::before { content: none; }

/* Coloured cards get the logo's 45° cut corners instead of round ones. */
.game-card, .hero-card, .mega__feature, .discord-band, .mega-service, .support-card, .plan, .tier, .service-card, .guide-card, .step, .included__item {
  border-radius: 0; clip-path: var(--cut-card);
}
.discord-band { clip-path: polygon(0 0, calc(100% - 34px) 0, 100% 34px, 100% 100%, 34px 100%, 0 calc(100% - 34px)); }
.plan { overflow: visible; }
.plan--popular { clip-path: none; border-radius: 0; }
.plan__flag { clip-path: var(--cut-sm); border-radius: 0; box-shadow: var(--bevel); }
.game-card__img, .hero-card__img, .game-card.has-img .game-card__art::before, .hero-card.has-img::before {
  border-radius: 0; clip-path: polygon(0 0, calc(100% - 20px) 0, 100% 20px, 100% 100%, 20px 100%, 0 calc(100% - 20px));
}
/* Cut corners would hide glows and focus rings drawn outside the card, so draw them inside instead. */
.game-card:hover, .game-card:focus-within { box-shadow: inset 0 0 0 1px rgba(255, 255, 255, .2); filter: brightness(1.06); }
.game-card:has(.game-card__name a:focus-visible) { outline: none; box-shadow: inset 0 0 0 3px var(--cyan); }
.service-card:hover, .support-card:hover, .guide-card:hover { box-shadow: none; filter: brightness(1.08); }

/* Bevelled 3D edges on the red pieces, like the logo. */
.badge--popular, .filter-btn.is-active, .ticker__label, .ticker__tag-pill--gradient, .step__num, .feature__icon, .btn-rent, .chip, .mega-service__icon, .service-card__icon, .support-card__icon, .support-link__icon, .included__icon, .jump-link__icon, .tier__icon {
  box-shadow: var(--bevel);
}
.filter-btn { border-radius: 0; clip-path: var(--cut-sm); }
.feature__icon, .service-card__icon, .mega-service__icon, .support-card__icon, .support-link__icon, .included__icon, .tier__icon { border-radius: 0; clip-path: var(--cut-sm); }

/* Subtle diagonal "slash" texture in the hero, echoing the cuts in the logo. */
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: repeating-linear-gradient(135deg, rgba(255, 34, 51, .035) 0 2px, transparent 2px 26px);
  -webkit-mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
          mask-image: linear-gradient(90deg, transparent 30%, #000 75%);
}
.hero__inner { z-index: 1; }

/* --- Responsive ---------------------------------------------------------- */

@media (max-width: 1240px) {
  .search__input { width: 160px; }
  .mega__panel--games { grid-template-columns: 200px 1fr 260px; }
  .mega__games { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}

@media (max-width: 1100px) {
  .main-nav, .header-actions > .search { display: none; }
  .menu-toggle { display: grid; }
  .hero__inner { grid-template-columns: 1fr; gap: 48px; }
  .hero__cards { max-width: 560px; }
  .features__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .services { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr 1fr; }
  .footer-brand { grid-column: 1 / -1; }
}

@media (max-width: 1000px) {
  .builder { grid-template-columns: 1fr; }
  .summary { position: static; }
  .included { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  body.builder-open .builder-bar:not(.is-hidden) {
    display: flex; position: fixed; left: 0; right: 0; bottom: 0; z-index: 40;
    justify-content: space-between; align-items: center; gap: 16px;
    padding: 12px var(--gutter) calc(12px + env(safe-area-inset-bottom));
    background: rgba(21, 15, 25, .96); backdrop-filter: blur(12px);
    border-top: 1px solid var(--border-strong);
  }
  .builder-bar small { display: block; font-size: 13px; color: var(--muted); }
  .builder-bar strong { font-family: var(--font-head); font-size: 24px; }
  .builder-bar .btn { white-space: normal; max-width: 60%; text-align: center; }
  body.builder-open .site-footer { padding-bottom: 80px; }
}

@media (max-width: 820px) {
  .steps, .guides { grid-template-columns: 1fr; }
  .opt-grid--4 { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .opt-grid--2 { grid-template-columns: 1fr; }
  .form-grid { grid-template-columns: 1fr; }
  .included { grid-template-columns: 1fr; }
  .discord-band { flex-direction: column; align-items: flex-start; padding: 36px 28px; }
  .section { padding: 72px 0; }
  .section-head--row { flex-direction: column; align-items: flex-start; }
}

@media (max-width: 640px) {
  :root { --gutter: 16px; --header-h: 64px; }
  body { font-size: 16px; }
  .brand__name { font-size: 16px; }
  .header-client { display: none; }
  .header-actions { gap: 8px; }
  .hero { padding: 56px 0 72px; }
  .hero__lead { font-size: 17px; }
  .hero__actions .btn { width: 100%; }
  .hero__cards { gap: 14px; padding: 0 4px; }
  .hero-card { padding: 14px; border-radius: 16px; }
  .hero-card:nth-child(n) { transform: rotate(-1.5deg); }
  .hero-card:nth-child(even) { transform: rotate(1.5deg) translateY(12px); }
  .hero-card__name { font-size: 19px; }
  .hero-card__mono { font-size: 80px; }
  .hero-toast { position: relative; left: auto; bottom: auto; grid-column: 1 / -1; margin-top: 18px; }
  .game-card { min-height: 280px; }
  .ticker { height: 50px; }
  .ticker__label { padding-right: 30px; font-size: 14px; }
  .features__grid { grid-template-columns: 1fr; gap: 22px; }
  .services { grid-template-columns: 1fr; }
  .game-grid { grid-template-columns: repeat(auto-fill, minmax(min(100%, 260px), 1fr)); }
  .footer-grid { grid-template-columns: 1fr 1fr; }
  .discord-band .btn { width: 100%; }
}

@media (max-width: 380px) {
  .brand__name { display: none; }
}

/* --- Reduced motion ------------------------------------------------------ */

@media (prefers-reduced-motion: reduce) {
  html { scroll-behavior: auto; }
  /* The "Now hosting" bar keeps moving by request; it has its own pause button instead. */
  *:not(.ticker__track), *::before, *::after { transition-duration: .01ms !important; animation-duration: .01ms !important; }
  .game-card:hover, .game-card:focus-within, .service-card:hover, .guide-card:hover, .guide-card:focus-within,
  .mega-service:hover, .btn:hover, .btn-rent:hover, .btn-icon:hover { transform: none; }
  .hero-card:hover { transform: none; }
}
