:root {
  --bg: #050505;
  --bg-elev: #0f0f11;
  --panel: #141417;
  --panel-2: #1b1b1f;
  --text: #fff6f6;
  --muted: #d8c9c9;
  --line: rgba(255, 255, 255, 0.1);
  --red: #d63535;
  --red-strong: #ff4f4f;
  --red-dark: #8f1f1f;
  --gold: #f7c06b;
}

* { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }
body {
  font-family: "Poppins", sans-serif;
  color: var(--text);
  background:
    radial-gradient(700px 420px at 10% 0%, rgba(214, 53, 53, 0.22), transparent 65%),
    radial-gradient(900px 520px at 100% 15%, rgba(214, 53, 53, 0.14), transparent 70%),
    var(--bg);
}

/* custom scrollbar */
* {
  scrollbar-width: thin;
  scrollbar-color: rgba(255, 110, 110, 0.8) rgba(14, 14, 16, 0.92);
}
*::-webkit-scrollbar { width: 12px; height: 12px; }
*::-webkit-scrollbar-track {
  background: linear-gradient(180deg, rgba(16, 16, 19, 0.98), rgba(8, 8, 10, 0.98));
}
*::-webkit-scrollbar-thumb {
  border-radius: 999px;
  border: 2px solid rgba(14, 14, 16, 0.95);
  background: linear-gradient(180deg, #ff7171, #d63535, #8f1f1f);
  box-shadow: inset 0 0 0 1px rgba(255, 180, 180, 0.22);
}
*::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #ff8f8f, #ef4a4a, #b72323);
}

/* custom colorful cursor */
body.custom-cursor-enabled,
body.custom-cursor-enabled .lang-select,
body.custom-cursor-enabled a,
body.custom-cursor-enabled button,
body.custom-cursor-enabled .btn,
body.custom-cursor-enabled .role-tab,
body.custom-cursor-enabled .faq-q,
body.custom-cursor-enabled .map-hotspot,
body.custom-cursor-enabled .map-modal__shot-zoom,
body.custom-cursor-enabled .map-shot-lightbox__close,
body.custom-cursor-enabled .map-shot-lightbox__nav {
  cursor: none !important;
}
.cursor-dot,
.cursor-ring {
  position: fixed;
  top: 0;
  left: 0;
  transform: translate(-50%, -50%);
  pointer-events: none;
  z-index: 2000;
  opacity: 0;
  transition: opacity .2s ease, transform .16s ease;
}
.cursor-dot {
  width: 9px;
  height: 9px;
  border-radius: 50%;
  background: radial-gradient(circle at 30% 30%, #fff, #ff8d8d 58%, #ff4f4f 100%);
  box-shadow: 0 0 14px rgba(255, 86, 86, 0.75);
}
.cursor-ring {
  width: 38px;
  height: 38px;
  border-radius: 50%;
  border: 1px solid rgba(255, 117, 117, 0.58);
  box-shadow: 0 0 22px rgba(214, 53, 53, 0.26), inset 0 0 18px rgba(255, 79, 79, 0.12);
}
body.custom-cursor-enabled.cursor-active .cursor-dot,
body.custom-cursor-enabled.cursor-active .cursor-ring {
  opacity: 1;
}
body.custom-cursor-enabled.cursor-hover .cursor-ring {
  transform: translate(-50%, -50%) scale(1.35);
  border-color: rgba(247, 192, 107, 0.9);
  box-shadow: 0 0 28px rgba(247, 192, 107, 0.42), inset 0 0 20px rgba(247, 192, 107, 0.2);
}

a { color: inherit; text-decoration: none; }
.container { width: min(1220px, calc(100% - 40px)); margin: 0 auto; }

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

body.preloader-active {
  overflow: hidden;
}

.preloader {
  position: fixed;
  inset: 0;
  z-index: 1000;
  display: grid;
  place-items: center;
  background:
    radial-gradient(520px 320px at 50% 35%, rgba(214, 53, 53, 0.2), transparent 70%),
    #0a0708;
  transition: opacity .4s ease, visibility .4s ease;
}
.preloader.hide {
  opacity: 0;
  visibility: hidden;
  pointer-events: none;
}
.preloader__inner {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
  width: min(280px, calc(100% - 40px));
}
.preloader__mark {
  width: 72px;
  height: 72px;
  border-radius: 18px;
  display: grid;
  place-items: center;
  font-size: 36px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--red-strong), var(--red));
  box-shadow: 0 14px 32px rgba(214, 53, 53, 0.4);
  animation: preloaderPulse 1.4s ease-in-out infinite;
}
.preloader__title {
  margin: 0;
  font-size: 22px;
  font-weight: 800;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: #fff6f6;
}
.preloader__title span {
  color: #ff8a8a;
}
.preloader__bar {
  width: 100%;
  height: 3px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.08);
  overflow: hidden;
}
.preloader__bar-fill {
  display: block;
  height: 100%;
  width: 35%;
  border-radius: inherit;
  background: linear-gradient(90deg, var(--red-dark), var(--red-strong), #ffb4b4);
  animation: preloaderBar 1.8s ease-in-out infinite;
}
@keyframes preloaderPulse {
  0%, 100% { transform: scale(1); }
  50% { transform: scale(1.04); }
}
@keyframes preloaderBar {
  0% { transform: translateX(-120%); width: 28%; }
  50% { width: 62%; }
  100% { transform: translateX(320%); width: 28%; }
}

.header {
  position: sticky; top: 0; z-index: 50;
  border-bottom: 1px solid var(--line);
  background: rgba(7, 7, 8, 0.92);
  backdrop-filter: blur(10px);
}
.header__row {
  min-height: 76px;
  display: flex; align-items: center; justify-content: space-between; gap: 16px;
}

.brand { display: flex; align-items: center; gap: 10px; }
.brand__logo {
  width: 44px; height: 44px; border-radius: 12px;
  display: grid; place-items: center;
  font-size: 23px; font-weight: 900;
  background: linear-gradient(135deg, var(--red-strong), var(--red));
}
.brand__text strong { display: block; line-height: 1; font-size: 20px; }
.brand__text em { display: block; font-style: normal; color: #ff9d9d; font-size: 12px; letter-spacing: 2px; }

.nav { display: flex; align-items: center; gap: 4px; }
.nav a {
  padding: 8px 10px;
  border-radius: 9px;
  font-size: 13px;
  color: var(--muted);
}
.nav a:hover { color: #fff; background: rgba(255, 79, 79, 0.15); }

.header__actions {
  display: flex;
  align-items: center;
  gap: 10px;
  margin-left: 16px;
}
.header__lang {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  margin-right: auto;
}
.header__lang-label {
  display: inline-flex;
  align-items: center;
  color: var(--muted);
  font-size: 14px;
}
.lang-select {
  appearance: none;
  -webkit-appearance: none;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: var(--panel-2);
  color: var(--text);
  font: inherit;
  font-size: 13px;
  font-weight: 700;
  padding: 9px 30px 9px 11px;
  cursor: pointer;
  min-width: 76px;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='8' viewBox='0 0 12 8'%3E%3Cpath fill='%23ff8a8a' d='M1 1.5 6 6.5 11 1.5'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: right 10px center;
}
.lang-select:focus {
  outline: 2px solid rgba(255, 79, 79, 0.45);
  outline-offset: 1px;
}
.header__actions .btn { white-space: nowrap; }
.menu-btn {
  display: none;
  width: 42px; height: 42px;
  border: 1px solid var(--line); border-radius: 11px;
  background: rgba(255, 79, 79, 0.15); color: #fff;
}

.btn {
  border: none; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 8px;
  border-radius: 12px; padding: 12px 18px;
  font-size: 14px; font-weight: 700;
  transition: transform .2s ease, filter .2s ease;
}
.btn:hover { transform: translateY(-1px); filter: brightness(1.06); }
.btn--primary {
  color: #fff;
  background: linear-gradient(135deg, var(--red-strong), var(--red));
  box-shadow: 0 10px 24px rgba(214, 53, 53, 0.32);
}
.btn--ghost {
  color: #ffe8e8;
  background: var(--panel-2);
  border: 1px solid rgba(255, 117, 117, 0.45);
}

main section { margin-top: 88px; }

/* region-like clean hero */
.hero { margin-top: 30px; }
.hero__grid {
  display: grid;
  grid-template-columns: 1.12fr .88fr;
  gap: 28px;
  align-items: center;
}
.hero__tag {
  display: inline-flex; gap: 8px; align-items: center;
  font-size: 12px; color: #ffd4d4;
  border: 1px solid var(--line); border-radius: 999px;
  padding: 8px 12px;
  background: rgba(255, 255, 255, 0.03);
}
.hero h1 {
  margin-top: 16px;
  font-size: clamp(42px, 7vw, 86px);
  line-height: .94;
  text-transform: uppercase;
  letter-spacing: -1px;
}
.hero h1 .hero__title-mark {
  background: linear-gradient(160deg, #fff, #ffd8d8 35%, #ff8989 65%, #ff4f4f 95%);
  -webkit-background-clip: text; background-clip: text; color: transparent;
}
.hero__lead {
  margin-top: 20px;
  color: var(--muted);
  font-size: 18px;
  max-width: 640px;
  line-height: 1.55;
}
.hero__cta { margin-top: 24px; display: flex; gap: 10px; flex-wrap: wrap; }
.hero__ip { margin-top: 14px; color: var(--muted); }
.hero__ip strong { color: var(--gold); }

.hero__stats {
  margin-top: 22px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.hero__stats article {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: var(--bg-elev);
  padding: 13px;
}
.hero__stats strong { display: block; font-size: 22px; }
.hero__stats span { display: block; margin-top: 4px; font-size: 12px; color: #bd9b9b; text-transform: uppercase; }

.hero__right {
  border: 1px solid var(--line);
  border-radius: 18px;
  background: var(--bg-elev);
  padding: 10px;
}
.hero__right video {
  background: #0a0a0c;
  display: block;
  width: 100%;
  border-radius: 12px;
  background: #000;
}

.promo-code__card {
  border: 1px solid rgba(255, 109, 109, 0.45);
  border-radius: 18px;
  background:
    radial-gradient(circle at 90% 20%, rgba(255, 78, 78, 0.18), transparent 36%),
    linear-gradient(180deg, rgba(18, 18, 21, 0.96), rgba(10, 10, 12, 0.98));
  padding: 24px;
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.36);
}
.promo-code__badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  border: 1px solid rgba(255, 124, 124, 0.48);
  border-radius: 999px;
  padding: 8px 12px;
  color: #ffd0d0;
  font-size: 12px;
  font-weight: 700;
  background: rgba(255, 80, 80, 0.12);
}
.promo-code__card h2 {
  margin-top: 12px;
  font-size: clamp(28px, 4vw, 44px);
  line-height: 1.08;
  text-transform: uppercase;
}
.promo-code__card p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 900px;
  line-height: 1.68;
}
.promo-code__row {
  margin-top: 16px;
  display: flex;
  gap: 10px;
  align-items: center;
  flex-wrap: wrap;
}
.promo-code__value {
  min-width: 220px;
  padding: 12px 16px;
  border-radius: 12px;
  border: 1px dashed rgba(255, 135, 135, 0.75);
  background: rgba(255, 255, 255, 0.02);
  color: #ffe1a8;
  font-size: 26px;
  font-weight: 900;
  letter-spacing: 1px;
  text-align: center;
  text-shadow: 0 0 18px rgba(247, 192, 107, 0.35);
}
.promo-code__hint {
  margin-top: 10px;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  color: #ffd5d5;
  font-size: 13px;
}
.promo-code__hint i { color: #ff8f8f; }
.promo-code__cta { margin-top: 14px; }

.section-head {
  margin-bottom: 24px;
  text-align: center;
}
.section-head h2 {
  font-size: clamp(30px, 4.4vw, 52px);
  line-height: 1.04;
  text-transform: uppercase;
}
.section-head p {
  margin-top: 10px;
  color: var(--muted);
  max-width: 34rem;
  margin-left: auto;
  margin-right: auto;
}
.section-head--left { text-align: left; }
.section-head--left p { margin-left: 0; margin-right: 0; }
.section-head--center,
.faq-social .section-head--center {
  margin-bottom: 28px;
}

/* Centered text in all landing blocks */
main .container {
  text-align: center;
}

.hero__left {
  text-align: center;
}
.hero__lead {
  margin-left: auto;
  margin-right: auto;
}
.hero__cta {
  justify-content: center;
}

.promo-code__card {
  text-align: center;
}
.promo-code__row,
.promo-code__cta {
  justify-content: center;
}
.promo-code__card p {
  margin-left: auto;
  margin-right: auto;
}

.server-card,
.about-card div,
.atmo-card div,
.news-card div,
.step-card,
.social-side {
  text-align: center;
}
.about-card .card-icon,
.news-card .card-icon {
  margin-left: auto;
  margin-right: auto;
}
.atmo-card h3 {
  justify-content: center;
}

.map-modal__dialog,
.map-modal__shot-caption {
  text-align: center;
}
.map-modal__shot-zoom {
  text-align: center;
}

.faq-q {
  text-align: center;
  justify-content: center;
  gap: 10px;
}
.faq-q span {
  justify-content: center;
}
.faq-a {
  text-align: center;
}
.faq-item.active .faq-a {
  padding-left: 15px;
  padding-right: 15px;
}

.footer__grid {
  text-align: center;
}
.footer__grid ul {
  padding-left: 0;
}

/* big clean cards like modern landing */
.servers__grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
.server-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.96), rgba(10, 10, 12, 0.98));
  padding: 20px;
  min-height: 178px;
  transition: transform .28s ease, border-color .28s ease, background .28s ease, box-shadow .28s ease;
}
.server-card:hover { transform: translateY(-6px); border-color: rgba(255, 118, 118, .55); background: #17171a; box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32), 0 0 0 1px rgba(255, 92, 92, 0.14) inset; }
.server-card i { font-size: 24px; color: #ff7272; }
.server-card i,
.card-icon i,
.faq-q i,
.map-point i,
.social-side__grid i,
.step i {
  font-family: "Font Awesome 6 Free", "Font Awesome 6 Brands" !important;
}
.server-card h3 { margin-top: 12px; font-size: 20px; }
.server-card p { margin-top: 8px; color: var(--muted); font-size: 14px; line-height: 1.6; }

.about__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.about-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.96), rgba(10, 10, 12, 0.98));
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.about-card:hover { transform: translateY(-6px); border-color: rgba(255, 125, 125, 0.58); box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32); }
.about-card img {
  display: block; width: 100%; aspect-ratio: 16/9; object-fit: cover; transition: transform .45s ease;
}
.about-card:hover img { transform: scale(1.04); }
.about-card div { padding: 14px; }
.about-card p { margin-top: 7px; color: var(--muted); font-size: 14px; }
.card-icon {
  width: 34px;
  height: 34px;
  border-radius: 10px;
  display: inline-grid;
  place-items: center;
  margin-bottom: 8px;
  border: 1px solid rgba(255, 123, 123, 0.45);
  background: rgba(255, 79, 79, 0.12);
  color: #ff8b8b;
}

.atmo__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}
.atmo-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.96), rgba(10, 10, 12, 0.98));
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.atmo-card:hover { transform: translateY(-6px); border-color: rgba(255, 125, 125, 0.58); box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32); }
.atmo-card img {
  width: 100%;
  aspect-ratio: 16/9;
  object-fit: cover;
  display: block;
  transition: transform .45s ease;
}
.atmo-card:hover img { transform: scale(1.04); }
.atmo-card div { padding: 13px; }
.atmo-card h3 {
  display: flex;
  align-items: center;
  gap: 8px;
  font-size: 18px;
}
.atmo-card h3 i { color: #ff7a7a; }
.atmo-card p { margin-top: 8px; color: var(--muted); font-size: 14px; }

.roles-box {
  border: 1px solid var(--line);
  border-radius: 20px;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.98), rgba(10, 10, 12, 0.99));
  padding: 28px 24px 32px;
  transition: border-color .28s ease, box-shadow .28s ease;
}
.roles-box:hover { border-color: rgba(255, 121, 121, 0.45); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.28); }
.roles-tabs {
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-bottom: 28px;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--line);
}
.role-tab {
  border: 1px solid var(--line);
  border-radius: 999px;
  background: var(--bg-elev);
  color: var(--muted);
  padding: 11px 18px;
  font-weight: 700;
  font-size: 14px;
  cursor: pointer;
  transition: color .2s, border-color .2s, background .2s, transform .2s;
}
.role-tab:hover {
  color: #fff;
  border-color: rgba(255, 118, 118, .4);
}
.role-tab.active {
  color: #fff;
  border-color: rgba(255, 118, 118, .65);
  background: linear-gradient(135deg, var(--red-strong), var(--red));
  box-shadow: 0 8px 24px rgba(255, 73, 73, 0.25);
}
.role-pane {
  display: none;
  max-width: min(920px, 100%);
  margin: 0 auto;
  text-align: center;
  animation: roleFade .35s ease;
}
.role-pane.active { display: block; }
.role-pane[hidden] { display: none !important; }
@keyframes roleFade {
  from { opacity: 0; transform: translateY(10px); }
  to { opacity: 1; transform: translateY(0); }
}
.role-pane__media {
  margin: 0 auto 24px;
  padding: 20px 16px 0;
  border-radius: 16px;
  background: radial-gradient(ellipse 80% 70% at 50% 100%, rgba(255, 73, 73, 0.14), transparent 70%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), transparent);
  border: 1px solid rgba(255, 255, 255, 0.06);
  min-height: 280px;
  display: flex;
  align-items: flex-end;
  justify-content: center;
}
.role-pane__media img {
  width: 100%;
  max-width: 360px;
  max-height: 340px;
  object-fit: contain;
  display: block;
  filter: drop-shadow(0 12px 28px rgba(0, 0, 0, 0.45));
}
.role-pane__content {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 14px;
}
.role-pane__badge {
  display: inline-block;
  padding: 6px 14px;
  border-radius: 999px;
  font-size: 12px;
  font-weight: 700;
  letter-spacing: 0.06em;
  text-transform: uppercase;
  color: #ffb4b4;
  background: rgba(255, 73, 73, 0.12);
  border: 1px solid rgba(255, 118, 118, 0.35);
}
.role-pane h3 {
  font-size: clamp(26px, 4vw, 36px);
  line-height: 1.15;
  color: #ff8a8a;
}
.role-pane__desc {
  max-width: 520px;
  margin: 0 auto;
  color: #c4c4d0;
  font-size: 16px;
  line-height: 1.75;
}
.role-pane__perks {
  list-style: none;
  display: flex;
  flex-wrap: wrap;
  justify-content: center;
  gap: 10px;
  margin-top: 8px;
  padding: 0;
}
.role-pane__perks li {
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 13px;
  font-weight: 600;
  color: #e8e8ee;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--line);
}

.start__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 16px;
  align-items: stretch;
}
.step-card {
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  padding: 28px 22px 22px;
  border: 1px solid rgba(255, 84, 84, 0.22);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(18, 18, 22, 0.98), rgba(12, 12, 14, 0.99));
  overflow: hidden;
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.step-card::before {
  content: "";
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 92, 92, 0.85), transparent);
  pointer-events: none;
}
.step-card:hover {
  transform: translateY(-5px);
  border-color: rgba(255, 123, 123, 0.45);
  box-shadow: 0 16px 32px rgba(0, 0, 0, 0.32);
}
.step-card__num {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  margin-bottom: 18px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 16px;
  font-weight: 900;
  color: #fff;
  background: linear-gradient(135deg, var(--red-strong), var(--red));
  box-shadow: 0 0 0 4px rgba(255, 73, 73, 0.12), 0 8px 24px rgba(255, 73, 73, 0.28);
}
.step-card__title {
  font-size: clamp(13px, 1.4vw, 15px);
  font-weight: 800;
  line-height: 1.4;
  text-transform: uppercase;
  letter-spacing: 0.02em;
  color: #ff8a8a;
  max-width: 280px;
}
.step-card__text {
  margin-top: 12px;
  margin-bottom: 0;
  flex: 1;
  max-width: 300px;
  color: #c0c0ca;
  font-size: 15px;
  line-height: 1.7;
}
.step-card__btn {
  margin-top: 22px;
  width: 100%;
  max-width: 280px;
}
.step-card .btn span {
  position: static;
  transform: none;
  width: auto;
  height: auto;
  font-size: inherit;
  font-weight: inherit;
  background: none;
  display: inline;
}

.news__grid { display: grid; grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
.news-card {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.96), rgba(10, 10, 12, 0.98));
  transition: transform .28s ease, border-color .28s ease, box-shadow .28s ease;
}
.news-card:hover { transform: translateY(-6px); border-color: rgba(255, 126, 126, 0.58); box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32); }
.news-card img { width: 100%; aspect-ratio: 16/9; object-fit: cover; display: block; transition: transform .45s ease; }
.news-card:hover img { transform: scale(1.04); }
.news-card div { padding: 13px; }
.news-card p { margin-top: 7px; color: var(--muted); font-size: 14px; }

.gallery__grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 10px;
}
.gallery__grid img {
  width: 100%;
  aspect-ratio: 16/10;
  object-fit: cover;
  border-radius: 12px;
  border: 1px solid var(--line);
  display: block;
  cursor: zoom-in;
  transition: transform .25s ease, border-color .25s ease, opacity .35s ease;
  -webkit-tap-highlight-color: transparent;
  background: linear-gradient(110deg, rgba(255,255,255,.04) 8%, rgba(255,255,255,.1) 18%, rgba(255,255,255,.04) 33%);
  background-size: 200% 100%;
  animation: galleryShimmer 1.4s ease-in-out infinite;
}
.gallery__grid img.is-loaded {
  animation: none;
  background: #0c0c0e;
}
.gallery__grid img.is-error {
  animation: none;
  opacity: 0.45;
}
@keyframes galleryShimmer {
  0% { background-position: 100% 0; }
  100% { background-position: -100% 0; }
}
.gallery__grid img:hover {
  transform: translateY(-3px);
  border-color: rgba(255, 124, 124, 0.55);
}
.gallery-lightbox__frame img.is-loading {
  opacity: 0.35;
}

.gallery-lightbox {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 330;
  align-items: center;
  justify-content: center;
  padding: env(safe-area-inset-top) env(safe-area-inset-right) env(safe-area-inset-bottom) env(safe-area-inset-left);
  visibility: hidden;
  pointer-events: none;
}
.gallery-lightbox.is-open {
  display: flex !important;
  visibility: visible;
  pointer-events: auto;
}
.gallery-lightbox[hidden] {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.gallery-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.92);
}
.gallery-lightbox__close {
  position: absolute;
  top: max(12px, env(safe-area-inset-top));
  right: max(12px, env(safe-area-inset-right));
  z-index: 3;
  width: 42px;
  height: 42px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.08);
  color: #fff;
  cursor: pointer;
}
.gallery-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  height: 100%;
  gap: 8px;
  padding: 48px 12px 24px;
}
.gallery-lightbox__nav {
  flex-shrink: 0;
  width: 42px;
  height: 42px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  cursor: pointer;
}
.gallery-lightbox__nav[hidden] {
  display: none;
}
.gallery-lightbox__frame {
  flex: 1;
  min-width: 0;
  margin: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
}
.gallery-lightbox__frame img {
  max-width: 100%;
  max-height: calc(100dvh - 88px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 8px;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
}
.gallery-lightbox__counter {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffb4b4;
}
.gallery-lightbox__counter[hidden] {
  display: none;
}
.gallery-lightbox__frame figcaption {
  color: #e8e8ee;
  font-size: 14px;
  text-align: center;
  max-width: min(640px, 92vw);
}
@media (max-width: 680px) {
  .gallery-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
  }
  .gallery-lightbox__nav--prev { left: 8px; }
  .gallery-lightbox__nav--next { right: 8px; }
  .gallery-lightbox__stage { gap: 0; padding-left: 4px; padding-right: 4px; }
}

.faq__grid { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 10px; }
.faq-social__grid {
  display: grid;
  grid-template-columns: 1.15fr .85fr;
  gap: 18px;
  align-items: start;
}
.faq-social .faq__grid {
  grid-template-columns: 1fr;
}
.faq-item {
  border: 1px solid var(--line);
  border-radius: 14px;
  background: linear-gradient(180deg, rgba(15, 15, 18, 0.96), rgba(10, 10, 12, 0.98));
  overflow: hidden;
  transition: transform .24s ease, border-color .24s ease, box-shadow .24s ease;
}
.faq-item:hover { transform: translateY(-3px); border-color: rgba(255, 124, 124, 0.48); box-shadow: 0 12px 22px rgba(0, 0, 0, 0.26); }
.faq-q {
  width: 100%;
  border: none;
  background: transparent;
  color: #fff;
  cursor: pointer;
  display: flex;
  align-items: center;
  padding: 14px 15px;
  font-weight: 600;
}
.faq-a {
  max-height: 0;
  overflow: hidden;
  transition: max-height .25s ease;
  color: var(--muted);
  font-size: 14px;
  line-height: 1.6;
  padding: 0 15px;
}
.faq-item.active .faq-a { max-height: 180px; padding: 0 15px 14px; }
.faq-q span {
  display: inline-flex;
  align-items: center;
  gap: 8px;
}
.faq-q span i {
  color: #ff8484;
}

.social-side {
  border: 1px solid rgba(255, 95, 95, 0.2);
  border-radius: 14px;
  padding: 14px;
  background: linear-gradient(180deg, rgba(13, 13, 16, 0.9), rgba(9, 9, 11, 0.96));
  transition: border-color .28s ease, box-shadow .28s ease;
}
.social-side:hover { border-color: rgba(255, 125, 125, 0.45); box-shadow: 0 16px 28px rgba(0, 0, 0, 0.32); }
.social-side__grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
}
.social-side__grid a {
  min-height: 58px;
  border: 1px solid var(--line);
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.02);
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  font-weight: 600;
  transition: transform .2s ease, border-color .2s ease, background .2s ease;
}
.social-side__grid a:hover {
  transform: translateY(-2px);
  border-color: rgba(255, 120, 120, 0.55);
  background: rgba(255, 90, 90, 0.12);
}
.social-side__grid i {
  font-size: 18px;
}

.map-box {
  border: 1px solid var(--line);
  border-radius: 16px;
  overflow: hidden;
  background: #0a0a0c;
  position: relative;
  transition: border-color .28s ease, box-shadow .28s ease;
}
.map-box:hover { border-color: rgba(255, 121, 121, 0.5); box-shadow: 0 16px 30px rgba(0, 0, 0, 0.3); }
.map-box__image {
  width: 100%;
  aspect-ratio: 1/1;
  object-fit: contain;
  display: block;
  filter: brightness(.88) saturate(1.05);
  background: #09090b;
}
.map-box__points {
  position: absolute;
  inset: 0;
  z-index: 2;
  pointer-events: none;
}
.map-box__points .map-hotspot {
  pointer-events: auto;
}
.map-hotspot {
  position: absolute;
  width: 46px;
  height: 46px;
  border: 2px solid rgba(255, 120, 120, 0.9);
  border-radius: 10px;
  background: rgba(255, 73, 73, 0.18);
  box-shadow: 0 0 0 0 rgba(255, 73, 73, 0.5);
  cursor: pointer;
  display: grid;
  place-items: center;
  transform: translate(-50%, -50%);
  transition: transform .2s ease, background .2s ease, box-shadow .2s ease;
}
.map-hotspot span {
  font-weight: 800;
  color: #fff;
  font-size: 16px;
  text-shadow: 0 1px 6px rgba(0,0,0,.6);
}
.map-hotspot:hover {
  transform: translate(-50%, -50%) scale(1.08);
  background: rgba(255, 73, 73, 0.32);
  box-shadow: 0 0 0 8px rgba(255, 73, 73, 0.18);
}

.map-hotspot--1 { left: 81%; top: 84%; } /* Коттеджный поселок */
.map-hotspot--2 { left: 95%; top: 59%; } /* Порт */
.map-hotspot--3 { left: 74%; top: 35%; } /* МВД */
.map-hotspot--4 { left: 23%; top: 31%; } /* Аэропорт */
.map-hotspot--5 { left: 19%; top: 54%; } /* Карьер */
.map-hotspot--6 { left: 53%; top: 68%; } /* Вокзал */
.map-hotspot--7 { left: 47%; top: 86%; } /* Центр занятости */

.map-modal {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 250;
  visibility: hidden;
  pointer-events: none;
}
.map-modal.is-open {
  display: block !important;
  visibility: visible;
  pointer-events: auto;
}
.map-modal[hidden] {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.map-modal__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0,0,0,.72);
}
.map-modal__dialog {
  position: relative;
  width: min(860px, calc(100% - 20px));
  max-height: calc(100dvh - 24px);
  margin: 12px auto;
  border: 1px solid rgba(255, 122, 122, 0.4);
  border-radius: 16px;
  background: linear-gradient(180deg, rgba(16,16,19,.98), rgba(10,10,12,.98));
  padding: 20px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
}
.map-modal__dialog h3,
.map-modal__dialog > p {
  flex-shrink: 0;
}
.map-modal__close {
  position: absolute;
  right: 10px;
  top: 10px;
  width: 34px;
  height: 34px;
  border-radius: 9px;
  border: 1px solid var(--line);
  background: rgba(255,255,255,.03);
  color: #fff;
  cursor: pointer;
}
.map-modal__dialog h3 {
  font-size: 28px;
  color: #ff8b8b;
  margin-bottom: 8px;
}
.map-modal__dialog p {
  color: var(--muted);
  line-height: 1.7;
}
.map-modal__shots {
  margin-top: 14px;
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px;
  flex: 1 1 auto;
  min-height: 0;
  overflow-y: auto;
  -webkit-overflow-scrolling: touch;
  overscroll-behavior: contain;
}
.map-modal__shot {
  border: 1px dashed rgba(255, 131, 131, 0.45);
  border-radius: 10px;
  min-height: 160px;
  min-width: 0;
  display: flex;
  flex-direction: column;
  align-items: stretch;
  justify-content: flex-start;
  color: #e9c8c8;
  background: rgba(255,255,255,.02);
  overflow: hidden;
}
.map-modal__shot-zoom {
  position: relative;
  display: block;
  width: 100%;
  padding: 0;
  border: none;
  background: none;
  cursor: zoom-in;
}
.map-modal__shot-zoom:disabled {
  cursor: default;
  opacity: 0.6;
}
.map-modal__shot-img {
  width: 100%;
  height: auto;
  min-height: 140px;
  max-height: 240px;
  aspect-ratio: 16 / 10;
  object-fit: cover;
  display: block;
  background: rgba(255, 255, 255, 0.04);
  transition: transform .25s ease, filter .25s ease;
}
@media (hover: none) {
  .map-modal__shot-zoom-icon {
    opacity: 1;
  }
}
.map-modal__shot-zoom:not(:disabled):hover .map-modal__shot-img {
  transform: scale(1.03);
  filter: brightness(1.06);
}
.map-modal__shot-zoom-icon {
  position: absolute;
  right: 10px;
  bottom: 10px;
  width: 34px;
  height: 34px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  font-size: 14px;
  color: #fff;
  background: rgba(0, 0, 0, 0.55);
  border: 1px solid rgba(255, 255, 255, 0.2);
  opacity: 0;
  transition: opacity .2s ease;
  pointer-events: none;
}
.map-modal__shot-zoom:not(:disabled):hover .map-modal__shot-zoom-icon,
.map-modal__shot-zoom:focus-visible .map-modal__shot-zoom-icon {
  opacity: 1;
}
.map-modal__shot-caption {
  display: block;
  padding: 8px 10px;
  font-size: 12px;
  line-height: 1.4;
}
.map-modal__shot--empty {
  min-height: 100px;
  display: grid;
  place-items: center;
  text-align: center;
}
.map-modal__shot--empty small { opacity: .8; }

.map-shot-lightbox {
  display: none !important;
  position: fixed;
  inset: 0;
  z-index: 320;
  align-items: center;
  justify-content: center;
  padding: 20px;
  visibility: hidden;
  pointer-events: none;
}
.map-shot-lightbox.is-open {
  display: flex !important;
  visibility: visible;
  pointer-events: auto;
}
.map-shot-lightbox[hidden] {
  display: none !important;
  visibility: hidden;
  pointer-events: none;
}
.map-shot-lightbox__backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.88);
}
.map-shot-lightbox__close {
  position: absolute;
  top: 16px;
  right: 16px;
  z-index: 3;
  width: 40px;
  height: 40px;
  border-radius: 10px;
  border: 1px solid var(--line);
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  cursor: pointer;
}
.map-shot-lightbox__stage {
  position: relative;
  z-index: 1;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  width: min(96vw, 1320px);
  max-height: calc(100vh - 40px);
}
.map-shot-lightbox__nav {
  flex-shrink: 0;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  border: 1px solid rgba(255, 255, 255, 0.2);
  background: rgba(0, 0, 0, 0.45);
  color: #fff;
  cursor: pointer;
  display: grid;
  place-items: center;
  font-size: 16px;
  transition: background .2s ease, border-color .2s ease, transform .2s ease;
}
.map-shot-lightbox__nav:hover {
  background: rgba(255, 73, 73, 0.35);
  border-color: rgba(255, 130, 130, 0.55);
  transform: scale(1.05);
}
.map-shot-lightbox__nav[hidden] {
  display: none;
}
.map-shot-lightbox__frame {
  position: relative;
  margin: 0;
  flex: 1;
  min-width: 0;
  max-width: min(96vw, 1200px);
  max-height: calc(100vh - 40px);
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
}
.map-shot-lightbox__counter {
  margin: 0;
  font-size: 13px;
  font-weight: 600;
  color: #ffb4b4;
  letter-spacing: 0.04em;
}
.map-shot-lightbox__counter[hidden] {
  display: none;
}
.map-shot-lightbox__frame img {
  max-width: min(100vw, 1200px);
  max-height: calc(100dvh - 100px);
  width: auto;
  height: auto;
  object-fit: contain;
  border-radius: 10px;
  box-shadow: 0 24px 60px rgba(0, 0, 0, 0.55);
}
.map-shot-lightbox__frame figcaption {
  color: #e8e8ee;
  font-size: 14px;
  text-align: center;
  line-height: 1.5;
  max-width: 640px;
}
.map-shot-lightbox__frame img:not([src]),
.map-shot-lightbox__frame img[src=""] {
  display: none;
}

.footer {
  margin-top: 74px;
  border-top: 1px solid var(--line);
  background: #100c0d;
  padding: 34px 0 16px;
}
.footer__grid { display: grid; grid-template-columns: 1.5fr 1fr 1fr; gap: 16px; }
.footer__grid h4 { margin-bottom: 10px; text-transform: uppercase; }
.footer__grid p, .footer__grid li { color: var(--muted); font-size: 14px; line-height: 1.7; }
.footer__grid ul { list-style: none; }
.footer__bottom { margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--line); text-align: center; }
.footer__bottom p { color: #b28f8f; font-size: 12px; }

.toast {
  position: fixed; left: 50%; bottom: 24px;
  transform: translate(-50%, 80px);
  border: 1px solid rgba(255, 118, 118, .5);
  border-radius: 12px;
  background: #211316;
  padding: 11px 15px;
  z-index: 120;
  transition: transform .2s ease;
}
.toast.show { transform: translate(-50%, 0); }

@media (max-width: 1100px) {
  .hero__grid,
  .servers__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .role-pane__media { min-height: 220px; }
  .role-pane__media img { max-height: 280px; }
  .atmo__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
  .faq-social__grid { grid-template-columns: 1fr; }
}

@media (max-width: 860px) {
  .header__row {
    min-height: 66px;
    gap: 10px;
  }
  .brand__logo {
    width: 38px;
    height: 38px;
    font-size: 20px;
  }
  .brand__text strong { font-size: 17px; }
  .brand__text em { font-size: 11px; letter-spacing: 1.4px; }
  .header__actions { margin-left: auto; gap: 8px; }
  .header__lang { margin-right: auto; }
  .header__actions .btn {
    padding: 9px 12px;
    font-size: 12px;
  }
  .menu-btn { display: inline-grid; place-items: center; }
  .nav {
    position: absolute;
    top: calc(100% + 8px);
    left: 12px; right: 12px;
    display: none;
    flex-direction: column;
    border: 1px solid var(--line);
    border-radius: 12px;
    background: #150f11;
    padding: 10px;
  }
  .nav a {
    width: 100%;
    padding: 10px 12px;
    font-size: 14px;
  }
  .nav.open { display: flex; }

  .role-pane h3 { font-size: 28px; }
}

@media (max-width: 680px) {
  .container { width: min(1220px, calc(100% - 18px)); }
  main section { margin-top: 68px; }
  .hero { margin-top: 16px; }
  .hero__grid,
  .servers__grid,
  .about__grid,
  .atmo__grid,
  .start__grid,
  .news__grid,
  .gallery__grid,
  .faq__grid,
  .footer__grid,
  .hero__stats { grid-template-columns: 1fr; }
  .hero h1 { font-size: clamp(32px, 11vw, 46px); }
  .hero__lead { font-size: 16px; line-height: 1.5; }
  .hero__cta .btn { width: 100%; }
  .header__actions .btn {
    padding: 9px 10px;
    font-size: 11px;
  }
  .header__actions .btn i { font-size: 12px; }
  .promo-code__card {
    padding: 16px;
    border-radius: 14px;
  }
  .promo-code__row .btn { width: 100%; }
  .promo-code__value { width: 100%; font-size: 23px; }
  .roles-box { padding: 16px 14px 20px; }
  .roles-tabs {
    flex-wrap: nowrap;
    overflow-x: auto;
    padding-bottom: 4px;
    scrollbar-width: thin;
  }
  .roles-tabs::-webkit-scrollbar { height: 8px; }
  .role-tab { flex: 0 0 auto; white-space: nowrap; }
  .role-pane__desc { font-size: 15px; }
  .role-pane h3 { font-size: 24px; }
  .step-card { padding: 22px 16px 18px; }
  .step-card__btn { max-width: none; }
  .social-side__grid { grid-template-columns: 1fr; }
  .map-hotspot {
    width: 34px;
    height: 34px;
    border-radius: 8px;
  }
  .map-hotspot span { font-size: 13px; }
  .map-modal__dialog { margin: 30px auto 0; padding: 14px; }
  .map-modal__shots { grid-template-columns: 1fr; }
  .map-shot-lightbox__stage {
    width: 100%;
    gap: 0;
  }
  .map-shot-lightbox__nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    z-index: 2;
    width: 38px;
    height: 38px;
    background: rgba(0, 0, 0, 0.6);
  }
  .map-shot-lightbox__nav--prev { left: 8px; }
  .map-shot-lightbox__nav--next { right: 8px; }
  .map-shot-lightbox__nav:hover { transform: translateY(-50%) scale(1.05); }
}

@media (max-width: 520px) {
  .header__actions .btn {
    display: none;
  }
  .menu-btn {
    width: 40px;
    height: 40px;
  }
  .hero__tag { font-size: 11px; }
  .section-head { margin-bottom: 18px; }
  .section-head h2 { line-height: 1.08; }
}

@media (prefers-reduced-motion: reduce) {
  * {
    animation: none !important;
    transition: none !important;
  }
  .cursor-dot,
  .cursor-ring {
    display: none !important;
  }
}
