:root {
  --zhrp-red: #e31b36;
  --zhrp-red-dark: #8d0d20;
  --zhrp-bg: #080a0e;
  --zhrp-panel: rgba(16, 19, 25, 0.94);
  --zhrp-border: rgba(255, 255, 255, 0.1);
  --zhrp-text: #f4f5f7;
  --zhrp-muted: #a7adb8;
}

html,
body {
  background: var(--zhrp-bg) !important;
  color: var(--zhrp-muted) !important;
  min-height: 100%;
}

body {
  background-image:
    linear-gradient(180deg, rgba(5, 6, 9, 0.4), rgba(5, 6, 9, 0.96) 72%),
    url('../../../../../img/zhrp-hero.jpg?v=3') !important;
  background-position: center top !important;
  background-repeat: no-repeat !important;
  background-size: 100% auto !important;
}

body::before {
  background: linear-gradient(90deg, rgba(227, 27, 54, 0.12), transparent 35%, transparent 65%, rgba(227, 27, 54, 0.08));
  content: '';
  inset: 0;
  pointer-events: none;
  position: fixed;
  z-index: -1;
}

.backstretch,
.overlay {
  display: none !important;
}

.wrap {
  background: transparent !important;
}

.navbar,
.navbar-inverse {
  background: rgba(8, 10, 14, 0.97) !important;
  border-bottom: 1px solid rgba(227, 27, 54, 0.5) !important;
  box-shadow: 0 15px 42px rgba(0, 0, 0, 0.42);
  min-height: 72px;
}

.navbar-brand {
  background: url('../../../../../img/zhrp-logo.png') left center / contain no-repeat;
  display: block;
  height: 60px;
  min-width: 78px;
}

.navbar-brand img {
  opacity: 0;
}

.navbar .nav-link {
  color: #c9cdd4 !important;
  font-size: 13px !important;
  font-weight: 800 !important;
  letter-spacing: 0.08em;
  text-transform: uppercase;
}

.navbar .active > .nav-link,
.navbar .nav-link:hover {
  color: #fff !important;
}

.navbar .active > .nav-link {
  box-shadow: inset 0 -2px 0 var(--zhrp-red);
}

.banner {
  background:
    linear-gradient(90deg, rgba(4, 5, 8, 0.92), rgba(4, 5, 8, 0.18) 50%, rgba(4, 5, 8, 0.9)),
    url('../../../../../img/zhrp-hero.jpg?v=3') center 44% / cover no-repeat !important;
  border-bottom: 1px solid rgba(227, 27, 54, 0.38);
  min-height: 260px !important;
}

.banner img {
  display: none;
}

.jumbotron {
  padding-bottom: 2.5rem;
  padding-top: 3rem;
}

.jumbotron h1 {
  font-size: clamp(2.2rem, 5vw, 4.8rem);
  font-weight: 900;
  letter-spacing: 0.08em;
  text-shadow: 0 4px 24px #000;
}

.jumbotron > p {
  color: #d6d9df !important;
  font-size: clamp(0.9rem, 1.4vw, 1.2rem);
  font-weight: 800;
  letter-spacing: 0.22em;
}

.jumbotron > img {
  filter: drop-shadow(0 18px 34px rgba(0, 0, 0, 0.72));
  max-height: 360px;
  max-width: min(92%, 620px) !important;
  object-fit: contain;
}

.card,
.panel-body,
.store-box,
.news-block,
.stat-box,
.dashboard-widget-small-box,
.darker-box,
.bs-callout,
.credit-content,
.featured-pkg {
  background: var(--zhrp-panel) !important;
  border: 1px solid var(--zhrp-border) !important;
  border-radius: 6px !important;
  box-shadow: 0 14px 34px rgba(0, 0, 0, 0.3);
}

.card,
.store-box {
  overflow: hidden;
  transition: border-color 160ms ease, box-shadow 160ms ease, transform 160ms ease;
}

.card:hover,
.store-box:hover {
  border-color: rgba(227, 27, 54, 0.56) !important;
  box-shadow: 0 18px 45px rgba(0, 0, 0, 0.43), 0 0 28px rgba(227, 27, 54, 0.09);
  transform: translateY(-3px);
}

.card-title,
.panel-header,
.store-box-header,
.stat-box-header,
.content-page-top,
h1,
h2,
h3,
h4,
h5,
h6 {
  color: var(--zhrp-text) !important;
}

.panel-header,
.store-box-header,
.stat-box-header,
.content-page-top,
.ticket-header {
  background: linear-gradient(90deg, #191c23, #101218) !important;
  border-bottom: 1px solid rgba(227, 27, 54, 0.35) !important;
}

.btn-mercury,
.btn-primary,
.buy-btn,
.categoryLink,
.sale-box {
  background: linear-gradient(135deg, var(--zhrp-red), var(--zhrp-red-dark)) !important;
  border: 1px solid #ef4057 !important;
  border-radius: 4px !important;
  box-shadow: 0 8px 20px rgba(227, 27, 54, 0.2);
  color: #fff !important;
  font-weight: 800;
  letter-spacing: 0.045em;
  text-transform: uppercase;
}

.btn-mercury:hover,
.btn-primary:hover,
.buy-btn:hover,
.categoryLink:hover {
  filter: brightness(1.13);
  text-decoration: none !important;
  transform: translateY(-1px);
}

.form-control,
.custom-select,
.dropdown-menu,
.btn-prom {
  background: #11141a !important;
  border: 1px solid var(--zhrp-border) !important;
  border-radius: 4px !important;
  color: var(--zhrp-text) !important;
}

.form-control:focus,
.custom-select:focus {
  border-color: var(--zhrp-red) !important;
  box-shadow: 0 0 0 3px rgba(227, 27, 54, 0.14) !important;
}

.dropdown-item {
  color: #daddE3 !important;
}

.dropdown-item:hover,
.dropdown-item:focus {
  background: #211317 !important;
  color: #fff !important;
}

a {
  color: #f13b52;
}

a:hover {
  color: #ff6377;
}

a:focus-visible,
button:focus-visible,
input:focus-visible,
select:focus-visible {
  outline: 2px solid #ff6377;
  outline-offset: 2px;
}

.footer {
  background: rgba(7, 9, 12, 0.98) !important;
  border-top: 1px solid rgba(227, 27, 54, 0.28);
}

@media (max-width: 767.98px) {
  body {
    background-size: auto 520px !important;
  }

  .navbar-brand {
    height: 52px;
    margin-left: 12px;
  }

  .jumbotron {
    padding: 2rem 0;
  }

  .jumbotron .d-flex {
    align-items: stretch !important;
    flex-direction: column;
    gap: 10px;
  }

  .jumbotron .d-flex .btn {
    margin: 0 !important;
  }

  .banner {
    min-height: 185px !important;
  }
}
