:root {
  --ice: #d4b978;
  --ice-light: #f0e0b0;
  --ice-dark: #a68845;
  --gold: #d4af37;
  --gold-light: #f0d78c;
  --gold-dim: rgba(212, 175, 55, 0.18);
  --bg: #000000;
  --bg-soft: #000000;
  --card: #0a0a0a;
  --card-light: #111111;
  --border: rgba(212, 175, 55, 0.18);
  --text: #d8d2c4;
  --muted: #8a8478;
  --white: #f7f3ea;
  --green: #40d98a;
  --red: #ef5d68;
  --title: "Cinzel", serif;
  --body: "Rajdhani", sans-serif;
  --radius: 8px;
  --radius-lg: 16px;
  --transition: 0.25s ease;
}

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

html {
  scroll-behavior: smooth;
}

body {
  min-width: 320px;
  background: #000000;
  color: var(--text);
  font: 500 16px/1.6 var(--body);
  overflow-x: hidden;
}

body::before,
body::after {
  content: "";
  position: fixed;
  top: 0;
  bottom: 0;
  width: min(160px, 14vw);
  z-index: 80;
  pointer-events: none;
}

body::before {
  left: 0;
  background: linear-gradient(
    90deg,
    #000000 0%,
    rgba(0, 0, 0, 0.92) 28%,
    rgba(0, 0, 0, 0.45) 62%,
    transparent 100%
  );
}

body::after {
  right: 0;
  background: linear-gradient(
    270deg,
    #000000 0%,
    rgba(0, 0, 0, 0.92) 28%,
    rgba(0, 0, 0, 0.45) 62%,
    transparent 100%
  );
}

@media (max-width: 900px) {
  body::before,
  body::after {
    width: min(72px, 10vw);
  }
}

@media (max-width: 560px) {
  body::before,
  body::after {
    width: 28px;
  }
}

body.is-loading {
  overflow: hidden;
}

html.loader-seen body.is-loading {
  overflow: auto;
}

html.loader-seen .site-loader {
  display: none;
}

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

button,
input {
  font: inherit;
}

button {
  cursor: pointer;
}

.logout-form {
  display: inline-flex;
  margin: 0;
}

.logout-form .btn-login {
  background: transparent;
}

button:disabled {
  cursor: not-allowed;
  filter: grayscale(0.6);
  opacity: 0.55;
}

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

.site-loader {
  position: fixed;
  inset: 0;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 18px;
  overflow: hidden;
  background: #040404;
  transition: opacity 0.55s ease, visibility 0.55s ease;
}

.site-loader.is-hidden {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.loader-logo {
  position: relative;
  width: min(280px, 64vw);
  animation: loader-logo 1.35s ease-in-out infinite;
}

.site-loader span {
  position: relative;
  color: var(--ice-light);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 5px;
  text-transform: uppercase;
}

.loader-cubes {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 16px;
  min-height: 28px;
}

.loader-cubes span {
  width: 13px;
  height: 13px;
  background: linear-gradient(135deg, var(--gold-light), var(--gold), var(--ice-dark));
  transform: rotate(45deg) scale(0.45);
  opacity: 0;
  box-shadow: 0 0 12px rgba(212, 175, 55, 0.45);
  animation: loader-cube 1.35s ease-in-out infinite;
}

.loader-cubes span:nth-child(1) {
  animation-delay: 0s;
}

.loader-cubes span:nth-child(2) {
  animation-delay: 0.22s;
}

.loader-cubes span:nth-child(3) {
  animation-delay: 0.44s;
}

@keyframes loader-cube {
  0%,
  8% {
    opacity: 0;
    transform: rotate(45deg) scale(0.35);
  }
  28%,
  52% {
    opacity: 1;
    transform: rotate(45deg) scale(1);
  }
  72%,
  100% {
    opacity: 0.18;
    transform: rotate(45deg) scale(0.55);
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-cubes span {
    opacity: 0.85;
    transform: rotate(45deg) scale(1);
    animation: none;
  }
}

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

::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: var(--bg);
}

::-webkit-scrollbar-thumb {
  border-radius: 10px;
  background: var(--ice-dark);
}

#header {
  position: fixed;
  inset: 0 0 auto;
  z-index: 1000;
  overflow: visible;
  border-bottom: none;
  background: rgba(7, 7, 9, 0.82);
  backdrop-filter: blur(18px);
  transition: background var(--transition), box-shadow var(--transition);
}

#header::before {
  content: none;
}

#header::after {
  content: "";
  position: absolute;
  left: 0;
  right: 0;
  bottom: 0;
  z-index: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(212, 175, 55, 0.6), transparent);
  pointer-events: none;
}

#header.scrolled {
  background: rgba(5, 9, 15, 0.96);
  box-shadow: 0 12px 35px rgba(0, 0, 0, 0.35);
}

.header-inner {
  position: relative;
  z-index: 2;
  width: min(1320px, calc(100% - 36px));
  height: 90px;
  margin-inline: auto;
  display: flex;
  align-items: center;
  gap: 42px;
}

.brand {
  display: inline-flex;
  align-items: center;
  flex: 0 0 auto;
}

.brand-logo {
  width: 150px;
  height: 72px;
  object-fit: contain;
  filter: drop-shadow(0 0 10px rgba(180, 180, 180, 0.20));
}

.brand-mark {
  width: 34px;
  height: 34px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(180, 180, 180, 0.55);
  background: linear-gradient(145deg, rgba(180, 180, 180, 0.18), rgba(100, 100, 100, 0.04));
  color: var(--ice-light);
  clip-path: polygon(50% 0, 100% 50%, 50% 100%, 0 50%);
  filter: drop-shadow(0 0 10px rgba(180, 180, 180, 0.30));
  font: 800 16px/1 var(--title);
}

.main-nav {
  flex: 1;
  align-self: stretch;
  display: flex;
}

.main-nav ul {
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 4px;
  list-style: none;
  width: 100%;
  height: 100%;
}

.main-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  gap: 0;
  height: 100%;
  padding: 0 16px;
  border-radius: 0;
  color: rgba(212, 175, 55, 0.72);
  font: 600 13px/1 var(--title);
  letter-spacing: 1.8px;
  text-transform: uppercase;
  transition: color var(--transition), text-shadow var(--transition);
}

.main-nav a:hover,
.main-nav a.active {
  background: transparent;
  color: var(--gold-light);
  text-shadow: 0 0 18px rgba(240, 215, 140, 0.35);
  box-shadow: none;
}

.main-nav a.active {
  color: #ffe7a3;
}

/* Indicador ativo idêntico ao Euphoria: faixa fina transparent → gold → transparent */
.main-nav a.active::before {
  content: "";
  position: absolute;
  left: 8px;
  right: 8px;
  bottom: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  pointer-events: none;
  z-index: 3;
}

.main-nav a.active::after {
  content: none;
}

.main-nav i {
  display: none;
}

.lang-switch {
  display: inline-flex;
  align-items: center;
  gap: 4px;
  margin-right: 6px;
}

.lang-switch a {
  min-width: 34px;
  height: 30px;
  display: inline-grid;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 4px;
  color: rgba(240, 215, 140, 0.75);
  font: 700 11px/1 var(--title);
  letter-spacing: 1px;
  transition: all var(--transition);
}

.lang-switch a:hover,
.lang-switch a.active {
  border-color: var(--gold);
  color: #fff2c4;
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 14px rgba(212, 175, 55, 0.2);
}

.site-embers {
  position: fixed;
  inset: 0;
  z-index: 60;
  pointer-events: none;
  overflow: hidden;
}

.site-ember {
  position: absolute;
  bottom: -20px;
  width: 3px;
  height: 3px;
  border-radius: 50%;
  background: rgba(255, 220, 140, 0.85);
  box-shadow: 0 0 8px rgba(255, 200, 100, 0.65);
  animation: ember-rise linear infinite;
  opacity: 0;
}

@keyframes ember-rise {
  0% {
    transform: translate3d(0, 0, 0) scale(0.7);
    opacity: 0;
  }
  12% {
    opacity: 0.85;
  }
  70% {
    opacity: 0.5;
  }
  100% {
    transform: translate3d(var(--ember-x, 20px), -110vh, 0) scale(1.1);
    opacity: 0;
  }
}

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

.btn-login,
.btn-register {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  min-height: 44px;
  padding: 9px 19px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-login {
  border: 1px solid rgba(212, 175, 55, 0.45);
  color: var(--gold-light);
  background: transparent;
}

.btn-login:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.2);
}

.btn-register {
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #b8902a, var(--gold-light));
  color: #1a1408;
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.22);
}

.btn-register:hover {
  box-shadow: 0 0 28px rgba(212, 175, 55, 0.4);
  transform: translateY(-1px);
  color: #0d0a04;
}

.user-name {
  color: var(--ice-light);
  font-size: 13px;
  font-weight: 700;
}

.mobile-menu-btn {
  display: none;
  width: 40px;
  height: 40px;
  margin-left: auto;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--ice-light);
}

.hero {
  position: relative;
  min-height: 860px;
  margin-top: 76px;
  display: grid;
  place-items: center;
  overflow: hidden;
  background: #000000;
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 0;
  background: url("../img/hero-flare.jpg") center 18% / 100% auto no-repeat;
  transform: none;
  filter: brightness(0.95) contrast(1.04);
  pointer-events: none;
}

.hero::after {
  content: "";
  position: absolute;
  inset: auto 0 0;
  z-index: 1;
  height: 180px;
  background: linear-gradient(transparent, #000000 85%);
  pointer-events: none;
}

.hero-overlay {
  display: block;
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  background:
    linear-gradient(
      90deg,
      #000000 0%,
      rgba(0, 0, 0, 0.75) 8%,
      transparent 22%,
      transparent 78%,
      rgba(0, 0, 0, 0.75) 92%,
      #000000 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.35) 0%,
      transparent 18%,
      transparent 70%,
      rgba(0, 0, 0, 0.55) 88%,
      #000000 100%
    );
}

.hero-particles,
.particle {
  display: none !important;
}

.hero-content {
  width: min(980px, calc(100% - 40px));
  margin: 0 auto;
  padding: 48px 0 120px;
  position: relative;
  z-index: 2;
  text-align: center;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.hero-logo {
  width: clamp(380px, 46vw, 600px);
  height: auto;
  margin: 0 0 12px;
  object-fit: contain;
  filter: drop-shadow(0 0 28px rgba(255, 255, 255, 0.45))
          drop-shadow(0 0 48px rgba(212, 175, 55, 0.22));
  animation: logo-float 3.8s ease-in-out infinite;
  will-change: transform;
}

@keyframes logo-float {
  0%,
  100% {
    transform: translateY(160px);
  }
  50% {
    transform: translateY(144px);
  }
}

.hero-chronicle {
  display: inline-flex;
  align-items: center;
  gap: 14px;
  margin: 4px 0 18px;
  color: var(--gold);
  font: 700 12px/1 var(--body);
  letter-spacing: 4px;
  text-transform: uppercase;
}

.hero-chronicle::before,
.hero-chronicle::after {
  content: "";
  width: 42px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold));
}

.hero-chronicle::after {
  background: linear-gradient(90deg, var(--gold), transparent);
}

.hero-title {
  margin: 0 0 16px;
  font: 700 clamp(40px, 6vw, 72px)/1.05 var(--title);
  letter-spacing: 2px;
  text-transform: uppercase;
  color: transparent;
  background: linear-gradient(
    90deg,
    #d4af37 0%,
    #f4d58d 25%,
    #fff8dc 50%,
    #f4d58d 75%,
    #d4af37 100%
  );
  background-size: 200% 100%;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 8px 24px rgba(0, 0, 0, 0.55));
  animation: hero-title-shimmer 4s linear infinite;
}

@keyframes hero-title-shimmer {
  0% {
    background-position: -200% 0;
  }
  100% {
    background-position: 200% 0;
  }
}

.section-heading > span,
.cta > .container > span,
.page-hero span {
  color: var(--gold);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 3px;
  text-transform: uppercase;
}

.hero-content > p,
.hero-lead {
  max-width: 720px;
  margin: 0 auto;
  color: #f2efe6;
  font: italic 500 clamp(16px, 2vw, 20px)/1.55 var(--title);
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.65);
  letter-spacing: 0.4px;
}

.hero-rates {
  display: flex;
  gap: 12px;
  margin: 28px 0 8px;
  flex-wrap: wrap;
  justify-content: center;
}

.rate-item {
  min-width: 92px;
  padding: 10px 16px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 8px;
  background: rgba(8, 8, 10, 0.55);
  backdrop-filter: blur(10px);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.05);
}

.rate-item span {
  display: block;
  color: var(--muted);
  font-size: 10px;
  font-weight: 700;
  letter-spacing: 2px;
}

.rate-item strong {
  color: var(--gold-light);
  font: 700 20px/1.2 var(--title);
}

.hero-buttons {
  display: flex;
  gap: 12px;
  flex-wrap: wrap;
  justify-content: center;
  margin-top: 22px;
}

.btn-primary,
.btn-secondary,
.btn-ghost {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  min-height: 48px;
  padding: 11px 24px;
  border-radius: 6px;
  font-size: 14px;
  font-weight: 700;
  letter-spacing: 0.8px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.btn-primary {
  border: 1px solid var(--gold);
  background: linear-gradient(135deg, #b8902a, var(--gold-light));
  color: #1a1408;
  box-shadow: 0 0 20px rgba(212, 175, 55, 0.25);
}

.btn-primary:hover {
  box-shadow: 0 8px 32px rgba(212, 175, 55, 0.4);
  transform: translateY(-2px);
}

.btn-secondary,
.btn-ghost {
  border: 1px solid rgba(212, 175, 55, 0.45);
  background: rgba(7, 7, 10, 0.45);
  color: var(--gold-light);
  backdrop-filter: blur(8px);
}

.btn-secondary:hover,
.btn-ghost:hover {
  border-color: var(--gold);
  color: var(--white);
  background: rgba(212, 175, 55, 0.12);
  box-shadow: 0 0 22px rgba(212, 175, 55, 0.22);
  transform: translateY(-2px);
}

.live-strip {
  position: relative;
  z-index: 3;
  margin-top: -56px;
  padding: 0 20px 48px;
  border: none;
  background: transparent;
  display: flex;
  flex-direction: column;
  align-items: center;
}

.live-strip > .container.live-grid,
.live-strip .live-grid {
  width: min(920px, 100%);
  min-height: 0;
  margin-inline: auto;
  display: flex;
  align-items: stretch;
  justify-content: center;
  gap: 0;
  padding: 8px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(20, 18, 14, 0.94), rgba(8, 8, 10, 0.96));
  box-shadow:
    0 22px 55px rgba(0, 0, 0, 0.5),
    0 0 0 1px rgba(212, 175, 55, 0.08),
    inset 0 1px 0 rgba(255, 240, 200, 0.08),
    0 0 40px rgba(212, 175, 55, 0.08);
  backdrop-filter: blur(18px);
}

.launch-countdown {
  width: min(980px, 100%);
  margin: 0 auto 18px;
  border: 1px solid rgba(212, 175, 55, 0.3);
  border-radius: 14px;
  background:
    linear-gradient(90deg, rgba(40, 32, 16, 0.35), rgba(8, 8, 8, 0.92), rgba(40, 32, 16, 0.35));
  box-shadow: 0 16px 40px rgba(0, 0, 0, 0.35), 0 0 30px rgba(212, 175, 55, 0.08);
  overflow: hidden;
}

.launch-countdown-inner {
  min-height: 112px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 32px;
}

.launch-countdown-heading {
  display: flex;
  align-items: center;
  gap: 16px;
}

.launch-countdown-heading > i {
  color: var(--ice);
  font-size: 27px;
  filter: drop-shadow(0 0 10px rgba(180, 180, 180, 0.35));
}

.launch-countdown-heading span {
  display: block;
  color: var(--muted);
  font-size: 20px;
  font-weight: 700;
  letter-spacing: 2px;
  text-transform: uppercase;
}

.launch-countdown-heading strong {
  color: var(--white);
  font: 700 20px/1.3 var(--title);
}

.launch-countdown-units {
  display: grid;
  grid-template-columns: repeat(4, minmax(76px, 1fr));
  gap: 20px;
}

.launch-countdown-units > div {
  min-width: 76px;
  padding: 10px 13px;
  border: 1px solid rgba(180, 180, 180, 0.18);
  border-radius: 6px;
  background: rgba(5, 5, 5, 0.7);
  text-align: center;
}

.launch-countdown-units strong,
.launch-countdown-units span {
  display: block;
}

.launch-countdown-units strong {
  color: var(--ice-light);
  font: 700 clamp(34px, 4vw, 48px)/1 var(--title);
}

.launch-countdown-units span {
  margin-top: 5px;
  color: var(--muted);
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.live-grid {
  min-height: 86px;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
}

.live-item {
  display: grid;
  grid-template-columns: 24px 1fr;
  align-content: center;
  flex: 1 1 0;
  min-width: 0;
  padding: 18px 28px;
  border-right: 1px solid rgba(212, 175, 55, 0.18);
}

.live-item:last-child {
  border-right: 0;
}

.live-item i {
  grid-row: 1 / 3;
  align-self: center;
  color: var(--gold);
}

.live-item span {
  color: rgba(230, 215, 170, 0.72);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.2px;
  text-transform: uppercase;
}

.live-item strong {
  color: var(--white);
  font: 700 24px/1.2 var(--title);
}

.is-online {
  color: var(--green) !important;
  filter: drop-shadow(0 0 6px rgba(64, 217, 138, 0.6));
}

.is-offline {
  color: var(--red) !important;
}

.section {
  padding: 92px 0;
  background: #000000;
}

main > .section:first-child {
  padding-top: 140px;
}

.section-dark {
  background: #000000;
}

.section-heading {
  max-width: 660px;
  margin: 0 auto 48px;
  text-align: center;
}

.section-heading.align-left {
  margin-inline: 0;
  text-align: left;
}

.section-heading h2,
.cta h2 {
  margin: 8px 0 10px;
  color: var(--white);
  font: 700 clamp(30px, 4vw, 46px)/1.2 var(--title);
  letter-spacing: 1px;
  background: linear-gradient(180deg, #fff8e4, #f0d78c 55%, #c9a33a);
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.section-heading p,
.cta p {
  color: var(--muted);
  font-size: 17px;
}

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

.feature-card,
.stat-card,
.rate-card,
.step-card {
  position: relative;
  overflow: hidden;
  border: 1px solid rgba(212, 175, 55, 0.2);
  border-radius: var(--radius-lg);
  background:
    linear-gradient(160deg, rgba(30, 26, 18, 0.95), rgba(14, 14, 18, 0.98));
}

.feature-card {
  padding: 34px;
  transition: transform var(--transition), border-color var(--transition), box-shadow var(--transition);
}

.feature-card::after,
.stat-card::after,
.rate-card::after {
  content: "";
  position: absolute;
  inset: auto 20% 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
}

.feature-card:hover {
  transform: translateY(-4px);
  border-color: rgba(212, 175, 55, 0.55);
  box-shadow: 0 18px 40px rgba(0, 0, 0, 0.35), 0 0 28px rgba(212, 175, 55, 0.12);
}

.feature-card > i {
  margin-bottom: 20px;
  color: var(--gold);
  font-size: 29px;
  filter: drop-shadow(0 0 10px rgba(212, 175, 55, 0.35));
}

.feature-card h3 {
  margin-bottom: 8px;
  color: var(--white);
  font-size: 21px;
}

.feature-card p {
  color: var(--muted);
  font-size: 15px;
}

.server-overview {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 70px;
  align-items: center;
}

.check-list {
  margin: -20px 0 32px;
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 10px 24px;
  list-style: none;
}

.check-list i {
  margin-right: 8px;
  color: var(--ice);
}

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

.stats-grid-wide {
  grid-template-columns: repeat(3, 1fr);
  margin-bottom: 70px;
}

.stat-card {
  min-height: 170px;
  padding: 28px 18px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.stat-card i {
  margin-bottom: 12px;
  color: var(--ice);
  font-size: 25px;
}

.stat-card strong {
  color: var(--white);
  font: 700 30px/1.2 var(--title);
}

.stat-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.ranking-tabs {
  margin-bottom: 24px;
  display: flex;
  justify-content: center;
  gap: 8px;
  flex-wrap: wrap;
}

.rank-tab {
  padding: 9px 22px;
  border: 1px solid var(--border);
  border-radius: 6px;
  background: var(--card);
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
  transition: all var(--transition);
}

.rank-tab:hover,
.rank-tab.active {
  border-color: var(--ice);
  background: rgba(180, 180, 180, 0.08);
  color: var(--ice-light);
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.ranking-table {
  width: 100%;
  min-width: 700px;
  border-collapse: collapse;
}

.ranking-table th {
  padding: 16px 20px;
  background: var(--card-light);
  color: var(--muted);
  font-size: 11px;
  letter-spacing: 1.5px;
  text-align: left;
  text-transform: uppercase;
}

.ranking-table td {
  padding: 15px 20px;
  border-top: 1px solid rgba(212, 175, 55, 0.1);
}

.ranking-table tbody tr {
  transition: background var(--transition);
}

.ranking-table tbody tr:hover {
  background: rgba(180, 180, 180, 0.04);
}

.ranking-table td:nth-child(2),
.ranking-table td:last-child {
  color: var(--white);
  font-weight: 700;
}

.rank-char {
  display: inline-flex;
  align-items: center;
  gap: 12px;
  min-width: 0;
}

.rank-avatar {
  width: 40px;
  height: 40px;
  flex: 0 0 40px;
  object-fit: cover;
  border-radius: 50%;
  border: 2px solid rgba(240, 215, 140, 0.85);
  background: rgba(0, 0, 0, 0.45);
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.25),
    0 0 14px rgba(212, 175, 55, 0.35),
    inset 0 0 0 1px rgba(255, 248, 220, 0.15);
}

.rank-char span {
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.rank-position {
  width: 29px;
  height: 29px;
  display: inline-grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: var(--muted);
  font-weight: 700;
}

.rank-1 {
  border-color: #e6bd5f;
  color: #f2d98e;
}

.rank-2 {
  border-color: #aab7c4;
  color: #d7e0e8;
}

.rank-3 {
  border-color: #b67a49;
  color: #d8a376;
}

.section-action {
  margin-top: 28px;
  text-align: center;
}

.cta {
  min-height: 0;
  padding: 88px 20px;
  position: relative;
  display: grid;
  place-items: center;
  overflow: hidden;
  text-align: center;
  border-top: 1px solid rgba(212, 175, 55, 0.16);
  border-bottom: 1px solid rgba(212, 175, 55, 0.12);
  background: var(--bg);
}

.cta::before {
  display: none;
}

.cta .container {
  position: relative;
  width: min(920px, 100%);
  margin-inline: auto;
  padding: 42px 28px;
  border: 1px solid rgba(212, 175, 55, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 16, 12, 0.95), rgba(8, 8, 10, 0.98));
  box-shadow:
    0 20px 50px rgba(0, 0, 0, 0.35),
    inset 0 1px 0 rgba(255, 240, 200, 0.06);
}

.cta .hero-buttons {
  margin-top: 28px;
  justify-content: center;
}

.page-hero {
  min-height: 280px;
  background: var(--bg);
  border-bottom: 1px solid rgba(212, 175, 55, 0.14);
}

.page-hero h1 {
  margin: 8px 0;
  color: var(--white);
  font: 700 clamp(32px, 5vw, 52px)/1.2 var(--title);
}

.page-hero h1 i {
  margin-right: 10px;
  color: var(--ice);
}

.page-hero p {
  color: var(--muted);
  font-size: 18px;
}

.content-block {
  margin-top: 72px;
}

.content-block .section-heading {
  margin-bottom: 30px;
}

.rates-grid {
  display: grid;
  grid-template-columns: repeat(6, 1fr);
  gap: 14px;
}

.rate-card {
  min-height: 150px;
  padding: 22px 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  text-align: center;
}

.rate-card i {
  margin-bottom: 12px;
  color: var(--ice);
  font-size: 23px;
}

.rate-card span {
  color: var(--muted);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.rate-card strong {
  color: var(--white);
  font: 700 25px/1.4 var(--title);
}

.info-table {
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: var(--card);
}

.info-table > div {
  padding: 14px 20px;
  display: flex;
  justify-content: space-between;
  gap: 20px;
  border-bottom: 1px solid var(--border);
}

.info-table > div:last-child {
  border-bottom: 0;
}

.info-table span {
  color: var(--muted);
}

.info-table strong {
  color: var(--white);
}

.feature-list {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 12px;
}

.feature-list > div {
  padding: 14px 18px;
  border: 1px solid var(--border);
  border-radius: var(--radius);
  background: var(--card);
}

.feature-list i {
  margin-right: 9px;
  color: var(--ice);
}

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

.step-card {
  padding: 32px;
  display: flex;
  flex-direction: column;
  align-items: flex-start;
}

.step-card > span {
  position: absolute;
  top: 18px;
  right: 22px;
  color: rgba(114, 207, 255, 0.16);
  font: 700 36px/1 var(--title);
}

.step-card > i {
  margin-bottom: 18px;
  color: var(--ice);
  font-size: 30px;
}

.step-card h2 {
  color: var(--white);
  font-size: 22px;
}

.step-card p {
  min-height: 76px;
  margin: 8px 0 22px;
  color: var(--muted);
}

.download-note {
  margin-top: 28px;
  padding: 20px 24px;
  display: flex;
  gap: 16px;
  align-items: flex-start;
  border: 1px solid rgba(114, 207, 255, 0.28);
  border-radius: var(--radius);
  background: rgba(114, 207, 255, 0.055);
}

.download-note > i {
  margin-top: 4px;
  color: var(--ice);
}

.download-note strong {
  color: var(--white);
}

.download-note p {
  color: var(--muted);
}

body.download-modal-open {
  overflow: hidden;
}

.download-modal {
  position: fixed;
  inset: 0;
  z-index: 2400;
  display: grid;
  place-items: center;
  padding: 20px;
}

.download-modal[hidden] {
  display: none;
}

.download-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 11, 0.78);
  backdrop-filter: blur(8px);
}

.download-dialog {
  position: relative;
  width: min(820px, 100%);
  max-height: calc(100vh - 40px);
  padding: 30px;
  overflow-y: auto;
  border: 1px solid rgba(114, 207, 255, 0.28);
  border-radius: var(--radius-lg);
  background:
    radial-gradient(circle at 14% 0%, rgba(114, 207, 255, 0.14), transparent 32%),
    linear-gradient(145deg, rgba(16, 26, 40, 0.98), rgba(7, 12, 19, 0.98));
  box-shadow: 0 26px 80px rgba(0, 0, 0, 0.52);
  outline: none;
}

.download-dialog-close {
  position: absolute;
  top: 18px;
  right: 18px;
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(114, 207, 255, 0.22);
  border-radius: 50%;
  background: rgba(7, 12, 19, 0.68);
  color: var(--ice-light);
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.download-dialog-close:hover {
  border-color: var(--ice);
  background: rgba(114, 207, 255, 0.1);
  transform: translateY(-1px);
}

.download-dialog h2 {
  max-width: 620px;
  margin: 7px 42px 8px 0;
  color: var(--white);
  font: 700 clamp(26px, 4vw, 36px)/1.18 var(--title);
}

.download-dialog-intro {
  max-width: 620px;
  color: var(--muted);
}

.download-pack-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 18px;
  margin-top: 24px;
}

.download-pack-card {
  padding: 20px;
  border: 1px solid rgba(114, 207, 255, 0.22);
  border-radius: 12px;
  background: rgba(5, 11, 18, 0.56);
}

.download-pack-heading {
  display: flex;
  align-items: center;
  gap: 14px;
  margin-bottom: 16px;
}

.download-pack-heading > i {
  display: grid;
  width: 48px;
  height: 48px;
  flex: 0 0 48px;
  place-items: center;
  border: 1px solid rgba(114, 207, 255, 0.28);
  border-radius: 12px;
  background: rgba(114, 207, 255, 0.08);
  color: var(--ice);
  font-size: 21px;
}

.download-pack-heading h3 {
  color: var(--white);
  font-size: 20px;
}

.download-pack-heading p {
  color: var(--muted);
  font-size: 13px;
}

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

.download-option {
  min-height: 48px;
  padding: 11px 14px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  border: 1px solid rgba(217, 244, 255, 0.18);
  border-radius: 9px;
  background: rgba(7, 12, 19, 0.6);
  color: var(--ice-light);
  font-weight: 800;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: border-color var(--transition), background var(--transition), color var(--transition), transform var(--transition);
}

.download-option:hover,
.download-option:focus-visible {
  border-color: var(--ice);
  background: rgba(114, 207, 255, 0.1);
  color: var(--white);
  transform: translateY(-1px);
}

.download-option i {
  color: var(--ice);
  font-size: 18px;
}

@media (max-width: 720px) {
  .download-modal {
    padding: 14px;
  }

  .download-dialog {
    padding: 24px 18px;
  }

  .download-pack-grid {
    grid-template-columns: 1fr;
  }
}

.auth-main {
  min-height: calc(100vh - 80px);
  padding: 145px 20px 70px;
  display: grid;
  place-items: center;
  background: var(--bg);
}

.auth-card {
  width: min(460px, 100%);
  padding: 36px;
  border: 1px solid rgba(180, 180, 180, 0.24);
  border-radius: var(--radius-lg);
  background: rgba(11, 11, 11, 0.94);
  box-shadow: 0 24px 70px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(14px);
}

.auth-card > h1 {
  margin-top: 18px;
  color: var(--white);
  font: 700 30px/1.25 var(--title);
  text-align: center;
}

.auth-card > p {
  margin-bottom: 24px;
  color: var(--muted);
  text-align: center;
}

.auth-brand {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  color: var(--white);
  font: 800 24px/1 var(--title);
  letter-spacing: 4px;
}

.auth-brand-logo {
  display: block;
  margin: 0 auto;
  width: min(260px, 70vw);
  height: auto;
  filter: drop-shadow(0 0 12px rgba(180, 180, 180, 0.35));
}

.auth-form {
  display: flex;
  flex-direction: column;
}

.form-honeypot {
  position: absolute !important;
  left: -10000px !important;
  width: 1px !important;
  height: 1px !important;
  overflow: hidden !important;
}

.auth-form > label:not(.terms) {
  margin: 13px 0 6px;
  color: var(--muted);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 1px;
  text-transform: uppercase;
}

.input-wrap {
  position: relative;
}

.input-wrap i {
  position: absolute;
  top: 50%;
  left: 15px;
  color: var(--ice-dark);
  transform: translateY(-50%);
}

.input-wrap input {
  width: 100%;
  height: 46px;
  padding: 0 15px 0 43px;
  border: 1px solid var(--border);
  border-radius: 6px;
  outline: none;
  background: var(--bg);
  color: var(--white);
  transition: border-color var(--transition), box-shadow var(--transition);
}

.input-wrap input:focus {
  border-color: var(--gold);
  box-shadow: 0 0 0 3px rgba(212, 175, 55, 0.12);
}

.input-wrap.is-available input {
  border-color: var(--green);
  box-shadow: 0 0 0 3px rgba(64, 217, 138, 0.18);
}

.input-wrap.is-available i {
  color: var(--green);
}

.input-wrap.is-taken input,
.input-wrap.is-invalid input {
  border-color: var(--red);
  box-shadow: 0 0 0 3px rgba(239, 93, 104, 0.16);
}

.input-wrap.is-taken i,
.input-wrap.is-invalid i {
  color: var(--red);
}

.input-wrap.is-checking input {
  border-color: rgba(212, 175, 55, 0.55);
}

.field-hint {
  min-height: 18px;
  margin: -4px 0 10px;
  font-size: 12px;
  font-weight: 600;
  letter-spacing: 0.3px;
  color: var(--muted);
}

.field-hint[data-state="is-available"] {
  color: var(--green);
}

.field-hint[data-state="is-taken"],
.field-hint[data-state="is-invalid"] {
  color: var(--red);
}

.field-hint[data-state="is-checking"] {
  color: var(--gold);
}

.terms {
  margin: 18px 0;
  display: flex;
  gap: 9px;
  align-items: flex-start;
  color: var(--muted);
  font-size: 14px;
}

.terms input {
  margin-top: 5px;
  accent-color: var(--ice-dark);
}

.auth-submit {
  width: 100%;
}

.auth-footer {
  margin-top: 24px;
  padding-top: 20px;
  border-top: 1px solid var(--border);
  color: var(--muted);
  text-align: center;
}

.auth-footer a {
  color: var(--ice);
  font-weight: 700;
}

.alert {
  margin: 18px 0 4px;
  padding: 11px 14px;
  border-radius: 6px;
  font-size: 14px;
}

.alert-error {
  border: 1px solid rgba(239, 93, 104, 0.35);
  background: rgba(239, 93, 104, 0.08);
  color: #ffb7bd;
}

.alert-success {
  border: 1px solid rgba(64, 217, 138, 0.35);
  background: rgba(64, 217, 138, 0.08);
  color: #a9f3cf;
}

.alert-opening {
  display: grid;
  justify-items: center;
  gap: 8px;
  padding: 20px;
  border: 1px solid rgba(180, 180, 180, 0.30);
  background: rgba(100, 100, 100, 0.08);
  color: var(--muted);
  text-align: center;
}

.alert-opening i {
  color: var(--ice);
  font-size: 28px;
}

.alert-opening strong {
  color: var(--ice-light);
  font: 700 18px/1.3 var(--title);
}

.alert-opening span {
  display: block;
}

.registration-return {
  width: 100%;
  margin-top: 18px;
}

.registration-success-actions {
  display: grid;
  gap: 12px;
  margin-top: 18px;
}

/* ── Discord Modal (header overlay) ── */
.discord-overlay {
  position: fixed;
  inset: 0;
  z-index: 1200;
  display: grid;
  place-items: center;
  background: rgba(4, 8, 13, 0.75);
  backdrop-filter: blur(6px);
  padding: 20px;
  animation: discord-fade-in 0.35s ease both;
}

.discord-overlay[hidden] {
  display: none;
}

.discord-overlay .discord-modal {
  position: relative;
  width: min(440px, 100%);
  padding: 42px 36px 34px;
  border: 1px solid rgba(180, 180, 180, 0.2);
  border-radius: var(--radius-lg);
  background: linear-gradient(160deg, #111111, #0a0a0a);
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.6), 0 0 0 1px rgba(88, 101, 242, 0.18);
  text-align: center;
  animation: discord-slide-up 0.38s cubic-bezier(0.22, 1, 0.36, 1) both;
  opacity: 1;
  visibility: visible;
  height: auto;
  display: block;
}

.discord-close {
  position: absolute;
  top: 14px;
  right: 14px;
  width: 32px;
  height: 32px;
  display: grid;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  background: transparent;
  color: var(--muted);
  font-size: 14px;
  transition: color var(--transition), border-color var(--transition);
}

.discord-close:hover {
  border-color: var(--ice);
  color: var(--ice-light);
}

.discord-icon {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: linear-gradient(135deg, #4752c4, #5865f2);
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.45);
  font-size: 36px;
  color: #fff;
}

.discord-overlay .discord-modal h2 {
  margin-bottom: 10px;
  color: var(--white);
  font: 700 24px/1.2 var(--title);
}

.discord-overlay .discord-modal p {
  margin-bottom: 26px;
  color: var(--muted);
  font-size: 15px;
  line-height: 1.55;
}

.discord-join-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  width: 100%;
  min-height: 48px;
  padding: 12px 24px;
  border-radius: 6px;
  background: linear-gradient(135deg, #4752c4, #5865f2);
  color: #fff;
  font-size: 15px;
  font-weight: 700;
  letter-spacing: 0.6px;
  text-transform: uppercase;
  transition: box-shadow var(--transition), transform var(--transition);
}

.discord-join-btn:hover {
  box-shadow: 0 8px 28px rgba(88, 101, 242, 0.45);
  transform: translateY(-2px);
}

.discord-dismiss {
  display: block;
  margin: 14px auto 0;
  background: transparent;
  border: none;
  color: var(--muted);
  font-size: 13px;
  text-decoration: underline;
  transition: color var(--transition);
}

.discord-dismiss:hover {
  color: var(--text);
}

@keyframes discord-fade-in {
  from { opacity: 0; }
  to   { opacity: 1; }
}

@keyframes discord-slide-up {
  from { opacity: 0; transform: translateY(28px) scale(0.97); }
  to   { opacity: 1; transform: translateY(0) scale(1); }
}
/* ── end Discord Modal ── */

.donate-promo {
  position: fixed;
  left: 22px;
  bottom: 22px;
  z-index: 1120;
  width: min(326px, calc(100vw - 44px));
}

.donate-promo[hidden] {
  display: block !important;
}

.donate-promo-card {
  position: relative;
  overflow: hidden;
  padding: 18px;
  border: 1px solid rgba(236, 211, 155, 0.48);
  border-radius: var(--radius);
  background:
    linear-gradient(145deg, rgba(7, 11, 18, 0.98), rgba(17, 25, 38, 0.98) 55%, rgba(20, 13, 17, 0.98));
  box-shadow:
    0 18px 42px rgba(0, 0, 0, 0.48),
    0 0 0 1px rgba(114, 207, 255, 0.12),
    0 0 30px rgba(114, 207, 255, 0.16);
  backdrop-filter: blur(16px);
}

.donate-promo-card::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(110deg, rgba(114, 207, 255, 0.18), transparent 42%),
    linear-gradient(300deg, rgba(236, 211, 155, 0.18), transparent 46%);
  pointer-events: none;
}

.donate-promo-card > * {
  position: relative;
  z-index: 1;
}

.donate-promo-toggle {
  position: absolute;
  top: 10px;
  right: 10px;
  z-index: 2;
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  border: 1px solid rgba(236, 211, 155, 0.42);
  border-radius: 7px;
  background: rgba(7, 11, 18, 0.76);
  color: var(--gold-light);
  transition: border-color var(--transition), color var(--transition), background var(--transition);
}

.donate-promo-toggle:hover {
  border-color: var(--gold-light);
  background: rgba(236, 211, 155, 0.12);
  color: #fff3cf;
}

.donate-promo-top {
  display: grid;
  grid-template-columns: 48px minmax(0, 1fr);
  gap: 12px;
  align-items: center;
  min-height: 76px;
  padding-right: 34px;
}

.donate-promo-icon {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(236, 211, 155, 0.42);
  border-radius: var(--radius);
  background: linear-gradient(145deg, rgba(236, 211, 155, 0.28), rgba(138, 75, 38, 0.2));
  color: #ffe39f;
  font-size: 20px;
  box-shadow: inset 0 0 18px rgba(236, 211, 155, 0.12);
}

.donate-promo-kicker {
  display: block;
  color: var(--gold-light);
  font-size: 11px;
  font-weight: 800;
  letter-spacing: 1.6px;
  line-height: 1.1;
  text-transform: uppercase;
}

.donate-promo-top strong {
  display: block;
  margin-top: 4px;
  color: var(--white);
  font: 800 21px/1.05 var(--title);
}

.donate-promo-badge {
  position: absolute;
  top: 46px;
  right: 16px;
  min-width: 92px;
  padding: 7px 10px;
  border: 1px solid rgba(255, 237, 181, 0.62);
  border-radius: 7px;
  background: linear-gradient(135deg, #ffe9a4, #f4b43a);
  color: #221406;
  font-size: 13px;
  font-weight: 900;
  line-height: 1;
  text-align: center;
  transform: rotate(3deg);
  box-shadow: 0 10px 22px rgba(244, 180, 58, 0.24);
}

.donate-promo-card p {
  margin: 16px 0 12px;
  color: #cbd9e7;
  font-size: 15px;
  line-height: 1.45;
}

.donate-promo-tags {
  display: grid;
  gap: 8px;
  margin-bottom: 14px;
}

.donate-promo-tags span {
  display: flex;
  min-height: 34px;
  align-items: center;
  gap: 8px;
  padding: 8px 10px;
  border: 1px solid rgba(114, 207, 255, 0.18);
  border-radius: 7px;
  background: rgba(114, 207, 255, 0.075);
  color: var(--ice-light);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.donate-promo-tags i {
  color: var(--gold-light);
}

.donate-promo-action,
.donate-promo-mini {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  color: #08111c;
  font-weight: 900;
  text-transform: uppercase;
  transition: transform var(--transition), box-shadow var(--transition), filter var(--transition);
}

.donate-promo-action {
  width: 100%;
  min-height: 46px;
  padding: 11px 16px;
  border-radius: 7px;
  background: linear-gradient(135deg, #fff0ba, #ffb22e);
  box-shadow: 0 10px 24px rgba(255, 178, 46, 0.26);
}

.donate-promo-action:hover,
.donate-promo-mini:hover {
  filter: brightness(1.06);
  transform: translateY(-2px);
  box-shadow:
    0 12px 28px rgba(255, 178, 46, 0.32),
    0 0 22px rgba(114, 207, 255, 0.18);
}

.donate-promo-mini {
  min-height: 48px;
  padding: 0 18px;
  border-radius: var(--radius);
  background: linear-gradient(135deg, #ffe9a4, #ffb22e);
  box-shadow:
    0 12px 30px rgba(0, 0, 0, 0.35),
    0 0 24px rgba(255, 178, 46, 0.22);
  animation: donate-promo-pulse 2.8s ease-in-out infinite;
}

.donate-promo-mini i {
  color: #412506;
}

.donate-promo-mini[hidden],
.donate-promo-card[hidden] {
  display: none !important;
}

@keyframes donate-promo-pulse {
  0%,
  100% {
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.35),
      0 0 18px rgba(255, 178, 46, 0.18);
  }
  50% {
    box-shadow:
      0 12px 30px rgba(0, 0, 0, 0.35),
      0 0 32px rgba(255, 178, 46, 0.42);
  }
}

@media (max-width: 560px) {
  .donate-promo {
    right: 14px;
    bottom: 84px;
    left: 14px;
    width: auto;
  }

  .donate-promo-card {
    padding: 16px;
  }

  .donate-promo-top {
    grid-template-columns: 44px minmax(0, 1fr);
    min-height: auto;
    padding-right: 34px;
  }

  .donate-promo-icon {
    width: 44px;
    height: 44px;
  }

  .donate-promo-badge {
    position: static;
    grid-column: 1 / -1;
    justify-self: start;
    margin-top: 10px;
    transform: none;
  }

  .donate-promo-mini {
    min-height: 46px;
    padding-inline: 15px;
  }
}

@media (prefers-reduced-motion: reduce) {
  .donate-promo-mini {
    animation: none;
  }

  .site-ember {
    animation: none;
    display: none;
  }
}

#footer {
  padding: 32px 0;
  border-top: 1px solid rgba(212, 175, 55, 0.14);
  background: var(--bg);
}

.footer-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  gap: 28px;
}

.footer-brand {
  min-width: 90px;
}

.footer-logo-image {
  width: 140px;
  height: 64px;
  object-fit: contain;
  filter: drop-shadow(0 0 9px rgba(255, 180, 60, 0.24));
}

.brand-logo,
.footer-logo-image {
  transform-origin: center;
  will-change: transform;
  transition: filter 0.25s ease, transform 0.25s ease;
}

.brand-logo:hover,
.footer-logo-image:hover {
  animation: logo-shiver 0.42s ease both;
  filter: drop-shadow(0 0 24px rgba(255, 255, 255, 0.55))
          drop-shadow(0 0 40px rgba(212, 175, 55, 0.4));
}

.hero-logo:hover {
  filter: drop-shadow(0 0 32px rgba(255, 255, 255, 0.65))
          drop-shadow(0 0 52px rgba(212, 175, 55, 0.45));
}

.footer-nav {
  display: flex;
  gap: 20px;
}

.footer-nav a {
  color: var(--muted);
  font-size: 13px;
  font-weight: 700;
  text-transform: uppercase;
}

.footer-nav a:hover {
  color: var(--ice);
}

.footer-inner p {
  color: var(--muted);
  font-size: 12px;
  text-align: right;
}

.footer-credit {
  margin-top: 18px;
  padding-top: 16px;
  border-top: 1px solid rgba(212, 175, 55, 0.10);
  text-align: center;
}

.footer-credit p {
  color: var(--muted);
  font-size: 13px;
  letter-spacing: 0.4px;
}

.footer-dev-link {
  color: var(--gold-light);
  font-weight: 700;
  text-decoration: none;
  border-bottom: 1px solid rgba(240, 215, 140, 0.35);
  transition: color var(--transition), border-color var(--transition);
}

.footer-dev-link:hover {
  color: var(--white);
  border-bottom-color: rgba(247, 243, 234, 0.7);
}

.social-dock {
  position: fixed;
  right: 18px;
  bottom: 22px;
  z-index: 1110;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.social-dock-btn {
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 12px;
  background: linear-gradient(160deg, rgba(18, 16, 12, 0.96), rgba(8, 8, 8, 0.98));
  color: var(--gold-light);
  font-size: 22px;
  box-shadow: 0 10px 28px rgba(0, 0, 0, 0.45);
  transition: transform var(--transition), border-color var(--transition), color var(--transition), background var(--transition);
}

.social-dock-btn:hover {
  transform: translateY(-2px);
  border-color: rgba(240, 215, 140, 0.7);
  color: var(--white);
}

.social-dock-btn--discord:hover {
  background: linear-gradient(160deg, rgba(88, 101, 242, 0.35), rgba(8, 8, 8, 0.98));
  border-color: rgba(114, 137, 218, 0.7);
}

.social-dock-btn--whatsapp:hover {
  background: linear-gradient(160deg, rgba(37, 211, 102, 0.28), rgba(8, 8, 8, 0.98));
  border-color: rgba(37, 211, 102, 0.65);
  color: #6dff9f;
}

@media (max-width: 560px) {
  .social-dock {
    right: 12px;
    bottom: 14px;
  }

  .social-dock-btn {
    width: 44px;
    height: 44px;
    font-size: 20px;
  }
}

@keyframes loader-logo {
  0%,
  100% {
    transform: scale(0.97);
    opacity: 0.76;
  }
  50% {
    transform: scale(1.035);
    opacity: 1;
  }
}

@keyframes loader-aura {
  0%,
  100% {
    transform: scale(0.86);
    opacity: 0.35;
  }
  50% {
    transform: scale(1.08);
    opacity: 0.8;
  }
}

@keyframes logo-shiver {
  0% {
    transform: scale(1) translate(0);
  }
  24% {
    transform: scale(1.045) translate(-2px, 1px) rotate(-0.5deg);
  }
  48% {
    transform: scale(1.045) translate(2px, -1px) rotate(0.5deg);
  }
  72% {
    transform: scale(1.045) translate(-1px, 0) rotate(-0.25deg);
  }
  100% {
    transform: scale(1.045) translate(0);
  }
}

@media (max-width: 1040px) {
  .header-inner {
    gap: 20px;
  }

  .main-nav a {
    padding-inline: 12px;
    font-size: 14px;
  }

  .header-actions .btn-login,
  .header-actions .btn-register {
    padding-inline: 11px;
  }

  .rates-grid {
    grid-template-columns: repeat(3, 1fr);
  }

  .stats-grid-wide {
    grid-template-columns: repeat(3, 1fr);
  }
}

@media (max-width: 820px) {
  .mobile-menu-btn {
    display: grid !important;
    place-items: center;
    position: absolute;
    top: 22px;
    right: 18px;
    width: 46px;
    height: 46px;
    border-color: rgba(114, 207, 255, 0.55);
    background: rgba(114, 207, 255, 0.08);
    font-size: 19px;
    z-index: 3;
  }

  .mobile-menu-btn::before {
    content: "\2630";
  }

  .mobile-menu-btn i {
    display: none;
  }

  .main-nav,
  .header-actions {
    display: none;
  }

  #header.menu-open .main-nav,
  #header.menu-open .header-actions {
    display: flex;
    position: absolute;
    left: 0;
    right: 0;
    background: rgba(5, 9, 15, 0.99);
  }

  #header.menu-open .main-nav {
    top: 90px;
    padding: 15px 20px 76px;
    border-bottom: 1px solid var(--border);
  }

  #header.menu-open .main-nav ul {
    width: 100%;
    flex-direction: column;
    align-items: stretch;
  }

  #header.menu-open .main-nav a {
    justify-content: center;
    height: auto;
    padding: 14px 16px;
  }

  #header.menu-open .main-nav a.active::before,
  #header.menu-open .main-nav a.active::after {
    display: none;
  }

  #header.menu-open .header-actions {
    top: 386px;
    padding: 0 20px 16px;
    justify-content: center;
    flex-wrap: wrap;
    z-index: 2;
  }

  #header.menu-open .header-actions .user-name {
    width: 100%;
    text-align: center;
  }

  .hero {
    min-height: 780px;
  }

  .hero-content {
    padding: 36px 0 100px;
    text-align: center;
  }

  .hero-logo {
    width: min(520px, 88vw);
    margin-inline: auto;
  }

  .hero-title {
    font-size: clamp(34px, 8vw, 52px);
  }

  .hero-content > p,
  .hero-lead {
    margin-inline: auto;
  }

  .hero-rates,
  .hero-buttons {
    justify-content: center;
  }

  .live-strip {
    margin-top: -40px;
    padding-bottom: 28px;
  }

  .live-strip > .container.live-grid,
  .live-strip .live-grid {
    width: min(920px, 100%);
    flex-direction: row;
  }

  .live-grid {
    grid-template-columns: none;
  }

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

  .launch-countdown-inner {
    padding-block: 22px;
    flex-direction: column;
    text-align: center;
  }

  .launch-countdown-heading {
    justify-content: center;
  }

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

  .server-overview {
    grid-template-columns: 1fr;
    gap: 50px;
  }

  .footer-inner {
    grid-template-columns: 1fr;
    justify-items: center;
    text-align: center;
  }

  .footer-inner p {
    text-align: center;
  }
}

@media (max-width: 560px) {
  .container,
  .hero-content {
    width: min(100% - 28px, 1180px);
  }

  .hero {
    min-height: 730px;
  }

  .hero-logo {
    width: min(420px, 92vw);
    height: auto;
  }

  .hero-content > p {
    font-size: 17px;
  }

  .rate-item {
    min-width: calc(50% - 8px);
  }

  .live-grid,
  .stats-grid,
  .stats-grid-wide,
  .rates-grid,
  .feature-list,
  .feature-grid,
  .check-list {
    grid-template-columns: 1fr;
  }

  .launch-countdown-units {
    width: 100%;
    grid-template-columns: repeat(2, 1fr);
  }

  .launch-countdown-units strong {
    font-size: 38px;
  }

  .live-strip > .container.live-grid,
  .live-strip .live-grid {
    width: min(100%, 420px);
    flex-direction: column;
  }

  .live-item {
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
  }

  .live-item:last-child {
    border-bottom: 0;
  }

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

  .section {
    padding: 70px 0;
  }

  .stat-card {
    min-height: 145px;
  }

  .auth-card {
    padding: 28px 20px;
  }

  .footer-nav {
    flex-wrap: wrap;
    justify-content: center;
  }
}

@media (prefers-reduced-motion: reduce) {
  .loader-logo,
  .loader-aura,
  .brand-logo:hover,
  .footer-logo-image:hover,
  .hero-logo,
  .hero-title,
  #header::after {
    animation: none;
  }

  .hero-title {
    background-position: 50% 0;
  }
}

.about-grid {
    display: grid;
    grid-template-columns: 1fr 380px;
    gap: 60px;
    align-items: center;
}

.discord-widget {
    border-radius: 12px;
    overflow: hidden;
}

.discord-widget iframe {
    width: 100%;
    height: 500px;
    border: none;
}

.discord-invite-card--page {
  height: 100%;
  min-height: 280px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
  gap: 16px;
  padding: 22px;
}

.discord-invite-card--page .discord-widget-embed iframe {
  height: 360px;
}

.discord-invite-card--page .discord-join-btn {
  margin-bottom: 0;
  margin-top: auto;
}

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

    .discord-widget {
        max-width: 380px;
        margin: 0 auto;
    }
}

/* Discord Modal */
.discord-modal {
  position: fixed;
  inset: 0;
  z-index: 10000;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
  transition: opacity 0.28s ease, visibility 0.28s ease;
}

.discord-modal.show {
  opacity: 1;
  visibility: visible;
  pointer-events: auto;
}

.discord-modal[hidden] {
  display: none !important;
}

.discord-modal.show[hidden] {
  display: flex !important;
}

.discord-modal-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}

.discord-modal-content {
  position: relative;
  z-index: 1;
  width: min(460px, 100%);
  padding: 28px 24px 22px;
  text-align: center;
  border-radius: 16px;
  border: 1px solid rgba(212, 175, 55, 0.42);
  background:
    radial-gradient(120% 80% at 50% -10%, rgba(212, 175, 55, 0.14), transparent 58%),
    linear-gradient(165deg, #14120e, #0a0907 70%, #050505);
  box-shadow:
    0 24px 70px rgba(0, 0, 0, 0.72),
    0 0 0 1px rgba(212, 175, 55, 0.1),
    0 0 40px rgba(212, 175, 55, 0.12);
  transform: translateY(14px) scale(0.97);
  transition: transform 0.32s cubic-bezier(0.22, 1, 0.36, 1);
  max-height: min(92vh, 820px);
  overflow-y: auto;
}

.discord-modal.show .discord-modal-content {
  transform: translateY(0) scale(1);
}

.discord-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  z-index: 5;
  width: 38px;
  height: 38px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: rgba(0, 0, 0, 0.45);
  color: var(--gold-light);
  font-size: 16px;
  cursor: pointer;
  transition:
    background 0.28s ease,
    border-color 0.28s ease,
    color 0.28s ease,
    transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1),
    box-shadow 0.28s ease;
}

.discord-modal-close i {
  transition: transform 0.4s cubic-bezier(0.34, 1.56, 0.64, 1);
}

.discord-modal-close:hover {
  background: rgba(212, 175, 55, 0.2);
  border-color: var(--gold);
  color: #fff2c4;
  transform: scale(1.12) rotate(90deg);
  box-shadow:
    0 0 0 4px rgba(212, 175, 55, 0.12),
    0 0 18px rgba(212, 175, 55, 0.45);
}

.discord-modal-close:hover i {
  transform: scale(1.05);
}

.discord-modal-close:active {
  transform: scale(0.94) rotate(90deg);
}

.discord-modal-header {
  margin-bottom: 18px;
}

.discord-modal-icon {
  margin: 0 auto 14px;
  display: flex;
  align-items: center;
  justify-content: center;
}

.discord-modal-logo {
  width: 120px;
  height: auto;
  object-fit: contain;
}

.discord-modal-title,
.discord-modal-content h2 {
  margin: 0;
  font-family: 'Cinzel', 'Rajdhani', serif;
  font-size: 1.45rem;
  font-weight: 700;
  color: var(--white);
  line-height: 1.3;
}

.discord-invite-card {
  margin: 0 0 18px;
  padding: 8px;
  text-align: left;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  background: linear-gradient(160deg, rgba(30, 26, 18, 0.95), rgba(10, 9, 7, 0.98));
}

.discord-widget-embed {
  overflow: hidden;
  border-radius: 8px;
  border: 1px solid rgba(212, 175, 55, 0.18);
  background: #0b0b0d;
}

.discord-widget-embed iframe {
  display: block;
  width: 100%;
  height: 320px;
  border: 0;
  background: transparent;
}

.discord-invite-brand {
  display: flex;
  align-items: flex-start;
  gap: 14px;
}

.discord-invite-mark {
  flex: 0 0 auto;
  width: 46px;
  height: 46px;
  display: flex;
  align-items: center;
  justify-content: center;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.4);
  background: linear-gradient(145deg, rgba(212, 175, 55, 0.22), rgba(0, 0, 0, 0.35));
  color: var(--gold-light);
  font-size: 1.35rem;
}

.discord-invite-brand strong {
  display: block;
  margin-bottom: 4px;
  color: var(--gold-light);
  font-family: 'Cinzel', 'Rajdhani', serif;
  font-size: 1.05rem;
  letter-spacing: 0.04em;
}

.discord-invite-brand span {
  display: block;
  color: var(--muted);
  font-size: 0.88rem;
  line-height: 1.45;
}

.discord-join-btn {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  margin-bottom: 10px;
  padding: 14px 24px;
  overflow: hidden;
  border-radius: 10px;
  border: 1px solid rgba(240, 215, 140, 0.55);
  background: linear-gradient(135deg, #b8902a, var(--gold-light));
  color: #1a1408;
  font-family: 'Rajdhani', sans-serif;
  font-size: 1.08rem;
  font-weight: 800;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  text-decoration: none;
  cursor: pointer;
  transition: transform 0.2s ease, box-shadow 0.2s ease;
  box-shadow: 0 8px 22px rgba(184, 144, 42, 0.28);
}

.discord-join-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 28px rgba(212, 175, 55, 0.38);
  color: #0d0a04;
}

.discord-join-btn i {
  font-size: 1.2rem;
}

.discord-modal-skip {
  display: block;
  width: 100%;
  padding: 10px;
  border: 0;
  background: transparent;
  color: var(--gold);
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.98rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  cursor: pointer;
  transition: color 0.2s ease;
}

.discord-modal-skip:hover {
  color: var(--gold-light);
}

@media (max-width: 768px) {
  .discord-modal-content {
    padding: 24px 18px 18px;
  }

  .discord-modal-title,
  .discord-modal-content h2 {
    font-size: 1.25rem;
  }

  .discord-modal-logo {
    width: 104px;
  }
}
/* Donate */
.donate-page {
  min-height: 100vh;
  background: var(--bg);
}

.donate-hero {
  padding: 150px 0 62px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.16);
  text-align: center;
  background: var(--bg);
}

.section-kicker {
  display: block;
  margin-bottom: 8px;
  color: var(--ice);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 2.4px;
  text-transform: uppercase;
}

.donate-hero h1 {
  color: var(--white);
  font: 700 clamp(36px, 5vw, 58px)/1.1 var(--title);
}

.donate-hero p {
  max-width: 620px;
  margin: 12px auto 0;
  color: var(--muted);
  font-size: 18px;
}

.donate-content {
  padding: 62px 0 90px;
}

.donate-layout {
  display: grid;
  grid-template-columns: minmax(0, 1fr) 310px;
  gap: 28px;
  align-items: start;
}

.donate-main-column {
  display: grid;
  gap: 26px;
}

.donate-panel,
.donate-info-card {
  border: 1px solid var(--border);
  border-radius: var(--radius-lg);
  background: rgba(11, 18, 29, 0.94);
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.18);
}

.donate-panel {
  padding: 28px;
}

.donate-panel-heading {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  margin-bottom: 24px;
}

.donate-panel-heading span {
  color: var(--ice);
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 1.7px;
  text-transform: uppercase;
}

.donate-panel-heading h2 {
  color: var(--white);
  font: 700 24px/1.2 var(--title);
}

.donate-panel-heading > i {
  color: rgba(114, 207, 255, 0.36);
  font-size: 27px;
}

.donate-character-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 14px;
}

.donate-character-card {
  position: relative;
  display: grid;
  grid-template-columns: 48px 1fr;
  gap: 0 14px;
  min-height: 112px;
  padding: 18px;
  overflow: hidden;
  border: 1px solid var(--border);
  border-radius: 12px;
  background: #0a111c;
  cursor: pointer;
  transition: border-color var(--transition), background var(--transition), transform var(--transition);
}

.donate-character-card:hover,
.donate-character-card.is-selected {
  border-color: var(--ice);
  background: rgba(36, 126, 173, 0.13);
  transform: translateY(-2px);
}

.donate-character-card.is-online {
  cursor: not-allowed;
  opacity: 0.62;
}

.donate-character-card input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.donate-character-check {
  position: absolute;
  top: 10px;
  right: 10px;
  display: grid;
  width: 22px;
  height: 22px;
  place-items: center;
  border: 1px solid var(--border);
  border-radius: 50%;
  color: transparent;
  font-size: 10px;
}

.donate-character-card.is-selected .donate-character-check {
  border-color: var(--ice);
  background: var(--ice);
  color: #06101a;
}

.donate-avatar {
  grid-row: 1 / 4;
  display: grid;
  width: 48px;
  height: 48px;
  place-items: center;
  border: 1px solid rgba(114, 207, 255, 0.24);
  border-radius: 12px;
  background: rgba(114, 207, 255, 0.08);
  color: var(--ice);
  font-size: 20px;
}

.donate-character-card strong {
  padding-right: 24px;
  color: var(--white);
  font-size: 18px;
}

.donate-character-card > span:not(.donate-avatar, .donate-character-check) {
  color: var(--muted);
  font-size: 13px;
}

.donate-character-card small {
  margin-top: 7px;
  font-size: 11px;
}

.donate-character-card small i {
  margin-right: 5px;
  font-size: 7px;
}

.donate-character-card small.offline {
  color: var(--green);
}

.donate-character-card small.online {
  color: var(--red);
}

.donate-product-card {
  display: grid;
  grid-template-columns: auto 1fr auto;
  gap: 18px;
  align-items: center;
  margin-top: 22px;
  padding: 20px;
  border: 1px solid rgba(114, 207, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(115deg, rgba(36, 126, 173, 0.12), rgba(10, 17, 28, 0.9));
}

.donate-product-icon {
  display: grid;
  width: 52px;
  height: 52px;
  place-items: center;
  border-radius: 13px;
  background: linear-gradient(145deg, #8a4b26, #342015);
  color: #f4cc72;
  box-shadow: inset 0 0 0 1px rgba(244, 204, 114, 0.28);
  font-size: 22px;
}

.donate-product-card h3 {
  color: var(--white);
  font-size: 19px;
}

.donate-product-card p,
.donate-product-card span {
  color: var(--muted);
  font-size: 13px;
}

.donate-product-card span strong {
  color: var(--ice);
  font-size: 19px;
}

.donate-open-button {
  min-width: 140px;
  padding: 13px 24px;
  border: 0;
  border-radius: 9px;
}

.donate-info-card {
  position: sticky;
  top: 116px;
  padding: 28px;
}

.donate-info-card > i {
  margin-bottom: 18px;
  color: var(--ice);
  font-size: 30px;
}

.donate-info-card h2 {
  color: var(--white);
  font: 700 21px/1.25 var(--title);
}

.donate-info-card p {
  margin: 12px 0 20px;
  color: var(--muted);
}

.donate-info-card ul {
  display: grid;
  gap: 10px;
  padding-left: 18px;
  color: var(--text);
  font-size: 13px;
}

.donate-empty {
  padding: 46px 20px;
  text-align: center;
}

.donate-empty i {
  color: var(--muted);
  font-size: 34px;
}

.donate-empty h3 {
  margin-top: 12px;
  color: var(--white);
}

.donate-empty p,
.donate-history-empty {
  color: var(--muted);
}

.donate-history {
  display: grid;
}

.donate-history article {
  display: flex;
  justify-content: space-between;
  gap: 20px;
  padding: 16px 0;
  border-top: 1px solid var(--border);
}

.donate-history article:first-child {
  padding-top: 0;
  border-top: 0;
}

.donate-history article > div {
  display: grid;
}

.donate-history article > div:last-child {
  text-align: right;
}

.donate-history strong {
  color: var(--white);
}

.donate-history span {
  color: var(--muted);
  font-size: 12px;
}

.donate-status {
  font-weight: 700;
}

.donate-status.status-delivered {
  color: var(--green);
}

.donate-status.status-failed,
.donate-status.status-checkout_failed,
.donate-status.status-cancelled {
  color: var(--red);
}

body.donate-modal-open {
  overflow: hidden;
}

.donate-modal {
  position: fixed;
  inset: 0;
  z-index: 2200;
  display: grid;
  place-items: center;
  padding: 18px;
}

.donate-modal[hidden] {
  display: none;
}

.donate-modal-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(2, 6, 11, 0.8);
  backdrop-filter: blur(7px);
}

.donate-dialog {
  position: relative;
  width: min(440px, 100%);
  max-height: calc(100vh - 36px);
  padding: 26px;
  overflow-y: auto;
  border: 1px solid rgba(114, 207, 255, 0.28);
  border-radius: 18px;
  background: #f9fbfe;
  color: #172033;
  box-shadow: 0 28px 80px rgba(0, 0, 0, 0.48);
}

.donate-dialog-close {
  position: absolute;
  top: 16px;
  right: 17px;
  z-index: 2;
  border: 0;
  background: transparent;
  color: #91a1b7;
  font-size: 17px;
}

.donate-dialog-step {
  display: none;
}

.donate-dialog-step.is-active {
  display: block;
}

.donate-dialog-title {
  display: flex;
  gap: 13px;
  align-items: center;
  padding-right: 30px;
  margin-bottom: 22px;
}

.donate-dialog-title .donate-product-icon {
  flex: 0 0 52px;
}

.donate-dialog-title h2 {
  color: #141c2c;
  font: 800 21px/1.25 var(--body);
}

.donate-dialog-title p {
  color: #6d7d94;
  font-size: 13px;
}

.donate-dialog label {
  display: block;
  margin-bottom: 7px;
  color: #53647b;
  font-size: 13px;
}

.donate-number-input {
  width: 100%;
  height: 46px;
  padding: 0 14px;
  border: 2px solid #202633;
  border-radius: 11px;
  background: #fff;
  color: #111827;
  outline: none;
}

.donate-number-input:focus {
  border-color: #18a9e1;
}

.donate-range {
  width: 100%;
  margin: 14px 0 0;
  accent-color: #168cf0;
}

.donate-range-labels {
  display: flex;
  justify-content: space-between;
  color: #71829a;
  font-size: 12px;
}

.donate-summary {
  margin: 17px 0;
  padding: 16px;
  border: 1px solid #b7e1f7;
  border-radius: 12px;
  background: #edf8fe;
}

.donate-summary > div {
  display: flex;
  justify-content: space-between;
  gap: 12px;
  margin: 5px 0;
  color: #53647b;
  font-size: 14px;
}

.donate-summary strong {
  color: #172033;
}

.donate-summary .donate-bonus {
  color: #0c9c52;
}

.donate-summary hr {
  margin: 12px 0;
  border: 0;
  border-top: 1px dashed #acd8ed;
}

.donate-summary .donate-summary-total {
  align-items: center;
}

.donate-summary-total strong {
  color: #0aa7ea;
  font-size: 24px;
}

.donate-continue {
  width: 100%;
  padding: 13px 18px;
  border: 0;
  border-radius: 10px;
  background: #16a7e3;
  color: #fff;
  font-weight: 800;
}

.donate-provider-list {
  display: grid;
  gap: 10px;
  margin-bottom: 16px;
}

.donate-provider {
  display: flex;
  justify-content: space-between;
  align-items: center;
  width: 100%;
  min-height: 49px;
  padding: 10px 14px;
  border: 2px solid #e0e6ef;
  border-radius: 11px;
  background: #fff;
  color: #141a25;
  font-size: 14px;
  text-align: left;
  transition: border-color var(--transition), background var(--transition);
}

.donate-provider:hover,
.donate-provider.is-selected {
  border-color: #18a9e1;
  background: #eefaff;
}

.donate-provider i {
  width: 27px;
  color: #14a8df;
  font-size: 20px;
}

.donate-provider strong {
  font-size: 13px;
}

.donate-pix-box {
  display: grid;
  gap: 12px;
  margin: 14px 0 16px;
}

.donate-pix-box[hidden] {
  display: none !important;
}

.donate-pix-box img {
  width: min(220px, 72vw);
  aspect-ratio: 1;
  justify-self: center;
  border: 1px solid #cfe1ec;
  border-radius: 6px;
  background: #fff;
  padding: 10px;
}

.donate-pix-box textarea {
  width: 100%;
  min-height: 74px;
  resize: vertical;
  padding: 10px 12px;
  border: 1px solid #cfe1ec;
  border-radius: 6px;
  color: #172033;
  background: #fff;
  font: 600 12px/1.4 var(--body);
  overflow-wrap: anywhere;
}

.donate-pix-status {
  margin: 2px 0 0;
  color: #53647b;
  font-size: 13px;
  text-align: center;
}

.donate-pix-status.is-paid {
  color: #0c9c52;
  font-weight: 800;
}

.donate-pix-status.is-error {
  color: #b0404a;
}

.donate-pix-return {
  color: #1488bf;
  font-weight: 800;
  text-align: center;
}

.donate-back {
  display: block;
  margin: 14px auto 0;
  border: 0;
  background: transparent;
  color: #718096;
}

.donate-return-page {
  padding-block: 140px 70px;
}

.donate-return-card {
  max-width: 500px;
}

.donate-return-card .section-kicker {
  text-align: center;
}

.donate-alert-success {
  border-color: rgba(64, 217, 138, 0.4);
  background: rgba(64, 217, 138, 0.1);
  color: #8ff0bd;
}

.donate-alert-pending {
  border-color: rgba(114, 207, 255, 0.34);
  background: rgba(114, 207, 255, 0.08);
  color: var(--ice-light);
}

.donate-return-summary {
  display: grid;
  grid-template-columns: 1fr auto;
  gap: 8px 18px;
  margin: 22px 0;
  padding: 18px;
  border: 1px solid var(--border);
  border-radius: 10px;
  background: rgba(5, 9, 15, 0.4);
}

.donate-return-summary span {
  color: var(--muted);
}

.donate-return-summary strong {
  color: var(--white);
}

.donate-sandbox-actions {
  display: grid;
}

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

  .donate-info-card {
    position: static;
  }
}

@media (max-width: 620px) {
  .donate-hero {
    padding-top: 126px;
  }

  .donate-panel {
    padding: 20px;
  }

  .donate-character-grid {
    grid-template-columns: 1fr;
  }

  .donate-product-card {
    grid-template-columns: auto 1fr;
  }

  .donate-open-button {
    grid-column: 1 / -1;
    width: 100%;
  }

  .donate-history article {
    flex-direction: column;
  }

  .donate-history article > div:last-child {
    text-align: left;
  }

  .donate-dialog {
    padding: 22px 18px;
  }
}

/* ----------------------------------------------------------------------
 * Donate product tabs (Ticket Donate / Farm Offline)
 * ------------------------------------------------------------------- */
.donate-tabs {
  display: flex;
  gap: 8px;
  margin-top: 22px;
  border-bottom: 1px solid rgba(114, 207, 255, 0.2);
}

.donate-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 12px 18px;
  border: 0;
  border-bottom: 2px solid transparent;
  background: transparent;
  color: var(--muted);
  font: 700 14px/1 var(--body);
  cursor: pointer;
  transition: color 0.18s ease, border-color 0.18s ease;
}

.donate-tab:hover {
  color: var(--white);
}

.donate-tab.is-active {
  color: var(--ice);
  border-bottom-color: var(--ice);
}

.donate-tab-panel {
  display: none;
}

.donate-tab-panel.is-active {
  display: block;
}

.donate-farm-intro .donate-product-icon {
  background: linear-gradient(145deg, #1f6f9e, #11202f);
  color: #8fe3ff;
  box-shadow: inset 0 0 0 1px rgba(143, 227, 255, 0.28);
}

.donate-plan-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
  gap: 14px;
  margin-top: 20px;
}

.donate-plan-card {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
  padding: 22px 16px;
  border: 1px solid rgba(114, 207, 255, 0.2);
  border-radius: 12px;
  background: linear-gradient(115deg, rgba(36, 126, 173, 0.12), rgba(10, 17, 28, 0.9));
  text-align: center;
}

.donate-plan-days {
  display: grid;
  place-items: center;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  background: rgba(114, 207, 255, 0.12);
  color: var(--ice);
  font: 800 20px/1 var(--title);
}

.donate-plan-card strong {
  color: var(--white);
  font-size: 16px;
}

.donate-plan-price {
  color: var(--ice);
  font: 800 18px/1 var(--body);
}

.donate-plan-card .btn-primary {
  margin-top: 6px;
  width: 100%;
  padding: 10px 16px;
  border: 0;
  border-radius: 9px;
}

/* Plan cards used as selectable buttons inside the farm modal */
.donate-plan-grid-modal {
  grid-template-columns: repeat(auto-fit, minmax(110px, 1fr));
}

.donate-plan-select {
  cursor: pointer;
  transition: border-color 0.18s ease, background 0.18s ease;
}

.donate-plan-select .donate-plan-days {
  width: 44px;
  height: 44px;
  font-size: 17px;
}

.donate-plan-select:hover,
.donate-plan-select.is-selected {
  border-color: #18a9e1;
  background: linear-gradient(115deg, rgba(36, 126, 173, 0.28), rgba(10, 17, 28, 0.92));
}

.donate-farm-hint {
  margin-top: 16px;
  color: var(--muted);
  font-size: 13px;
}

.donate-farm-hint.is-ready {
  color: #57d98a;
}

.donate-farm-hint strong {
  color: var(--white);
}

/* Plan cards inside the (light) farm modal dialog */
.donate-dialog .donate-plan-card {
  border: 1px solid #d4e3ef;
  background: #ffffff;
  color: #172033;
}

.donate-dialog .donate-plan-card strong {
  color: #141c2c;
}

.donate-dialog .donate-plan-days {
  background: #e7f5fc;
  color: #1488bf;
}

.donate-dialog .donate-plan-price {
  color: #1488bf;
}

.donate-dialog .donate-plan-select:hover,
.donate-dialog .donate-plan-select.is-selected {
  border-color: #18a9e1;
  background: #eefaff;
}

/* -- Server Info (Euphoria-style panel) -- */
.server-info-page .section-heading {
  margin-bottom: 28px;
}

.server-info-stats {
  margin-bottom: 28px;
}

.server-info-panel {
  width: min(920px, 100%);
  margin: 0 auto;
  padding: 28px 24px 32px;
  border: 1px solid rgba(212, 175, 55, 0.35);
  border-radius: 18px;
  background:
    linear-gradient(180deg, rgba(18, 14, 8, 0.96), rgba(7, 7, 9, 0.98));
  box-shadow:
    0 0 0 1px rgba(212, 175, 55, 0.08) inset,
    0 24px 60px rgba(0, 0, 0, 0.45);
}

.server-info-title {
  margin: 0 0 22px;
  text-align: center;
  color: var(--gold-light);
  font: 700 28px/1.1 var(--title);
  letter-spacing: 2px;
  text-transform: uppercase;
}

.server-info-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 8px;
  margin-bottom: 22px;
  padding-bottom: 18px;
  border-bottom: 1px solid rgba(212, 175, 55, 0.18);
}

.server-info-tab {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 14px;
  border: 1px solid transparent;
  border-radius: 8px;
  background: transparent;
  color: rgba(240, 215, 140, 0.62);
  font: 600 11px/1 var(--title);
  letter-spacing: 1.4px;
  text-transform: uppercase;
  transition: color var(--transition), border-color var(--transition), background var(--transition);
}

.server-info-tab i {
  font-size: 13px;
}

.server-info-tab:hover {
  color: var(--gold-light);
  border-color: rgba(212, 175, 55, 0.25);
}

.server-info-tab.is-active {
  color: #fff1c2;
  border-color: rgba(212, 175, 55, 0.55);
  background: rgba(212, 175, 55, 0.1);
  box-shadow: 0 0 18px rgba(212, 175, 55, 0.12);
}

.server-info-banner {
  height: 180px;
  margin-bottom: 22px;
  border-radius: 12px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  background-position: center 20%;
  background-size: cover;
  box-shadow: inset 0 -40px 50px rgba(0, 0, 0, 0.55);
}

.server-info-group {
  margin-top: 8px;
}

.server-info-group h3 {
  margin: 0 0 16px;
  color: var(--gold);
  font: 700 16px/1.2 var(--title);
  letter-spacing: 1.5px;
  text-transform: uppercase;
}

.server-info-list {
  list-style: none;
  margin: 0;
  padding: 0;
  display: grid;
  gap: 12px;
}

.server-info-list li {
  display: flex;
  align-items: flex-start;
  gap: 14px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.14);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
}

.server-info-list li div {
  display: grid;
  gap: 4px;
  min-width: 0;
}

.server-info-list strong {
  color: var(--gold-light);
  font: 700 14px/1.3 var(--title);
  letter-spacing: 0.6px;
}

.server-info-list span {
  color: #e8e2d4;
  font-size: 14px;
  line-height: 1.45;
}

.server-info-icon {
  width: 34px;
  height: 34px;
  flex: 0 0 34px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  border: 1px solid rgba(212, 175, 55, 0.35);
  background: rgba(212, 175, 55, 0.08);
  color: var(--gold);
  font-size: 13px;
}

.server-info-schedule li {
  justify-content: space-between;
}

.server-info-schedule li div {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
}

.server-info-alert {
  margin-bottom: 18px;
  padding: 14px 16px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 10px;
  background: rgba(212, 175, 55, 0.08);
  color: #f3e7c2;
  font-size: 14px;
  line-height: 1.5;
}

.server-info-rewards {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 12px;
  margin-bottom: 22px;
}

.server-info-reward {
  padding: 16px 12px;
  border-radius: 10px;
  border: 1px solid rgba(212, 175, 55, 0.2);
  text-align: center;
  background: rgba(0, 0, 0, 0.25);
}

.server-info-reward span {
  display: block;
  margin-bottom: 8px;
  color: rgba(240, 215, 140, 0.7);
  font: 700 11px/1 var(--title);
  letter-spacing: 1.4px;
  text-transform: uppercase;
}

.server-info-reward strong {
  color: #fff6d6;
  font: 700 18px/1.2 var(--title);
}

.server-info-reward.is-win {
  border-color: rgba(80, 200, 120, 0.35);
}

.server-info-reward.is-lose {
  border-color: rgba(220, 90, 90, 0.35);
}

.server-info-reward.is-top {
  border-color: rgba(212, 175, 55, 0.55);
}

.server-info-chips {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}

.server-info-chips span {
  padding: 10px 14px;
  border: 1px solid rgba(212, 175, 55, 0.28);
  border-radius: 999px;
  color: var(--gold-light);
  font: 600 12px/1 var(--title);
  letter-spacing: 1px;
  text-transform: uppercase;
  background: rgba(212, 175, 55, 0.06);
}

@media (max-width: 760px) {
  .server-info-panel {
    padding: 22px 14px 26px;
  }

  .server-info-tab {
    flex: 1 1 calc(50% - 8px);
    justify-content: center;
  }

  .server-info-rewards {
    grid-template-columns: 1fr;
  }

  .server-info-schedule li div {
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
  }

  .server-info-banner {
    height: 140px;
  }
}
