/* ===== ҚЫСҚЫ ТҮН — тек басты мәзір (#menu) ===== */
#menu {
  position: relative;
  overflow: hidden;
  background:
    radial-gradient(90% 30% at 50% -4%, rgba(110, 170, 255, .14), transparent 70%),
    linear-gradient(180deg, #02060d 0%, #050f20 45%, #0a1a36 100%);
}

/* Қар: екі қабат, ТҰРАҚТЫ (жаумайды, анимациясыз) */
#menu::before,
#menu::after {
  content: "";
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 5;
}
#menu::before { /* жақын, сәл үлкен */
  background-image:
    radial-gradient(4px 4px at 20px 30px,  rgba(255,255,255,.9), transparent),
    radial-gradient(3px 3px at 90px 150px, rgba(255,255,255,.7),  transparent),
    radial-gradient(4.4px 4.4px at 170px 70px, rgba(255,255,255,.9), transparent),
    radial-gradient(2.6px 2.6px at 220px 200px,rgba(255,255,255,.65), transparent),
    radial-gradient(4px 4px at 130px 240px,rgba(255,255,255,.9), transparent),
    radial-gradient(2.6px 2.6px at 50px 110px, rgba(255,255,255,.65), transparent);
  background-size: 260px 260px;
}
#menu::after { /* алыс, ұсақ, одан да баяу */
  background-image:
    radial-gradient(2px 2px at 30px 20px,  rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 110px 60px, rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 70px 130px, rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 150px 160px,rgba(255,255,255,.8), transparent),
    radial-gradient(2px 2px at 10px 100px, rgba(255,255,255,.8), transparent);
  background-size: 180px 180px;
}

#menu h1 { color: #fff; text-shadow: 0 2px 14px rgba(120, 170, 255, .25); }

/* Карточкалар: қараңғы мұзды әйнек */
#menu .card.brown {
  background: linear-gradient(160deg, rgba(150,190,255,.09), rgba(150,190,255,.03)) !important;
  border: 1px solid rgba(150, 190, 255, .16);
  box-shadow: 0 16px 36px rgba(0,0,0,.5), inset 0 1px 0 rgba(255,255,255,.08);
}
#menu .card::before {
  content: "";
  position: absolute; top: 0; left: 26px; right: 26px; height: 6px;
  border-radius: 0 0 10px 10px;
  background: linear-gradient(#f2f8ff, #c9e2fa);
  opacity: .9;
  z-index: 2; pointer-events: none;
}

#menu .tile {
  position: relative;
  background: rgba(150,190,255,.06) !important;
  border: 1px solid rgba(150,190,255,.14) !important;
}
#menu .tile::before {
  content: "";
  position: absolute; top: 0; left: 18px; right: 18px; height: 5px;
  border-radius: 0 0 8px 8px;
  background: #dcecfa; opacity: .85;
  pointer-events: none;
}

/* Аватардағы жаңа жылдық колпак */
#menu .who .ava { overflow: visible; }
#menu .who .ava img { border-radius: 50%; }
#menu .who .ava::before {
  content: "";
  position: absolute; top: -22px; left: -8px; width: 58px; height: 44px;
  transform: rotate(-8deg);
  pointer-events: none; z-index: 2;
  background: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 60 46'%3E%3Cpath d='M9 36C10 17 26 5 44 11C41 20 47 29 54 35Z' fill='%23e5383b'/%3E%3Crect x='5' y='31' width='50' height='11' rx='5.5' fill='%23fff'/%3E%3Ccircle cx='46' cy='10' r='6.5' fill='%23fff'/%3E%3C/svg%3E") center / contain no-repeat;
}
