.header-band {
  position: relative;
  z-index: 10;
}

.header-band-top {
  position: relative;
  z-index: 3;
  overflow: visible;
  background: var(--header-band-bg);
  box-shadow: inset 0 -1px 0 rgba(92, 75, 63, 0.04);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
}

.header-band-top::before {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.84), rgba(255, 255, 255, 0.3) 56%, rgba(148, 123, 104, 0.02)),
    radial-gradient(circle at 12% 20%, rgba(133, 46, 62, 0.022), transparent 20%),
    radial-gradient(circle at 88% 24%, rgba(49, 66, 94, 0.022), transparent 22%),
    linear-gradient(90deg, rgba(133, 46, 62, 0.01) 1px, transparent 1px),
    linear-gradient(rgba(49, 66, 94, 0.009) 1px, transparent 1px);
  background-size: auto, auto, auto, 118px 118px, 118px 118px;
  background-position: 0 0, 0 0, 0 0, 18px 12px, 18px 12px;
}

.header-band-bottom {
  position: relative;
  z-index: 2;
  height: 12px;
  background:
    linear-gradient(90deg, rgba(78, 25, 38, 0.98) 0%, rgba(99, 33, 49, 0.98) 42%, rgba(49, 66, 94, 0.96) 100%);
  box-shadow: 0 10px 20px rgba(20, 14, 16, 0.12);
}

.header-band-bottom::before {
  content: "";
  position: absolute;
  inset: 0;
  background:
    linear-gradient(180deg, rgba(255, 255, 255, 0.08), rgba(255, 255, 255, 0.025) 48%, rgba(0, 0, 0, 0.16));
  pointer-events: none;
}

.header-band-bottom::after {
  content: "";
  position: absolute;
  top: 0;
  right: 0;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(215, 194, 161, 0), rgba(255, 248, 238, 0.68) 50%, rgba(215, 194, 161, 0));
  opacity: 0.88;
}

.header-shell {
  position: relative;
  overflow: visible;
  width: min(var(--hero-width), calc(100% - 64px));
  margin: 0 auto;
}

.header-band-top .header-shell {
  padding: 14px 0 10px;
}

.header-band-bottom .header-shell {
  padding: 0;
}

.header-shell::after {
  content: none;
}

.header-inner {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  min-height: 74px;
  padding: 0;
}

.brand {
  flex: 0 0 auto;
  display: grid;
  justify-items: center;
  align-items: start;
  width: max-content;
  gap: 0.18rem;
  line-height: 1;
  text-transform: none;
  text-shadow: none;
  cursor: pointer;
  transform-origin: center center;
  transition: transform 0.2s ease;
}

.brand::before {
  content: "";
  grid-area: 1 / 1;
  width: calc(100% + 18px);
  height: calc(100% + 12px);
  border-radius: 18px;
  background:
    radial-gradient(circle at 50% 50%, rgba(141, 205, 255, 0.18), rgba(141, 205, 255, 0.04) 58%, transparent 76%),
    linear-gradient(135deg, rgba(255, 255, 255, 0.12), rgba(255, 255, 255, 0));
  opacity: 0;
  transform: scale(0.92);
  pointer-events: none;
  transition: opacity 0.22s ease, transform 0.22s ease;
}

.header-utility-row {
  display: flex;
  align-items: center;
  justify-content: flex-end;
  flex: 0 0 auto;
  gap: 10px;
}

.header-nav-row {
  display: flex;
  align-items: center;
  justify-content: center;
  flex: 1 1 auto;
  min-width: 0;
  min-height: 0;
  padding: 0 12px;
  gap: 0;
}

.header-search-wrap {
  position: relative;
  z-index: 8;
  display: flex;
  align-items: center;
}

.header-search-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.7rem;
  height: 2.7rem;
  padding: 0;
  border: 0;
  border-radius: 0;
  background: transparent;
  color: rgba(58, 47, 42, 0.78);
  box-shadow: none;
  transition: transform 0.18s ease, opacity 0.18s ease;
}

.header-search-toggle img {
  width: 1.42rem;
  height: 1.42rem;
  display: block;
  filter: brightness(0) saturate(100%);
  opacity: 0.72;
  transition: opacity 0.18s ease, transform 0.18s ease;
}

.header-search-toggle:hover,
.header-search-toggle:focus-visible,
.header-search-wrap.is-open .header-search-toggle {
  transform: translateY(-1px);
  opacity: 1;
}

.header-search-toggle:hover img,
.header-search-toggle:focus-visible img,
.header-search-wrap.is-open .header-search-toggle img {
  opacity: 0.96;
  transform: scale(1.03);
}

.header-search-panel {
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  z-index: 20;
  width: min(30rem, calc(100vw - 32px));
  padding: 18px;
  background:
    linear-gradient(180deg, rgba(254, 252, 249, 0.985), rgba(245, 241, 236, 0.985)),
    radial-gradient(circle at top left, rgba(133, 46, 62, 0.04), transparent 42%),
    radial-gradient(circle at top right, rgba(49, 66, 94, 0.04), transparent 42%);
  border: 1px solid rgba(92, 75, 63, 0.12);
  border-radius: 18px;
  box-shadow: 0 24px 40px rgba(27, 20, 18, 0.16), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.header-search-form {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
}

.header-search-input {
  min-height: 48px;
  width: 100%;
  padding: 0 16px;
  border: 1px solid rgba(111, 92, 80, 0.18);
  border-radius: 14px;
  background: rgba(255, 255, 255, 0.96);
  color: var(--ink);
  font-family: var(--font-body);
  font-size: 0.96rem;
  box-shadow: inset 0 1px 0 rgba(255, 255, 255, 0.84);
}

.header-search-submit {
  min-height: 48px;
  padding: 0 18px;
  border: 0;
  border-radius: 14px;
  background: linear-gradient(180deg, #8b2a3f 0%, #6f2333 100%);
  color: #fff7f2;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  box-shadow: 0 16px 24px rgba(57, 21, 30, 0.28);
  transition: transform 0.18s ease, box-shadow 0.18s ease, background 0.18s ease;
}

.header-search-submit:hover,
.header-search-submit:focus-visible {
  transform: translateY(-1px);
  background: linear-gradient(180deg, #963047 0%, #7a2739 100%);
  box-shadow: 0 20px 28px rgba(57, 21, 30, 0.34);
}

.header-search-note {
  margin: 10px 2px 0;
  font-size: 0.82rem;
  line-height: 1.5;
  color: rgba(58, 47, 42, 0.72);
}

.header-search-suggestions {
  display: grid;
  gap: 8px;
  margin-top: 12px;
}

.header-search-combobox {
  min-width: 0;
}

.header-search-suggestion {
  display: grid;
  grid-template-columns: minmax(0, 1fr) auto;
  gap: 10px;
  align-items: center;
  min-height: 42px;
  padding: 0 14px;
  border: 1px solid rgba(92, 75, 63, 0.1);
  border-radius: 12px;
  background: rgba(255, 255, 255, 0.74);
  color: rgba(58, 47, 42, 0.88);
  transition: transform 0.18s ease, border-color 0.18s ease, box-shadow 0.18s ease;
}

.header-search-suggestion:hover,
.header-search-suggestion:focus-visible {
  transform: translateY(-1px);
  border-color: rgba(133, 38, 58, 0.22);
  box-shadow: 0 12px 20px rgba(27, 20, 18, 0.08);
}

.header-search-suggestion.is-active {
  transform: translateY(-1px);
  border-color: rgba(133, 38, 58, 0.3);
  box-shadow: 0 12px 20px rgba(27, 20, 18, 0.08);
  background: rgba(133, 38, 58, 0.08);
}

.header-search-suggestion-label {
  min-width: 0;
  font-size: 0.88rem;
  line-height: 1.35;
}

.header-search-suggestion-type {
  display: inline-flex;
  align-items: center;
  min-height: 24px;
  padding: 0 8px;
  border-radius: 999px;
  background: rgba(133, 38, 58, 0.08);
  font-family: var(--font-ui);
  font-size: 0.64rem;
  font-weight: 700;
  letter-spacing: 0.04em;
  text-transform: uppercase;
  color: var(--maroon);
}

body.site-modal-open {
  overflow: hidden;
}

.site-modal[hidden],
.site-modal-backdrop[hidden] {
  display: none !important;
}

.site-modal-backdrop {
  position: fixed;
  inset: 0;
  z-index: 90;
  background: rgba(10, 7, 9, 0.58);
  backdrop-filter: blur(4px);
  -webkit-backdrop-filter: blur(4px);
}

.site-modal {
  position: fixed;
  inset: 0;
  z-index: 91;
  display: grid;
  place-items: center;
  padding: 24px;
}

.site-modal-card {
  position: relative;
  width: min(36rem, 100%);
  padding: 34px 34px 30px;
  background: linear-gradient(180deg, rgba(252, 247, 242, 0.98), rgba(244, 236, 227, 0.98));
  border: 1px solid rgba(70, 56, 48, 0.12);
  border-radius: 22px;
  box-shadow: 0 34px 60px rgba(12, 8, 10, 0.28), inset 0 1px 0 rgba(255, 255, 255, 0.82);
}

.site-modal-close {
  position: absolute;
  top: 12px;
  right: 12px;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 2.4rem;
  height: 2.4rem;
  padding: 0;
  border: 0;
  border-radius: 999px;
  background: rgba(133, 38, 58, 0.08);
  color: var(--maroon);
  font-size: 1.4rem;
  line-height: 1;
}

.site-modal-eyebrow {
  margin-bottom: 0.5rem;
  font-family: var(--font-ui);
  font-size: 0.72rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
  color: rgba(52, 42, 37, 0.58);
}

.site-modal-title {
  max-width: 15ch;
  margin: 0 0 1rem;
  font-family: var(--font-display);
  font-size: clamp(2rem, 4vw, 2.5rem);
  font-weight: var(--display-weight);
  line-height: 0.98;
  letter-spacing: var(--display-spacing);
  color: var(--ink);
}

.site-modal-copy {
  margin: 0;
  max-width: 28rem;
  line-height: 1.72;
  color: rgba(52, 42, 37, 0.78);
}

.site-modal-actions {
  display: flex;
  flex-wrap: wrap;
  justify-content: flex-start;
  gap: 14px;
  margin-top: 1.9rem;
}

.site-modal-cancel,
.site-modal-continue {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 48px;
  padding: 0 20px;
  border-radius: 999px;
  font-family: var(--font-ui);
  font-size: 0.74rem;
  font-weight: 700;
  letter-spacing: 0.03em;
  text-transform: none;
}

.site-modal-cancel {
  border: 1px solid rgba(70, 56, 48, 0.12);
  background: rgba(255, 255, 255, 0.72);
  color: var(--ink);
}

.site-modal-continue {
  min-width: 17rem;
  border: 1px solid rgba(255, 255, 255, 0.1);
  background: linear-gradient(180deg, #8b2a3f 0%, #6f2333 100%);
  color: #fff7f2;
  text-align: center;
  box-shadow: 0 18px 28px rgba(57, 21, 30, 0.26);
}

.site-modal-cancel:hover,
.site-modal-cancel:focus-visible,
.site-modal-continue:hover,
.site-modal-continue:focus-visible {
  transform: translateY(-1px);
}

.brand-logo {
  grid-area: 1 / 1;
  display: block;
  width: min(275px, 100%);
  max-width: 100%;
  height: auto;
  aspect-ratio: 275 / 86;
  filter: drop-shadow(0 8px 16px rgba(10, 18, 30, 0.08));
  transform-origin: center center;
  animation: brand-logo-idle 4.8s ease-in-out infinite;
  transition: transform 0.22s ease, filter 0.22s ease, opacity 0.22s ease;
}

.brand:hover,
.brand:focus-visible {
  transform: translateY(-1px);
}

.brand:hover::before,
.brand:focus-visible::before {
  opacity: 1;
  transform: scale(1);
}

.brand:hover .brand-logo,
.brand:focus-visible .brand-logo {
  transform: translateY(-2px);
  filter:
    drop-shadow(0 14px 26px rgba(10, 18, 30, 0.14))
    brightness(1.03);
}

.brand:active .brand-logo {
  transform: translateY(0);
}

@keyframes brand-logo-idle {
  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-2px);
  }
}

.site-nav {
  display: inline-block;
  width: auto;
  max-width: 100%;
}

.site-nav a {
  position: relative;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 32px;
  padding: 0;
  border: 0;
  background: transparent;
  box-shadow: none;
  font-family: var(--font-ui);
  font-size: 0.95rem;
  font-weight: 600;
  letter-spacing: 0.018em;
  text-transform: none;
  color: rgba(58, 47, 42, 0.82);
  text-shadow: none;
  transition: color 0.18s ease, transform 0.18s ease;
}

.site-nav a::after {
  content: "";
  position: absolute;
  right: 0;
  bottom: -0.42rem;
  left: 0;
  height: 1px;
  background: linear-gradient(90deg, rgba(133, 46, 62, 0), rgba(133, 46, 62, 0.82) 50%, rgba(133, 46, 62, 0));
  transform: scaleX(0.35);
  transform-origin: center;
  opacity: 0;
  transition: transform 0.22s ease, opacity 0.18s ease;
}

.site-nav a:hover,
.site-nav a:focus-visible {
  color: #852e3e;
  transform: translateY(-1px);
}

.site-nav a:hover::after,
.site-nav a:focus-visible::after,
.site-nav a.active::after,
.site-nav a[aria-current="page"]::after {
  transform: scaleX(1);
  opacity: 1;
}

.site-nav a.active,
.site-nav a[aria-current="page"] {
  color: #31425e;
}

.site-nav .menu-item-ai-tools > a {
  color: #31425e;
}

.site-nav .menu-item-ai-tools > a::after {
  background: linear-gradient(90deg, rgba(49, 66, 94, 0), rgba(49, 66, 94, 0.86) 50%, rgba(49, 66, 94, 0));
}

.site-nav .menu-item-ai-tools > a:hover,
.site-nav .menu-item-ai-tools > a:focus-visible,
.site-nav .menu-item-ai-tools > a.active,
.site-nav .menu-item-ai-tools > a[aria-current="page"] {
  color: #31425e;
}

.site-nav .menu-external-mark {
  display: inline-block;
  margin-left: 0.34rem;
  font-size: 0.8em;
  line-height: 1;
  transform: translateY(-0.08em);
  opacity: 0.72;
}

.site-nav a:hover .menu-external-mark,
.site-nav a:focus-visible .menu-external-mark,
.site-nav a.active .menu-external-mark,
.site-nav a[aria-current="page"] .menu-external-mark {
  opacity: 0.9;
}

.site-nav .menu-item-ai-tools > a .menu-external-mark {
  color: currentColor;
  opacity: 1;
}

body.page-gaming .site-nav a {
  color: rgba(239, 250, 242, 0.82);
}

body.page-gaming .header-band {
  box-shadow: 0 18px 36px rgba(1, 6, 3, 0.28);
}

body.page-gaming .header-band-top {
  box-shadow:
    inset 0 -1px 0 rgba(149, 255, 177, 0.08),
    inset 0 1px 0 rgba(238, 255, 242, 0.05);
}

body.page-gaming .header-band-top::before {
  background:
    linear-gradient(180deg, rgba(240, 255, 243, 0.08), rgba(240, 255, 243, 0.02) 42%, rgba(0, 0, 0, 0.28)),
    radial-gradient(circle at 10% 18%, rgba(95, 225, 132, 0.16), transparent 22%),
    radial-gradient(circle at 90% 18%, rgba(117, 255, 163, 0.12), transparent 24%),
    linear-gradient(90deg, rgba(149, 255, 177, 0.045) 1px, transparent 1px),
    linear-gradient(rgba(149, 255, 177, 0.03) 1px, transparent 1px);
  background-size: auto, auto, auto, 112px 112px, 112px 112px;
  background-position: 0 0, 0 0, 0 0, 18px 12px, 18px 12px;
}

body.page-gaming .header-band-bottom {
  background: linear-gradient(90deg, rgba(7, 27, 14, 0.98) 0%, rgba(12, 64, 32, 0.98) 42%, rgba(7, 31, 18, 0.98) 100%);
  box-shadow: 0 12px 26px rgba(0, 0, 0, 0.28);
}

body.page-gaming .header-band-bottom::before {
  background: linear-gradient(180deg, rgba(225, 255, 231, 0.14), rgba(149, 255, 177, 0.04) 50%, rgba(0, 0, 0, 0.18));
}

body.page-gaming .header-band-bottom::after {
  background: linear-gradient(90deg, rgba(149, 255, 177, 0), rgba(149, 255, 177, 0.82) 50%, rgba(149, 255, 177, 0));
}

body.page-gaming .brand::before {
  content: none;
}

body.page-gaming .brand-logo {
  filter:
    drop-shadow(0 1px 0 rgba(157, 255, 184, 0.22))
    drop-shadow(0 -1px 0 rgba(157, 255, 184, 0.16))
    drop-shadow(1px 0 0 rgba(157, 255, 184, 0.16))
    drop-shadow(-1px 0 0 rgba(157, 255, 184, 0.16))
    drop-shadow(0 0 10px rgba(95, 225, 132, 0.16))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28));
}

body.page-gaming .brand:hover::before,
body.page-gaming .brand:focus-visible::before {
  content: none;
}

body.page-gaming .brand:hover .brand-logo,
body.page-gaming .brand:focus-visible .brand-logo {
  filter:
    drop-shadow(0 1px 0 rgba(157, 255, 184, 0.22))
    drop-shadow(0 -1px 0 rgba(157, 255, 184, 0.16))
    drop-shadow(1px 0 0 rgba(157, 255, 184, 0.16))
    drop-shadow(-1px 0 0 rgba(157, 255, 184, 0.16))
    drop-shadow(0 0 10px rgba(95, 225, 132, 0.16))
    drop-shadow(0 10px 22px rgba(0, 0, 0, 0.28))
    brightness(1.01);
}

body.page-gaming .site-nav .menu-item + .menu-item::before {
  background: linear-gradient(90deg, rgba(149, 255, 177, 0), rgba(149, 255, 177, 0.34) 50%, rgba(149, 255, 177, 0));
}

body.page-gaming .site-nav a::after {
  background: linear-gradient(90deg, rgba(149, 255, 177, 0), rgba(149, 255, 177, 0.88) 50%, rgba(149, 255, 177, 0));
}

body.page-gaming .site-nav a:hover,
body.page-gaming .site-nav a:focus-visible {
  color: #c9ffd7;
}

body.page-gaming .site-nav a.active,
body.page-gaming .site-nav a[aria-current="page"],
body.page-gaming .site-nav .current-menu-item > a,
body.page-gaming .site-nav .current_page_item > a,
body.page-gaming .site-nav .current_page_parent > a,
body.page-gaming .site-nav .current-menu-ancestor > a {
  color: #9dffb8;
}

body.page-gaming .site-nav .menu-item-ai-tools > a {
  color: #bcffcc;
}

body.page-gaming .site-nav .menu-item-ai-tools > a::after {
  background: linear-gradient(90deg, rgba(188, 255, 204, 0), rgba(188, 255, 204, 0.92) 50%, rgba(188, 255, 204, 0));
}

body.page-gaming .header-search-toggle {
  color: rgba(239, 250, 242, 0.84);
}

body.page-gaming .header-search-toggle img {
  filter: none;
  opacity: 0.88;
}

body.page-gaming .header-search-panel {
  background:
    linear-gradient(180deg, rgba(7, 18, 11, 0.98), rgba(4, 11, 7, 0.98)),
    radial-gradient(circle at top left, rgba(95, 225, 132, 0.14), transparent 42%),
    radial-gradient(circle at top right, rgba(117, 255, 163, 0.1), transparent 42%);
  border-color: rgba(149, 255, 177, 0.18);
  box-shadow: 0 28px 44px rgba(0, 0, 0, 0.34), inset 0 1px 0 rgba(230, 255, 236, 0.08);
}

body.page-gaming .header-search-input {
  border-color: rgba(149, 255, 177, 0.14);
  background: rgba(8, 20, 12, 0.92);
  color: #effaf2;
  box-shadow: inset 0 1px 0 rgba(230, 255, 236, 0.05);
}

body.page-gaming .header-search-input::placeholder {
  color: rgba(239, 250, 242, 0.5);
}

body.page-gaming .header-search-submit {
  background: linear-gradient(180deg, #2a8b49 0%, #1a6535 100%);
  color: #f7fff9;
  box-shadow: 0 18px 28px rgba(4, 22, 11, 0.36);
}

body.page-gaming .header-search-submit:hover,
body.page-gaming .header-search-submit:focus-visible {
  background: linear-gradient(180deg, #31a054 0%, #1f7640 100%);
  box-shadow: 0 22px 32px rgba(4, 22, 11, 0.42);
}

body.page-gaming .header-search-note {
  color: rgba(239, 250, 242, 0.68);
}

body.page-gaming .header-search-suggestion {
  border-color: rgba(149, 255, 177, 0.1);
  background: rgba(10, 21, 14, 0.76);
  color: rgba(239, 250, 242, 0.88);
}

body.page-gaming .header-search-suggestion:hover,
body.page-gaming .header-search-suggestion:focus-visible,
body.page-gaming .header-search-suggestion.is-active {
  border-color: rgba(149, 255, 177, 0.26);
  box-shadow: 0 14px 24px rgba(0, 0, 0, 0.22);
  background: rgba(95, 225, 132, 0.12);
}

body.page-gaming .header-search-suggestion-type {
  background: rgba(95, 225, 132, 0.12);
  color: #9dffb8;
}

body.page-gaming .header-band.is-condensed {
  box-shadow: 0 16px 34px rgba(0, 0, 0, 0.34);
}

