/* Aurum — RIP REBORN (rebuilt) */

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

:root {
  --bg-page: #0a0a0a;
  --bg-panel: rgba(18, 18, 20, 0.72);
  --gold: #f3a32a;
  --gold-bright: #ffc84a;
  --gold-muted: #c9a85c;
  --gold-pill: #c5a059;
  --text: #e8e6e3;
  --text-muted: #9a9590;
  --text-faint: #6a6560;
  --border-soft: rgba(53, 44, 44, 0.08);
  --site-full-bg: url("../images/site-full-bg.jpg");
  --font: "Inter", system-ui, -apple-system, Segoe UI, sans-serif;
}

/*
 * Always reserve vertical scrollbar space so centered layouts (header, containers)
 * do not shift horizontally when switching between short pages (e.g. home) and long ones (e.g. news).
 */
html {
  scroll-behavior: smooth;
  overflow-y: scroll;
  scrollbar-gutter: stable;
}

body {
  margin: 0;
  padding: 0;
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  font-family: var(--font);
  font-size: 16px;
  line-height: 1.5;
  color: var(--text);
  background: var(--bg-page);
}

img {
  max-width: 100%;
  height: auto;
  display: block;
}

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

a:hover {
  color: var(--gold);
}

/* Global a:hover → χρυσό κείμενο· στα χρυσά κουμπιά το κείμενο «εξαφανιζόταν» στο hover */
a.btn-account-header:hover,
a.btn-account-header:focus-visible,
a.btn-account-header:active,
a.btn-hero-cta:hover,
a.btn-hero-cta:focus-visible,
a.btn-hero-cta:active,
a.btn-header-download-solid:hover,
a.btn-header-download-solid:focus-visible,
a.btn-header-download-solid:active {
  color: #1a1208;
}

main {
  position: relative;
  z-index: 1;
  flex: 1 1 auto;
  min-height: 0;
}

.container {
  width: min(1180px, calc(100% - 40px));
  margin-left: auto;
  margin-right: auto;
}

/* ------------------------------------------------------------------ Background */
.page-bg {
  position: fixed;
  inset: 0;
  z-index: -1;
  pointer-events: none;
  background-color: var(--bg-page);
  /* Photo layer: single `cover` — no extra scaling/blur filters (κράτα ανάλυση). */
  background-image:
    linear-gradient(180deg, rgba(3, 2, 1, 0.4) 0%, rgba(2, 1, 0, 0.52) 100%),
    radial-gradient(ellipse 120% 80% at 50% -10%, rgba(243, 163, 42, 0.08), transparent 55%),
    radial-gradient(ellipse 85% 55% at 50% 100%, rgba(0, 0, 0, 0.72), transparent 72%),
    var(--site-full-bg);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
  background-repeat: no-repeat;
  background-attachment: scroll;
}

.page-bg--news {
  background-image:
    linear-gradient(180deg, rgba(3, 2, 1, 0.38) 0%, rgba(2, 1, 0, 0.5) 100%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(243, 163, 42, 0.07), transparent 50%),
    radial-gradient(ellipse 85% 55% at 50% 100%, rgba(0, 0, 0, 0.7), transparent 72%),
    var(--site-full-bg);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
}

.page-bg--article {
  background-image:
    linear-gradient(180deg, rgba(3, 2, 1, 0.36) 0%, rgba(2, 1, 0, 0.48) 100%),
    radial-gradient(ellipse 90% 50% at 50% 5%, rgba(243, 163, 42, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.48), rgba(4, 3, 2, 0.9)),
    var(--site-full-bg);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
}

.page-bg--features {
  background-image:
    linear-gradient(180deg, rgba(3, 2, 1, 0.36) 0%, rgba(2, 1, 0, 0.48) 100%),
    radial-gradient(ellipse 100% 60% at 50% 0%, rgba(241, 184, 13, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(6, 5, 4, 0.48), rgba(3, 2, 2, 0.9)),
    var(--site-full-bg);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
}

.page-bg--download {
  background-image:
    linear-gradient(180deg, rgba(3, 2, 1, 0.42) 0%, rgba(2, 1, 0, 0.52) 100%),
    radial-gradient(ellipse 95% 55% at 50% 0%, rgba(243, 163, 42, 0.08), transparent 52%),
    radial-gradient(ellipse 80% 50% at 50% 100%, rgba(0, 0, 0, 0.65), transparent 70%),
    var(--site-full-bg);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
}

/* ------------------------------------------------------------------ Download (3-step layout) */
.download-main {
  padding: clamp(28px, 4vw, 48px) 0 clamp(48px, 6vw, 72px);
}

.download-hero {
  text-align: center;
  margin-bottom: clamp(28px, 4vw, 40px);
  max-width: 920px;
  margin-left: auto;
  margin-right: auto;
}

.download-hero-title {
  margin: 0 0 12px;
  display: flex;
  align-items: center;
  justify-content: center;
  flex-wrap: wrap;
  gap: 14px 18px;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1.35rem, 3.2vw, 2rem);
  font-weight: 700;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.96);
}

.download-hero-title-text {
  position: relative;
  padding-bottom: 6px;
}

.download-hero-title-text::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    transparent,
    rgba(255, 255, 255, 0.12) 12%,
    rgba(255, 255, 255, 0.22) 50%,
    rgba(255, 255, 255, 0.08) 88%,
    transparent
  );
  background-size: 100% 100%;
  mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
  -webkit-mask-image: repeating-linear-gradient(90deg, #000 0 5px, transparent 5px 9px);
}

.download-hero-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: linear-gradient(180deg, #f5b53a, #c97810);
  box-shadow: 0 0 12px rgba(243, 163, 42, 0.45);
  flex-shrink: 0;
}

.download-hero-sub {
  margin: 0;
  font-size: 0.72rem;
  font-weight: 600;
  letter-spacing: 0.22em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.download-steps {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: clamp(16px, 2.2vw, 22px);
  align-items: stretch;
}

.download-card {
  display: flex;
  flex-direction: column;
  gap: 14px;
  padding: clamp(18px, 2.2vw, 22px) clamp(16px, 2vw, 20px) clamp(20px, 2.5vw, 24px);
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  background: linear-gradient(165deg, rgba(22, 20, 18, 0.88), rgba(10, 9, 8, 0.72));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
}

.download-card--wide {
  min-height: 100%;
}

.download-card-badge {
  align-self: flex-start;
  padding: 6px 12px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: linear-gradient(180deg, #f5b53a, #d88912);
  color: #1a1208;
}

.download-card-heading {
  margin: 0;
  font-family: "Cinzel", "Times New Roman", serif;
  font-size: clamp(1rem, 1.35vw, 1.15rem);
  font-weight: 700;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.95);
  line-height: 1.35;
}

.download-card-text {
  margin: 0;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.download-card-text--tight {
  font-size: 0.86rem;
  margin-top: -4px;
}

.download-card-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-card-actions .btn {
  width: 100%;
  justify-content: center;
}

.download-sub {
  display: flex;
  flex-direction: column;
  gap: 8px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.download-sub:first-of-type {
  border-top: none;
  padding-top: 0;
}

.download-sub-title {
  margin: 0;
  font-size: 0.82rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.82);
}

.download-mirror-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.download-mirror-row {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.download-mirror-row .btn-download-mirror {
  flex: 1 1 calc(50% - 5px);
  min-width: 120px;
  justify-content: center;
}

.btn-download-secondary,
.btn-download-mirror {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 11px 16px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: linear-gradient(180deg, rgba(72, 70, 68, 0.95), rgba(42, 40, 38, 0.92));
  color: rgba(255, 255, 255, 0.92);
  text-decoration: none;
  transition: border-color 0.15s, filter 0.15s, color 0.15s;
}

.btn-download-secondary:hover,
.btn-download-secondary:focus-visible,
.btn-download-mirror:hover,
.btn-download-mirror:focus-visible {
  border-color: rgba(243, 163, 42, 0.55);
  filter: brightness(1.06);
  color: #fff;
}

@media (max-width: 1024px) {
  .download-steps {
    grid-template-columns: 1fr;
    max-width: 520px;
    margin-left: auto;
    margin-right: auto;
  }

  .download-card--wide {
    order: 0;
  }
}

/* Superseded by global .page-bg (--site-full-bg); keep hook in index for optional revival */
.header-scene-bg {
  display: none;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 50;
  flex-shrink: 0;
  background: rgba(8, 8, 8, 0.38);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  border-bottom: 1px solid var(--border-soft);
}

.header-inner {
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px clamp(20px, 3vw, 40px);
  min-height: 72px;
}

.header-brand {
  display: flex;
  align-items: center;
  gap: 10px;
  flex-shrink: 0;
  min-width: 0;
}

.logo img {
  display: block;
  border-radius: 8px;
}

.nav-main {
  display: flex;
  align-items: center;
  justify-content: flex-start;
  flex-wrap: nowrap;
  gap: 4px 10px;
  min-width: 0;
}

.nav-item-wrap {
  position: relative;
}

.nav-dropdown-trigger {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  background: rgba(30, 26, 20, 0.65);
  color: var(--text);
  font: inherit;
  font-size: 0.9rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.nav-dropdown-trigger:hover,
.nav-item-wrap.is-open .nav-dropdown-trigger {
  background: rgba(197, 160, 89, 0.22);
  border-color: rgba(243, 163, 42, 0.55);
  color: #fff;
}

@media (min-width: 981px) {
  /* Servers: same soft-rect shape + metrics as language + download (not pill) */
  .nav-main .nav-item-wrap--servers .nav-dropdown-trigger--l2 {
    border-radius: 8px;
    padding: 7px 10px;
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 0.04em;
    gap: 6px;
    border-color: rgba(255, 255, 255, 0.35);
    background: transparent;
    color: #fff;
  }

  .nav-main .nav-item-wrap--servers .nav-dropdown-trigger--l2:hover,
  .nav-main .nav-item-wrap--servers .nav-dropdown-trigger--l2:focus-visible,
  .nav-main .nav-item-wrap--servers.is-open .nav-dropdown-trigger--l2 {
    border-color: rgba(243, 163, 42, 0.55);
    background: rgba(243, 163, 42, 0.08);
    color: var(--gold-bright);
  }
}

.nav-icon {
  flex-shrink: 0;
  opacity: 0.9;
}

.nav-icon-stroke {
  stroke: currentColor;
  fill: none;
}

.nav-chevron {
  width: 14px;
  height: 14px;
  opacity: 0.75;
}

.nav-with-icon {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border-radius: 8px;
  font-size: 0.9rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.15s, color 0.15s;
}

.nav-with-icon:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold-bright);
}

.nav-link-current {
  color: var(--gold);
}

.dropdown-panel {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  left: 50%;
  transform: translateX(-50%);
  min-width: 280px;
  padding: 14px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(26, 24, 22, 0.96);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.55);
}

.nav-item-wrap.is-open .dropdown-panel {
  display: block;
}

.dropdown-panel--mega {
  min-width: 320px;
}

/* Left-aligned nav: mega menu follows Servers trigger (not centered in column) */
.nav-item-wrap--servers .dropdown-panel--mega {
  left: 0;
  right: auto;
  transform: none;
}

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

.servers-mega-item {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  transition: border-color 0.15s, background 0.15s;
}

.servers-mega-item:hover {
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.08);
  color: #fff;
}

.servers-mega-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  color: var(--gold);
}

.servers-mega-icon svg {
  width: 28px;
  height: 28px;
}

.servers-mega-name {
  font-weight: 600;
  font-size: 0.95rem;
}

.servers-mega-name-mult {
  display: inline-block;
  font-weight: 700;
  font-size: 0.8em;
  color: var(--gold-muted);
  margin-left: 6px;
}

.servers-mega-chronicle {
  font-size: 0.72rem;
  color: var(--text-muted);
}

.servers-mega-foot {
  margin-top: 12px;
  padding-top: 8px;
  border-top: 1px solid var(--border-soft);
  text-align: center;
}

.servers-mega-foot a {
  font-size: 0.85rem;
  color: var(--gold-muted);
}

.servers-mega-foot a:hover {
  color: var(--gold);
}

.header-actions {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  gap: 10px;
  flex-shrink: 0;
  margin-left: auto;
}

@media (min-width: 981px) {
  .site-header .header-actions {
    margin-right: -14px;
  }
}

.btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 16px;
  border-radius: 999px;
  font-size: 0.88rem;
  font-weight: 600;
  border: 1px solid transparent;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s, transform 0.1s;
}

.btn-download-header {
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
}

.btn-download-header:hover {
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.08);
  color: var(--gold-bright);
}

.btn-header-download-solid {
  border-color: transparent;
  background: linear-gradient(180deg, #f5b53a, #d88912);
  color: #1a1208;
}

.btn-header-download-solid:hover,
.btn-header-download-solid:focus-visible,
.btn-header-download-solid:active {
  filter: brightness(1.06);
  color: #1a1208;
}

.btn-account-header {
  background: linear-gradient(180deg, #f5b53a, #d88912);
  color: #1a1208;
}

.btn-account-header:hover,
.btn-account-header:focus-visible,
.btn-account-header:active {
  filter: brightness(1.06);
  color: #1a1208;
}

.btn-account-header .chev {
  opacity: 0.75;
}

/* Header CTAs: squared / soft-rect (not pills), Reborn-style */
.header-actions .btn-download-header,
.header-actions > a.btn-account-header,
.header-actions .header-account-trigger {
  border-radius: 8px;
}

.header-actions .header-account-trigger {
  font: inherit;
}

/* Language switcher (desktop header; mobile uses drawer chips) */
.nav-item-wrap--lang {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  vertical-align: middle;
}

.nav-main .btn-lang-header {
  border-radius: 8px;
  border-color: rgba(255, 255, 255, 0.35);
  background: transparent;
  color: #fff;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  padding: 7px 10px;
  gap: 6px;
}

.nav-main .btn-lang-header:hover,
.nav-main .nav-item-wrap--lang.is-open .btn-lang-header {
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.08);
  color: var(--gold-bright);
}

/* Match panel width to the trigger (override base .dropdown-panel min-width: 280px) */
.nav-item-wrap--lang .dropdown-panel--lang {
  left: 0;
  right: 0;
  width: auto;
  transform: none;
  min-width: 0;
  box-sizing: border-box;
  padding: 6px;
  border-radius: 8px;
  z-index: 60;
  background: rgba(14, 13, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.nav-item-wrap--lang.is-open .dropdown-panel--lang {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.lang-dropdown-item {
  display: block;
  padding: 10px 12px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.06em;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  text-align: center;
  transition: background 0.15s, color 0.15s;
}

.lang-dropdown-item:hover,
.lang-dropdown-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.lang-dropdown-item.is-active {
  color: var(--gold-bright);
  background: rgba(243, 163, 42, 0.12);
}

.mobile-drawer-lang {
  display: none;
  flex-wrap: wrap;
  gap: 8px;
  margin-top: 14px;
  padding-top: 14px;
  border-top: 1px solid var(--border-soft);
}

.mobile-drawer-lang-link {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 44px;
  padding: 8px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.04em;
  color: rgba(255, 255, 255, 0.9);
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.mobile-drawer-lang-link:hover {
  background: rgba(255, 255, 255, 0.06);
}

.mobile-drawer-lang-link.is-active {
  border-color: rgba(243, 163, 42, 0.55);
  color: var(--gold-bright);
  background: rgba(243, 163, 42, 0.1);
}

/* Account menu: same width as trigger button; column shrink-wraps to button */
.nav-item-wrap--account {
  display: inline-flex;
  flex-direction: column;
  align-items: stretch;
  vertical-align: middle;
}

.nav-item-wrap--account .dropdown-panel--account {
  left: 0;
  right: 0;
  width: 100%;
  min-width: 0;
  max-width: none;
  transform: none;
  box-sizing: border-box;
  padding: 6px;
  border-radius: 8px;
  z-index: 60;
  background: rgba(14, 13, 12, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.1);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.65);
}

.nav-item-wrap--account .dropdown-panel--account::before {
  content: "";
  position: absolute;
  bottom: 100%;
  left: 50%;
  right: auto;
  transform: translateX(-50%);
  border: 7px solid transparent;
  border-bottom-color: rgba(14, 13, 12, 0.98);
}

.nav-item-wrap--account.is-open .dropdown-panel--account {
  display: flex;
  flex-direction: column;
  gap: 2px;
}

.nav-item-wrap--account.is-open .header-account-trigger {
  filter: brightness(1.04);
}

.account-dropdown-item {
  display: flex;
  align-items: center;
  gap: 11px;
  padding: 10px 11px;
  border-radius: 6px;
  font-size: 0.88rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.95);
  text-decoration: none;
  transition: background 0.15s, color 0.15s;
  white-space: nowrap;
}

.account-dropdown-icon {
  flex-shrink: 0;
  color: rgba(255, 255, 255, 0.88);
}

.account-dropdown-item:hover,
.account-dropdown-item:focus-visible {
  background: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.account-dropdown-item:hover .account-dropdown-icon,
.account-dropdown-item:focus-visible .account-dropdown-icon {
  color: #fff;
}

.account-dropdown-form {
  margin: 0;
  padding: 0;
  display: block;
}

button.account-dropdown-item {
  width: 100%;
  border: none;
  background: none;
  font: inherit;
  cursor: pointer;
  text-align: left;
  box-sizing: border-box;
}

.account-dropdown-item--danger {
  color: rgba(255, 150, 150, 0.98) !important;
}

.account-dropdown-item--danger .account-dropdown-icon {
  color: rgba(255, 180, 170, 0.95);
}

.account-dropdown-item--danger:hover,
.account-dropdown-item--danger:focus-visible {
  background: rgba(255, 80, 80, 0.12) !important;
  color: #fff !important;
}

.account-dropdown-item--danger:hover .account-dropdown-icon,
.account-dropdown-item--danger:focus-visible .account-dropdown-icon {
  color: #fff;
}

/* Logged-in header: Master account + email + dropdown (same JS as guest Account) */
.header-account-trigger--authed {
  gap: 10px;
  max-width: min(280px, 36vw);
}

.header-account-trigger--authed .btn-account-header-stack {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  justify-content: center;
  gap: 2px;
  min-width: 0;
  text-align: left;
}

.header-account-trigger--authed .btn-account-header-kicker {
  font-size: 0.62rem;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.08em;
  line-height: 1.2;
  color: rgba(26, 18, 8, 0.78);
}

.header-account-trigger--authed .btn-account-header-email {
  font-size: 0.8rem;
  font-weight: 600;
  line-height: 1.25;
  color: #1a1208;
  max-width: 100%;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* Browsing site while logged in: outline trigger; inside cabinet pages: solid gold */
.nav-item-wrap--account:not(.is-on-account-shell) .header-account-trigger--authed {
  background: transparent;
  border: 1px solid rgba(255, 255, 255, 0.38);
  color: #fff;
}

.nav-item-wrap--account:not(.is-on-account-shell) .header-account-trigger--authed .btn-account-header-kicker {
  color: var(--gold);
}

.nav-item-wrap--account:not(.is-on-account-shell) .header-account-trigger--authed .btn-account-header-email {
  color: rgba(255, 255, 255, 0.95);
}

.nav-item-wrap--account:not(.is-on-account-shell) .header-account-trigger--authed svg:first-of-type {
  color: rgba(255, 255, 255, 0.92);
}

.nav-item-wrap--account:not(.is-on-account-shell) .header-account-trigger--authed .chev {
  color: rgba(255, 255, 255, 0.85);
}

.nav-item-wrap--account:not(.is-on-account-shell) .header-account-trigger--authed:hover,
.nav-item-wrap--account:not(.is-on-account-shell) .header-account-trigger--authed:focus-visible {
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.1);
  color: #fff;
}

.menu-toggle {
  display: none;
  flex-direction: column;
  justify-content: center;
  gap: 5px;
  width: 44px;
  height: 44px;
  padding: 0;
  border: 1px solid rgba(255, 255, 255, 0.15);
  border-radius: 10px;
  background: rgba(0, 0, 0, 0.35);
  cursor: pointer;
}

.menu-toggle span {
  display: block;
  height: 2px;
  width: 20px;
  margin: 0 auto;
  background: #fff;
  border-radius: 1px;
}

.mobile-drawer {
  display: none;
  position: fixed;
  inset: 0;
  z-index: 60;
  background: rgba(0, 0, 0, 0.55);
  opacity: 0;
  padding: 72px 16px 16px;
  pointer-events: none;
  transition: opacity 0.2s;
}

.mobile-drawer.is-open {
  display: block;
  opacity: 1;
  pointer-events: auto;
}

.mobile-drawer-inner {
  max-width: 360px;
  margin-left: auto;
  padding: 16px;
  border-radius: 14px;
  border: 1px solid var(--border-soft);
  background: rgba(22, 20, 18, 0.98);
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.mobile-drawer-inner a {
  padding: 12px 14px;
  border-radius: 8px;
  font-weight: 500;
}

.mobile-drawer-inner a:hover {
  background: rgba(255, 255, 255, 0.06);
}

@media (min-width: 981px) and (max-width: 1280px) {
  .header-inner {
    gap: 12px 14px;
  }

  .nav-main {
    gap: 2px 6px;
  }

  .nav-with-icon {
    padding: 6px 8px;
    font-size: 0.86rem;
    gap: 6px;
  }

  .nav-dropdown-trigger--l2 {
    padding: 7px 10px;
    font-size: 0.86rem;
    gap: 6px;
  }

  .nav-main .nav-dropdown-trigger--lang .nav-icon:first-of-type {
    display: none;
  }
}

@media (max-width: 980px) {
  .site-header .header-actions {
    margin-right: 0;
  }

  /* Reborn-style mobile bar: logo | Servers ▼ | [hamburger][account icon] */
  .header-inner {
    grid-template-columns: auto minmax(0, 1fr) auto;
    gap: 10px 12px;
    min-height: 56px;
  }

  .nav-main {
    display: flex;
    align-items: center;
    justify-content: flex-start;
    flex-wrap: nowrap;
    gap: 0;
    min-width: 0;
  }

  .nav-main .nav-with-icon {
    display: none !important;
  }

  .nav-item-wrap--servers {
    flex-shrink: 0;
  }

  .nav-dropdown-trigger--l2 {
    padding: 8px 12px;
    font-size: 0.88rem;
    gap: 6px;
    border-radius: 8px;
  }

  .nav-dropdown-trigger--l2 > .nav-icon:first-of-type {
    display: none;
  }

  .nav-item-wrap--servers .dropdown-panel--mega {
    left: 0;
    right: auto;
    transform: none;
    min-width: min(320px, calc(100vw - 24px));
  }

  .header-actions {
    display: flex;
    flex-shrink: 0;
    align-items: center;
    gap: 8px;
  }

  .header-actions .btn-download-header {
    display: none;
  }

  .nav-main .nav-item-wrap--lang {
    display: none !important;
  }

  .mobile-drawer-lang {
    display: flex;
  }

  .header-actions .nav-item-wrap--account {
    position: relative;
    order: 2;
  }

  .header-actions .btn-account-header {
    display: inline-flex;
    order: 2;
    position: relative;
    width: 44px;
    height: 44px;
    min-width: 44px;
    padding: 0;
    border-radius: 10px;
    border: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(0, 0, 0, 0.35);
    color: rgba(255, 255, 255, 0.92);
    justify-content: center;
    align-items: center;
    box-sizing: border-box;
  }

  /* Guest Account: keep gold CTA like desktop; Dashboard stays compact dark icon */
  .header-actions .nav-item-wrap--account .header-account-trigger {
    background: linear-gradient(180deg, #f5b53a, #d88912);
    color: #1a1208;
    border-color: rgba(0, 0, 0, 0.12);
  }

  .header-actions .nav-item-wrap--account .header-account-trigger:hover,
  .header-actions .nav-item-wrap--account .header-account-trigger:focus-visible {
    filter: brightness(1.06);
    color: #1a1208;
    border-color: rgba(0, 0, 0, 0.12);
  }

  .header-actions .nav-item-wrap--account.is-open .header-account-trigger {
    filter: brightness(1.05);
  }

  /* Icon-only trigger is 44px wide — widen menu for readable rows; align to button’s right edge */
  .header-actions .nav-item-wrap--account .dropdown-panel--account {
    left: auto;
    right: 0;
    width: auto;
    min-width: 196px;
  }

  .header-actions .nav-item-wrap--account .dropdown-panel--account::before {
    left: auto;
    right: 15px;
    transform: none;
  }

  .header-actions > a.btn-account-header:hover,
  .header-actions > a.btn-account-header:focus-visible {
    filter: none;
    border-color: rgba(243, 163, 42, 0.45);
    background: rgba(255, 255, 255, 0.06);
    color: var(--gold-bright);
  }

  .btn-account-header-text {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-actions .btn-account-header .chev {
    display: none;
  }

  /* Logged-in account: compact icon-only trigger (dropdown still opens) */
  .header-actions .header-account-trigger--authed {
    max-width: none;
    width: 44px;
    min-width: 44px;
    height: 44px;
    padding: 0;
    justify-content: center;
    box-sizing: border-box;
  }

  .header-actions .header-account-trigger--authed .btn-account-header-stack {
    position: absolute;
    width: 1px;
    height: 1px;
    padding: 0;
    margin: -1px;
    overflow: hidden;
    clip: rect(0, 0, 0, 0);
    white-space: nowrap;
    border: 0;
  }

  .header-actions .header-account-trigger--authed .chev {
    display: none;
  }

  .header-actions .menu-toggle {
    display: inline-flex;
    order: 1;
    flex-shrink: 0;
  }

  .mobile-drawer {
    padding: 56px 0 0;
  }

  .mobile-drawer-inner {
    max-width: none;
    width: 100%;
    margin: 0;
    border-radius: 0;
    border-left: none;
    border-right: none;
    border-top: 1px solid rgba(255, 255, 255, 0.08);
    padding: 16px 20px calc(20px + env(safe-area-inset-bottom, 0));
    box-shadow: 0 24px 48px rgba(0, 0, 0, 0.45);
  }

  .mobile-drawer-inner a {
    padding: 14px 16px;
    font-size: 0.95rem;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 0;
  }

  .mobile-drawer-inner a:last-child {
    border-bottom: none;
  }
}

/* ------------------------------------------------------------------ Hero */
.hero {
  position: relative;
  z-index: 1;
  padding: 48px 0 56px;
}

.hero-panel {
  display: grid;
  grid-template-columns: 1.15fr 1fr;
  gap: 32px;
  align-items: center;
  padding: 28px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(14px);
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.hero-art img {
  width: 100%;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.hero-copy h1 {
  margin: 0 0 12px;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
  letter-spacing: -0.02em;
}

.hero-lead {
  margin: 0 0 20px;
  color: rgba(255, 255, 255, 0.88);
  font-size: 1.05rem;
}

.hero-features {
  list-style: none;
  margin: 0 0 24px;
  padding: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 12px 20px;
}

.hero-features li {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.95rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.92);
}

.hero-feat-icon {
  display: flex;
  color: var(--gold);
}

.btn-hero-cta {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 14px 22px;
  border-radius: 999px;
  background: linear-gradient(180deg, #f5b53a, #d88912);
  color: #1a1208;
  font-weight: 700;
  letter-spacing: 0.02em;
}

.btn-hero-cta:hover,
.btn-hero-cta:focus-visible,
.btn-hero-cta:active {
  filter: brightness(1.05);
  color: #1a1208;
}

.win-icon {
  flex-shrink: 0;
}

@media (max-width: 900px) {
  .hero-panel {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Servers */
.section {
  padding: 40px 0;
}

.section-title-left {
  margin: 0 0 24px;
  font-size: 1.5rem;
  font-weight: 700;
  letter-spacing: -0.02em;
}

.server-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.server-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 20, 0.72);
  overflow: hidden;
  scroll-margin-top: 96px;
}

.server-card-top {
  display: block;
}

.server-card-art {
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 10px 12px 8px;
  background: rgba(0, 0, 0, 0.22);
}

.server-card-art img {
  display: block;
  width: 100%;
  height: auto;
  max-height: none;
  object-fit: contain;
  object-position: center;
}

.server-card-cta {
  display: flex;
  justify-content: center;
  align-items: center;
  padding: 18px 16px 20px;
}

/* Ίδιο στυλ με .row-icon-btn (Server Features): pill, σκούρο φόντο, hover χρυσό */
.btn-play-sm {
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  text-decoration: none;
}

.btn-play-sm:hover {
  color: var(--gold);
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(255, 255, 255, 0.06);
}

.btn-play-sm:focus-visible {
  outline: 2px solid rgba(243, 163, 42, 0.45);
  outline-offset: 2px;
}

.server-card-rows {
  border-top: 1px solid var(--border-soft);
}

.server-row-bar {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding: 14px 16px;
  min-height: 52px;
}

/* Αριστερά: PvP / rate / Interlude — δεξιά: Server Features. Το MAIN ακριβώς στο κέντρο της μπάρας. */
.server-row-bar-start {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: flex-start;
  align-items: center;
  text-align: left;
}

.server-row-bar-center {
  position: absolute;
  left: 50%;
  top: 50%;
  transform: translate(-50%, -50%);
  z-index: 1;
}

.server-row-bar-end {
  flex: 1 1 0;
  min-width: 0;
  display: flex;
  justify-content: flex-end;
  align-items: center;
}

.row-name {
  display: flex;
  flex-direction: column;
  gap: 2px;
  line-height: 1.1;
  font-weight: 600;
}

.row-name-line {
  display: inline-flex;
  align-items: baseline;
  gap: 6px;
}

.row-name-main {
  font-weight: 600;
}

.row-name-mult {
  font-weight: 700;
  font-size: 0.8em;
  color: var(--gold-muted);
}

.row-name-chronicle {
  font-size: 0.72rem;
  color: var(--text-muted);
  font-weight: 500;
}

.row-tag {
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 4px 8px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  color: var(--gold-muted);
}

.row-tag--main {
  color: var(--gold);
  border-color: rgba(243, 163, 42, 0.55);
}

.row-icon-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  height: 40px;
  padding: 0 14px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

.row-icon-btn-text {
  font-weight: 600;
  font-size: 0.85rem;
  letter-spacing: 0.01em;
  white-space: nowrap;
}

.row-icon-btn:hover {
  color: var(--gold);
  border-color: rgba(243, 163, 42, 0.55);
}

@media (max-width: 520px) {
  .row-icon-btn {
    padding: 0 10px;
  }

  .row-icon-btn-text {
    display: none;
  }
}

@media (max-width: 900px) {
  .server-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Vote / topsites bar (under Our servers cards) */
.vote-sites-bar {
  margin-top: 28px;
  padding-top: 28px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
}

.vote-sites-bar__title {
  margin: 0 0 18px;
  font-size: clamp(1rem, 2vw, 1.15rem);
  font-weight: 600;
  letter-spacing: -0.01em;
  text-align: center;
  color: rgba(255, 255, 255, 0.92);
}

.vote-sites-bar__track {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  align-items: center;
  gap: 12px 14px;
}

.vote-sites-bar__item {
  flex: 0 0 auto;
}

.vote-sites-bar__link {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  border-radius: 50%;
  border: 1px solid #3c3c3b;
  box-shadow: 0 0 1px 0 #3c3c3b inset;
  text-decoration: none;
  transition: border-color 0.2s ease, box-shadow 0.2s ease;
}

.vote-sites-bar__link::after {
  content: "";
  position: absolute;
  width: calc(100% - 8px);
  height: calc(100% - 8px);
  top: 4px;
  left: 4px;
  border-radius: 50%;
  background: #3c3c3c;
  z-index: 0;
  transition: background 0.2s ease;
}

.vote-sites-bar__link span {
  position: relative;
  z-index: 1;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0.04em;
  line-height: 1;
  color: #e8e8e8;
  transition: color 0.2s ease;
}

.vote-sites-bar__link:hover::after,
.vote-sites-bar__link:focus-visible::after {
  background: #61615f;
}

.vote-sites-bar__link:hover span,
.vote-sites-bar__link:focus-visible span {
  color: #fff;
}

.vote-sites-bar__link:focus-visible {
  outline: 2px solid rgba(243, 163, 42, 0.55);
  outline-offset: 3px;
}

/* Highlight first three (BR, HZ, RZ) — matches legacy topsite bar */
.vote-sites-bar__item:nth-child(1) .vote-sites-bar__link,
.vote-sites-bar__item:nth-child(2) .vote-sites-bar__link,
.vote-sites-bar__item:nth-child(3) .vote-sites-bar__link {
  border-color: #ff9c00;
  box-shadow: 0 0 1px 0 #ff9c00 inset;
}

.vote-sites-bar__item:nth-child(1) .vote-sites-bar__link::after,
.vote-sites-bar__item:nth-child(2) .vote-sites-bar__link::after,
.vote-sites-bar__item:nth-child(3) .vote-sites-bar__link::after {
  background: #ff9c00;
}

.vote-sites-bar__item:nth-child(1) .vote-sites-bar__link span,
.vote-sites-bar__item:nth-child(2) .vote-sites-bar__link span,
.vote-sites-bar__item:nth-child(3) .vote-sites-bar__link span {
  color: #1a1208;
}

.vote-sites-bar__item:nth-child(1) .vote-sites-bar__link:hover::after,
.vote-sites-bar__item:nth-child(1) .vote-sites-bar__link:focus-visible::after,
.vote-sites-bar__item:nth-child(2) .vote-sites-bar__link:hover::after,
.vote-sites-bar__item:nth-child(2) .vote-sites-bar__link:focus-visible::after,
.vote-sites-bar__item:nth-child(3) .vote-sites-bar__link:hover::after,
.vote-sites-bar__item:nth-child(3) .vote-sites-bar__link:focus-visible::after {
  background: #ffc63c;
}

.vote-sites-bar__item:nth-child(1) .vote-sites-bar__link:hover span,
.vote-sites-bar__item:nth-child(1) .vote-sites-bar__link:focus-visible span,
.vote-sites-bar__item:nth-child(2) .vote-sites-bar__link:hover span,
.vote-sites-bar__item:nth-child(2) .vote-sites-bar__link:focus-visible span,
.vote-sites-bar__item:nth-child(3) .vote-sites-bar__link:hover span,
.vote-sites-bar__item:nth-child(3) .vote-sites-bar__link:focus-visible span {
  color: #1a1208;
}

@media (max-width: 520px) {
  .vote-sites-bar__link {
    width: 40px;
    height: 40px;
  }

  .vote-sites-bar__link::after {
    width: calc(100% - 6px);
    height: calc(100% - 6px);
    top: 3px;
    left: 3px;
  }

  .vote-sites-bar__link span {
    font-size: 9px;
  }

  .vote-sites-bar__track {
    gap: 10px;
  }
}

/* ------------------------------------------------------------------ Info strip */
.info-strip {
  padding: 48px 0 56px;
}

.info-grid {
  display: grid;
  grid-template-columns: repeat(2,1fr);
  gap: 24px;
}

.info-block {
  padding: 24px;
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(18, 18, 20, 0.55);
}

.info-block h3 {
  margin: 0 0 12px;
  font-size: 1.15rem;
}

.info-block p {
  margin: 0 0 12px;
  color: var(--text-muted);
  font-size: 0.95rem;
}

/* Μόνο απλά links (π.χ. wiki)· όχι .btn — αλλιώς χρυσό πάνω σε πορτοκαλί CTA */
.info-block a:not(.btn) {
  color: var(--gold);
}

.info-block-cta {
  margin-top: 8px;
}

@media (max-width: 800px) {
  .info-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ News */
.news-main {
  padding: 40px 0 56px;
}

.news-page-title {
  margin: 0 0 24px;
  font-size: clamp(1.75rem, 2.5vw, 2.25rem);
  font-weight: 700;
}

.news-filters {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 28px;
}

.news-filter-btn {
  padding: 10px 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.03);
  color: var(--text);
  font: inherit;
  font-size: 0.85rem;
  font-weight: 500;
  cursor: pointer;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.news-filter-btn:hover {
  border-color: rgba(243, 163, 42, 0.55);
  color: var(--gold-bright);
}

.news-filter-btn.is-active {
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.2);
  color: var(--gold-bright);
}

.news-grid {
  display: grid;
  grid-template-columns: repeat(3,1fr);
  gap: 24px;
}

.news-card {
  border-radius: 14px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 20, 0.72);
  transition: transform 0.15s, border-color 0.15s, box-shadow 0.15s;
}

.news-card:hover {
  transform: translateY(-2px);
  border-color: rgba(243, 163, 42, 0.55);
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
}

.news-card-link {
  display: block;
  color: inherit;
}

.news-card-media {
  position: relative;
  aspect-ratio: 16 / 10;
  overflow: hidden;
}

.news-card-media img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.news-card-media::after {
  content: "";
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.news-server-tag {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.72rem;
  font-weight: 600;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.85);
}

.news-kind {
  position: absolute;
  bottom: 12px;
  left: 12px;
  z-index: 2;
  padding: 6px 10px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(0, 0, 0, 0.35);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.news-kind--update {
  color: #7ecbff;
}

.news-kind--event {
  color: var(--gold);
}

.news-overlay-title {
  position: absolute;
  bottom: 44px;
  left: 12px;
  right: 12px;
  z-index: 2;
  font-size: clamp(1.1rem, 2.2vw, 1.5rem);
  font-weight: 800;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.news-card-body {
  padding: 16px 18px 20px;
}

.news-card-body time {
  display: block;
  font-size: 0.8rem;
  color: var(--text-muted);
  margin-bottom: 0.35rem;
}

.news-card-heading {
  margin: 0 0 8px;
  font-size: 1.1rem;
  font-weight: 700;
}

.news-card-excerpt {
  margin: 0;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.news-show-more-wrap {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.news-show-more {
  padding: 12px 28px;
  border-radius: 999px;
  border: 1px solid rgba(243, 163, 42, 0.45);
  background: rgba(243, 163, 42, 0.12);
  color: var(--gold-bright);
  font: inherit;
  font-weight: 600;
  cursor: pointer;
}

.news-show-more:hover {
  background: rgba(243, 163, 42, 0.22);
}

.news-empty {
  margin: 32px 0 0;
  text-align: center;
  font-size: 1rem;
  color: var(--text-muted);
}

.news-pagination {
  display: flex;
  justify-content: center;
  margin-top: 32px;
}

.news-pagination nav {
  display: inline-block;
}

.news-pagination .pagination {
  display: flex;
  flex-wrap: wrap;
  align-items: center;
  justify-content: center;
  gap: 8px;
  margin: 0;
  padding: 0;
  list-style: none;
}

.news-pagination .pagination li {
  display: inline-flex;
}

.news-pagination .pagination a,
.news-pagination .pagination span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 40px;
  height: 40px;
  padding: 0 12px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.9rem;
  font-weight: 500;
  text-decoration: none;
  transition: background 0.15s, border-color 0.15s, color 0.15s;
}

.news-pagination .pagination a:hover {
  border-color: rgba(243, 163, 42, 0.55);
  color: var(--gold-bright);
}

.news-pagination .pagination li.active span {
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.2);
  color: var(--gold-bright);
}

.news-pagination .pagination li.disabled span {
  opacity: 0.35;
  cursor: not-allowed;
}

@media (max-width: 980px) {
  .news-grid {
    grid-template-columns: repeat(2,1fr);
  }
}

@media (max-width: 640px) {
  .news-grid {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Article */
.article-main {
  padding: 32px 0 56px;
}

.article-container {
  max-width: 900px;
}

.article-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  margin-bottom: 16px;
  border-radius: 999px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

.article-back:hover {
  color: var(--gold);
  border-color: rgba(243, 163, 42, 0.55);
}

.article-category {
  margin: 0 0 12px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-page-title {
  margin: 0 0 8px;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 700;
}

.article-page-date {
  display: block;
  margin-bottom: 24px;
  font-size: 0.9rem;
  color: var(--text-muted);
}

.article-sheet {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(18, 18, 20, 0.72);
  overflow: hidden;
}

.article-hero {
  position: relative;
}

.article-hero img {
  width: 100%;
  display: block;
}

.article-hero-scrim {
  position: absolute;
  inset: 0;
  background: linear-gradient(180deg, transparent 0%, rgba(0, 0, 0, 0.55) 100%);
}

.article-hero-badge {
  position: absolute;
  bottom: 16px;
  left: 16px;
  z-index: 2;
  padding: 6px 12px;
  border-radius: 6px;
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  background: rgba(90, 60, 30, 0.85);
  color: #ffd8a8;
}

.article-hero-overlay-text {
  position: absolute;
  top: 50%;
  right: 24px;
  transform: translateY(-50%);
  z-index: 2;
  text-align: right;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.55);
}

.article-hero-mega {
  display: block;
  font-size: clamp(1.75rem, 2.5vw, 2.35rem);
  font-weight: 900;
  font-style: italic;
  letter-spacing: 0.02em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.88);
}

.article-hero-server {
  display: block;
  margin-top: 4px;
  font-size: 0.85rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.88);
}

.article-prose {
  padding: 28px;
  border-top: 1px solid var(--border-soft);
}

.article-prose-title {
  margin: 0 0 16px;
  font-size: 1.35rem;
}

.article-prose h2 {
  margin: 0 0 16px;
  font-size: 1.35rem;
  font-weight: 700;
}

.article-prose a {
  color: var(--gold);
  text-decoration: underline;
  text-underline-offset: 2px;
}

.article-prose a:hover {
  color: var(--gold-bright);
}

.article-prose p,
.article-prose li {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.article-prose h3 {
  margin: 24px 0 12px;
  font-size: 1.15rem;
}

.article-prose ul {
  margin: 0;
  padding-left: 1.2rem;
}

/* ------------------------------------------------------------------ Server features */
.page-features .site-header {
  background: rgba(8, 8, 8, 0.48);
}

.sf-main-wrap {
  position: relative;
  z-index: 1;
  width: min(1320px, calc(100% - 40px));
  margin: 0 auto;
  padding: 28px 0 56px;
  box-sizing: border-box;
}

.sf-layout {
  display: grid;
  grid-template-columns: 255px minmax(0, 1fr) 255px;
  gap: 20px;
  align-items: start;
  width: 100%;
  box-sizing: border-box;
}

.sf-sidebar {
  position: sticky;
  top: 86px;
  padding: 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, rgba(10, 11, 14, 0.86), rgba(10, 10, 12, 0.82));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.34);
}

.sf-toc {
  display: flex;
  flex-direction: column;
  gap: 5px;
}

.sf-toc-link {
  position: relative;
  padding: 10px 12px 10px 18px;
  border-radius: 9px;
  font-size: 1.02rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.58);
  border: 1px solid transparent;
}

.sf-toc-link::before {
  content: "›";
  position: absolute;
  left: 8px;
  top: 50%;
  transform: translateY(-50%);
  color: rgba(255, 255, 255, 0.38);
  font-size: 0.95rem;
}

.sf-toc-link:hover {
  color: rgba(255, 255, 255, 0.9);
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.04);
}

.sf-toc-link.is-active {
  color: var(--gold);
  border-color: rgba(243, 163, 42, 0.8);
  background: linear-gradient(90deg, rgba(243, 163, 42, 0.2), rgba(243, 163, 42, 0.1) 55%, rgba(243, 163, 42, 0.04));
  box-shadow: inset 0 0 0 1px rgba(255, 200, 74, 0.12);
}

.sf-toc-link.is-active::before {
  color: var(--gold-bright);
}

.sf-content {
  min-width: 0;
  width: 100%;
  max-width: 100%;
  min-height: 980px;
  box-sizing: border-box;
}

.sf-page-head {
  margin-bottom: 18px;
  text-align: center;
}

.sf-page-head h1 {
  margin: 6px 0 2px;
  font-size: clamp(1.5rem, 2vw, 1.95rem);
  font-weight: 700;
  letter-spacing: -0.01em;
}

.sf-badge {
  display: inline-block;
  padding: 3px 9px;
  border-radius: 999px;
  font-size: 0.68rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  background: rgba(255, 255, 255, 0.1);
  color: var(--gold-bright);
}

.sf-sub {
  margin: 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.52);
}

.sf-card {
  margin-bottom: 14px;
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(28, 30, 36, 0.76), rgba(24, 24, 27, 0.76));
  backdrop-filter: blur(6px);
}

.sf-card h2 {
  margin: 0 0 8px;
  font-size: 1.15rem;
}

.sf-meta {
  font-size: 0.85rem;
  color: rgba(243, 163, 42, 0.95);
  font-weight: 600;
}

.sf-concept-grid {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 36%);
  gap: 18px;
  align-items: center;
  margin-top: 8px;
}

.sf-concept-text {
  margin: 0;
  color: rgba(255, 255, 255, 0.8);
  font-size: 0.9rem;
  line-height: 1.62;
}

.sf-concept-art img {
  width: 100%;
  max-height: 320px;
  object-fit: cover;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
}

.sf-rates-title {
  margin: 0 0 16px;
  font-size: 1.2rem;
}

.sf-rates-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.sf-rate-block {
  padding: 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 10, 0.45);
}

.sf-rate-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.84rem;
}

.sf-rate-table td {
  padding: 7px 4px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  vertical-align: middle;
}

.sf-rate-table td:last-child {
  text-align: right;
  color: var(--gold);
  font-weight: 600;
}

.sf-rate-icon {
  display: inline-block;
  width: 6px;
  height: 6px;
  margin-right: 8px;
  border-radius: 50%;
  background: var(--gold);
  vertical-align: middle;
}

.sf-rates-note {
  margin-top: 12px;
  padding: 11px 12px;
  border-radius: 8px;
  border: 1px solid rgba(243, 163, 42, 0.45);
  background: rgba(243, 163, 42, 0.1);
  font-size: 0.88rem;
  color: rgba(255, 222, 162, 0.94);
}

.sf-premium-grid {
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 10px;
  margin-top: 8px;
}

.sf-premium-chip {
  padding: 16px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: #f1d2a0;
  font-size: 1.02rem;
  font-weight: 500;
}

.sf-premium-note {
  margin-top: 14px;
  padding: 14px 16px;
  border-radius: 8px;
  border: 1px solid rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.2);
  color: #f8dba6;
  font-size: 0.98rem;
  font-weight: 500;
}

.sf-classes-grid {
  display: grid;
  gap: 14px;
  margin-top: 8px;
}

.sf-class-card {
  padding: 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(8, 8, 10, 0.35);
}

.sf-class-card h3 {
  margin: 0 0 8px;
  color: #f3c46a;
  font-size: 1.05rem;
}

.sf-class-card > img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  margin-bottom: 10px;
}

.sf-class-trees {
  display: grid;
  grid-template-columns: 1fr;
  gap: 10px;
}

.sf-class-trees img {
  width: 100%;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
}

.sf-clan-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  margin-top: 10px;
}

.sf-clan-level-card {
  padding: 12px 14px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
}

.sf-clan-level-card h4 {
  margin: 0 0 6px;
  font-size: 1.02rem;
  color: #f1e4c6;
}

.sf-clan-level-card ul {
  margin: 0;
  padding-left: 1rem;
}

.sf-clan-level-card li {
  margin-bottom: 2px;
}

.sf-heading-white {
  margin: 0 0 12px;
  font-size: 1.1rem;
}

.sf-prose {
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.95rem;
}

.sf-prose p {
  margin: 0 0 12px;
}

.sf-prose h3 {
  margin: 14px 0 8px;
  font-size: 1.02rem;
  font-weight: 700;
  color: #f1b84a;
  letter-spacing: 0.01em;
}

.sf-data-table {
  width: 100%;
  border-collapse: collapse;
  font-size: 0.88rem;
  margin-top: 12px;
}

.sf-data-table th,
.sf-data-table td {
  padding: 8px 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  text-align: left;
}

.sf-data-table th {
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
}

.sf-server-list {
  display: flex;
  flex-direction: column;
  gap: 8px;
}

.sf-server-row {
  display: grid;
  grid-template-columns: 1fr auto auto auto;
  gap: 7px;
  align-items: center;
  padding: 9px 10px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(8, 8, 10, 0.42);
  font-size: 0.82rem;
}

.sf-server-row-name {
  font-weight: 600;
}

.sf-server-row--active {
  border-color: rgba(243, 163, 42, 0.55);
  background: linear-gradient(90deg, rgba(243, 163, 42, 0.14), rgba(243, 163, 42, 0.04));
}

.sf-tag {
  font-size: 0.62rem;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  padding: 2px 8px;
  border-radius: 999px;
  border: 1px solid rgba(197, 160, 89, 0.45);
  color: var(--gold-muted);
}

.sf-tag--main {
  color: var(--gold);
  border-color: rgba(243, 163, 42, 0.55);
}

.sf-tag--new {
  color: #ffe9b9;
  border-color: rgba(255, 226, 161, 0.65);
  background: rgba(243, 163, 42, 0.14);
}

.sf-server-chronicle {
  color: var(--text-muted);
}

.sf-server-icon {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 32px;
  height: 32px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
}

.sf-server-icon:hover {
  color: var(--gold);
}

@media (max-width: 1100px) {
  .sf-layout {
    grid-template-columns: 1fr;
  }

  .sf-sidebar {
    position: static;
  }
}

@media (max-width: 700px) {
  .sf-main-wrap {
    width: calc(100% - 18px);
  }

  .sf-rates-grid {
    grid-template-columns: 1fr;
  }

  .sf-premium-grid {
    grid-template-columns: 1fr;
  }

  .sf-clan-grid {
    grid-template-columns: 1fr;
  }

  .sf-concept-grid {
    grid-template-columns: 1fr;
  }

  .sf-server-row {
    grid-template-columns: 1fr;
  }
}

/* ------------------------------------------------------------------ Footer (Reborn-style bar + Aurum wordmark) */
.site-footer {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  margin-top: clamp(28px, 4vw, 48px);
  padding: 28px 0 36px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: transparent;
}

.footer-bar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(0, 2.2fr) minmax(0, 0.9fr);
  gap: 28px 36px;
  align-items: start;
}

.footer-brand {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  min-width: 0;
  text-align: center;
}

.footer-wordmark {
  width: min(100%, 480px);
  height: auto;
  display: block;
  /* Black PNG background blends with page bg instead of a hard rectangle */
  mix-blend-mode: screen;
}

.footer-tagline {
  margin: 0;
  width: min(100%, 480px);
  font-size: 0.7rem;
  font-weight: 700;
  letter-spacing: 0.28em;
  text-transform: uppercase;
  text-align: center;
  color: rgba(255, 255, 255, 0.55);
  /* letter-spacing adds extra gap on the right; nudge so optical center matches logo */
  padding-left: 0.14em;
}

.footer-copyright {
  margin: 0;
  width: min(100%, 480px);
  font-size: 0.78rem;
  text-align: center;
  color: var(--text-faint);
}

.footer-center {
  display: flex;
  flex-direction: column;
  gap: 10px;
  font-size: 0.82rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.88);
}

.footer-line {
  margin: 0;
  display: flex;
  flex-wrap: wrap;
  gap: 0.25rem 0.5rem;
  align-items: baseline;
}

.footer-kicker {
  flex-shrink: 0;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.footer-line a {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 400;
}

.footer-line a:hover {
  color: var(--gold-muted);
}

.footer-muted {
  color: var(--text-faint);
}

.footer-aside {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 0;
  min-width: 0;
}

.footer-socials {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  justify-content: flex-end;
}

.footer-social {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.04);
  color: rgba(255, 255, 255, 0.85);
  transition: border-color 0.15s, background 0.15s, color 0.15s;
}

.footer-social:hover {
  border-color: rgba(243, 163, 42, 0.55);
  background: rgba(243, 163, 42, 0.08);
  color: #fff;
}

.footer-social svg {
  width: 20px;
  height: 20px;
}

@media (max-width: 960px) {
  .footer-bar {
    grid-template-columns: 1fr;
    gap: 24px;
  }

  .footer-aside {
    align-items: flex-start;
  }

  .footer-socials {
    justify-content: flex-start;
  }
}

/* ------------------------------------------------------------------ Sign in / Sign up */
.page-bg--auth {
  background-image:
    linear-gradient(180deg, rgba(3, 2, 1, 0.38) 0%, rgba(2, 1, 0, 0.5) 100%),
    radial-gradient(ellipse 100% 80% at 50% 20%, rgba(243, 163, 42, 0.06), transparent 55%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.46), rgba(4, 3, 2, 0.88)),
    var(--site-full-bg);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
}

.page-bg--dashboard {
  background-image:
    linear-gradient(180deg, rgba(3, 2, 1, 0.34) 0%, rgba(2, 1, 0, 0.48) 100%),
    radial-gradient(ellipse 100% 80% at 50% 18%, rgba(243, 163, 42, 0.05), transparent 55%),
    linear-gradient(180deg, rgba(8, 7, 6, 0.42), rgba(4, 3, 2, 0.86)),
    var(--site-full-bg);
  background-size: auto, auto, auto, cover;
  background-position: center, center, center, center;
}

.auth-main {
  position: relative;
  z-index: 1;
  padding: 28px 0 48px;
}

.auth-shell {
  max-width: 1320px;
}

.auth-grid {
  display: grid;
  grid-template-columns: minmax(280px, 380px) minmax(260px, 1fr) minmax(240px, 320px);
  gap: 28px 32px;
  align-items: start;
}

.auth-card {
  border-radius: 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(14, 11, 8, 0.88);
  backdrop-filter: blur(12px);
  overflow: hidden;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.45);
}

.auth-tabs {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
}

.auth-tab {
  display: flex;
  align-items: flex-start;
  gap: 10px;
  padding: 14px 14px 16px;
  margin: 0;
  border: none;
  border-right: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.55);
  font: inherit;
  text-align: left;
  cursor: pointer;
  transition: background 0.15s, color 0.15s;
}

.auth-tab:last-child {
  border-right: none;
}

.auth-tab:hover {
  color: rgba(255, 255, 255, 0.85);
  background: rgba(255, 255, 255, 0.04);
}

.auth-tab.is-active {
  background: rgba(30, 26, 22, 0.95);
  color: #fff;
}

.auth-tab-icon {
  flex-shrink: 0;
  margin-top: 2px;
  opacity: 0.85;
}

.auth-tab-text {
  display: flex;
  flex-direction: column;
  gap: 2px;
  min-width: 0;
}

.auth-tab-title {
  font-weight: 700;
  font-size: 0.95rem;
}

.auth-tab-sub {
  font-size: 0.72rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.45);
  line-height: 1.35;
}

.auth-tab.is-active .auth-tab-sub {
  color: rgba(255, 255, 255, 0.55);
}

.auth-panels {
  padding: 20px 18px 22px;
}

.auth-panel[hidden] {
  display: none !important;
}

.auth-panel-lead {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
}

.auth-form .auth-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.78rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.65);
}

.auth-input {
  width: 100%;
  padding: 12px 14px;
  margin-bottom: 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  font: inherit;
  font-size: 0.92rem;
}

.auth-input::placeholder {
  color: rgba(255, 255, 255, 0.35);
}

.auth-input:focus {
  outline: none;
  border-color: rgba(243, 163, 42, 0.55);
  box-shadow: 0 0 0 2px rgba(243, 163, 42, 0.15);
}

.auth-field-wrap {
  position: relative;
  margin-bottom: 14px;
}

.auth-field-wrap .auth-input {
  margin-bottom: 0;
  padding-right: 44px;
}

.auth-pw-toggle {
  position: absolute;
  right: 8px;
  top: 50%;
  transform: translateY(-50%);
  display: flex;
  align-items: center;
  justify-content: center;
  width: 36px;
  height: 36px;
  padding: 0;
  border: none;
  border-radius: 8px;
  background: transparent;
  color: rgba(255, 255, 255, 0.55);
  cursor: pointer;
}

.auth-pw-toggle:hover {
  color: var(--gold);
}

/* Mock Cloudflare — στο flow, πάντα ορατό (όχι hover / absolute) */
.auth-cf-mock {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  padding: 12px 14px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.22);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.92);
  font-size: 0.82rem;
  opacity: 1;
}

.auth-cf-left {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.auth-cf-check {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 22px;
  height: 22px;
  border-radius: 50%;
  background: #2e7d32;
  color: #fff;
  font-size: 0.75rem;
  font-weight: 700;
}

.auth-cf-success {
  font-weight: 600;
}

.auth-cf-right {
  display: flex;
  flex-direction: column;
  align-items: flex-end;
  gap: 2px;
  text-align: right;
}

.auth-cf-logo {
  font-weight: 700;
  font-size: 0.78rem;
  color: rgba(255, 255, 255, 0.75);
}

.auth-cf-meta {
  font-size: 0.7rem;
  color: rgba(255, 255, 255, 0.45);
}

.auth-row-between {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  flex-wrap: wrap;
  margin-bottom: 16px;
  font-size: 0.85rem;
}

.auth-check {
  display: inline-flex;
  align-items: flex-start;
  gap: 8px;
  color: rgba(255, 255, 255, 0.85);
  cursor: pointer;
}

.auth-check--block {
  display: flex;
  margin-bottom: 10px;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.8);
}

.auth-check--block a {
  color: var(--gold);
}

.auth-check--block a:hover {
  color: var(--gold-bright);
}

.auth-link-gold {
  color: var(--gold);
  font-weight: 600;
  font-size: 0.85rem;
}

.auth-link-gold:hover {
  color: var(--gold-bright);
}

.auth-submit {
  width: 100%;
  padding: 14px 20px;
  border: none;
  border-radius: 10px;
  background: linear-gradient(180deg, #ffd35a, #e8a31a);
  color: #1a1208;
  font: inherit;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: filter 0.15s;
}

.auth-submit:hover {
  filter: brightness(1.05);
}

.auth-column-center {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: flex-start;
  gap: 12px;
  padding-top: 8px;
}

.auth-hero-art {
  width: 100%;
  max-width: 520px;
}

.auth-hero-char {
  width: 100%;
  height: auto;
  display: block;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.auth-column-right {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-right-block[hidden] {
  display: none !important;
}

.auth-promo {
  padding: 18px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(14, 11, 8, 0.65);
}

.auth-promo-icon {
  color: var(--gold);
  margin-bottom: 8px;
}

.auth-promo-title {
  margin: 0 0 8px;
  font-size: 1.05rem;
  font-weight: 700;
  color: #fff;
}

.auth-promo-text {
  margin: 0 0 14px;
  font-size: 0.88rem;
  color: var(--text-muted);
  line-height: 1.45;
}

.auth-promo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  padding: 10px 18px;
  border-radius: 999px;
  border: 1px solid rgba(243, 163, 42, 0.55);
  background: transparent;
  color: var(--gold-bright);
  font-size: 0.88rem;
  font-weight: 600;
}

.auth-promo-btn:hover {
  background: rgba(243, 163, 42, 0.12);
  color: #fff;
}

.auth-promo-btn--full {
  width: 100%;
  margin-top: 8px;
}

.auth-steps {
  margin: 0;
  padding-left: 1.1rem;
  color: rgba(255, 255, 255, 0.88);
  font-size: 0.88rem;
}

.auth-steps li {
  margin-bottom: 14px;
}

.auth-steps li::marker {
  color: var(--gold);
  font-weight: 700;
}

.auth-steps strong {
  color: #fff;
  display: block;
  margin-bottom: 4px;
}

.auth-steps p {
  margin: 0;
  color: var(--text-muted);
  line-height: 1.45;
}

@media (max-width: 1100px) {
  .auth-grid {
    grid-template-columns: 1fr;
  }

  .auth-column-center {
    order: 3;
    flex-direction: row;
    flex-wrap: wrap;
    justify-content: center;
  }

  .auth-hero-art {
    max-width: 360px;
  }
}

/* Reset password */
.auth-card--reset {
  overflow: visible;
}

.auth-reset-head {
  display: flex;
  align-items: center;
  gap: 12px;
  margin-bottom: 18px;
}

.auth-back {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 40px;
  height: 40px;
  flex-shrink: 0;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.35);
  color: rgba(255, 255, 255, 0.9);
  transition: background 0.15s, color 0.15s, border-color 0.15s;
}

.auth-back:hover {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
  border-color: rgba(243, 163, 42, 0.45);
}

.auth-reset-title {
  margin: 0;
  font-size: 1.25rem;
  font-weight: 700;
  letter-spacing: -0.02em;
  color: #fff;
}

.auth-info-banner {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  margin-bottom: 18px;
  padding: 14px 16px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.06);
}

.auth-info-banner-icon {
  flex-shrink: 0;
  margin-top: 2px;
  color: rgba(255, 255, 255, 0.55);
}

.auth-info-banner-text {
  margin: 0;
  font-size: 0.86rem;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.72);
}

.auth-form--reset .auth-input {
  margin-bottom: 14px;
}

.visually-hidden {
  position: absolute;
  width: 1px;
  height: 1px;
  padding: 0;
  margin: -1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
  white-space: nowrap;
  border: 0;
}

/* Documentation (two-column: main + sidebar, Reborn-style) */
.page-doc .doc-main {
  min-width: 0;
}

.doc-page {
  padding-bottom: clamp(32px, 5vw, 64px);
}

.doc-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(200px, 260px);
  gap: clamp(28px, 4vw, 56px);
  align-items: start;
  padding-top: clamp(20px, 3vw, 36px);
}

.doc-page-title {
  margin: 0 0 clamp(20px, 3vw, 28px);
  font-size: clamp(1.65rem, 3vw, 2.15rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.doc-main {
  color: rgba(255, 255, 255, 0.72);
  font-size: 0.95rem;
  line-height: 1.65;
}

.doc-main-note {
  margin: 0 0 1rem;
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.52);
}

.doc-section-heading {
  margin: clamp(1.75rem, 3vw, 2.25rem) 0 0.85rem;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.92);
}

.doc-section-heading:first-of-type {
  margin-top: 0;
}

.doc-rule-list {
  margin: 0;
  padding-left: 1.35rem;
}

.doc-rule-list li {
  margin-bottom: 1rem;
}

.doc-rule-list li:last-child {
  margin-bottom: 0;
}

.doc-rule-list strong {
  color: rgba(255, 255, 255, 0.94);
  font-weight: 600;
}

.doc-inline-link {
  color: var(--gold);
  text-decoration: none;
  border-bottom: 1px solid rgba(243, 163, 42, 0.35);
}

.doc-inline-link:hover {
  color: var(--gold-bright);
  border-bottom-color: rgba(255, 200, 74, 0.5);
}

.doc-sidebar {
  position: sticky;
  top: calc(var(--header-h, 72px) + 12px);
  padding: 18px 18px 20px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(18, 16, 12, 0.72), rgba(8, 7, 5, 0.55));
  backdrop-filter: blur(10px);
}

.doc-nav-title {
  margin: 0 0 12px;
  font-size: 0.95rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.95);
}

.doc-nav {
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.doc-nav-link {
  display: block;
  padding: 6px 0;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.62);
  text-decoration: none;
  border-bottom: 1px solid transparent;
  transition: color 0.15s ease, border-color 0.15s ease;
}

.doc-nav-link:hover {
  color: rgba(255, 255, 255, 0.88);
}

.doc-nav-link.is-active {
  color: var(--gold);
  font-weight: 600;
  pointer-events: none;
}

@media (max-width: 960px) {
  .doc-layout {
    grid-template-columns: 1fr;
  }

  .doc-sidebar {
    position: static;
  }
}

/* Support page (tickets + FAQ accordion) */
.page-support .support-main {
  position: relative;
  z-index: 1;
  padding: clamp(24px, 4vw, 40px) 0 clamp(48px, 8vw, 80px);
}

.support-container {
  max-width: 640px;
  margin: 0 auto;
}

.support-back {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-bottom: 20px;
  font-size: 0.9rem;
  color: rgba(255, 255, 255, 0.55);
  text-decoration: none;
  transition: color 0.15s ease;
}

.support-back:hover {
  color: var(--gold);
}

.support-page-title {
  margin: 0 0 10px;
  font-size: clamp(1.5rem, 3.5vw, 1.85rem);
  font-weight: 700;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.support-intro {
  margin: 0 0 22px;
  font-size: 0.95rem;
  color: rgba(255, 255, 255, 0.62);
}

.support-intro-faq {
  color: var(--gold);
  font-weight: 600;
  text-decoration: none;
}

.support-intro-faq:hover {
  color: var(--gold-bright);
}

.support-ticket-card {
  padding: clamp(20px, 3vw, 26px);
  margin-bottom: clamp(36px, 6vw, 52px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(22, 18, 14, 0.85), rgba(10, 8, 6, 0.72));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.support-ticket-card-title {
  margin: 0 0 14px;
  font-size: 1.05rem;
  font-weight: 600;
  color: rgba(255, 255, 255, 0.94);
}

.support-ticket-message {
  margin: 0 0 18px;
  font-size: 0.92rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.68);
}

.support-ticket-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
}

.support-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 120px;
  padding: 10px 20px;
  font-size: 0.9rem;
  font-weight: 600;
  border-radius: 8px;
  text-decoration: none;
  transition: background 0.15s ease, color 0.15s ease, border-color 0.15s ease;
}

.support-btn--primary {
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  color: #1a1208;
  border: 1px solid rgba(255, 200, 74, 0.35);
}

.support-btn--primary:hover {
  filter: brightness(1.06);
}

.support-btn--outline {
  background: transparent;
  color: var(--gold);
  border: 1px solid rgba(243, 163, 42, 0.55);
}

.support-btn--outline:hover {
  background: rgba(243, 163, 42, 0.1);
  color: var(--gold-bright);
}

.support-btn--block {
  width: 100%;
  margin-top: 8px;
  border: none;
  cursor: pointer;
}

.support-ticket-form .support-label {
  display: block;
  margin: 12px 0 6px;
  font-size: 0.82rem;
  color: rgba(255, 255, 255, 0.55);
}

.support-input,
.support-textarea {
  width: 100%;
  box-sizing: border-box;
  padding: 10px 12px;
  border-radius: 8px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 255, 255, 0.9);
  font-family: inherit;
  font-size: 0.9rem;
}

.support-textarea {
  resize: vertical;
  min-height: 120px;
}

.support-faq-title {
  margin: 0 0 18px;
  font-size: clamp(1.35rem, 3vw, 1.65rem);
  font-weight: 700;
  color: rgba(255, 255, 255, 0.96);
}

.faq-category {
  margin-bottom: 28px;
}

.faq-category:last-child {
  margin-bottom: 0;
}

.faq-category-title {
  margin: 0 0 12px;
  font-size: 0.78rem;
  font-weight: 600;
  letter-spacing: 0.12em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45);
}

.faq-item {
  margin-bottom: 8px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.28);
  overflow: hidden;
}

.faq-trigger {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  width: 100%;
  padding: 14px 16px;
  margin: 0;
  border: none;
  background: transparent;
  text-align: left;
  cursor: pointer;
  font-family: inherit;
  font-size: 0.92rem;
  font-weight: 500;
  color: rgba(255, 255, 255, 0.88);
  transition: background 0.15s ease;
}

.faq-trigger:hover {
  background: rgba(255, 255, 255, 0.04);
}

.faq-question {
  flex: 1;
  min-width: 0;
}

.faq-icon {
  flex-shrink: 0;
  width: 1.5rem;
  text-align: center;
  font-size: 1.1rem;
  font-weight: 600;
  color: var(--gold);
  line-height: 1;
}

.faq-panel {
  display: none;
  padding: 0 16px 14px 16px;
  font-size: 0.88rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.58);
}

.faq-item.is-open .faq-panel {
  display: block;
}

.faq-item.is-open .faq-trigger {
  padding-bottom: 8px;
}

/* Donate page */
.donate-main {
  padding-top: 96px;
  padding-bottom: 72px;
}

.donate-section .container {
  max-width: 1180px;
}

.donate-head {
  margin-bottom: 18px;
}

.donate-title {
  margin: 0 0 8px;
  font-size: clamp(1.55rem, 3.6vw, 2.15rem);
  font-weight: 800;
  letter-spacing: -0.02em;
  color: rgba(255, 255, 255, 0.96);
}

.donate-subtitle {
  margin: 0;
  max-width: 62ch;
  font-size: 0.95rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.donate-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.3fr) minmax(0, 0.9fr);
  gap: 18px;
  align-items: start;
}

.donate-card,
.donate-side-card {
  padding: clamp(18px, 2.6vw, 24px);
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(165deg, rgba(22, 18, 14, 0.85), rgba(10, 8, 6, 0.72));
  box-shadow: 0 18px 48px rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(12px);
}

.donate-form {
  margin: 0;
}

.donate-row {
  margin-bottom: 14px;
}

.donate-label {
  display: block;
  margin: 0 0 6px;
  font-size: 0.82rem;
  font-weight: 600;
  letter-spacing: 0.02em;
  color: rgba(255, 255, 255, 0.62);
}

.donate-label--inline {
  margin-bottom: 10px;
}

.donate-input {
  width: 100%;
  box-sizing: border-box;
  padding: 11px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.28);
  color: rgba(255, 255, 255, 0.92);
  font-family: inherit;
  font-size: 0.95rem;
  outline: none;
}

.donate-input:focus {
  border-color: rgba(243, 163, 42, 0.55);
  box-shadow: 0 0 0 3px rgba(243, 163, 42, 0.12);
}

.donate-coins-wrap {
  position: relative;
}

.donate-bonus-pill {
  position: absolute;
  right: 10px;
  top: 50%;
  transform: translateY(-50%);
  padding: 6px 10px;
  border-radius: 999px;
  font-size: 0.82rem;
  font-weight: 700;
  color: rgba(22, 18, 14, 0.92);
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: 1px solid rgba(255, 200, 74, 0.35);
  pointer-events: none;
}

.donate-hint {
  margin: 8px 0 0;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.56);
}

.donate-methods {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.donate-method {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(0, 0, 0, 0.22);
  color: rgba(255, 255, 255, 0.86);
  font-family: inherit;
  font-weight: 600;
  font-size: 0.9rem;
  padding: 10px 12px;
  border-radius: 10px;
  cursor: pointer;
  transition: transform 0.1s ease, border-color 0.15s ease, background 0.15s ease;
}

.donate-method:hover {
  transform: translateY(-1px);
  border-color: rgba(243, 163, 42, 0.35);
}

.donate-method.is-active {
  border-color: rgba(243, 163, 42, 0.65);
  background: rgba(243, 163, 42, 0.12);
  color: rgba(255, 255, 255, 0.94);
}

.donate-totals {
  margin: 18px 0 14px;
  padding: 12px 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(0, 0, 0, 0.22);
}

.donate-totals-row {
  display: flex;
  justify-content: space-between;
  align-items: baseline;
  gap: 14px;
  padding: 6px 0;
  color: rgba(255, 255, 255, 0.88);
}

.donate-totals-row--muted {
  color: rgba(255, 255, 255, 0.62);
  font-size: 0.92rem;
}

.donate-totals-k {
  font-size: 0.9rem;
}

.donate-totals-v {
  font-size: 1rem;
}

.donate-submit {
  width: 100%;
  border: none;
  cursor: pointer;
  padding: 12px 16px;
  border-radius: 10px;
  font-size: 0.95rem;
  font-weight: 800;
  color: #1a1208;
  background: linear-gradient(180deg, var(--gold-bright), var(--gold));
  border: 1px solid rgba(255, 200, 74, 0.35);
}

.donate-submit:hover {
  filter: brightness(1.06);
}

.donate-note {
  margin: 10px 0 0;
  font-size: 0.82rem;
  line-height: 1.45;
  color: rgba(255, 255, 255, 0.5);
}

.donate-side {
  display: grid;
  gap: 18px;
}

.donate-side-title {
  margin: 0 0 10px;
  font-size: 1.05rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.94);
}

.donate-side-text {
  margin: 0 0 12px;
  font-size: 0.9rem;
  line-height: 1.55;
  color: rgba(255, 255, 255, 0.62);
}

.donate-bonus-list {
  display: grid;
  gap: 10px;
}

.donate-bonus-item {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  padding: 10px 12px;
  border-radius: 10px;
  border: 1px solid rgba(255, 255, 255, 0.07);
  background: rgba(0, 0, 0, 0.22);
  font-size: 0.88rem;
  color: rgba(255, 255, 255, 0.72);
}

.donate-bonus-percent {
  color: var(--gold);
  font-weight: 800;
}

.donate-policy-link {
  display: inline-flex;
  font-weight: 700;
  color: var(--gold);
  text-decoration: none;
}

.donate-policy-link:hover {
  color: var(--gold-bright);
}

@media (max-width: 980px) {
  .donate-grid {
    grid-template-columns: 1fr;
  }
  .donate-main {
    padding-top: 84px;
  }
}
