#site-menu {
  --cyan: #17dafa;
  --panel: #031322;
  color: #f5f9ff;
  background: #031322;
  color-scheme: dark;
}

#site-menu .menu-head {
  background: #041221;
  border-bottom: 1px solid #0e4660;
}

#site-menu .menu-head-row,
#site-menu .menu-content {
  width: min(1040px, calc(100% - 32px));
  margin-inline: auto;
}

#site-menu .menu-head-row { min-height: 70px; flex-wrap: nowrap; gap: 10px; }
#site-menu .brand { color: #fff; }
#site-menu .brand span { font-style: italic; font-weight: 850; }
#site-menu .menu-close {
  min-height: 44px;
  padding: 8px 12px;
  background: #031322;
  border: 1px solid var(--cyan);
  color: #fff;
}
#site-menu .menu-close:hover { background: #0a3149; }
#site-menu .menu-scroll {
  background:
    linear-gradient(155deg, transparent 58%, #05476b42 59%, #00bfff25 59.5%, transparent 62%) top right / 620px 175px no-repeat,
    radial-gradient(ellipse at 86% 0, #073451, transparent 58%),
    linear-gradient(158deg, #031322 75%, #12102c);
}
#site-menu .menu-content { padding: 24px 0 32px; }
#site-menu .menu-heading {
  position: relative;
  isolation: isolate;
  display: block;
  box-sizing: border-box;
  min-height: 135px;
  padding: 57px 4px 13px;
  margin-bottom: 15px;
  border-bottom: 1px solid #126280;
}
#site-menu .menu-heading::before {
  content: "";
  z-index: -1;
  position: absolute;
  top: 0;
  right: 0;
  width: min(78%, 340px);
  height: 88px;
  background: url("menu-art.webp") right -177px / 545px auto no-repeat;
  mask-image: linear-gradient(to right, transparent, black 25%), linear-gradient(to bottom, transparent, black 16%, black 66%, transparent);
  mask-composite: intersect;
}
#site-menu .menu-heading h2 {
  font-size: clamp(30px, 5.7vw, 56px);
  font-style: italic;
  font-weight: 850;
  letter-spacing: -.035em;
  color: #fff;
}
#site-menu .menu-kicker {
  color: var(--cyan);
  font-weight: 800;
  font-size: 11px;
  letter-spacing: .15em;
  margin: 0 0 6px;
}
#site-menu .menu-heading > p { display: none; }

#site-menu .service-menu-grid {
  grid-template-columns: repeat(2, minmax(0, 1fr));
  gap: 10px 16px;
}
#site-menu .service-menu-grid > .menu-choice {
  --accent: #2cc6ff;
  --shade: #063460;
  --art-y: -1000px;
  position: relative;
  isolation: isolate;
  order: 0;
  grid-area: auto;
  min-height: 72px;
  padding: 9px 13px;
  gap: 12px;
  border: 1px solid var(--accent);
  border-radius: 17px;
  background: linear-gradient(105deg, var(--shade), var(--panel) 53%, var(--shade));
  box-shadow: inset 0 0 16px color-mix(in srgb, var(--accent) 17%, transparent);
  color: #fff;
}
#site-menu .menu-choice::before {
  content: "";
  position: absolute;
  z-index: -1;
  inset: 1px 47px auto auto;
  height: min(calc(100% - 2px), 60px);
  width: min(36%, var(--art-width, 141px));
  border-radius: 0 6px 6px 0;
  background: url("menu-art.webp") var(--art-x, -298px) var(--art-y) / 510px auto no-repeat;
  mask-image: linear-gradient(to right, transparent, black 27%, black 72%, transparent);
  opacity: .8;
  pointer-events: none;
}
#site-menu .menu-choice:hover {
  box-shadow: inset 0 0 22px color-mix(in srgb, var(--accent) 25%, transparent), 0 0 14px color-mix(in srgb, var(--accent) 35%, transparent);
}
#site-menu .menu-choice:focus-visible,
#site-menu .menu-close:focus-visible,
#site-menu .brand:focus-visible { outline: 2px solid white; outline-offset: 2px; }
#site-menu .menu-choice[href="playstation.html"] { --accent: #5b8bff; --shade: #092e82; --art-y: -340px; }
#site-menu .menu-choice.menu-selector { --accent: #84f530; --shade: #17450c; --art-y: -411px; }
#site-menu .menu-choice.menu-plus { --accent: #ffce3d; --shade: #543809; --art-y: -480px; }
#site-menu .menu-choice[href="dopune.html"] { --art-y: -545px; }
#site-menu .menu-choice[href="pc-igrice.html"] { --art-y: -609px; }
#site-menu .menu-choice[href="gaming-pretplate.html"] { --art-y: -674px; }
#site-menu .menu-choice[href="televizija.html"] { --art-y: -741px; }
#site-menu .menu-choice[href="fiskalizacija.html"] { --art-x: -325px; --art-y: -809px; --art-width: 115px; }
#site-menu .menu-choice[href*="/reel/"] { --art-y: -878px; }
#site-menu .menu-choice[href="stikeri.html"] { --accent: #cf7bff; --shade: #301663; --art-y: -946px; }
#site-menu .menu-choice.menu-channel,
#site-menu .menu-choice.menu-instagram { --accent: #ba84ff; --shade: #28134e; }
#site-menu .menu-choice.menu-channel::before,
#site-menu .menu-choice.menu-instagram::before,
#site-menu .menu-choice[href="servis-racunara.html"]::before,
#site-menu .menu-choice[href="ciscenje-konzola.html"]::before { content: none; }

#site-menu .menu-symbol {
  width: 46px;
  height: 40px;
  border-radius: 0;
  border-right: 1px solid color-mix(in srgb, var(--accent) 56%, transparent);
  padding-right: 9px;
  background: transparent;
  color: #f0f8ff;
  box-shadow: none;
  animation: none;
}
#site-menu .menu-choice-copy { position: relative; }
#site-menu .menu-choice-copy strong {
  font-size: clamp(16px, 2vw, 20px);
  line-height: 1.15;
  text-shadow: 0 1px 4px #020913, 0 0 12px #020913;
}
#site-menu .menu-choice-copy small {
  width: fit-content;
  margin-top: 3px;
  color: #d6e9f5;
  font-size: 12px;
  text-shadow: 0 1px 4px #020913, 0 0 9px #020913;
}
#site-menu .selector-badge {
  background: #bbff45;
  color: #102009;
  border: 0;
  text-shadow: none;
}
#site-menu .menu-choice > .icon {
  width: 32px;
  height: 32px;
  padding: 6px;
  border: 1px solid var(--accent);
  background: #031322;
  color: #fff;
}

@media (max-width: 720px) {
  #site-menu .menu-content { width: calc(100% - 20px); padding-top: 12px; }
  #site-menu .menu-heading { padding-left: 10px; }
  #site-menu .service-menu-grid { grid-template-columns: 1fr; gap: 7px; }
  #site-menu .service-menu-grid > .menu-choice { min-height: 54px; padding: 6px 10px; gap: 9px; }
  #site-menu .menu-choice::before {
    right: 42px;
    width: min(34%, var(--art-width, 141px));
    opacity: .66;
  }
  #site-menu .menu-symbol { width: 41px; height: 34px; }
  #site-menu .menu-choice-copy small { display: none; }
  #site-menu .menu-choice > .icon { width: 29px; height: 29px; }
}
@media (max-width: 360px) {
  #site-menu .menu-head-row { width: calc(100% - 20px); }
  #site-menu .menu-symbol { width: 34px; padding-right: 6px; }
}
