:root {
  --bg: #050505;
  --text: rgba(255, 255, 255, .92);
  --shadow: 0 12px 40px rgba(0, 0, 0, .55);
  --ease: cubic-bezier(.2, .8, .2, 1);
  --glass-bg: linear-gradient(180deg, rgba(255, 255, 255, .05), rgba(255, 255, 255, .02));
  --glass-border: 1px solid rgba(255, 255, 255, .10);
  --glass-hover-border: rgba(255, 255, 255, .18);

}

::-webkit-scrollbar {
  display: none;
  width: 0;
  height: 0;
}

* {
  scrollbar-width: none;
  -ms-overflow-style: none;
}

html {
  height: 100%;
  scroll-behavior: smooth;
  overflow-y: scroll;
  scroll-padding-top: 80px;
  scrollbar-width: none;
  -ms-overflow-style: none;
  background-color: #050505;
}

html::-webkit-scrollbar {
  display: none;
}

@media (prefers-reduced-motion: reduce) {
  html {
    scroll-behavior: auto;
  }
}

@media (max-width: 768px) {
  html {
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .toast-container {
    top: 24px;
    bottom: auto;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    flex-direction: column;
    align-items: center;
  }

  .toast {
    transform: translateY(-20px);
    min-width: auto;
    width: max-content;
    max-width: 90vw;
  }

  .toast.is-show {
    transform: translateY(0);
  }
}

body {
  display: flex;
  flex-direction: column;
  min-height: 100vh;
  background: radial-gradient(circle at 10% 90%, rgba(0, 0, 0, 0.95) 0%, transparent 45%),
    radial-gradient(circle at 90% 10%, rgba(0, 0, 0, 0.95) 0%, transparent 45%),
    linear-gradient(135deg, #0a0a0a 0%, #0f0f0f 100%), #050505;
  background-attachment: fixed;
  -webkit-user-select: none;
  user-select: none;
  margin: 0;
  font-family: Inter, system-ui, -apple-system, Segoe UI, Roboto, Arial, sans-serif;
  color: var(--text);
  overflow-x: hidden;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

body::-webkit-scrollbar {
  display: none;
}

main {
  flex-grow: 1;
  padding-bottom: 100px;
}

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

.hero {
  position: relative;
  height: 100svh;
  min-height: 680px;
  overflow: hidden;
  background: linear-gradient(135deg, #0a0a0a 0%, #1a1a1a 50%, #0f0f0f 100%);
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  transform: scale(1.02);
  filter: grayscale(1) contrast(1.1) brightness(0.55);
  will-change: transform;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

@media (max-width: 768px) {
  body {
    scrollbar-gutter: auto;
    overflow-y: auto;
    overflow-x: hidden;
    width: 100vw;
    max-width: 100vw;
  }

  .hero {
    height: 100svh;
    min-height: 100svh;
    margin: 0;
    padding: 0;
    width: 100vw;
    max-width: 100vw;
    overflow: hidden;
  }

  .hero__video {
    transform: scale(1.05);
    object-fit: cover;
    min-width: 100%;
    min-height: 100%;
    left: 50%;
    top: 50%;
    transform: translate(-50%, -50%) scale(1.05);
  }
}

.hero__overlay {
  position: absolute;
  inset: 0;
  background: radial-gradient(900px 500px at 50% 45%, rgba(0, 0, 0, 0), rgba(0, 0, 0, .65)), linear-gradient(to bottom, rgba(0, 0, 0, .35), rgba(0, 0, 0, .9));
}

.hero__content {
  position: relative;
  height: 100%;
  display: grid;
  place-items: center;
  text-align: center;
  padding: 48px 18px;
}

.hero__brand {
  transform: translateY(-10px);
  will-change: transform;
}

.hero__title {
  font-size: clamp(52px, 7vw, 96px);
  letter-spacing: .08em;
  font-weight: 800;
  line-height: 1;
  text-shadow: 0 18px 60px rgba(0, 0, 0, .65);
}

.hero__subtitle {
  margin-top: 10px;
  font-size: clamp(18px, 2vw, 24px);
  letter-spacing: .28em;
  text-transform: uppercase;
  opacity: .85;
}

.heroScrollBtn {
  position: absolute;
  left: 50%;
  bottom: 22px;
  transform: translateX(-50%);
  display: inline-flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  padding: 8px 10px;
  background: transparent;
  border: 0;
  color: rgba(255, 255, 255, .86);
  opacity: .95;
  z-index: 10;
  cursor: pointer;
  transition: opacity .18s var(--ease), transform .18s var(--ease);
}

.heroScrollBtn:hover {
  opacity: 1;
  transform: translateX(-50%) translateY(-1px);
}

.heroScrollBtn__text {
  font-size: 12px;
  letter-spacing: .22em;
  text-transform: uppercase;
  opacity: .8;
}

.heroScrollBtn__chev {
  width: 26px;
  height: 26px;
  display: grid;
  place-items: center;
  animation: bob 1.6s var(--ease) infinite;
  filter: drop-shadow(0 10px 30px rgba(0, 0, 0, .6));
  opacity: .9;
}

.heroScrollBtn__chev svg {
  width: 26px;
  height: 26px;
  opacity: .95;
}

@keyframes bob {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(8px);
  }
}

.hero__scroll {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
}

.section {
  padding: 84px 0;
  contain: layout style;
}

.section__title {
  text-align: center;
  font-size: clamp(36px, 4vw, 54px);
  font-weight: 800;
  letter-spacing: .02em;
  margin: 0;
}

.section__line {
  width: min(520px, 86%);
  height: 2px;
  margin: 14px auto 0;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, .6), transparent);
}

.container {
  width: min(1160px, calc(100% - 28px));
  margin: 0 auto;
}

.reveal {
  opacity: 0;
  transform: translateY(18px);
  transition: opacity .5s var(--ease), transform .5s var(--ease);
  will-change: opacity, transform;
}

.reveal.is-in {
  opacity: 1;
  transform: translateY(0);
  will-change: auto;
}

@media (prefers-reduced-motion: reduce) {
  .reveal {
    transition: none;
    transform: none;
  }
}

.glass-header {
  position: fixed;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  width: calc(100% - 64px);
  max-width: 1400px;
  z-index: 1000;
  background: linear-gradient(135deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.02));
  backdrop-filter: blur(18px) saturate(130%);
  -webkit-backdrop-filter: blur(18px) saturate(130%);
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 8px 40px rgba(0, 0, 0, 0.55), inset 0 1px 0 rgba(255, 255, 255, 0.1);
  opacity: 0;
  transform: translateX(-50%) translateY(-120%);
  pointer-events: none;
  transition: transform .4s cubic-bezier(0.2, 0.8, 0.2, 1), opacity .4s ease;
}

.glass-header.is-visible {
  opacity: 1;
  transform: translateX(-50%) translateY(0);
  pointer-events: auto;
}

.header-inner {
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  padding: 14px 20px;
}

.header-left {
  display: flex;
  align-items: center;
}

.brand {
  display: flex;
  align-items: center;
  gap: 12px;
}

.brand-logo {
  width: 34px;
  height: 34px;
  display: block;
}

.brand-text {
  font-weight: 800;
  letter-spacing: .4px;
  color: #fff;
  white-space: nowrap;
}

.nav {
  display: flex;
  gap: 13px;
  justify-content: center;
}

.header-actions {
  display: flex;
  gap: 12px;
  justify-self: end;
}

.lang-btn {
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  font-size: 14px;
  font-weight: 600;
  line-height: normal;
  transition: all 0.2s var(--ease);
  min-width: 110px;
  justify-content: center;
}

.lang-btn .lang-icon {
  width: 16px;
  height: 16px;
  font-size: 16px;
  opacity: 0.9;
  display: block;
}

.lang-btn:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.lang-btn .lang-sep {
  color: rgba(255, 255, 255, 0.55);
  font-weight: 600;
}

.lang-text {
  display: inline-flex;
  justify-content: center;
  font-size: inherit;
  font-weight: inherit;
}

@media (max-width: 980px) {
  .glass-header {
    width: calc(100% - 24px);
    top: 12px;
  }

  .header-inner {
    display: flex;
    justify-content: space-between;
    padding: 8px 10px;
    gap: 10px;
  }

  .header-left,
  .header-actions {
    flex-shrink: 0;
    z-index: 2;
  }

  .brand-text {
    display: none;
  }

  .nav {
    display: flex;
    flex: 1;
    min-width: 0;
    overflow-x: auto;
    scrollbar-width: none;
    gap: 8px;
    justify-content: flex-start;
    padding: 0 4px;
    margin: 0;
    mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent);
    -webkit-mask-image: linear-gradient(90deg, transparent, #000 8px, #000 calc(100% - 8px), transparent);
  }

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

  .nav::before,
  .nav::after {
    content: "";
    display: block;
    min-width: 4px;
  }

  .btn-glass {
    white-space: nowrap;
    padding: 0 14px;
    height: 38px;
    font-size: 13px;
    flex-shrink: 0;
    min-width: auto !important;
  }

  .btn-glass:hover,
  .lang-btn:hover {
    transform: none !important;
  }

  .lang-btn {
    height: 38px;
    padding: 0 10px;
    min-width: auto;
  }
}

@media (max-width: 560px) {
  .glass-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .header-inner {
    padding: 12px 14px;
    column-gap: 10px;
  }

  .btn-glass {
    padding: 0 14px;
    height: 36px !important;
    font-size: 13px;
  }

  .lang-btn {
    height: 36px !important;
    padding: 0 10px;
  }

  .lang-btn svg,
  .lang-btn i {
    width: 18px;
    height: 18px;
    font-size: 18px;
  }

  .lang-text {
    font-size: 13px;
    font-weight: 600;
  }
}

.btn-glass {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  height: 38px;
  padding: 0 14px;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.12);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  cursor: pointer;
  text-decoration: none;
  transition: all 0.2s var(--ease);
  line-height: normal;
  min-width: 110px;
}

.btn-glass:hover {
  color: #fff;
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.15);
  border-color: rgba(255, 255, 255, 0.4);
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
}

.glass-header .btn-glass:hover,
.glass-header .lang-btn:hover {
  color: #fff;
  transform: translateY(-1px);
  background: rgba(255, 255, 255, 0.08);
  border-color: rgba(255, 255, 255, 0.25);
  box-shadow: none;
}

.btn-glass i,
.btn-glass svg {
  width: 16px;
  height: 16px;
  font-size: 16px;
  fill: currentColor;
  opacity: 0.9;
  display: block;
  text-align: center;
}

.serversGrid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 16px;
  max-width: 980px;
  margin: 38px auto 0;
}

.serverRow {
  position: relative;
  border-radius: 16px;
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--shadow);
  display: grid !important;
  grid-template-columns: 52px 1fr auto !important;
  gap: 16px;
  align-items: center;
  padding: 14px 20px !important;
  transition: border-color .18s var(--ease);
  contain: layout style paint;
  transform: translateZ(0);
}

.serverRow:has(.btn-glass:hover) {
  border-color: var(--glass-hover-border);
}

.serverRow__icon {
  width: 52px;
  height: 52px;
  border-radius: 14px;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .10);
  display: grid;
  place-items: center;
}

.serverRow__icon img {
  width: 36px;
  height: 36px;
  filter: grayscale(1) brightness(2);
  opacity: .95;
}

.serverRow__main {
  min-width: 0;
}

.serverRow__name {
  font-weight: 800;
  font-size: 15px;
  display: flex;
  align-items: center;
  gap: 10px;
  margin: 0;
  text-transform: uppercase;
}

.serverFlag {
  width: 22px;
  height: 14px;
  border-radius: 3px;
  box-shadow: 0 6px 16px rgba(0, 0, 0, 0.35);
}

.serverRow__tags {
  margin-top: 6px;
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.server-online-text {
  display: block;
  font-size: 13px;
  color: rgba(255, 255, 255, 0.5);
  margin-top: 6px;
  font-weight: 600;
}

.server-online-text b {
  color: rgba(255, 255, 255, 0.6);
}

.serverRow__actions {
  display: flex;
  gap: 10px;
}

.tag {
  padding: 3px 10px;
  border-radius: 999px;
  font-size: 11px;
  border: 1px solid rgba(255, 255, 255, .14);
  background: rgba(0, 0, 0, .32);
  color: rgba(255, 255, 255, .86);
  backdrop-filter: blur(10px);
}

.tag--red {
  border-color: rgba(255, 80, 80, .35);
  color: rgba(255, 140, 140, .95);
  background: rgba(255, 80, 80, .10);
}

.tag--green {
  border-color: rgba(80, 255, 140, .32);
  color: rgba(150, 255, 200, .95);
  background: rgba(80, 255, 140, .10);
}

.tag--orange {
  border-color: rgba(255, 160, 64, .35);
  color: rgba(255, 200, 150, .95);
  background: rgba(255, 160, 64, .10);
}

.tag--purple {
  border-color: rgba(180, 120, 255, .35);
  color: rgba(220, 190, 255, .95);
  background: rgba(180, 120, 255, .10);
}

.tag--muted {
  border-color: rgba(255, 255, 255, .16);
  color: rgba(255, 255, 255, .70);
  background: rgba(255, 255, 255, .05);
}

.serverRow:hover .tag--green {
  border-color: rgba(34, 197, 94, 0.5);
}

.serverRow:hover .tag--orange {
  border-color: rgba(249, 115, 22, 0.5);
}

.serverRow:hover .tag--purple {
  border-color: rgba(168, 85, 247, 0.5);
}

@media (max-width: 768px) {
  .serverRow {
    grid-template-columns: 52px 1fr !important;
  }

  .serverRow__actions {
    grid-column: 1 / -1;
    margin-top: 12px;
    width: 100%;
  }

  .btn-glass {
    flex: 1;
    min-width: auto;
  }
}

.privileges-vertical {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 300px));
  justify-content: center;
  gap: 24px;
  max-width: 900px;
  margin: 38px auto 0;
}

.privilege-card {
  border-radius: 20px;
  border: var(--glass-border);
  background: var(--glass-bg);
  box-shadow: var(--shadow);
  padding: 30px 24px;
  text-align: center;
  display: flex;
  flex-direction: column;
  transition: border-color .18s var(--ease), box-shadow .18s var(--ease);
}

.privilege-card:has(.privilege-card__buy-btn:hover) {
  transform: none;
  border-color: var(--glass-hover-border);
  box-shadow: 0 16px 55px rgba(0, 0, 0, .6);
}

.privilege-card--vip {
  border-top: 3px solid rgba(255, 215, 0, 0.3);
}

.privilege-card--premium {
  border-top: 3px solid rgba(100, 149, 237, 0.3);
}

.privilege-card--vip:has(.privilege-card__buy-btn:hover) {
  border-top-color: rgba(255, 215, 0, 0.8);
}

.privilege-card--premium:has(.privilege-card__buy-btn:hover) {
  border-top-color: rgba(100, 149, 237, 0.8);
}

.privilege-card__badge {
  width: 72px;
  height: 72px;
  border-radius: 22px;
  margin: 0 auto 10px;
  display: grid;
  place-items: center;
  background: rgba(0, 0, 0, .38);
  border: 1px solid rgba(255, 255, 255, .12);
  font-size: 30px;
}

.privilege-card--vip .privilege-card__badge {
  background: linear-gradient(135deg, rgba(255, 215, 0, 0.15), rgba(255, 215, 0, 0.05));
  border-color: rgba(255, 215, 0, 0.25);
  color: #FFD700;
}

.privilege-card--premium .privilege-card__badge {
  background: linear-gradient(135deg, rgba(100, 149, 237, 0.15), rgba(100, 149, 237, 0.05));
  border-color: rgba(100, 149, 237, 0.25);
  color: #6495ED;
}

.privilege-card__name {
  font-weight: 800;
  letter-spacing: .12em;
  margin-bottom: 6px;
}

.privilege-card__price {
  font-size: 22px;
  font-weight: 800;
  margin-bottom: 18px;
}

.privilege-card__price span {
  font-weight: 600;
  font-size: 14px;
  opacity: .7;
  margin-left: 6px;
}

.privilege-card__list {
  list-style: none;
  padding: 0;
  margin: 0 0 24px 0;
  color: rgba(255, 255, 255, .78);
  display: grid;
  gap: 8px;
  text-align: center;
  font-size: 14px;
}

.privilege-card__buy-btn {
  height: 48px !important;
  min-height: 48px !important;
  padding: 0 18px !important;
  font-size: 15px !important;
  font-weight: 700 !important;
  line-height: 1 !important;
  border-radius: 14px !important;
}

@media (max-width: 520px) {
  .privilege-card__buy-btn {
    width: 100%;
    min-width: 0;
  }
}

#team,
#team .container,
.teamWrap {
  overflow: visible !important;
}

.teamWrap {
  margin-top: 34px;
  display: grid;
  grid-template-columns: auto 1fr auto;
  align-items: center;
  gap: 12px;
}

.teamRail {
  --per: 4;
  --gap: 18px;
  min-width: 0;
  display: flex;
  gap: var(--gap);

  overflow-x: auto;
  overflow-y: visible;

  padding: 18px 14px;
  scroll-padding-left: 14px;
  scroll-padding-right: 14px;
  scroll-snap-type: x mandatory;
  scrollbar-width: none;
  -ms-overflow-style: none;
}

.teamRail::-webkit-scrollbar {
  display: none;
}

.memberCard {
  flex: 0 0 calc((100% - (var(--per) - 1) * var(--gap)) / var(--per));
  scroll-snap-align: start;
  scroll-snap-stop: always;
  height: 200px;
  display: flex;
  flex-direction: column;
  border-radius: 18px;
  border: 1px solid rgba(255, 255, 255, .08);
  background: var(--glass-bg);
  padding: 18px 14px 14px;
  text-align: center;
  position: relative;
  overflow: hidden;
  transition: transform .18s var(--ease), border-color .18s var(--ease);
}

.memberCard:hover {
  transform: translateY(-1px);
  border-color: rgba(255, 255, 255, .18);
}

.memberCard::after {
  content: "";
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0);
  transition: background .3s ease-in-out;
  z-index: 2;
  pointer-events: none;
}

.memberCard:hover::after {
  background: rgba(0, 0, 0, .0);
  backdrop-filter: blur(45px);
}

.memberCard__avatar,
.memberCard__name,
.memberCard__role {
  min-height: calc(1.25em * 2);
  display: -webkit-box;
  -webkit-box-orient: vertical;
  overflow: hidden;
  position: relative;
  z-index: 1;
  transition: opacity .18s var(--ease), filter .18s var(--ease);
}

.memberCard:hover .memberCard__avatar,
.memberCard:hover .memberCard__name,
.memberCard:hover .memberCard__role {
  opacity: .1;
  filter: blur(1px);
}

.memberCard__avatar {
  width: 68px;
  height: 68px;
  border-radius: 999px;
  margin: 0 auto 10px;
  border: 1px solid rgba(255, 255, 255, .16);
  background: rgba(0, 0, 0, .35);
  overflow: hidden;
}

.memberCard__avatar img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  filter: contrast(1);
}

.memberCard__name {
  font-weight: 800;
  font-size: 17px;
}

.memberCard__role {
  margin-top: 8px;
  color: rgba(255, 255, 255, .68);
  font-size: 13px;
  line-height: 1.25;
}

.memberCard__info {
  position: absolute;
  inset: 0;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 16px;
  padding: 20px;
  opacity: 0;
  transform: translateY(12px);
  transition: opacity .4s cubic-bezier(0.23, 1, 0.32, 1),
    transform .4s cubic-bezier(0.23, 1, 0.32, 1);
  pointer-events: none;
  z-index: 3;
  text-align: center;
}

.memberCard:hover .memberCard__info {
  opacity: 1;
  transform: translateY(-8px);
}

.memberCard__infoTitle {
  font-weight: 900;
  letter-spacing: .12em;
  text-transform: uppercase;
  font-size: 15px;
  color: rgba(255, 255, 255, 0.95);
  text-shadow: 0 2px 8px rgba(0, 0, 0, 0.5);
  margin-bottom: 4px;
}

.memberCard__infoText {
  font-size: 14px;
  line-height: 1.5;
  color: rgba(255, 255, 255, 0.9);
  max-width: 100%;
  text-shadow: 0 1px 4px rgba(0, 0, 0, 0.4);
}

.carBtnGhost {
  width: 36px;
  height: 36px;
  border: 0;
  background: transparent;
  color: rgba(255, 255, 255, .55);
  cursor: pointer;
  display: grid;
  place-items: center;
  transition: color .18s var(--ease), transform .18s var(--ease), opacity .18s var(--ease);
  opacity: .95;
}

.carBtnGhost:hover {
  color: rgba(255, 255, 255, .82);
  transform: translateY(-1px);
}

.carBtnGhost svg {
  width: 22px;
  height: 22px;
  display: block;
}

.why-new-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(240px, 1fr));
  gap: 20px;
  margin-top: 40px;
}

.why-card-new {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 16px;
  padding: 40px 24px;
  text-align: center;
  transition: transform 0.3s ease, border-color 0.3s ease;
  box-shadow: var(--shadow);
}

.why-card-new:hover {
  transform: translateY(-5px);
  border-color: var(--glass-hover-border);
}

.why-icon {
  width: 48px;
  height: 48px;
  margin: 0 auto 20px;
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
}

.why-icon svg {
  width: 100%;
  height: 100%;
}

.why-card-new h3 {
  color: #fff;
  font-size: 18px;
  font-weight: 700;
  margin: 0 0 12px 0;
}

.why-card-new p {
  color: #888;
  font-size: 14px;
  line-height: 1.6;
  margin: 0;
}

[data-i18n="why_3_d"] {
  min-height: 3.2em;
}

@media (max-width: 520px) {
  [data-i18n="why_3_d"] {
    min-height: 4.8em;
  }
}

.footer {
  padding: 60px 0;
  border-top: 1px solid rgba(255, 255, 255, 0.08);
  background: #050505;
  margin-top: auto;
  min-height: 100px;
  z-index: 1;
}

.footer.always-visible {
  opacity: 1 !important;
  transform: translateY(0) !important;
}

.footer__in {
  display: flex;
  align-items: flex-start;
  justify-content: space-between;
  gap: 30px;
  position: relative;
}

.footer__left {
  max-width: 500px;
  width: 100%;
}

.footer__logo {
  font-weight: 800;
  letter-spacing: .06em;
  font-size: 24px;
  color: #fff;
  margin-bottom: 16px;
  display: inline-block;
}

.footer-desc {
  color: rgba(255, 255, 255, .35);
  font-size: 14px;
  line-height: 22px;
  overflow: hidden;
  margin-bottom: 24px;
  height: 66px;
  overflow-anchor: none;
  transform: translateZ(0);
  will-change: transform;
}

.footer__meta {
  display: flex;
  flex-direction: column;
  gap: 6px;
}

.footer__copy {
  color: rgba(255, 255, 255, .9);
  font-weight: 700;
  font-size: 15px;
}

.footer-credits {
  color: rgba(255, 255, 255, .35);
  font-size: 13px;
}

.footer-credits b {
  color: rgba(255, 255, 255, .8);
}

.footer__up {
  flex-shrink: 0;
  width: 40px;
  height: 40px;
  border-radius: 12px;
  display: grid;
  place-items: center;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, .6);
  transition: all .2s var(--ease);
}

.footer__up:hover {
  transform: translateY(-2px);
  background: rgba(255, 255, 255, 0.1);
  border-color: rgba(255, 255, 255, 0.25);
  color: #fff;
}

@media (max-width: 768px) {
  .footer {
    padding: 40px 0;
  }

  .footer__in {
    flex-direction: column;
    gap: 24px;
  }

  .footer__left {
    max-width: 100%;
    padding-right: 60px;
  }

  .footer-desc {
    font-size: 13px;
    margin-bottom: 20px;
    min-height: 6.4em;
    overflow-anchor: none;
  }

  .footer__up {
    position: absolute;
    right: 0;
    top: 0;
    width: 42px;
    height: 42px;
  }
}

.page-title {
  text-align: center;
  font-size: clamp(36px, 5vw, 64px);
  font-weight: 800;
  margin: 0;
  letter-spacing: -0.02em;
}

.resources-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
  gap: 24px;
  margin-top: 40px;
}

.resource-card {
  background: var(--glass-bg);
  border: var(--glass-border);
  border-radius: 24px;
  padding: 32px;
  display: flex;
  align-items: center;
  gap: 24px;
  transition: transform 0.3s var(--ease), border-color 0.3s ease;
  text-decoration: none;
  color: #fff;
  position: relative;
  overflow: hidden;
}

.resource-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 255, 255, 0.2);
}

.resource-icon {
  width: 64px;
  height: 64px;
  border-radius: 18px;
  background: rgba(255, 255, 255, 0.05);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 32px;
  color: #fff;
  flex-shrink: 0;
}

.resource-content {
  flex: 1;
}

.resource-title {
  font-size: 20px;
  font-weight: 800;
  margin-bottom: 6px;
}

.resource-desc {
  font-size: 14px;
  color: rgba(255, 255, 255, 0.6);
  font-weight: 500;
}

.resource-arrow {
  width: 32px;
  height: 32px;
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.1);
  display: flex;
  align-items: center;
  justify-content: center;
  color: #fff;
  opacity: 0;
  transform: translateX(-10px);
  transition: all 0.3s var(--ease);
}

.resource-card:hover .resource-arrow {
  opacity: 1;
  transform: translateX(0);
}

.footer__nav {
  display: flex;
  gap: 60px;
}

.footer-col {
  display: flex;
  flex-direction: column;
  gap: 16px;
  min-width: 140px;
}

.footer-col-title {
  font-size: 14px;
  font-weight: 700;
  color: rgba(255, 255, 255, 0.4);
  text-transform: uppercase;
  letter-spacing: 0.05em;
}

.footer-links {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-socials {
  list-style: none;
  padding: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.footer-social-link {
  display: flex;
  align-items: center;
  gap: 10px;
  color: rgba(255, 255, 255, 0.6);
  text-decoration: none;
  font-weight: 600;
  font-size: 14px;
  line-height: 1;
  transition: color 0.2s ease;
}

.footer-social-link:hover {
  color: #fff;
}

.footer-social-link i,
.footer-social-link svg {
  width: 18px;
  height: 18px;
  fill: currentColor;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.6);
  font-weight: 600;
  font-size: 14px;
  text-decoration: none;
  line-height: 1;
  transition: color 0.2s ease;
  display: flex;
  align-items: center;
  gap: 10px;
}

.footer-links a i,
.footer-links a svg {
  width: 18px;
  height: 18px;
  text-align: center;
  display: flex;
  justify-content: center;
  align-items: center;
  justify-content: center;
  align-items: center;
}

.footer-links a:hover {
  color: #fff;
}

@media (max-width: 768px) {
  .footer-links {
    flex-direction: column;
    gap: 12px;
  }

  .footer__nav {
    width: 100%;
  }
}

.toast-container {
  position: fixed;
  right: 24px;
  bottom: 24px;
  display: flex;
  flex-direction: column;
  gap: 10px;
  z-index: 10001;
  pointer-events: none;
}

.toast {
  display: flex;
  align-items: center;
  gap: 16px;
  min-width: 260px;
  max-width: 360px;
  padding: 16px 20px;
  border-radius: 12px;
  background: #111;
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 10px 40px rgba(0, 0, 0, 0.8);
  color: #fff;
  font-weight: 600;
  font-size: 14px;
  line-height: 1.4;
  opacity: 0;
  transform: translateX(120%);
  transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
  pointer-events: auto;
  position: relative;
}

.toast::before {
  content: "";
  flex-shrink: 0;
  width: 24px;
  height: 24px;
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpolyline points='20 6 9 17 4 12'%3E%3C/polyline%3E%3C/svg%3E");
  background-size: 20px 20px;
  background-position: center;
  background-repeat: no-repeat;
  filter: drop-shadow(0 0 8px rgba(255, 255, 255, 0.3));
}

.toast.is-show {
  opacity: 1;
  transform: translateX(0);
}

.toast.is-closing {
  opacity: 0;
  transform: translateX(120%);
}

.toast.error::before {
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='white' stroke-width='3' stroke-linecap='round' stroke-linejoin='round'%3E%3Cline x1='18' y1='6' x2='6' y2='18'%3E%3C/line%3E%3Cline x1='6' y1='6' x2='18' y2='18'%3E%3C/line%3E%3C/svg%3E");
  filter: drop-shadow(0 0 8px rgba(239, 68, 68, 0.5));
}

@media (max-width: 768px) {
  html {
    padding: 0;
    margin: 0;
    overflow-y: auto;
    overflow-x: hidden;
  }

  .toast-container {
    top: auto;
    bottom: 24px;
    left: 50%;
    right: auto;
    transform: translateX(-50%);
    width: auto;
    flex-direction: column;
    align-items: center;
  }

  .toast {
    transform: scale(0.9);
    min-width: 260px;
    width: auto;
    max-width: 90vw;
  }

  .toast.is-show {
    transform: scale(1);
  }

  .toast.is-closing {
    transform: scale(0.9);
  }
}

.modalOverlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, .85);
  display: none;
  align-items: center;
  justify-content: center;
  padding: 20px;
  z-index: 9000;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  opacity: 0;
  transition: opacity 0.25s ease, backdrop-filter 0.25s ease;
}

.modalOverlay.is-open {
  display: flex;
  opacity: 1;
}

.payPlanHint {
  margin-bottom: 12px;
  padding: 10px 12px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .10);
  background: rgba(255, 255, 255, .03);
  color: rgba(255, 255, 255, .85);
  font-weight: 700;
  font-size: 13px;
}

.modalOverlay.is-open {
  display: flex;
}

.modal {
  width: min(680px, 100%);
  border-radius: 20px;
  background: rgba(10, 10, 10, 0.98);
  border: 1px solid rgba(255, 255, 255, 0.12);
  box-shadow: 0 40px 120px rgba(0, 0, 0, .9);
  overflow: hidden;
  backdrop-filter: blur(20px);
  -webkit-backdrop-filter: blur(20px);
  transform: scale(0.95);
  opacity: 0;
  transition: transform 0.25s ease, opacity 0.25s ease;
}

.modalOverlay.is-open .modal {
  transform: scale(1);
  opacity: 1;
}

.modal__top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 24px 28px;
  border-bottom: 1px solid rgba(255, 255, 255, .08);
}

.modal__title {
  font-weight: 800;
  letter-spacing: .02em;
  font-size: 20px;
  color: #fff;
}

.modal__x {
  width: 38px;
  height: 38px;
  border-radius: 12px;
  border: 0;
  background: rgba(255, 255, 255, .08);
  color: rgba(255, 255, 255, .7);
  cursor: pointer;
  display: flex;
  place-items: center;
  transition: 0.2s;
  font-size: 18px;
  position: relative;
  align-items: center;
  justify-content: center;
  line-height: 1;
  padding: 0;
}

.modal__x:hover {
  background: rgba(255, 255, 255, .15);
  color: #fff;
}

.modal__body {
  padding: 28px;
}

.pay-methods-grid {
  display: grid;
  grid-template-columns: 1fr;
  gap: 14px;
}

.pay-method-btn {
  display: flex;
  align-items: center;
  padding: 18px 20px;
  background: rgba(255, 255, 255, 0.04);
  border: 1px solid rgba(255, 255, 255, 0.12);
  border-radius: 14px;
  color: rgba(255, 255, 255, .9);
  cursor: pointer;
  transition: transform .18s var(--ease), background .18s var(--ease), border-color .18s var(--ease);
  font-weight: 600;
  width: 100%;
  text-align: left;
  font-size: 16px;
  gap: 16px;
}

.pay-method-btn:hover {
  transform: translateX(6px);
  background: rgba(255, 255, 255, 0.09);
  border-color: rgba(255, 255, 255, 0.28);
  color: #fff;
}

.pay-logo {
  width: 32px;
  height: 32px;
  object-fit: contain;
  flex: 0 0 32px;
  filter: drop-shadow(0 8px 20px rgba(0, 0, 0, .4));
}

.pay-title {
  font-weight: 700;
  letter-spacing: .03em;
  font-size: 16px;
}

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

@media (max-width: 560px) {
  .glass-header {
    top: 10px;
    width: calc(100% - 20px);
    border-radius: 16px;
  }

  .header-inner {
    padding: 12px 14px;
    column-gap: 10px;
  }

  .brand-text {
    display: none;
  }

  .lang-btn {
    height: 36px !important;
    padding: 0 10px;
    border-radius: 12px;
  }

  .btn-glass {
    height: 36px !important;
  }
}

@media (max-width: 860px) {
  .teamRail {
    --per: 2;
  }
}

@media (max-width: 520px) {
  .teamRail {
    --per: 1;
    --gap: 14px;
  }

  .teamWrap {
    grid-template-columns: 1fr;
    display: block;
  }

  .carBtnGhost {
    display: none;
  }

  .memberCard__info {
    padding: 10px;
  }
}

@media (max-width: 520px) {
  .modal {
    width: 100%;
  }

  .modal__body {
    padding: 16px;
  }
}

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

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border-radius: 6px;
}

.errorWrap {
  min-height: 100vh;
  display: grid;
  place-items: center;
  padding: 130px 18px 84px;
}

.errorCard {
  width: min(720px, 100%);
  border-radius: 22px;
  background: var(--glass-bg);
  border: var(--glass-border);
  box-shadow: var(--shadow);
  padding: 44px 26px;
  text-align: center;
}

.errorCode {
  font-weight: 900;
  letter-spacing: .08em;
  line-height: 1;
  font-size: clamp(76px, 10vw, 140px);
  margin: 0;
  background: linear-gradient(135deg, #fff 0%, rgba(255, 255, 255, .35) 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  filter: drop-shadow(0 18px 50px rgba(0, 0, 0, .55));
  user-select: none;
}

.errorTitle {
  margin-top: 10px;
  font-size: clamp(18px, 2.3vw, 26px);
  font-weight: 800;
  color: #fff;
  letter-spacing: .02em;
}

.errorDesc {
  margin: 12px auto 0;
  max-width: 520px;
  color: rgba(255, 255, 255, .55);
  font-weight: 600;
  line-height: 1.6;
  font-size: 14px;
  min-height: 4.8em;
  display: flex;
  align-items: center;
  justify-content: center;
}

.errorActions {
  margin-top: 22px;
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

.btn-glass.btn-primary {
  height: 48px;
  padding: 0 22px;
  border-radius: 14px;
  font-weight: 800;
  background: rgba(255, 255, 255, .92);
  color: #050505;
  border: 0;
}

.btn-glass.btn-primary:hover {
  background: rgba(255, 255, 255, 1);
  transform: translateY(-2px);
  box-shadow: 0 10px 26px rgba(0, 0, 0, .35);
}

.errorHint {
  margin-top: 16px;
  font-size: 12px;
  letter-spacing: .16em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, .40);
}

#siteHeader.header-static {
  opacity: 1 !important;
  transform: translateX(-50%) translateY(0) !important;
  pointer-events: auto !important;
  transition: none !important;
}