/* ===== HEADER ===== */
.header {
  position: sticky;
  top: 0;
  z-index: 60;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  background: linear-gradient(180deg, rgba(7, 7, 13, 0.78), rgba(7, 7, 13, 0.22));
  border-bottom: 1px solid var(--line2);
}

.header__inner {
  height: 112px;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Split header (JOKER [logo] HOUSE) */
.header__inner--split {
  height: 120px;
  padding: 0px 0;
}

.brand-split {
  width: min(1040px, calc(100% - 40px));
  height: 108px;
  display: grid;
  grid-template-columns: 1fr auto 1fr;
  align-items: center;
  position: relative;
}

.brand-split .rail {
  position: absolute;
  left: 50%;
  top: 56%;
  transform: translate(-50%, -50%);
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.12), transparent);
  pointer-events: none;
  opacity: .9;
}

.brand-split__side {
  position: relative;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  font-weight: 1000;
  letter-spacing: .18em;
  text-transform: uppercase;
  font-size: clamp(30px, 3.4vw, 50px);
  line-height: 1;
  text-shadow: 0 22px 65px rgba(0, 0, 0, 0.78);
  padding: 10px 0;
}

.brand-split__side--left {
  justify-self: end;
  background: linear-gradient(90deg, rgba(247, 201, 101, 0.98), rgba(255, 255, 255, 0.92));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-split__side--right {
  justify-self: start;
  background: linear-gradient(90deg, rgba(255, 255, 255, 0.92), rgba(22, 243, 179, 0.98));
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
}

.brand-split__logoWrap {
  position: relative;
  z-index: 3;
  width: 250px;
  height: 112px;
  display: grid;
  place-items: center;
  overflow: visible;
}

.brand-split__joker {
  width: 250px;
  height: 140px;
  object-fit: contain;
  filter: drop-shadow(0 34px 64px rgba(0, 0, 0, 0.78));
}

.brand-split__logoWrap::after {
  content: "";
  position: absolute;
  left: 50%;
  top: 55%;
  transform: translate(-50%, -50%);
  width: 220px;
  height: 140px;
  background: radial-gradient(closest-side, rgba(22, 243, 179, 0.18), transparent 70%),
    radial-gradient(closest-side, rgba(247, 201, 101, 0.14), transparent 70%);
  filter: blur(2px);
  opacity: .9;
  z-index: -1;
  pointer-events: none;
}
