:root {
  color-scheme: dark;
  --bg: #080606;
  --panel: #15100d;
  --panel-strong: #211712;
  --text: #fff5e6;
  --muted: #c9b7a5;
  --line: rgba(255, 255, 255, 0.12);
  --gold: #f4c75f;
  --ember: #ff6a18;
  --ember-dark: #7d220b;
  --green: #58b487;
  --red: #d76b6b;
  --font-heading: "El Messiri", Georgia, serif;
  --font-nav: "Montserrat", Arial, sans-serif;
  --font-body: "Inter", Arial, sans-serif;
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  min-height: 100vh;
  background: var(--bg);
  color: var(--text);
  font-family: var(--font-body);
  line-height: 1.5;
}

html body {
    top: 0px !important;
    position: static !important;
}

.home-page {
  overflow: hidden;
}

.home-page main {
  height: 100vh;
  overflow: hidden;
}

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

.language-switch {
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.language-switch button {
    position: relative;
    min-width: 48px;
    height: 46px;
    overflow: hidden;
    border: 1px solid rgba(255, 187, 103, 0.2);
    border-radius: 10px;
    background: linear-gradient(180deg, rgba(255, 228, 191, 0.08), rgba(255, 255, 255, 0.015)), radial-gradient(circle at 50% 100%, rgba(255, 112, 24, 0.12), transparent 58%), rgba(16, 9, 6, 0.42);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1), inset 0 -10px 18px rgba(255, 105, 18, 0.05), 0 10px 20px rgba(0, 0, 0, 0.34);
    color: rgba(255, 229, 199, 0.82);
    cursor: pointer;
    font-family: var(--font-nav);
    font-size: 15px;
    font-weight: 800;
    letter-spacing: 0;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
    transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.language-switch button:hover, .language-switch button.is-active {
    border-color: rgba(255, 191, 111, 0.56);
    color: rgba(255, 244, 222, 0.98);
    background: linear-gradient(180deg, rgba(255, 198, 118, 0.11), rgba(255, 255, 255, 0.018)), radial-gradient(circle at 50% 100%, rgba(255, 113, 26, 0.2), transparent 58%), rgba(18, 8, 5, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -14px 24px rgba(255, 105, 18, 0.07), 0 12px 24px rgba(0, 0, 0, 0.38), 0 0 16px rgba(255, 117, 28, 0.34), 0 0 1px rgba(255, 230, 190, 0.55);
}

.language-switch button.is-active {
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.17), inset 0 -14px 24px rgba(255, 105, 18, 0.09), 0 12px 24px rgba(0, 0, 0, 0.38), 0 0 18px rgba(255, 149, 49, 0.5), 0 0 1px rgba(255, 230, 190, 0.6);
}

.language-switch button:hover, .language-switch button.is-active {
    border-color: rgba(255, 191, 111, 0.56);
    color: rgba(255, 244, 222, 0.98);
    background: linear-gradient(180deg, rgba(255, 198, 118, 0.11), rgba(255, 255, 255, 0.018)), radial-gradient(circle at 50% 100%, rgba(255, 113, 26, 0.2), transparent 58%), rgba(18, 8, 5, 0.34);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.15), inset 0 -14px 24px rgba(255, 105, 18, 0.07), 0 12px 24px rgba(0, 0, 0, 0.38), 0 0 16px rgba(255, 117, 28, 0.34), 0 0 1px rgba(255, 230, 190, 0.55);
}

.language-switch button::before {
    position: absolute;
    inset: 1px;
    border-radius: 8px;
    background: linear-gradient(135deg, rgba(255, 235, 205, 0.13), transparent 38%, rgba(255, 111, 25, 0.08));
    content: "";
    pointer-events: none;
}

div.skiptranslate,
#google_translate_element {
	display: none !important;
}

.site-header {
  position: sticky;
  top: 0;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: clamp(12px, 1.7vw, 24px);
  padding: 18px clamp(20px, 4vw, 56px);
  background: rgba(16, 19, 21, 0.92);
  border-bottom: 1px solid var(--line);
  backdrop-filter: blur(16px);
}

.site-header--overlay {
  position: fixed;
  width: 100%;
  background: linear-gradient(180deg, rgba(0, 0, 0, 0.72), rgba(0, 0, 0, 0));
  border-bottom: 0;
}

.brand {
  color: rgba(255, 238, 215, 0.9);
  font-family: var(--font-nav);
  font-size: 22px;
  font-weight: 800;
  white-space: nowrap;
}

.brand--mark {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.brand--mark img {
  width: 56px;
  height: 56px;
  object-fit: contain;
}

.brand--mark span {
  font-family: var(--font-heading);
  font-weight: 700;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
  transition: color 180ms ease, text-shadow 180ms ease;
}

.brand--mark:hover span {
  color: #fff4d8;
  text-shadow: 0 0 14px rgba(255, 145, 42, 0.7), 0 3px 14px rgba(0, 0, 0, 0.72);
}

.main-nav {
  display: flex;
  min-width: 0;
  flex-wrap: nowrap;
  justify-content: flex-end;
  gap: clamp(12px, 1.45vw, 24px);
  color: rgba(255, 238, 215, 0.88);
  font-family: var(--font-nav);
  font-size: clamp(14px, 1.25vw, 18px);
  font-weight: 600;
  text-shadow: 0 2px 12px rgba(0, 0, 0, 0.72);
}

.main-nav a {
  position: relative;
  padding: 8px 2px 10px;
  white-space: nowrap;
  transition: color 180ms ease, text-shadow 180ms ease;
}

.main-nav a::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 186, 77, 0.95), transparent);
  box-shadow: 0 0 12px rgba(255, 128, 30, 0.72);
  content: "";
  opacity: 0;
  transform: scaleX(0.35);
  transition: opacity 180ms ease, transform 180ms ease;
}

.main-nav a:hover {
  color: #fff4d8;
  text-shadow: 0 0 14px rgba(255, 145, 42, 0.7), 0 3px 14px rgba(0, 0, 0, 0.72);
}

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

.nav.active {
  color: var(--gold);
  text-shadow: 0 0 16px rgba(255, 145, 42, 0.78), 0 3px 14px rgba(0, 0, 0, 0.72);
}

.language-switch {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}

.language-switch button {
  position: relative;
  min-width: 48px;
  height: 46px;
  overflow: hidden;
  border: 1px solid rgba(255, 187, 103, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 228, 191, 0.08), rgba(255, 255, 255, 0.015)),
    radial-gradient(circle at 50% 100%, rgba(255, 112, 24, 0.12), transparent 58%),
    rgba(16, 9, 6, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -10px 18px rgba(255, 105, 18, 0.05),
    0 10px 20px rgba(0, 0, 0, 0.34);
  color: rgba(255, 229, 199, 0.82);
  cursor: pointer;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 800;
  letter-spacing: 0;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transition: border-color 180ms ease, color 180ms ease, background 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.language-switch button::before {
  position: absolute;
  inset: 1px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 235, 205, 0.13), transparent 38%, rgba(255, 111, 25, 0.08));
  content: "";
  pointer-events: none;
}

.language-switch button:hover,
.language-switch button.is-active {
  border-color: rgba(255, 191, 111, 0.56);
  color: rgba(255, 244, 222, 0.98);
  background:
    linear-gradient(180deg, rgba(255, 198, 118, 0.11), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 50% 100%, rgba(255, 113, 26, 0.2), transparent 58%),
    rgba(18, 8, 5, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -14px 24px rgba(255, 105, 18, 0.07),
    0 12px 24px rgba(0, 0, 0, 0.38),
    0 0 16px rgba(255, 117, 28, 0.34),
    0 0 1px rgba(255, 230, 190, 0.55);
}

.language-switch button:hover {
  transform: translateY(-1px);
}

.language-switch button.is-active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.17),
    inset 0 -14px 24px rgba(255, 105, 18, 0.09),
    0 12px 24px rgba(0, 0, 0, 0.38),
    0 0 18px rgba(255, 149, 49, 0.5),
    0 0 1px rgba(255, 230, 190, 0.6);
}

.hero {
  display: grid;
  min-height: 520px;
  align-items: center;
  padding: 72px clamp(20px, 5vw, 72px);
  background:
    linear-gradient(90deg, rgba(16, 19, 21, 0.94), rgba(16, 19, 21, 0.58)),
    url("../assets/images/hero-placeholder.jpg");
  background-color: #182024;
  background-position: center;
  background-size: cover;
}

.home-page main > .section {
  display: none;
}

.home-footer {
  position: fixed;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 3;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 28px;
  padding: 5px 18px;
  border-top: 1px solid rgba(255, 226, 191, 0.1);
  background: rgba(8, 5, 4, 0.22);
  color: rgba(255, 226, 191, 0.72);
  font-size: 12px;
  font-weight: 600;
  text-align: center;
  backdrop-filter: blur(10px) saturate(112%);
}

.home-footer::before {
  content: var(--home-footer-text, "©2025-2026 Icarus Dreams. Все права защищены.");
}

.mmotop-widget {
  position: fixed;
  right: 0;
  bottom: 0;
  z-index: 12;
  line-height: 0;
}

.mmotop-widget a,
.mmotop-widget img {
  display: block;
}

.mmotop-widget img {
  max-width: min(180px, calc(100vw - 24px));
  height: auto;
  border: 0;
}

.hero--dragon {
  position: relative;
  height: 100vh;
  min-height: 0;
  overflow: hidden;
  display: grid;
  grid-template-rows: minmax(250px, 42vh) 1fr;
  padding-top: 112px;
  background:
    radial-gradient(circle at 52% 48%, rgba(255, 101, 18, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.42)),
    url("../assets/images/dragon-background.png");
  background-color: #120b09;
  background-position: center;
  background-size: cover;
}

.hero--dragon::before {
  position: absolute;
  inset: 0;
  z-index: 0;
  background:
    radial-gradient(circle at 52% 48%, rgba(255, 101, 18, 0.18), transparent 28%),
    linear-gradient(180deg, rgba(0, 0, 0, 0.12), rgba(0, 0, 0, 0.08) 58%, rgba(0, 0, 0, 0.42)),
    url("../assets/images/dragon-background.png");
  background-position: center;
  background-size: cover;
  content: "";
  animation: dragon-bg-drift 26s ease-in-out infinite alternate;
  pointer-events: none;
  transform: scale(1.04);
  transform-origin: center;
  will-change: transform, filter;
}

.hero--dragon::after {
  position: absolute;
  right: 0;
  bottom: 0;
  left: 0;
  z-index: 1;
  height: 22%;
  background: linear-gradient(180deg, rgba(8, 6, 6, 0), rgba(8, 6, 6, 0.72) 72%, var(--bg));
  content: "";
  pointer-events: none;
}

@keyframes dragon-bg-drift {
  0% {
    filter: saturate(1.04) brightness(1.02);
    transform: scale(1.04) translate3d(-0.8%, -0.4%, 0);
  }

  50% {
    filter: saturate(1.12) brightness(1.08);
    transform: scale(1.075) translate3d(0.7%, 0.5%, 0);
  }

  100% {
    filter: saturate(1.06) brightness(1.04);
    transform: scale(1.05) translate3d(1%, -0.2%, 0);
  }
}

.hero__content {
  position: relative;
  z-index: 1;
  max-width: 720px;
}

.hero__content--center {
  display: grid;
  justify-items: center;
  max-width: 760px;
  margin: 0 auto;
  text-align: center;
}

.hero__content--top {
  align-self: start;
  justify-self: center;
  width: min(1280px, calc(100vw - 48px));
  max-width: none;
  padding-top: clamp(0px, 1.8vh, 24px);
  text-align: center;
}

.hero__content--top p {
  margin-bottom: 0;
  color: rgba(255, 238, 215, 0.9);
  font-family: var(--font-body);
  font-size: clamp(18px, 2.2vw, 30px);
  font-weight: 800;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  text-shadow: 0 0 18px rgba(255, 104, 22, 0.44), 0 4px 18px rgba(0, 0, 0, 0.72);
}

.hero__cta {
  position: absolute;
  bottom: 160px;
  left: 50%;
  z-index: 1;
  transform: translate(-50%, -50%);
}

.accounts-counter {
  min-width: 0;
  position: static;
  display: grid;
  justify-items: center;
  align-self: stretch;
  grid-template-rows: 15px 1fr auto;
  gap: 0;
  grid-column: 1;
  grid-row: 1 / span 2;
  width: 112px;
  height: auto;
  padding: 0 10px 0 0;
  border-right: 1px solid rgba(255, 190, 116, 0.16);
  text-align: center;
}

.accounts-counter__label {
  color: rgba(255, 226, 191, 0.9);
  font-family: var(--font-nav);
  font-size: 9px;
  font-weight: 800;
  line-height: 15px;
  letter-spacing: 0;
  text-align: center;
  white-space: nowrap;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 128, 30, 0.72), 0 3px 14px rgba(0, 0, 0, 0.88);
}

.accounts-counter__value {
  display: block;
  align-self: center;
  color: rgba(255, 244, 222, 0.98);
  font-family: var(--font-nav);
  font-size: 25px;
  font-weight: 900;
  line-height: 0.95;
  text-shadow:
    0 0 14px rgba(255, 128, 30, 0.42),
    0 4px 14px rgba(0, 0, 0, 0.72);
}

.accounts-counter__caption {
  align-self: end;
  color: rgba(255, 226, 191, 0.76);
  font-family: var(--font-nav);
  font-size: 9px;
  font-weight: 800;
  line-height: 10px;
  text-transform: uppercase;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.78);
}

.social-dock {
  position: absolute;
  right: 50%;
  bottom: 5px;
  z-index: 2;
  display: grid;
  grid-template-columns: 112px repeat(4, 42px);
  grid-template-rows: 15px 42px;
  align-items: center;
  justify-content: center;
  gap: 7px 8px;
  width: max-content;
  max-width: calc(100vw - 20px);
  padding: 10px 12px 11px;
  border: 1px solid rgba(255, 187, 103, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 238, 214, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(8, 5, 4, 0.42);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 14px 30px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(24px) saturate(128%);
  transform: translateX(50%);
}

.social-dock__title {
  grid-column: 2 / 6;
  grid-row: 1;
  margin: 0;
  color: rgba(255, 226, 191, 0.9);
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 800;
  line-height: 15px;
  letter-spacing: 0;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 14px rgba(255, 128, 30, 0.72), 0 3px 14px rgba(0, 0, 0, 0.88);
}

.social-link {
  grid-row: 2;
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 42px;
  height: 42px;
  overflow: hidden;
  border: 1px solid rgba(255, 187, 103, 0.2);
  border-radius: 9px;
  color: rgba(255, 229, 199, 0.82);
  background:
    linear-gradient(180deg, rgba(255, 238, 214, 0.07), rgba(255, 255, 255, 0.012)),
    rgba(11, 6, 5, 0.28);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -12px 22px rgba(255, 105, 18, 0.035),
    0 10px 22px rgba(0, 0, 0, 0.34),
    0 0 0 1px rgba(255, 126, 35, 0.08);
  backdrop-filter: blur(10px) saturate(118%);
  filter:
    drop-shadow(0 4px 9px rgba(0, 0, 0, 0.72));
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, filter 180ms ease, transform 180ms ease;
}

.social-link--discord {
  grid-column: 2;
}

.social-link--vk {
  grid-column: 3;
}

.social-link--twitch {
  grid-column: 4;
}

.social-link--youtube {
  grid-column: 5;
}

.social-link::before {
  position: absolute;
  inset: 1px;
  border-radius: 8px;
  background: linear-gradient(135deg, rgba(255, 235, 205, 0.13), transparent 38%, rgba(255, 111, 25, 0.08));
  content: "";
  pointer-events: none;
}

.social-link svg {
  position: relative;
  z-index: 1;
  width: 44px;
  height: 44px;
  fill: currentColor;
}

.social-link--discord svg {
  width: 43px;
  height: 43px;
  transform: translateY(0);
}

.social-link--vk svg {
  width: 48px;
  height: 48px;
  transform: translateY(0);
}

.social-link--twitch svg {
  width: 43px;
  height: 43px;
  transform: translateY(0);
}

.social-link--youtube svg {
  width: 46px;
  height: 46px;
  transform: translateY(0);
}

.social-link:hover {
  border-color: rgba(255, 191, 111, 0.56);
  color: rgba(255, 244, 222, 0.96);
  background:
    linear-gradient(180deg, rgba(255, 198, 118, 0.11), rgba(255, 255, 255, 0.018)),
    rgba(18, 8, 5, 0.34);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.15),
    inset 0 -14px 24px rgba(255, 105, 18, 0.07),
    0 12px 24px rgba(0, 0, 0, 0.38),
    0 0 16px rgba(255, 117, 28, 0.34),
    0 0 1px rgba(255, 230, 190, 0.55);
  filter:
    drop-shadow(0 0 10px rgba(255, 140, 38, 0.28))
    drop-shadow(0 7px 14px rgba(0, 0, 0, 0.7));
  transform: translateY(-2px);
}

.reviews-marquee {
  position: absolute;
  right: 0;
  bottom: 100px;
  left: 0;
  z-index: 1;
  height: 132px;
  overflow: hidden;
  background: transparent;
  box-shadow: none;
  mask-image: linear-gradient(90deg, transparent, #000 4%, #000 96%, transparent);
}

.reviews-marquee__track {
  display: flex;
  width: max-content;
  height: 100%;
  align-items: center;
  animation: reviews-marquee 150s linear infinite;
  will-change: transform;
}

.reviews-marquee__group {
  display: flex;
  flex: 0 0 auto;
  align-items: center;
  gap: 14px;
  padding-right: 14px;
}

.review-card {
  width: 460px;
  min-height: 108px;
  padding: 12px 16px;
  border: 1px solid rgba(255, 187, 103, 0.14);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 238, 214, 0.055), rgba(255, 255, 255, 0.01)),
    rgba(11, 6, 5, 0.24);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 8px 18px rgba(0, 0, 0, 0.25);
}

.review-card__stars {
  color: rgba(244, 199, 95, 0.96);
  font-size: 15px;
  line-height: 1;
  text-shadow: 0 0 10px rgba(255, 128, 30, 0.48);
  padding-bottom: 5px;
}

.review-card p {
  display: -webkit-box;
  margin: 0;
  overflow: hidden;
  color: rgba(255, 238, 215, 0.86);
  font-family: var(--font-body);
  font-size: 14px;
  line-height: 1.3;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.74);
  -webkit-box-orient: vertical;
  -webkit-line-clamp: 5;
}

@keyframes reviews-marquee {
  from {
    transform: translateX(-50%);
  }

  to {
    transform: translateX(0);
  }
}

.eyebrow {
  margin: 0 0 10px;
  color: var(--gold);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 600;
  text-transform: uppercase;
}

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

h1,
h2,
h3 {
  font-family: var(--font-heading);
  font-weight: 800;
}

h1 {
  margin-bottom: 18px;
  font-size: clamp(42px, 6.8vw, 108px);
  line-height: 0.95;
  white-space: nowrap;
  text-shadow: 0 0 28px rgba(255, 102, 24, 0.42), 0 8px 26px rgba(0, 0, 0, 0.75);
}

h2 {
  font-size: 30px;
}

h3 {
  font-size: 20px;
}

.hero p,
.section__header p,
.feature-card p {
  color: var(--muted);
  font-family: var(--font-body);
}

.feature-card h2,
.feature-card h3 {
  font-family: var(--font-heading);
}

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

.actions--center {
  justify-content: center;
}

.button {
  position: relative;
  overflow: hidden;
  display: inline-flex;
  min-height: 44px;
  align-items: center;
  justify-content: center;
  padding: 11px 18px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel-strong);
  color: var(--text);
  cursor: pointer;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 800;
}

.button--large {
  min-width: 238px;
  min-height: 64px;
  border-radius: 4px;
  font-size: 18px;
  letter-spacing: 0;
  text-transform: uppercase;
}

.button--primary {
  border-color: rgba(255, 204, 100, 0.7);
  background: linear-gradient(180deg, var(--gold), var(--ember));
  box-shadow: 0 0 28px rgba(255, 106, 24, 0.26);
  color: #1c0b04;
}

.button--ghost {
  background: rgba(0, 0, 0, 0.35);
  box-shadow: inset 0 0 22px rgba(255, 106, 24, 0.12);
}

.button--flame {
  isolation: isolate;
  overflow: hidden;
  width: min(680px, calc(100vw - 40px));
  min-width: 0;
  min-height: 118px;
  padding-inline: clamp(32px, 7vw, 76px);
  border: 1px solid rgba(255, 238, 215, 0.12);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(16, 9, 6, 0.14);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 18px 38px rgba(0, 0, 0, 0.28);
  color: #fff0dc;
  font-family: var(--font-nav);
  font-size: clamp(30px, 4.6vw, 48px);
  font-weight: 800;
  line-height: 1;
  text-align: center;
  text-shadow: 0 3px 14px rgba(0, 0, 0, 0.72);
  user-select: none;
  white-space: nowrap;
  backdrop-filter: blur(18px) saturate(128%);
  transition: background 180ms ease, border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.button--flame::before,
.button--flame::after {
  position: absolute;
  content: "";
  pointer-events: none;
}

.button--flame::before {
  right: 40px;
  bottom: 24px;
  left: 40px;
  z-index: 1;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(255, 186, 77, 0.95), transparent);
  box-shadow: 0 0 12px rgba(255, 128, 30, 0.72);
  opacity: 0.72;
  transform: scaleX(0.72);
  transition: opacity 180ms ease, transform 180ms ease;
}

.button--flame::after {
  inset: -38px;
  z-index: -1;
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(255, 145, 42, 0.36), transparent 58%),
    linear-gradient(90deg, rgba(255, 186, 77, 0), rgba(255, 186, 77, 0.34), rgba(255, 186, 77, 0));
  opacity: 0;
  filter: blur(18px);
  mix-blend-mode: screen;
  transform: scaleX(0.86);
  transition: opacity 180ms ease, transform 180ms ease;
}

.button--flame:hover {
  border-color: rgba(255, 186, 77, 0.34);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.11), rgba(255, 255, 255, 0.025)),
    rgba(22, 10, 5, 0.18);
  color: #fff4d8;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 0 0 1px rgba(255, 186, 77, 0.12),
    0 0 24px rgba(255, 145, 42, 0.42),
    0 18px 38px rgba(0, 0, 0, 0.44);
  text-shadow: 0 0 14px rgba(255, 145, 42, 0.7), 0 3px 14px rgba(0, 0, 0, 0.72);
  transform: translateY(-2px);
}

.button--flame:hover::before {
  opacity: 1;
  transform: scaleX(1);
}

.button--flame:hover::after {
  opacity: 1;
  transform: scaleX(1);
}

.button--flame:active {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.14),
    0 0 16px rgba(255, 145, 42, 0.28),
    0 12px 28px rgba(0, 0, 0, 0.42);
  transform: translateY(0);
}

.button--flame:focus-visible {
  outline: 2px solid rgba(255, 188, 101, 0.82);
  outline-offset: 4px;
}

@supports not (backdrop-filter: blur(1px)) {
  .button--flame {
    background:
      linear-gradient(145deg, rgba(104, 59, 31, 0.72), rgba(42, 21, 13, 0.78)),
      rgba(36, 18, 10, 0.72);
  }
}

.page {
  padding: 48px clamp(20px, 4vw, 56px);
}

.page--narrow {
  max-width: 760px;
  margin: 0 auto;
}

.auth-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #070606;
}

.auth-shell {
  position: relative;
  display: grid;
  min-height: 100vh;
  align-items: center;
  justify-items: center;
  padding: 132px clamp(18px, 4vw, 56px) 56px;
  isolation: isolate;
}

.auth-shell::before {
  position: absolute;
  inset: 0;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.45), rgba(8, 6, 6, 0.24) 44%, rgba(8, 6, 6, 0.86)),
    url("../assets/images/dragon-background.png") center 45% / cover no-repeat;
  content: "";
  filter: saturate(1.12) contrast(1.05);
}

.auth-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 34%, rgba(255, 118, 26, 0.2), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.58));
  content: "";
  pointer-events: none;
}

.auth-panel {
  width: min(460px, 100%);
  padding: clamp(24px, 4vw, 34px);
  border: 1px solid rgba(255, 214, 142, 0.22);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.08), rgba(255, 255, 255, 0.02)),
    rgba(18, 9, 5, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 24px 60px rgba(0, 0, 0, 0.5),
    0 0 34px rgba(255, 107, 24, 0.14);
  backdrop-filter: blur(18px) saturate(126%);
}

.auth-panel--register {
  width: min(500px, 100%);
}

.auth-panel__header {
  margin-bottom: 22px;
  text-align: center;
}

.auth-panel__header h1 {
  margin: 4px 0 8px;
  color: #fff0d2;
  font-family: var(--font-heading);
  font-size: clamp(34px, 6vw, 52px);
  line-height: 1;
  text-shadow: 0 0 18px rgba(255, 145, 42, 0.34), 0 3px 16px rgba(0, 0, 0, 0.72);
}

.auth-panel__header p:not(.eyebrow) {
  max-width: 34ch;
  margin: 0 auto;
  color: rgba(255, 229, 199, 0.76);
  font-size: 15px;
}

.auth-panel .form-card {
  padding: 0;
  border: 0;
  background: transparent;
}

.auth-panel label {
  color: rgba(255, 232, 205, 0.86);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
}

.auth-panel input {
  min-height: 50px;
  border-color: rgba(255, 187, 103, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(6, 6, 7, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.08),
    0 12px 24px rgba(0, 0, 0, 0.2);
  color: #fff4e4;
  transition: border-color 180ms ease, box-shadow 180ms ease, background 180ms ease;
}

.auth-panel input:focus {
  border-color: rgba(255, 204, 120, 0.72);
  outline: 0;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    0 0 0 3px rgba(255, 145, 42, 0.16),
    0 0 20px rgba(255, 118, 26, 0.2);
}

.auth-panel .checkbox-row {
  grid-template-columns: auto 1fr;
  justify-content: start;
  gap: 10px;
  color: rgba(255, 232, 205, 0.76);
}

.auth-panel .checkbox-row input {
  min-height: 18px;
  accent-color: var(--gold);
}

.auth-panel .button {
  width: 100%;
  min-height: 54px;
  margin-top: 2px;
  padding-inline: 16px;
  border-radius: 8px;
  font-size: 16px;
  white-space: normal;
  box-shadow:
    0 0 24px rgba(255, 106, 24, 0.28),
    0 14px 28px rgba(0, 0, 0, 0.34);
}

.auth-panel .button:hover {
  border-color: rgba(255, 235, 190, 0.9);
  filter: brightness(1.08);
  transform: translateY(-1px);
}

.auth-panel .form-message {
  text-align: center;
}

.dashboard-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: #070606;
}

.dashboard-app {
  position: relative;
  min-height: 100vh;
  display: grid;
  grid-template-columns: 286px minmax(0, 1fr);
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.72), rgba(8, 6, 6, 0.94)),
    radial-gradient(circle at 72% 8%, rgba(255, 130, 28, 0.18), transparent 26%),
    url("../assets/images/dragon-background.png") center 38% / cover fixed no-repeat;
  isolation: isolate;
}

.dashboard-app::before {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    linear-gradient(90deg, rgba(0, 0, 0, 0.7), transparent 42%, rgba(0, 0, 0, 0.46)),
    linear-gradient(180deg, rgba(0, 0, 0, 0.08), rgba(8, 6, 6, 0.82));
  content: "";
  pointer-events: none;
}

.dashboard-sidebar {
  position: sticky;
  top: 0;
  z-index: 20;
  display: grid;
  grid-template-rows: auto 1fr auto;
  min-height: 100vh;
  padding: 22px 16px 20px;
  border-right: 1px solid rgba(255, 183, 91, 0.18);
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.055), rgba(255, 255, 255, 0.01)),
    radial-gradient(circle at 50% 0, rgba(255, 112, 24, 0.14), transparent 34%),
    rgba(12, 7, 5, 0.78);
  box-shadow: inset -1px 0 0 rgba(255, 255, 255, 0.06), 18px 0 46px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(22px) saturate(126%);
}

.dashboard-sidebar__logo {
  display: grid;
  place-items: center;
  gap: 8px;
  margin-bottom: 26px;
  color: #fff1d6;
  font-family: var(--font-heading);
  font-size: 24px;
  font-weight: 700;
  text-align: center;
  text-shadow: 0 0 16px rgba(255, 145, 42, 0.46), 0 4px 16px rgba(0, 0, 0, 0.72);
}

.dashboard-sidebar__logo img {
  width: 78px;
  height: 78px;
  object-fit: contain;
  filter: drop-shadow(0 0 16px rgba(255, 122, 24, 0.26));
}

.dashboard-menu {
  display: grid;
  align-content: start;
  gap: 8px;
}

.dashboard-menu button,
.dashboard-menu a {
  width: 100%;
  min-height: 48px;
  display: flex;
  align-items: center;
  padding: 11px 16px;
  border: 1px solid rgba(255, 214, 142, 0.08);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.035), rgba(255, 255, 255, 0.01)),
    rgba(0, 0, 0, 0.16);
  color: rgba(255, 236, 213, 0.72);
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 800;
  line-height: 1.25;
  text-align: left;
  text-decoration: none;
  cursor: pointer;
  transition: color var(--transition), background var(--transition), border-color var(--transition);
}

.dashboard-menu button:hover,
.dashboard-menu a:hover,
.dashboard-menu button.is-active {
  border-color: rgba(255, 187, 103, 0.34);
  background:
    linear-gradient(90deg, rgba(255, 106, 24, 0.24), rgba(244, 199, 95, 0.08)),
    rgba(35, 12, 5, 0.66);
  color: #fff4d8;
  box-shadow: inset 0 0 24px rgba(255, 106, 24, 0.1), 0 0 20px rgba(255, 106, 24, 0.08);
  text-shadow: 0 0 12px rgba(255, 145, 42, 0.46);
}

.dashboard-language {
  display: flex;
  gap: 8px;
}

.dashboard-language button {
  min-width: 48px;
  min-height: 36px;
  border: 1px solid rgba(255, 214, 142, 0.26);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 228, 191, 0.08), rgba(255, 255, 255, 0.015)),
    rgba(16, 9, 6, 0.42);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.1);
  color: #fff4e4;
  font-family: var(--font-nav);
  font-weight: 800;
}

.dashboard-language button:hover,
.dashboard-language button.is-active {
  border-color: rgba(255, 205, 96, 0.72);
  background:
    linear-gradient(180deg, rgba(255, 214, 124, 0.24), rgba(255, 122, 24, 0.18)),
    rgba(50, 24, 11, 0.76);
  color: #fff9e8;
  box-shadow: 0 0 18px rgba(255, 151, 42, 0.18), inset 0 1px 0 rgba(255, 255, 255, 0.18);
}

.dashboard-workspace {
  min-width: 0;
}

.dashboard-topbar {
  position: sticky;
  top: 0;
  z-index: 10;
  min-height: 86px;
  display: grid;
  grid-template-columns: auto minmax(0, 1fr) auto;
  align-items: center;
  gap: 20px;
  padding: 16px clamp(18px, 3vw, 46px);
  border-bottom: 1px solid rgba(255, 214, 142, 0.16);
  background:
    linear-gradient(180deg, rgba(0, 0, 0, 0.58), rgba(0, 0, 0, 0.28)),
    rgba(18, 10, 7, 0.66);
  backdrop-filter: blur(20px) saturate(124%);
}

.dashboard-topbar h1 {
  margin: 0;
  color: #fff0d2;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4vw, 58px);
  line-height: 0.95;
  text-shadow: 0 0 18px rgba(255, 145, 42, 0.34), 0 4px 18px rgba(0, 0, 0, 0.7);
}

.dashboard-burger {
  width: 40px;
  height: 40px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 142, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.06), rgba(255, 255, 255, 0.015)),
    rgba(0, 0, 0, 0.28);
  cursor: pointer;
}

.dashboard-burger span {
  width: 18px;
  height: 2px;
  display: block;
  border-radius: 999px;
  background: rgba(255, 236, 213, 0.86);
}

.dashboard-user {
  display: flex;
  align-items: center;
  gap: 10px;
  color: #fff4e4;
  font-family: var(--font-nav);
}

.dashboard-user > span {
  width: 38px;
  height: 38px;
  display: grid;
  place-items: center;
  border-radius: 999px;
  border: 1px solid rgba(255, 214, 142, 0.2);
  background: linear-gradient(135deg, rgba(255, 106, 24, 0.78), rgba(98, 38, 17, 0.92));
  color: #fff;
  font-size: 13px;
  font-weight: 900;
}

.dashboard-user button {
  min-height: 34px;
  border: 1px solid rgba(255, 187, 103, 0.28);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.25);
  color: rgba(255, 229, 199, 0.78);
  font-family: var(--font-nav);
  font-weight: 800;
  cursor: pointer;
}

.dashboard-view {
  display: none;
  padding: clamp(24px, 3.4vw, 54px) clamp(18px, 3vw, 46px) 56px;
}

.dashboard-view.is-active {
  display: grid;
  gap: 24px;
}

.dashboard-summary-grid {
  display: grid;
  grid-template-columns: minmax(180px, 340px) minmax(180px, 340px) minmax(180px, 340px) minmax(180px, 340px);
  justify-content: start;
  gap: 12px;
}

.dashboard-summary-card,
.dashboard-panel {
  border: 1px solid rgba(255, 183, 91, 0.22);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.085), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 88% 0, rgba(255, 106, 24, 0.12), transparent 42%),
    rgba(18, 9, 5, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    inset 0 -18px 30px rgba(255, 91, 13, 0.045),
    0 24px 52px rgba(0, 0, 0, 0.44);
  backdrop-filter: blur(18px) saturate(124%);
}

.dashboard-summary-card {
  position: relative;
  min-height: 94px;
  display: grid;
  align-content: center;
  gap: 6px;
  padding: 18px 20px;
  overflow: hidden;
}

.dashboard-summary-card::before {
  position: absolute;
  inset: auto 18px 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, rgba(244, 199, 95, 0.9), transparent);
  box-shadow: 0 0 16px rgba(255, 128, 30, 0.46);
  content: "";
}

.dashboard-summary-card span {
  color: rgba(255, 236, 213, 0.72);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-summary-card strong {
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: clamp(25px, 1.55vw, 30px);
  line-height: 1.05;
  text-shadow: 0 0 14px rgba(255, 145, 42, 0.22);
}

.dashboard-summary-card strong span {
  color: inherit;
  font: inherit;
  text-transform: none;
}

.dashboard-panel {
  padding: 26px;
}

.dashboard-panel--wide {
  min-width: 0;
}

.dashboard-panel--cash-weekly {
  width: auto;
}

.dashboard-panel.dashboard-panel--cash-weekly p {
  max-width: 960px;
}

.dashboard-view--cash {
  grid-template-columns: 820px minmax(0, 1fr);
  justify-content: start;
  align-items: start;
  gap: 24px;
  height: calc(100vh - 118px);
  min-height: 0;
  overflow: hidden;
  padding-bottom: 24px;
}

.dashboard-cash-main {
  width: 820px;
  min-width: 820px;
  min-height: 0;
  max-height: 100%;
  display: grid;
  gap: 24px;
  overflow-y: auto;
  overflow-x: hidden;
  padding-right: 10px;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 185, 95, 0.55) rgba(255, 232, 205, 0.08);
}

.dashboard-panel--cash-lore {
  min-width: 0;
  min-height: 0;
  position: static;
  align-self: stretch;
  width: 100%;
  height: 100%;
  padding: 14px;
  overflow-y: auto;
  overflow-x: hidden;
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 185, 95, 0.55) rgba(255, 232, 205, 0.08);
}

.dashboard-view--cash .dashboard-cash-main > .dashboard-panel:first-child,
.dashboard-view--cash .dashboard-cash-main > .dashboard-panel:nth-child(2) {
  width: min(820px, 100%);
  overflow: visible;
}

.dashboard-view--cash .dashboard-cash-main > .dashboard-panel:first-child p,
.dashboard-view--cash .dashboard-cash-main > .dashboard-panel:nth-child(2) p {
  max-width: 760px;
}

.dashboard-panel p {
  max-width: 960px;
  margin: 0;
  color: rgba(255, 229, 199, 0.72);
  line-height: 1.7;
}

.dashboard-panel__header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 18px;
}

.dashboard-panel h2,
.dashboard-form h2 {
  margin: 0 0 18px;
  color: #fff0d2;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 145, 42, 0.2);
}

.dashboard-panel__header h2 {
  margin: 0;
}

.dashboard-panel__header span {
  color: rgba(255, 236, 213, 0.64);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 800;
}

.dashboard-character-cards {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(420px, 1fr));
  gap: 14px;
}

.dashboard-character-card {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 132px minmax(0, 1fr);
  gap: 14px;
  overflow: hidden;
  padding: 16px;
  border: 1px solid rgba(255, 214, 142, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0% 0%, rgba(244, 199, 95, 0.16), transparent 32%),
    linear-gradient(145deg, rgba(255, 238, 215, 0.065), rgba(255, 255, 255, 0.014) 50%, rgba(136, 28, 18, 0.12)),
    rgba(10, 8, 9, 0.52);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 14px 28px rgba(0, 0, 0, 0.2);
}

.dashboard-character-card::before {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: linear-gradient(90deg, var(--gold), var(--ember), transparent);
  content: "";
  pointer-events: none;
}

.dashboard-character-card > * {
  position: relative;
}

.dashboard-character-portrait {
  position: relative;
  min-height: 178px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 142, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.32);
  box-shadow:
    inset 0 0 26px rgba(0, 0, 0, 0.32),
    0 12px 24px rgba(0, 0, 0, 0.2);
}

.dashboard-character-portrait::after {
  position: absolute;
  inset: auto 0 0;
  height: 58%;
  background: linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.78));
  content: "";
  pointer-events: none;
}

.dashboard-character-portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
  transform: scale(1.03);
}

.dashboard-character-level {
  position: absolute;
  right: 9px;
  bottom: 9px;
  z-index: 1;
  min-width: 38px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 142, 0.46);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(244, 199, 95, 0.2), rgba(255, 106, 24, 0.14)),
    rgba(0, 0, 0, 0.62);
  color: #ffe7a4;
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 900;
  box-shadow: 0 8px 18px rgba(0, 0, 0, 0.28);
}

.dashboard-character-card__content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 11px;
}

.dashboard-character-card__head {
  min-width: 0;
}

.dashboard-character-card__head div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-character-card__head span {
  width: fit-content;
  padding: 3px 7px;
  border: 1px solid rgba(255, 214, 142, 0.14);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: rgba(255, 236, 213, 0.62);
  font-family: var(--font-nav);
  font-size: 9px;
  font-weight: 900;
  letter-spacing: 0;
}

.dashboard-character-card__head strong {
  display: block;
  overflow-wrap: anywhere;
  color: #fff4e4;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
  text-shadow: 0 0 12px rgba(255, 145, 42, 0.2);
}

.dashboard-character-card__head small {
  overflow: hidden;
  color: rgba(255, 236, 213, 0.58);
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

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

.dashboard-character-meta div {
  min-width: 0;
  display: grid;
  gap: 2px;
  padding: 9px 10px;
  border: 1px solid rgba(255, 214, 142, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.dashboard-character-meta dt,
.dashboard-character-meta dd {
  margin: 0;
  overflow: hidden;
  text-overflow: ellipsis;
}

.dashboard-character-meta dt {
  color: rgba(255, 236, 213, 0.52);
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-character-meta dd {
  color: rgba(255, 244, 228, 0.86);
  font-size: 12px;
  font-weight: 700;
}

.dashboard-character-card__foot {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
  padding-top: 4px;
  border-top: 1px solid rgba(255, 214, 142, 0.09);
}

.dashboard-character-card__foot span {
  color: rgba(255, 236, 213, 0.58);
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 800;
}

.dashboard-character-card__foot button {
  border: 0;
  background: transparent;
  color: var(--gold);
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  cursor: pointer;
}

.is-dashboard-modal-open {
  overflow: hidden;
}

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

.dashboard-modal {
  position: fixed;
  inset: 0;
  z-index: 80;
  display: grid;
  place-items: center;
  padding: 24px;
}

.dashboard-modal__backdrop {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 50% 20%, rgba(255, 106, 24, 0.12), transparent 36%),
    rgba(0, 0, 0, 0.68);
  backdrop-filter: blur(8px);
}

.dashboard-modal__dialog {
  position: relative;
  width: min(940px, 100%);
  max-height: min(720px, calc(100vh - 48px));
  overflow: auto;
  border: 1px solid rgba(255, 183, 91, 0.3);
  border-radius: 10px;
  background:
    radial-gradient(circle at 88% 12%, rgba(244, 199, 95, 0.12), transparent 34%),
    linear-gradient(180deg, rgba(255, 238, 215, 0.08), rgba(255, 255, 255, 0.018)),
    rgba(13, 9, 8, 0.96);
  box-shadow:
    0 34px 90px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.08);
}

.dashboard-modal__dialog::before {
  position: absolute;
  inset: 0 18px auto;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, transparent, var(--ember), var(--gold), transparent);
  content: "";
}

.dashboard-modal__close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 2;
  width: 34px;
  height: 34px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 214, 142, 0.18);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.24);
  color: var(--gold);
  font-size: 24px;
  line-height: 1;
  cursor: pointer;
}

.dashboard-modal__header {
  display: flex;
  align-items: start;
  justify-content: space-between;
  gap: 18px;
  padding: 30px 34px 18px;
  border-bottom: 1px solid rgba(255, 214, 142, 0.1);
}

.dashboard-modal__header h2 {
  margin: 0;
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: clamp(30px, 4vw, 48px);
  line-height: 0.95;
}

.dashboard-modal__header > span {
  margin-right: 48px;
  color: rgba(255, 236, 213, 0.64);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-modal__body {
  display: grid;
  grid-template-columns: minmax(280px, 1fr) 320px;
  align-items: center;
  gap: 34px;
  padding: 30px 34px 34px;
}

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

.dashboard-action-row {
  display: grid;
  grid-template-columns: 14px minmax(0, 1fr) auto;
  align-items: center;
  gap: 12px;
  padding: 12px;
  border: 1px solid rgba(255, 214, 142, 0.09);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.dashboard-action-row > span {
  width: 14px;
  height: 38px;
  border-radius: 999px;
  background: var(--action-color);
  box-shadow: 0 0 16px color-mix(in srgb, var(--action-color) 45%, transparent);
}

.dashboard-action-row div {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-action-row strong,
.dashboard-action-row b {
  color: rgba(255, 244, 228, 0.86);
  font-size: 14px;
}

.dashboard-action-row small {
  color: rgba(255, 236, 213, 0.52);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-action-row b {
  font-family: var(--font-nav);
  font-weight: 900;
}

.dashboard-action-chart {
  --chart: #8d6fd1 0deg 360deg;
  width: min(320px, 100%);
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  justify-self: center;
  border-radius: 999px;
  background:
    radial-gradient(circle, rgba(13, 9, 8, 0.98) 0 43%, transparent 44%),
    conic-gradient(var(--chart));
  box-shadow:
    0 0 44px rgba(255, 106, 24, 0.16),
    inset 0 0 0 1px rgba(255, 214, 142, 0.12);
}

.dashboard-action-chart__hole {
  width: 48%;
  aspect-ratio: 1;
  display: grid;
  place-items: center;
  align-content: center;
  border-radius: 999px;
  background: rgba(13, 9, 8, 0.96);
  box-shadow: inset 0 0 24px rgba(0, 0, 0, 0.42);
}

.dashboard-action-chart__hole strong {
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: clamp(24px, 3vw, 34px);
  line-height: 1;
}

.dashboard-action-chart__hole span {
  color: rgba(255, 236, 213, 0.54);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-cash-reward-modal__dialog {
  width: min(760px, 100%);
}

.dashboard-cash-reward-confirm-modal {
  z-index: 90;
}

.dashboard-cash-reward-confirm-modal__dialog {
  width: min(440px, calc(100vw - 32px));
  max-height: none;
  overflow: hidden;
}

.dashboard-cash-reward-modal__header h2 {
  font-size: clamp(30px, 3.2vw, 42px);
}

.dashboard-cash-reward-modal__body {
  display: grid;
  gap: 18px;
  padding: 24px 34px 32px;
}

.dashboard-cash-reward-modal__summary {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 16px;
  border: 1px solid rgba(255, 214, 142, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(255, 128, 30, 0.16), transparent 42%),
    rgba(0, 0, 0, 0.22);
}

.dashboard-cash-reward-modal__summary div:first-child {
  display: grid;
  gap: 4px;
}

.dashboard-cash-reward-modal__summary small,
.dashboard-cash-reward-modal__summary span {
  color: rgba(255, 236, 213, 0.58);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-cash-reward-modal__summary strong {
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: 34px;
  line-height: 0.95;
  text-shadow: 0 0 14px rgba(255, 145, 42, 0.28);
}

.dashboard-cash-reward-modal__items {
  display: flex;
  flex-wrap: wrap;
  justify-content: end;
  gap: 8px;
}

.dashboard-cash-reward-modal__items img {
  width: 48px;
  height: 48px;
  display: block;
  border: 1px solid rgba(255, 214, 142, 0.24);
  border-radius: 8px;
  object-fit: cover;
  box-shadow: 0 0 14px rgba(255, 145, 42, 0.16), 0 8px 16px rgba(0, 0, 0, 0.36);
}

.dashboard-cash-reward-characters {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}

.dashboard-cash-reward-character {
  position: relative;
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 214, 142, 0.14);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.2);
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease;
}

.dashboard-cash-reward-character:hover,
.dashboard-cash-reward-character:focus-within,
.dashboard-cash-reward-character:has(input:checked) {
  border-color: rgba(255, 199, 95, 0.78);
  background:
    linear-gradient(90deg, rgba(255, 106, 24, 0.22), rgba(244, 199, 95, 0.08)),
    rgba(35, 12, 5, 0.58);
  box-shadow: inset 0 0 20px rgba(255, 128, 30, 0.1), 0 0 18px rgba(255, 128, 30, 0.14);
}

.dashboard-cash-reward-character input {
  position: absolute;
  opacity: 0;
  pointer-events: none;
}

.dashboard-cash-reward-character__portrait {
  width: 58px;
  height: 58px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 142, 0.18);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.38);
}

.dashboard-cash-reward-character__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dashboard-cash-reward-character__info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-cash-reward-character__info strong {
  overflow: hidden;
  color: #fff4e4;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-cash-reward-character__info small {
  overflow: hidden;
  color: rgba(255, 236, 213, 0.6);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-cash-reward-modal__footer {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: center;
  gap: 16px;
}

.dashboard-cash-reward-modal__footer .form-message {
  margin: 0;
}

.dashboard-cash-reward-confirmation {
  display: grid;
  justify-items: center;
  gap: 12px;
  padding: 34px 30px 30px;
  text-align: center;
}

.dashboard-cash-reward-confirmation[hidden] {
  display: none;
}

.dashboard-cash-reward-confirmation__mark {
  width: 76px;
  height: 76px;
  display: grid;
  place-items: center;
  border: 1px solid rgba(255, 224, 155, 0.82);
  border-radius: 50%;
  color: #3a1704;
  background:
    radial-gradient(circle at 50% 25%, #fff8c9, #ffb545 54%, #ff7420 100%);
  box-shadow:
    0 0 28px rgba(255, 166, 62, 0.5),
    inset 0 1px 0 rgba(255, 255, 255, 0.72);
  font-family: var(--font-nav);
  font-size: 34px;
  font-weight: 900;
}

.dashboard-cash-reward-confirmation h3 {
  margin: 0;
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: clamp(30px, 3.2vw, 38px);
  line-height: 1;
}

.dashboard-cash-reward-confirmation p:not(.eyebrow) {
  max-width: 340px;
  margin: 0 0 8px;
  color: rgba(255, 236, 213, 0.78);
  font-size: 16px;
  font-weight: 800;
  line-height: 1.55;
}

.dashboard-cash-reward-confirmation__actions {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 12px;
}

.dashboard-cash-reward-confirmation__actions .button {
  min-width: 128px;
}

@media (max-width: 720px) {
  .dashboard-cash-reward-modal__body {
    padding: 22px 18px 24px;
  }

  .dashboard-cash-reward-modal__summary,
  .dashboard-cash-reward-modal__footer {
    grid-template-columns: 1fr;
  }

  .dashboard-cash-reward-modal__items {
    justify-content: start;
  }

  .dashboard-cash-reward-characters {
    grid-template-columns: 1fr;
  }

  .dashboard-cash-reward-confirmation {
    padding: 28px 18px 24px;
  }
  
  .mmotop-widget {
    display: none;
  }
}

.dashboard-reward-line {
  --reward-progress: 52%;
  position: relative;
  z-index: 2;
  display: grid;
  gap: 20px;
  max-width: 620px;
  margin-top: 28px;
  padding-left: 58px;
  overflow: visible;
}

.dashboard-cash-layout {
  display: grid;
  grid-template-columns: minmax(520px, 620px) minmax(320px, 1fr);
  align-items: stretch;
  gap: 24px;
}

.dashboard-cash-layout--line-only {
  grid-template-columns: minmax(620px, 760px);
}

.dashboard-cash-layout--line-only .dashboard-reward-line {
  width: min(760px, 100%);
  max-width: 760px;
}

.dashboard-cash-layout--line-only .dashboard-reward > div {
  grid-template-columns: minmax(172px, 0.44fr) minmax(240px, 1fr) 118px;
  gap: 14px;
  min-height: 88px;
}

.dashboard-cash-layout--line-only .dashboard-reward__items {
  gap: 8px;
}

.dashboard-cash-layout--line-only .dashboard-reward button {
  width: 118px;
  min-width: 118px;
  padding-inline: 12px;
}

.dashboard-reward-line::before,
.dashboard-reward-line::after {
  position: absolute;
  top: 14px;
  left: 23px;
  width: 12px;
  border-radius: 999px;
  content: "";
}

.dashboard-reward-line::before {
  bottom: 14px;
  background:
    linear-gradient(90deg, rgba(255, 238, 215, 0.12), transparent 38%, rgba(0, 0, 0, 0.34)),
    rgba(66, 23, 12, 0.86);
  box-shadow:
    inset 0 0 0 1px rgba(255, 214, 142, 0.12),
    0 0 24px rgba(255, 106, 24, 0.12);
}

.dashboard-reward-line::after {
  top: auto;
  bottom: 14px;
  height: var(--reward-progress);
  background:
    linear-gradient(90deg, rgba(255, 255, 255, 0.74), transparent 34%, rgba(255, 130, 34, 0.56)),
    linear-gradient(0deg, var(--ember), var(--gold) 48%, #fff3bf);
  box-shadow:
    0 0 22px rgba(244, 199, 95, 0.74),
    0 0 48px rgba(255, 106, 24, 0.4);
}

.dashboard-reward {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr);
  align-items: center;
  overflow: visible;
}

.dashboard-reward:has(.dashboard-reward__item:hover),
.dashboard-reward:has(.dashboard-reward__item:focus-visible) {
  z-index: 20;
}

.dashboard-reward > span {
  position: absolute;
  top: 50%;
  left: -45px;
  width: 52px;
  height: 3px;
  border-radius: 999px;
  background: linear-gradient(90deg, rgba(244, 199, 95, 0.12), #fff1bb 58%, var(--ember));
  box-shadow:
    0 0 14px rgba(244, 199, 95, 0.5),
    0 0 28px rgba(255, 106, 24, 0.24);
  transform: translateY(-50%);
}

.dashboard-reward > div {
  min-width: 0;
  display: grid;
  grid-template-columns: minmax(180px, 0.52fr) minmax(160px, 1fr) auto;
  align-items: center;
  gap: 18px;
  padding: 14px 16px 14px 18px;
  border: 1px solid rgba(255, 214, 142, 0.14);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 199, 95, 0.12), transparent 38%),
    rgba(0, 0, 0, 0.22);
  overflow: visible;
}

.dashboard-reward.is-available > div {
  border-color: rgba(255, 214, 142, 0.34);
  background:
    radial-gradient(circle at 100% 50%, rgba(244, 199, 95, 0.18), transparent 34%),
    rgba(0, 0, 0, 0.22);
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 215, 0.03),
    0 0 28px rgba(244, 199, 95, 0.12);
}

.dashboard-reward.is-selected > div {
  border-color: rgba(255, 214, 142, 0.56);
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 215, 0.08),
    0 0 24px rgba(244, 199, 95, 0.16),
    0 0 50px rgba(255, 106, 24, 0.08);
}

.dashboard-reward__copy {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-reward__items {
  min-width: 0;
  min-height: 58px;
  display: flex;
  align-items: center;
  gap: 12px;
  overflow: visible;
}

.dashboard-reward__items:empty {
  min-height: 0;
}

.dashboard-reward__item {
  position: relative;
  z-index: 2;
  flex: 0 0 auto;
  display: block;
  border-radius: 8px;
  outline: none;
}

.dashboard-reward__items img {
  width: 58px;
  height: 58px;
  flex: 0 0 auto;
  border: 1px solid rgba(255, 214, 142, 0.28);
  border-radius: 8px;
  object-fit: cover;
  background: rgba(0, 0, 0, 0.28);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 18px rgba(244, 199, 95, 0.12);
  transition:
    transform 0.2s ease,
    border-color 0.2s ease,
    box-shadow 0.2s ease;
}

.dashboard-reward.is-available .dashboard-reward__items img {
  border-color: rgba(255, 224, 158, 0.62);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.08),
    0 0 14px rgba(244, 199, 95, 0.22),
    0 0 28px rgba(255, 106, 24, 0.14);
}

.dashboard-reward__item:hover img,
.dashboard-reward__item:focus-visible img {
  transform: translateY(-2px) scale(1.04);
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.12),
    0 0 20px rgba(244, 199, 95, 0.38),
    0 0 40px rgba(255, 106, 24, 0.2);
}

.dashboard-reward-tooltip {
  pointer-events: none;
  position: absolute;
  z-index: 1000;
  left: 50%;
  bottom: calc(100% + 12px);
  width: max-content;
  max-width: min(360px, calc(100vw - 48px));
  padding: 12px 13px;
  border: 1px solid rgba(255, 214, 142, 0.46);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 199, 95, 0.12), transparent 42%),
    linear-gradient(180deg, rgba(40, 25, 18, 0.98), rgba(12, 8, 6, 0.98));
  color: #fff2df;
  opacity: 0;
  box-shadow:
    0 14px 38px rgba(0, 0, 0, 0.52),
    0 0 24px rgba(244, 199, 95, 0.16);
  transform: translate(-50%, 6px);
  transition:
    opacity 0.16s ease,
    transform 0.16s ease;
}

.dashboard-reward-tooltip::after {
  content: "";
  position: absolute;
  left: 50%;
  bottom: -6px;
  width: 10px;
  height: 10px;
  border-right: 1px solid rgba(255, 214, 142, 0.46);
  border-bottom: 1px solid rgba(255, 214, 142, 0.46);
  background: rgba(12, 8, 6, 0.98);
  transform: translateX(-50%) rotate(45deg);
}

.dashboard-reward:first-child .dashboard-reward-tooltip {
  top: calc(100% + 12px);
  bottom: auto;
  transform: translate(-50%, -6px);
}

.dashboard-reward:first-child .dashboard-reward-tooltip::after {
  top: -6px;
  bottom: auto;
  border: 0;
  border-left: 1px solid rgba(255, 214, 142, 0.46);
  border-top: 1px solid rgba(255, 214, 142, 0.46);
}

.dashboard-reward .dashboard-reward-tooltip strong,
.dashboard-reward-tooltip small {
  display: block;
}

.dashboard-reward .dashboard-reward-tooltip strong {
  color: var(--gold-light);
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 0 12px rgba(244, 199, 95, 0.24);
}

.dashboard-reward-tooltip small {
  margin-top: 4px;
  color: rgba(255, 236, 213, 0.68);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 800;
  text-transform: none;
}

.dashboard-reward-tooltip ul {
  display: grid;
  gap: 4px;
  margin: 8px 0 0;
  padding: 0;
  color: rgba(255, 245, 232, 0.86);
  font-family: var(--font-body);
  font-size: 12px;
  line-height: 1.35;
  list-style: none;
}

.dashboard-reward-tooltip li::before {
  content: "";
  display: inline-block;
  width: 5px;
  height: 5px;
  margin-right: 7px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 10px rgba(244, 199, 95, 0.5);
  vertical-align: 1px;
}

.dashboard-reward-tooltip li.is-heading {
  margin-top: 6px;
  color: var(--gold-light);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  letter-spacing: 0;
  text-transform: uppercase;
}

.dashboard-reward-tooltip li.is-heading:first-child {
  margin-top: 0;
}

.dashboard-reward-tooltip li.is-heading::before {
  display: none;
}

.dashboard-reward__item:hover .dashboard-reward-tooltip,
.dashboard-reward__item:focus-visible .dashboard-reward-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dashboard-reward small,
.dashboard-reward em {
  color: rgba(255, 236, 213, 0.52);
  font-family: var(--font-nav);
  font-size: 11px;
  font-style: normal;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-reward strong {
  color: #fff4e4;
  font-family: var(--font-heading);
  font-size: 30px;
  line-height: 1;
  text-shadow: 0 0 14px rgba(255, 145, 42, 0.22);
}

.dashboard-reward em {
  font-size: 10px;
  font-weight: 800;
  text-transform: none;
}

.dashboard-reward button {
  min-width: 118px;
  min-height: 38px;
  padding: 0 14px;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 999px;
  background: rgba(88, 82, 78, 0.22);
  color: rgba(255, 236, 213, 0.44);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-reward.is-available button {
  border-color: rgba(255, 214, 142, 0.72);
  background:
    linear-gradient(180deg, #fff0b8, var(--gold) 42%, var(--ember));
  color: #251106;
  cursor: pointer;
  box-shadow:
    0 0 18px rgba(244, 199, 95, 0.58),
    0 0 34px rgba(255, 106, 24, 0.3);
}

.dashboard-reward button:disabled {
  cursor: not-allowed;
}

.dashboard-reward-showcase {
  min-width: 0;
  align-self: stretch;
  display: flex;
  flex-direction: column;
  gap: 12px;
  padding: 22px;
  border: 1px solid rgba(255, 214, 142, 0.18);
  border-radius: 8px;
  background:
    radial-gradient(circle at 100% 0, rgba(244, 199, 95, 0.16), transparent 34%),
    radial-gradient(circle at 0 100%, rgba(255, 106, 24, 0.12), transparent 30%),
    rgba(0, 0, 0, 0.2);
  box-shadow:
    inset 0 0 0 1px rgba(255, 238, 215, 0.03),
    0 18px 48px rgba(0, 0, 0, 0.18);
}

.dashboard-showcase-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
}

.dashboard-showcase-head span,
.dashboard-showcase-head small {
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-showcase-head span {
  padding: 7px 10px;
  border: 1px solid rgba(255, 214, 142, 0.24);
  border-radius: 999px;
  color: rgba(255, 236, 213, 0.58);
  background: rgba(255, 255, 255, 0.04);
}

.dashboard-showcase-head span.is-available {
  border-color: rgba(255, 214, 142, 0.62);
  color: #2b1507;
  background: linear-gradient(180deg, #fff0b8, var(--gold) 42%, var(--ember));
  box-shadow: 0 0 22px rgba(244, 199, 95, 0.34);
}

.dashboard-showcase-head small {
  color: rgba(255, 236, 213, 0.5);
}

.dashboard-showcase-amount {
  color: #fff4e4;
  font-family: var(--font-heading);
  font-size: clamp(34px, 4vw, 58px);
  line-height: 0.95;
  text-shadow:
    0 0 18px rgba(244, 199, 95, 0.22),
    0 0 40px rgba(255, 106, 24, 0.12);
}

.dashboard-reward-showcase p {
  max-width: 620px;
  margin: 0;
  color: rgba(255, 229, 199, 0.68);
  font-size: 14px;
  line-height: 1.6;
}

.dashboard-showcase-items {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 12px;
}

.dashboard-showcase-item {
  min-width: 0;
  display: grid;
  grid-template-columns: 58px minmax(0, 1fr);
  align-items: start;
  gap: 10px;
  min-height: 0;
  padding: 10px;
  border: 1px solid rgba(255, 214, 142, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.22);
}

.dashboard-showcase-item__media {
  min-width: 0;
  display: flex;
  align-items: flex-start;
}

.dashboard-showcase-item__icon {
  position: relative;
  display: block;
  width: 58px;
  height: 58px;
  border-radius: 8px;
  outline: none;
}

.dashboard-showcase-item__icon img {
  width: 58px;
  height: 58px;
  border: 1px solid rgba(255, 214, 142, 0.34);
  border-radius: 8px;
  object-fit: cover;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(244, 199, 95, 0.14);
}

.dashboard-showcase-item__description > strong {
  display: block;
  margin-bottom: 3px;
  color: #fff0d2;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  line-height: 1.25;
}

.dashboard-showcase-item__description > small {
  display: block;
  margin-bottom: 7px;
  color: rgba(255, 236, 213, 0.54);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 800;
}

.dashboard-showcase-item__description {
  min-width: 0;
  align-self: stretch;
  padding: 0 0 0 10px;
  border-left: 1px solid rgba(255, 214, 142, 0.13);
}

.dashboard-showcase-item__description > span {
  display: block;
  margin-bottom: 5px;
  color: rgba(255, 214, 142, 0.58);
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-showcase-item__description ul {
  display: grid;
  gap: 4px;
  margin: 0;
  padding: 0;
  color: rgba(255, 236, 213, 0.74);
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 800;
  line-height: 1.35;
  list-style: none;
}

.dashboard-showcase-item__description li {
  position: relative;
  padding-left: 12px;
}

.dashboard-showcase-item__description li::before {
  content: "";
  position: absolute;
  top: 0.58em;
  left: 0;
  width: 4px;
  height: 4px;
  border-radius: 999px;
  background: var(--gold);
  box-shadow: 0 0 8px rgba(244, 199, 95, 0.45);
}

.dashboard-showcase-item__description li.is-heading {
  padding-left: 0;
  color: rgba(255, 214, 142, 0.72);
  font-size: 9px;
  text-transform: uppercase;
}

.dashboard-showcase-item__description li.is-heading:not(:first-child) {
  margin-top: 4px;
}

.dashboard-showcase-item__description li.is-heading::before {
  display: none;
}

.dashboard-showcase-item__icon .dashboard-reward-tooltip strong {
  color: var(--gold-light);
  font-family: var(--font-nav);
  font-size: 15px;
  font-weight: 900;
  line-height: 1.18;
  text-shadow: 0 0 16px rgba(255, 210, 120, 0.2);
}

.dashboard-showcase-empty {
  grid-column: 1 / -1;
  padding: 18px;
  border: 1px dashed rgba(255, 214, 142, 0.22);
  border-radius: 8px;
}

.dashboard-reward-showcase button {
  width: fit-content;
  min-width: 170px;
  min-height: 42px;
  margin-top: auto;
  padding: 0 18px;
  border: 1px solid rgba(255, 214, 142, 0.72);
  border-radius: 999px;
  background:
    linear-gradient(180deg, #fff0b8, var(--gold) 42%, var(--ember));
  color: #251106;
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
  box-shadow:
    0 0 18px rgba(244, 199, 95, 0.42),
    0 0 34px rgba(255, 106, 24, 0.22);
}

.dashboard-reward-showcase button:disabled {
  border-color: rgba(255, 255, 255, 0.1);
  background: rgba(88, 82, 78, 0.22);
  color: rgba(255, 236, 213, 0.44);
  box-shadow: none;
  cursor: not-allowed;
}

.dashboard-showcase-item__icon:hover .dashboard-reward-tooltip,
.dashboard-showcase-item__icon:focus-visible .dashboard-reward-tooltip {
  opacity: 1;
  transform: translate(-50%, 0);
}

.dashboard-igris-lore {
  display: grid;
  grid-template-columns: minmax(120px, 180px) minmax(0, 1fr);
  gap: 16px;
  margin-top: 4px;
  padding: 14px;
  border: 1px solid rgba(255, 214, 142, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(244, 199, 95, 0.14), transparent 38%),
    rgba(0, 0, 0, 0.22);
}

.dashboard-igris-lore--sidebar {
  grid-template-columns: 300px minmax(0, 1fr);
  align-content: start;
  align-items: start;
  gap: 24px;
  min-height: 100%;
  height: 100%;
  margin-top: 0;
  padding: 0;
  border: 0;
  background: none;
}

.dashboard-igris-lore__media {
  display: grid;
  align-content: start;
  gap: 12px;
  min-width: 0;
}

.dashboard-igris-lore__cover {
  min-width: 0;
}

.dashboard-igris-lore__cover img,
.dashboard-igris-lore__cover video {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border: 1px solid rgba(255, 214, 142, 0.22);
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(244, 199, 95, 0.12);
}

.dashboard-igris-lore__content {
  min-width: 0;
  display: grid;
  align-content: start;
  gap: 10px;
  min-height: 0;
}

.dashboard-igris-lore__content > span {
  color: rgba(255, 214, 142, 0.64);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-igris-lore__content > strong {
  color: #fff0d2;
  font-family: var(--font-heading);
  font-size: 32px;
  line-height: 1.05;
}

.dashboard-igris-lore__text {
  min-height: 0;
  max-height: none;
  overflow: visible;
  padding-right: 0;
  color: rgba(255, 232, 205, 0.82);
  font-size: 14px;
  line-height: 1.5;
}

.dashboard-igris-lore__text p + p {
  margin-top: 8px;
}

.dashboard-igris-lore__nav {
  display: grid;
  grid-template-columns: 1fr;
  gap: 8px;
  margin-top: 0;
}

.dashboard-igris-lore__nav button {
  min-height: 44px;
  display: flex;
  align-items: center;
  gap: 9px;
  border: 1px solid rgba(255, 214, 142, 0.18);
  border-radius: 8px;
  padding: 8px 11px;
  background: rgba(255, 232, 205, 0.06);
  color: rgba(255, 232, 205, 0.74);
  font-family: var(--font-nav);
  font-size: 10.5px;
  font-weight: 900;
  line-height: 1.2;
  text-align: left;
  cursor: pointer;
}

.dashboard-igris-lore__nav button span {
  width: 24px;
  height: 24px;
  flex: 0 0 24px;
  display: grid;
  place-items: center;
  border-radius: 50%;
  background: rgba(255, 214, 142, 0.12);
  color: #ffd68e;
}

.dashboard-igris-lore__nav button:hover,
.dashboard-igris-lore__nav button:focus-visible,
.dashboard-igris-lore__nav button.is-active {
  border-color: rgba(255, 214, 142, 0.64);
  background: linear-gradient(180deg, rgba(255, 224, 163, 0.16), rgba(255, 116, 35, 0.12));
  color: #fff0d2;
}

.dashboard-igris-lore__nav button.is-active span {
  background: linear-gradient(180deg, #ffe4a7, #ff7b2e);
  color: #201006;
}

.dashboard-igris-lore-grid {
  height: auto;
  min-height: 0;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  grid-auto-rows: auto;
  gap: 14px;
  align-content: start;
}

.dashboard-igris-lore-card {
  min-width: 0;
  min-height: 0;
  display: block;
  padding: 16px;
  border: 1px solid rgba(255, 214, 142, 0.2);
  border-radius: 8px;
  background:
    radial-gradient(circle at 0 0, rgba(244, 199, 95, 0.12), transparent 42%),
    rgba(0, 0, 0, 0.18);
  overflow: hidden;
}

.dashboard-igris-lore-card::after {
  content: "";
  display: block;
  clear: both;
}

.dashboard-igris-lore-card__cover {
  min-width: 0;
  float: left;
  width: min(264px, 46%);
  margin: 0 18px 12px 0;
  shape-outside: inset(0 round 8px);
}

.dashboard-igris-lore-card__cover img {
  width: 100%;
  aspect-ratio: 1 / 1;
  height: auto;
  border: 1px solid rgba(255, 214, 142, 0.24);
  border-radius: 8px;
  object-fit: cover;
  object-position: center center;
  box-shadow:
    inset 0 0 0 1px rgba(255, 255, 255, 0.05),
    0 0 22px rgba(244, 199, 95, 0.12);
}

.dashboard-igris-lore-card__body {
  min-width: 0;
  display: block;
}

.dashboard-igris-lore-card__body > span {
  display: block;
  color: rgba(255, 214, 142, 0.66);
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 900;
  text-transform: uppercase;
  margin-bottom: 5px;
}

.dashboard-igris-lore-card__body > strong {
  display: block;
  color: #fff0d2;
  font-family: var(--font-heading);
  font-size: 26px;
  line-height: 1.08;
  margin-bottom: 9px;
}

.dashboard-igris-lore-card__text {
  min-height: 0;
  overflow: visible;
  color: rgba(255, 232, 205, 0.82);
  font-size: 13.5px;
  line-height: 1.46;
}

.dashboard-igris-lore-card__text p + p {
  margin-top: 7px;
}

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

.dashboard-character-label, 
.dashboard-form label {
  display: grid;
  gap: 8px;
  margin-top: 16px;
  color: rgba(255, 232, 205, 0.86);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 700;
}

.dashboard-form input,
.dashboard-form select {
  width: 100%;
  min-height: 48px;
  border: 1px solid rgba(255, 187, 103, 0.24);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(6, 6, 7, 0.68);
  color: #fff4e4;
}

.dashboard-form input[type="hidden"] {
  display: none;
}

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

.dashboard-character-picker__option {
  min-width: 0;
  display: grid;
  grid-template-columns: 54px minmax(0, 1fr);
  align-items: center;
  gap: 12px;
  padding: 10px;
  border: 1px solid rgba(255, 187, 103, 0.2);
  border-radius: 8px;
  color: rgba(255, 236, 213, 0.78);
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.04), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.22);
  text-align: left;
  cursor: pointer;
  transition: border-color 160ms ease, background 160ms ease, box-shadow 160ms ease, color 160ms ease;
}

.dashboard-character-picker__option:hover,
.dashboard-character-picker__option:focus-visible,
.dashboard-character-picker__option.is-selected {
  border-color: rgba(255, 199, 95, 0.78);
  color: #fff4e4;
  background:
    linear-gradient(90deg, rgba(255, 106, 24, 0.2), rgba(244, 199, 95, 0.08)),
    rgba(35, 12, 5, 0.58);
  box-shadow:
    inset 0 0 20px rgba(255, 128, 30, 0.1),
    0 0 18px rgba(255, 128, 30, 0.12);
}

.dashboard-character-picker__portrait {
  width: 54px;
  height: 54px;
  overflow: hidden;
  border: 1px solid rgba(255, 214, 142, 0.2);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.38);
}

.dashboard-character-picker__portrait img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
}

.dashboard-character-picker__info {
  min-width: 0;
  display: grid;
  gap: 3px;
}

.dashboard-character-picker__info strong {
  overflow: hidden;
  color: inherit;
  font-family: var(--font-heading);
  font-size: 22px;
  line-height: 1;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.dashboard-character-picker__info small {
  overflow: hidden;
  color: rgba(255, 236, 213, 0.6);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-overflow: ellipsis;
  text-transform: uppercase;
  white-space: nowrap;
}

.dashboard-form .button {
  width: 100%;
  margin-top: 18px;
  border-radius: 8px;
  white-space: normal;
}

.dashboard-panel--bonus {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(circle at 92% 12%, rgba(255, 198, 86, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(255, 238, 215, 0.095), rgba(255, 255, 255, 0.02)),
    rgba(18, 9, 5, 0.68);
}

.dashboard-panel--bonus::after {
  position: absolute;
  right: -120px;
  bottom: -180px;
  width: 420px;
  height: 420px;
  border: 1px solid rgba(255, 186, 82, 0.08);
  border-radius: 50%;
  background: radial-gradient(circle, rgba(255, 128, 30, 0.1), transparent 66%);
  content: "";
  pointer-events: none;
}

.dashboard-bonus-head {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  align-items: start;
  gap: 24px;
  margin-bottom: 24px;
}

.dashboard-bonus-head strong {
  align-self: start;
  padding: 10px 14px;
  border: 1px solid rgba(255, 214, 142, 0.34);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 198, 86, 0.16), rgba(255, 108, 24, 0.08)),
    rgba(0, 0, 0, 0.18);
  color: var(--gold);
  font-family: var(--font-nav);
  font-size: 16px;
  font-weight: 900;
  white-space: nowrap;
  box-shadow: 0 0 22px rgba(255, 136, 34, 0.1);
}

.dashboard-bonus-list {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.dashboard-bonus-card {
  --crown-glow: rgba(255, 139, 47, 0.22);
  min-height: 148px;
  display: grid;
  grid-template-columns: 116px minmax(0, 1fr);
  align-items: center;
  gap: 16px;
  padding: 14px;
  border: 1px solid rgba(255, 187, 103, 0.18);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 238, 215, 0.045), rgba(255, 255, 255, 0.012)),
    rgba(0, 0, 0, 0.2);
  color: rgba(255, 236, 213, 0.62);
}

.dashboard-bonus-card.is-tier-2 {
  --crown-glow: rgba(255, 178, 78, 0.24);
}

.dashboard-bonus-card.is-tier-3 {
  --crown-glow: rgba(231, 223, 187, 0.24);
}

.dashboard-bonus-card.is-tier-4 {
  --crown-glow: rgba(255, 197, 87, 0.28);
}

.dashboard-bonus-card.is-tier-5 {
  --crown-glow: rgba(255, 207, 82, 0.32);
}

.dashboard-bonus-card.is-tier-6 {
  --crown-glow: rgba(255, 215, 94, 0.36);
}

.dashboard-bonus-card.is-tier-7 {
  --crown-glow: rgba(255, 229, 122, 0.42);
}

.dashboard-bonus-card.is-tier-8 {
  --crown-glow: rgba(255, 223, 122, 0.48);
}

.dashboard-bonus-card.is-tier-9 {
  --crown-glow: rgba(255, 238, 165, 0.54);
}

.dashboard-bonus-card.is-tier-10 {
  --crown-glow: rgba(255, 246, 194, 0.62);
}

.dashboard-bonus-card.is-complete {
  border-color: rgba(255, 189, 83, 0.42);
  color: rgba(255, 242, 222, 0.88);
  background:
    linear-gradient(180deg, rgba(255, 180, 72, 0.12), rgba(255, 105, 24, 0.035)),
    rgba(30, 12, 5, 0.42);
}

.dashboard-bonus-card.is-current {
  border-color: rgba(255, 218, 130, 0.82);
  box-shadow:
    inset 0 0 34px rgba(255, 128, 30, 0.13),
    0 0 34px rgba(255, 128, 30, 0.16);
}

.dashboard-bonus-crown {
  position: relative;
  width: 112px;
  height: 112px;
  display: grid;
  place-items: center;
  flex: 0 0 auto;
  justify-self: center;
  filter:
    drop-shadow(0 5px 8px rgba(0, 0, 0, 0.54))
    drop-shadow(0 0 calc(8px + var(--bonus-tier, 1) * 1.4px) var(--crown-glow));
}

.dashboard-bonus-crown::before {
  position: absolute;
  inset: -16px;
  border-radius: 50%;
  background: radial-gradient(circle, var(--crown-glow), transparent 70%);
  content: "";
  opacity: calc(0.32 + var(--bonus-tier, 1) * 0.055);
}

.dashboard-bonus-crown::after {
  position: absolute;
  right: 8%;
  top: 2%;
  width: calc(3px + var(--bonus-tier, 1) * 0.7px);
  height: calc(3px + var(--bonus-tier, 1) * 0.7px);
  border-radius: 50%;
  background: #fff8d8;
  box-shadow:
    0 0 10px rgba(255, 242, 170, 0.82),
    -16px 22px 0 -2px rgba(255, 255, 255, 0.42);
  content: "";
  opacity: calc((var(--bonus-tier, 1) - 3) * 0.16);
}

.dashboard-bonus-crown img {
  position: relative;
  z-index: 1;
  width: 100%;
  height: 100%;
  object-fit: contain;
  pointer-events: none;
  user-select: none;
}

.dashboard-bonus-card__copy {
  min-width: 0;
  display: grid;
  gap: 7px;
}

.dashboard-bonus-card__percent {
  width: max-content;
  padding: 7px 10px;
  border-radius: 7px;
  background: linear-gradient(180deg, var(--gold), var(--ember));
  color: #1c0b04;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 900;
}

.dashboard-bonus-card strong {
  color: inherit;
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.25;
  text-transform: uppercase;
}

.dashboard-bonus-card small {
  color: rgba(255, 236, 213, 0.56);
  font-family: var(--font-nav);
  font-size: 14px;
  font-weight: 900;
  line-height: 1.2;
}

.dashboard-bonus-scale {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.dashboard-bonus-progress {
  height: 12px;
  overflow: hidden;
  border: 1px solid rgba(255, 187, 103, 0.24);
  border-radius: 999px;
  background: rgba(0, 0, 0, 0.34);
}

.dashboard-bonus-progress span {
  width: var(--bonus-progress, 0%);
  height: 100%;
  display: block;
  border-radius: inherit;
  background:
    linear-gradient(90deg, #ff6b1a, #ffd36e 56%, #fff0b8);
  box-shadow: 0 0 24px rgba(255, 149, 35, 0.42);
}

.dashboard-bonus-summary {
  display: grid;
  grid-template-columns: minmax(180px, 240px) minmax(0, 1fr);
  gap: 12px;
}

.dashboard-bonus-summary div {
  padding: 12px 14px;
  border: 1px solid rgba(255, 187, 103, 0.16);
  border-radius: 8px;
  background: rgba(0, 0, 0, 0.2);
}

.dashboard-bonus-summary small {
  display: block;
  margin-bottom: 4px;
  color: rgba(255, 236, 213, 0.52);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 900;
  text-transform: uppercase;
}

.dashboard-bonus-summary strong {
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: 24px;
  line-height: 1;
}

.dashboard-empty {
  margin: 0;
  color: rgba(255, 229, 199, 0.68);
}

.classes-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

.classes-page .site-header {
  position: fixed;
  width: 100%;
}

.classes-shell {
  position: relative;
  display: grid;
  gap: 14px;
  min-height: 100vh;
  align-content: start;
  padding: 150px clamp(20px, 4vw, 56px) 12px;
  isolation: isolate;
}

.classes-page-title {
  width: min(1240px, 100%);
  margin: 0 auto 2px;
  color: #fff2dc;
  font-size: clamp(54px, 5.6vw, 76px);
  line-height: 0.95;
  text-align: center;
  text-shadow: 0 5px 22px rgba(0, 0, 0, 0.55), 0 0 28px rgba(255, 136, 34, 0.24);
}

.classes-shell::before {
  position: fixed;
  inset: -2.5%;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.62), rgba(8, 6, 6, 0.28) 48%, rgba(8, 6, 6, 0.84)),
    url("../assets/images/dragon-background.png") center 46% / cover no-repeat;
  content: "";
  filter: saturate(1.08) contrast(1.04);
}

.classes-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 25% 55%, rgba(255, 105, 18, 0.22), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.64), transparent 42%, rgba(0, 0, 0, 0.58));
  content: "";
  pointer-events: none;
}

.classes-intro {
  display: grid;
  grid-template-columns: minmax(520px, 1fr) minmax(520px, 1fr);
  gap: clamp(24px, 3vw, 46px);
  width: min(1240px, 100%);
  margin: 0 auto;
  overflow: hidden;
  border: 1px solid rgba(255, 183, 91, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.075), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 55% 100%, rgba(255, 105, 18, 0.12), transparent 58%),
    rgba(15, 8, 6, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -18px 30px rgba(255, 91, 13, 0.045),
    0 24px 52px rgba(0, 0, 0, 0.46);
  backdrop-filter: blur(16px);
}

.classes-intro__media {
  position: relative;
  min-height: 500px;
  overflow: hidden;
  background: rgba(10, 6, 5, 0.72);
}

.classes-intro__media::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, transparent 68%, rgba(15, 8, 6, 0.56)),
    linear-gradient(180deg, rgba(255, 225, 188, 0.1), transparent 32%, rgba(0, 0, 0, 0.24));
  content: "";
  pointer-events: none;
}

.classes-intro__media video {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.classes-intro__content {
  display: flex;
  flex-direction: column;
  justify-content: center;
  padding: 28px 42px 28px 0;
}

.classes-intro__content h1 {
  display: none;
}

.classes-intro__content p {
  margin: 0 0 12px;
  color: rgba(255, 230, 204, 0.82);
  font-size: 15px;
  line-height: 1.36;
}

.classes-intro__content .eyebrow {
  margin-bottom: 10px;
  color: #ffd17c;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 800;
  letter-spacing: 0.02em;
  text-transform: uppercase;
}

.classes-intro__final {
  margin-top: 4px;
  color: #fff1d8;
  font-family: var(--font-heading);
  font-size: 21px;
  font-weight: 700;
  line-height: 1.2;
  text-shadow: 0 0 18px rgba(255, 125, 31, 0.18);
}

.classes-detail {
  display: grid;
  gap: 10px;
  width: min(1240px, 100%);
  margin: 0 auto;
  padding: 12px 20px;
  border: 1px solid rgba(255, 183, 91, 0.24);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.07), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 50% 100%, rgba(255, 105, 18, 0.11), transparent 58%),
    rgba(15, 8, 6, 0.68);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -16px 26px rgba(255, 91, 13, 0.04),
    0 20px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.classes-tabs {
  display: grid;
  grid-template-columns: repeat(8, minmax(0, 1fr));
  gap: 8px;
}

.classes-tabs button {
  min-height: 34px;
  padding: 6px 10px;
  border: 1px solid rgba(255, 186, 92, 0.24);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 202, 129, 0.12), rgba(104, 45, 16, 0.24)),
    rgba(28, 18, 14, 0.58);
  color: rgba(255, 238, 215, 0.9);
  cursor: pointer;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease, transform 180ms ease;
}

.classes-tabs button:hover,
.classes-tabs button.is-active {
  border-color: rgba(255, 205, 120, 0.66);
  color: #fff0d2;
  background:
    linear-gradient(180deg, rgba(255, 214, 145, 0.18), rgba(129, 52, 14, 0.34)),
    rgba(33, 19, 12, 0.64);
  box-shadow:
    inset 0 0 14px rgba(255, 134, 26, 0.12),
    0 0 16px rgba(255, 134, 26, 0.18);
}

.classes-tabs button:hover {
  transform: translateY(-1px);
}

.class-profile {
  display: grid;
  grid-template-columns: 520px minmax(0, 1fr);
  gap: 16px;
  align-items: start;
}

.class-profile__cover {
  position: relative;
  display: grid;
  min-height: 0;
  aspect-ratio: 16 / 9;
  overflow: hidden;
  place-items: end start;
  padding: 0;
  border: 1px solid rgba(255, 191, 105, 0.28);
  border-radius: 10px;
  background:
    linear-gradient(135deg, rgba(255, 221, 165, 0.16), transparent 35%),
    radial-gradient(circle at 62% 28%, var(--class-glow, rgba(255, 118, 31, 0.54)), transparent 25%),
    linear-gradient(145deg, var(--class-a, #44200f), var(--class-b, #120b08));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    inset 0 -20px 32px rgba(0, 0, 0, 0.34),
    0 14px 30px rgba(0, 0, 0, 0.32);
}

.class-profile__cover img {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  display: block;
  object-fit: contain;
  object-position: center;
  transition: opacity 180ms ease, transform 360ms ease;
}

.class-profile__cover:hover img {
  transform: none;
}

.class-profile__cover::before {
  position: absolute;
  inset: 0;
  background:
    radial-gradient(circle at 48% 45%, transparent 28%, rgba(0, 0, 0, 0.1) 58%, rgba(0, 0, 0, 0.4)),
    linear-gradient(180deg, rgba(255, 231, 199, 0.08), transparent 28%, rgba(0, 0, 0, 0.46));
  content: "";
  pointer-events: none;
}

.class-profile__cover::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, transparent 48%, rgba(0, 0, 0, 0.72)),
    linear-gradient(90deg, rgba(0, 0, 0, 0.24), transparent 38%, rgba(0, 0, 0, 0.12));
  content: "";
  pointer-events: none;
}

.class-profile__cover span {
  display: none;
}

.class-profile__body {
  align-self: stretch;
  display: grid;
  grid-template-rows: auto auto 1fr;
  min-width: 0;
}

.class-profile__body h2 {
  margin: 0 0 4px;
  color: #ffe0b4;
  font-size: clamp(28px, 2.6vw, 38px);
  line-height: 0.96;
}

.class-profile__body .eyebrow {
  margin: 0 0 4px;
  color: #ffd17c;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.class-profile__text {
  display: grid;
  align-content: space-between;
  gap: 4px;
  min-height: 0;
  overflow: hidden;
  padding-right: 0;
}

.class-profile__text p {
  margin: 0;
  color: rgba(255, 230, 204, 0.8);
  font-size: clamp(10.5px, 0.82vw, 12px);
  line-height: 1.16;
}

.class-profile__text strong {
  color: #ffe0b4;
}

.class-profile__cover[data-class-cover="guardian"] {
  --class-a: #413225;
  --class-b: #11171a;
  --class-glow: rgba(191, 214, 229, 0.48);
  --class-rotate: 0deg;
}

.class-profile__cover[data-class-cover="berserker"] {
  --class-a: #5d160e;
  --class-b: #160706;
  --class-glow: rgba(255, 67, 27, 0.56);
  --class-rotate: 14deg;
}

.class-profile__cover[data-class-cover="assassin"] {
  --class-a: #281d39;
  --class-b: #09070d;
  --class-glow: rgba(168, 91, 255, 0.48);
  --class-rotate: -18deg;
}

.class-profile__cover[data-class-cover="mage"] {
  --class-a: #16304b;
  --class-b: #080d17;
  --class-glow: rgba(87, 178, 255, 0.52);
  --class-rotate: 26deg;
}

.class-profile__cover[data-class-cover="priest"] {
  --class-a: #5b4a25;
  --class-b: #16110a;
  --class-glow: rgba(255, 229, 157, 0.58);
  --class-rotate: -6deg;
}

.class-profile__cover[data-class-cover="ranger"] {
  --class-a: #243f2a;
  --class-b: #091008;
  --class-glow: rgba(108, 214, 116, 0.44);
  --class-rotate: 32deg;
}

.class-profile__cover[data-class-cover="fairy"] {
  --class-a: #4a244b;
  --class-b: #10070f;
  --class-glow: rgba(255, 126, 221, 0.5);
  --class-rotate: -30deg;
}

.class-profile__cover[data-class-cover="magician"] {
  --class-a: #482538;
  --class-b: #11070d;
  --class-glow: rgba(255, 107, 175, 0.5);
  --class-rotate: 18deg;
}

.news-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

.news-shell {
  position: relative;
  min-height: 100vh;
  padding: clamp(118px, 14vh, 154px) clamp(20px, 4vw, 56px) 56px;
  isolation: isolate;
}

.news-shell::before {
  position: fixed;
  inset: -2%;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.72), rgba(8, 6, 6, 0.34) 46%, rgba(8, 6, 6, 0.88)),
    url("../assets/images/dragon-background.png") center top / cover no-repeat;
  content: "";
  filter: saturate(1.08) contrast(1.04);
}

.news-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 18%, rgba(255, 134, 34, 0.24), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.66), transparent 38%, transparent 62%, rgba(0, 0, 0, 0.66));
  content: "";
  pointer-events: none;
}

.news-hero {
  display: grid;
  gap: 22px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.news-heading {
  display: grid;
  gap: 10px;
  max-width: 760px;
  margin: 0 auto 8px;
  text-align: center;
}

.news-heading h1 {
  margin: 0;
  color: #fff2dc;
  font-size: clamp(44px, 5vw, 78px);
  line-height: 0.95;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.48), 0 0 26px rgba(255, 136, 34, 0.2);
}

.news-heading p:not(.eyebrow) {
  margin: 0;
  color: rgba(255, 231, 207, 0.82);
  font-size: 16px;
  line-height: 1.55;
}

.news-heading p:not(.eyebrow) a {
  color: #ffd17c;
  font-weight: 900;
  text-decoration: none;
  text-shadow: 0 0 14px rgba(255, 142, 34, 0.28);
  transition: color 0.2s ease, text-shadow 0.2s ease;
}

.news-heading p:not(.eyebrow) a:hover,
.news-heading p:not(.eyebrow) a:focus-visible {
  color: #fff0d8;
  text-shadow: 0 0 18px rgba(255, 178, 83, 0.48);
}

.news-featured,
.news-grid {
  display: grid;
  gap: 16px;
}

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

.news-card {
  position: relative;
  display: grid;
  align-content: start;
  gap: 14px;
  min-height: 100%;
  padding: 22px;
  overflow: visible;
  border: 1px solid rgba(255, 183, 91, 0.24);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 228, 190, 0.08), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 72% 0%, rgba(255, 122, 20, 0.16), transparent 34%),
    rgba(15, 8, 6, 0.7);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 24px 54px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.news-card::before {
  position: absolute;
  inset: 0;
  border-radius: inherit;
  background: linear-gradient(135deg, rgba(255, 182, 87, 0.16), transparent 38%);
  content: "";
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.25s ease;
}

.news-card__cover {
  position: relative;
  z-index: 1;
  display: block;
  width: 100%;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  object-position: center;
  border: 1px solid rgba(255, 198, 112, 0.28);
  border-radius: 8px;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.16),
    0 16px 32px rgba(0, 0, 0, 0.34),
    0 0 24px rgba(255, 92, 20, 0.16);
}

.news-card:hover::before {
  opacity: 1;
}

.news-card--featured {
  grid-template-columns: minmax(0, 1fr) minmax(280px, 390px);
  align-items: center;
  gap: clamp(22px, 4vw, 48px);
  min-height: 320px;
  padding: clamp(24px, 4vw, 38px);
  background:
    linear-gradient(135deg, rgba(255, 236, 202, 0.12), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 82% 18%, rgba(255, 118, 20, 0.28), transparent 34%),
    radial-gradient(circle at 12% 100%, rgba(255, 210, 117, 0.15), transparent 38%),
    rgba(18, 8, 5, 0.76);
}

.news-card__copy {
  position: relative;
  z-index: 1;
  display: grid;
  gap: 14px;
}

.news-card__meta {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  color: rgba(255, 225, 196, 0.7);
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0;
  text-transform: uppercase;
}

.news-card__meta--date-only {
  justify-content: end;
}

.news-card__meta span {
  color: #ffd17c;
}

.news-card h2 {
  position: relative;
  z-index: 1;
  margin: 0;
  color: #fff0d8;
  font-size: clamp(25px, 3vw, 38px);
  line-height: 1.02;
}

.news-grid .news-card h2 {
  font-size: clamp(22px, 2vw, 30px);
}

.news-card p {
  position: relative;
  z-index: 1;
  margin: 0;
  color: rgba(255, 231, 207, 0.78);
  font-size: 14px;
  line-height: 1.55;
}

.news-card--featured .news-card__copy {
  gap: 18px;
}

.news-card--featured h2 {
  font-size: clamp(38px, 4vw, 54px);
}

.news-card--featured p {
  max-width: 680px;
  color: rgba(255, 235, 214, 0.86);
  font-size: clamp(16px, 1.45vw, 20px);
  font-weight: 700;
  line-height: 1.48;
}

.news-card--featured p + p {
  margin-top: -4px;
}

.newbie-gifts {
  position: relative;
  display: grid;
  grid-template-columns: minmax(132px, 1.2fr) repeat(2, minmax(74px, 0.78fr));
  grid-template-rows: repeat(2, minmax(92px, 1fr));
  justify-self: end;
  width: min(100%, 390px);
  min-height: 210px;
  gap: 12px;
}

.newbie-gift-item {
  position: relative;
  min-width: 0;
  min-height: 0;
  border-radius: 10px;
  outline: none;
}

.newbie-gift-item img {
  display: block;
  width: 100%;
  height: 100%;
  min-width: 0;
  padding: 6px;
  border: 1px solid rgba(255, 201, 112, 0.45);
  border-radius: 10px;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 217, 128, 0.2), transparent 60%),
    rgba(12, 7, 5, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 0 20px rgba(255, 137, 31, 0.24),
    0 16px 30px rgba(0, 0, 0, 0.42);
  image-rendering: auto;
  object-fit: cover;
}

.newbie-gift-item--hero {
  grid-row: 1 / span 2;
}

.newbie-gift-item--hero img {
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.2),
    0 0 32px rgba(255, 166, 60, 0.32),
    0 20px 42px rgba(0, 0, 0, 0.48);
}

.gift-tooltip {
  position: absolute;
  right: calc(100% + 16px);
  top: 50%;
  z-index: 12;
  width: min(320px, calc(100vw - 36px));
  padding: 16px;
  border: 1px solid rgba(255, 201, 112, 0.42);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 214, 139, 0.1), rgba(255, 255, 255, 0.02)),
    rgba(18, 8, 5, 0.94);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.12),
    0 22px 48px rgba(0, 0, 0, 0.5),
    0 0 28px rgba(255, 126, 32, 0.2);
  color: rgba(255, 235, 214, 0.88);
  opacity: 0;
  pointer-events: none;
  visibility: hidden;
  transform: translateY(-50%) translateX(8px);
  transition:
    opacity 0.18s ease,
    transform 0.18s ease,
    visibility 0.18s ease;
}

.gift-tooltip::after {
  position: absolute;
  top: 50%;
  right: -8px;
  width: 14px;
  height: 14px;
  border-top: 1px solid rgba(255, 201, 112, 0.42);
  border-right: 1px solid rgba(255, 201, 112, 0.42);
  background: rgba(18, 8, 5, 0.94);
  content: "";
  transform: translateY(-50%) rotate(45deg);
}

.newbie-gift-item:hover .gift-tooltip,
.newbie-gift-item:focus .gift-tooltip,
.newbie-gift-item:focus-within .gift-tooltip,
.newbie-gift-item:focus-visible .gift-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateY(-50%) translateX(0);
}

.gift-tooltip h3 {
  margin: 0 0 12px;
  color: #ffe4ad;
  font-size: 20px;
  line-height: 1.15;
}

.gift-tooltip__title {
  display: block;
  margin: 0 0 12px;
  color: #ffe4ad;
  font-family: var(--font-title);
  font-size: 20px;
  font-weight: 700;
  line-height: 1.15;
}

.gift-tooltip--wide-title {
  width: min(380px, calc(100vw - 36px));
}

.news-reward-tip .gift-tooltip--wide-title {
  width: min(430px, calc(100vw - 36px));
}

.gift-tooltip--wide-title h3 {
  font-size: 19px;
  white-space: nowrap;
}

.gift-tooltip p {
  margin: 0;
  color: rgba(255, 235, 214, 0.88);
  font-size: 13px;
  line-height: 1.45;
}

.gift-tooltip__section + .gift-tooltip__section {
  margin-top: 12px;
}

.gift-tooltip__section {
  display: block;
}

.gift-tooltip strong {
  display: block;
  margin-bottom: 7px;
  color: #ffd17c;
  font-family: var(--font-nav);
  font-size: 12px;
  line-height: 1.25;
}

.gift-tooltip__section-title {
  display: block;
  margin-bottom: 7px;
  color: #ffd17c;
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 900;
  line-height: 1.25;
}

.gift-tooltip ul {
  display: grid;
  gap: 5px;
  margin: 0;
  padding-left: 18px;
}

.gift-tooltip li {
  font-size: 13px;
  line-height: 1.3;
}

.gift-tooltip__list {
  display: grid;
  gap: 5px;
  color: rgba(255, 235, 214, 0.9);
  font-size: 13px;
  font-weight: 700;
  line-height: 1.3;
}

.gift-tooltip__list span {
  position: relative;
  display: block;
  padding-left: 14px;
}

.gift-tooltip__list span::before {
  position: absolute;
  left: 0;
  content: "-";
}

.news-card a {
  position: relative;
  justify-self: start;
  margin-top: 4px;
  color: #ffcf83;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 800;
  text-decoration: none;
  text-transform: uppercase;
}

.news-card a::after {
  display: inline-block;
  margin-left: 8px;
  content: ">";
  transition: transform 0.2s ease;
}

.news-card a:hover::after {
  transform: translateX(4px);
}

.news-card a.news-text-link {
  display: inline;
  justify-self: auto;
  margin-top: 0;
  color: #ffd17c;
  font-family: inherit;
  font-size: inherit;
  font-weight: 900;
  line-height: inherit;
  text-transform: none;
  text-shadow: 0 0 12px rgba(255, 142, 34, 0.24);
}

.news-card a.news-text-link::after {
  display: none;
}

.news-card a.news-text-link:hover,
.news-card a.news-text-link:focus-visible {
  color: #fff0d8;
  text-shadow: 0 0 16px rgba(255, 178, 83, 0.44);
}

.news-reward-tip {
  position: relative;
  display: inline-block;
  color: #ffd17c;
  font-weight: 900;
  outline: none;
  text-shadow: 0 0 12px rgba(255, 142, 34, 0.24);
  cursor: help;
}

.news-reward-tip .gift-tooltip {
  left: 50%;
  right: auto;
  top: auto;
  bottom: calc(100% + 14px);
  transform: translateX(-50%) translateY(8px);
}

.news-reward-tip .gift-tooltip::after {
  top: auto;
  right: auto;
  bottom: -8px;
  left: 50%;
  transform: translateX(-50%) rotate(45deg);
}

.news-reward-tip:hover .gift-tooltip,
.news-reward-tip:focus .gift-tooltip,
.news-reward-tip:focus-visible .gift-tooltip {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

.about-page {
  height: 100vh;
  overflow: hidden;
  background: var(--bg);
}

.about-page .site-header {
  position: fixed;
  width: 100%;
}

.about-shell {
  position: relative;
  box-sizing: border-box;
  display: grid;
  height: 100vh;
  min-height: 100vh;
  overflow: hidden;
  align-items: start;
  align-content: start;
  padding: clamp(88px, 12vh, 142px) clamp(20px, 4vw, 56px) 8px;
  isolation: isolate;
}

.about-shell::before {
  position: fixed;
  inset: -2.5%;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.68), rgba(8, 6, 6, 0.28) 48%, rgba(8, 6, 6, 0.82)),
    url("../assets/images/dragon-background.png") center 45% / cover no-repeat;
  content: "";
  filter: saturate(1.08) contrast(1.04);
}

.about-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 30%, rgba(255, 105, 18, 0.18), transparent 30%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.62), transparent 36%, transparent 64%, rgba(0, 0, 0, 0.64));
  content: "";
  pointer-events: none;
}

.about-panel {
  display: grid;
  gap: 14px;
  width: min(1180px, 100%);
  padding: 18px 24px;
  border: 1px solid rgba(255, 183, 91, 0.22);
  border-radius: 14px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.075), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 50% 100%, rgba(255, 105, 18, 0.12), transparent 58%),
    rgba(15, 8, 6, 0.66);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -18px 30px rgba(255, 91, 13, 0.045),
    0 22px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.about-stack {
  display: grid;
  gap: 10px;
  width: min(1180px, 100%);
  margin: 0 auto;
}

.about-heading {
  width: min(1180px, 100%);
  margin: 0 auto 12px;
  text-align: center;
}

.about-heading h1 {
  margin: 0;
  color: #fff2dc;
  font-size: clamp(38px, 4vw, 62px);
  line-height: 0.95;
  text-shadow: 0 4px 18px rgba(0, 0, 0, 0.45), 0 0 22px rgba(255, 136, 34, 0.2);
}

.about-banner {
  position: relative;
  width: min(1180px, 100%);
  height: clamp(76px, 10vh, 126px);
  margin: 0 auto 18px;
  overflow: hidden;
  border: 1px solid rgba(255, 183, 91, 0.22);
  border-radius: 12px;
  background: rgba(13, 7, 5, 0.48);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 34px rgba(0, 0, 0, 0.32);
}

.about-banner::after {
  position: absolute;
  inset: 0;
  background:
    linear-gradient(90deg, rgba(12, 7, 5, 0.18), transparent 22%, transparent 78%, rgba(12, 7, 5, 0.18)),
    linear-gradient(180deg, rgba(255, 228, 190, 0.12), transparent 34%, rgba(0, 0, 0, 0.18));
  content: "";
  pointer-events: none;
}

.about-banner img {
  width: 100%;
  height: 100%;
  display: block;
  object-fit: cover;
  object-position: center;
}

.about-actions {
  display: grid;
  grid-template-columns: repeat(5, minmax(0, 1fr));
  gap: 10px;
}

.about-actions button {
  display: inline-flex;
  min-height: 42px;
  align-items: center;
  justify-content: center;
  padding: 9px 10px;
  border: 1px solid rgba(255, 186, 92, 0.24);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 202, 129, 0.12), rgba(104, 45, 16, 0.24)),
    rgba(28, 18, 14, 0.58);
  color: rgba(255, 238, 215, 0.9);
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  cursor: pointer;
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, background 180ms ease;
}

.about-actions button:hover,
.about-actions button.is-active {
  border-color: rgba(255, 205, 120, 0.66);
  color: #fff0d2;
  background:
    linear-gradient(180deg, rgba(255, 214, 145, 0.18), rgba(129, 52, 14, 0.34)),
    rgba(33, 19, 12, 0.64);
  box-shadow:
    inset 0 0 14px rgba(255, 134, 26, 0.12),
    0 0 16px rgba(255, 134, 26, 0.18);
}

.about-copy {
  min-height: 130px;
  padding-top: 4px;
}

.about-copy__section {
  display: none;
}

.about-copy__section.is-active {
  display: block;
}

.about-copy__section h2 {
  margin: 0 0 8px;
  color: #ffe0b4;
  font-size: clamp(24px, 2.2vw, 32px);
  line-height: 1;
}

.about-copy__section p {
  max-width: 1080px;
  margin: 0 0 8px;
  color: rgba(255, 230, 204, 0.8);
  font-size: 15px;
  line-height: 1.36;
}

.about-copy__section p:last-child {
  margin-bottom: 0;
}

.about-panel--privacy {
  gap: 10px;
  padding: 14px 24px 16px;
}

.about-panel--privacy h2 {
  margin: 0;
  color: #ffe1b8;
  font-size: clamp(26px, 2.3vw, 34px);
  line-height: 1.05;
}

.privacy-copy {
  display: grid;
  grid-template-columns: 1fr;
  gap: 7px;
}

.privacy-copy p {
  max-width: 1100px;
  margin: 0;
  color: rgba(255, 230, 204, 0.8);
  font-size: 15px;
  line-height: 1.36;
}

.about-social-copy {
  position: absolute;
  left: 50%;
  bottom: clamp(42px, 7vh, 82px);
  z-index: 2;
  width: max-content;
  max-width: calc(100vw - 40px);
  transform: translateX(-50%);
}

.about-social-copy .social-dock {
  position: static;
  right: auto;
  bottom: auto;
  transform: none;
}

@media (max-width: 1920px) {
	.dashboard-bonus-list {
		grid-template-columns: repeat(4, minmax(0, 1fr));
	}
}

@media (max-width: 1640px) {
	.dashboard-bonus-list {
		grid-template-columns: repeat(3, minmax(0, 1fr));
	}
}

@media (max-height: 860px) {
  .about-shell {
    padding-top: 148px;
    padding-bottom: 124px;
  }

  .about-stack {
    gap: 8px;
  }

  .about-heading {
    margin-bottom: 8px;
  }

  .about-heading h1 {
    font-size: 38px;
  }

  .about-banner {
    height: 70px;
    margin-bottom: 10px;
  }

  .about-panel {
    gap: 10px;
    padding: 12px 20px;
  }

  .about-actions button {
    min-height: 36px;
    padding: 7px 8px;
    font-size: 11px;
  }

  .about-copy {
    min-height: 104px;
  }

  .about-copy__section h2 {
    margin-bottom: 6px;
    font-size: 26px;
  }

  .about-copy__section p,
  .privacy-copy p {
    font-size: 13px;
    line-height: 1.22;
  }

  .about-panel--privacy {
    gap: 6px;
    padding: 10px 20px;
  }

  .about-panel--privacy h2 {
    font-size: 27px;
  }

  .about-social-copy {
    bottom: 8px;
    transform: translateX(-50%) scale(0.68);
    transform-origin: bottom center;
  }
}

@media (max-height: 760px) {
  .about-social-copy {
    display: none;
  }
}

@media (max-width: 1360px) {
  .dashboard-view--cash {
    grid-template-columns: 1fr;
    height: auto;
    overflow: visible;
  }

  .dashboard-cash-main {
    width: min(820px, 100%);
    min-width: 0;
    max-height: none;
    overflow: visible;
    padding-right: 0;
  }

  .dashboard-panel--cash-lore {
    position: static;
    min-height: 0;
    height: auto;
    max-height: none;
    width: min(100%, 1120px);
  }

  .dashboard-igris-lore--sidebar {
    grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
    grid-template-rows: auto;
  }
  
  .dashboard-summary-grid {
    grid-template-columns: repeat(2, minmax(220px, 1fr));
  }
  
  .site-header {
    align-items: flex-start;
    flex-direction: column;
  }

  .site-header {
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 8px 12px;
    padding: 10px 14px 12px;
  }

  .site-header--overlay {
    position: absolute;
  }
  
  .rankings-heading {
	  margin-top: 20px;
  }
  
  .about-heading {
	  margin-top: 20px;
  }

  .main-nav {
    grid-column: 1 / -1;
    overflow-x: auto;
    flex-wrap: wrap;
    justify-content: flex-start;
    gap: 16px;
    padding-bottom: 4px;
    scrollbar-width: none;
	margin: 0 auto;
  }

  .language-switch {
    grid-column: 2;
    grid-row: 1;
    margin-top: 0;
  }
  
  .dashboard-bonus-list {
	grid-template-columns: repeat(2, minmax(0, 1fr));
  }
}

.section {
  width: min(1120px, 100%);
  margin: 0 auto;
  padding: 44px 0;
}

.section__header {
  max-width: 720px;
  margin-bottom: 28px;
}

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

.feature-card,
.form-card {
  padding: 24px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.tabs {
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
  margin-bottom: 16px;
}

.tab {
  min-height: 40px;
  padding: 9px 16px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: var(--panel);
  color: var(--muted);
  cursor: pointer;
  font-family: var(--font-nav);
  font-weight: 600;
}

.tab.is-active {
  border-color: transparent;
  background: var(--gold);
  color: #191710;
  font-weight: 800;
}

.table-wrap {
  overflow-x: auto;
  border: 1px solid var(--line);
  border-radius: 8px;
}

table {
  width: 100%;
  border-collapse: collapse;
  background: var(--panel);
}

th,
td {
  padding: 14px 16px;
  border-bottom: 1px solid var(--line);
  text-align: left;
  white-space: nowrap;
}

th {
  color: var(--gold);
  font-size: 13px;
  text-transform: uppercase;
}

.stat-strip {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 16px;
  margin-top: 16px;
}

.stat-strip > div {
  padding: 20px;
  border: 1px solid var(--line);
  border-radius: 8px;
  background: var(--panel);
}

.stat-label {
  display: block;
  color: var(--muted);
  font-size: 13px;
}

.stat-strip strong {
  color: var(--gold);
  font-size: 28px;
}

.rankings-page {
  overflow: hidden;
}

.rankings-shell {
  position: relative;
  height: 100vh;
  overflow: hidden;
  isolation: isolate;
}

.rankings-shell::before {
  position: absolute;
  inset: -2.5%;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.5), rgba(8, 6, 6, 0.12) 38%, rgba(8, 6, 6, 0.72)),
    url("../assets/images/dragon-background.png") center 46% / cover no-repeat;
  content: "";
  filter: saturate(1.15) contrast(1.05);
  animation: dragon-bg-drift 18s ease-in-out infinite alternate;
}

.rankings-shell::after {
  position: absolute;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 52% 38%, rgba(255, 105, 18, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.52), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.54));
  content: "";
  pointer-events: none;
}

.rankings-hero {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr);
  gap: clamp(14px, 2vh, 22px);
  height: 100vh;
  padding: 116px clamp(18px, 3vw, 48px) 24px;
}

.rankings-heading {
  display: grid;
  justify-items: center;
  gap: 0;
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78), 0 0 18px rgba(255, 121, 24, 0.2);
}

.rankings-heading .eyebrow {
  margin: 0;
  color: rgba(255, 210, 154, 0.82);
  font-family: var(--font-nav);
  font-size: clamp(13px, 1vw, 16px);
  font-weight: 800;
}

.rankings-heading h1 {
  margin: 0;
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: clamp(38px, 4.1vw, 64px);
  line-height: 1;
}

.rankings-grid {
  display: grid;
  grid-template-rows: auto minmax(0, 1fr) auto;
  justify-self: center;
  width: min(1040px, 100%);
  gap: clamp(10px, 1.1vw, 16px);
  min-height: 0;
}

.ranking-switch {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
  width: min(680px, 100%);
  justify-self: center;
  padding: 8px;
  border: 1px solid rgba(255, 183, 91, 0.18);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.075), rgba(255, 255, 255, 0.018)),
    rgba(15, 8, 6, 0.48);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.09), 0 18px 34px rgba(0, 0, 0, 0.34);
  backdrop-filter: blur(16px);
}

.ranking-switch button {
  min-height: 44px;
  border: 1px solid rgba(255, 187, 103, 0.16);
  border-radius: 9px;
  background:
    linear-gradient(180deg, rgba(255, 228, 191, 0.06), rgba(255, 255, 255, 0.01)),
    rgba(16, 9, 6, 0.28);
  color: rgba(255, 231, 204, 0.78);
  cursor: pointer;
  font-family: var(--font-nav);
  font-size: clamp(14px, 1.05vw, 17px);
  font-weight: 800;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.72);
  transition: border-color 180ms ease, color 180ms ease, box-shadow 180ms ease, transform 180ms ease;
}

.ranking-switch button:hover,
.ranking-switch button.is-active {
  border-color: rgba(255, 180, 83, 0.58);
  color: #fff0d2;
  box-shadow:
    inset 0 0 18px rgba(255, 134, 26, 0.12),
    0 0 22px rgba(255, 121, 24, 0.22);
}

.ranking-switch button.is-active {
  color: var(--gold);
}

.ranking-panel {
  min-width: 0;
  min-height: 0;
  overflow: hidden;
  padding: clamp(12px, 1.1vw, 18px);
  border: 1px solid rgba(255, 183, 91, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.075), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 50% 100%, rgba(255, 105, 18, 0.12), transparent 54%),
    rgba(15, 8, 6, 0.58);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -18px 30px rgba(255, 91, 13, 0.045),
    0 22px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.ranking-panel h2 {
  margin: 0 0 12px;
  color: #ffe1b8;
  font-family: var(--font-heading);
  font-size: clamp(28px, 2.45vw, 42px);
  line-height: 1.05;
  text-align: center;
  text-shadow: 0 0 18px rgba(255, 126, 25, 0.28), 0 2px 12px rgba(0, 0, 0, 0.74);
}

.ranking-table {
  height: calc(100% - 54px);
  border-collapse: separate;
  border-spacing: 0;
  background: transparent;
  table-layout: fixed;
}

.ranking-table th,
.ranking-table td {
  overflow: hidden;
  padding: 5px 14px;
  border-bottom: 1px solid rgba(255, 204, 142, 0.08);
  color: rgba(255, 239, 218, 0.82);
  font-size: clamp(12px, 0.9vw, 15px);
  line-height: 1.02;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.ranking-table th {
  color: rgba(255, 201, 117, 0.92);
  font-family: var(--font-nav);
  font-size: clamp(10px, 0.76vw, 12px);
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
  text-shadow: 0 0 12px rgba(255, 127, 25, 0.26);
}

.ranking-table--scrollable {
    display: flex;
    flex-direction: column;
    width: 100%;
}

.ranking-table--scrollable thead,
.ranking-table--scrollable tbody tr {
    display: table;
    table-layout: fixed;
    width: 100%;
}

.ranking-table--scrollable tbody {
    display: block;
    overflow-y: auto;
    width: 100%;
}

.ranking-table--scrollable tbody::-webkit-scrollbar {
    width: 6px;
}
.ranking-table--scrollable tbody::-webkit-scrollbar-thumb {
    background-color: rgba(0, 0, 0, 0.2);
    border-radius: 3px;
}

.ranking-table tbody tr:nth-child(odd) td {
  background: rgba(255, 255, 255, 0.025);
}

.ranking-table tbody tr:first-child td {
  color: #fff1d3;
  font-weight: 700;
  text-shadow: 0 0 12px rgba(255, 145, 42, 0.36);
}

.ranking-table tbody tr.ranking-top {
  --top-bg: rgba(255, 198, 73, 0.2);
  --top-bg-soft: rgba(255, 198, 73, 0.07);
  --top-line: rgba(255, 201, 88, 0.76);
  --top-glow: rgba(255, 174, 35, 0.28);
  background: linear-gradient(90deg, var(--top-bg), var(--top-bg-soft));
}

.ranking-table tbody tr.ranking-top td {
  position: relative;
  border-top: 1px solid var(--top-line);
  border-bottom: 1px solid var(--top-line);
  background: transparent;
  color: #fff2d7;
  font-weight: 800;
  text-shadow: 0 0 14px var(--top-glow), 0 2px 10px rgba(0, 0, 0, 0.72);
}

.ranking-table tbody tr.ranking-top td:first-child {
  border-left: 1px solid var(--top-line);
  border-radius: 10px 0 0 10px;
  box-shadow: inset 8px 0 16px -14px var(--top-line);
}

.ranking-table tbody tr.ranking-top td:last-child {
  border-right: 1px solid var(--top-line);
  border-radius: 0 10px 10px 0;
  box-shadow: inset -8px 0 16px -14px var(--top-line);
}

.ranking-table tbody tr.ranking-top--1 {
  --top-bg: rgba(255, 184, 36, 0.27);
  --top-bg-soft: rgba(255, 117, 18, 0.1);
  --top-line: rgba(255, 205, 86, 0.9);
  --top-glow: rgba(255, 184, 36, 0.46);
}

.ranking-table tbody tr.ranking-top--2 {
  --top-bg: rgba(224, 231, 242, 0.22);
  --top-bg-soft: rgba(166, 184, 210, 0.08);
  --top-line: rgba(225, 235, 255, 0.78);
  --top-glow: rgba(205, 222, 255, 0.34);
}

.ranking-table tbody tr.ranking-top--3 {
  --top-bg: rgba(219, 119, 44, 0.25);
  --top-bg-soft: rgba(131, 55, 23, 0.1);
  --top-line: rgba(235, 139, 63, 0.82);
  --top-glow: rgba(255, 122, 43, 0.36);
}

.ranking-top .ranking-rank {
  color: transparent !important;
}

.ranking-top .ranking-rank::before {
  position: absolute;
  top: 50%;
  left: 50%;
  width: 22px;
  height: 22px;
  border: 1px solid rgba(255, 238, 192, 0.42);
  border-radius: 50%;
  background:
    radial-gradient(circle at 34% 26%, rgba(255, 255, 255, 0.72), transparent 16%),
    radial-gradient(circle at 50% 56%, var(--medal-light), var(--medal-dark) 68%);
  box-shadow:
    inset 0 1px 2px rgba(255, 255, 255, 0.38),
    inset 0 -3px 5px rgba(0, 0, 0, 0.24),
    0 0 14px var(--top-glow);
  content: "";
  transform: translate(-50%, -50%);
}

.ranking-top .ranking-rank::after {
  position: absolute;
  top: 50%;
  left: 50%;
  z-index: 1;
  color: rgba(49, 24, 8, 0.92);
  content: attr(data-rank);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 1px 0 rgba(255, 255, 255, 0.34);
  transform: translate(-50%, -50%);
}

.ranking-top--1 .ranking-rank::after {
  content: "1";
}

.ranking-top--2 .ranking-rank::after {
  content: "2";
}

.ranking-top--3 .ranking-rank::after {
  content: "3";
}

.ranking-top--1 .ranking-rank {
  --medal-light: #ffe88f;
  --medal-dark: #c47713;
}

.ranking-top--2 .ranking-rank {
  --medal-light: #ffffff;
  --medal-dark: #8c9aae;
}

.ranking-top--3 .ranking-rank {
  --medal-light: #ffc08a;
  --medal-dark: #9b4f23;
}

.ranking-table tbody tr:last-child td {
  border-bottom: 0;
}

.ranking-table th:first-child,
.ranking-table td:first-child {
  width: 58px;
  text-align: center;
}

.ranking-table th:nth-child(3),
.ranking-table td:nth-child(3) {
  width: 120px;
  text-align: center;
}

.ranking-panel--players .ranking-table th:nth-child(3),
.ranking-panel--players .ranking-table td:nth-child(3) {
  width: 200px;
}

.ranking-panel--players .ranking-table th:nth-child(4),
.ranking-panel--players .ranking-table td:nth-child(4) {
  width: 120px;
  text-align: center;
}

.ranking-table th:nth-child(4),
.ranking-table td:nth-child(4) {
  width: 150px;
  text-align: center;
}

.ranking-table th:last-child,
.ranking-table td:last-child {
  width: 110px;
  text-align: center;
}

.ranking-panel--guilds .ranking-table th:nth-child(2),
.ranking-panel--guilds .ranking-table td:nth-child(2) {
  width: 34%;
}

.ranking-panel--guilds .ranking-table th:nth-child(3),
.ranking-panel--guilds .ranking-table td:nth-child(3) {
  width: 24%;
}

.ranking-panel--guilds .ranking-table td:nth-child(2),
.ranking-panel--guilds .ranking-table td:nth-child(3) {
  text-align: left;
}

.ranking-panel--guilds .ranking-table th:nth-child(4),
.ranking-panel--guilds .ranking-table td:nth-child(4) {
  width: 118px;
  text-align: center;
}

.ranking-panel--guilds .ranking-table th:last-child,
.ranking-panel--guilds .ranking-table td:last-child {
  width: 120px;
}

.ranking-table th,
.ranking-table td,
.ranking-table th:last-child,
.ranking-table td:last-child {
  text-align: center;
}

.ranking-table th:nth-child(2),
.ranking-table td:nth-child(2),
.ranking-panel--guilds .ranking-table td:nth-child(3) {
  text-align: left;
}

.ranking-panel--guilds .ranking-table td:nth-child(2),
.ranking-panel--guilds .ranking-table td:nth-child(3) {
  text-align: left;
}

.ranking-table th:last-child,
.ranking-panel--guilds .ranking-table th:nth-child(2),
.ranking-panel--guilds .ranking-table th:nth-child(3),
.ranking-panel--guilds .ranking-table th:last-child {
  text-align: center;
}

.ranking-panel--guilds .ranking-table th:nth-child(2),
.ranking-panel--guilds .ranking-table td:nth-child(2) {
  text-align: left;
}

.ranking-panel--guilds .ranking-table th:nth-child(3),
.ranking-panel--guilds .ranking-table td:nth-child(3) {
  text-align: center;
}

.ranking-rank {
  color: var(--gold) !important;
  font-family: var(--font-nav);
  font-weight: 800;
}

.ranking-name {
  color: #fff0d9 !important;
  font-weight: 700;
}

.mobs-scale {
  display: grid;
  gap: 12px;
  padding: 14px 20px 16px;
  border: 1px solid rgba(255, 183, 91, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.07), rgba(255, 255, 255, 0.016)),
    radial-gradient(circle at 12% 100%, rgba(255, 105, 18, 0.12), transparent 42%),
    rgba(15, 8, 6, 0.56);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.1),
    0 18px 36px rgba(0, 0, 0, 0.36);
  backdrop-filter: blur(16px);
}

.mobs-scale__header {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto auto;
  align-items: baseline;
  gap: 10px;
}

.mobs-scale__header h2 {
  margin: 0;
  color: #ffe1b8;
  font-family: var(--font-heading);
  font-size: clamp(22px, 2vw, 32px);
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 126, 25, 0.25), 0 2px 12px rgba(0, 0, 0, 0.72);
}

.mobs-scale__header strong {
  color: var(--gold);
  font-family: var(--font-nav);
  font-size: clamp(22px, 2vw, 34px);
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 0 16px rgba(255, 145, 42, 0.36);
}

.mobs-scale__header span,
.mobs-scale__footer {
  color: rgba(255, 230, 202, 0.72);
  font-family: var(--font-nav);
  font-size: 12px;
  font-weight: 800;
  text-transform: uppercase;
}

.mobs-scale__track {
  position: relative;
  height: 16px;
  margin: 4px 0 18px;
  border: 1px solid rgba(255, 192, 105, 0.18);
  border-radius: 999px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.05), transparent),
    rgba(10, 5, 4, 0.64);
  box-shadow: inset 0 2px 8px rgba(0, 0, 0, 0.58), 0 0 18px rgba(255, 93, 15, 0.12);
}

.mobs-scale__fill {
  position: absolute;
  inset: 2px auto 2px 2px;
  max-width: calc(100% - 4px);
  width: max(12px, calc(var(--mobs-progress) - 4px));
  border-radius: 999px;
  background:
    linear-gradient(90deg, rgba(255, 107, 18, 0.76), rgba(255, 202, 78, 0.95)),
    rgba(255, 107, 18, 0.65);
  box-shadow: 0 0 18px rgba(255, 116, 24, 0.46), inset 0 1px 0 rgba(255, 255, 255, 0.24);
}

.mobs-scale__mark {
  position: absolute;
  top: 100%;
  width: 1px;
  height: 9px;
  background: rgba(255, 226, 180, 0.34);
  transform: translateX(-50%);
}

.mobs-scale__mark b {
  position: absolute;
  top: 12px;
  left: 50%;
  min-width: 62px;
  color: rgba(255, 224, 185, 0.78);
  font-family: var(--font-nav);
  font-size: 10px;
  font-weight: 800;
  text-align: center;
  white-space: nowrap;
  transform: translateX(-50%);
}

.mobs-scale__mark:first-of-type b {
  transform: translateX(-8px);
}

.mobs-scale__mark:last-of-type b {
  transform: translateX(calc(-100% + 8px));
}

.mobs-scale__footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
}

.download-page {
  min-height: 100vh;
  overflow-x: hidden;
  background: var(--bg);
}

.download-shell {
  position: relative;
  min-height: 100vh;
  overflow-x: hidden;
  isolation: isolate;
}

.download-shell::before {
  position: fixed;
  inset: -2.5%;
  z-index: -2;
  background:
    linear-gradient(180deg, rgba(8, 6, 6, 0.58), rgba(8, 6, 6, 0.2) 42%, rgba(8, 6, 6, 0.78)),
    url("../assets/images/dragon-background.png") center 45% / cover no-repeat;
  content: "";
  filter: saturate(1.08) contrast(1.04);
}

.download-shell::after {
  position: fixed;
  inset: 0;
  z-index: -1;
  background:
    radial-gradient(circle at 50% 28%, rgba(255, 105, 18, 0.16), transparent 28%),
    linear-gradient(90deg, rgba(0, 0, 0, 0.58), transparent 34%, transparent 66%, rgba(0, 0, 0, 0.6));
  content: "";
  pointer-events: none;
}

.download-hero {
  display: grid;
  gap: 48px;
  width: min(1240px, calc(100% - 40px));
  margin: 0 auto;
  padding: 136px 0 28px;
}

.download-heading {
  text-align: center;
  text-shadow: 0 3px 18px rgba(0, 0, 0, 0.78), 0 0 18px rgba(255, 121, 24, 0.2);
}

.download-heading .eyebrow,
.download-card__label {
  margin: 0;
  color: rgba(255, 210, 154, 0.82);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
}

.download-heading h1 {
  margin: 0;
  color: #fff2dc;
  font-family: var(--font-heading);
  font-size: clamp(40px, 4vw, 60px);
  line-height: 0.95;
}

.download-layout {
  display: grid;
  grid-template-columns: minmax(300px, 0.8fr) minmax(0, 1.6fr);
  gap: 16px;
  align-items: stretch;
}

.download-card,
.requirements-card {
  border: 1px solid rgba(255, 183, 91, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.075), rgba(255, 255, 255, 0.018)),
    radial-gradient(circle at 50% 100%, rgba(255, 105, 18, 0.12), transparent 54%),
    rgba(15, 8, 6, 0.62);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.11),
    inset 0 -18px 30px rgba(255, 91, 13, 0.045),
    0 22px 44px rgba(0, 0, 0, 0.42);
  backdrop-filter: blur(16px);
}

.download-card {
  display: grid;
  align-content: space-between;
  gap: 22px;
  padding: 24px;
}

.download-card h2,
.requirements-card h2 {
  margin: 4px 0 0;
  color: #ffe1b8;
  font-family: var(--font-heading);
  line-height: 1.05;
  text-shadow: 0 0 18px rgba(255, 126, 25, 0.28), 0 2px 12px rgba(0, 0, 0, 0.74);
}

.download-card h2 {
  font-size: clamp(30px, 2.8vw, 42px);
}

.download-card p:not(.download-card__label) {
  margin: 12px 0 0;
  color: rgba(255, 230, 204, 0.74);
  font-size: 15px;
  line-height: 1.45;
}

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

.download-button {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 52px;
  padding: 13px 18px;
  border: 1px solid rgba(255, 187, 103, 0.2);
  border-radius: 10px;
  background:
    linear-gradient(180deg, rgba(255, 228, 191, 0.07), rgba(255, 255, 255, 0.014)),
    rgba(16, 9, 6, 0.42);
  color: rgba(255, 238, 215, 0.92);
  font-family: var(--font-nav);
  font-size: 17px;
  font-weight: 800;
  text-align: center;
  text-shadow: 0 2px 10px rgba(0, 0, 0, 0.7);
  transition: border-color 180ms ease, box-shadow 180ms ease, color 180ms ease, transform 180ms ease;
}

.download-button:hover,
.download-button--primary {
  border-color: rgba(255, 180, 83, 0.62);
  color: #fff0d2;
  box-shadow:
    inset 0 0 18px rgba(255, 134, 26, 0.12),
    0 0 22px rgba(255, 121, 24, 0.22);
}

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

.requirements-card {
  padding: 20px;
}

.requirements-card__header {
  display: grid;
  justify-items: center;
  margin-bottom: 14px;
  text-align: center;
}

.requirements-card h2 {
  font-size: clamp(32px, 3vw, 46px);
}

.requirements-table-wrap {
  overflow: hidden;
  border: 1px solid rgba(255, 204, 142, 0.1);
  border-radius: 8px;
}

.requirements-table {
  width: 100%;
  border-collapse: collapse;
  background: transparent;
  table-layout: fixed;
}

.requirements-table th,
.requirements-table td {
  padding: 9px 12px;
  border-bottom: 1px solid rgba(255, 204, 142, 0.1);
  color: rgba(255, 239, 218, 0.84);
  font-size: 13px;
  line-height: 1.22;
  text-align: left;
  white-space: normal;
}

.requirements-table thead th {
  color: rgba(255, 201, 117, 0.94);
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 800;
  text-align: center;
  text-transform: uppercase;
}

.requirements-table thead th:first-child {
  text-align: left;
}

.requirements-table tbody th {
  width: 22%;
  color: #ffe1b8;
  font-family: var(--font-nav);
  font-weight: 800;
}

.requirements-table tbody tr:nth-child(odd) {
  background: rgba(255, 255, 255, 0.025);
}

.requirements-table tbody tr:last-child th,
.requirements-table tbody tr:last-child td {
  border-bottom: 0;
}

.download-music {
  display: grid;
  gap: 12px;
  border: 1px solid rgba(255, 183, 91, 0.2);
  border-radius: 12px;
  background:
    linear-gradient(180deg, rgba(255, 222, 185, 0.07), rgba(255, 255, 255, 0.015)),
    rgba(24, 12, 9, 0.72);
  box-shadow:
    inset 0 0 34px rgba(255, 120, 24, 0.045),
    0 18px 42px rgba(0, 0, 0, 0.32);
  padding: 22px 18px 18px;
  backdrop-filter: blur(14px);
}

.download-music__header {
  grid-column: 1 / -1;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 22px;
}

.download-music__label {
  max-width: 930px;
  margin: 0 0 10px;
  color: rgba(255, 230, 204, 0.76);
  font-size: 13px;
  font-weight: 600;
  line-height: 1.32;
}

.download-music h2 {
  margin: 0;
  color: #ffe1b8;
  font-family: var(--font-heading);
  font-size: clamp(32px, 2.8vw, 44px);
  line-height: 1.05;
  text-shadow: 0 3px 16px rgba(0, 0, 0, 0.7);
}

.download-music__source {
  flex: 0 0 auto;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 46px;
  padding: 0 18px;
  border: 1px solid rgba(255, 186, 92, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 202, 129, 0.14), rgba(104, 45, 16, 0.28)),
    rgba(28, 18, 14, 0.6);
  color: #fff0d2;
  font-family: var(--font-nav);
  font-size: 13px;
  font-weight: 800;
  text-transform: uppercase;
  white-space: nowrap;
}

.download-music__source:hover {
  border-color: rgba(255, 205, 120, 0.66);
  box-shadow:
    inset 0 0 14px rgba(255, 134, 26, 0.14),
    0 0 14px rgba(255, 134, 26, 0.2);
}

.music-player {
  display: grid;
  grid-template-columns: 72px minmax(0, 1fr);
  gap: 14px;
  align-items: center;
  border: 1px solid rgba(255, 190, 104, 0.16);
  border-radius: 8px;
  background:
    radial-gradient(circle at 10% 20%, rgba(255, 160, 47, 0.12), transparent 24%),
    linear-gradient(180deg, rgba(20, 9, 8, 0.66), rgba(7, 5, 5, 0.75));
  padding: 12px;
}

.music-player__cover {
  width: 72px;
  aspect-ratio: 1;
  border: 1px solid rgba(255, 188, 92, 0.24);
  border-radius: 8px;
  background:
    radial-gradient(circle, rgba(255, 202, 129, 0.24), rgba(63, 24, 13, 0.7)),
    rgba(12, 8, 7, 0.78);
  background-position: center;
  background-size: cover;
  box-shadow: inset 0 0 18px rgba(0, 0, 0, 0.28);
}

.music-player__body {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px 14px;
  align-items: center;
}

.music-player__meta {
  min-width: 0;
}

.music-player__meta p {
  overflow: hidden;
  margin: 0;
  color: #fff0d2;
  font-family: var(--font-nav);
  font-size: 17px;
  font-weight: 800;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-player__meta span {
  display: block;
  overflow: hidden;
  margin-top: 2px;
  color: rgba(255, 230, 204, 0.66);
  font-size: 14px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.music-player__controls {
  display: flex;
  align-items: center;
  gap: 8px;
}

.music-player__volume {
  display: flex;
  align-items: center;
  width: 178px;
  min-height: 36px;
  margin: 0;
  padding: 0 11px;
  gap: 8px;
  border: 1px solid rgba(255, 186, 92, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 202, 129, 0.1), rgba(104, 45, 16, 0.22)),
    rgba(28, 18, 14, 0.58);
  color: rgba(255, 230, 204, 0.62);
  font-family: var(--font-nav);
  font-size: 9px;
  font-weight: 800;
  text-transform: uppercase;
  box-shadow: inset 0 0 12px rgba(255, 134, 26, 0.08);
}

.music-player__volume input {
  width: 82px;
  accent-color: #f4c75f;
}

.music-player__controls button {
  display: grid;
  place-items: center;
  width: 52px;
  height: 50px;
  border: 1px solid rgba(255, 186, 92, 0.28);
  border-radius: 8px;
  background:
    linear-gradient(180deg, rgba(255, 202, 129, 0.14), rgba(104, 45, 16, 0.3)),
    rgba(28, 18, 14, 0.62);
  color: #ffe1b8;
  cursor: pointer;
  font-size: 18px;
  font-weight: 800;
  line-height: 1;
}

.music-player__controls .music-player__play {
  width: 58px;
  border-color: rgba(255, 205, 120, 0.48);
  color: #fff3d8;
  box-shadow: 0 0 16px rgba(255, 134, 26, 0.14);
}

.music-player__controls button:hover {
  border-color: rgba(255, 205, 120, 0.72);
  box-shadow:
    inset 0 0 14px rgba(255, 134, 26, 0.14),
    0 0 14px rgba(255, 134, 26, 0.2);
}

.music-player__bar {
  display: grid;
  grid-column: 1 / -1;
  grid-template-columns: 38px minmax(0, 1fr) 38px;
  gap: 8px;
  align-items: center;
  color: rgba(255, 230, 204, 0.62);
  font-family: var(--font-nav);
  font-size: 11px;
  font-weight: 800;
}

.music-player__bar input {
  width: 100%;
  accent-color: #f4c75f;
}

.download-music__banner {
  display: block;
  overflow: hidden;
  width: 100%;
  margin: 0 auto;
  border: 1px solid rgba(255, 186, 92, 0.24);
  border-radius: 8px;
  background: rgba(13, 8, 7, 0.76);
  box-shadow:
    inset 0 0 22px rgba(255, 120, 24, 0.04),
    0 16px 34px rgba(0, 0, 0, 0.28);
}

.download-music__banner img {
  display: block;
  width: 100%;
  aspect-ratio: 6 / 1;
  object-fit: contain;
  transition: filter 180ms ease;
}

.download-music__banner:hover {
  border-color: rgba(255, 205, 120, 0.56);
  box-shadow:
    inset 0 0 22px rgba(255, 120, 24, 0.08),
    0 0 18px rgba(255, 134, 26, 0.16);
}

.download-music__banner:hover img {
  filter: brightness(1.08);
}

.form-card {
  display: grid;
  gap: 18px;
}

label {
  display: grid;
  gap: 8px;
  color: var(--muted);
  font-size: 14px;
}

input {
  width: 100%;
  min-height: 44px;
  padding: 10px 12px;
  border: 1px solid var(--line);
  border-radius: 6px;
  background: #0c0f11;
  color: var(--text);
  font: inherit;
}

.checkbox-row {
  display: flex;
  align-items: center;
}

.checkbox-row input {
  width: 18px;
  min-height: 18px;
}

.form-message {
  min-height: 24px;
  margin: 0;
  color: var(--green);
}

.form-message.is-error {
  color: var(--red);
}

.site-footer {
  display: flex;
  justify-content: space-between;
  gap: 16px;
  padding: 24px clamp(20px, 4vw, 56px);
  border-top: 1px solid var(--line);
  color: var(--muted);
  font-size: 14px;
  height: 100px;
}

@media (max-width: 1720px) and (min-width: 1281px) {
  .dashboard-igris-lore-grid {
    grid-template-columns: 1fr;
    grid-auto-rows: auto;
    gap: 10px;
  }

  .dashboard-igris-lore-card {
    padding: 10px;
  }

  .dashboard-igris-lore-card__cover {
    width: min(164px, 54%);
    margin: 0 10px 6px 0;
  }

  .dashboard-igris-lore-card__body > span {
    font-size: 8px;
    margin-bottom: 4px;
  }

  .dashboard-igris-lore-card__body > strong {
    font-size: 19px;
    line-height: 1.04;
    margin-bottom: 5px;
  }

  .dashboard-igris-lore-card__text {
    font-size: 11px;
    line-height: 1.3;
  }

  .dashboard-igris-lore-card__text p + p {
    margin-top: 4px;
  }

  .dashboard-igris-lore--sidebar {
    grid-template-columns: 1fr;
    gap: 8px;
  }

  .dashboard-igris-lore__media {
    grid-template-columns: 1fr;
    align-items: start;
    gap: 8px;
  }

  .dashboard-igris-lore__content > span {
    font-size: 10px;
  }

  .dashboard-igris-lore__content > strong {
    font-size: 28px;
  }

  .dashboard-igris-lore__content {
    gap: 6px;
  }

  .dashboard-igris-lore__text {
    font-size: 12.5px;
    line-height: 1.28;
  }

  .dashboard-igris-lore__text p + p {
    margin-top: 4px;
  }

  .dashboard-igris-lore__nav button {
    min-height: 36px;
    font-size: 10px;
    padding-block: 6px;
  }
}

@media (max-width: 1280px) {
  .site-footer {
	height: 145px;
  }
  
  .home-footer::before {
	margin: 95px auto 0px;
  }
  
  .social-dock {
	bottom: 50px;
  }
  
  .hero__cta {
	bottom: 205px;
  }
  
  .reviews-marquee {
	bottom: 145px;
  }
}

@media (max-width: 980px) {
  .dashboard-panel--cash-lore {
    width: 100%;
  }
}

@media (max-width: 1180px) {
  .dashboard-cash-layout {
    grid-template-columns: 1fr;
  }

  .dashboard-reward-line {
    max-width: none;
  }

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

  .dashboard-showcase-item {
    grid-template-columns: 76px minmax(0, 1fr);
    padding: 12px;
  }

  .dashboard-showcase-item__icon,
  .dashboard-showcase-item__icon img {
    width: 76px;
    height: 76px;
  }

  .dashboard-showcase-item__description > strong {
    font-size: 13px;
  }

  .dashboard-showcase-item__description ul {
    font-size: 11px;
  }
}

@media (max-width: 1080px) {
  .about-page {
    height: auto;
    min-height: 100vh;
    overflow-x: hidden;
    overflow-y: auto;
  }

  .about-shell {
    height: auto;
    min-height: 100vh;
    overflow: visible;
    padding-bottom: 28px;
  }

  .about-social-copy {
    position: static;
    box-sizing: border-box;
    width: min(430px, calc(100vw - 40px));
    max-width: 100%;
    margin: 18px auto 0;
    transform: none;
  }

  .about-social-copy .social-dock {
    box-sizing: border-box;
    width: 100%;
    max-width: 100%;
  }

  .dashboard-igris-lore--sidebar {
    min-height: 0;
  }

  .site-footer {
    align-items: flex-start;
    flex-direction: column;
  }

  .brand {
    min-width: 0;
    font-size: 20px;
  }

  .brand--mark {
    gap: 8px;
  }

  .brand--mark span {
    overflow: hidden;
    text-overflow: ellipsis;
  }
  
  .rankings-heading {
	  margin-top: 10px;
  }
  
  .main-nav {
	font-size: 13px;
  }

  .main-nav::-webkit-scrollbar {
    display: none;
  }

  .main-nav a {
    flex: 0 0 auto;
    padding: 4px 0 7px;
  }

  .language-switch {
    gap: 6px;
  }

  .language-switch button {
    min-width: 40px;
    height: 38px;
    border-radius: 9px;
    font-size: 12px;
  }

  .auth-shell {
    padding: 112px 14px 28px;
  }

  .auth-panel {
    padding: 22px 16px;
    border-radius: 9px;
  }

  .auth-panel__header {
    margin-bottom: 18px;
  }

  .auth-panel__header h1 {
    font-size: 36px;
  }

  .auth-panel input {
    min-height: 46px;
  }

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

  .dashboard-sidebar {
    position: sticky;
    top: 0;
    width: auto;
    min-height: 0;
    display: grid;
    grid-template-columns: minmax(0, 1fr) auto;
    gap: 10px;
    padding: 10px 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 214, 142, 0.16);
    transform: none;
  }

  .dashboard-sidebar__logo {
    display: none;
  }

  .dashboard-menu {
    display: flex;
    gap: 8px;
    min-width: 0;
    overflow-x: auto;
    overscroll-behavior-x: contain;
    scrollbar-width: none;
  }

  .dashboard-menu::-webkit-scrollbar {
    display: none;
  }

  .dashboard-menu button {
    width: auto;
    min-width: max-content;
    min-height: 38px;
    padding: 8px 12px;
    white-space: nowrap;
  }

  .dashboard-menu a {
    display: none;
  }

  .dashboard-language {
    align-items: center;
    gap: 6px;
  }

  .dashboard-language button {
    min-width: 40px;
    min-height: 38px;
    padding: 0 8px;
  }

  .dashboard-topbar {
    grid-template-columns: auto minmax(0, 1fr);
    min-height: 70px;
  }

  .dashboard-topbar h1 {
    font-size: 28px;
  }

  .dashboard-user {
    grid-column: 1 / -1;
    justify-content: space-between;
  }

  .dashboard-view {
    padding: 18px 12px 28px;
  }

  .dashboard-summary-grid,
  .dashboard-character-cards,
  .dashboard-form-grid {
    grid-template-columns: 1fr;
  }

  .dashboard-panel {
    padding: 16px;
  }

  .dashboard-panel h2,
  .dashboard-form h2 {
    font-size: 24px;
  }

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

  .dashboard-character-card {
    grid-template-columns: 1fr;
    gap: 12px;
    padding: 14px;
  }

  .dashboard-character-portrait {
    min-height: 190px;
  }

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

  .dashboard-modal {
    padding: 12px;
  }

  .dashboard-modal__dialog {
    max-height: calc(100vh - 24px);
  }

  .dashboard-modal__header {
    display: grid;
    padding: 24px 18px 16px;
  }

  .dashboard-modal__header > span {
    margin-right: 42px;
  }

  .dashboard-modal__body {
    grid-template-columns: 1fr;
    gap: 22px;
    padding: 20px 18px 24px;
  }

  .dashboard-action-chart {
    width: min(280px, 100%);
  }

  .dashboard-bonus-head {
    display: grid;
  }

  .dashboard-bonus-head strong {
    white-space: normal;
  }

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

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

  .dashboard-reward-line {
    gap: 14px;
    padding-left: 44px;
  }

  .dashboard-reward-showcase {
    padding: 16px;
  }

  .dashboard-showcase-head {
    align-items: flex-start;
    flex-direction: column;
  }

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

  .dashboard-showcase-item {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 12px;
    min-height: 0;
  }

  .dashboard-showcase-item__icon,
  .dashboard-showcase-item__icon img {
    width: 64px;
    height: 64px;
  }

  .dashboard-showcase-item__description {
    padding: 0 0 0 12px;
    border-top: 0;
    border-left: 1px solid rgba(255, 214, 142, 0.13);
  }

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

  .dashboard-igris-lore__cover {
    max-width: 180px;
  }

  .dashboard-reward-line::before,
  .dashboard-reward-line::after {
    left: 17px;
    width: 10px;
  }

  .dashboard-reward > span {
    left: -34px;
    width: 40px;
  }

  .dashboard-reward > div {
    grid-template-columns: 1fr;
    align-items: start;
  }

  .dashboard-reward__items {
    min-height: 0;
    flex-wrap: wrap;
    gap: 10px;
  }

  .dashboard-reward__items img {
    width: 50px;
    height: 50px;
  }

  .dashboard-reward-tooltip {
    left: 0;
    max-width: min(260px, calc(100vw - 88px));
    transform: translateY(6px);
  }

  .dashboard-reward-tooltip::after {
    left: 24px;
  }

  .dashboard-reward__item:hover .dashboard-reward-tooltip,
  .dashboard-reward__item:focus-visible .dashboard-reward-tooltip {
    transform: translateY(0);
  }

  .dashboard-reward strong {
    font-size: 25px;
  }

  .dashboard-reward button {
    width: fit-content;
    min-width: 112px;
  }

  .classes-shell {
    gap: 12px;
    padding: 116px 14px 22px;
  }

  .classes-page-title {
    font-size: 38px;
  }

  .classes-intro {
    grid-template-columns: minmax(0, 1fr);
    width: 100%;
    border-radius: 10px;
  }

  .classes-intro__media {
    min-height: 0;
    aspect-ratio: 16 / 9;
  }

  .classes-intro__media::after {
    background: linear-gradient(180deg, rgba(255, 225, 188, 0.1), transparent 32%, rgba(0, 0, 0, 0.24));
  }

  .classes-intro__content {
    padding: 16px;
  }

  .classes-intro__content p {
    font-size: 13px;
  }

  .classes-intro__final {
    font-size: 18px;
  }

  .classes-detail {
    width: 100%;
    padding: 10px;
    border-radius: 10px;
  }

  .classes-tabs {
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 6px;
  }

  .classes-tabs button {
    min-height: 36px;
    padding: 6px 8px;
    font-size: 10px;
  }

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

  .class-profile__body {
    gap: 6px;
  }

  .class-profile__text {
    gap: 8px;
    overflow: visible;
  }

  .class-profile__text p {
    font-size: 12px;
    line-height: 1.3;
  }

  .news-shell {
    padding: 116px 14px 28px;
  }

  .news-hero {
    gap: 14px;
  }

  .news-heading {
    gap: 8px;
    margin-bottom: 2px;
  }

  .news-heading h1 {
    font-size: 38px;
  }

  .news-heading p:not(.eyebrow) {
    font-size: 13px;
    line-height: 1.45;
  }

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

  .news-card,
  .news-card--featured {
    grid-template-columns: minmax(0, 1fr);
    gap: 16px;
    min-height: 0;
    padding: 16px;
    border-radius: 9px;
  }

  .news-card__copy {
    gap: 10px;
  }

  .news-card__meta {
    align-items: flex-start;
    flex-direction: column;
    gap: 4px;
    font-size: 11px;
  }

  .news-card h2,
  .news-grid .news-card h2 {
    font-size: 24px;
  }

  .news-card--featured h2 {
    font-size: 32px;
  }

  .news-card p {
    font-size: 13px;
    line-height: 1.45;
  }

  .news-card--featured p {
    font-size: 15px;
    line-height: 1.42;
  }

  .newbie-gifts {
    grid-template-columns: minmax(112px, 1.15fr) repeat(2, minmax(62px, 0.8fr));
    grid-template-rows: repeat(2, minmax(74px, 1fr));
    justify-self: stretch;
    width: 100%;
    min-height: 168px;
    gap: 8px;
  }

  .newbie-gift-item img {
    padding: 4px;
    border-radius: 8px;
  }

  .gift-tooltip {
    left: 0;
    right: auto;
    top: auto;
    bottom: calc(100% + 10px);
    width: min(313px, calc(100vw - 46px));
    padding: 13px;
    transform: translateY(8px);
  }

  .gift-tooltip::after {
    top: auto;
    right: auto;
    bottom: -8px;
    left: 54px;
    transform: rotate(135deg);
  }

  .newbie-gift-item:hover .gift-tooltip,
  .newbie-gift-item:focus .gift-tooltip,
  .newbie-gift-item:focus-within .gift-tooltip,
  .newbie-gift-item:focus-visible .gift-tooltip {
    transform: translateY(0);
  }

  .gift-tooltip h3 {
    font-size: 18px;
  }

  .gift-tooltip--wide-title h3 {
    font-size: clamp(15px, 4.2vw, 18px);
  }

  .gift-tooltip li {
    font-size: 12px;
  }

  .news-reward-tip .gift-tooltip {
    left: 0;
    right: auto;
    transform: translateY(8px);
  }

  .news-reward-tip .gift-tooltip::after {
    left: 42px;
    transform: rotate(135deg);
  }

  .news-reward-tip:hover .gift-tooltip,
  .news-reward-tip:focus .gift-tooltip,
  .news-reward-tip:focus-visible .gift-tooltip {
    transform: translateY(0);
  }

  .brand--mark img {
    width: 46px;
    height: 46px;
  }

  .hero--dragon {
    height: 100vh;
    min-height: 0;
    background-position: center top;
  }

  .hero__content--top {
    width: calc(100vw - 32px);
    padding-top: 116px;
  }

  .hero__content--top h1 {
    margin-bottom: 8px;
    font-size: clamp(30px, 9vw, 42px);
    line-height: 1.05;
    white-space: normal;
  }

  .hero__content--top p {
    max-width: 330px;
    margin-inline: auto;
    font-size: clamp(11px, 3.2vw, 14px);
    line-height: 1.25;
    letter-spacing: 0.04em;
  }

  .hero__cta {
    width: min(430px, calc(100vw - 56px));
  }

  .button--flame {
    width: 100%;
    min-height: 68px;
    padding-inline: 20px;
    border-radius: 10px;
    background:
      linear-gradient(180deg, rgba(255, 255, 255, 0.075), rgba(255, 255, 255, 0.014)),
      rgba(16, 9, 6, 0.12);
    font-size: clamp(24px, 7vw, 32px);
  }

  .button--flame::before {
    right: 34px;
    bottom: 12px;
    left: 34px;
    opacity: 0.48;
  }

  .accounts-counter {
    min-width: 0;
    width: 112px;
    height: auto;
    grid-column: 1;
    grid-row: 1 / span 2;
    grid-template-rows: 15px 1fr auto;
    align-self: stretch;
    padding: 0 10px 0 0;
    border-right: 1px solid rgba(255, 190, 116, 0.16);
    border-bottom: 0;
  }

  .accounts-counter__label {
    font-size: 9px;
    line-height: 15px;
  }

  .accounts-counter__value {
    font-size: 25px;
  }

  .accounts-counter__caption {
    font-size: 9px;
    line-height: 10px;
  }
  
  .home-footer::before {
    margin: 85px auto 0px;
  }

  .social-dock {
    right: 50%;
    bottom: 50px;
    grid-template-columns: 112px repeat(4, 42px);
    grid-template-rows: 15px 42px;
    width: max-content;
    max-width: calc(100vw - 20px);
    gap: 7px 8px;
    padding: 10px 12px 11px;
    border-radius: 12px;
    transform: translateX(50%);
  }

  .social-dock__title {
    grid-column: 2 / 6;
    grid-row: 1;
    font-size: 10px;
    line-height: 15px;
  }

  .social-link {
    grid-row: 2;
  }

  .social-link--discord {
    grid-column: 2;
  }

  .social-link--vk {
    grid-column: 3;
  }

  .social-link--twitch {
    grid-column: 4;
  }

  .social-link--youtube {
    grid-column: 5;
  }

  .reviews-marquee {
    display: none;
  }

  .social-link {
    width: 42px;
    height: 42px;
    border-radius: 9px;
  }

  .social-link svg {
    width: 28px;
    height: 28px;
  }

  .social-link--discord svg,
  .social-link--twitch svg {
    width: 27px;
    height: 27px;
  }

  .social-link--vk svg,
  .social-link--youtube svg {
    width: 30px;
    height: 30px;
  }

  .rankings-hero {
    gap: 10px;
    padding: 112px 10px 10px;
  }

  .rankings-heading h1 {
    font-size: 30px;
  }

  .rankings-grid {
    width: 100%;
    gap: 8px;
  }

  .ranking-switch {
    gap: 6px;
    padding: 6px;
    border-radius: 10px;
  }

  .ranking-switch button {
    min-height: 36px;
    border-radius: 8px;
    font-size: 10px;
  }

  .ranking-panel {
    padding: 9px 7px;
    border-radius: 8px;
  }

  .ranking-panel h2 {
    margin-bottom: 7px;
    font-size: 20px;
  }

  .ranking-table {
    height: calc(100% - 34px);
  }

  .ranking-table th,
  .ranking-table td {
    padding: 2px 5px;
    font-size: 9px;
    line-height: 1;
  }

  .ranking-table th {
    font-size: 8px;
  }

  .ranking-table th:first-child,
  .ranking-table td:first-child {
    width: 28px;
  }

  .ranking-table th:nth-child(3),
  .ranking-table td:nth-child(3) {
    width: 48px;
  }

  .ranking-panel--players .ranking-table th:nth-child(3),
  .ranking-panel--players .ranking-table td:nth-child(3) {
    width: 62px;
  }

  .ranking-panel--players .ranking-table th:nth-child(4),
  .ranking-panel--players .ranking-table td:nth-child(4) {
    width: 42px;
  }

  .ranking-table th:nth-child(4),
  .ranking-table td:nth-child(4) {
    width: 64px;
  }

  .ranking-table th:last-child,
  .ranking-table td:last-child {
    width: 46px;
  }

  .ranking-panel--guilds .ranking-table th:nth-child(4),
  .ranking-panel--guilds .ranking-table td:nth-child(4) {
    width: 48px;
  }

  .ranking-panel--guilds .ranking-table th:last-child,
  .ranking-panel--guilds .ranking-table td:last-child {
    width: 56px;
  }

  .mobs-scale {
    gap: 7px;
    padding: 10px 10px 9px;
  }

  .mobs-scale__header {
    grid-template-columns: 1fr;
    justify-items: center;
    gap: 2px;
    text-align: center;
  }

  .mobs-scale__header h2 {
    font-size: 18px;
  }

  .mobs-scale__header strong {
    font-size: 22px;
  }

  .mobs-scale__header span,
  .mobs-scale__footer {
    font-size: 9px;
  }

  .download-hero {
    width: calc(100% - 20px);
    gap: 12px;
    padding: 116px 0 20px;
  }

  .download-heading h1 {
    font-size: 34px;
  }

  .download-layout {
    grid-template-columns: 1fr;
    gap: 12px;
  }

  .download-card,
  .requirements-card {
    padding: 16px;
  }

  .download-card {
    gap: 18px;
  }

  .download-card h2 {
    font-size: 26px;
  }

  .download-card p:not(.download-card__label) {
    font-size: 13px;
  }

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

  .requirements-card__header {
    display: grid;
    justify-items: center;
    gap: 2px;
    text-align: center;
  }

  .requirements-card h2 {
    font-size: 24px;
  }

  .requirements-table th,
  .requirements-table td {
    padding: 8px 7px;
    font-size: 10px;
  }

  .requirements-table thead th {
    font-size: 9px;
  }

  .download-music {
    grid-template-columns: 1fr;
    padding: 14px;
  }

  .download-music__header {
    align-items: flex-start;
    flex-direction: column;
    gap: 10px;
  }

  .download-music__label {
    font-size: 12px;
  }

  .download-music h2 {
    font-size: 25px;
  }

  .music-player {
    grid-template-columns: 64px minmax(0, 1fr);
    gap: 10px;
    padding: 10px;
  }

  .music-player__cover {
    width: 64px;
  }

  .music-player__body {
    grid-template-columns: 1fr;
    gap: 10px;
  }

  .music-player__controls {
    justify-content: flex-start;
    flex-wrap: wrap;
  }

  .music-player__volume {
    width: 100%;
    margin: 0;
  }

  .music-player__volume input {
    flex: 1;
    width: auto;
  }

  .music-player__meta p {
    font-size: 13px;
  }

  .download-music__banner img {
    aspect-ratio: 6 / 1;
  }

  .mobs-scale__track {
    height: 14px;
    margin-bottom: 16px;
  }

  .mobs-scale__mark {
    height: 8px;
  }

  .mobs-scale__mark b {
    top: 10px;
    font-size: 8px;
    min-width: 52px;
  }

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

@media (max-width: 760px) and (max-height: 760px) {
  .hero__content--top {
    padding-top: 104px;
  }

  .hero__cta {
    top: 63%;
  }

  .social-dock {
    bottom: 88px;
  }
}

@media (max-width: 730px) {
    .news-shell {
        padding: 160px 14px 28px;
    }
	
	.rankings-heading, .download-heading, .about-heading, .classes-page-title {
	  margin-top: 42px;
    }
	
	.dashboard-cash-layout--line-only .dashboard-reward > div {
        grid-template-columns: 1fr;
	}
	
	.dashboard-igris-lore-grid {
        grid-template-columns: 1fr;
	}
}

@media (max-width: 680px) {
  .dashboard-igris-lore--sidebar {
    grid-template-columns: 1fr;
  }
  
  .dashboard-bonus-list {
	grid-template-columns: repeat(1, minmax(0, 1fr));
  }
  
  .dashboard-bonus-head {
    display: block;
  }
  
  .dashboard-bonus-head div {
    margin-bottom: 30px;
  }
}

@media (max-width: 540px) {
  .dashboard-sidebar {
	grid-template-columns: auto;
	gap: 14px;
  }
  
  .dashboard-language {
    gap: 8px;
  }
}

@media (max-width: 400px) {
	.news-shell {
        padding: 210px 14px 28px;
    }
	
	.rankings-heading, .download-heading, .about-heading, .classes-page-title {
	  margin-top: 90px;
    }
	
	.auth-panel {
	  margin-top: calc(416px - 100vh / 2);
	}
	
	.dashboard-menu button {
        padding: 8px 6px;
    }
	
  .brand {
    font-size: 18px;
  }

  .language-switch button {
    min-width: 36px;
  }

  .social-dock {
    grid-template-columns: 96px repeat(4, 39px);
    gap: 6px;
    padding-inline: 10px;
	bottom: 50px;
  }
  
  .home-footer::before {
    margin: 72px auto 0px;
  }

  .accounts-counter {
    width: 96px;
    padding-right: 8px;
  }

  .social-link {
    width: 39px;
    height: 39px;
  }
}
