/* AAA Music sayti — hamma sahifa uchun umumiy: ranglar, asos, menyu, oq tugma, bo'lim sarlavhasi, forma, pastki qism.
   Tizim: ../DESIGN.md («The Edit Bay at Night»): haqiqiy qora sahna, grafit sirtlar, bitta oq tugma, ko'k faqat havola. */
:root {
  color-scheme: dark;
  --sahna: #000000;
  --sirt: #161617;
  --sirt-2: #1d1d1f;
  --ramka: #3a3a3c;
  --matn: #f5f5f7;
  --ikki: #86868b;
  --chiziq: #2c2c2e;
  --havola: #2997ff;
  --f: "Archivo", system-ui, -apple-system, "Segoe UI", sans-serif;
  --mono: ui-monospace, "SF Mono", Menlo, monospace;
  --chet: max(22px, env(safe-area-inset-left, 0px));
  --chet-o: max(22px, env(safe-area-inset-right, 0px));
}
html { scrollbar-color: var(--ramka) var(--sahna); scroll-behavior: smooth; scroll-padding-top: 64px; -webkit-text-size-adjust: 100% }
body { margin: 0; background: var(--sahna); color: var(--matn); font: 400 17px/1.55 var(--f); -webkit-font-smoothing: antialiased; text-rendering: optimizeLegibility }
body::before { content: ""; position: fixed; inset: 0 0 auto; height: env(safe-area-inset-top, 0px); z-index: 10; background: rgba(0,0,0,.8) }
::selection { background: var(--matn); color: var(--sahna) }
a { color: var(--havola); text-decoration: none; text-underline-offset: 3px }
a:hover { text-decoration: underline }
:focus-visible { outline: 2px solid var(--havola); outline-offset: 3px; border-radius: 6px }
h1, h2, h3, p { margin: 0 }
h1, h2 { font-weight: 600; text-wrap: balance }
img, video { display: block; max-width: 100% }
[hidden] { display: none !important }
a, button, select, summary, label, input { touch-action: manipulation }   /* telefonda ikki bosish kattalashtirmasin */
.yashirin { position: absolute; width: 1px; height: 1px; overflow: hidden; clip-path: inset(50%); white-space: nowrap }
/* klaviatura: Tab bosilganda birinchi bo'lib chiqadi, menyudan o'tib asosiy qismga */
.otish { position: fixed; left: var(--chet); top: calc(env(safe-area-inset-top, 0px) + 8px); z-index: 20; padding: 10px 16px; border-radius: 999px;
         background: var(--matn); color: var(--sahna); font: 600 15px/1 var(--f); transform: translateY(-200%) }
.otish:focus-visible { transform: none; text-decoration: none }

.ichki { max-width: 1040px; margin: 0 auto; padding-left: var(--chet); padding-right: var(--chet-o) }
.keng { max-width: 1280px }

/* menyu */
.menyu { position: sticky; top: env(safe-area-inset-top, 0px); z-index: 9; background: rgba(0,0,0,.72);
         -webkit-backdrop-filter: saturate(180%) blur(20px); backdrop-filter: saturate(180%) blur(20px); border-bottom: 1px solid rgba(255,255,255,.08) }
.menyu .ichki { display: flex; align-items: center; gap: 28px; min-height: 52px }
.belgi { color: var(--matn); font-size: 19px; font-weight: 600; letter-spacing: -.01em; margin-right: auto }
.belgi:hover { text-decoration: none }
.menyu nav { display: flex; gap: 26px }
.menyu nav a, .menyu .yon { color: var(--ikki); font-size: 13px }
.menyu nav a:hover, .menyu .yon:hover { color: var(--matn); text-decoration: none }
@media (max-width: 760px) { .menyu nav, .menyu .yon { display: none } }
.til { appearance: none; -webkit-appearance: none; border: 0; border-radius: 6px; background: none; color: var(--ikki); font: 600 13px/1 var(--f);
       padding: 6px 2px; cursor: pointer; margin-left: -6px }
.til:hover { color: var(--matn) }
.til option { color: #000000; background: #ffffff }                 /* tizim ro'yxati: oq fonda o'qilsin */

/* oq tugma — plaginning o'z «Musiqa topish» tugmasi shakli; bo'limda bitta */
.pil { display: inline-flex; align-items: center; justify-content: center; gap: 10px; border-radius: 999px; background: var(--matn); color: var(--sahna);
       font: 600 17px/1 var(--f); padding: 15px 26px; border: 0; cursor: pointer; transition: background .2s ease, opacity .2s ease; text-decoration: none }
.pil:hover { background: #ffffff; text-decoration: none }
.pil.kichik { font-size: 13px; padding: 7px 14px }
.pil[disabled], .pil[aria-disabled="true"] { opacity: .5; cursor: default; pointer-events: none }
.pil svg { width: 19px; height: 19px; flex: none }
.matn-tugma { border: 0; background: none; color: var(--havola); font: 500 17px/1.3 var(--f); cursor: pointer; padding: 0 }
.matn-tugma:hover { text-decoration: underline; text-underline-offset: 3px }

/* bo'limlar */
.bolim { padding-block: clamp(96px, 13vw, 160px) 0 }
.bolim h2 { font-size: clamp(36px, 5vw, 60px); line-height: 1.04; letter-spacing: -.03em }
.lead { color: var(--ikki); font-size: clamp(19px, 1.6vw, 21px); line-height: 1.5; max-width: 34em }
.bolim .lead { margin-top: 18px }
.lead b { color: var(--matn); font-weight: 500 }
.oyna { display: block; border-radius: 14px; overflow: hidden; border: 1px solid var(--ramka); background: var(--sirt) }
.oyna img { width: 100%; height: auto }
.kod { font-family: var(--mono); font-size: .92em; letter-spacing: .02em }

/* forma */
.maydon { display: grid; gap: 7px }
.maydon label { font-size: 13px; font-weight: 600 }
.maydon input, .maydon select { width: 100%; box-sizing: border-box; font: 400 17px/1.3 var(--f); color: var(--matn); background: var(--sirt-2);
                                border: 1px solid var(--ramka); border-radius: 12px; padding: 13px 14px; transition: border-color .2s ease }
.maydon input:focus, .maydon select:focus { outline: none; border-color: var(--havola); box-shadow: 0 0 0 3px rgba(41,151,255,.25) }
.rozilik { display: flex; gap: 10px; align-items: start; color: var(--ikki); font-size: 15px; line-height: 1.45; cursor: pointer }
.rozilik input { margin: 2px 0 0; width: 18px; height: 18px; accent-color: var(--matn); flex: none }
.xato { color: #ff6961; font-size: 15px }
.holat-qator { display: flex; align-items: center; gap: 10px; color: var(--ikki); font-size: 15px }
.nuqta { width: 8px; height: 8px; border-radius: 50%; background: var(--havola); flex: none }
@media (prefers-reduced-motion: no-preference) { .nuqta { animation: urish 1.6s ease-in-out infinite } @keyframes urish { 50% { opacity: .25 } } }

/* pastki qism */
footer { border-top: 1px solid var(--chiziq); padding-block: 28px 40px; color: var(--ikki); font-size: 13px }
footer .ichki { display: flex; flex-wrap: wrap; gap: 10px 28px; align-items: baseline }
footer .ichki > :first-child { margin-right: auto }
footer a { color: var(--ikki) }
footer a:hover { color: var(--matn); text-decoration: none }

@media (prefers-reduced-motion: reduce) { html { scroll-behavior: auto } .pil, .maydon input { transition: none } }
