:root {
  color-scheme: dark;
  --bg: #0b0d12;
  --surface: #12161f;
  --card: #1a202a;
  --stroke: #2c333e;
  --text: #f6f6f4;
  --muted: #a7afb9;
  --subtle: #798392;
  --accent: #ff784d;
  --accent-soft: #ffc0a8;
  --green: #71d7a2;
  --font: "Inter", Arial, sans-serif;
  --display: "Space Grotesk", "Inter", Arial, sans-serif;
  --mono: "IBM Plex Mono", monospace;
}
* {
  box-sizing: border-box;
}
html {
  scroll-behavior: smooth;
}
body {
  margin: 0;
  color: var(--text);
  background: var(--bg);
  font: 14px/1.55 var(--font);
  -webkit-font-smoothing: antialiased;
}
button,
input,
textarea,
select {
  font: inherit;
}
button {
  cursor: pointer;
}
a {
  color: inherit;
  text-decoration: none;
}
img {
  max-width: 100%;
  display: block;
}
button:focus-visible,
a:focus-visible,
input:focus-visible,
select:focus-visible,
textarea:focus-visible,
summary:focus-visible {
  outline: 3px solid var(--accent);
  outline-offset: 3px;
}
button:disabled {
  opacity: 0.65;
  cursor: not-allowed;
}
[hidden] {
  display: none !important;
}
.container {
  width: min(1330px, calc(100% - 76px));
  margin: 0 auto;
}
.sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  white-space: nowrap;
  clip: rect(0, 0, 0, 0);
}
.skip {
  position: fixed;
  z-index: 999;
  top: -80px;
  left: 15px;
  background: var(--accent);
  color: #090b0f;
  padding: 12px;
}
.skip:focus {
  top: 15px;
}
.preview-strip {
  border-bottom: 1px solid #2b3039;
  background: #0c1119;
  color: #bfc6d2;
}
.preview-inner {
  height: 36px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
  font: 500 10px var(--mono);
}
.preview-inner > div {
  display: flex;
  align-items: center;
  gap: 11px;
  min-width: 0;
}
.preview-inner strong {
  color: var(--accent);
  white-space: nowrap;
  letter-spacing: 0.07em;
}
.preview-copy {
  font-family: var(--font);
  color: #a5afbd;
  font-size: 11px;
}
.signal {
  height: 7px;
  width: 7px;
  background: var(--accent);
  border-radius: 50%;
  box-shadow: 0 0 0 4px #ff784d1b;
}
.preview-date {
  color: #77828f;
  white-space: nowrap;
}
.site-header {
  background: #0d1016ea;
  border-bottom: 1px solid #333843;
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(18px);
}
.header-content {
  height: 76px;
  display: flex;
  gap: 45px;
  align-items: center;
}
.brand {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  flex: none;
}
.brand-icon {
  width: 35px;
  height: 35px;
  background: var(--accent);
  color: #13151c;
  border-radius: 7px;
  display: grid;
  place-items: center;
  font: 900 26px var(--font);
  position: relative;
  letter-spacing: -2px;
}
.brand-notch {
  font-size: 25px;
  position: absolute;
  right: 2px;
  bottom: -1px;
}
.brand-name {
  font-family: var(--display);
  font-weight: 700;
  font-size: 23px;
  letter-spacing: -1.2px;
  white-space: nowrap;
}
.brand-name > span {
  color: var(--accent);
}
.desktop-nav {
  display: flex;
  gap: 31px;
  align-items: center;
  margin-right: auto;
}
.desktop-nav a {
  font-size: 12px;
  color: #bcc3cd;
  font-weight: 600;
  white-space: nowrap;
}
.desktop-nav a:hover {
  color: white;
}
.header-commands {
  display: flex;
  align-items: center;
  gap: 20px;
}
.bookmark-header {
  border: 0;
  background: transparent;
  color: #c1c9d4;
  display: flex;
  gap: 9px;
  align-items: center;
  padding: 11px 0;
  font-weight: 600;
  font-size: 12px;
}
.bookmark-header > span:first-child {
  font-size: 25px;
  line-height: 1;
}
.bookmark-header[aria-pressed="true"] {
  color: var(--accent);
}
.bookmark-header b {
  font: 600 11px var(--mono);
  min-width: 18px;
  color: #a1aab4;
}
.button {
  border: 0;
  border-radius: 8px;
  min-height: 46px;
  padding: 12px 19px;
  font-size: 12px;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  gap: 16px;
  justify-content: center;
  transition:
    transform 0.15s ease,
    filter 0.15s ease;
  white-space: nowrap;
}
.button:hover {
  transform: translateY(-1px);
}
.button-accent {
  background: var(--accent);
  color: #15141a;
}
.button-accent:hover {
  filter: brightness(1.1);
}
.button-outline {
  border: 1px solid #48515f;
  color: var(--text);
  background: #242b37;
}
.mobile-nav {
  display: none;
}
.hero {
  background: #0e131b;
  position: relative;
  overflow: hidden;
}
.hero:before {
  content: "";
  position: absolute;
  inset: 0;
  background: radial-gradient(ellipse at 48% 72%, #30231c45, transparent 45%);
  pointer-events: none;
}
.hero-layout {
  min-height: 570px;
  display: grid;
  grid-template-columns: minmax(0, 0.91fr) minmax(0, 1.09fr);
  gap: 24px;
  align-items: center;
  position: relative;
}
.hero-copy {
  position: relative;
  z-index: 2;
  padding: 60px 0 64px;
  min-width: 0;
}
.hero-overline {
  display: flex;
  align-items: center;
  gap: 11px;
  color: var(--accent-soft);
  font: 600 11px var(--mono);
  letter-spacing: 0.05em;
}
.orange-line {
  width: 28px;
  height: 2px;
  background: var(--accent);
}
.hero h1 {
  margin: 23px 0 21px;
  font: 700 clamp(65px, 6.8vw, 96px) / 0.93 var(--display);
  letter-spacing: -5.5px;
}
.hero h1 span {
  color: var(--accent);
}
.hero-copy > p {
  max-width: 515px;
  color: #adb7c5;
  font-size: 14px;
  line-height: 1.87;
  margin: 0;
}
.hero-search {
  display: flex;
  align-items: stretch;
  gap: 0;
  height: 57px;
  width: min(550px, 100%);
  position: relative;
  margin-top: 31px;
  border: 1px solid #49505b;
  border-radius: 8px;
  background: #202632;
  overflow: hidden;
}
.hero-search:focus-within {
  border-color: var(--accent);
}
.search-glyph {
  font-size: 29px;
  color: #aebbc9;
  position: absolute;
  left: 17px;
  top: 8px;
  line-height: 1.3;
}
.hero-search input {
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 12px 0 47px;
  min-width: 0;
  flex: 1;
  color: white;
  font-size: 12px;
}
.hero-search input::placeholder {
  color: #8e99a7;
}
.hero-search button {
  border: 0;
  background: var(--accent);
  color: #181a1f;
  font-size: 12px;
  font-weight: 800;
  padding: 0 22px;
  white-space: nowrap;
}
.hero-search button:hover {
  background: #ff9873;
}
.hero-search button span {
  margin-left: 9px;
}
.hero-quick {
  margin-top: 19px;
  display: flex;
  align-items: center;
  gap: 14px;
  flex-wrap: wrap;
}
.hero-quick span {
  color: #818b99;
  font-size: 11px;
}
.hero-quick button {
  font-size: 11px;
  border: 0;
  border-bottom: 1px solid #677180;
  background: transparent;
  color: #dadfe7;
  padding: 3px 0;
}
.hero-quick button:hover {
  color: var(--accent);
  border-color: var(--accent);
}
.hero-visual {
  position: relative;
  align-self: stretch;
  min-height: 545px;
}
.hero-visual-main {
  position: absolute;
  inset: 31px 16px 35px 16px;
  border-radius: 15px;
  overflow: hidden;
  border: 1px solid #4a4647;
  box-shadow: 0 20px 75px #0008;
}
.hero-visual-main > img {
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 50% 40%;
  filter: saturate(0.86) contrast(1.08);
}
.visual-gradient {
  background:
    linear-gradient(180deg, transparent 35%, #0b0d12e0 95%),
    linear-gradient(90deg, #0a0d1670, transparent 70%);
  position: absolute;
  inset: 0;
}
.visual-caption {
  position: absolute;
  bottom: 29px;
  left: 31px;
  right: 90px;
}
.visual-caption span {
  color: var(--accent);
  font: 600 11px var(--mono);
  letter-spacing: 0.1em;
}
.visual-caption strong {
  display: block;
  margin-top: 9px;
  font: 700 23px/1.24 var(--display);
  max-width: 330px;
}
.hero-visual-thumb {
  position: absolute;
  width: 166px;
  height: 106px;
  border-radius: 10px;
  overflow: hidden;
  border: 4px solid #0d1119;
  box-shadow: 0 10px 35px #0009;
}
.hero-visual-thumb img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.hero-visual-thumb span {
  position: absolute;
  bottom: 7px;
  left: 10px;
  background: #0a0e15bb;
  padding: 4px 7px;
  border-radius: 2px;
  color: #fff;
  font: 600 9px var(--mono);
}
.thumb-one {
  right: -16px;
  top: 65px;
}
.thumb-two {
  left: auto;
  right: -20px;
  bottom: 102px;
}
.image-side-tag {
  position: absolute;
  bottom: 8px;
  right: 15px;
  font: 600 10px var(--mono);
  letter-spacing: 0.06em;
  color: #8994a4;
}
.quick-info {
  border-top: 1px solid #252b33;
  border-bottom: 1px solid #252b33;
  background: #171b23;
}
.quick-info-inner {
  min-height: 55px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 25px;
  font: 600 11px var(--mono);
  color: #b2bdc9;
}
.quick-info-inner > span:first-child {
  display: flex;
  align-items: center;
  gap: 11px;
  white-space: nowrap;
}
.dot {
  height: 7px;
  width: 7px;
  background: var(--green);
  border-radius: 50%;
}
.quick-info-inner em {
  color: #626d78;
  font-style: normal;
  margin: 0 9px;
}
.quick-info-inner a {
  color: var(--accent);
  white-space: nowrap;
}
.games-section {
  padding-top: 78px;
  padding-bottom: 75px;
}
.section-title-row {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 20px;
  margin-bottom: 27px;
}
.eyebrow {
  display: block;
  color: var(--accent);
  font: 600 10px var(--mono);
  letter-spacing: 0.14em;
}
.section-title-row h2 {
  font: 700 clamp(29px, 3vw, 43px) / 1.16 var(--display);
  letter-spacing: -1.5px;
  margin: 9px 0 0;
}
.orange-period {
  color: var(--accent);
}
.section-title-row > p {
  margin: 0;
  color: #8793a1;
  font-size: 12px;
  max-width: 340px;
  text-align: right;
}
.game-showcase {
  display: grid;
  grid-template-columns: repeat(6, minmax(0, 1fr));
  gap: 12px;
}
.game-tile {
  height: 225px;
  border: 1px solid #353d48;
  position: relative;
  overflow: hidden;
  background: #202734;
  border-radius: 11px;
  padding: 0;
  text-align: left;
  color: white;
  transition:
    border-color 0.18s,
    transform 0.18s;
}
.game-tile:hover {
  border-color: var(--accent);
  transform: translateY(-3px);
}
.game-tile img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
  filter: saturate(0.9) contrast(1.06);
}
.game-tile:hover img {
  transform: scale(1.04);
}
.game-tile::before {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    #06070b2a 0%,
    #080a11a5 56%,
    #080a12 100%
  );
  z-index: 1;
}
.game-tile-inner {
  position: absolute;
  inset: auto 17px 18px;
  z-index: 2;
}
.game-tile strong {
  display: block;
  font: 700 18px/1.1 var(--display);
  letter-spacing: -0.35px;
  margin: 4px 0 8px;
}
.game-tile span.tag {
  display: inline-block;
  color: #ddd6d5;
  font: 600 10px var(--mono);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}
.game-tile .tile-arrow {
  font-size: 21px;
  color: var(--accent);
  line-height: 1;
}
.game-tile[aria-pressed="true"] {
  border-color: var(--accent);
  box-shadow: 0 0 0 1px var(--accent);
}
.game-tile[aria-pressed="true"] .game-tile-inner strong {
  color: #ffba9f;
}
.other-games {
  margin-top: 22px;
  display: flex;
  align-items: center;
  gap: 16px;
  flex-wrap: wrap;
}
.other-games > span {
  font: 600 10px var(--mono);
  color: #7d8895;
  text-transform: uppercase;
  letter-spacing: 0.06em;
}
.more-games-list {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 8px;
}
.more-games-list button {
  font-size: 11px;
  font-weight: 600;
  color: #b8c0cb;
  border-radius: 6px;
  padding: 8px 12px;
  background: #1a202b;
  border: 1px solid #373e48;
}
.more-games-list button:hover,
.more-games-list button.active {
  border-color: var(--accent);
  color: var(--accent);
}
.catalog-section {
  background: #11151c;
  border-top: 1px solid #303640;
  border-bottom: 1px solid #303640;
  padding: 75px 0 88px;
  scroll-margin-top: 90px;
}
.catalog-head {
  margin-bottom: 28px;
}
.catalog-meta {
  display: flex;
  align-items: center;
  gap: 27px;
}
.demo-mark {
  color: #acb2ba;
  font-size: 11px;
  display: flex;
  align-items: center;
  gap: 8px;
}
.demo-mark span {
  height: 6px;
  width: 6px;
  border-radius: 50%;
  background: var(--accent);
}
.catalog-meta button {
  border: 0;
  border-bottom: 1px solid #676f78;
  color: #d5dce5;
  font-size: 11px;
  background: none;
  padding: 4px 0;
}
.catalog-meta button:hover {
  border-color: var(--accent);
  color: var(--accent);
}
.filter-bar {
  background: #1c222c;
  border: 1px solid #343b46;
  display: grid;
  grid-template-columns: minmax(230px, 1fr) 185px 173px 170px;
  gap: 0;
  border-radius: 10px;
  overflow: hidden;
}
.catalog-search-field {
  display: block;
  position: relative;
}
.catalog-search-field > span {
  position: absolute;
  top: 7px;
  left: 16px;
  color: #aeb6c1;
  font-size: 28px;
  line-height: 1;
}
.catalog-search-field input {
  display: block;
  width: 100%;
  height: 72px;
  color: #f5f5f8;
  background: transparent;
  border: 0;
  outline: 0;
  padding: 0 18px 0 49px;
  font-size: 12px;
}
.catalog-search-field input::placeholder {
  color: #828d9b;
}
.filter-select {
  position: relative;
  border-left: 1px solid #38414d;
  padding: 14px 13px 9px 17px;
  display: flex;
  flex-direction: column;
  justify-content: center;
  gap: 6px;
  min-width: 0;
}
.filter-select > span {
  font: 600 9px var(--mono);
  color: #85909c;
  letter-spacing: 0.07em;
}
.filter-select select {
  min-width: 0;
  background: transparent;
  border: 0;
  color: #eeeef2;
  outline: none;
  font-size: 12px;
  font-weight: 600;
  width: 100%;
  appearance: none;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='7' viewBox='0 0 10 7'%3E%3Cpath d='m1 1 4 4 4-4' stroke='%23abb4bf' stroke-width='1.5' fill='none'/%3E%3C/svg%3E");
  background-position: right 2px center;
  background-repeat: no-repeat;
  padding-right: 17px;
}
.filter-select select option {
  background: #1b202a;
}
.results-line {
  display: flex;
  justify-content: space-between;
  align-items: center;
  gap: 20px;
  padding: 21px 0 18px;
  color: #8e98a5;
  font: 500 11px var(--mono);
}
.results-line > span:last-child {
  color: #697581;
}
.server-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}
.server-card {
  background: #1b212c;
  border: 1px solid #343d49;
  border-radius: 11px;
  display: grid;
  grid-template-columns: 135px minmax(0, 1fr);
  padding: 12px;
  gap: 18px;
  min-height: 202px;
  transition:
    background 0.2s,
    border-color 0.2s,
    transform 0.2s;
  position: relative;
  overflow: hidden;
}
.server-card:hover {
  background: #212936;
  border-color: #68717e;
  transform: translateY(-2px);
}
.server-image {
  height: 100%;
  min-height: 175px;
  border-radius: 7px;
  overflow: hidden;
  background: #141820;
  position: relative;
}
.server-image img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.server-image:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 55%, #0b0d12a0);
}
.server-body {
  min-width: 0;
  display: flex;
  flex-direction: column;
  padding: 7px 6px 5px 0;
}
.server-topline {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
  color: var(--accent);
  font: 600 10px var(--mono);
}
.server-topline small {
  font-size: 10px;
  color: #9ba4b0;
  font-family: var(--font);
}
.server-body h3 {
  font: 700 18px/1.3 var(--display);
  letter-spacing: -0.4px;
  margin: 7px 0 6px;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.server-body > p {
  margin: 0;
  color: #9ba5b4;
  font-size: 11px;
  line-height: 1.6;
  display: -webkit-box;
  -webkit-line-clamp: 2;
  -webkit-box-orient: vertical;
  overflow: hidden;
  min-height: 35px;
}
.server-tags {
  display: flex;
  align-items: center;
  flex-wrap: wrap;
  gap: 5px;
  margin: 11px 0;
}
.server-tags span {
  border: 1px solid #454e59;
  background: #282f3a;
  border-radius: 4px;
  color: #c6ccd5;
  padding: 3px 6px;
  font: 500 9px var(--mono);
}
.server-bottom {
  margin-top: auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 8px;
}
.server-votes {
  font-size: 10px;
  color: #83909e;
}
.server-votes strong {
  color: #dde3eb;
  font-weight: 600;
}
.server-actions {
  display: flex;
  gap: 7px;
  align-items: center;
}
.favorite-button {
  height: 34px;
  width: 34px;
  background: #252e3b;
  color: #bac3cf;
  border: 1px solid #3f4955;
  border-radius: 5px;
  display: grid;
  place-items: center;
  font-size: 21px;
  line-height: 1;
}
.favorite-button[aria-pressed="true"] {
  color: var(--accent);
  border-color: #ad614d;
  background: #412e2d;
}
.details-button {
  border: 0;
  border-radius: 5px;
  background: var(--accent);
  color: #1a1b20;
  height: 34px;
  padding: 0 13px;
  font-size: 11px;
  font-weight: 800;
  white-space: nowrap;
}
.details-button:hover {
  background: #ffa383;
}
.empty-result {
  border: 1px dashed #535b69;
  padding: 55px 20px;
  text-align: center;
  border-radius: 9px;
}
.empty-symbol {
  font-size: 45px;
  color: var(--accent);
}
.empty-result h3 {
  font-size: 22px;
  margin: 8px 0;
}
.empty-result p {
  font-size: 13px;
  color: #9da7b6;
}
.empty-result button {
  margin-top: 10px;
}
.owner-section {
  padding-top: 79px;
  padding-bottom: 85px;
}
.owner-banner {
  min-height: 353px;
  background: #1b2028;
  border-radius: 13px;
  overflow: hidden;
  position: relative;
  isolation: isolate;
  border: 1px solid #353d48;
}
.owner-banner > img {
  position: absolute;
  inset: 0;
  height: 100%;
  width: 100%;
  object-fit: cover;
  object-position: 70% 55%;
  filter: saturate(0.85);
}
.owner-overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    90deg,
    #11161ff2 0%,
    #14191fef 33%,
    #15192167 70%,
    #0d0e1547
  );
}
.owner-content {
  position: relative;
  z-index: 1;
  padding: 47px 58px;
  max-width: 710px;
}
.eyebrow.light {
  color: #ffc3a6;
}
.owner-content h2 {
  font: 700 clamp(34px, 3.8vw, 54px) / 1.1 var(--display);
  margin: 16px 0;
}
.owner-content p {
  max-width: 465px;
  font-size: 13px;
  color: #c1c6d0;
  line-height: 1.75;
}
.owner-content .button {
  margin-top: 10px;
}
.site-footer {
  background: #0b0d12;
  border-top: 1px solid #282e38;
}
.footer-grid {
  padding: 42px 0;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 20px;
}
.footer-grid p {
  max-width: 400px;
  color: #7d8795;
  font-size: 12px;
  margin: 14px 0 0;
}
.footer-grid nav {
  display: flex;
  gap: 28px;
}
.footer-grid nav a {
  font-size: 12px;
  color: #aab2bf;
}
.footer-grid nav a:hover {
  color: var(--accent);
}
.legal {
  border-top: 1px solid #252b35;
  padding: 17px 0 24px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  color: #747d8c;
  font-size: 10px;
}
.dialog {
  width: min(640px, calc(100% - 30px));
  max-height: 89vh;
  overflow: auto;
  background: #1b202a;
  border: 1px solid #5b6470;
  border-radius: 13px;
  color: white;
  padding: 28px 32px;
  box-shadow: 0 26px 90px #000b;
}
.dialog::backdrop {
  background: #08090dd9;
  backdrop-filter: blur(6px);
}
.dialog-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  color: var(--accent);
  font: 600 10px var(--mono);
  letter-spacing: 0.1em;
  margin-bottom: 17px;
}
.modal-close {
  height: 36px;
  width: 36px;
  border: 1px solid #59626f;
  border-radius: 6px;
  color: #cfd6df;
  background: #2a313e;
  font-size: 23px;
}
.details-hero {
  height: 180px;
  border-radius: 7px;
  overflow: hidden;
  position: relative;
  margin: -2px 0 17px;
}
.details-hero img {
  height: 100%;
  width: 100%;
  object-fit: cover;
}
.details-hero:after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 40%, #161a21c0);
}
.dialog h2 {
  font: 700 31px/1.12 var(--display);
  letter-spacing: -0.6px;
  margin: 9px 0 14px;
}
.details-description {
  font-size: 13px;
  color: #b3bdc9;
  line-height: 1.75;
  margin: 0 0 20px;
}
.details-metrics {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 11px;
  margin: 18px 0;
  border-top: 1px solid #3c4652;
  border-bottom: 1px solid #3c4652;
  padding: 12px 0;
}
.details-metrics small {
  font: 600 10px var(--mono);
  color: #8291a0;
  display: block;
  margin: 0 0 5px;
}
.details-metrics strong {
  font-size: 13px;
}
.details-note {
  font-size: 11px;
  color: #adb7c2;
  border-left: 2px solid var(--accent);
  padding-left: 11px;
}
.details-controls {
  display: flex;
  gap: 9px;
  flex-wrap: wrap;
  margin-top: 22px;
}
.details-controls .button {
  flex: 1;
}
.modal-intro {
  font-size: 12px;
  line-height: 1.7;
  color: #abb5c2;
  margin: 0 0 21px;
}
.form-dialog label {
  display: block;
  font-size: 12px;
  font-weight: 600;
  margin-bottom: 17px;
}
.form-dialog input,
.form-dialog select,
.form-dialog textarea {
  display: block;
  background: #272f3b;
  color: white;
  border: 1px solid #4a5460;
  width: 100%;
  padding: 12px 13px;
  border-radius: 6px;
  margin-top: 7px;
  font-size: 13px;
}
.form-dialog input:focus,
.form-dialog textarea:focus,
.form-dialog select:focus {
  border-color: var(--accent);
}
.form-dialog select option {
  background: #232a36;
}
.form-columns {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 15px;
}
.form-info {
  font-size: 11px;
  color: #aeb8c4;
  padding: 12px;
  border-left: 2px solid var(--accent);
  background: #292c33;
}
.button-wide {
  width: 100%;
}
.toast {
  position: fixed;
  right: 24px;
  bottom: 24px;
  max-width: 400px;
  z-index: 90;
  min-height: 47px;
  padding: 14px 18px;
  background: #ffe2d3;
  color: #352217;
  border-radius: 7px;
  box-shadow: 0 15px 35px #0009;
  font-size: 12px;
  font-weight: 700;
  opacity: 0;
  pointer-events: none;
  transform: translateY(15px);
  transition:
    opacity 0.18s,
    transform 0.18s;
}
.toast.visible {
  opacity: 1;
  transform: translateY(0);
}
@media (max-width: 1260px) {
  .container {
    width: calc(100% - 56px);
  }
  .desktop-nav {
    gap: 21px;
  }
  .header-content {
    gap: 25px;
  }
  .hero-layout {
    grid-template-columns: 0.95fr 1.05fr;
  }
  .hero h1 {
    font-size: clamp(58px, 6.6vw, 85px);
  }
  .game-showcase {
    grid-template-columns: repeat(3, 1fr);
  }
  .game-tile {
    height: 205px;
  }
  .server-card {
    grid-template-columns: 118px minmax(0, 1fr);
    gap: 12px;
  }
  .server-image {
    min-height: 172px;
  }
  .server-card {
    padding: 10px;
  }
  .server-body {
    padding: 6px 5px 4px 0;
  }
}
@media (max-width: 970px) {
  .desktop-nav {
    display: none;
  }
  .header-content {
    justify-content: space-between;
  }
  .header-commands {
    margin-left: auto;
  }
  .hero-layout {
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .hero-copy {
    padding: 75px 0 25px;
  }
  .hero-visual {
    min-height: 360px;
    max-height: 390px;
  }
  .hero-visual-main {
    inset: 12px 40px 27px 18px;
  }
  .hero-visual-thumb {
    width: 145px;
    height: 95px;
  }
  .hero h1 {
    font-size: clamp(64px, 9vw, 96px);
  }
  .quick-info-inner > span:nth-child(2) {
    display: none;
  }
  .filter-bar {
    grid-template-columns: minmax(200px, 1fr) 170px 145px;
  }
  .sort-select {
    grid-column: 1/-1;
    border-top: 1px solid #38414d;
    border-left: 0;
    flex-direction: row;
    align-items: center;
    justify-content: space-between;
    height: 50px;
  }
  .sort-select select {
    max-width: 220px;
  }
  .server-grid {
    grid-template-columns: 1fr;
  }
  .server-card {
    grid-template-columns: 160px minmax(0, 1fr);
  }
  .server-image {
    height: 176px;
    min-height: 0;
  }
  .mobile-nav {
    display: block;
    position: relative;
  }
  .mobile-nav summary {
    list-style: none;
    width: 42px;
    height: 42px;
    border: 1px solid #49505b;
    background: #1c232d;
    border-radius: 7px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 5px;
    flex-direction: column;
    cursor: pointer;
  }
  .mobile-nav summary::-webkit-details-marker {
    display: none;
  }
  .mobile-nav summary > span {
    height: 2px;
    width: 19px;
    background: #eceff4;
  }
  .mobile-menu {
    position: absolute;
    right: 0;
    top: 49px;
    width: 245px;
    background: #202630;
    border: 1px solid #4d5661;
    box-shadow: 0 20px 45px #0009;
    border-radius: 8px;
    padding: 10px;
    z-index: 15;
  }
  .mobile-menu a,
  .mobile-menu button {
    display: block;
    width: 100%;
    padding: 12px 10px;
    text-align: left;
    background: transparent;
    border: 0;
    color: #eff0f5;
    font-size: 12px;
    font-weight: 700;
    border-radius: 5px;
  }
  .mobile-menu a:hover,
  .mobile-menu button:hover {
    background: #303945;
  }
  .bookmark-header-label {
    display: none;
  }
}
@media (max-width: 650px) {
  .container {
    width: calc(100% - 30px);
  }
  .preview-inner {
    height: 40px;
    font-size: 9px;
  }
  .preview-copy {
    font-size: 9px;
    line-height: 1.2;
  }
  .preview-date {
    display: none;
  }
  .header-content {
    height: 64px;
    gap: 12px;
  }
  .brand-icon {
    width: 31px;
    height: 31px;
    font-size: 23px;
  }
  .brand-name {
    font-size: 20px;
  }
  .header-commands > .button {
    display: none;
  }
  .header-commands {
    gap: 8px;
  }
  .bookmark-header {
    gap: 3px;
  }
  .hero-copy {
    padding: 54px 0 14px;
  }
  .hero-overline {
    font-size: 9px;
  }
  .hero h1 {
    font-size: clamp(53px, 11.5vw, 76px);
    letter-spacing: -3.5px;
    margin: 20px 0;
  }
  .hero-copy > p {
    font-size: 13px;
    line-height: 1.78;
  }
  .hero-search {
    height: 52px;
    margin-top: 24px;
  }
  .hero-search input {
    padding-left: 39px;
    font-size: 11px;
  }
  .search-glyph {
    left: 11px;
    top: 6px;
  }
  .hero-search button {
    font-size: 11px;
    padding: 0 12px;
  }
  .hero-quick {
    gap: 10px;
  }
  .hero-quick > span {
    width: 100%;
    font-size: 10px;
  }
  .hero-visual {
    height: 300px;
    min-height: 300px;
  }
  .hero-visual-main {
    inset: 14px 20px 20px 5px;
  }
  .visual-caption {
    bottom: 20px;
    left: 18px;
  }
  .visual-caption strong {
    font-size: 19px;
  }
  .hero-visual-thumb {
    width: 114px;
    height: 73px;
    border-width: 3px;
  }
  .thumb-one {
    right: -9px;
    top: 31px;
  }
  .thumb-two {
    left: auto;
    right: -9px;
    bottom: 77px;
  }
  .image-side-tag {
    font-size: 8px;
  }
  .quick-info-inner {
    min-height: 50px;
    font-size: 9px;
  }
  .quick-info-inner > span:first-child {
    white-space: normal;
  }
  .quick-info-inner a {
    font-size: 10px;
  }
  .games-section {
    padding-top: 50px;
    padding-bottom: 54px;
  }
  .section-title-row {
    display: block;
    margin-bottom: 21px;
  }
  .section-title-row h2 {
    font-size: 29px;
    letter-spacing: -1.1px;
  }
  .section-title-row > p {
    max-width: none;
    text-align: left;
    margin-top: 9px;
  }
  .game-showcase {
    grid-template-columns: repeat(2, 1fr);
    gap: 9px;
  }
  .game-tile {
    height: 185px;
  }
  .game-tile-inner {
    left: 12px;
    bottom: 12px;
  }
  .game-tile strong {
    font-size: 15px;
  }
  .game-tile span.tag {
    font-size: 9px;
  }
  .other-games {
    gap: 12px;
  }
  .more-games-list {
    gap: 6px;
  }
  .more-games-list button {
    font-size: 10px;
    padding: 7px 9px;
  }
  .catalog-section {
    padding: 54px 0;
  }
  .catalog-meta {
    margin-top: 15px;
    gap: 12px;
    justify-content: space-between;
    flex-wrap: wrap;
  }
  .catalog-meta button {
    font-size: 10px;
  }
  .demo-mark {
    font-size: 10px;
  }
  .filter-bar {
    grid-template-columns: 1fr 1fr;
  }
  .catalog-search-field {
    grid-column: 1/-1;
    border-bottom: 1px solid #38414d;
  }
  .catalog-search-field input {
    height: 53px;
  }
  .filter-select {
    height: 63px;
    padding: 11px 11px;
  }
  .filter-select:nth-of-type(2) {
    border-left: 0;
  }
  .sort-select {
    grid-column: 1/-1;
    border-top: 1px solid #38414d;
    height: 53px;
  }
  .sort-select select {
    max-width: 200px;
  }
  .results-line {
    padding: 17px 0;
    align-items: start;
    flex-direction: column;
    gap: 5px;
    font-size: 10px;
  }
  .server-grid {
    gap: 10px;
  }
  .server-card {
    min-height: 174px;
    grid-template-columns: 108px minmax(0, 1fr);
    padding: 9px;
    gap: 11px;
  }
  .server-image {
    height: 100%;
    min-height: 161px;
  }
  .server-body {
    padding: 2px 3px 1px 0;
  }
  .server-body h3 {
    font-size: 15px;
    margin: 5px 0;
  }
  .server-body > p {
    font-size: 10px;
    min-height: 0;
  }
  .server-tags {
    margin: 7px 0 6px;
  }
  .server-tags span {
    font-size: 8px;
    padding: 3px 4px;
  }
  .server-votes {
    display: none;
  }
  .server-topline {
    font-size: 9px;
  }
  .details-button {
    font-size: 10px;
    height: 33px;
    padding: 0 11px;
  }
  .favorite-button {
    height: 33px;
    width: 33px;
  }
  .owner-section {
    padding: 45px 0;
  }
  .owner-banner {
    min-height: 340px;
  }
  .owner-overlay {
    background: linear-gradient(90deg, #0c0e13f0, #0c0d13a3);
  }
  .owner-content {
    padding: 29px 23px;
    max-width: 100%;
  }
  .owner-content h2 {
    font-size: 35px;
  }
  .owner-content p {
    font-size: 12px;
  }
  .footer-grid {
    padding: 36px 0;
    display: block;
  }
  .footer-grid nav {
    margin-top: 22px;
    gap: 18px;
  }
  .legal {
    display: block;
  }
  .legal span {
    display: block;
    margin: 7px 0;
    font-size: 9px;
  }
  .dialog {
    padding: 21px;
  }
  .details-metrics {
    grid-template-columns: 1fr 1fr;
  }
  .form-columns {
    grid-template-columns: 1fr;
    gap: 0;
  }
  .toast {
    right: 15px;
    left: 15px;
    max-width: none;
    bottom: 14px;
  }
}
@media (max-width: 365px) {
  .server-card {
    grid-template-columns: 90px minmax(0, 1fr);
  }
  .server-image {
    min-height: 150px;
  }
  .server-body h3 {
    font-size: 13px;
  }
  .server-tags span:nth-child(n + 3) {
    display: none;
  }
  .hero h1 {
    font-size: 50px;
  }
  .game-tile {
    height: 155px;
  }
  .bookmark-header b {
    display: none;
  }
}
@media (prefers-reduced-motion: reduce) {
  *,
  *:before,
  *:after {
    animation-duration: 0.001ms !important;
    transition-duration: 0.001ms !important;
    scroll-behavior: auto !important;
  }
}
/* VIP preview is illustrative only. No real promotion/payment state in static demo. */
.demo-vip-section{padding:76px 0 84px;border-top:1px solid #343b48;border-bottom:1px solid #343b48;background:#11151d;scroll-margin-top:90px}
.demo-vip-heading{display:flex;align-items:end;justify-content:space-between;gap:20px;margin-bottom:26px}
.demo-vip-heading h2{font:700 clamp(32px,3.4vw,49px)/1.08 var(--display);letter-spacing:-1.6px;margin:10px 0 0}
.demo-vip-heading p{max-width:560px;color:#9faebf;font-size:12px;line-height:1.7;margin:12px 0 0}
.demo-vip-demo-label{color:#ffb99b;border:1px solid #734936;border-radius:5px;padding:8px 10px;font:600 10px var(--mono);letter-spacing:.025em;white-space:nowrap}
.demo-vip-card{display:grid;grid-template-columns:1fr 1fr;min-height:325px;background:#1c2330;border:1px solid #485261;border-radius:12px;overflow:hidden}
.demo-vip-art{position:relative;overflow:hidden;min-height:325px}
.demo-vip-art img{width:100%;height:100%;position:absolute;inset:0;object-fit:cover;object-position:center 44%}
.demo-vip-art:after{content:"";position:absolute;inset:0;background:linear-gradient(90deg,transparent 45%,#1c2330 100%),linear-gradient(0deg,#12172480,transparent 60%)}
.demo-vip-art>span{position:absolute;bottom:19px;left:19px;z-index:1;background:#181c26e0;color:#f2c9b4;border:1px solid #81614e;border-radius:5px;padding:7px 10px;font:600 10px var(--mono)}
.demo-vip-copy{display:flex;flex-direction:column;align-items:flex-start;justify-content:center;padding:26px 40px 26px 20px}
.demo-vip-copy h3{font:700 clamp(25px,3vw,39px)/1.16 var(--display);letter-spacing:-1.3px;margin:12px 0}
.demo-vip-copy p{font-size:12px;line-height:1.8;color:#aebac8;max-width:450px;margin:0 0 14px}
.demo-vip-rate{color:#f4bc9f;font-size:11px;line-height:1.75;margin:0 0 20px;font-weight:600}
@media(max-width:650px){.demo-vip-section{padding:53px 0}.demo-vip-heading{display:block}.demo-vip-heading h2{font-size:32px}.demo-vip-demo-label{display:inline-block;margin-top:17px}.demo-vip-card{grid-template-columns:1fr}.demo-vip-art{height:185px;min-height:185px}.demo-vip-art:after{background:linear-gradient(0deg,#1c2330 0,transparent 85%)}.demo-vip-copy{padding:18px 22px 26px}.demo-vip-copy h3{font-size:28px}}
