/* ---------- Menuja kryesore (e njejte ne faqen 3D dhe ne faqet e informacionit) ---------- */
.menu-btn {
  width: 40px; height: 40px; border-radius: 999px; border: 0; padding: 0; cursor: pointer; flex: none;
  background: #000; color: #fff; display: inline-flex; align-items: center; justify-content: center;
  transition: transform 0.2s ease, background 0.2s ease;
  -webkit-tap-highlight-color: transparent;
}
.menu-btn:hover { background: #1c1c1c; transform: scale(1.04); }
.menu-btn .mb-lines { position: relative; width: 16px; height: 10px; display: block; }
.menu-btn .mb-lines i {
  position: absolute; left: 0; right: 0; height: 2px; border-radius: 2px; background: currentColor;
  transition: transform 0.35s cubic-bezier(0.22, 1, 0.36, 1), opacity 0.2s ease, width 0.3s ease;
}
.menu-btn .mb-lines i:nth-child(1) { top: 0; }
.menu-btn .mb-lines i:nth-child(2) { top: 8px; width: 10px; }
.menu-btn[aria-expanded='true'] .mb-lines i:nth-child(1) { transform: translateY(4px) rotate(45deg); }
.menu-btn[aria-expanded='true'] .mb-lines i:nth-child(2) { width: 16px; transform: translateY(-4px) rotate(-45deg); }

.site-menu {
  position: fixed; inset: 0; z-index: 90; pointer-events: none; visibility: hidden;
  transition: visibility 0s linear 0.6s;
}
.site-menu.open { pointer-events: auto; visibility: visible; transition: none; }
.site-menu-bg {
  position: absolute; inset: 0; background: rgba(10, 10, 12, 0.35); opacity: 0;
  backdrop-filter: blur(6px); -webkit-backdrop-filter: blur(6px);
  transition: opacity 0.5s ease;
}
.site-menu.open .site-menu-bg { opacity: 1; }
.site-menu-panel {
  position: absolute; top: 12px; left: 12px; bottom: 12px; width: min(560px, calc(100vw - 24px));
  background: #0b0b0d; color: #fff; border-radius: 28px; overflow: hidden auto;
  display: flex; flex-direction: column; padding: 26px 30px 26px;
  transform: translateX(calc(-100% - 24px)); transition: transform 0.6s cubic-bezier(0.22, 1, 0.36, 1);
  box-shadow: 0 30px 80px rgba(0, 0, 0, 0.45);
}
.site-menu.open .site-menu-panel { transform: none; }
.sm-head { display: flex; align-items: center; justify-content: space-between; gap: 16px; }
.sm-brand { display: flex; align-items: center; gap: 12px; color: #fff; text-decoration: none; }
.sm-stripes { display: flex; gap: 3px; transform: skewX(-20deg); }
.sm-stripes i { width: 6px; height: 22px; display: block; }
.sm-stripes i:nth-child(1) { background: #56a6e6; }
.sm-stripes i:nth-child(2) { background: #2b45c9; }
.sm-stripes i:nth-child(3) { background: #e5452f; }
.sm-brand b { font: italic 800 22px/1 'Barlow Condensed', Impact, sans-serif; letter-spacing: 0.02em; }
.sm-close {
  width: 40px; height: 40px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, 0.18); background: transparent;
  color: #fff; cursor: pointer; display: inline-flex; align-items: center; justify-content: center; transition: background 0.2s;
}
.sm-close:hover { background: rgba(255, 255, 255, 0.1); }
.sm-search { position: relative; margin-top: 22px; color: #000; }
.sm-search svg { position: absolute; left: 14px; top: 50%; width: 18px; height: 18px; transform: translateY(-50%); fill: none; stroke: currentColor; stroke-width: 2.2; stroke-linecap: round; opacity: 0.55; pointer-events: none; }
.sm-search input { width: 100%; height: 48px; padding: 0 14px 0 42px; border: 1px solid rgba(0, 0, 0, 0.1); border-radius: 14px; background: #fff; color: #000; font: 500 16px/1 var(--body, sans-serif); outline: none; }
.sm-search input:focus { border-color: #000; }
.sm-groups { display: grid; gap: 28px; margin-top: 24px; }
/* "Which car next?" — votimi, lart ne menu */
.menu-btn { position: relative; }
.mb-dot { position: absolute; top: 7px; right: 7px; width: 8px; height: 8px; border-radius: 50%; background: #e5452f; box-shadow: 0 0 0 2px #000; animation: mb-dot 1.8s ease-in-out infinite; }
@keyframes mb-dot { 50% { transform: scale(1.3); } }
.sm-vote {
  margin-top: 26px; display: flex; align-items: center; gap: 14px; width: 100%; padding: 14px 16px; border: 0; border-radius: 18px; cursor: pointer; text-align: left;
  background: linear-gradient(110deg, rgba(86, 166, 230, 0.16), rgba(43, 69, 201, 0.16) 55%, rgba(229, 69, 47, 0.16)); color: #fff;
  font-family: 'Inter Tight', system-ui, sans-serif; transition: transform 0.3s cubic-bezier(0.22, 1, 0.36, 1), background 0.2s;
}
.sm-vote:hover { transform: translateX(4px); background: linear-gradient(110deg, rgba(86, 166, 230, 0.26), rgba(43, 69, 201, 0.26) 55%, rgba(229, 69, 47, 0.26)); }
.sm-vote svg { flex: none; color: #f5c542; }
.sm-vote span { display: grid; gap: 3px; flex: 1; min-width: 0; }
.sm-vote b { font: 700 16px/1.1 'Inter Tight', system-ui, sans-serif; }
.sm-vote small { font-size: 12.5px; color: rgba(255, 255, 255, 0.6); }
.sm-vote-new { font: 700 10px/1 'Inter Tight', system-ui, sans-serif; font-style: normal; letter-spacing: 0.08em; text-transform: uppercase; padding: 5px 8px; border-radius: 999px; background: #e5452f; }
.sm-groups[hidden] { display: none; }
.sm-group h4, .sm-group .sm-gt {
  margin-top: 0;
  font: 600 11px/1 'Inter Tight', system-ui, sans-serif; letter-spacing: 0.18em; text-transform: uppercase;
  color: rgba(255, 255, 255, 0.45); margin-bottom: 12px;
}
.sm-group ul { list-style: none; display: grid; gap: 2px; }
.sm-group a {
  display: flex; align-items: center; justify-content: space-between; gap: 12px; color: #fff; text-decoration: none;
  padding: 7px 0; border-bottom: 1px solid rgba(255, 255, 255, 0.08);
  font: 600 15px/1.2 'Inter Tight', system-ui, sans-serif;
  transition: color 0.2s, padding 0.3s cubic-bezier(0.22, 1, 0.36, 1);
}
.sm-group a::after { content: '→'; opacity: 0; transform: translateX(-6px); transition: opacity 0.2s, transform 0.3s; }
.sm-group a:hover { color: #9cc8ff; padding-left: 6px; }
.sm-group a:hover::after { opacity: 1; transform: none; }
.sm-group a[aria-current='page'] { color: #9cc8ff; }
.sm-group.big a {
  font: 800 34px/1 'Barlow Condensed', Impact, sans-serif; text-transform: uppercase; letter-spacing: 0.01em;
  padding: 8px 0; border: 0;
}
.sm-foot {
  margin-top: auto; padding-top: 28px; display: flex; align-items: center; justify-content: space-between; gap: 12px;
  font: 500 12px/1.4 'Inter Tight', system-ui, sans-serif; color: rgba(255, 255, 255, 0.5);
}
.sm-foot a { color: #fff; text-decoration: none; display: inline-flex; align-items: center; gap: 8px; }
.site-menu-panel > * { opacity: 0; transform: translateY(10px); transition: opacity 0.4s ease, transform 0.5s cubic-bezier(0.22, 1, 0.36, 1); }
.site-menu.open .site-menu-panel > * { opacity: 1; transform: none; transition-delay: 0.18s; }
.site-menu.open .site-menu-panel > .sm-search { transition-delay: 0.21s; }
.site-menu.open .site-menu-panel > .sm-groups { transition-delay: 0.24s; }
.site-menu.open .site-menu-panel > .sm-foot { transition-delay: 0.3s; }
@media (max-width: 760px) {
  .site-menu-panel { top: 8px; left: 8px; bottom: 8px; width: calc(100vw - 16px); padding: 20px 22px; border-radius: 24px; }
  .sm-group.big a { font-size: 30px; }
  .sm-groups { gap: 22px; margin-top: 24px; }
}
@media (prefers-reduced-motion: reduce) {
  .site-menu-panel, .site-menu-panel > *, .site-menu-bg { transition: none !important; }
}

/* scroll-i i menuse: koka (logo + ✕) mbetet lart, permbajtja zbehet nen te dhe ne fund (pa u prere ne skaje),
   shirit scroll-i i holle qe nuk prek kendet e rrumbullakosura, faqja pas nuk leviz */
.site-menu-panel { --smp: 30px; padding-top: 0; padding-bottom: 0; overscroll-behavior: contain; scrollbar-width: thin; scrollbar-color: rgba(255, 255, 255, 0.22) transparent; }
.site-menu-panel::-webkit-scrollbar { width: 6px; }
.site-menu-panel::-webkit-scrollbar-track { background: transparent; margin: 26px 0; }
.site-menu-panel::-webkit-scrollbar-thumb { border-radius: 999px; background: rgba(255, 255, 255, 0.22); }
.site-menu-panel > .sm-head { position: sticky; top: 0; z-index: 3; margin: 0 calc(-1 * var(--smp)); padding: 24px var(--smp) 12px; background: #0b0b0d; }
.site-menu-panel > .sm-head::after { content: ''; position: absolute; left: 0; right: 0; top: 100%; height: 22px; background: linear-gradient(#0b0b0d, rgba(11, 11, 13, 0)); pointer-events: none; }
.site-menu-panel > .sm-search { margin-top: 10px; }
.site-menu-panel::after { content: ''; position: sticky; bottom: 0; z-index: 3; display: block; flex: none; height: 34px; margin: 0 calc(-1 * var(--smp)); background: linear-gradient(rgba(11, 11, 13, 0), #0b0b0d 70%); pointer-events: none; }
.site-menu-panel > .sm-foot { margin-bottom: 4px; }
@media (max-width: 760px) {
  .site-menu-panel { --smp: 22px; padding-top: 0; padding-bottom: 0; }
  .site-menu-panel > .sm-head { padding-top: 18px; padding-bottom: 10px; }
}

/* butoni i temes ne krye te menuse (ne telefonat e ngushte nuk eshte ne header) */
.sm-theme { margin-left: auto; width: 38px; height: 38px; display: grid; place-items: center; border: 0; border-radius: 50%; background: rgba(255, 255, 255, 0.08); color: #fff; cursor: pointer; }
.sm-theme:hover { background: rgba(255, 255, 255, 0.14); }
.sm-theme svg { width: 18px; height: 18px; fill: none; stroke: currentColor; stroke-width: 2; stroke-linecap: round; stroke-linejoin: round; }
.sm-theme .ic-sun { display: none; }
html[data-theme='dark'] .sm-theme .ic-sun { display: block; }
html[data-theme='dark'] .sm-theme .ic-moon { display: none; }
.sm-head .sm-theme + .sm-close { margin-left: 0; }
