:root {
  --bg: #070608;
  --panel: rgba(18, 14, 16, 0.78);
  --panel-strong: rgba(26, 19, 20, 0.92);
  --line: rgba(255, 220, 170, 0.24);
  --line-hot: rgba(255, 88, 39, 0.62);
  --text: #fff5e8;
  --muted: #b7a99c;
  --gold: #f7c46b;
  --ember: #ff4f22;
  --crimson: #8e1724;
  --violet: #5a358e;
  --cyan: #77e7e0;
  --shadow: 0 22px 80px rgba(0, 0, 0, 0.58);
  color-scheme: dark;
}

* {
  box-sizing: border-box;
}

html {
  scroll-behavior: smooth;
}

body {
  margin: 0;
  min-width: 320px;
  overflow-x: hidden;
  background:
    radial-gradient(circle at 72% 18%, rgba(255, 79, 34, 0.24), transparent 32rem),
    radial-gradient(circle at 22% 72%, rgba(90, 53, 142, 0.2), transparent 30rem),
    var(--bg);
  color: var(--text);
  font-family: Inter, Arial, sans-serif;
}

body.menu-open {
  overflow: hidden;
}

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

.page-shell {
  min-height: 100vh;
  overflow: hidden;
}

.site-header {
  position: fixed;
  z-index: 20;
  top: 0;
  left: 0;
  right: 0;
  display: grid;
  grid-template-columns: auto 1fr auto auto;
  align-items: center;
  gap: 28px;
  min-height: 78px;
  padding: 12px clamp(18px, 4vw, 48px);
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, rgba(5, 4, 8, 0.9), rgba(5, 4, 8, 0.58));
  backdrop-filter: blur(14px);
}

.brand {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.35rem;
  font-weight: 800;
}

.brand img {
  width: 48px;
  height: 48px;
  border-radius: 4px;
  box-shadow: 0 0 28px rgba(255, 72, 24, 0.44);
}

.top-nav {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: clamp(16px, 2.4vw, 34px);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.92rem;
  font-weight: 700;
  text-transform: uppercase;
}

.top-nav a,
.top-nav-trigger {
  position: relative;
  border: 0;
  background: transparent;
  color: rgba(255, 245, 232, 0.82);
  cursor: pointer;
  font: inherit;
  text-transform: inherit;
}

.top-nav-item {
  position: relative;
  display: inline-flex;
  align-items: center;
}

.top-nav a::after,
.top-nav-trigger::after {
  position: absolute;
  left: 0;
  right: 0;
  bottom: -27px;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  content: "";
  opacity: 0;
  transform: scaleX(0.3);
  transition: 180ms ease;
}

.top-nav a:hover,
.top-nav a:focus-visible,
.top-nav-trigger:hover,
.top-nav-trigger:focus-visible {
  color: #fff;
  outline: 0;
}

.top-nav a:hover::after,
.top-nav a:focus-visible::after,
.top-nav-trigger:hover::after,
.top-nav-trigger:focus-visible::after {
  opacity: 1;
  transform: scaleX(1);
}

.top-subnav {
  position: absolute;
  top: calc(100% + 24px);
  left: 50%;
  z-index: 60;
  display: grid;
  min-width: 230px;
  padding: 8px;
  border: 1px solid rgba(255, 220, 170, 0.22);
  background: rgba(21, 23, 22, 0.97);
  box-shadow: var(--shadow);
  opacity: 0;
  pointer-events: none;
  transform: translateX(-50%) translateY(8px);
  transition: 160ms ease;
}

.top-subnav::before {
  position: absolute;
  left: 0;
  right: 0;
  bottom: 100%;
  height: 24px;
  content: "";
}

.top-subnav a {
  display: flex;
  align-items: center;
  min-height: 38px;
  padding: 0 14px;
  color: rgba(255, 245, 232, 0.82);
  font-family: Inter, Arial, sans-serif;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.top-subnav a::after {
  display: none;
}

.top-subnav a:hover,
.top-subnav a:focus-visible {
  background: rgba(255, 255, 255, 0.06);
  color: #10ff28;
}

.top-nav-item:hover .top-subnav,
.top-nav-item:focus-within .top-subnav {
  opacity: 1;
  pointer-events: auto;
  transform: translateX(-50%) translateY(0);
}

.header-actions {
  display: flex;
  align-items: center;
  gap: 14px;
}

.account-login-menu {
  position: relative;
  display: inline-flex;
}

.account-login-menu::before {
  position: absolute;
  left: 0;
  right: 0;
  top: 100%;
  height: 18px;
  content: "";
}

.language,
.menu-toggle {
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.04);
  color: var(--text);
  cursor: pointer;
}

.language-menu {
  position: relative;
}

.language {
  width: 48px;
  height: 48px;
  transform: rotate(45deg);
  font-weight: 700;
}

.language span {
  display: block;
  transform: rotate(-45deg);
}

.language-panel {
  position: absolute;
  top: calc(100% + 12px);
  right: 0;
  z-index: 60;
  display: none;
  min-width: 148px;
  padding: 8px;
  border: 1px solid rgba(255, 220, 170, 0.24);
  background: rgba(21, 23, 22, 0.96);
  box-shadow: var(--shadow);
}

.language-menu.is-open .language-panel {
  display: grid;
}

.language-panel a {
  padding: 10px 12px;
  color: rgba(255, 245, 232, 0.86);
  font-weight: 800;
}

.language-panel a:hover,
.language-panel a:focus-visible,
.language-panel a[aria-current="true"] {
  background: rgba(255, 255, 255, 0.06);
  color: var(--gold);
}

.account-link,
.primary-button,
.ghost-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 22px;
  border: 1px solid rgba(255, 220, 170, 0.54);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.86rem;
  font-weight: 800;
  text-transform: uppercase;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.1), rgba(255, 255, 255, 0)),
    linear-gradient(135deg, rgba(142, 23, 36, 0.78), rgba(90, 53, 142, 0.6));
  box-shadow: 0 0 26px rgba(255, 79, 34, 0.2), inset 0 0 0 1px rgba(255, 255, 255, 0.09);
  transition: 180ms ease;
}

.account-link:hover,
.primary-button:hover,
.ghost-button:hover {
  border-color: rgba(255, 244, 212, 0.9);
  transform: translateY(-2px);
}

.login-popover {
  position: absolute;
  top: 100%;
  right: 0;
  z-index: 50;
  display: none;
  width: min(82vw, 370px);
  padding-top: 16px;
}

.account-login-menu:hover .login-popover,
.account-login-menu:focus-within .login-popover {
  display: block;
}

.login-popover-form {
  display: grid;
  gap: 16px;
  padding: 28px 30px;
  border: 1px solid rgba(255, 220, 170, 0.24);
  background: rgba(21, 23, 22, 0.96);
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.login-popover-form p {
  margin: 0;
  color: rgba(255, 245, 232, 0.78);
  font-weight: 800;
}

.login-popover-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 245, 232, 0.72);
  font-size: 0.88rem;
  font-weight: 800;
}

.login-popover-form input {
  width: 100%;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(255, 220, 170, 0.28);
  border-radius: 3px;
  outline: 0;
  background: #e9f0ff;
  color: #1b1d28;
  font: 600 0.94rem Inter, Arial, sans-serif;
}

.login-popover-form input:focus {
  border-color: rgba(255, 196, 107, 0.84);
  box-shadow: 0 0 0 3px rgba(255, 196, 107, 0.16);
}

.login-popover-form .password-check {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-top: -6px;
  font-size: 0.84rem;
  font-weight: 700;
  cursor: pointer;
}

.login-popover-form .password-check input {
  width: 16px;
  min-height: 16px;
  height: 16px;
  padding: 0;
  accent-color: var(--gold);
  cursor: pointer;
}

.login-help {
  color: rgba(216, 207, 255, 0.68);
  font-size: 0.86rem;
  font-weight: 700;
}

.login-submit {
  min-height: 44px;
  border: 0;
  border-radius: 3px;
  background: #f7f7f5;
  color: #181326;
  cursor: pointer;
  font-family: Cinzel, Georgia, serif;
  font-weight: 900;
  text-transform: uppercase;
}

.login-submit:hover,
.login-submit:focus-visible {
  background: #fff5d7;
}

.login-new {
  color: rgba(255, 245, 232, 0.64);
  font-size: 0.86rem;
  line-height: 1.7;
}

.login-new a {
  color: #fff;
  font-weight: 900;
}

.menu-toggle {
  display: none;
  width: 46px;
  height: 46px;
  padding: 12px;
}

.menu-toggle span {
  display: block;
  height: 2px;
  margin: 7px 0;
  background: var(--text);
}

.side-rail {
  position: fixed;
  z-index: 15;
  top: 50%;
  right: clamp(16px, 2.2vw, 32px);
  display: flex;
  flex-direction: column;
  gap: 14px;
  transform: translateY(-50%);
}

.side-rail a {
  position: relative;
  width: 44px;
  height: 44px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 50%;
  background: rgba(4, 4, 6, 0.72);
  box-shadow: inset 0 0 20px rgba(255, 79, 34, 0.08);
}

.side-rail a::before {
  position: absolute;
  inset: 12px;
  border-radius: 50%;
  background: linear-gradient(135deg, var(--gold), var(--ember));
  content: "";
}

.side-rail span {
  position: absolute;
  right: 52px;
  top: 50%;
  width: max-content;
  max-width: 150px;
  color: rgba(255, 245, 232, 0.74);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
  opacity: 0;
  transform: translateY(-50%) translateX(10px);
  transition: 180ms ease;
}

.side-rail a:hover span,
.side-rail a:focus-visible span {
  opacity: 1;
  transform: translateY(-50%);
}

.hero {
  position: relative;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(290px, 380px) 264px;
  align-items: end;
  gap: clamp(24px, 5vw, 70px);
  min-height: 100vh;
  padding: 132px clamp(20px, 7vw, 120px) 64px;
  padding-right: max(108px, clamp(20px, 7vw, 120px));
  background:
    linear-gradient(90deg, rgba(5, 4, 8, 0.94) 0%, rgba(5, 4, 8, 0.76) 35%, rgba(5, 4, 8, 0.12) 68%),
    linear-gradient(0deg, rgba(5, 4, 8, 0.98) 0%, rgba(5, 4, 8, 0) 38%),
    url("assets/phoenix-hero.png") center / cover no-repeat;
}

.hero::after {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background-image:
    linear-gradient(rgba(255, 255, 255, 0.035) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.025) 1px, transparent 1px);
  background-size: 80px 80px;
  mask-image: linear-gradient(90deg, black, transparent 72%);
  content: "";
}

.ember-field {
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    radial-gradient(circle at 16% 68%, rgba(255, 196, 107, 0.16), transparent 15rem),
    radial-gradient(circle at 55% 45%, rgba(255, 79, 34, 0.18), transparent 24rem);
  mix-blend-mode: screen;
}

.hero-promo {
  position: absolute;
  z-index: 6;
  top: 118px;
  right: 220px;
  left: auto;
  width: 210px;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  text-decoration: none;
  line-height: 0.82;
  pointer-events: auto;
}

.hero-promo span {
  display: block;
  color: #f6c945;
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
  text-shadow:
    0 1px 0 #fff6c8,
    0 3px 0 #a86b12,
    0 6px 14px rgba(0, 0, 0, 0.75);
}

.hero-promo .promo-offer {
  font-size: clamp(1.55rem, 2.2vw, 2.15rem);
  letter-spacing: 0.16em;
}

.hero-promo .promo-percent {
  font-size: clamp(4.4rem, 6.4vw, 6.4rem);
  letter-spacing: -0.03em;
}

.hero-promo .promo-more {
  font-size: clamp(2rem, 3vw, 3rem);
  letter-spacing: 0.18em;
}

.hero-promo .promo-until {
  margin-top: 16px;
  color: #f6d78a;
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  line-height: 1.35;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.85);
}

.hero-content,
.season-panel,
.vote-panel,
.server-section,
.siege-section,
.rankings-section,
.features-section,
.events-section,
.events-page,
.start-section {
  position: relative;
  z-index: 2;
  min-width: 0;
}

.hero-content {
  width: 100%;
  max-width: 760px;
  min-width: 0;
}

.launch-ribbon {
  display: inline-flex;
  align-items: center;
  min-height: 34px;
  margin: 0 0 22px;
  padding: 0 22px;
  color: #1d0b05;
  background: linear-gradient(90deg, var(--gold), #fff1c7, var(--gold));
  clip-path: polygon(7% 0, 100% 0, 93% 100%, 0 100%);
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
  text-transform: uppercase;
}

h1,
h2,
h3,
p {
  margin-top: 0;
}

h1,
h2,
h3 {
  font-family: Cinzel, Georgia, serif;
  line-height: 1;
}

h1 {
  max-width: 680px;
  margin-bottom: 18px;
  font-size: clamp(3.6rem, 8vw, 8.4rem);
  font-weight: 800;
  text-shadow: 0 5px 0 rgba(0, 0, 0, 0.24), 0 0 34px rgba(255, 79, 34, 0.38);
}

h1 span {
  display: block;
}

.hero-kicker {
  max-width: min(620px, 100%);
  margin-bottom: 30px;
  color: rgba(255, 245, 232, 0.82);
  font-size: clamp(1rem, 1.4vw, 1.22rem);
  line-height: 1.7;
  overflow-wrap: break-word;
}

.server-status {
  display: flex;
  align-items: center;
  gap: 16px;
  margin: 0 0 32px;
}

.status-pill {
  display: inline-flex;
  align-items: center;
  min-height: 30px;
  padding: 0 18px;
  color: #071312;
  clip-path: polygon(8% 0, 100% 0, 92% 100%, 0 100%);
  font-size: 0.78rem;
  font-weight: 800;
}

.status-pill.is-online {
  background: linear-gradient(90deg, #49ff7a, #d8ffe4);
}

.status-pill.is-offline {
  background: linear-gradient(90deg, #ff3b3b, #ffd1d1);
}

.infinity-mark {
  color: rgba(255, 255, 255, 0.55);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.7rem;
  line-height: 1;
}

.status-note {
  color: var(--muted);
  font-size: 0.9rem;
  text-transform: uppercase;
}

.hero-stats {
  display: grid;
  grid-template-columns: repeat(3, minmax(120px, 1fr));
  max-width: 690px;
  margin-bottom: 30px;
  border-top: 1px solid var(--line);
  border-bottom: 1px solid var(--line);
}

.hero-stats article {
  padding: 22px 22px 20px 0;
  border-right: 1px solid var(--line);
}

.hero-stats article:last-child {
  border-right: 0;
  padding-left: 22px;
}

.hero-stats strong {
  display: block;
  margin-bottom: 7px;
  font-family: Cinzel, Georgia, serif;
  font-size: clamp(1.55rem, 2vw, 2.25rem);
}

.hero-stats span {
  color: var(--muted);
  font-size: 0.79rem;
  font-weight: 700;
  text-transform: uppercase;
}

.hero-actions,
.start-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ghost-button {
  background: rgba(5, 4, 8, 0.42);
}

.season-panel {
  align-self: center;
  padding: 28px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 19, 20, 0.86), rgba(8, 7, 10, 0.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.season-panel::before,
.world-card::before,
.feature-grid article::before {
  position: absolute;
  inset: -1px;
  pointer-events: none;
  border: 1px solid rgba(255, 255, 255, 0.08);
  content: "";
}

.panel-label,
.section-heading p,
.world-card > span {
  display: block;
  margin-bottom: 10px;
  color: var(--gold);
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
}

.season-panel h2 {
  margin-bottom: 14px;
  font-size: 2.2rem;
}

.season-panel p {
  color: var(--muted);
  line-height: 1.65;
}

.vote-panel {
  align-self: center;
  display: flex;
  flex-direction: column;
  gap: 10px;
  width: 264px;
  padding: 14px 12px 12px;
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 19, 20, 0.86), rgba(8, 7, 10, 0.7));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.vote-panel .panel-label {
  margin: 0;
  text-align: center;
}

.vote-buttons {
  display: grid;
  grid-template-columns: repeat(2, 120px);
  gap: 10px;
  justify-content: center;
}

.vote-btn {
  position: relative;
  display: block;
  width: 120px;
  height: 60px;
  overflow: hidden;
  border: 1px solid rgba(255, 220, 170, 0.28);
  background: #120c12;
}

.vote-btn-art {
  position: absolute;
  inset: 0 0 18px;
  background-color: #1a1218;
  background-position: center;
  background-repeat: no-repeat;
  background-size: cover;
}

.vote-btn-top100 .vote-btn-art {
  background-image:
    linear-gradient(135deg, rgba(90, 53, 142, 0.92), rgba(255, 79, 34, 0.55)),
    linear-gradient(90deg, #2a1738, #5a358e);
}

.vote-btn-top100 .vote-btn-art::after {
  position: absolute;
  inset: 0;
  display: grid;
  place-items: center;
  color: #fff6dc;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-shadow: 0 1px 6px rgba(0, 0, 0, 0.7);
  content: "VOTE";
}

.vote-btn-name {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 18px;
  background: rgba(8, 6, 9, 0.94);
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: 0.58rem;
  font-weight: 800;
  letter-spacing: 0.03em;
  text-transform: uppercase;
}

.vote-btn:hover {
  border-color: rgba(247, 196, 107, 0.85);
}

.vote-btn.is-ok .vote-btn-name {
  background: #1f7a32;
  color: #e9ffe9;
}

.vote-btn.is-fail .vote-btn-name {
  background: #8e1724;
  color: #ffe8e8;
}

.vote-btn.is-disabled {
  opacity: 0.42;
  pointer-events: none;
}

.vote-btn.is-wait .vote-btn-name {
  color: #fff;
}

.vote-character,
.vote-login-hint {
  margin: 0;
  color: var(--muted);
  font-size: 0.72rem;
  font-weight: 700;
  text-align: center;
  text-transform: uppercase;
}

.vote-character select {
  display: block;
  width: 100%;
  margin-top: 4px;
  padding: 5px 6px;
  border: 1px solid var(--line);
  background: rgba(8, 6, 9, 0.9);
  color: var(--text);
  font-size: 0.72rem;
}

.vote-rank-pixel {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0, 0, 0, 0);
}

.countdown[hidden] {
  display: none;
}

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

.countdown div {
  min-width: 0;
  padding: 14px 10px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: rgba(255, 255, 255, 0.04);
  text-align: center;
}

.countdown strong {
  display: block;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.45rem;
}

.countdown-open {
  margin: 18px 0 0;
  color: #f3d48a;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.15rem;
  letter-spacing: 0.04em;
}

.countdown span {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

.server-section,
.raid-section,
.siege-section,
.rankings-section,
.news-section,
.features-section,
.events-section,
.start-section {
  padding: 92px clamp(20px, 7vw, 120px);
}

.server-section,
.raid-section {
  padding-bottom: 0;
}

.raid-section {
  background: #191b18;
  scroll-margin-top: 96px;
}

.raid-page {
  min-height: 100vh;
  padding-top: 132px;
}

.siege-section {
  background: #191b18;
  min-height: 100vh;
  padding-top: 132px;
}

.rankings-section {
  background: #191b18;
  min-height: 100vh;
  padding-top: 132px;
}

.single-page {
  min-height: 100vh;
  padding-top: 132px;
}

.howto-page {
  position: relative;
  z-index: 2;
  max-width: 640px;
  min-height: 100vh;
  padding: 132px clamp(20px, 7vw, 120px) 80px;
}

.howto-page h1 {
  font-size: clamp(2.4rem, 5vw, 4rem);
}

body.howto-wnd {
  min-width: 0;
  background: var(--bg);
}

body.howto-wnd .howto-page {
  min-height: 0;
  max-width: 520px;
  margin: 0 auto;
  padding: 24px 20px 28px;
}

.howto-steps {
  margin: 0;
  padding: 0;
  list-style: none;
}

.howto-steps li {
  margin: 0 0 14px;
  padding: 14px 16px;
  border: 1px solid rgba(255, 220, 170, 0.16);
  background: rgba(18, 14, 16, 0.72);
}

.howto-steps strong {
  display: block;
  margin-bottom: 6px;
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
}

.howto-steps span {
  color: var(--muted);
  line-height: 1.55;
}

.events-page {
  background: #191b18;
  min-height: 100vh;
  padding-top: 132px;
}

.section-heading {
  max-width: 740px;
  margin-bottom: 34px;
}

.section-anchor {
  scroll-margin-top: 110px;
}

.section-heading h2 {
  font-size: clamp(2.2rem, 4vw, 4.2rem);
}

.world-grid,
.feature-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.world-card,
.feature-grid article {
  position: relative;
  padding: 28px;
  border: 1px solid var(--line);
  background:
    linear-gradient(135deg, rgba(255, 79, 34, 0.12), transparent 38%),
    var(--panel);
  box-shadow: 0 18px 50px rgba(0, 0, 0, 0.32);
}

.world-card-hot {
  border-color: var(--line-hot);
}

.world-card h3 {
  margin-bottom: 12px;
  font-size: clamp(1.7rem, 3vw, 3rem);
}

.world-card p,
.feature-grid p,
.event-list span {
  color: var(--muted);
  line-height: 1.65;
}

.raid-tables {
  display: grid;
  gap: 58px;
  margin-top: 58px;
}

.raid-table {
  display: grid;
  width: 100%;
  background: #252724;
}

.raid-row {
  display: grid;
  grid-template-columns: minmax(220px, 1.5fr) minmax(100px, 0.45fr) minmax(130px, 0.6fr) minmax(210px, 1fr);
  align-items: center;
  min-height: 53px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.raid-row > * {
  min-width: 0;
  padding: 14px 24px;
  overflow-wrap: anywhere;
}

.raid-head {
  min-height: 52px;
  border-top: 0;
  background: #393b37;
}

.raid-head strong {
  color: #fff;
}

.raid-sort {
  width: 100%;
  margin: 0;
  padding: 0;
  border: 0;
  background: transparent;
  color: #fff;
  font: inherit;
  font-weight: 900;
  text-align: center;
  cursor: pointer;
}

.raid-sort::after {
  content: "";
}

.raid-sort.is-sorted.is-asc::after {
  content: " \2191";
}

.raid-sort.is-sorted.is-desc::after {
  content: " \2193";
}

.raid-row span,
.raid-row strong {
  color: #c9c9c5;
  font-weight: 900;
}

.raid-row > :nth-child(2),
.raid-row > :nth-child(3),
.raid-row > :nth-child(4) {
  text-align: center;
}

.raid-status {
  display: grid;
  place-items: center;
  min-height: 53px;
  padding-top: 0;
  padding-bottom: 0;
  color: #fff !important;
}

.raid-status.is-dead {
  background: #5b3b2d;
}

.raid-status.is-alive {
  background: #2f7336;
}

.siege-block {
  margin-top: 58px;
}

.siege-block h2 {
  margin: 0 0 28px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.alliance-list {
  display: grid;
  background: #252724;
}

.alliance-row {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
  min-height: 53px;
  align-items: center;
  padding: 14px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9c9c5;
  font-weight: 900;
}

.alliance-row:first-child {
  border-top: 0;
}

.clan-badge {
  display: inline-flex;
  align-items: center;
  gap: 6px;
}

.crest-mark {
  display: inline-grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background:
    linear-gradient(135deg, rgba(255, 144, 32, 0.92), rgba(110, 23, 23, 0.95)),
    #4a2b1f;
  color: #fff;
  font-size: 0.7rem;
  font-weight: 900;
  line-height: 1;
}

.castle-list {
  display: grid;
  gap: 36px;
}

.castle-title {
  margin: 0 0 18px;
  color: #fff;
  font-size: clamp(1.45rem, 2.7vw, 2.1rem);
}

.castle-grid {
  display: grid;
  grid-template-columns: minmax(0, 1.35fr) minmax(300px, 0.75fr);
  gap: 30px;
}

.castle-panel,
.siege-info-panel {
  display: grid;
  align-content: center;
  min-height: 174px;
  background: #252724;
  color: #c9c9c5;
}

.castle-panel {
  grid-template-columns: minmax(220px, 0.42fr) 1fr;
  gap: 26px;
  padding: 24px;
}

.castle-visual {
  position: relative;
  min-height: 128px;
  margin: 0;
  overflow: hidden;
  border-radius: 8px;
  background: #11130f;
  border: 1px solid rgba(245, 201, 112, 0.22);
}

.castle-visual img {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 128px;
  object-fit: cover;
}

.castle-details,
.siege-info-panel {
  display: grid;
  gap: 10px;
}

.castle-details strong,
.siege-info-panel strong {
  color: #e4e4df;
}

.castle-details em,
.siege-info-panel em {
  color: #d5d5cf;
}

.siege-info-panel {
  padding: 26px 34px;
}

.fort-row {
  grid-template-columns: minmax(160px, 1.1fr) minmax(190px, 1fr) minmax(180px, 1fr) minmax(170px, 0.8fr) minmax(190px, 1fr);
}

.fort-row > :nth-child(2),
.fort-row > :nth-child(3),
.fort-row > :nth-child(4),
.fort-row > :nth-child(5) {
  text-align: center;
}

.ranking-toolbar {
  display: grid;
  grid-template-columns: minmax(260px, 360px) minmax(0, 1fr);
  gap: 22px;
  align-items: end;
  margin-top: 46px;
}

.ranking-select-label {
  display: grid;
  gap: 10px;
  color: #c9c9c5;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.ranking-select {
  min-height: 54px;
  padding: 0 18px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  background: #252724;
  color: #f4f4f1;
  font: 900 0.95rem Inter, Arial, sans-serif;
  outline: 0;
}

.ranking-select:focus {
  border-color: #10ff28;
  box-shadow: 0 0 0 3px rgba(16, 255, 40, 0.12);
}

.ranking-summary {
  color: #c9c9c5;
  font-weight: 800;
  line-height: 1.7;
}

.ranking-panels {
  margin-top: 42px;
}

.ranking-panel {
  display: none;
}

.ranking-panel.is-active {
  display: block;
}

.ranking-panel h2 {
  margin: 0 0 24px;
  color: #fff;
  font-size: clamp(1.55rem, 3vw, 2.45rem);
}

.ranking-row {
  grid-template-columns: minmax(74px, 0.35fr) minmax(180px, 1.1fr) minmax(150px, 0.9fr) minmax(130px, 0.7fr) minmax(150px, 0.8fr);
}

.ranking-row > :nth-child(1),
.ranking-row > :nth-child(4),
.ranking-row > :nth-child(5) {
  text-align: center;
}

.ranking-position {
  color: #10ff28 !important;
}

dl {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 10px;
  margin: 26px 0 0;
}

dt {
  color: var(--muted);
  font-size: 0.74rem;
  text-transform: uppercase;
}

dd {
  margin: 5px 0 0;
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
}

.features-section {
  background:
    radial-gradient(circle at 80% 30%, rgba(119, 231, 224, 0.08), transparent 28rem),
    linear-gradient(180deg, rgba(255, 255, 255, 0.02), transparent);
}

.feature-grid {
  grid-template-columns: repeat(4, minmax(0, 1fr));
}

.feature-icon {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 48px;
  height: 48px;
  margin-bottom: 22px;
  border: 1px solid rgba(255, 196, 107, 0.42);
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
}

.feature-grid h3 {
  margin-bottom: 12px;
  font-size: 1.35rem;
  line-height: 1.15;
}

.news-section {
  background: #191b18;
}

.news-toolbar {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(280px, 544px);
  gap: 28px;
  align-items: start;
  margin-bottom: 38px;
}

.news-tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.news-tab {
  min-height: 46px;
  padding: 0 24px;
  border: 0;
  border-radius: 3px;
  background: #303236;
  color: #c9c9c5;
  cursor: pointer;
  font: 900 0.8rem Inter, Arial, sans-serif;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.news-tab:hover,
.news-tab:focus-visible,
.news-tab.is-active {
  background: #383b40;
  color: #10ff28;
  outline: 0;
}

.news-search {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 54px;
  gap: 8px;
}

.news-search span {
  position: absolute;
  width: 1px;
  height: 1px;
  overflow: hidden;
  clip: rect(0 0 0 0);
}

.news-search input {
  min-height: 46px;
  width: 100%;
  padding: 0 20px;
  border: 1px solid rgba(255, 255, 255, 0.16);
  border-radius: 3px;
  background: transparent;
  color: #f4f4f1;
  font: 700 0.94rem Inter, Arial, sans-serif;
}

.news-search input:focus {
  border-color: #39c83d;
  outline: 0;
}

.news-search button {
  position: relative;
  min-height: 46px;
  border: 0;
  border-radius: 3px;
  background: #39c83d;
  color: #fff;
  cursor: pointer;
  font-size: 0;
}

.news-search button::before {
  position: absolute;
  top: 15px;
  left: 17px;
  width: 11px;
  height: 11px;
  border: 3px solid #fff;
  border-radius: 50%;
  content: "";
}

.news-search button::after {
  position: absolute;
  top: 28px;
  left: 31px;
  width: 10px;
  height: 3px;
  background: #fff;
  border-radius: 999px;
  content: "";
  transform: rotate(45deg);
  transform-origin: left center;
}

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

.news-card {
  display: grid;
  align-content: start;
  gap: 16px;
  min-height: 400px;
  padding: 42px 30px 34px;
  background: #282a27;
  color: #c9c9c5;
}

.news-card time {
  color: #c1c1bd;
  font-size: 0.72rem;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card h3 {
  margin: 0;
  color: #fff;
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.8;
  text-transform: uppercase;
}

.news-card p {
  margin: 0;
  color: #c1c1bd;
  font-size: 1rem;
  font-weight: 800;
  line-height: 1.9;
  overflow-wrap: anywhere;
}

.news-card a {
  align-self: end;
  margin-top: 8px;
  color: #f4f4f1;
  font-weight: 900;
  text-transform: uppercase;
}

.news-card a::before {
  margin-right: 4px;
  color: #9f9f99;
  content: "->";
}

.news-card[hidden] {
  display: none;
}

.event-list {
  display: grid;
  gap: 12px;
  max-width: 940px;
}

.event-list article {
  display: grid;
  grid-template-columns: 92px 1fr 2fr;
  align-items: center;
  gap: 20px;
  min-height: 72px;
  padding: 16px 22px;
  border-left: 3px solid var(--ember);
  background: linear-gradient(90deg, rgba(255, 79, 34, 0.16), rgba(255, 255, 255, 0.035));
}

.event-list time,
.event-list strong {
  font-family: Cinzel, Georgia, serif;
  font-weight: 800;
}

.start-section {
  min-height: 46vh;
  background:
    linear-gradient(90deg, rgba(5, 4, 8, 0.88), rgba(5, 4, 8, 0.5)),
    url("assets/phoenix-hero.png") center bottom / cover no-repeat;
}

.account-page {
  min-height: 100vh;
  padding: 132px clamp(20px, 7vw, 120px) 72px;
  background:
    linear-gradient(90deg, rgba(5, 4, 8, 0.94), rgba(5, 4, 8, 0.68)),
    url("assets/phoenix-hero.png") center / cover no-repeat fixed;
}

.auth-panel {
  width: min(100%, 540px);
  padding: clamp(24px, 4vw, 38px);
  border: 1px solid var(--line);
  background: linear-gradient(180deg, rgba(26, 19, 20, 0.92), rgba(8, 7, 10, 0.82));
  box-shadow: var(--shadow);
  backdrop-filter: blur(14px);
}

.auth-panel h1,
.auth-panel h2 {
  margin-bottom: 14px;
  font-size: clamp(2rem, 4vw, 3.3rem);
}

.auth-copy {
  color: var(--muted);
  line-height: 1.7;
}

.auth-form {
  display: grid;
  gap: 16px;
  margin-top: 24px;
}

.auth-form label {
  display: grid;
  gap: 8px;
  color: rgba(255, 245, 232, 0.78);
  font-size: 0.82rem;
  font-weight: 800;
  text-transform: uppercase;
}

.auth-form input {
  width: 100%;
  min-height: 48px;
  padding: 0 14px;
  border: 1px solid rgba(255, 220, 170, 0.24);
  border-radius: 0;
  outline: 0;
  background: rgba(0, 0, 0, 0.34);
  color: var(--text);
  font: 600 1rem Inter, Arial, sans-serif;
}

.auth-form input:focus {
  border-color: rgba(255, 196, 107, 0.78);
  box-shadow: 0 0 0 3px rgba(255, 196, 107, 0.13);
}

.form-message {
  margin: 18px 0;
  padding: 14px 16px;
  border: 1px solid rgba(119, 231, 224, 0.42);
  background: rgba(119, 231, 224, 0.1);
  color: #d7fff8;
}

.form-message.ok,
.form-message.success {
  border-color: rgba(119, 231, 224, 0.55);
  background: rgba(119, 231, 224, 0.14);
  color: #e7fffb;
}

.form-message.error {
  border-color: rgba(255, 79, 34, 0.5);
  background: rgba(255, 79, 34, 0.12);
  color: #ffd5c9;
}

.form-message p {
  margin: 0;
}

.form-message p + p {
  margin-top: 8px;
}

.auth-foot {
  margin: 22px 0 0;
  color: var(--muted);
}

.auth-foot a {
  color: var(--gold);
  font-weight: 800;
}

.profile-page {
  display: grid;
  gap: 18px;
}

.profile-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(320px, 540px);
  gap: 18px;
  align-items: start;
}

.profile-layout .auth-panel,
.account-list-panel {
  width: 100%;
}

.profile-meta {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin: 26px 0;
}

.profile-meta div,
.game-account-list article {
  padding: 16px;
  border: 1px solid rgba(255, 220, 170, 0.18);
  background: rgba(255, 255, 255, 0.04);
}

.profile-meta span,
.game-account-list span {
  display: block;
  color: var(--muted);
  font-size: 0.78rem;
  font-weight: 700;
  text-transform: uppercase;
}

.profile-meta strong {
  display: block;
  margin-top: 6px;
  overflow-wrap: anywhere;
}

.game-account-list {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px;
  margin-top: 20px;
}

.game-account-list strong {
  display: block;
  margin-bottom: 12px;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.45rem;
}

.game-account-list span + span {
  margin-top: 6px;
}

.account-dashboard {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 286px;
  gap: clamp(28px, 5vw, 70px);
  min-height: 100vh;
  padding: 120px clamp(20px, 6vw, 72px) 64px;
  background: #191b18;
  color: #f4f4f1;
}

.account-activity h1 {
  margin-bottom: 34px;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.95rem;
  line-height: 1.1;
}

.activity-feed {
  display: grid;
  gap: 28px;
}

.activity-item {
  position: relative;
  display: grid;
  grid-template-columns: 82px minmax(0, 1fr);
  gap: 0;
  min-height: 124px;
}

.activity-item::after {
  position: absolute;
  top: 78px;
  left: 29px;
  width: 3px;
  height: calc(100% - 58px);
  background: rgba(255, 255, 255, 0.07);
  content: "";
}

.activity-item:last-child::after {
  display: none;
}

.activity-icon {
  position: relative;
  display: grid;
  place-items: center;
  width: 60px;
  height: 60px;
  border-radius: 50%;
  background: #232522;
  color: #fff;
  font-size: 1.25rem;
  font-weight: 800;
}

.activity-icon::after {
  position: absolute;
  right: 1px;
  bottom: 2px;
  width: 6px;
  height: 6px;
  border-radius: 50%;
  content: "";
}

.activity-item-blue .activity-icon::after {
  background: #2e79ff;
}

.activity-item-gold .activity-icon::after {
  background: #ff951d;
}

.activity-body {
  padding-top: 5px;
}

.activity-body h2 {
  margin-bottom: 8px;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.22rem;
  line-height: 1.25;
}

.activity-body time {
  display: block;
  margin-bottom: 28px;
  color: #8f8e9e;
  font-size: 0.92rem;
  font-weight: 600;
}

.activity-body p {
  max-width: 760px;
  color: #bdbdb9;
  font-size: 1rem;
  font-weight: 700;
  line-height: 1.9;
}

.account-sidebar {
  display: grid;
  align-content: start;
  gap: 20px;
}

.coins-button {
  display: flex;
  align-items: center;
  gap: 14px;
  min-height: 82px;
  padding: 0 24px;
  background: linear-gradient(135deg, #ff8b1f, #ff7a14);
  color: #fff;
  font-size: 1.25rem;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.coins-button span {
  font-size: 1.7rem;
}

.game-account-picker {
  display: grid;
  gap: 8px;
  color: #c8c8c4;
  font-size: 1rem;
  font-weight: 800;
}

.game-account-picker div {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 50px;
  gap: 6px;
}

.game-account-picker select,
.game-account-picker button,
.account-config-button {
  min-height: 46px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #d7d7d2;
  font: inherit;
}

.game-account-picker select {
  width: 100%;
  padding: 0 14px;
  background: #30322f;
}

.game-account-picker button,
.account-config-button {
  display: grid;
  place-items: center;
  border: 0;
  border-radius: 4px;
  background: #35cbc1;
  color: #fff;
  cursor: pointer;
  font-size: 1.6rem;
  line-height: 1;
}

.account-config-button.active,
.account-config-button:hover {
  background: #43d7cf;
}

.account-menu {
  display: grid;
  gap: 3px;
}

.account-menu a {
  display: grid;
  grid-template-columns: 32px minmax(0, 1fr);
  align-items: center;
  min-height: 50px;
  padding: 0 22px;
  background: #252724;
  color: #c5c5c0;
  font-size: 1rem;
  font-weight: 800;
}

.account-menu a.active,
.account-menu a:hover {
  background: #2b2d2a;
  color: #fff;
}

.account-menu span {
  color: #fff;
  font-size: 1rem;
}

.account-logout {
  width: 100%;
}

.account-settings-dashboard {
  grid-template-columns: minmax(0, 1fr) 286px;
}

.social-settings .settings-row input[type="text"] {
  width: 100%;
  min-height: 36px;
}

.social-settings .settings-row {
  gap: 12px;
  min-height: 64px;
}

.social-note {
  max-width: 826px;
  margin: 16px 0 0;
  color: #c9c9c5;
  line-height: 1.45;
}

.account-settings h1 {
  margin-bottom: 34px;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.95rem;
  line-height: 1.15;
}

.settings-table {
  width: min(100%, 826px);
  background: #252724;
}

.settings-table h2 {
  margin: 0;
  padding: 16px 24px;
  background: #393b37;
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.2;
}

.settings-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(220px, 300px);
  align-items: center;
  min-height: 54px;
  padding: 0 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  color: #c9c9c5;
}

.settings-row strong,
.settings-row span,
.settings-row a {
  min-width: 0;
  overflow-wrap: anywhere;
}

.settings-row a {
  color: #fff;
  font-weight: 900;
}

.settings-actions {
  display: flex;
  justify-content: center;
  gap: 14px;
  width: min(100%, 826px);
  margin: 50px 0 20px;
}

.settings-actions-left {
  justify-content: flex-start;
}

.settings-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 43px;
  min-width: 278px;
  padding: 0 24px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-button-green {
  background: #10c900;
}

.settings-button-teal {
  background: #35cbc1;
}

.create-game-table {
  margin-bottom: 20px;
}

.settings-create-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr)) auto;
  gap: 14px;
  align-items: end;
  padding: 22px 24px 24px;
}

.settings-create-form label {
  display: grid;
  gap: 8px;
  color: #c9c9c5;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-create-form input {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #30322f;
  color: #f4f4f1;
  font: inherit;
}

.settings-create-form input:focus {
  border-color: #35cbc1;
  outline: 0;
}

.settings-password-form {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 14px;
  padding: 20px 24px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #20221f;
}

.settings-password-form label {
  display: grid;
  gap: 8px;
  color: #c9c9c5;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.settings-password-form input {
  width: 100%;
  min-height: 43px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #30322f;
  color: #f4f4f1;
  font: inherit;
}

.settings-password-form input:focus {
  border-color: #35cbc1;
  outline: 0;
}

.settings-password-actions {
  grid-column: 1 / -1;
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.settings-password-actions .settings-button {
  min-width: 220px;
  border: 0;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
}

.settings-create-form .settings-button {
  min-width: 210px;
  border: 0;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
}

.settings-link-form {
  grid-template-columns: repeat(2, minmax(0, 1fr)) auto;
}

.settings-empty {
  padding: 18px 24px;
  color: #c9c9c5;
  font-weight: 800;
}

.settings-status {
  color: #c9c9c5;
  font-weight: 900;
}

.inline-link-form {
  display: flex;
  justify-content: flex-end;
}

.inline-link-form .settings-button {
  min-width: 140px;
  border: 0;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
}

.game-settings-row {
  grid-template-columns: minmax(0, 1fr) auto;
}

.account-row-actions {
  display: flex;
  gap: 10px;
}

.account-row-actions a {
  display: grid;
  place-items: center;
  width: 34px;
  height: 30px;
  border-radius: 4px;
  color: #fff;
  font-size: 0.85rem;
  font-weight: 900;
}

.account-row-actions .orange {
  background: #ff8b1f;
}

.account-row-actions .teal {
  background: #35cbc1;
}

.account-row-actions .red {
  background: #d9342f;
}

.account-row-actions .dark {
  background: #203826;
}

.character-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(210px, 1fr));
  gap: 16px;
  padding: 22px 24px 24px;
}

.character-card {
  display: grid;
  grid-template-columns: 74px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  padding: 12px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #20221f;
}

.character-card.is-selected {
  border-color: #10c900;
  box-shadow: 0 0 0 2px rgba(16, 201, 0, 0.22);
}

.character-portrait {
  display: grid;
  place-items: center;
  width: 74px;
  height: 86px;
  border: 2px solid #30332f;
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.2), transparent 24px),
    linear-gradient(135deg, #263c46, #5b3424 55%, #151714);
  box-shadow: inset 0 -28px 34px rgba(0, 0, 0, 0.38);
}

.character-portrait span {
  color: #fff;
  font-family: Cinzel, Georgia, serif;
  font-size: 2rem;
  font-weight: 900;
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.65);
}

.clan-portrait {
  background:
    radial-gradient(circle at 35% 24%, rgba(255, 255, 255, 0.16), transparent 24px),
    linear-gradient(135deg, #203826, #4c3a1c 55%, #151714);
}

.character-info {
  display: grid;
  gap: 7px;
  min-width: 0;
}

.character-info h3 {
  margin: 0;
  overflow-wrap: anywhere;
  color: #fff;
  font-size: 1rem;
}

.character-info span {
  color: #c9c9c5;
  font-size: 0.82rem;
  font-weight: 800;
}

.character-card dl {
  grid-column: 1 / -1;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 8px;
  margin: 0;
}

.character-card dl div {
  display: flex;
  justify-content: space-between;
  gap: 8px;
  padding: 8px 10px;
  background: #2a2c28;
  color: #d7d7d2;
  font-size: 0.8rem;
  font-weight: 900;
}

.character-card dt,
.character-card dd {
  margin: 0;
}

.character-select {
  grid-column: 1 / -1;
  min-height: 34px;
  border: 0;
  border-radius: 4px;
  background: #10c900;
  color: #fff;
  cursor: pointer;
  font: 900 0.78rem Inter, Arial, sans-serif;
  text-transform: uppercase;
}

.character-card.is-selected .character-select {
  background: #ff8b1f;
}

.character-services {
  padding: 4px 24px 26px;
}

.character-services-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  padding: 18px 0 12px;
}

.character-services-heading h2 {
  padding: 0;
  background: transparent;
}

.character-services-heading strong {
  min-width: 0;
  color: #10c900;
  overflow-wrap: anywhere;
}

.services-table {
  display: grid;
  background: #252724;
}

.services-row {
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(180px, 240px);
  align-items: center;
  min-height: 84px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.services-row > * {
  padding: 16px 24px;
}

.services-head {
  min-height: 50px;
  border-top: 0;
  background: #393b37;
}

.service-action,
.service-price {
  min-height: 84px;
  border: 0;
  background: transparent;
  color: #c9c9c5;
  cursor: pointer;
  font: inherit;
  font-weight: 900;
  text-align: left;
}

.service-action-group {
  display: grid;
  gap: 10px;
  min-height: 84px;
}

.service-action-group > button {
  width: fit-content;
  border: 0;
  padding: 0;
  background: transparent;
  color: inherit;
  cursor: pointer;
  font: inherit;
  font-weight: inherit;
  text-align: left;
}

.service-action-group > button:disabled {
  color: #6f716c;
  cursor: not-allowed;
}

.crest-upload-field {
  display: grid;
  gap: 8px;
  max-width: 360px;
  color: #9f9f99;
  font-size: 0.78rem;
  font-weight: 800;
}

.crest-upload-field input {
  width: 100%;
  min-height: 38px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1f211e;
  color: #d7d7d2;
  font: 800 0.82rem Inter, Arial, sans-serif;
}

.crest-upload-field input::file-selector-button {
  min-height: 36px;
  margin-right: 12px;
  border: 0;
  background: #35cbc1;
  color: #15211f;
  cursor: pointer;
  font: 900 0.78rem Inter, Arial, sans-serif;
  text-transform: uppercase;
}

.service-action:hover,
.service-price:hover,
.service-action:focus-visible,
.service-price:focus-visible {
  color: #fff;
  outline: 0;
}

.service-price {
  text-align: center;
}

.service-action:disabled,
.service-price:disabled {
  color: #6f716c;
  cursor: not-allowed;
}

.clan-service-lock {
  margin: 0 24px 12px;
  border: 1px solid rgba(255, 149, 29, 0.3);
  background: rgba(255, 149, 29, 0.08);
}

.clan-skill-picker {
  grid-column: 1 / -1;
  margin: 8px 0 0;
  padding: 16px 18px 18px;
  border: 1px solid rgba(53, 203, 193, 0.28);
  background: rgba(20, 28, 27, 0.92);
}

.clan-skill-picker[hidden] {
  display: none !important;
}

.clan-skill-picker-head {
  display: flex;
  align-items: baseline;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 6px;
  color: #e8efed;
  font-size: 0.95rem;
}

.clan-skill-picker-head span {
  min-width: 1.5rem;
  color: #35cbc1;
  font-weight: 900;
}

.clan-skill-picker > p {
  margin: 0 0 12px;
  color: #9f9f99;
  font-size: 0.82rem;
}

.clan-skill-picker-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 12px;
}

.clan-skill-picker-actions button {
  min-height: 36px;
  border: 1px solid rgba(255, 255, 255, 0.14);
  background: #1f211e;
  color: #d7d7d2;
  cursor: pointer;
  font: 800 0.78rem Inter, Arial, sans-serif;
  padding: 0 14px;
}

.clan-skill-picker-actions .coins-button {
  border: 0;
}

.clan-skill-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(210px, 1fr));
  gap: 8px 12px;
  margin-bottom: 14px;
  max-height: 320px;
  overflow: auto;
  padding-right: 4px;
}

.clan-skill-option {
  display: flex;
  gap: 8px;
  align-items: flex-start;
  color: #cfcfc8;
  font-size: 0.8rem;
  font-weight: 700;
  cursor: pointer;
}

.clan-skill-option small {
  color: #35cbc1;
  font-weight: 900;
}

.clan-skill-option input {
  margin-top: 2px;
}

.account-orders h1 {
  margin-bottom: 34px;
  font-family: Inter, Arial, sans-serif;
  font-size: 1.95rem;
  line-height: 1.15;
}

.orders-list {
  display: grid;
  gap: 30px;
  width: min(100%, 920px);
}

.order-card h2 {
  margin: 0 0 8px;
  color: #c9c9c5;
  font-family: Inter, Arial, sans-serif;
  font-size: 1rem;
  line-height: 1.25;
}

.order-card p {
  margin: 10px 0 0;
  color: #a9aaa4;
  font-weight: 800;
}

.orders-table {
  display: grid;
  width: 100%;
  background: #252724;
}

.orders-row {
  display: grid;
  grid-template-columns: minmax(120px, 1fr) minmax(120px, 1fr) minmax(160px, 1.2fr) minmax(120px, 0.8fr) minmax(110px, 0.7fr);
  align-items: center;
  min-height: 52px;
}

.orders-row > * {
  min-width: 0;
  padding: 14px 24px;
  overflow-wrap: anywhere;
}

.orders-head {
  background: #393b37;
  color: #f4f4f1;
}

.orders-row span {
  color: #c9c9c5;
  font-weight: 800;
}

.orders-empty-panel {
  width: min(100%, 920px);
}

.admin-services-table {
  display: block;
  width: min(100%, 980px);
  overflow-x: auto;
}

.admin-services-head,
.admin-service-row {
  display: grid;
  grid-template-columns: minmax(240px, 1.6fr) minmax(150px, 0.9fr) minmax(88px, 0.4fr) minmax(96px, 0.45fr);
  gap: 16px;
  align-items: end;
  min-width: 680px;
  padding: 16px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-services-head {
  background: #30322f;
  color: #f4f4f1;
}

.admin-services-head strong {
  min-width: 0;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.admin-service-row label {
  display: grid;
  gap: 8px;
  min-width: 0;
  overflow: hidden;
  color: #c9c9c5;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-service-row input {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1f211e;
  color: #f4f4f1;
  font: 800 0.92rem Inter, Arial, sans-serif;
}

.admin-service-row input:focus {
  border-color: #35cbc1;
  outline: 0;
}

.admin-services-actions {
  display: flex;
  gap: 14px;
  justify-content: flex-end;
  padding: 22px 24px 24px;
}

.vote-admin {
  min-width: 0;
}

.vote-admin-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 16px;
  margin-bottom: 22px;
}

.vote-admin-head h1 {
  margin-bottom: 8px;
}

.vote-admin-head p {
  margin: 0;
  max-width: 46rem;
  color: var(--muted);
  line-height: 1.5;
}

.vote-admin-head code {
  color: var(--gold);
}

.vote-admin-count {
  flex: none;
  padding: 8px 12px;
  border: 1px solid rgba(255, 220, 170, 0.18);
  background: rgba(18, 14, 16, 0.72);
  color: var(--gold);
  font-size: 0.82rem;
  font-weight: 700;
  white-space: nowrap;
}

.vote-admin-list {
  display: grid;
  gap: 16px;
}

.vote-card {
  display: grid;
  gap: 16px;
  padding: 18px 20px 16px;
  border: 1px solid rgba(255, 220, 170, 0.14);
  background: rgba(18, 14, 16, 0.78);
}

.vote-card.is-empty {
  border-style: dashed;
  opacity: 0.92;
}

.vote-card-top {
  display: grid;
  grid-template-columns: 42px minmax(0, 1fr) auto;
  gap: 14px;
  align-items: end;
}

.vote-card-num {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  border: 1px solid rgba(247, 196, 107, 0.35);
  background: rgba(247, 196, 107, 0.08);
  color: var(--gold);
  font-family: Cinzel, Georgia, serif;
  font-size: 1.15rem;
  font-weight: 700;
}

.vote-card-name,
.vote-card-grid label {
  display: grid;
  gap: 6px;
  min-width: 0;
  color: #c9c9c5;
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 0.04em;
  text-transform: uppercase;
}

.vote-card input[type="text"],
.vote-card input:not([type]),
.vote-card input[type="url"] {
  width: 100%;
  min-height: 42px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1a1716;
  color: #f4f4f1;
  font: 600 0.92rem Inter, Arial, sans-serif;
}

.vote-card input:focus {
  border-color: var(--gold);
  outline: 0;
}

.vote-card-switch {
  display: flex;
  align-items: center;
  gap: 8px;
  min-height: 42px;
  color: #c9c9c5;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.vote-card-switch input {
  width: 18px;
  height: 18px;
  margin: 0;
}

.vote-card-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 12px 16px;
}

.vote-card-actions {
  display: flex;
  justify-content: flex-end;
  gap: 10px;
}

.vote-card-btn {
  min-height: 38px;
  min-width: 110px;
  padding: 0 16px;
  border: 0;
  color: #fff;
  font-size: 0.78rem;
  font-weight: 800;
  text-transform: uppercase;
  cursor: pointer;
}

.vote-card-btn-save {
  background: #10c900;
}

.vote-card-btn-delete {
  background: #6b2424;
}

.registros-search {
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: end;
  margin: 0 0 18px;
}

.registros-search label {
  display: grid;
  gap: 6px;
  flex: 1 1 240px;
  color: var(--muted);
  font-size: 0.78rem;
}

.registros-search input {
  min-height: 40px;
  padding: 0 12px;
  border: 1px solid rgba(255, 220, 170, 0.16);
  background: rgba(8, 8, 10, 0.72);
  color: #fff;
}

.registros-search .vote-card-btn {
  background: #2f5f9f;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
}

.registros-empty {
  margin: 0;
  padding: 18px 20px;
  border: 1px dashed rgba(255, 220, 170, 0.18);
  color: var(--muted);
}

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

.registros-head,
.registros-row {
  display: grid;
  grid-template-columns: 1fr 1.4fr 1fr 1fr minmax(280px, 1.4fr);
  gap: 12px;
  align-items: center;
  padding: 14px 16px;
  border: 1px solid rgba(255, 220, 170, 0.14);
  background: rgba(18, 14, 16, 0.78);
}

.registros-head {
  background: rgba(255, 220, 170, 0.06);
  color: var(--gold);
  font-size: 0.78rem;
  text-transform: uppercase;
}

.registros-row span,
.registros-row em {
  color: #eee;
  font-size: 0.9rem;
  word-break: break-word;
}

.registros-row em {
  display: inline-block;
  margin-left: 6px;
  color: #ff8f8f;
  font-style: normal;
  font-size: 0.75rem;
  font-weight: 700;
}

.registros-row.is-expired {
  border-color: rgba(255, 120, 120, 0.28);
}

.registros-actions form {
  display: flex;
  flex-wrap: wrap;
  gap: 8px;
}

.registros-actions .vote-card-btn {
  min-width: 0;
  background: #2f5f9f;
}

.registros-actions .vote-card-btn-save {
  background: #10c900;
}

.registros-actions .vote-card-btn-delete {
  background: #6b2424;
}

@media (max-width: 820px) {
  .vote-admin-head {
    display: grid;
    grid-template-columns: 1fr;
  }

  .vote-card-top,
  .vote-card-grid {
    grid-template-columns: 1fr;
  }

  .registros-head {
    display: none;
  }

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

  .registros-row > span::before,
  .registros-row > .registros-actions::before {
    content: attr(data-label);
    display: block;
    margin-bottom: 4px;
    color: var(--gold);
    font-size: 0.72rem;
    text-transform: uppercase;
  }
}

.admin-news-form {
  margin-bottom: 28px;
}

.admin-news-grid,
.admin-news-item {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  padding: 18px 24px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.admin-news-item {
  border-top: 1px solid rgba(255, 255, 255, 0.12);
}

.admin-news-grid label,
.admin-news-item label {
  display: grid;
  gap: 8px;
  min-width: 0;
  color: #c9c9c5;
  font-size: 0.78rem;
  font-weight: 900;
  text-transform: uppercase;
}

.admin-news-grid input,
.admin-news-grid select,
.admin-news-grid textarea,
.admin-news-item input,
.admin-news-item select,
.admin-news-item textarea {
  width: 100%;
  min-height: 42px;
  padding: 10px 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #1f211e;
  color: #f4f4f1;
  font: 800 0.92rem Inter, Arial, sans-serif;
}

.admin-news-grid textarea,
.admin-news-item textarea {
  resize: vertical;
  line-height: 1.6;
}

.admin-news-grid input:focus,
.admin-news-grid select:focus,
.admin-news-grid textarea:focus,
.admin-news-item input:focus,
.admin-news-item select:focus,
.admin-news-item textarea:focus {
  border-color: #35cbc1;
  outline: 0;
}

.admin-news-body,
.admin-news-row-actions {
  grid-column: 1 / -1;
}

.admin-news-check {
  align-content: center;
  grid-template-columns: auto minmax(0, 1fr);
  justify-content: start;
}

.admin-news-check input {
  width: 18px;
  min-height: 18px;
  accent-color: #10c900;
}

.admin-news-row-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
  justify-content: flex-end;
}

.admin-news-row-actions .settings-button {
  min-width: 150px;
  border: 0;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
}

@media (max-width: 1540px) {
  .hero {
    grid-template-columns: minmax(0, 1fr);
    align-items: start;
  }

  .hero-content {
    max-width: 860px;
  }

  .season-panel,
  .vote-panel {
    align-self: start;
    max-width: 760px;
  }

  .vote-panel {
    width: auto;
  }

  .vote-buttons {
    grid-template-columns: repeat(4, 120px);
    justify-content: start;
  }
}

@media (max-width: 1120px) {
  .site-header {
    gap: 18px;
  }

  .top-nav {
    gap: 15px;
    font-size: 0.78rem;
  }

  .hero {
    grid-template-columns: minmax(0, 1fr);
  }

  .hero-promo {
    position: absolute;
    top: 108px;
    right: 150px;
    left: auto;
    width: 180px;
    margin: 0;
  }

  .season-panel {
    max-width: 540px;
  }

  .vote-panel {
    width: auto;
    max-width: 540px;
    flex-direction: column;
    align-items: stretch;
  }

  .vote-panel .panel-label,
  .vote-login-hint,
  .vote-character {
    width: 100%;
    text-align: center;
  }

  .vote-buttons {
    grid-template-columns: repeat(4, 120px);
    justify-content: center;
  }

  .vote-btn {
    width: 120px;
    height: 60px;
  }

  .feature-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .news-toolbar {
    grid-template-columns: 1fr;
  }

  .news-grid {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

@media (max-width: 860px) {
  .site-header {
    grid-template-columns: auto 1fr auto;
  }

  .top-nav,
  .header-actions {
    position: fixed;
    left: 18px;
    right: 18px;
    display: none;
    background: rgba(7, 6, 8, 0.96);
  }

  .top-nav {
    top: 86px;
    flex-direction: column;
    align-items: stretch;
    padding: 22px;
    border: 1px solid var(--line);
  }

  .top-nav-item {
    display: grid;
  }

  .top-subnav {
    position: static;
    min-width: 0;
    margin-top: 8px;
    padding: 6px 0 0 18px;
    border: 0;
    background: transparent;
    box-shadow: none;
    opacity: 1;
    pointer-events: auto;
    transform: none;
  }

  .top-subnav::before {
    display: none;
  }

  .header-actions {
    top: 344px;
    justify-content: space-between;
    padding: 18px 22px;
    border: 1px solid var(--line);
    border-top: 0;
  }

  body.menu-open .top-nav,
  body.menu-open .header-actions {
    display: flex;
  }

  .menu-toggle {
    display: inline-block;
  }

  .side-rail {
    display: none;
  }

  .hero {
    min-height: auto;
    padding-top: 120px;
    background-position: 58% center;
  }

  .hero-stats,
  .world-grid,
  .castle-grid,
  .castle-panel {
    grid-template-columns: 1fr;
  }

  .castle-visual,
  .castle-visual img {
    min-height: 180px;
  }

  .hero-stats article,
  .hero-stats article:last-child {
    padding: 18px 0;
    border-right: 0;
    border-bottom: 1px solid var(--line);
  }

  .hero-stats article:last-child {
    border-bottom: 0;
  }

  .event-list article {
    grid-template-columns: 1fr;
    gap: 6px;
  }

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

  .raid-row > * {
    text-align: left !important;
  }

  dl {
    grid-template-columns: 1fr;
  }

  .profile-layout,
  .game-account-list,
  .profile-meta {
    grid-template-columns: 1fr;
  }

  .account-dashboard {
    grid-template-columns: 1fr;
  }

  .account-sidebar {
    max-width: 420px;
  }

  .settings-row,
  .game-settings-row {
    grid-template-columns: 1fr;
    gap: 8px;
    padding-top: 14px;
    padding-bottom: 14px;
  }

  .settings-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .settings-button {
    min-width: 0;
    width: 100%;
  }

  .settings-create-form {
    grid-template-columns: 1fr;
  }

  .settings-password-form {
    grid-template-columns: 1fr;
  }

  .settings-password-actions {
    align-items: stretch;
    flex-direction: column;
  }

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

  .admin-news-grid,
  .admin-news-item {
    grid-template-columns: 1fr;
  }

  .orders-row > * {
    padding: 10px 18px;
  }
}

@media (max-width: 560px) {
  .hero-content,
  .season-panel,
  .vote-panel {
    max-width: calc(100vw - 68px);
  }

  .vote-buttons {
    grid-template-columns: repeat(2, 120px);
  }

  .brand span {
    display: none;
  }

  h1 {
    font-size: 2.95rem;
  }

  .hero-kicker {
    max-width: 18rem;
  }

  .server-status {
    align-items: flex-start;
    flex-direction: column;
    gap: 8px;
  }

  .infinity-mark {
    font-size: 1.5rem;
  }

  .hero-actions,
  .start-actions {
    align-items: stretch;
    flex-direction: column;
  }

  .primary-button,
  .ghost-button {
    width: 100%;
  }

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

  .news-grid {
    grid-template-columns: 1fr;
  }

  .news-card {
    min-height: 0;
    padding: 30px 24px;
  }

  .season-panel,
  .world-card,
  .feature-grid article {
    padding: 22px;
  }

  .account-dashboard {
    padding-top: 106px;
  }

  .activity-item {
    grid-template-columns: 58px minmax(0, 1fr);
  }

  .activity-icon {
    width: 46px;
    height: 46px;
  }

  .activity-item::after {
    left: 22px;
    top: 62px;
  }

  .activity-body h2 {
    font-size: 1.05rem;
  }

  .activity-body p {
    font-size: 0.92rem;
  }

  .buy-coins-grid,
  .buy-coins-footer {
    grid-template-columns: 1fr;
  }
}

.buy-coins-head {
  display: flex;
  align-items: flex-end;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 28px;
}

.buy-coins-head p {
  margin: 0 0 6px;
  color: #ff8b1f;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.buy-coins-head h1 {
  margin: 0;
}

.buy-coins-head .settings-button {
  min-width: 180px;
  margin-bottom: 6px;
}

.buy-coins-card {
  display: grid;
  gap: 22px;
  width: min(100%, 826px);
  padding: 28px 24px 24px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: #20221f;
}

.buy-coins-grid,
.buy-coins-footer {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
}

.buy-character {
  grid-column: 1 / -1;
}

.buy-coins-card label {
  display: grid;
  gap: 8px;
  color: #c9c9c5;
  font-size: 0.82rem;
  font-weight: 900;
  text-transform: uppercase;
}

.buy-coins-card select,
.buy-coins-card input[type="number"] {
  width: 100%;
  min-height: 46px;
  padding: 0 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: #30322f;
  color: #f4f4f1;
  font: 700 0.95rem Inter, Arial, sans-serif;
  text-transform: none;
}

.buy-coins-card input[type="number"] {
  margin-top: 8px;
}

.buy-coins-footer {
  align-items: end;
  padding-top: 8px;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
}

.buy-terms {
  grid-template-columns: 18px minmax(0, 1fr);
  align-items: start;
  text-transform: none;
  font-size: 0.95rem;
  font-weight: 700;
}

.buy-terms a {
  color: #f7c46b;
}

.buy-total {
  text-align: right;
}

.buy-total span {
  display: block;
  margin-bottom: 6px;
  color: #c9c9c5;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.06em;
}

.buy-total strong {
  color: #f7c46b;
  font-family: Cinzel, Georgia, serif;
  font-size: 1.7rem;
}

.buy-coins-card .settings-button {
  justify-self: start;
  min-width: 240px;
  border: 0;
  cursor: pointer;
  font-family: Inter, Arial, sans-serif;
}

.buy-terms-panel {
  margin-top: 22px;
}

.buy-redirect-note {
  margin: 0 0 18px;
  color: var(--muted);
}

.pay-methods {
  margin: 0 0 18px;
  color: var(--muted);
}

.pay-methods p {
  margin: 0 0 8px;
}

.pay-methods ul {
  margin: 0;
  padding-left: 18px;
}

.pay-methods li {
  margin: 0 0 6px;
}

.pay-methods strong {
  color: var(--text);
}

.whatsapp-button,
.facebook-button {
  position: fixed;
  z-index: 30;
  right: 22px;
  display: grid;
  place-items: center;
  width: 58px;
  height: 58px;
  border-radius: 50%;
  box-shadow: 0 10px 24px rgba(0, 0, 0, 0.35);
}

.whatsapp-button {
  bottom: 22px;
  background: #25d366;
}

.facebook-button {
  bottom: 92px;
  background: #1877f2;
}

.whatsapp-button svg,
.facebook-button svg {
  width: 32px;
  height: 32px;
  fill: #fff;
}

.whatsapp-button span,
.facebook-button span {
  position: absolute;
  right: 68px;
  width: max-content;
  padding: 8px 12px;
  border-radius: 8px;
  background: rgba(8, 6, 9, 0.94);
  color: #fff6dc;
  font-family: Cinzel, Georgia, serif;
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: uppercase;
  opacity: 0;
  transform: translateX(8px);
  transition: 180ms ease;
  pointer-events: none;
}

.whatsapp-button:hover span,
.whatsapp-button:focus-visible span,
.facebook-button:hover span,
.facebook-button:focus-visible span {
  opacity: 1;
  transform: none;
}
