*,
*::before,
*::after {
  box-sizing: border-box;
}

:root {
  --home-bg: #050509;
  --home-surface: rgba(10, 10, 12, 0.74);
  --home-surface-2: rgba(8, 9, 12, 0.68);
  --home-card: rgba(7, 8, 11, 0.72);
  --home-stroke: rgba(255, 255, 255, 0.08);
  --home-stroke-strong: rgba(255, 255, 255, 0.12);
  --home-text-soft: rgba(255, 255, 255, 0.76);
  --home-text-muted: rgba(255, 255, 255, 0.58);
  --home-green: #02cf5c;
  --home-green-dark: #019643;
  --home-shadow-lg: 0 24px 70px rgba(0, 0, 0, 0.48);
  --home-shadow-xl: 0 30px 90px rgba(0, 0, 0, 0.85);
  --home-radius-xl: 28px;
  --home-radius-lg: 22px;
  --home-radius-md: 18px;
  --home-radius-sm: 14px;
  --home-ease: cubic-bezier(0.2, 0.8, 0.2, 1);
}

html,
body {
  margin: 0;
  padding: 0;
  font-family: var(--main-font);
  background: var(--home-bg);
  color: #fff;
}

.home-body {
  background:
    radial-gradient(
      55% 45% at 50% 0%,
      rgba(2, 207, 92, 0.14),
      rgba(5, 5, 9, 0) 65%
    ),
    radial-gradient(
      28% 24% at 15% 20%,
      rgba(2, 207, 92, 0.06),
      rgba(5, 5, 9, 0) 70%
    ),
    radial-gradient(
      20% 18% at 85% 16%,
      rgba(2, 207, 92, 0.05),
      rgba(5, 5, 9, 0) 70%
    ),
    #050509;
}

  .page {
  min-height: 100vh;
}

.no-scroll {
  overflow: hidden;
}

::selection {
  background: rgba(2, 207, 92, 0.24);
  color: #fff;
}

.textGradient {
  background: linear-gradient(90deg, var(--servername-gradient));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.reveal-item {
  opacity: 0;
  transform: translateY(14px);
  transition:
    opacity 0.45s ease,
    transform 0.45s ease;
}

.reveal-item.is-visible {
  opacity: 1;
  transform: translateY(0);
}

@media (prefers-reduced-motion: reduce) {
  *,
  *::before,
  *::after {
    animation: none !important;
    transition: none !important;
    scroll-behavior: auto !important;
  }

  .reveal-item {
    opacity: 1;
    transform: none;
  }
}

.hero {
  position: relative;
  width: 100%;
  min-height: 100vh;
  overflow: hidden;
  isolation: isolate;
  display: flex;
  align-items: center;
  justify-content: center;
  background: #000;
  padding: 120px 0 60px;
}

.hero__video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  transform: scale(1.03);
  z-index: 0;
  filter: brightness(0.42) contrast(1.06) saturate(0.92);
}

.hero::before {
  content: "";
  position: absolute;
  inset: 0;
  z-index: 1;
  background:
    radial-gradient(
      80% 68% at 50% 38%,
      rgba(0, 0, 0, 0.12),
      rgba(0, 0, 0, 0.6) 74%,
      rgba(0, 0, 0, 0.86) 100%
    ),
    linear-gradient(
      180deg,
      rgba(0, 0, 0, 0.1) 0%,
      rgba(0, 0, 0, 0.34) 55%,
      rgba(0, 0, 0, 0.92) 100%
    );
  pointer-events: none;
}

.hero__ambient {
  position: absolute;
  z-index: 1;
  width: 440px;
  height: 440px;
  border-radius: 999px;
  filter: blur(90px);
  opacity: 0.18;
  pointer-events: none;
}

.hero__ambient--left {
  top: 10%;
  left: -120px;
  background: rgba(2, 207, 92, 0.65);
}

.hero__ambient--right {
  bottom: 5%;
  right: -120px;
  background: rgba(2, 207, 92, 0.34);
}

.hero__inner {
  position: relative;
  z-index: 2;
  width: min(1380px, calc(100% - 40px));
}

.hero__shell {
  position: relative;
}

.hero__shellBg {
  position: absolute;
  inset: 0;
  border-radius: var(--home-radius-xl);
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.06),
      rgba(255, 255, 255, 0.01)
    ),
    var(--home-surface);
  border: 1px solid var(--home-stroke);
  box-shadow:
    0 22px 70px rgba(0, 0, 0, 0.58),
    inset 0 1px 0 rgba(255, 255, 255, 0.04);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  overflow: hidden;
}

.hero__shellBg::before {
  content: "";
  position: absolute;
  inset: -1px;
  background: radial-gradient(
    65% 90% at 50% 0%,
    rgba(2, 207, 92, 0.16),
    rgba(2, 207, 92, 0) 60%
  );
  pointer-events: none;
}

.hero__shellBg::after {
  content: "";
  position: absolute;
  top: 0;
  left: 8%;
  width: 84%;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(255, 255, 255, 0),
    rgba(255, 255, 255, 0.18),
    rgba(255, 255, 255, 0)
  );
  pointer-events: none;
}

.hero__grid {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: 380px minmax(0, 1fr);
  gap: 28px;
  padding: 36px;
  align-items: stretch;
}

.hero__side,
.hero__main {
  position: relative;
  border-radius: var(--home-radius-lg);
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(10, 10, 12, 0.62);
  border: 1px solid var(--home-stroke);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.hero__side::before,
.hero__main::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0),
    rgba(2, 207, 92, 0.7),
    rgba(2, 207, 92, 0)
  );
  opacity: 0.55;
}

.hero__side {
  padding: 22px;
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.hero__main {
  padding: 30px;
  display: flex;
  flex-direction: column;
  justify-content: center;
}

.hero__brandCard {
  display: flex;
  align-items: center;
  gap: 14px;
}

.hero__logo {
  width: 90px;
  height: 90px;
  object-fit: contain;
  filter: drop-shadow(0 18px 40px rgba(0, 0, 0, 0.7));
  flex-shrink: 0;
}

.hero__badge {
  display: inline-flex;
  align-items: center;
  margin-bottom: 8px;
  padding: 8px 14px;
  border-radius: 999px;
  font-size: 0.78rem;
  font-weight: 800;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(2, 207, 92, 0.98);
  background: rgba(2, 207, 92, 0.1);
  border: 1px solid rgba(2, 207, 92, 0.18);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.04);
}

.hero__miniLead {
  margin: 0;
  font-size: 0.92rem;
  line-height: 1.7;
  color: var(--home-text-soft);
}

.hero__eyebrow {
  margin: 0 0 12px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(2, 207, 92, 0.9);
}

.hero__title {
  margin: 0;
  max-width: 760px;
  font-size: clamp(2.55rem, 5vw, 5rem);
  line-height: 0.98;
  font-weight: 900;
  letter-spacing: -0.04em;
  text-transform: uppercase;
  text-shadow: 0 18px 50px rgba(0, 0, 0, 0.7);
}

.hero__title span {
  display: block;
}

.hero__lead {
  margin: 18px 0 0;
  max-width: 760px;
  font-size: 1rem;
  line-height: 1.85;
  color: var(--home-text-soft);
}

.hero__actions {
  margin-top: 26px;
  display: flex;
  flex-wrap: wrap;
  gap: 12px;
  align-items: center;
}

.hero__actionForm {
  margin: 0;
  display: inline-flex;
}

.hero__actionForm button {
  font-family: inherit;
}

.hero__subCards {
  margin-top: 24px;
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.heroMiniCard {
  text-decoration: none;
  color: #fff;
  border-radius: 16px;
  padding: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.28);
  transition:
    transform 0.18s var(--home-ease),
    border-color 0.18s var(--home-ease),
    box-shadow 0.18s var(--home-ease),
    background 0.18s var(--home-ease);
}

.heroMiniCard:hover {
  transform: translateY(-2px);
  border-color: rgba(2, 207, 92, 0.18);
  background: rgba(255, 255, 255, 0.05);
  box-shadow: 0 20px 48px rgba(0, 0, 0, 0.38);
}

.heroMiniCard__label {
  display: block;
  margin-bottom: 8px;
  font-size: 0.74rem;
  font-weight: 900;
  letter-spacing: 0.16em;
  text-transform: uppercase;
  color: rgba(2, 207, 92, 0.92);
}

.heroMiniCard strong {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}

.hero__quickStats {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 12px;
}

.heroStat {
  padding: 14px;
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
}

.heroStat__value {
  display: block;
  font-size: 1rem;
  font-weight: 900;
  color: #fff;
}

.heroStat__label {
  display: block;
  margin-top: 6px;
  font-size: 0.76rem;
  color: rgba(255, 255, 255, 0.54);
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.btn {
  appearance: none;
  border: 1px solid rgba(255, 255, 255, 0.1);
  cursor: pointer;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 18px;
  border-radius: 14px;
  font-weight: 800;
  letter-spacing: 0.04em;
  font-size: 0.86rem;
  color: rgba(255, 255, 255, 0.92);
  background: rgba(255, 255, 255, 0.05);
  transition:
    transform 0.16s ease,
    background 0.16s ease,
    border-color 0.16s ease,
    box-shadow 0.16s ease;
  -webkit-tap-highlight-color: transparent;
}

.btn:hover {
  transform: translateY(-1px);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.55);
  border-color: rgba(2, 207, 92, 0.24);
}

.btn:focus-visible {
  outline: none;
  box-shadow:
    0 0 0 2px rgba(2, 207, 92, 0.22),
    0 0 0 1px rgba(2, 207, 92, 0.1) inset;
}

.btn:disabled {
  opacity: 0.6;
  cursor: default;
  box-shadow: none;
  transform: none;
}

.btn--primary {
  background: linear-gradient(135deg, #02cf5c, #019643);
  border-color: rgba(2, 207, 92, 0.3);
  box-shadow: 0 14px 30px rgba(2, 207, 92, 0.2);
}

.btn--ghost {
  background: rgba(255, 255, 255, 0.05);
  border-color: rgba(255, 255, 255, 0.1);
  color: #fff;
}

.btn--soft {
  background: rgba(255, 255, 255, 0.04);
  border-color: rgba(255, 255, 255, 0.1);
  color: rgba(255, 255, 255, 0.92);
  min-height: 46px;
}

.btn--full {
  width: 100%;
}

.statusCard {
  padding: 18px 18px 16px;
  border-radius: 18px;
  background: rgba(8, 9, 12, 0.64);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 16px 36px rgba(0, 0, 0, 0.34);
  position: relative;
  overflow: hidden;
}

.statusCard::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0),
    rgba(2, 207, 92, 0.7),
    rgba(2, 207, 92, 0)
  );
  opacity: 0.45;
}

.statusCard__head {
  display: flex;
  align-items: center;
  gap: 10px;
  font-size: 0.72rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.7);
}

.statusDot {
  width: 9px;
  height: 9px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.35);
}

.statusCard.is-online .statusDot {
  background: rgba(2, 207, 92, 0.95);
  box-shadow: 0 0 18px rgba(2, 207, 92, 0.55);
}

.statusCard.is-offline .statusDot {
  background: rgba(248, 113, 113, 0.95);
  box-shadow: 0 0 18px rgba(248, 113, 113, 0.55);
}

.statusCard__numbers {
  display: flex;
  align-items: baseline;
  gap: 10px;
  margin-top: 10px;
}

.statusCard__current {
  font-size: 3rem;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  line-height: 1;
}

.statusCard__slash {
  font-size: 1.35rem;
  color: rgba(255, 255, 255, 0.55);
}

.statusCard__max {
  font-size: 1.05rem;
  color: rgba(255, 255, 255, 0.68);
}

.statusCard__sub {
  margin-top: 8px;
  font-size: 0.84rem;
  color: rgba(255, 255, 255, 0.72);
}

.flash {
  width: 100%;
  margin: 16px 0 0;
  padding: 12px 14px;
  border-radius: 16px;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  background: rgba(8, 8, 10, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.75);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  color: rgba(255, 255, 255, 0.95);
  font-weight: 700;
  font-size: 0.9rem;
  text-align: center;
  position: relative;
  overflow: hidden;
  opacity: 1;
  transform: translateY(0);
  transition:
    opacity 0.2s var(--home-ease),
    transform 0.2s var(--home-ease);
}

.flash::after {
  content: "";
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  background: rgba(255, 255, 255, 0.22);
}

.flash::before {
  content: "ℹ";
  width: 22px;
  height: 22px;
  border-radius: 999px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  background: rgba(255, 255, 255, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.14);
  color: rgba(255, 255, 255, 0.95);
  font-size: 0.85rem;
  flex: 0 0 22px;
}

.flash-success::before {
  content: "✓";
}
.flash-success::after {
  background: rgba(34, 197, 94, 0.9);
}
.flash-error::before {
  content: "!";
}
.flash-error::after {
  background: rgba(248, 113, 113, 0.95);
}
.flash-info::after {
  background: rgba(56, 189, 248, 0.9);
}

.flash.is-hidden {
  opacity: 0;
  transform: translateY(-6px);
  pointer-events: none;
}

.modal {
  position: fixed;
  inset: 0;
  display: flex;
  align-items: center;
  justify-content: center;
  background: rgba(0, 0, 0, 0.65);
  z-index: 50;
  animation: fadeIn 0.16s var(--home-ease) both;
}

.modal[hidden] {
  display: none;
}

@keyframes fadeIn {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

.modal__card {
  width: min(460px, calc(100% - 28px));
  max-height: 72vh;
  padding: 16px 18px 14px;
  color: #fff;
  position: relative;
  overflow: hidden;
  border-radius: 20px;
  background:
    radial-gradient(
      120% 90% at 20% 0%,
      rgba(255, 255, 255, 0.08),
      rgba(255, 255, 255, 0) 55%
    ),
    radial-gradient(
      90% 70% at 90% 10%,
      rgba(2, 207, 92, 0.1),
      rgba(2, 207, 92, 0) 55%
    ),
    rgba(6, 6, 12, 0.92);
  border: 0;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  box-shadow:
    0 30px 90px rgba(0, 0, 0, 0.85),
    0 0 0 1px rgba(255, 255, 255, 0.06) inset;
  transform: translateY(0);
  animation: popIn 0.22s var(--home-ease) both;
}

.modal__card::before {
  content: "";
  position: absolute;
  inset: 0;
  padding: 1px;
  border-radius: 20px;
  background: linear-gradient(
    135deg,
    rgba(255, 255, 255, 0.18),
    rgba(2, 207, 92, 0.3),
    rgba(255, 255, 255, 0.1),
    rgba(2, 207, 92, 0.18)
  );
  -webkit-mask:
    linear-gradient(#000 0 0) content-box,
    linear-gradient(#000 0 0);
  -webkit-mask-composite: xor;
  mask-composite: exclude;
  opacity: 0.9;
  pointer-events: none;
}

.modal__card::after {
  content: "";
  position: absolute;
  inset: -1px;
  border-radius: 20px;
  pointer-events: none;
  background:
    linear-gradient(
        90deg,
        rgba(2, 207, 92, 0) 0%,
        rgba(2, 207, 92, 0.55) 18%,
        rgba(2, 207, 92, 0.1) 55%,
        rgba(2, 207, 92, 0) 100%
      )
      top/100% 2px no-repeat,
    radial-gradient(
      80% 55% at 50% 0%,
      rgba(255, 255, 255, 0.1),
      rgba(255, 255, 255, 0) 60%
    );
  opacity: 0.55;
  mix-blend-mode: screen;
}

@keyframes popIn {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
    filter: blur(2px);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
    filter: blur(0);
  }
}

.modal__head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  margin-bottom: 8px;
}

.modal__title {
  margin: 0;
  font-size: 1rem;
  font-weight: 800;
  letter-spacing: 0.02em;
}

.modal__close {
  width: 40px;
  height: 40px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, 0.12);
  background: rgba(255, 255, 255, 0.05);
  color: rgba(248, 250, 252, 0.9);
  font-size: 1.4rem;
  cursor: pointer;
  line-height: 1;
  transition:
    transform 0.14s var(--home-ease),
    background 0.14s var(--home-ease),
    border-color 0.14s var(--home-ease);
}

.modal__close:hover {
  transform: translateY(-1px);
  background: rgba(2, 207, 92, 0.1);
  border-color: rgba(2, 207, 92, 0.3);
}

.modal__body {
  font-size: 0.88rem;
  color: rgba(226, 232, 240, 0.96);
  overflow: auto;
  max-height: 55vh;
  padding-right: 6px;
}

.playerList {
  list-style: none;
  margin: 0;
  padding: 0;
}

.playerList li {
  padding: 8px 0;
  border-bottom: 1px solid rgba(255, 255, 255, 0.08);
}

.playerList li:last-child {
  border-bottom: none;
}

.modalEmpty {
  margin: 0;
  color: rgba(226, 232, 240, 0.85);
}

.modal__body::-webkit-scrollbar {
  width: 10px;
}

.modal__body::-webkit-scrollbar-thumb {
  background: rgba(255, 255, 255, 0.1);
  border: 3px solid rgba(0, 0, 0, 0);
  background-clip: padding-box;
  border-radius: 999px;
}

.modal__body::-webkit-scrollbar-thumb:hover {
  background: rgba(255, 255, 255, 0.16);
}

.content {
  position: relative;
  z-index: 1;
  background:
    radial-gradient(
      55% 55% at 50% 0%,
      rgba(2, 207, 92, 0.08),
      rgba(5, 5, 9, 0) 55%
    ),
    var(--home-bg);
  color: #fff;
  padding: 84px 0 120px;
  margin-top: -20px;
}

.container {
  width: min(1380px, calc(100% - 40px));
  margin: 0 auto;
}

.section {
  margin-bottom: 86px;
}

.section__header {
  text-align: center;
  margin-bottom: 26px;
}

.section__header--left {
  text-align: left;
}

.section__eyebrow {
  margin: 0 0 8px;
  font-size: 0.78rem;
  letter-spacing: 0.18em;
  text-transform: uppercase;
  color: rgba(2, 207, 92, 0.9);
}

.section__title {
  margin: 0 0 10px;
  font-size: clamp(1.95rem, 3vw, 2.6rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
}

.section__sub {
  max-width: 820px;
  margin: 0 auto;
  font-size: 1rem;
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.78);
}

.section__header--left .section__sub {
  margin-left: 0;
  margin-right: 0;
}

.appGrid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 22px;
  margin-top: 28px;
}

.appCard {
  position: relative;
  display: block;
  min-height: 320px;
  border-radius: 22px;
  overflow: hidden;
  text-decoration: none;
  color: #fff;
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.48);
  transform: translateY(0);
  transition:
    transform 0.22s var(--home-ease),
    box-shadow 0.22s var(--home-ease),
    filter 0.22s var(--home-ease),
    border-color 0.22s var(--home-ease);
}

.appCard::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  z-index: 2;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0),
    rgba(2, 207, 92, 0.7),
    rgba(2, 207, 92, 0)
  );
  opacity: 0.55;
}

.appCard__overlay {
  position: absolute;
  inset: 0;
  background: linear-gradient(
    180deg,
    rgba(0, 0, 0, 0.1) 0%,
    rgba(0, 0, 0, 0.42) 48%,
    rgba(0, 0, 0, 0.92) 100%
  );
}

.appChip {
  position: absolute;
  left: 18px;
  bottom: 18px;
  z-index: 2;
  padding: 10px 14px;
  border-radius: 14px;
  background: rgba(11, 12, 18, 0.72);
  border: 1px solid rgba(255, 255, 255, 0.14);
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
  font-size: 0.95rem;
  font-weight: 900;
  letter-spacing: 0.12em;
  box-shadow: 0 14px 40px rgba(0, 0, 0, 0.55);
}

.appCard:hover {
  transform: translateY(-6px);
  filter: brightness(1.03);
  border-color: rgba(2, 207, 92, 0.16);
  box-shadow:
    0 0 0 1px rgba(2, 207, 92, 0.12) inset,
    0 26px 70px rgba(0, 0, 0, 0.86);
}

.appCard--politi {
  background-image: url("../images/police.webp");
}
.appCard--ems {
  background-image: url("../images/ems.webp");
}
.appCard--advokat {
  background-image: url("../images/lawyer.webp");
}

.section--map {
  margin-top: 40px;
}

.mapGrid {
  display: grid;
  grid-template-columns: 1.08fr 0.92fr;
  gap: 28px;
  align-items: start;
}

.mapCard,
.mapSide {
  position: relative;
  border-radius: 22px;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.03), rgba(255, 255, 255, 0)),
    rgba(10, 10, 12, 0.76);
  border: 1px solid rgba(255, 255, 255, 0.08);
  box-shadow:
    0 20px 60px rgba(0, 0, 0, 0.42),
    inset 0 1px 0 rgba(255, 255, 255, 0.03);
  overflow: hidden;
}

.mapCard::before,
.mapSide::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0),
    rgba(2, 207, 92, 0.7),
    rgba(2, 207, 92, 0)
  );
  opacity: 0.55;
}

.mapCard {
  padding: 14px;
}

.mapSide {
  padding: 20px;
}

.gtavMap {
  height: 640px;
  border-radius: 16px;
  overflow: hidden;
  position: relative;
  z-index: 1;
}

.mapAccordion {
  display: flex;
  flex-direction: column;
  gap: 12px;
}

.mapItem {
  width: 100%;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 12px;
  padding: 15px 15px;
  border-radius: 16px;
  border: 1px solid rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.03);
  color: #fff;
  font-weight: 800;
  cursor: pointer;
  transition:
    border-color 0.18s var(--home-ease),
    background 0.18s var(--home-ease),
    transform 0.18s var(--home-ease),
    box-shadow 0.18s var(--home-ease);
  -webkit-tap-highlight-color: transparent;
}

.mapItem:hover {
  background: rgba(255, 255, 255, 0.05);
  transform: translateY(-2px);
}

.mapItem.is-active {
  border-color: rgba(2, 207, 92, 0.32);
  background: rgba(2, 207, 92, 0.08);
  box-shadow:
    0 0 0 1px rgba(2, 207, 92, 0.1) inset,
    0 22px 60px rgba(0, 0, 0, 0.42);
}

.mapLeft {
  display: inline-flex;
  align-items: center;
  gap: 10px;
}

.mapIco {
  width: 30px;
  height: 30px;
  flex: 0 0 30px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border-radius: 10px;
  background: rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.1);
  color: rgba(2, 207, 92, 0.95);
  font-size: 14px;
  line-height: 1;
  transition:
    background 0.18s var(--home-ease),
    border-color 0.18s var(--home-ease),
    box-shadow 0.18s var(--home-ease),
    transform 0.18s var(--home-ease);
}

.mapItem:hover .mapIco {
  background: rgba(2, 207, 92, 0.1);
  border-color: rgba(2, 207, 92, 0.35);
  transform: translateY(-1px);
}

.mapItem.is-active .mapIco {
  background: rgba(2, 207, 92, 0.14);
  border-color: rgba(2, 207, 92, 0.55);
  box-shadow: 0 0 18px rgba(2, 207, 92, 0.22);
}

.mapArrow {
  opacity: 0.7;
  transform: rotate(0deg);
  transition:
    transform 0.18s var(--home-ease),
    opacity 0.18s var(--home-ease);
}

.mapItem.is-active .mapArrow {
  transform: rotate(180deg);
  opacity: 0.95;
}

.mapPanel {
  display: none;
  padding: 14px 15px 15px;
  border-radius: 16px;
  border: 1px solid rgba(2, 207, 92, 0.22);
  background: rgba(2, 207, 92, 0.06);
}

.mapPanel.is-open {
  display: block;
  animation: panelIn 0.18s var(--home-ease) both;
}

@keyframes panelIn {
  from {
    opacity: 0;
    transform: translateY(-6px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

.mapSub {
  color: rgba(2, 207, 92, 0.95);
  font-weight: 900;
  font-size: 0.92rem;
  margin-bottom: 6px;
}

.mapText {
  color: rgba(255, 255, 255, 0.78);
  line-height: 1.7;
  font-size: 0.96rem;
}

.leaflet-container {
  background: #0b0c12;
}
#gtavMap,
#gtavMap.leaflet-container {
  background: #0b0c12 !important;
}
.leaflet-control-attribution {
  display: none !important;
}

.leaflet-control-zoom a {
  background: rgba(10, 10, 12, 0.85) !important;
  color: #fff !important;
  border: 1px solid rgba(255, 255, 255, 0.12) !important;
  transition:
    background 0.16s var(--home-ease),
    border-color 0.16s var(--home-ease);
}

.leaflet-control-zoom a:hover {
  background: rgba(2, 207, 92, 0.14) !important;
  border-color: rgba(2, 207, 92, 0.45) !important;
}

.frontCooldown {
  position: relative;
  z-index: 1;
  padding: 0 36px 36px;
}

.frontCooldown__inner {
  position: relative;
  overflow: hidden;
  border-radius: 24px;
  background:
    radial-gradient(
      75% 120% at 0% 0%,
      rgba(2, 207, 92, 0.18),
      rgba(2, 207, 92, 0) 42%
    ),
    linear-gradient(180deg, rgba(10, 10, 14, 0.96), rgba(8, 8, 12, 0.88));
  border: 1px solid rgba(2, 207, 92, 0.18);
  box-shadow:
    0 28px 80px rgba(0, 0, 0, 0.56),
    0 0 0 1px rgba(2, 207, 92, 0.05) inset;
  padding: 28px;
  backdrop-filter: blur(12px);
  -webkit-backdrop-filter: blur(12px);
}

.frontCooldown__inner::before {
  content: "";
  position: absolute;
  left: 24px;
  right: 24px;
  top: 0;
  height: 2px;
  border-radius: 999px;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0),
    rgba(2, 207, 92, 0.95),
    rgba(2, 207, 92, 0)
  );
  opacity: 0.9;
}

.frontCooldown__inner::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background: radial-gradient(
    40% 35% at 85% 20%,
    rgba(2, 207, 92, 0.1),
    rgba(2, 207, 92, 0) 70%
  );
}

.frontCooldown__top {
  position: relative;
  z-index: 1;
  display: flex;
  justify-content: space-between;
  align-items: flex-start;
  gap: 18px;
  margin-bottom: 22px;
}

.frontCooldown__badgeWrap {
  max-width: 760px;
}

.frontCooldown__eyebrow {
  margin: 0 0 10px;
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-size: 0.76rem;
  font-weight: 900;
  color: rgba(2, 207, 92, 0.95);
}

.frontCooldown__title {
  margin: 0;
  font-size: clamp(1.8rem, 3.2vw, 3rem);
  line-height: 1.05;
  font-weight: 900;
  letter-spacing: -0.03em;
  color: #fff;
  text-shadow: 0 12px 30px rgba(0, 0, 0, 0.45);
}

.frontCooldown__desc {
  margin: 12px 0 0;
  font-size: 0.98rem;
  line-height: 1.75;
  color: rgba(255, 255, 255, 0.72);
}

.frontCooldown__highlight {
  position: relative;
  z-index: 1;
  flex-shrink: 0;
  min-width: 120px;
  padding: 14px 16px;
  border-radius: 18px;
  text-align: center;
  background: rgba(2, 207, 92, 0.1);
  border: 1px solid rgba(2, 207, 92, 0.24);
  box-shadow: 0 0 28px rgba(2, 207, 92, 0.08);
}

.frontCooldown__highlightLabel {
  display: block;
  font-size: 0.72rem;
  font-weight: 900;
  letter-spacing: 0.14em;
  text-transform: uppercase;
  color: rgba(255, 255, 255, 0.58);
}

.frontCooldown__highlightValue {
  display: block;
  margin-top: 6px;
  font-size: 1.15rem;
  font-weight: 900;
  letter-spacing: 0.08em;
  color: #02cf5c;
  text-shadow: 0 0 18px rgba(2, 207, 92, 0.25);
}

.frontCooldown__timer {
  position: relative;
  z-index: 1;
  display: grid;
  grid-template-columns: repeat(4, minmax(0, 1fr));
  gap: 16px;
}

.frontCooldown__unit {
  position: relative;
  border-radius: 20px;
  background:
    linear-gradient(
      180deg,
      rgba(255, 255, 255, 0.05),
      rgba(255, 255, 255, 0.02)
    ),
    rgba(255, 255, 255, 0.03);
  border: 1px solid rgba(255, 255, 255, 0.08);
  padding: 24px 14px 20px;
  text-align: center;
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.04),
    0 18px 40px rgba(0, 0, 0, 0.28);
}

.frontCooldown__unit::before {
  content: "";
  position: absolute;
  left: 18px;
  right: 18px;
  top: 0;
  height: 1px;
  background: linear-gradient(
    90deg,
    rgba(2, 207, 92, 0),
    rgba(2, 207, 92, 0.8),
    rgba(2, 207, 92, 0)
  );
  opacity: 0.65;
}

.frontCooldown__number {
  display: block;
  font-size: clamp(2.2rem, 5vw, 3.6rem);
  line-height: 1;
  font-weight: 900;
  letter-spacing: -0.04em;
  color: #fff;
  text-shadow: 0 10px 26px rgba(0, 0, 0, 0.4);
}

.frontCooldown__label {
  display: block;
  margin-top: 10px;
  font-size: 0.8rem;
  font-weight: 800;
  color: rgba(255, 255, 255, 0.62);
  text-transform: uppercase;
  letter-spacing: 0.14em;
}

.frontCooldown--expired .frontCooldown__inner {
  opacity: 0.72;
}

@media (max-width: 1100px) {
  .hero__grid {
    grid-template-columns: 1fr;
  }

  .hero__main,
  .hero__side {
    min-width: 0;
  }

  .hero__subCards {
    grid-template-columns: 1fr;
  }

  .mapGrid {
    grid-template-columns: 1fr;
  }
}

@media (max-width: 900px) {
  .hero {
    min-height: auto;
    padding-top: 100px;
    padding-bottom: 38px;
  }

  .hero__inner,
  .container {
    width: min(100% - 24px, 1240px);
  }

  .hero__grid {
    padding: 18px;
    gap: 18px;
  }

  .frontCooldown {
    padding: 0 18px 18px;
  }

  .frontCooldown__top {
    flex-direction: column;
    align-items: flex-start;
  }

  .frontCooldown__highlight {
    width: 100%;
    max-width: 220px;
  }

  .frontCooldown__timer {
    grid-template-columns: repeat(2, minmax(0, 1fr));
  }

  .appGrid {
    grid-template-columns: 1fr;
  }

  .gtavMap {
    height: 520px;
  }
}

@media (max-width: 768px) {
  .hero__main,
  .hero__side {
    padding: 18px;
  }

  .hero__brandCard {
    flex-direction: column;
    align-items: flex-start;
  }

  .hero__quickStats {
    grid-template-columns: 1fr;
  }

  .hero__actions {
    display: grid;
    grid-template-columns: 1fr;
    width: 100%;
  }

  .hero__actions .btn,
  .hero__actionForm,
  .hero__actionForm button {
    width: 100%;
  }

  .section__header {
    text-align: left;
  }

  .section__sub {
    margin-left: 0;
    margin-right: 0;
  }
}

@media (max-width: 560px) {
  .hero {
    padding-top: 88px;
  }

  .hero__title {
    line-height: 1.02;
  }

  .hero__logo {
    width: 78px;
    height: 78px;
  }

  .appCard {
    min-height: 260px;
  }

  .gtavMap {
    height: 420px;
  }

  .frontCooldown__inner {
    padding: 18px;
  }

  .frontCooldown__title {
    font-size: 1.55rem;
  }

  .frontCooldown__desc {
    font-size: 0.92rem;
  }

  .frontCooldown__timer {
    grid-template-columns: 1fr 1fr;
    gap: 10px;
  }

  .frontCooldown__unit {
    padding: 18px 10px 16px;
  }

  .frontCooldown__number {
    font-size: 2rem;
  }
}
