:root {
  --ink: #050b12;
  --navy: #07111d;
  --navy-2: #0b1827;
  --panel: #0d1b2a;
  --panel-soft: #112337;
  --line: rgba(255, 255, 255, 0.12);
  --line-gold: rgba(224, 177, 72, 0.32);
  --gold: #e0b148;
  --gold-light: #f4cf73;
  --cream: #f4f0e8;
  --muted: #9ba9b8;
  --success: #5bd39b;
  --danger: #ff7272;
  --content: 1240px;
  --header-height: 84px;
  --control-text-offset: 1px;
  --radius: 18px;
  --shadow: 0 24px 80px rgba(0, 0, 0, 0.4);
}

html {
  scroll-behavior: smooth;
  background: var(--ink);
}

body,
html {
  display: block;
  width: 100%;
  min-height: 100%;
  overflow-x: clip;
  color: var(--cream);
  background: var(--ink);
  font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
  font-size: 16px;
  line-height: 1.6;
}

body {
  min-height: 100vh;
}

button,
input,
select,
textarea {
  font: inherit;
}

input,
select,
textarea {
  color-scheme: dark;
}

button,
summary {
  -webkit-tap-highlight-color: transparent;
}

a {
  color: inherit;
  text-decoration: none;
}

img,
video {
  max-width: 100%;
}

::selection {
  color: var(--ink);
  background: var(--gold-light);
}

:focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 4px;
}

.skip-link {
  position: fixed;
  top: 12px;
  left: 12px;
  z-index: 100000;
  padding: 10px 14px;
  color: var(--ink);
  background: var(--gold-light);
  border-radius: 8px;
  transform: translateY(-160%);
  transition: transform 160ms ease;
}

.skip-link:focus {
  transform: translateY(0);
}

.main {
  width: 100%;
  min-height: calc(100vh - var(--header-height));
  padding: 0;
  margin: 0;
  background: var(--ink);
}

.content-width {
  width: min(calc(100% - 48px), var(--content));
  margin-inline: auto;
}

.section-pad {
  padding-block: clamp(80px, 10vw, 144px);
}

.eyebrow {
  display: inline-flex;
  align-items: center;
  gap: 9px;
  color: var(--gold-light);
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.19em;
  line-height: 1.2;
  text-transform: uppercase;
}

.status-dot {
  display: inline-block;
  width: 8px;
  height: 8px;
  flex: 0 0 auto;
  background: var(--success);
  border-radius: 50%;
  box-shadow: 0 0 0 5px rgba(91, 211, 155, 0.12), 0 0 18px rgba(91, 211, 155, 0.65);
}

.site-header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 9000;
  width: 100%;
  height: var(--header-height);
  color: var(--cream);
  background: linear-gradient(180deg, rgba(5, 11, 18, 0.94), rgba(5, 11, 18, 0.72));
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: none;
  backdrop-filter: blur(18px);
}

.site-header__inner {
  display: grid;
  grid-template-columns: 190px minmax(420px, 1fr) auto;
  align-items: center;
  gap: 28px;
  width: min(calc(100% - 48px), 1440px);
  height: 100%;
  margin-inline: auto;
}

.site-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  width: 176px;
  height: 58px;
  overflow: hidden;
}

.site-brand img {
  display: block;
  width: 44px;
  height: 44px;
  flex: 0 0 44px;
  object-fit: contain;
}

.site-brand > span {
  display: flex;
  flex-direction: column;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 0.7rem;
  letter-spacing: 0.2em;
  line-height: 1.05;
  text-transform: uppercase;
}

.site-brand > span strong {
  color: var(--cream);
  font-size: 1rem;
  font-weight: 500;
  letter-spacing: 0.08em;
}

.site-nav {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 34px;
  height: 100%;
}

.site-nav a {
  position: relative;
  display: flex;
  align-items: center;
  color: #b7c0ca;
  font-size: 0.76rem;
  font-weight: 750;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  transition: color 180ms ease;
}

.site-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  content: "";
  background: var(--gold);
  transform: scaleX(0);
  transform-origin: center;
  transition: transform 180ms ease;
}

.site-nav a:hover,
.site-nav a.active {
  color: var(--cream);

  transform: none;
}

.site-nav a:hover::after,
.site-nav a.active::after {
  transform: scaleX(1);
}

.site-nav__mobile-account {
  display: none;
}

.site-actions,
.account {
  display: flex;
  align-items: center;
  gap: 10px;
}

.site-actions {
  justify-content: flex-end;
}

.player-status {
  display: flex;
  align-items: center;
  gap: 7px;
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 650;
  white-space: nowrap;
}

.player-status strong {
  display: flex;
  gap: 1px;
  color: var(--cream);
  font-size: 0.74rem;
  letter-spacing: 0.04em;
}

.player-status strong span {
  display: inline;
  width: auto;
  padding: 0;
  color: inherit;
  background: none;
}

.language-menu {
  position: relative;
}

.language-menu summary {
  display: flex;
  align-items: center;
  gap: 7px;
  min-width: 66px;
  height: 40px;
  padding: 0 11px;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 999px;
  cursor: pointer;
  list-style: none;
}

.language-menu summary::-webkit-details-marker {
  display: none;
}

.language-menu summary::after {
  width: 6px;
  height: 6px;
  margin-left: 2px;
  content: "";
  border-right: 1.5px solid currentColor;
  border-bottom: 1.5px solid currentColor;
  transform: translateY(-2px) rotate(45deg);
}

.language-menu summary img,
.language-menu__list img {
  width: 20px;
  height: 14px;
  object-fit: cover;
  border-radius: 2px;
}

.language-menu summary span {
  font-size: 0.7rem;
  font-weight: 800;
  line-height: 1;
  transform: translateY(var(--control-text-offset));
}

.language-menu__list {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  display: grid;
  grid-template-columns: 1fr 1fr;
  width: 320px;
  max-height: min(520px, calc(100vh - 110px));
  padding: 10px;
  overflow-y: auto;
  background: rgba(7, 17, 29, 0.98);
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: var(--shadow);
}

.language-menu__list a {
  display: flex;
  align-items: center;
  gap: 9px;
  padding: 9px 10px;
  color: var(--muted);
  font-size: 0.8rem;
  border-radius: 8px;
}

.language-menu__list a:hover,
.language-menu__list a.active {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.075);
}

.nav-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px 10px;
  color: var(--cream);
  background: transparent;
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.nav-toggle span {
  display: block;
  width: 20px;
  height: 1.5px;
  margin: 4px auto;
  background: currentColor;
  transition: transform 180ms ease, opacity 180ms ease;
}

.site-header.mobile .nav-toggle span:nth-child(1) {
  transform: translateY(5.5px) rotate(45deg);
}

.site-header.mobile .nav-toggle span:nth-child(2) {
  opacity: 0;
}

.site-header.mobile .nav-toggle span:nth-child(3) {
  transform: translateY(-5.5px) rotate(-45deg);
}

.button {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  gap: 10px;

  padding: calc(2 * var(--control-text-offset)) 20px 0;
  color: var(--cream);
  background: transparent;
  border: 1px solid transparent;
  border-radius: 999px;
  font-size: 0.74rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  line-height: 1;
  text-align: center;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease, border-color 180ms ease, transform 180ms ease, box-shadow 180ms ease;
}

.button:hover {
  transform: translateY(-2px);
}

.button--gold {
  color: #17130b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border-color: var(--gold-light);
  box-shadow: 0 10px 30px rgba(224, 177, 72, 0.18);
}

.button--gold:hover {
  color: #0a0d11;
  background: linear-gradient(135deg, #ffe195, var(--gold-light));
  box-shadow: 0 14px 38px rgba(224, 177, 72, 0.3);
}

.button--ghost {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.045);
  border-color: var(--line);
}

.button--ghost:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.26);
}

.button--wide {
  width: 100%;
}

.icon-button {
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.045);
  border: 1px solid var(--line);
  border-radius: 50%;
  cursor: pointer;
}

.account-in #account_name svg {
  display: none;
}

.home-hero {
  position: relative;
  min-height: 930px;
  padding-top: var(--header-height);
  overflow: hidden;
  background: var(--navy);
}

.home-hero__media {
  position: absolute;
  inset: 0;
  background-image: url('/assets/page-background.webp');
  background-position: 50% 35%;
  background-size: cover;
  transform: scale(1.015);
}

.home-hero__veil {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(4, 10, 17, 0.96) 0%, rgba(4, 10, 17, 0.72) 40%, rgba(4, 10, 17, 0.25) 73%, rgba(4, 10, 17, 0.76) 100%),
    linear-gradient(180deg, rgba(4, 10, 17, 0.32) 0%, rgba(4, 10, 17, 0.08) 50%, var(--ink) 100%);
}

.home-hero__content {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1.25fr) minmax(360px, 0.75fr);
  gap: clamp(48px, 7vw, 110px);
  align-items: center;
  min-height: 730px;
  padding-block: 70px 54px;
}

.hero-copy {
  max-width: 740px;
}

.hero-copy h1,
.section-heading h2,
.trailer-copy h2,
.server-callout h2 {
  font-family: Georgia, "Times New Roman", serif;
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 0.98;
}

.hero-copy h1 {
  max-width: 760px;
  margin: 24px 0 28px;
  font-size: clamp(4rem, 7.4vw, 7.4rem);
  text-wrap: balance;
}

.hero-copy h1 em,
.section-heading h2 em,
.trailer-copy h2 em {
  color: var(--gold-light);
  font-style: italic;
}

.hero-copy > p {
  max-width: 640px;
  color: #c5cdd5;
  font-size: clamp(1rem, 1.5vw, 1.22rem);
  line-height: 1.75;
}

.hero-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  margin-top: 34px;
}

.hero-actions .button {
  min-height: 52px;
  padding-inline: 26px;
}

.platform-line {
  display: flex;
  flex-wrap: wrap;
  gap: 13px 19px;
  align-items: center;
  margin-top: 40px;
  color: #aab4bf;
  font-size: 0.75rem;
}

.platform-line span {
  color: #6f7d8c;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.platform-line strong {
  color: #cbd2da;
  font-weight: 750;
}

.register-card {
  width: 100%;
  max-width: 470px;
  justify-self: end;
  padding: clamp(28px, 3.2vw, 42px);
  background: linear-gradient(150deg, rgba(13, 27, 42, 0.92), rgba(6, 14, 23, 0.95));
  border: 1px solid var(--line-gold);
  border-radius: 22px;
  box-shadow: var(--shadow);
  backdrop-filter: blur(18px);
}

.register-card h2,
.login-panel h2 {
  margin: 10px 0 7px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3vw, 2.65rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.register-card > p,
.login-panel__dialog > p {
  margin-bottom: 24px;
  color: var(--muted);
  font-size: 0.92rem;
}

.modern-form {
  display: flex;
  flex-direction: column;
  gap: 14px;
  width: 100%;
  padding: 0;
  margin: 0;
  background: none;
  border: 0;
  box-shadow: none;
}

.modern-form::before {
  display: none;
}

.field,
.modern-form .field {
  display: flex;
  flex-direction: column;
  gap: 7px;
  width: 100%;
}

.field-row {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px;
}

.field label {
  color: #b9c3cd;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}

.field input,
.field textarea,
.field select,
.modern-form input {
  width: 100%;
  min-height: 50px;
  padding: 0 15px;
  color: var(--cream);
  background: rgba(2, 8, 14, 0.68);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
  outline: none;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.field input::placeholder,
.modern-form input::placeholder {
  color: #647181;
}

.field input:focus,
.field textarea:focus,
.field select:focus,
.modern-form input:focus {
  background: rgba(2, 8, 14, 0.92);
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 177, 72, 0.11);
}

.field.error input,
.modern-form [field].error input {
  border-color: var(--danger);
}


:is(.field, .modern-form, .site-page .formInput) :is(input, select, textarea):is(:autofill, :-webkit-autofill) {
  color: var(--cream);
  -webkit-text-fill-color: var(--cream);
  caret-color: var(--cream);
  background-color: var(--navy);
  box-shadow: 0 0 0 1000px var(--navy) inset;
}

:is(.field, .modern-form) :is(input, select, textarea):is(:autofill, :-webkit-autofill):focus {
  box-shadow: 0 0 0 1000px var(--navy) inset, 0 0 0 3px rgba(224, 177, 72, 0.11);
}

.check-field {
  display: grid;
  grid-template-columns: 18px 1fr;
  gap: 10px;
  align-items: start;
  color: var(--muted);
  font-size: 0.76rem;
  line-height: 1.5;
  cursor: pointer;
}

.check-field input {
  width: 17px;
  min-height: 17px;
  margin-top: 2px;
  accent-color: var(--gold);
}

.check-field button,
.text-button {
  padding: 0;
  color: var(--gold-light);
  background: none;
  border: 0;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.text-button {
  align-self: center;
  color: var(--muted);
  font-size: 0.78rem;
}

.modern-form .formSubmit {
  min-height: 52px;
  margin-top: 2px;
  padding-inline: 20px;
}

.modern-form .formSubmit span {
  display: inline;
  width: auto;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  border-radius: 0;
  box-shadow: none;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: none;
}

.modern-form.loading,
.modern-form .formSubmit.loading {
  opacity: 0.68;
  pointer-events: none;
}

.modern-form .formError {
  display: flex;
  align-items: center;
  min-height: 42px;
  padding: 9px 12px;
  color: #ffd1d1;
  background: rgba(255, 114, 114, 0.1);
  border: 1px solid rgba(255, 114, 114, 0.32);
  border-radius: 9px;
  font-size: 0.78rem;
  line-height: 1.45;
}

.modern-form .formError[success] {
  color: #c7ffe4;
  background: rgba(91, 211, 155, 0.1);
  border-color: rgba(91, 211, 155, 0.32);
}

.hero-stats {
  position: relative;
  z-index: 3;
  display: grid;
  grid-template-columns: repeat(4, 1fr);
  margin-top: -1px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats > div {
  display: flex;
  min-height: 112px;
  flex-direction: column;
  justify-content: center;
  padding: 20px 30px;
  border-right: 1px solid var(--line);
}

.hero-stats > div:last-child {
  border-right: 0;
}

.hero-stats strong {
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 2rem;
  font-weight: 500;
  font-variant-numeric: tabular-nums;
  line-height: 1;
}

.hero-stats span {
  margin-top: 7px;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.hero-stats strong[data-count-final] {
  position: relative;
}


.hero-stats strong[data-count-final]::before {
  content: attr(data-count-final);
  visibility: hidden;
}

.hero-stats .hero-stat-value {
  position: absolute;
  inset: 0;
  margin: 0;
  color: inherit;
  font: inherit;
  letter-spacing: inherit;
  text-transform: none;
}

.world-section {
  position: relative;
  background:
    radial-gradient(circle at 10% 20%, rgba(27, 71, 104, 0.23), transparent 32%),
    linear-gradient(180deg, var(--ink), var(--navy));
}

#ranking {
  border-bottom: 1px solid var(--line);
}

.section-heading {
  display: grid;
  grid-template-columns: minmax(0, 1.15fr) minmax(300px, 0.65fr);
  gap: 80px;
  align-items: end;
  margin-bottom: 56px;
}

.section-heading h2,
.trailer-copy h2 {
  max-width: 760px;
  margin-top: 16px;
  font-size: clamp(3.1rem, 5.8vw, 5.8rem);
}

.section-heading > p,
.trailer-copy > p {
  color: var(--muted);
  font-size: 1rem;
  line-height: 1.8;
}

.leaderboard-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 20px;
}

.leaderboard-card {
  min-width: 0;
  padding: 24px 18px 8px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.035), transparent 60%), var(--navy-2);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
}


.leaderboard-table {
  width: 100%;
  max-width: none;
  margin: 0;
  table-layout: fixed;
  border-collapse: collapse;
  border-spacing: 0;
  font-size: 0.875rem;
  line-height: 1.5;
}

.leaderboard-table caption {
  padding: 0 6px 22px;
  text-align: left;
}

.leaderboard-table h3 {
  margin: 0;
  color: var(--gold-light);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
  line-height: 1.25;
}

.leaderboard-place-column { width: 38px; }
.leaderboard-value-column { width: 43%; }

.leaderboard-table td {
  padding: 13px 6px;
  border-top: 1px solid var(--line);
  vertical-align: middle;
}

.leaderboard-table .leaderboard-name {
  color: var(--cream);
  font-weight: 500;
  text-align: left;
  overflow-wrap: anywhere;
}

.leaderboard-table .leaderboard-empty {
  padding-block: 32px;
  color: var(--muted);
  text-align: center;
}

.leaderboard-table .leaderboard-value {
  color: var(--muted);
  font-variant-numeric: tabular-nums;
  font-size: 0.8125rem;
  text-align: right;
  overflow-wrap: anywhere;
}

.leaderboard-place {
  display: inline-grid;
  width: 26px;
  height: 26px;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.035);
  border-radius: 7px;
  font-size: 0.75rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.leaderboard-table tbody tr:first-child .leaderboard-place {
  color: var(--gold-light);
  background: rgba(224, 177, 72, 0.16);
}

.leaderboard-table tbody tr:nth-child(2) .leaderboard-place {
  color: #cbd7e5;
  background: rgba(203, 215, 229, 0.12);
}

.leaderboard-table tbody tr:nth-child(3) .leaderboard-place {
  color: #d9a17b;
  background: rgba(217, 161, 123, 0.12);
}

.leaderboard-table tbody tr:first-child .leaderboard-value {
  color: var(--gold-light);
}


.leaderboard-sr-only {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  clip-path: inset(50%);
  white-space: nowrap;
}

@media (max-width: 1080px) {
  .leaderboard-grid { grid-template-columns: minmax(0, 1fr); }
}

.feature-grid {
  display: grid;
  grid-template-columns: 1.25fr 0.75fr;
  grid-template-rows: 1fr 1fr;
  gap: 16px;
}

.feature-card {
  position: relative;
  display: flex;
  min-height: 260px;
  align-items: flex-end;
  padding: 34px;
  overflow: hidden;
  background:
    linear-gradient(160deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.015)),
    var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.feature-card::after {
  position: absolute;
  top: -90px;
  right: -70px;
  width: 230px;
  height: 230px;
  content: "";
  background: radial-gradient(circle, rgba(224, 177, 72, 0.16), transparent 68%);
  border-radius: 50%;
  transition: transform 300ms ease;
}

.feature-card:hover::after {
  transform: translate(-20px, 20px) scale(1.15);
}

.feature-card--large {
  grid-row: 1 / 3;
  min-height: 536px;
  background:
    linear-gradient(180deg, rgba(5, 11, 18, 0.06), rgba(5, 11, 18, 0.96)),
    url('/inc/fight.webp') 64% center / cover;
}

.feature-number {
  position: absolute;
  top: 25px;
  left: 28px;
  color: var(--gold-light);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.14em;
}

.feature-card > div {
  position: relative;
  z-index: 1;
  max-width: 570px;
}

.feature-card h3 {
  margin-bottom: 10px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 3.2vw, 3.25rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  line-height: 1.05;
}

.feature-card p {
  max-width: 500px;
  color: #aeb9c4;
  line-height: 1.72;
}

.trailer-section {
  background:
    radial-gradient(circle at 85% 60%, rgba(224, 177, 72, 0.1), transparent 34%),
    var(--navy);
  border-top: 1px solid var(--line);
}

.trailer-grid {
  display: grid;
  grid-template-columns: 0.7fr 1.3fr;
  gap: clamp(48px, 7vw, 92px);
  align-items: center;
}

.trailer-copy h2 {
  margin-bottom: 24px;
}

.text-link {
  display: inline-flex;
  gap: 14px;
  align-items: center;
  margin-top: 30px;
  color: var(--gold-light);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.text-link span {
  font-size: 1.25rem;
  transition: transform 180ms ease;
}

.text-link:hover span {
  transform: translateX(6px);
}

.video-frame {
  position: relative;
  overflow: hidden;
  background: #02070c;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.video-frame::before {
  display: block;
  padding-top: 56.25%;
  content: "";
}

.video-frame video,
.video-frame iframe,
.video-frame > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  border: 0;
}

.youtube-player > img {
  opacity: 0.78;
  transition: opacity 180ms ease, transform 400ms ease;
}

.youtube-player:hover > img {
  opacity: 0.9;
  transform: scale(1.015);
}

.youtube-player__play {
  position: absolute;
  top: 50%;
  left: 50%;
  display: inline-flex;
  min-height: 58px;
  align-items: center;
  gap: 12px;
  padding: 0 24px;
  color: #17130b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  box-shadow: 0 16px 45px rgba(0, 0, 0, 0.45);
  font-size: 0.75rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  cursor: pointer;
  transform: translate(-50%, -50%);
}

.youtube-player__play span {
  font-size: 1.1rem;
}

.server-callout {
  background:
    linear-gradient(90deg, rgba(5, 11, 18, 0.96), rgba(5, 11, 18, 0.65)),
    url('/inc/banner.webp') center 44% / cover;
  border-top: 1px solid var(--line);
}

.server-callout__inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 48px;
}

.server-callout h2 {
  margin: 15px 0 10px;
  font-size: clamp(3.1rem, 6vw, 6.5rem);
}

.server-callout p {
  max-width: 650px;
  color: #b7c2cd;
}

.server-callout__actions {
  display: flex;
  flex: 0 0 auto;
  gap: 12px;
}

.login-panel {
  position: fixed;
  inset: 0;
  z-index: 12000;
  display: grid;
  place-items: stretch end;
  pointer-events: none;
  visibility: hidden;
}

.login-panel.active {
  pointer-events: auto;
  visibility: visible;
}

.login-panel__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(1, 6, 11, 0.72);
  border: 0;
  opacity: 0;
  cursor: default;
  backdrop-filter: blur(7px);
  transition: opacity 220ms ease;
}

.login-panel.active .login-panel__backdrop {
  opacity: 1;
}

.login-panel__dialog {
  position: relative;
  z-index: 1;
  width: min(480px, 100vw);
  height: 100%;
  padding: clamp(38px, 7vw, 72px) clamp(26px, 5vw, 52px);
  overflow-y: auto;
  color: var(--cream);
  background: linear-gradient(165deg, #0d1d2d, #050c14);
  border-left: 1px solid var(--line-gold);
  box-shadow: -30px 0 90px rgba(0, 0, 0, 0.5);
  transform: translateX(102%);
  transition: transform 260ms cubic-bezier(0.22, 1, 0.36, 1);
}

.login-panel.active .login-panel__dialog {
  transform: translateX(0);
}

.login-panel__close {
  position: absolute;
  top: 18px;
  right: 18px;
  display: grid;
  width: 42px;
  height: 42px;
  place-items: center;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.055);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.45rem;
  cursor: pointer;
}

.login-panel__links {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 8px;
  margin-top: 4px;
  font-size: 0.9rem;
}

.login-panel__links a {
  color: var(--muted);
  text-decoration: underline;
  text-underline-offset: 3px;
}

body.login-open {
  overflow: hidden;
}


.d-flex { display: flex; }
.justify-content-between { justify-content: space-between; }
.justify-content-around { justify-content: space-around; }
.justify-content-center { justify-content: center; }
.justify-content-start { justify-content: flex-start; }
.align-items-center { align-items: center; }
.flex-wrap { flex-wrap: wrap; }
.text-center { text-align: center; }
.w-100 { width: 100%; }
.row { display: flex; flex-wrap: wrap; }
.col, .col-12 { width: 100%; }
.col-3 { width: 25%; }
.col-4 { width: 33.333%; }
.col-6 { width: 50%; }
.col-7 { width: 58.333%; }
.col-8 { width: 66.667%; }
.mb-1 { margin-bottom: 0.25rem; }
.d-inline-block { display: inline-block; }


body .modal-overlay {
  position: fixed;
  inset: 0;
  z-index: 20000;
  display: none;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 20px;
  background: rgba(2, 7, 12, 0.82);
  backdrop-filter: blur(8px);
}

body .modal-overlay.active {
  display: flex;
}

body .pirate-modal {
  position: relative;
  width: min(760px, 100%);
  max-width: 760px;
  max-height: 88vh;
  overflow: hidden;
  background: linear-gradient(160deg, var(--panel-soft), var(--navy));
  background-image: none;
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body .pirate-modal-body {
  max-height: 82vh;
  padding: 36px;
  margin: 0;
  overflow-y: auto;
  color: #c5ced7;
  background: transparent;
  font-size: 0.91rem;
  line-height: 1.75;
}

body .pirate-modal-body h3 {
  margin: 28px 0 8px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

body .pirate-modal-body h3:first-child {
  margin-top: 0;
}

body .pirate-modal-body ul {
  padding-left: 20px;
  list-style: disc;
}

body .pirate-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: grid;
  width: 40px;
  height: 40px;
  place-items: center;
  color: var(--cream);
  background: rgba(5, 11, 18, 0.9);
  border: 1px solid var(--line);
  border-radius: 50%;
  font-size: 1.3rem;
  cursor: pointer;
}

body .site-footer,
body .footcopyright {
  position: relative;
  z-index: 2;
  width: 100%;
  color: var(--muted);
  background: #04090f;
  background-image: none;
  border-top: 1px solid var(--line);
}

body .footcopyright {
  padding: 32px 24px;
}

body .footcopyright b {
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 500;
  text-shadow: none;
}

body .footcopyright .links {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
}

body .footerAction-inline,
body .footcopyright .links > a {
  color: var(--muted);
  font-size: 0.76rem;
}

body .footerAction-inline:hover,
body .footcopyright .links > a:hover {
  color: var(--gold-light);
}

body .socials {
  display: flex;
  justify-content: center;
}

body .socials a {
  display: grid;
  width: 36px;
  height: 36px;
  place-items: center;
  margin: 4px;
}

body .socials a svg {
  width: 24px;
  height: 24px;
  fill: #8c99a7;
  filter: none;
}

@media (min-width: 768px) {
  .col-md-4 { width: 33.333%; }
}

@media (max-width: 1180px) {
  :root { --header-height: 76px; }

  .site-header__inner {
    grid-template-columns: 156px 1fr auto;
    gap: 18px;
    width: min(calc(100% - 32px), 1440px);
  }

  .site-brand { width: 148px; gap: 8px; }
  .site-brand img { width: 40px; height: 40px; flex-basis: 40px; }
  .site-brand > span { font-size: 0.6rem; }
  .site-brand > span strong { font-size: 0.88rem; }
  .site-nav { gap: 20px; }
  .player-status { display: none; }
  .button { padding-inline: 16px; }
  .home-hero__content { gap: 38px; }
}

@media (max-width: 920px) {
  .content-width { width: min(calc(100% - 36px), var(--content)); }

  .site-header__inner {
    display: flex;
    justify-content: space-between;
  }

  .site-brand { width: 142px; }

  .nav-toggle {
    display: block;
    order: 3;
  }

  .site-nav {
    position: fixed;
    inset: var(--header-height) 0 auto;
    display: flex;
    width: 100%;
    max-width: none;
    height: calc(100dvh - var(--header-height));
    flex-direction: column;
    align-items: stretch;
    justify-content: flex-start;
    gap: 0;
    padding: 32px 24px 120px;
    overflow-y: auto;
    background: rgba(5, 11, 18, 0.985);
    border-top: 1px solid var(--line);
    transform: translateX(102%);
    transition: transform 240ms cubic-bezier(0.22, 1, 0.36, 1);
  }

  .site-header .site-nav::before {
    display: none !important;
    content: none;
  }

  .site-header.mobile .site-nav {
    transform: translateX(0);
  }

  .site-nav a {
    min-height: 64px;
    border-bottom: 1px solid var(--line);
    font-family: Georgia, "Times New Roman", serif;
    font-size: 1.6rem;
    font-weight: 500;
    letter-spacing: -0.02em;
    text-transform: none;
  }

  .site-nav a::after { display: none; }

  .site-actions {
    margin-left: auto;
  }

  .site-actions .account {
    display: none !important;
  }

  .site-nav__mobile-account {
    display: grid;
    gap: 10px;
    margin-top: 26px;
  }

  .site-nav__mobile-account a,
  .site-nav__mobile-account button {
    display: flex;
    min-height: 50px;
    align-items: center;
    justify-content: center;
    padding: 0 18px;
    margin: 0;
    color: #17130b;
    background: linear-gradient(135deg, var(--gold-light), var(--gold));
    border: 1px solid var(--gold-light);
    border-radius: 999px;
    font-family: inherit;
    font-size: 0.76rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    cursor: pointer;
  }

  .site-nav__mobile-account a::after { display: none; }

  .home-hero { min-height: auto; }

  .home-hero__content {
    grid-template-columns: 1fr;
    min-height: 0;
    padding-block: 94px 52px;
  }

  .register-card {
    max-width: 620px;
    justify-self: start;
  }

  .hero-stats { grid-template-columns: repeat(2, 1fr); }
  .hero-stats > div:nth-child(2) { border-right: 0; }
  .hero-stats > div:nth-child(-n+2) { border-bottom: 1px solid var(--line); }

  .section-heading,
  .trailer-grid {
    grid-template-columns: 1fr;
    gap: 32px;
  }

  .feature-grid {
    grid-template-columns: 1fr;
    grid-template-rows: auto;
  }

  .feature-card--large {
    grid-row: auto;
    min-height: 480px;
  }

  .server-callout__inner {
    align-items: flex-start;
    flex-direction: column;
  }
}

@media (max-width: 640px) {
  :root { --header-height: 68px; }

  .content-width { width: min(calc(100% - 28px), var(--content)); }
  .section-pad { padding-block: 74px; }
  .site-header__inner { width: calc(100% - 24px); }
  .site-brand { width: 126px; height: 48px; }
  .site-brand img { width: 36px; height: 36px; flex-basis: 36px; }
  .site-brand > span { font-size: 0.53rem; }
  .site-brand > span strong { font-size: 0.78rem; }
  .language-menu { display: none; }
  .site-actions .account .button--gold { min-height: 40px; padding-inline: 14px; font-size: 0.66rem; }
  .nav-toggle { width: 42px; height: 42px; }

  .home-hero__media {
    background-position: 61% 22%;
  }

  .home-hero__veil {
    background:
      linear-gradient(180deg, rgba(4, 10, 17, 0.56) 0%, rgba(4, 10, 17, 0.93) 54%, var(--ink) 100%),
      linear-gradient(90deg, rgba(4, 10, 17, 0.76), rgba(4, 10, 17, 0.22));
  }

  .home-hero__content { padding-block: 76px 42px; }
  .hero-copy h1 { margin-block: 18px 22px; font-size: clamp(3.3rem, 16vw, 5.1rem); }
  .hero-copy > p { font-size: 0.98rem; }
  .hero-actions { flex-direction: column; align-items: stretch; }
  .hero-actions .button { width: 100%; }
  .platform-line { margin-top: 28px; }
  .register-card { padding: 26px 20px; border-radius: 16px; }
  .field-row { grid-template-columns: 1fr; }

  .hero-stats > div { min-height: 92px; padding: 17px; }
  .hero-stats strong { font-size: 1.6rem; }
  .hero-stats span { font-size: 0.61rem; }

  .section-heading { margin-bottom: 34px; }
  .leaderboard-card { padding: 22px 12px 8px; }
  .leaderboard-value-column { width: 48%; }
  .section-heading h2,
  .trailer-copy h2 { font-size: clamp(2.7rem, 13vw, 4rem); }
  .feature-card,
  .feature-card--large { min-height: 330px; padding: 26px; }
  .feature-card:not(.feature-card--large) { min-height: 250px; }
  .feature-card h3 { font-size: 2rem; }
  .server-callout__actions { width: 100%; flex-direction: column; }
  .server-callout__actions .button { width: 100%; }
  .login-panel__dialog { width: 100%; }

  .footcopyright > div {
    flex-direction: column;
    gap: 16px;
  }

  .col-12,
  .col-md-4 { width: 100%; }

  body .pirate-modal-body { padding: 54px 22px 28px; }
}

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


.site-page {
  --internal-panel-height: 690px;
  position: relative;
  width: 100%;
  min-height: 100vh;
  align-self: stretch;
  padding: calc(var(--header-height) + clamp(62px, 8vw, 104px)) 0 clamp(88px, 10vw, 140px);
  overflow: hidden;
  background: #040a11;
}

.page-backdrop {
  position: absolute;
  top: 0;
  left: 50%;
  width: 100vw;
  height: clamp(560px, 66vw, 920px);
  transform: translateX(-50%);
  background:
    linear-gradient(180deg, rgba(4, 10, 17, 0.18) 0%, rgba(4, 10, 17, 0.08) 34%, rgba(4, 10, 17, 0.62) 74%, #040a11 100%),
    url('/assets/page-background.webp') center top / cover no-repeat;
  opacity: 1;
  pointer-events: none;
}

.page-backdrop::after {
  display: none;
  content: none;
}

.page-shell {
  position: relative;
  z-index: 1;
  width: calc(100% - 48px);
  max-width: var(--content);
  margin-inline: auto;
}

.page-shell--wide,
.page-shell--shop,
.page-shell--form {
  width: calc(100% - 48px);
  max-width: var(--content);
}

.page-intro {
  position: static;
  display: block;
  width: auto;
  height: auto;
  max-width: 780px;
  margin-bottom: clamp(32px, 5vw, 58px);
  padding: 0;
  background: none;
  box-shadow: none;
}

.page-intro--center {
  margin-inline: auto;
  text-align: center;
}

.page-intro .eyebrow {
  margin-bottom: 15px;
}

.page-intro h1 {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(3.2rem, 6vw, 6.2rem);
  font-weight: 500;
  letter-spacing: -0.05em;
  line-height: 0.98;
}

.page-intro p {
  max-width: 660px;
  margin-top: 18px;
  color: #aab5c0;
  font-size: 1rem;
  line-height: 1.75;
}

.page-intro--center p {
  margin-inline: auto;
}


.dashboard-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.55fr) minmax(290px, 0.45fr);
  gap: 18px;
}

.dashboard-grid--slider {
  align-items: stretch;
}

.dashboard-grid--slider .dashboard-quicklinks {
  grid-template-rows: repeat(2, minmax(0, 1fr));
}

.dashboard-feature {
  position: relative;
  min-height: 520px;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.dashboard-feature::after {
  position: absolute;
  inset: 0;
  content: "";
  background: linear-gradient(180deg, transparent 28%, rgba(3, 8, 14, 0.95) 82%);
}

.dashboard-feature > img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.dashboard-feature__content {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  padding: clamp(28px, 5vw, 54px);
}

.dashboard-feature h2,
.community-panel h2 {
  margin: 12px 0 12px;
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.5rem, 4.6vw, 4.8rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  line-height: 1;
}

.dashboard-feature p {
  max-width: 580px;
  margin-bottom: 25px;
  color: #bbc5cf;
}

.dashboard-quicklinks {
  display: grid;
  gap: 12px;
}

.dashboard-quicklinks a {
  position: relative;
  display: flex;
  min-height: 150px;
  flex-direction: column;
  justify-content: flex-end;
  padding: 25px;
  background: linear-gradient(150deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.012)), var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
  transition: border-color 180ms ease, transform 180ms ease;
}

.dashboard-quicklinks a:hover {
  border-color: var(--line-gold);
  transform: translateY(-3px);
}

.dashboard-quicklinks .dashboard-quicklink__icon {
  display: block;
  width: 52px;
  height: 52px;
  flex: 0 0 52px;
  align-self: flex-start;
  margin-bottom: auto;
  color: var(--gold-light);
  fill: currentColor;
}

.dashboard-quicklink__icon + span {
  margin-top: 16px;
}

.dashboard-quicklinks span {
  color: var(--muted);
  font-size: 0.7rem;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.dashboard-quicklinks strong {
  margin-top: 5px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.5rem;
  font-weight: 500;
}

.dashboard-quicklinks b {
  position: absolute;
  top: 20px;
  right: 22px;
  color: var(--gold-light);
  font-size: 1.3rem;
}


.image-slider {
  position: relative;
  width: 100%;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.image-slider__track {
  position: relative;
  aspect-ratio: 970 / 440;
}

.image-slider__slide {
  position: absolute;
  inset: 0;
  margin: 0;
  opacity: 0;
  pointer-events: none;
  transition: opacity 450ms ease;
}

.image-slider__slide.active {
  opacity: 1;
  pointer-events: auto;
}

.image-slider__slide img {
  display: block;
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.image-slider__control {
  position: absolute;
  top: 50%;
  z-index: 2;
  display: grid;
  width: 46px;
  height: 46px;
  place-items: center;
  color: var(--cream);
  background: rgba(3, 8, 14, 0.72);
  border: 1px solid var(--line-gold);
  border-radius: 50%;
  cursor: pointer;
  transform: translateY(-50%);
}

.image-slider__control--prev { left: 18px; }
.image-slider__control--next { right: 18px; }

.image-slider__dots {
  position: absolute;
  right: 0;
  bottom: 18px;
  left: 0;
  z-index: 2;
  display: flex;
  justify-content: center;
  gap: 8px;
}

.image-slider__dots button {
  width: 9px;
  height: 9px;
  padding: 0;
  background: rgba(255, 255, 255, 0.45);
  border: 0;
  border-radius: 50%;
  cursor: pointer;
}

.image-slider__dots button.active { background: var(--gold-light); }

.image-slider--single .image-slider__control,
.image-slider--single .image-slider__dots { display: none; }

.community-panel {
  display: grid;
  grid-template-columns: 1fr minmax(360px, 0.9fr);
  gap: 36px;
  align-items: center;
  margin-top: 18px;
  padding: clamp(28px, 5vw, 54px);
  background: var(--navy-2);
  border: 1px solid var(--line);
  border-radius: var(--radius);
}

.community-panel h2 {
  font-size: clamp(2.4rem, 4vw, 4rem);
}

.community-panel p {
  max-width: 600px;
  margin-bottom: 24px;
  color: var(--muted);
}

.community-panel iframe {
  width: 100%;
  max-width: 500px;
  justify-self: end;
  border-radius: 14px;
}


.site-page .main_container,
.site-page .download_container,
.site-page .contact_container,
.site-page .loginarea_container {
  position: relative;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: var(--internal-panel-height);
  padding: clamp(24px, 5vw, 52px);
  margin: 0 auto;
  color: var(--cream);
  background: linear-gradient(155deg, rgba(17, 35, 55, 0.96), rgba(7, 17, 29, 0.96));
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

.site-page .main_container .area_container,
.site-page .area_container {
  width: min(100%, 560px);
  height: auto;
  padding: 0;
  margin: 0 auto;
  gap: 16px;
}

.site-page form.smart:not(.modern-form) {
  width: 100%;
  max-width: 620px;
  padding: 0;
  margin: 0 auto;
  background: transparent;
  border: 0;
  box-shadow: none;
}

.site-page form.smart:not(.modern-form)::before,
.site-page .decoTopBar {
  display: none;
}

.site-page .formTitle,
.site-page .loginarae_formTitle,
.site-page .download_title,
.site-page .contact_title {
  position: static;
  margin: 0 0 22px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2rem, 4vw, 3rem);
  font-weight: 500;
  letter-spacing: -0.035em;
  text-align: center;
  text-transform: none;
}

.site-page .download_desc,
.site-page .contact_desc,
.site-page .loginarea_description,
.site-page .formNote {
  color: var(--muted);
  font-size: 0.9rem;
  line-height: 1.65;
}

.site-page .formInput {
  position: relative;
  display: flex;
  width: 100%;
  max-width: 620px;
  min-height: 52px;
  align-items: center;
  padding: 0;
  margin: 0 auto 14px;
  overflow: hidden;
  background: rgba(2, 8, 14, 0.62);
  border: 1px solid rgba(255, 255, 255, 0.13);
  border-radius: 10px;
}

.site-page .formInput:focus-within {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(224, 177, 72, 0.11);
}

.account-page .formInput.error {
  border-color: #ff9292;
}

.site-page .formInput > svg,
.site-page .formInput > i {
  position: static;
  display: block;
  width: 18px;
  height: 18px;
  flex: 0 0 18px;
  margin: 0 0 0 16px;
  color: var(--gold-light);
  fill: var(--gold-light);
  font-size: 1rem;
  font-style: normal;
  opacity: 0.78;
  transform: none;
}


.site-page .formInput > svg,
.site-page .formInput > i {
  display: none;
}

.site-page .formInput > i::before {
  display: inline-block;
  width: 18px;
  content: "\25C6";
  font-family: "Segoe UI Symbol", sans-serif;
  line-height: 1;
  text-align: center;
}

.site-page .bi { font-style: normal; }
.site-page .bi::before { display: inline-block; font-family: "Segoe UI Symbol", sans-serif; line-height: 1; }
.site-page .formInput > .bi-person-circle::before,
.site-page .formInput > .bi-person-fill::before,
.site-page .bi-person-circle::before,
.site-page .bi-person-fill::before { content: "\2659"; }
.site-page .formInput > .bi-key-fill::before,
.site-page .bi-key-fill::before { content: "\26BF"; }
.site-page .formInput > .bi-envelope-fill::before,
.site-page .bi-envelope-fill::before { content: "\2709"; }
.site-page .formInput > .bi-shield-lock-fill::before,
.site-page .bi-shield-lock-fill::before { content: "\25C6"; }
.site-page .formInput > .bi-shield-check::before,
.site-page .formInput > .bi-check-lg::before,
.site-page .bi-shield-check::before,
.site-page .bi-check-lg::before { content: "\2713"; }
.site-page .formInput > .bi-clipboard::before,
.site-page .bi-clipboard::before { content: "\2398"; }
.site-page .bi-box-arrow-right::before { content: "\2192"; }

.site-page .formInput input,
.site-page .formInput select,
.site-page .formInput textarea {
  width: 100%;
  min-height: 52px;
  flex: 1;
  padding: 13px 18px;
  color: var(--cream);
  background: transparent;
  border: 0;
  border-radius: 0;
  outline: none;
  box-shadow: none;
}

.site-page .formInput textarea {
  min-height: 140px;
  resize: vertical;
}

.site-page .formInput input::placeholder,
.site-page .formInput textarea::placeholder {
  color: #687686;
}

.site-page .formSubmit,
.site-page .loginarea_formSubmit,
.site-page .contact_submit,
.site-page .download_btn {
  display: inline-flex;
  min-height: 50px;
  align-items: center;
  justify-content: center;
  padding: 0 24px;
  margin: 10px auto;
  color: #17130b;
  background: linear-gradient(135deg, var(--gold-light), var(--gold));
  border: 1px solid var(--gold-light);
  border-radius: 999px;
  box-shadow: 0 10px 30px rgba(224, 177, 72, 0.16);
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.09em;
  text-decoration: none;
  text-transform: uppercase;
  cursor: pointer;
}

.site-page form.smart:not(.modern-form) .formSubmit,
.account-page .loginarea_step_content .loginarea_formSubmit {
  display: flex;
  width: 100%;
}

.site-page .formSubmit span,
.site-page .loginarea_formSubmit span {
  display: inline;
  width: auto;
  padding: 0;
  color: inherit;
  background: none;
  border: 0;
  box-shadow: none;
  font: inherit;
  letter-spacing: inherit;
  text-shadow: none;
}

.site-page .formSubmit:hover,
.site-page .loginarea_formSubmit:hover,
.site-page .contact_submit:hover,
.site-page .download_btn:hover {
  color: #080b0e;
  background: linear-gradient(135deg, #ffe197, var(--gold-light));
  transform: translateY(-2px);
}

.site-page .formAction,
.site-page .loginarea_backlink a {
  display: block;
  margin-top: 10px;
  color: var(--muted);
  font-size: 0.8rem;
  text-align: center;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.site-page button.formAction {
  width: 100%;
  padding: 0;
  background: transparent;
  border: 0;
  cursor: pointer;
}

.site-page .register-consent {
  width: 100%;
  max-width: 620px;
  margin: 4px auto 8px;
}

.site-page .formError {
  width: 100%;
  max-width: 620px;
  padding: 11px 13px;
  margin: 0 auto 14px;
  color: #ffd0d0;
  background: rgba(255, 114, 114, 0.1);
  border: 1px solid rgba(255, 114, 114, 0.34);
  border-radius: 9px;
  font-size: 0.8rem;
}

.site-page .formError.success,
.site-page .formError[success] {
  color: #c8ffe5;
  background: rgba(91, 211, 155, 0.1);
  border-color: rgba(91, 211, 155, 0.34);
}

.site-page .formRow {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 12px;
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.site-page .formRow .formInput {
  margin-bottom: 14px;
}


.site-page .loginarea_container {
  display: grid;
  grid-template-columns: 250px minmax(0, 1fr);
  padding: 0;
  overflow: hidden;
}

.site-page .loginarea_sidebar {
  display: flex;
  width: 100%;
  flex-direction: column;
  padding: 24px 14px;
  background: rgba(2, 8, 14, 0.4);
  border-right: 1px solid var(--line);
}

.site-page .loginarea_tab {
  display: flex;
  width: 100%;
  min-height: 54px;
  align-items: center;
  gap: 12px;
  padding: 0 14px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 9px;
  font-size: 0.82rem;
  font-weight: 700;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
}

.site-page .loginarea_tab > i {
  display: none;
}

.site-page .loginarea_tab.active,
.site-page .loginarea_tab:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
  border: 0;
}

.site-page .loginarea_content {
  width: 100%;
  height: 100%;
  min-height: 0;
  padding: clamp(28px, 5vw, 58px);
  overflow-y: auto;
  background: transparent;
  border: 0;
}

.account-page .loginarea_content {
  scrollbar-gutter: stable;
}

.account-page .loginarea_container {
  height: var(--internal-panel-height);
  min-height: var(--internal-panel-height);
}

.account-page .loginarea_container.password-change-complete {
  grid-template-columns: minmax(0, 1fr);
}

.account-page .password-change-complete .loginarea_content {
  grid-column: 1 / -1;
  scrollbar-gutter: auto;
}

.account-page .loginarea_pane,
.form-page .loginarea_pane {
  height: 100%;
  min-height: 0;
}

.account-page .loginarea_pane {
  width: 100%;
  max-width: 620px;
  margin: 0 auto;
}

.account-page .account-field-label {
  display: block;
  margin: 0 0 8px;
  color: #b9c3cd;
  font-size: 0.76rem;
  font-weight: 700;
  letter-spacing: 0.055em;
  text-transform: uppercase;
}


.account-page form[form="changePassword"] > .formIcon {
  display: block;
  margin: 0 auto 24px;
}

.account-page form[form="changePassword"] > .formNote {
  margin: 0;
  text-align: center;
}

.account-page form[form="changePassword"] > .formSubmit {
  margin: 28px auto 0;
}

.form-page .loginarea_container {
  height: var(--internal-panel-height);
  min-height: var(--internal-panel-height);
}

.download-page .download_container {
  height: auto;
  min-height: var(--internal-panel-height);
  overflow: visible;
}


.account-page .loginarea_tab.loginarea_logout {
  margin-top: 18px;
  color: #efaaa5;
  border-top: 1px solid var(--line);
  border-radius: 0;
}

.account-page .loginarea_logout:hover {
  color: #ffd3cf;
  background: rgba(255, 105, 97, 0.08);
}

.site-page .loginarea_pane {
  width: 100%;
}

.site-page .loginarea_pane:not(.active) {
  display: none;
}

.site-page .loginarea_pane.active {
  display: block;
}

.site-page .loginarea_steps {
  display: flex;
  align-items: center;
  justify-content: center;
  margin-bottom: 34px;
}

.site-page .loginarea_step_circle {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.06);
  border: 1px solid var(--line);
  border-radius: 50%;
}

.site-page .loginarea_step.active .loginarea_step_circle,
.site-page .loginarea_step.completed .loginarea_step_circle {
  color: var(--ink);
  background: var(--gold);
  border-color: var(--gold-light);
}

.site-page .loginarea_step_connector {
  width: 80px;
  height: 1px;
  background: var(--line);
}


.site-page .download_container {
  gap: 24px;
}

.site-page .download_container .tabs,
.site-page .tab-panel {
  display: flex;
  justify-content: center;
  gap: 8px;
  padding: 7px;
  overflow-x: auto;
  background: rgba(2, 8, 14, 0.38);
  border: 1px solid var(--line);
  border-radius: 999px;
}

.site-page .download_container .tab,
.site-page .tab-panel .tab {
  flex: 0 0 auto;
  padding: 10px 18px;
  color: var(--muted);
  background: transparent;
  border: 0;
  border-radius: 999px;
  font-size: 0.76rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.site-page .download_container .tab.active,
.site-page .tab-panel .tab.active {
  color: var(--ink);
  background: var(--gold-light);
}

.site-page .download_container .tab_content {
  min-height: 280px;
  justify-content: center;
}

.site-page .download_item {
  width: min(100%, 640px);
  max-width: 640px;
  padding: 32px;
  color: var(--cream);
  background: rgba(2, 8, 14, 0.45);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.site-page .download_item b {
  color: var(--cream);
}


.legal-page .contact_container {
  max-height: none;
  padding: clamp(28px, 5vw, 60px);
  overflow: visible;
  color: #b9c4cf;
  font-size: 0.92rem;
  line-height: 1.8;
}

.legal-page .contact_container h2 {
  display: none;
}

.legal-page .contact_container h3 {
  margin: 34px 0 10px;
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.65rem;
  font-weight: 500;
}

.legal-page .contact_container ul {
  padding-left: 22px;
  list-style: disc;
}

.news-page .contact_container,
.support-page .contact_container {
  min-height: 440px;
}

.news-page .coming-soon-content h2,
.support-page .coming_soon_overlay span {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: clamp(2.8rem, 7vw, 5rem);
  font-weight: 500;
  letter-spacing: -0.045em;
  text-transform: none;
  text-shadow: none;
}

.news-page .coming-soon-content p {
  color: var(--muted);
}

.support-page .coming_soon_overlay {
  position: absolute;
  inset: 0;
  z-index: 10;
  display: flex;
  width: 100%;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 24px;
  background: rgba(5, 11, 18, 0.82);
  border-radius: inherit;
  backdrop-filter: blur(5px);
}


.shop-page .shop-icons {
  position: absolute;
  width: 0;
  height: 0;
  overflow: hidden;
  pointer-events: none;
}

.shop-page .shop-icon {
  display: block;
  width: 20px;
  height: 20px;
  flex: 0 0 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.7;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.shop-page .store-container {
  display: none;
  width: 100%;
  max-width: none;
  height: auto;
  min-height: var(--internal-panel-height);
  padding: clamp(18px, 2.3vw, 28px);
  margin: 0;
  overflow: visible;
  color: var(--cream);
  background: linear-gradient(155deg, rgba(17, 35, 55, 0.98), rgba(7, 17, 29, 0.98));
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
  font: inherit;
}

.shop-page .selected-region-display {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  gap: 20px 36px;
  padding: 0 0 24px;
  margin: 0 0 20px;
  border-bottom: 1px solid var(--line);
}

.shop-page .shop-recipient {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 5px;
}

.shop-page .shop-recipient__label {
  color: var(--muted);
  font-size: 0.67rem;
  font-weight: 750;
  letter-spacing: 0.1em;
  text-transform: uppercase;
}

.shop-page .region-display-item {
  color: var(--cream);
  font-size: 0.95rem;
  font-weight: 650;
  line-height: 1.35;
  overflow-wrap: anywhere;
}

.shop-page #storefront_buyfor_1 {
  color: var(--gold-light);
}

.shop-page .region-change-button,
.shop-page .shop-back-button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 10px 14px;
  color: var(--gold-light);
  background: rgba(224, 177, 72, 0.06);
  border: 1px solid var(--line-gold);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.4;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.shop-page .region-change-button {
  margin-left: auto;
}

.shop-page .region-change-button:hover,
.shop-page .shop-back-button:hover {
  background: rgba(224, 177, 72, 0.14);
  border-color: var(--gold);
}

.shop-page .tab-panel {
  justify-content: flex-start;
  flex-wrap: wrap;
  gap: 8px;
  padding: 0 0 22px;
  margin: 0;
  overflow: visible;
  background: none;
  border: 0;
  border-radius: 0;
}

.shop-page .tab-panel .tab {
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  gap: 10px;
  padding: 10px 14px;
  color: #b9c5d1;
  background: rgba(255, 255, 255, 0.025);
  border: 1px solid var(--line);
  border-radius: 10px;
  font-size: 0.8rem;
  font-weight: 650;
  line-height: 1.35;
  letter-spacing: 0;
  text-align: left;
  text-transform: none;
  cursor: pointer;
  transition: color 160ms ease, background-color 160ms ease, border-color 160ms ease;
}

.shop-page .tab-panel .tab:hover {
  color: var(--cream);
  background: rgba(255, 255, 255, 0.07);
}

.shop-page .tab-panel .tab.active {
  color: var(--gold-light);
  background: rgba(224, 177, 72, 0.12);
  border-color: rgba(224, 177, 72, 0.55);
}

.shop-page .tab-count {
  display: inline-flex;
  min-width: 24px;
  height: 24px;
  flex-shrink: 0;
  align-items: center;
  justify-content: center;
  padding: 0 7px;
  color: var(--muted);
  background: rgba(255, 255, 255, 0.07);
  border-radius: 7px;
  font-size: 0.7rem;
  font-weight: 750;
  line-height: 1;
}

.shop-page .tab.active .tab-count {
  color: var(--gold-light);
  background: rgba(224, 177, 72, 0.16);
}

.shop-page .shop-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 330px);
  gap: 24px;
  align-items: start;
}

.shop-page #shop_left_column,
.shop-page #shop_articles {
  position: static;
  min-width: 0;
  min-height: 0;
  height: auto;
}

.shop-page .product-area {
  padding: 0;
  background: none;
  border: 0;
}

.shop-page .product-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 16px;
  align-items: stretch;
}

.shop-page .tab-content { display: none; }
.shop-page .tab-content.active { display: grid; }

.shop-page .article {
  position: relative;
  display: flex;
  width: 100%;
  min-width: 0;
  height: 100%;
  flex-direction: column;
  padding: 0;
  margin: 0;
  overflow: hidden;
  color: var(--cream);
  background: #0b1928;
  border: 1px solid var(--line);
  border-radius: 14px;
  box-shadow: 0 5px 18px rgba(0, 0, 0, 0.12);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, background-color 180ms ease;
}

.shop-page .article:hover {
  background: #102237;
  border-color: var(--line-gold);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.22);
}

.shop-page .product-card-top {
  position: relative;
  display: block;
  padding: 18px;
  background: radial-gradient(ellipse at 50% 40%, rgba(75, 119, 153, 0.19), transparent 75%);
}

.shop-page .product-image-box {
  display: flex;
  min-width: 0;
  height: 172px;
  align-items: center;
  justify-content: center;
}

.shop-page .product-image {
  display: block;
  width: 100%;
  max-width: 220px;
  height: 100%;
  object-fit: contain;
  border-radius: 8px;
}

.shop-page .product-card-bottom {
  display: flex;
  flex: 1;
  flex-direction: column;
  gap: 16px;
  padding: 18px;
  border-top: 1px solid var(--line);
}

.shop-page .product-title {
  display: block;
  margin: 0;
  color: var(--cream);
  font-size: 1rem;
  font-weight: 650;
  line-height: 1.45;
  text-shadow: none;
  overflow-wrap: anywhere;
}

.shop-page .premium-price-box {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  margin-top: auto;
}

.shop-page .product-price {
  display: flex;
  min-width: 0;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 6px;
  color: var(--gold-light);
  font-size: 1.22rem;
  font-weight: 750;
  line-height: 1.3;
  font-variant-numeric: tabular-nums;
}

.shop-page .product-currency {
  color: var(--muted);
  font-size: 0.65rem;
  font-weight: 550;
}

.shop-page .product-info-btn {
  display: grid;
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  place-items: center;
  color: var(--gold-light);
  background: rgba(224, 177, 72, 0.08);
  border: 1px solid var(--line-gold);
  border-radius: 9px;
}

.shop-page .article .time,
.shop-page #storefront_product_time {
  align-self: flex-start;
  padding: 5px 9px;
  color: #ffceaa;
  background: #38251d;
  border: 1px solid rgba(243, 165, 101, 0.3);
  border-radius: 6px;
  font-size: 0.72rem;
  font-weight: 650;
  line-height: 1.4;
  font-variant-numeric: tabular-nums;
}

.shop-page .article .time {
  position: absolute;
  top: 10px;
  right: 10px;
}

.shop-page .shopping-list-panel {
  position: sticky;
  top: calc(var(--header-height) + 22px);
  display: flex;
  min-width: 0;
  min-height: 380px;
  flex-direction: column;
  padding: 20px;
  background: rgba(3, 10, 18, 0.58);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.shop-page .shopping-list-header {
  display: flex;
  align-items: center;
  gap: 10px;
  padding-bottom: 18px;
  border-bottom: 1px solid var(--line);
  color: var(--gold-light);
}

.shop-page .shopping-list-header h2 {
  min-width: 0;
  margin: 0;
  color: var(--cream);
  font: inherit;
  font-size: 1.05rem;
  font-weight: 650;
  line-height: 1.4;
  overflow-wrap: anywhere;
}

.shop-page .shopping-list-header .tab-count { margin-left: auto; }

.shop-page .shopping-list-items {
  display: flex;
  flex: 1;
  flex-direction: column;
  padding: 8px 0;
}

.shop-page .shopping-list-items.is-empty {
  justify-content: center;
  min-height: 180px;
}

.shop-page .shop-cart-empty {
  display: flex;
  align-items: center;
  flex-direction: column;
  gap: 16px;
  padding: 24px 10px;
  color: var(--muted);
  text-align: center;
}

.shop-page .shop-cart-empty > .shop-icon {
  width: 42px;
  height: 42px;
  flex-basis: 42px;
  color: #596e83;
  stroke-width: 1.2;
}

.shop-page .shop-cart-empty p {
  max-width: 220px;
  margin: 0;
  font-size: 0.87rem;
  line-height: 1.6;
}

.shop-page .card-list-item {
  display: grid;
  grid-template-columns: 46px minmax(0, 1fr) 30px;
  grid-template-areas: "image name remove" "image quantity remove";
  gap: 5px 10px;
  align-items: center;
  padding: 14px 0;
  border-bottom: 1px solid var(--line);
}

.shop-page .card-list-item:last-child { border-bottom: 0; }

.shop-page .card-item-img {
  grid-area: image;
  width: 46px;
  height: 46px;
  object-fit: contain;
  background: var(--navy);
  border: 1px solid var(--line);
  border-radius: 8px;
}

.shop-page .card-item-name {
  grid-area: name;
  min-width: 0;
  padding: 0;
  color: var(--cream);
  background: none;
  border: 0;
  font: inherit;
  font-size: 0.84rem;
  font-weight: 600;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  cursor: pointer;
}

.shop-page .card-item-name:hover { color: var(--gold-light); }

.shop-page .card-item-meta {
  grid-area: quantity;
  display: flex;
  flex-wrap: wrap;
  justify-content: space-between;
  gap: 4px 10px;
  font-size: 0.76rem;
  line-height: 1.4;
}

.shop-page .card-item-qty { color: var(--muted); }
.shop-page .card-item-price { color: var(--gold-light); font-variant-numeric: tabular-nums; }

.shop-page .card-item-remove {
  grid-area: remove;
  display: grid;
  width: 30px;
  height: 36px;
  place-items: center;
  padding: 0;
  color: var(--muted);
  background: none;
  border: 1px solid transparent;
  border-radius: 8px;
  font-size: 1.3rem;
  cursor: pointer;
}

.shop-page .card-item-remove:hover {
  color: var(--danger);
  background: rgba(255, 114, 114, 0.08);
  border-color: rgba(255, 114, 114, 0.2);
}

.shop-page .checkout-section {
  padding-top: 18px;
  border-top: 1px solid var(--line);
}

.shop-page .total-display {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  justify-content: space-between;
  gap: 8px 16px;
  margin-bottom: 18px;
  color: var(--muted);
  font-size: 0.88rem;
}

.shop-page #storefront_card_total {
  color: var(--cream);
  font-size: 1.4rem;
  font-weight: 700;
  font-variant-numeric: tabular-nums;
}

.shop-page .shop-primary-action {
  display: inline-flex;
  width: 100%;
  min-height: 52px;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 14px 16px;
  color: #17130b;
  background: linear-gradient(115deg, var(--gold-light), var(--gold));
  border: 1px solid transparent;
  border-radius: 10px;
  box-shadow: 0 4px 14px rgba(224, 177, 72, 0.08);
  font: inherit;
  font-size: 0.86rem;
  font-weight: 750;
  line-height: 1.4;
  text-align: center;
  cursor: pointer;
  transition: box-shadow 160ms ease, filter 160ms ease;
}

.shop-page .shop-primary-action:not(:disabled):not(.disabled):hover {
  filter: brightness(1.07);
  box-shadow: 0 5px 20px rgba(224, 177, 72, 0.19);
}

.shop-page .shop-primary-action:disabled,
.shop-page .shop-primary-action.disabled {
  color: #9aabb9;
  background: #1c2b3a;
  border-color: var(--line);
  box-shadow: none;
  cursor: not-allowed;
  filter: none;
}

.shop-page :is(button, input):focus-visible {
  outline: 2px solid var(--gold-light);
  outline-offset: 3px;
}

.shop-page #storefront_product {
  position: static;
  min-width: 0;
  height: auto;
  flex-direction: column;
  align-items: stretch;
  gap: 24px;
  padding: 24px;
  background: rgba(3, 10, 18, 0.4);
  border: 1px solid var(--line);
  border-radius: 14px;
}

.shop-page .shop-back-button {
  align-self: flex-start;
  padding: 0;
  color: var(--muted);
  background: none;
  border: 0;
}

.shop-page .shop-back-button:hover { color: var(--gold-light); background: none; }
.shop-page .shop-back-button .shop-icon { transform: rotate(180deg); }

.shop-page .shop-product-detail {
  display: grid;
  grid-template-columns: minmax(120px, 0.85fr) minmax(0, 1.15fr);
  gap: 24px;
  align-items: start;
}

.shop-page .shop-product-detail__image {
  display: flex;
  min-height: 200px;
  align-items: center;
  justify-content: center;
  padding: 16px;
  background: radial-gradient(ellipse at center, rgba(75, 119, 153, 0.15), transparent 80%);
  border: 1px solid var(--line);
  border-radius: 12px;
}

.shop-page #storefront_product_image {
  display: block;
  width: 100%;
  max-width: 280px;
  max-height: 300px;
  object-fit: contain;
  border-radius: 8px;
}

.shop-page .shop-product-detail__info,
.shop-page #storefront_product_handle {
  display: flex;
  min-width: 0;
  flex-direction: column;
  gap: 18px;
}

.shop-page #product_name {
  margin: 0;
  color: var(--cream);
  font-size: clamp(1.3rem, 2.3vw, 1.8rem);
  font-weight: 650;
  line-height: 1.25;
  overflow-wrap: anywhere;
}

.shop-page #storefront_product_price {
  display: flex;
  flex-wrap: wrap;
  align-items: baseline;
  gap: 8px;
  color: var(--gold-light);
  font-size: 1.6rem;
  line-height: 1.3;
}

.shop-page #storefront_product_price span {
  color: var(--muted);
  font-size: 0.75rem;
}

.shop-page #storefront_product_content {
  color: #b9c5d1;
  font-size: 0.88rem;
  line-height: 1.7;
}

.shop-page #storefront_product_content > p { margin-bottom: 12px; font: inherit; opacity: 1; }
.shop-page #storefront_product_content b { color: var(--gold-light); }
.shop-page #storefront_product_content ul { padding-left: 18px; list-style: disc; }
.shop-page #storefront_product_content li { margin: 4px 0; }

.shop-page .product-amount-controls {
  display: flex;
  width: fit-content;
  gap: 4px;
  align-items: center;
  padding: 4px;
  background: rgba(2, 8, 14, 0.55);
  border: 1px solid var(--line);
  border-radius: 10px;
}

.shop-page .product-amount-controls button {
  width: 36px;
  height: 36px;
  padding: 0;
  color: var(--cream);
  background: rgba(255, 255, 255, 0.05);
  border: 0;
  border-radius: 6px;
  font-size: 1.2rem;
  cursor: pointer;
}

.shop-page .product-amount-controls button:hover { background: rgba(224, 177, 72, 0.16); }
.shop-page .product-amount-controls input { width: 64px; padding: 0; color: var(--cream); background: none; text-align: center; }

.shop-page #view_loading {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 16px;
  color: var(--muted);
  font-size: 1rem;
}

.shop-page .shop-loading-indicator {
  width: 32px;
  height: 32px;
  border: 2px solid var(--line);
  border-top-color: var(--gold);
  border-radius: 50%;
  animation: rotation 900ms linear infinite;
}

.region-modal .modal-content {
  display: flex;
  width: min(780px, 100%);
  max-height: min(720px, calc(100dvh - 48px));
  flex-direction: column;
  overflow: hidden;
  background: var(--navy-2);
  border: 1px solid var(--line-gold);
  border-radius: var(--radius);
  box-shadow: var(--shadow);
}

body #view_regions.region-modal {
  position: fixed;
  inset: 0;
  z-index: 20000;
  width: 100%;
  height: 100%;
  padding: 24px;
  margin: 0;
  flex-direction: row;
  align-items: center;
  justify-content: center;
  color: var(--cream);
  background: rgba(2, 7, 12, 0.86);
  border: 0;
  border-radius: 0;
  backdrop-filter: blur(10px);
}

.region-modal .modal-header {
  flex: 0 0 auto;
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 20px 24px;
  background: rgba(2, 8, 14, 0.48);
  border-bottom: 1px solid var(--line);
}

.region-modal .modal-title {
  color: var(--cream);
  font-family: Georgia, "Times New Roman", serif;
  font-size: 1.45rem;
  font-weight: 500;
  line-height: 1.2;
}

#view_regions.region-modal .modal-title {
  margin: 0;
}

.region-modal .modal-body {
  display: flex;
  min-height: 0;
  flex-direction: column;
  padding: 24px;
  overflow: hidden;
}

.region-modal .regionHeader,
.region-modal .region {
  display: grid;
  grid-template-columns: minmax(120px, 0.75fr) minmax(0, 1fr) minmax(100px, 0.65fr);
  gap: 12px;
  width: 100%;
  height: auto;
  min-height: 64px;
  flex-shrink: 0;
  align-items: center;
  padding: 13px 15px;
  text-align: left;
}


.region-modal .regionHeader > span,
.region-modal .region > span {
  display: block;
  width: auto;
  min-width: 0;
  height: auto;
  padding: 0;
  margin: 0;
  border: 0;
  color: inherit;
  font: inherit;
  line-height: 1.4;
  text-align: left;
  overflow-wrap: anywhere;
  opacity: 1;
}

.region-modal .region-empty {
  padding: 28px 18px;
  margin: 0;
  color: var(--muted);
  text-align: center;
}

.region-modal .regionHeader {
  color: var(--muted);
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
  border-radius: 10px 10px 0 0;
  font-size: 1.3125rem;
  font-weight: 800;
  letter-spacing: 0.07em;
  text-transform: uppercase;
}

.region-modal .regionBox {
  width: 100%;
  min-height: 0;
  max-height: 430px;
  overflow-y: auto;
  border: 1px solid var(--line);
  border-top: 0;
  border-radius: 0 0 10px 10px;
}

body #regionSelection.regionBox {
  display: block;
  flex-wrap: nowrap;
  justify-content: initial;
  gap: 0;
}

.region-modal .region {
  color: var(--cream);
  background: transparent;
  border: 0;
  border-bottom: 1px solid var(--line);
  border-radius: 0;
  font: inherit;
  cursor: pointer;
  transition: color 180ms ease, background 180ms ease;
}

.region-modal .region:last-child { border-bottom: 0; }

.region-modal .region:hover,
.region-modal .region:focus-visible {
  color: var(--cream);
  background: rgba(224, 177, 72, 0.1);
  outline: none;
}

.region-modal .region .name {
  color: var(--gold-light);
  font-size: 1.29rem;
  font-weight: 800;
}

.region-modal .region .player,
.region-modal .region .id {
  color: #bdc7d0;
  font-size: 1.2rem;
}

@media (max-width: 920px) {
  .page-shell,
  .page-shell--wide,
  .page-shell--shop,
  .page-shell--form { width: min(calc(100% - 32px), var(--content)); }

  .dashboard-grid,
  .community-panel { grid-template-columns: 1fr; }
  .dashboard-quicklinks { grid-template-columns: repeat(3, 1fr); }
  .dashboard-grid--slider .dashboard-quicklinks {
    grid-template-columns: repeat(2, 1fr);
    grid-template-rows: none;
  }
  .community-panel iframe { max-width: none; justify-self: stretch; }

  .site-page .loginarea_container {
    height: auto;
    min-height: 0;
    grid-template-columns: 1fr;
  }
  .site-page .loginarea_sidebar {
    flex-direction: row;
    overflow-x: auto;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }
  .site-page .loginarea_tab { flex: 0 0 auto; width: auto; }
  .site-page .loginarea_content { height: auto; min-height: 620px; }
  .account-page .loginarea_content > form { height: auto; }
  .account-page .loginarea_pane,
  .form-page .loginarea_pane { height: auto; min-height: 520px; }
  .download-page .download_container { height: auto; min-height: 620px; }
  .site-page .loginarea_content { overflow-y: visible; }

  .shop-page .store-container {
    height: auto;
    min-height: 760px;
  }
  .shop-page .shop-layout { grid-template-columns: 1fr; height: auto; }
  .shop-page #shop_left_column { min-height: 0; }
  .shop-page .shopping-list-panel { position: static; min-height: 360px; }
}

@media (max-width: 640px) {
  .site-page { padding-top: calc(var(--header-height) + 50px); }
  .page-shell,
  .page-shell--wide,
  .page-shell--shop,
  .page-shell--form { width: calc(100% - 24px); }
  .page-intro h1 { font-size: clamp(2.8rem, 15vw, 4.4rem); }
  .dashboard-feature { min-height: 480px; }
  .dashboard-quicklinks { grid-template-columns: 1fr; }
  .dashboard-grid--slider .dashboard-quicklinks { grid-template-columns: 1fr; }
  .community-panel { padding: 24px; }
  .community-panel iframe { height: 340px; }

  .site-page .main_container,
  .site-page .download_container,
  .site-page .contact_container { padding: 22px 16px; }
  .site-page .loginarea_content { min-height: 620px; padding: 26px 18px; }
  .site-page .loginarea_sidebar { padding: 10px; }
  .site-page .loginarea_tab { padding-inline: 12px; font-size: 0.74rem; }
  .site-page .formRow { grid-template-columns: 1fr; gap: 0; }

  .site-page .download_container .tabs,
  .site-page .tab-panel {
    justify-content: flex-start;
    border-radius: 12px;
  }
  .site-page .download_item { padding: 24px 16px; }

  .shop-page .store-container { padding: 12px; }
  .shop-page .selected-region-display { gap: 16px 24px; padding: 6px 4px 18px; }
  .shop-page .region-change-button { width: 100%; margin-left: 0; }
  .shop-page .tab-panel { flex-wrap: nowrap; overflow-x: auto; padding: 0 0 16px; scrollbar-width: thin; }
  .shop-page .tab-panel .tab { white-space: nowrap; }
  .shop-page .product-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 12px; }
  .shop-page #shop_left_column { min-height: 0; }
  .shop-page .product-card-top { padding: 12px; }
  .shop-page .product-image-box { height: 128px; }
  .shop-page .product-card-bottom { padding: 14px 12px; gap: 12px; }
  .shop-page .product-title { font-size: 0.9rem; }
  .shop-page .product-price { font-size: 1.05rem; }
  .shop-page .product-info-btn { width: 28px; height: 30px; flex-basis: 28px; }
  .shop-page .shopping-list-panel { padding: 18px; }
  .shop-page #storefront_product { padding: 18px; }
  .shop-page .shop-product-detail { grid-template-columns: 1fr; }
  .shop-page .shop-product-detail__image { min-height: 180px; }
  .shop-page #storefront_product_image { max-height: 220px; }
  body #view_regions.region-modal { padding: 12px; }
  .region-modal .modal-content { max-height: calc(100dvh - 24px); }
  .region-modal .modal-header { padding: 16px; }
  .region-modal .modal-title { font-size: 1.1rem; }
  .region-modal .modal-body { padding: 12px; }
  .region-modal .regionHeader { display: none; }
  .region-modal .regionBox { border-top: 1px solid var(--line); border-radius: 10px; }
  .region-modal .region { grid-template-columns: 1fr; gap: 4px; padding: 14px; }
}

@media (max-width: 380px) {
  .shop-page .product-grid { grid-template-columns: minmax(0, 1fr); }
  .shop-page .product-image-box { height: 172px; }
}
