/* Novum homepage adaptation layer. */

:root {
  --accent: #e3262e;
  --accent-h: #ff3b42;
  --accent-dim: rgba(227, 38, 46, 0.12);
  --accent-ring: rgba(227, 38, 46, 0.3);
  --glow-red: rgba(227, 38, 46, 0.55);
}

[hidden] {
  display: none !important;
}

body.home-page {
  background: #07070b;
  color: #f4f4f7;
  font-family: Inter, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
}

/* Keep the complete landing page visible even if a browser blocks page scripts. */
.home-page [data-reveal] {
  opacity: 1;
  transform: none;
}

.home-page .brand-icon {
  overflow: visible;
  background: transparent;
}

.home-page .brand-logo-img {
  object-fit: contain;
  filter: drop-shadow(0 0 11px rgba(227, 38, 46, 0.28));
}

.home-page .hero-nav-right {
  gap: 8px;
}

.home-page .hero-nav-right a,
.home-page .nav-resell-btn,
.home-page .nav-login-btn {
  text-decoration: none !important;
}

.home-page .brand-lockup {
  display: inline-flex;
  width: 166px;
  height: 42px;
  align-items: center;
}

.home-page .brand-lockup > img {
  display: block;
  width: 100%;
  height: auto;
  object-fit: contain;
}

.home-page .hero-nav--scrolled .brand-lockup {
  width: 118px;
  height: 29px;
}

.home-page .nav-cart-btn {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 38px;
  height: 38px;
  padding: 0;
}

.home-page .nav-cart-btn .cart-count {
  position: absolute;
  top: -5px;
  right: -5px;
  display: grid;
  width: 17px;
  height: 17px;
  place-items: center;
  border: 2px solid #0d0d13;
  border-radius: 50%;
  background: var(--accent);
  color: #fff;
  font-size: 8px;
  line-height: 1;
}

.home-page .nav-link.is-active {
  color: #fff;
  background: rgba(255, 255, 255, 0.055);
}

.home-page .header-search[hidden] {
  display: none !important;
}

.home-page .nav-mobile-menu {
  display: none;
}

.home-page .nav-mobile-menu.open {
  display: flex;
}

.home-page .hx-media {
  background: #07070b;
  background-image: none;
  box-shadow: none;
}

.home-page .hx-media > img,
.home-page .hx-media > video {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center right;
  opacity: 0;
  filter: saturate(0.94) brightness(0.92);
  box-shadow: none;
  transform: none;
  transition: opacity 0.5s ease;
}

.home-page .hx-media > img.active,
.home-page .hx-media > video.active {
  opacity: 1;
  transform: none;
}

.home-page .hx-media::before,
.home-page .hx-media::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  pointer-events: none;
  content: "";
  box-shadow: none;
}

.home-page .hx-media::before {
  background: linear-gradient(90deg, rgba(7, 7, 11, 0.78) 0%, rgba(7, 7, 11, 0.46) 30%, rgba(7, 7, 11, 0.16) 58%, transparent 82%);
}

.home-page .hx-media::after {
  background: linear-gradient(180deg, rgba(7, 7, 11, 0.08) 0%, transparent 58%, rgba(7, 7, 11, 0.5) 100%);
}

.home-page .hero {
  min-height: min(100svh, 980px);
  border-bottom: 0;
}

.home-page .hero::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -1px;
  left: 0;
  z-index: 3;
  width: auto;
  height: clamp(56px, 6vw, 84px);
  transform: none;
  background: linear-gradient(180deg, rgba(7, 7, 11, 0) 0%, rgba(7, 7, 11, 0.58) 52%, #07070b 100%);
  box-shadow: none;
  pointer-events: none;
}

.home-page .hero-headline {
  max-width: 760px;
  overflow: visible;
  padding-right: 0.18em;
  padding-bottom: 0.16em;
}

.home-page .hx-rot {
  width: max-content;
  max-width: none;
  overflow: visible !important;
  padding: 0.08em 0.2em 0.26em 0.04em;
  margin: -0.08em 0 -0.26em -0.04em;
  line-height: 1.06;
  clip-path: none;
  contain: none;
}

.home-page .hx-rot-word {
  display: block;
  overflow: visible !important;
  padding: 0.02em 0.12em 0.16em 0.02em;
  margin: -0.02em -0.12em -0.16em -0.02em;
  clip-path: none;
  contain: none;
}

.home-page .hero-sub {
  color: #e1e1e9;
  font-weight: 450;
  text-shadow: 0 2px 18px rgba(0, 0, 0, 0.78);
}

.home-page .hx-trust {
  color: #d8d8e2;
  text-shadow: 0 2px 14px rgba(0, 0, 0, 0.76);
}

.home-page .hx-trust strong {
  color: #fff;
}

.home-page .hx-trust-ico {
  color: #ff666e;
}

.home-page .hx-trust-stars {
  color: #f5c451;
  letter-spacing: 1px;
}

.home-page [data-discord-online] {
  font-variant-numeric: tabular-nums;
}

.home-page .site-footer::before {
  content: none;
}

.status-static-page .status-page-wrap::before {
  top: -80px;
  height: 700px;
}

.home-page .promo-ticker {
  color: #fff;
  text-decoration: none;
}

.home-page .section-anchor-proxy {
  position: absolute;
  top: -70px;
}

.home-page .products-section {
  position: relative;
  background-image:
    linear-gradient(180deg, #07070b 0, rgba(7, 7, 11, 0.82) 22px, rgba(7, 7, 11, 0) 72px),
    radial-gradient(circle, rgba(255, 255, 255, 0.022) 1px, transparent 1px);
}

.home-page .products-grid {
  display: grid;
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 22px;
  max-width: 960px;
  margin-inline: auto;
}

.home-page .product-card {
  position: relative;
  min-width: 0;
  padding: 7px;
  display: flex;
  overflow: hidden;
  flex-direction: column;
  border: 1px solid rgba(255, 255, 255, 0.1);
  border-radius: 22px;
  background:
    radial-gradient(circle at 50% 0%, rgba(225, 39, 48, 0.08), transparent 38%),
    linear-gradient(180deg, rgba(255, 255, 255, 0.055), rgba(255, 255, 255, 0.018));
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.045),
    0 18px 50px rgba(0, 0, 0, 0.22);
  color: inherit;
  text-decoration: none;
  transition: transform 0.28s cubic-bezier(0.2, 0.8, 0.2, 1), border-color 0.28s ease, box-shadow 0.28s ease;
}

.home-page .product-card:hover {
  transform: translateY(-5px);
  border-color: rgba(238, 50, 59, 0.32);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.07),
    0 20px 50px -30px rgba(225, 39, 48, 0.42),
    0 16px 42px rgba(0, 0, 0, 0.3);
}

.home-page .product-card-banner {
  position: relative;
  display: block;
  overflow: hidden;
  aspect-ratio: 16 / 9;
  border: 1px solid rgba(255, 255, 255, 0.06);
  border-radius: 16px;
  background: #0a0a0d;
}

.home-page .product-card-banner::after {
  position: absolute;
  inset: 0;
  z-index: 1;
  background: linear-gradient(180deg, transparent 56%, rgba(4, 4, 7, 0.34));
  content: "";
  pointer-events: none;
}

.home-page .product-card-banner > img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1), filter 0.35s ease;
}

.home-page .product-card:hover .product-card-banner > img {
  transform: scale(1.035);
  filter: saturate(1.08) contrast(1.03);
}

.home-page .product-badge {
  z-index: 2;
  padding: 6px 9px;
  border: 1px solid rgba(255, 96, 104, 0.42);
  border-radius: 999px;
  background: rgba(13, 9, 12, 0.86);
  box-shadow: 0 7px 18px rgba(0, 0, 0, 0.3);
  color: #ff757c;
  font-size: 10px;
  font-weight: 750;
  letter-spacing: 0.08em;
  text-transform: uppercase;
  backdrop-filter: blur(12px);
}

.home-page .product-card-body {
  padding: 21px 17px 15px;
}

.home-page .product-card-name {
  margin-bottom: 8px;
  font-size: 19px;
  font-weight: 680;
  letter-spacing: -0.035em;
}

.home-page .product-card-desc {
  min-height: 44px;
  margin-bottom: 20px;
  color: #94949f;
  font-size: 13.5px;
  line-height: 1.6;
}

.home-page .product-card-btn {
  height: 46px;
  border-color: rgba(255, 255, 255, 0.11);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.045);
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.045);
  transition: color 0.22s ease, background 0.22s ease, border-color 0.22s ease, box-shadow 0.22s ease;
}

.home-page .product-card .product-card-btn,
.home-page .product-card:hover .product-card-btn {
  border-color: rgba(255, 115, 122, 0.34);
  background: linear-gradient(180deg, #ed3b45, #c8212a);
  box-shadow:
    inset 0 1px 0 rgba(255, 255, 255, 0.18),
    0 12px 28px -16px rgba(225, 39, 48, 0.9);
  color: #fff;
}

.home-page .product-card:hover .product-card-btn {
  border-color: rgba(255, 142, 147, 0.58);
  background: linear-gradient(180deg, #f24851, #d3242e);
}

.home-page .product-card:hover .product-card-btn.is-disabled {
  border-color: rgba(255, 255, 255, 0.08);
  background: rgba(255, 255, 255, 0.025);
  color: #70707a;
}

.home-page .product-card-btn::after {
  content: "\2192";
}

.home-page .product-card-btn.is-disabled::after {
  content: none;
}

.home-page .hero-nav-center .nav-dropdown {
  position: relative;
  height: 31px;
}

.home-page .hero-nav-center .nav-dropdown-toggle {
  border: 0;
  background: transparent;
  font-family: inherit;
  cursor: pointer;
}

.home-page .hero-nav-center .nav-dropdown-toggle:hover,
.home-page .hero-nav-center .nav-dropdown.is-open .nav-dropdown-toggle {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.home-page .nav-dropdown-chevron {
  width: 13px;
  height: 13px;
  margin-left: 1px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
  transition: transform 160ms ease;
}

.home-page .nav-dropdown.is-open .nav-dropdown-chevron {
  transform: rotate(180deg);
}

.home-page .hero-nav-center .nav-dropdown-menu {
  position: absolute;
  top: calc(100% + 14px);
  right: 0;
  z-index: 300;
  display: grid;
  width: 218px;
  padding: 7px;
  border: 1px solid rgba(255, 255, 255, 0.09);
  border-radius: 18px;
  background: linear-gradient(180deg, #191920 0%, #111117 42%, #0d0d13 100%);
  box-shadow: inset 0 1px rgba(255, 255, 255, 0.06), 0 10px 25px -5px rgba(0, 0, 0, 0.45), 0 30px 60px -20px rgba(0, 0, 0, 0.65);
  backdrop-filter: blur(20px) saturate(1.5);
  -webkit-backdrop-filter: blur(20px) saturate(1.5);
  opacity: 0;
  pointer-events: none;
  transform: translateY(-7px) scale(0.98);
  transform-origin: top right;
  transition: opacity 150ms ease, transform 150ms ease;
}

.home-page .hero-nav-center .nav-dropdown.is-open .nav-dropdown-menu {
  opacity: 1;
  pointer-events: auto;
  transform: none;
}

.home-page .hero-nav-center .nav-dropdown-menu a {
  display: grid;
  min-height: 42px;
  grid-template-columns: 19px minmax(0, 1fr) auto;
  align-items: center;
  gap: 10px;
  padding: 0 10px;
  border-radius: 9px;
  color: rgba(255, 255, 255, 0.66);
  font-size: 12px;
  font-weight: 550;
  text-decoration: none;
  transition: color 150ms ease, background 150ms ease;
}

.home-page .hero-nav-center .nav-dropdown-menu a:hover {
  color: #fff;
  background: rgba(255, 255, 255, 0.07);
}

.home-page .hero-nav-center .nav-dropdown-menu a > svg {
  width: 17px;
  height: 17px;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.55;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .hero-nav-center .nav-dropdown-menu a:hover > svg {
  stroke: currentColor;
}

.home-page .hero-nav-center .nav-dropdown-menu b {
  color: #51515d;
  font-size: 16px;
  font-weight: 400;
}

.home-page .empty-state {
  padding: 32px;
  color: #8b8b9d;
  text-align: center;
}

.home-page .novum-review-avatars > span {
  display: grid;
  width: 34px;
  height: 34px;
  place-items: center;
  border: 2px solid #111118;
  border-radius: 50%;
  background: linear-gradient(145deg, #272734, #17171f);
  color: #b7b7c3;
  font-size: 9px;
  font-weight: 750;
}

.home-page .novum-discord-preview {
  display: grid;
  min-height: 360px;
  grid-template-columns: 170px 1fr;
}

.home-page .dcp-server-head {
  display: flex;
  align-items: center;
  gap: 9px;
}

.home-page .dcp-server-head img {
  border-radius: 7px;
  object-fit: contain;
}

.home-page .dcp-ch-btn {
  display: flex;
  align-items: center;
  gap: 7px;
}

.home-page .dcp-ch-btn.is-active {
  background: rgba(255, 255, 255, 0.07);
  color: #dadbe1;
}

.home-page .novum-avatar {
  display: grid;
  place-items: center;
  background: #2a2a35;
  color: #c7c7d0;
  font-size: 11px;
  font-weight: 750;
}

body.modal-open {
  overflow: hidden;
}

.home-page .cart-layer {
  position: fixed;
  inset: 0;
  z-index: 4800;
  color: #f4f4f7;
  font-family: Inter, system-ui, sans-serif;
}

.home-page .cart-backdrop {
  position: absolute;
  inset: 0;
  width: 100%;
  height: 100%;
  padding: 0;
  border: 0;
  background: rgba(0, 0, 0, 0.48);
  opacity: 0;
  cursor: default;
  transition: opacity 300ms ease;
}

.home-page .cart-layer.is-open .cart-backdrop {
  opacity: 1;
}

.home-page .cart-drawer {
  position: absolute;
  top: 0;
  right: 0;
  display: flex;
  width: min(100%, 400px);
  height: 100%;
  flex-direction: column;
  border-left: 1px solid rgba(255, 255, 255, 0.08);
  background: linear-gradient(180deg, #18181f 0%, #101016 18%, #0c0c11 100%);
  box-shadow: inset 1px 0 rgba(255, 255, 255, 0.045), -24px 0 80px rgba(0, 0, 0, 0.58);
  backdrop-filter: blur(24px) saturate(1.3);
  -webkit-backdrop-filter: blur(24px) saturate(1.3);
  transform: translateX(100%);
  transition: transform 300ms ease-in-out;
}

.home-page .cart-layer.is-open .cart-drawer {
  transform: none;
}

.home-page .cart-header {
  display: flex;
  min-height: 56px;
  align-items: center;
  justify-content: space-between;
  padding: 16px 20px;
  border-bottom: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(255, 255, 255, 0.025);
}

.home-page .cart-header > div,
.home-page .cart-item-top,
.home-page .cart-item-actions,
.home-page .cart-footer > div {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 10px;
}

.home-page .cart-header > div {
  justify-content: flex-start;
}

.home-page .cart-header svg,
.home-page .cart-empty svg,
.home-page .remove-cart-item svg {
  width: 18px;
  height: 18px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.home-page .cart-header > div > span {
  display: grid;
  min-width: 20px;
  height: 20px;
  place-items: center;
  padding: 0 5px;
  border-radius: 999px;
  background: rgba(255, 255, 255, 0.06);
  color: #71717a;
  font-size: 11px;
  font-weight: 700;
}

.home-page .cart-header > button,
.home-page .remove-cart-item {
  display: grid;
  width: 28px;
  height: 28px;
  place-items: center;
  padding: 0;
  border: 0;
  border-radius: 8px;
  background: transparent;
  color: #71717a;
  cursor: pointer;
}

.home-page .cart-header > button {
  font-size: 20px;
}

.home-page .cart-header > button:hover,
.home-page .remove-cart-item:hover {
  background: rgba(255, 255, 255, 0.05);
  color: #fff;
}

.home-page .cart-body {
  min-height: 0;
  flex: 1;
  overflow-y: auto;
}

.home-page .cart-empty {
  display: flex;
  min-height: 390px;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 45px 25px;
  flex-direction: column;
  text-align: center;
}

.home-page .cart-empty > span {
  display: grid;
  width: 58px;
  height: 58px;
  margin-bottom: 18px;
  place-items: center;
  border: 1px solid rgba(255, 255, 255, 0.08);
  border-radius: 16px;
  background: rgba(255, 255, 255, 0.025);
  color: #5a5a64;
}

.home-page .cart-empty p {
  margin: 7px 0 20px;
  color: #71717a;
  font-size: 11px;
}

.home-page .cart-empty button,
.home-page .cart-footer > button {
  min-height: 40px;
  padding: 0 17px;
  border: 1px solid rgba(240, 50, 50, 0.28);
  border-radius: 10px;
  background: var(--accent);
  color: #fff;
  font: inherit;
  font-size: 12px;
  font-weight: 700;
  cursor: pointer;
}

.home-page .cart-items {
  padding: 8px 0;
}

.home-page .cart-item {
  display: flex;
  gap: 14px;
  padding: 14px 20px;
}

.home-page .cart-item:hover {
  background: rgba(255, 255, 255, 0.02);
}

.home-page .cart-item-image {
  display: grid;
  width: 62px;
  height: 62px;
  flex: 0 0 62px;
  place-items: center;
  overflow: hidden;
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.04);
}

.home-page .cart-item-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.home-page .cart-item-main {
  display: flex;
  min-width: 0;
  flex: 1;
  flex-direction: column;
  justify-content: space-between;
  padding-block: 2px;
}

.home-page .cart-item-top > div {
  display: grid;
  min-width: 0;
  gap: 2px;
}

.home-page .cart-item-top strong {
  overflow: hidden;
  color: #fff;
  font-size: 13px;
  text-overflow: ellipsis;
  white-space: nowrap;
}

.home-page .cart-item-top span {
  color: #71717a;
  font-size: 12px;
}

.home-page .cart-item-actions {
  margin-top: 10px;
}

.home-page .cart-item-actions > div {
  display: flex;
  align-items: center;
  gap: 4px;
}

.home-page .cart-item-actions > div button,
.home-page .cart-item-actions > div span {
  display: grid;
  width: 24px;
  height: 24px;
  place-items: center;
  border: 0;
  border-radius: 6px;
  background: rgba(255, 255, 255, 0.05);
  color: #a1a1aa;
  font-size: 13px;
}

.home-page .cart-item-actions > div button {
  cursor: pointer;
}

.home-page .cart-item-actions > div span {
  background: transparent;
  color: #fff;
  font-weight: 600;
}

.home-page .remove-cart-item svg {
  width: 13px;
  height: 13px;
}

.home-page .cart-footer {
  padding: 16px 20px;
  border-top: 1px solid rgba(255, 255, 255, 0.06);
  background: rgba(18, 18, 24, 0.96);
}

.home-page .cart-footer > div {
  margin-bottom: 12px;
}

.home-page .cart-footer > div span {
  color: #71717a;
  font-size: 13px;
}

.home-page .cart-footer > div strong {
  font-size: 18px;
}

.home-page .cart-footer > button {
  display: flex;
  width: 100%;
  height: 44px;
  align-items: center;
  justify-content: center;
  gap: 9px;
  border: 0;
  border-radius: 12px;
  font-size: 14px;
}

@media (max-width: 900px) {
  .home-page .products-grid {
    max-width: 760px;
  }

  .home-page .novum-discord-preview {
    grid-template-columns: 135px 1fr;
  }
}

@media (max-width: 720px) {
  .home-page .products-grid {
    grid-template-columns: 1fr;
    max-width: 520px;
  }
}

@media (max-width: 680px) {
  .home-page .brand-lockup {
    width: 142px;
    height: 35px;
  }

  .home-page .nav-mobile-menu {
    flex-direction: column;
  }

  .home-page .hx-media > img,
  .home-page .hx-media > video {
    object-position: 66% center;
  }

  .home-page .novum-discord-preview {
    min-height: 320px;
    grid-template-columns: 112px 1fr;
  }

  .home-page .dcp-msg-text {
    font-size: 10px;
  }

}
