/* =========================================================
   QARSHI TEATRI — Asosiy uslublar
   Qashqadaryo viloyat musiqali drama teatri
   ========================================================= */

:root {
    --bg: #0f0507;
    --bg-2: #170a0d;
    --surface: #1d0d11;
    --surface-2: #261218;
    --line: rgba(212, 162, 76, 0.18);
    --line-soft: rgba(255, 255, 255, 0.07);

    --wine: #7a0a22;
    --wine-2: #9b1530;
    --gold: #d4a24c;
    --gold-2: #f0cf8a;

    --text: #f4ece4;
    --muted: #b3a39c;
    --dim: #7d6d68;

    --ok: #3fae74;
    --danger: #d9534f;

    --serif: "Cormorant Garamond", "Playfair Display", Georgia, serif;
    --sans: "Manrope", "Segoe UI", system-ui, -apple-system, sans-serif;

    --radius: 18px;
    --radius-sm: 10px;
    --shadow: 0 30px 60px -20px rgba(0, 0, 0, .7);
    --ease: cubic-bezier(.2, .7, .2, 1);
    --container: 1200px;
}

*,
*::before,
*::after { box-sizing: border-box; margin: 0; padding: 0; }

html { scroll-behavior: smooth; scroll-padding-top: 90px; }

body {
    font-family: var(--sans);
    background: var(--bg);
    color: var(--text);
    line-height: 1.6;
    -webkit-font-smoothing: antialiased;
    overflow-x: hidden;
}

body.no-scroll { overflow: hidden; }

img { max-width: 100%; display: block; }
a { color: inherit; text-decoration: none; }
button { font: inherit; cursor: pointer; }

::selection { background: var(--gold); color: var(--bg); }

.container { width: min(var(--container), 100% - 40px); margin-inline: auto; }

/* ---------- Umumiy elementlar ---------- */
.eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 12px;
    font-size: 12px;
    font-weight: 700;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: var(--gold);
}
.eyebrow::before {
    content: "";
    width: 34px;
    height: 1px;
    background: currentColor;
}

.section { padding: 110px 0; position: relative; }

.section-head {
    display: flex;
    align-items: flex-end;
    justify-content: space-between;
    gap: 30px;
    margin-bottom: 56px;
    flex-wrap: wrap;
}
.section-head h2,
.section-title {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(38px, 5vw, 60px);
    line-height: 1.05;
    margin-top: 14px;
    letter-spacing: -.01em;
}
.section-head h2 em,
.section-title em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.section-head p { color: var(--muted); max-width: 440px; }

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 999px;
    font-weight: 700;
    font-size: 14px;
    letter-spacing: .06em;
    text-transform: uppercase;
    border: 1px solid transparent;
    transition: transform .35s var(--ease), box-shadow .35s var(--ease), background .35s, color .35s, border-color .35s;
    white-space: nowrap;
}
.btn svg { width: 18px; height: 18px; transition: transform .35s var(--ease); }
.btn:hover svg { transform: translateX(4px); }

.btn-gold {
    background: linear-gradient(135deg, var(--gold-2), var(--gold) 55%, #b07f2f);
    color: #2a0a10;
    box-shadow: 0 10px 30px -10px rgba(212, 162, 76, .6);
}
.btn-gold:hover { transform: translateY(-2px); box-shadow: 0 16px 40px -12px rgba(212, 162, 76, .8); }

.btn-ghost {
    border-color: rgba(244, 236, 228, .3);
    color: var(--text);
    background: rgba(255, 255, 255, .03);
    backdrop-filter: blur(6px);
}
.btn-ghost:hover { border-color: var(--gold); color: var(--gold-2); }

.btn-wine { background: var(--wine); color: #fff; }
.btn-wine:hover { background: var(--wine-2); transform: translateY(-2px); }

.btn-block { width: 100%; }

/* ---------- Header ---------- */
.site-header {
    position: fixed;
    inset: 0 0 auto 0;
    z-index: 100;
    transition: background .4s, border-color .4s, padding .4s;
    padding: 22px 0;
    border-bottom: 1px solid transparent;
}
.site-header.scrolled,
.site-header.solid {
    background: rgba(15, 5, 7, .82);
    backdrop-filter: blur(16px) saturate(140%);
    -webkit-backdrop-filter: blur(16px) saturate(140%);
    border-color: var(--line);
    padding: 12px 0;
}
.header-inner { display: flex; align-items: center; justify-content: space-between; gap: 24px; }

.brand { display: flex; align-items: center; gap: 14px; }
.brand img {
    width: 54px;
    height: 54px;
    border-radius: 50%;
    box-shadow: 0 0 0 2px rgba(212, 162, 76, .35), 0 8px 24px rgba(0, 0, 0, .5);
    transition: transform .6s var(--ease);
}
.brand:hover img { transform: rotate(-12deg) scale(1.05); }
.brand-text { display: flex; flex-direction: column; line-height: 1.15; }
.brand-text strong { font-family: var(--serif); font-size: 24px; font-weight: 700; letter-spacing: .02em; }
.brand-text span { font-size: 10.5px; letter-spacing: .2em; text-transform: uppercase; color: var(--gold); }

.main-nav { display: flex; align-items: center; gap: 6px; }
.main-nav a {
    position: relative;
    padding: 10px 16px;
    font-size: 14px;
    font-weight: 600;
    color: var(--muted);
    transition: color .3s;
}
.main-nav a::after {
    content: "";
    position: absolute;
    left: 16px; right: 16px; bottom: 4px;
    height: 1px;
    background: var(--gold);
    transform: scaleX(0);
    transform-origin: left;
    transition: transform .4s var(--ease);
}
.main-nav a:hover,
.main-nav a.active { color: var(--text); }
.main-nav a:hover::after,
.main-nav a.active::after { transform: scaleX(1); }

.header-cta { padding: 12px 22px; font-size: 12.5px; }

.burger {
    display: none;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(255, 255, 255, .03);
    position: relative;
}
.burger span {
    position: absolute;
    left: 13px; right: 13px;
    height: 1.5px;
    background: var(--text);
    transition: transform .4s var(--ease), opacity .3s;
}
.burger span:nth-child(1) { top: 17px; }
.burger span:nth-child(2) { top: 22.5px; }
.burger span:nth-child(3) { top: 28px; }
.nav-open .burger span:nth-child(1) { transform: translateY(5.5px) rotate(45deg); }
.nav-open .burger span:nth-child(2) { opacity: 0; }
.nav-open .burger span:nth-child(3) { transform: translateY(-5.5px) rotate(-45deg); }

/* ---------- Hero ---------- */
.hero {
    position: relative;
    min-height: 100vh;
    min-height: 100svh;
    display: flex;
    align-items: center;
    overflow: hidden;
    padding: 140px 0 100px;
    isolation: isolate;
}
.hero-bg {
    position: absolute;
    inset: 0;
    z-index: -3;
    background: url("../Images/kunlar.jpeg") center 30% / cover no-repeat;
    transform: scale(1.08);
    animation: heroZoom 22s ease-in-out infinite alternate;
    filter: saturate(.85);
}
@keyframes heroZoom { to { transform: scale(1.18) translateY(-1.5%); } }

.hero::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(ellipse 60% 70% at 70% 40%, rgba(15, 5, 7, .2), rgba(15, 5, 7, .92) 75%),
        linear-gradient(90deg, rgba(15, 5, 7, .97) 0%, rgba(15, 5, 7, .75) 45%, rgba(15, 5, 7, .35) 100%),
        linear-gradient(0deg, var(--bg) 0%, transparent 35%);
}

/* parda (curtain) */
.curtain {
    position: absolute;
    top: 0; bottom: 0;
    width: 13vw;
    max-width: 200px;
    z-index: -1;
    background:
        repeating-linear-gradient(90deg,
            rgba(0, 0, 0, .45) 0 6px,
            rgba(255, 255, 255, .05) 14px,
            rgba(0, 0, 0, .35) 22px,
            rgba(0, 0, 0, .55) 30px),
        linear-gradient(180deg, #5c0518, #3b020e 70%, #230108);
    box-shadow: 0 0 80px 30px rgba(0, 0, 0, .65);
    animation: curtainOpen 2.2s var(--ease) both;
}
.curtain.left { left: 0; border-bottom-right-radius: 70% 22%; transform-origin: left; }
.curtain.right { right: 0; border-bottom-left-radius: 70% 22%; transform-origin: right; }
@keyframes curtainOpen { from { transform: scaleX(4.2); } to { transform: scaleX(1); } }

.valance {
    position: absolute;
    top: 0; left: 0; right: 0;
    height: 46px;
    z-index: -1;
    background:
        radial-gradient(circle at 50% 0, #6d0a20 70%, transparent 71%) 0 0 / 90px 46px repeat-x;
    filter: drop-shadow(0 10px 18px rgba(0, 0, 0, .6));
    opacity: .9;
}
.valance::after {
    content: "";
    position: absolute;
    left: 0; right: 0; top: 0;
    height: 3px;
    background: linear-gradient(90deg, transparent, var(--gold), transparent);
    opacity: .6;
}

.spotlight {
    position: absolute;
    top: -20%;
    left: 50%;
    width: 900px; height: 1300px;
    z-index: -1;
    background: radial-gradient(ellipse at top, rgba(240, 207, 138, .16), transparent 60%);
    transform: translateX(-50%) rotate(14deg);
    transform-origin: top center;
    pointer-events: none;
    animation: sweep 9s ease-in-out infinite alternate;
    mix-blend-mode: screen;
}
@keyframes sweep { from { transform: translateX(-70%) rotate(18deg); } to { transform: translateX(-20%) rotate(-8deg); } }

.hero-grid {
    display: grid;
    grid-template-columns: 1.25fr .75fr;
    gap: 60px;
    align-items: end;
}
.hero-content { max-width: 680px; }
.hero h1 {
    font-family: var(--serif);
    font-weight: 600;
    font-size: clamp(48px, 7.4vw, 104px);
    line-height: .95;
    letter-spacing: -.02em;
    margin: 22px 0 26px;
}
.hero h1 em {
    font-style: italic;
    font-weight: 500;
    background: linear-gradient(100deg, var(--gold-2), var(--gold) 50%, #f7e3b5);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}
.hero-lead { font-size: 18px; color: var(--muted); max-width: 520px; margin-bottom: 40px; }
.hero-actions { display: flex; gap: 14px; flex-wrap: wrap; }

.next-show {
    background: linear-gradient(160deg, rgba(38, 18, 24, .85), rgba(23, 10, 13, .85));
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: var(--radius);
    padding: 14px;
    box-shadow: var(--shadow);
    display: grid;
    grid-template-columns: 96px 1fr;
    gap: 16px;
    align-items: center;
    transition: transform .4s var(--ease), border-color .4s;
}
.next-show:hover { transform: translateY(-4px); border-color: rgba(212, 162, 76, .45); }
.next-show img { width: 96px; height: 124px; object-fit: cover; border-radius: 12px; }
.next-show small { font-size: 11px; letter-spacing: .22em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.next-show h3 { font-family: var(--serif); font-size: 28px; line-height: 1.05; margin: 6px 0; }
.next-show p { font-size: 13.5px; color: var(--muted); }
.next-show .link { display: inline-flex; gap: 6px; align-items: center; margin-top: 10px; font-size: 13px; font-weight: 700; color: var(--gold-2); }
.next-show[hidden] { display: none; }

.scroll-hint {
    position: absolute;
    bottom: 28px; left: 50%;
    transform: translateX(-50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    font-size: 10px;
    letter-spacing: .3em;
    text-transform: uppercase;
    color: var(--dim);
}
.scroll-hint::after {
    content: "";
    width: 1px; height: 46px;
    background: linear-gradient(var(--gold), transparent);
    animation: drip 2s ease-in-out infinite;
    transform-origin: top;
}
@keyframes drip { 0% { transform: scaleY(0); } 50% { transform: scaleY(1); } 100% { transform: scaleY(1); opacity: 0; } }

/* ---------- Marquee ---------- */
.marquee {
    border-block: 1px solid var(--line);
    background: var(--bg-2);
    overflow: hidden;
    padding: 22px 0;
}
.marquee-track {
    display: flex;
    gap: 50px;
    width: max-content;
    animation: marquee 38s linear infinite;
    font-family: var(--serif);
    font-size: 30px;
    font-style: italic;
    color: var(--muted);
    white-space: nowrap;
}
.marquee-track span { display: inline-flex; align-items: center; gap: 50px; }
.marquee-track span::after { content: "✦"; font-style: normal; font-size: 16px; color: var(--gold); }
@keyframes marquee { to { transform: translateX(-50%); } }

/* ---------- Afisha ---------- */
.afisha { background: radial-gradient(ellipse 80% 50% at 50% 0, rgba(122, 10, 34, .18), transparent 70%); }

.filters { display: flex; gap: 8px; flex-wrap: wrap; }
.chip {
    padding: 10px 20px;
    border-radius: 999px;
    border: 1px solid var(--line);
    background: transparent;
    color: var(--muted);
    font-size: 13px;
    font-weight: 600;
    transition: all .3s;
}
.chip:hover { color: var(--text); border-color: rgba(212, 162, 76, .5); }
.chip.active { background: var(--gold); color: #2a0a10; border-color: var(--gold); }

.show-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(270px, 1fr));
    gap: 28px;
}

.show-card {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    transition: transform .5s var(--ease), box-shadow .5s var(--ease), border-color .5s;
    display: flex;
    flex-direction: column;
}
.show-card:hover {
    transform: translateY(-8px);
    box-shadow: 0 40px 70px -30px rgba(0, 0, 0, .9), 0 0 0 1px rgba(212, 162, 76, .35);
}
.show-poster { position: relative; aspect-ratio: 3 / 4; overflow: hidden; background: #000; }
.show-poster img {
    width: 100%; height: 100%;
    object-fit: cover;
    transition: transform 1.2s var(--ease), filter .6s;
    filter: saturate(.9);
}
.show-card:hover .show-poster img { transform: scale(1.07); filter: saturate(1.05); }
.show-poster::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(15, 5, 7, .95));
}
.date-badge {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 2;
    background: rgba(15, 5, 7, .78);
    backdrop-filter: blur(8px);
    border: 1px solid var(--line);
    border-radius: 14px;
    padding: 8px 12px;
    text-align: center;
    min-width: 62px;
}
.date-badge b { display: block; font-family: var(--serif); font-size: 30px; line-height: 1; color: var(--gold-2); }
.date-badge span { font-size: 10.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--muted); font-weight: 700; }
.hall-badge {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: .08em;
    text-transform: uppercase;
    padding: 6px 12px;
    border-radius: 999px;
    background: var(--wine);
    color: #fff;
}
.show-body {
    position: relative;
    z-index: 2;
    padding: 0 22px 22px;
    margin-top: -70px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.show-body h3 { font-family: var(--serif); font-size: 32px; line-height: 1.05; font-weight: 600; margin-bottom: 10px; }
.show-meta { display: flex; gap: 16px; flex-wrap: wrap; font-size: 13.5px; color: var(--muted); margin-bottom: 18px; }
.show-meta span { display: inline-flex; align-items: center; gap: 6px; }
.show-meta svg { width: 15px; height: 15px; color: var(--gold); }
.seats-left { font-size: 12px; color: var(--dim); margin-bottom: 16px; }
.seats-left .bar { height: 3px; background: var(--line-soft); border-radius: 3px; margin-top: 6px; overflow: hidden; }
.seats-left .bar i { display: block; height: 100%; background: linear-gradient(90deg, var(--gold), var(--wine-2)); border-radius: 3px; }
.show-body .btn { margin-top: auto; }

.empty-state {
    grid-column: 1 / -1;
    text-align: center;
    padding: 70px 20px;
    border: 1px dashed var(--line);
    border-radius: var(--radius);
    color: var(--muted);
}
.empty-state .icon { font-size: 40px; margin-bottom: 10px; }

/* skeleton */
.skeleton {
    border-radius: var(--radius);
    aspect-ratio: 3 / 4.6;
    background: linear-gradient(100deg, var(--surface) 30%, var(--surface-2) 50%, var(--surface) 70%) 0 0 / 300% 100%;
    animation: shimmer 1.4s linear infinite;
}
@keyframes shimmer { to { background-position: -150% 0; } }

/* ---------- Teatr haqida ---------- */
.about { background: var(--bg-2); border-block: 1px solid var(--line-soft); overflow: hidden; }
.about-grid { display: grid; grid-template-columns: 1fr 1fr; gap: 80px; align-items: center; }
.about-media { position: relative; }
.about-media .frame {
    border-radius: 220px 220px var(--radius) var(--radius);
    overflow: hidden;
    aspect-ratio: 4 / 5;
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
}
.about-media .frame img { width: 100%; height: 100%; object-fit: cover; }
.about-media .float {
    position: absolute;
    right: -30px; bottom: 40px;
    width: 44%;
    border-radius: var(--radius);
    overflow: hidden;
    border: 6px solid var(--bg-2);
    box-shadow: var(--shadow);
    aspect-ratio: 1;
}
.about-media .float img { width: 100%; height: 100%; object-fit: cover; }
.about-media .seal {
    position: absolute;
    left: -24px; top: 30px;
    width: 120px; height: 120px;
    border-radius: 50%;
    box-shadow: 0 0 0 6px var(--bg-2), var(--shadow);
    animation: spin 40s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

.about-text p { color: var(--muted); margin-top: 22px; font-size: 16.5px; }
.about-text p strong { color: var(--text); font-weight: 600; }
.features { display: grid; grid-template-columns: 1fr 1fr; gap: 16px; margin-top: 36px; }
.feature {
    padding: 20px;
    border-radius: 14px;
    border: 1px solid var(--line-soft);
    background: rgba(255, 255, 255, .02);
    transition: border-color .3s, background .3s;
}
.feature:hover { border-color: var(--line); background: rgba(212, 162, 76, .04); }
.feature .ic {
    width: 40px; height: 40px;
    border-radius: 12px;
    display: grid; place-items: center;
    background: rgba(212, 162, 76, .1);
    color: var(--gold);
    margin-bottom: 12px;
}
.feature .ic svg { width: 20px; height: 20px; }
.feature h4 { font-size: 15px; margin-bottom: 4px; }
.feature p { font-size: 13.5px; color: var(--muted); margin: 0; }

/* ---------- Jamoa ---------- */
.team-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    gap: 26px;
}
.member {
    position: relative;
    border-radius: var(--radius);
    overflow: hidden;
    background: var(--surface);
    border: 1px solid var(--line-soft);
    aspect-ratio: 3 / 4;
    isolation: isolate;
    transition: transform .5s var(--ease), border-color .5s;
}
.member:hover { transform: translateY(-6px); border-color: var(--line); }
.member .photo { position: absolute; inset: 0; z-index: -2; }
.member .photo img {
    width: 100%; height: 100%;
    object-fit: cover;
    filter: grayscale(.55) contrast(1.05);
    transition: filter .6s, transform 1s var(--ease);
}
.member:hover .photo img { filter: grayscale(0); transform: scale(1.06); }
.member .monogram {
    width: 100%; height: 100%;
    display: grid;
    place-items: center;
    font-family: var(--serif);
    font-size: 96px;
    font-style: italic;
    color: rgba(240, 207, 138, .85);
    background:
        radial-gradient(circle at 50% 35%, rgba(212, 162, 76, .22), transparent 60%),
        linear-gradient(160deg, #3a0c17, #14070a);
}
.member::after {
    content: "";
    position: absolute; inset: 0;
    z-index: -1;
    background: linear-gradient(180deg, transparent 40%, rgba(15, 5, 7, .96) 88%);
}
.member .info {
    position: absolute;
    left: 0; right: 0; bottom: 0;
    padding: 22px;
}
.member .role { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.member h3 { font-family: var(--serif); font-size: 28px; font-weight: 600; line-height: 1.1; margin-top: 6px; }
.member .bio {
    font-size: 13.5px;
    color: var(--muted);
    max-height: 0;
    opacity: 0;
    overflow: hidden;
    transition: max-height .6s var(--ease), opacity .4s, margin .4s;
}
.member:hover .bio,
.member:focus-within .bio { max-height: 140px; opacity: 1; margin-top: 10px; }

.center-cta { text-align: center; margin-top: 56px; }

/* ---------- Aloqa ---------- */
.contact-grid { display: grid; grid-template-columns: 1.1fr .9fr; gap: 30px; }
.contact-card {
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(160deg, var(--surface-2), var(--surface));
    padding: 44px;
    position: relative;
    overflow: hidden;
}
.contact-card::before {
    content: "";
    position: absolute;
    right: -120px; top: -120px;
    width: 320px; height: 320px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(212, 162, 76, .18), transparent 70%);
}
.contact-list { list-style: none; display: grid; gap: 22px; margin-top: 34px; position: relative; }
.contact-list li { display: flex; gap: 16px; align-items: flex-start; }
.contact-list .ic {
    flex: none;
    width: 46px; height: 46px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: var(--gold);
}
.contact-list .ic svg { width: 19px; height: 19px; }
.contact-list small { display: block; font-size: 11px; letter-spacing: .18em; text-transform: uppercase; color: var(--dim); font-weight: 700; }
.contact-list a, .contact-list b { font-size: 17px; font-weight: 600; color: var(--text); transition: color .3s; }
.contact-list a:hover { color: var(--gold-2); }

.map-card {
    border-radius: var(--radius);
    overflow: hidden;
    border: 1px solid var(--line);
    min-height: 380px;
    background: var(--surface);
}
.map-card iframe { width: 100%; height: 100%; min-height: 380px; border: 0; filter: grayscale(.4) invert(.92) hue-rotate(180deg) contrast(.9); }

/* ---------- Footer ---------- */
.site-footer { border-top: 1px solid var(--line); padding: 60px 0 30px; background: #0b0305; }
.footer-top { display: flex; justify-content: space-between; align-items: center; gap: 30px; flex-wrap: wrap; padding-bottom: 36px; border-bottom: 1px solid var(--line-soft); }
.footer-nav { display: flex; gap: 26px; flex-wrap: wrap; }
.footer-nav a { color: var(--muted); font-size: 14px; transition: color .3s; }
.footer-nav a:hover { color: var(--gold-2); }
.socials { display: flex; gap: 10px; }
.socials a {
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    display: grid; place-items: center;
    color: var(--muted);
    transition: all .3s;
}
.socials a:hover { background: var(--gold); color: #2a0a10; border-color: var(--gold); }
.socials svg { width: 17px; height: 17px; }
.footer-bottom { display: flex; justify-content: space-between; gap: 20px; flex-wrap: wrap; padding-top: 26px; font-size: 13px; color: var(--dim); }

/* ---------- Sahifa sarlavhasi (jamoa.html) ---------- */
.page-hero {
    padding: 190px 0 90px;
    position: relative;
    overflow: hidden;
    text-align: center;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0, rgba(122, 10, 34, .45), transparent 70%),
        var(--bg);
    border-bottom: 1px solid var(--line-soft);
}
.page-hero h1 { font-family: var(--serif); font-size: clamp(46px, 7vw, 88px); font-weight: 600; line-height: 1; margin: 18px 0 18px; }
.page-hero h1 em { font-style: italic; color: var(--gold-2); font-weight: 500; }
.page-hero p { color: var(--muted); max-width: 560px; margin: 0 auto; font-size: 17px; }
.breadcrumbs { margin-top: 30px; font-size: 13px; color: var(--dim); }
.breadcrumbs a { color: var(--muted); }
.breadcrumbs a:hover { color: var(--gold-2); }

/* =========================================================
   MODAL OYNALAR
   ========================================================= */
.modal {
    position: fixed;
    inset: 0;
    z-index: 1000;
    display: none;
    align-items: center;
    justify-content: center;
    padding: 20px;
    background: rgba(5, 1, 2, .78);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}
.modal.open { display: flex; animation: fadeIn .35s ease; }
@keyframes fadeIn { from { opacity: 0; } }

.modal-panel {
    position: relative;
    width: 100%;
    max-width: 880px;
    max-height: calc(100vh - 40px);
    overflow: auto;
    background: linear-gradient(170deg, var(--surface-2), var(--bg-2));
    border: 1px solid var(--line);
    border-radius: 24px;
    box-shadow: 0 50px 100px -30px rgba(0, 0, 0, .9);
    animation: rise .5s var(--ease);
}
@keyframes rise { from { transform: translateY(30px) scale(.97); opacity: 0; } }

.modal-close {
    position: absolute;
    top: 16px; right: 16px;
    z-index: 5;
    width: 42px; height: 42px;
    border-radius: 50%;
    border: 1px solid var(--line);
    background: rgba(15, 5, 7, .7);
    color: var(--text);
    font-size: 22px;
    line-height: 1;
    display: grid; place-items: center;
    transition: transform .3s, background .3s;
}
.modal-close:hover { transform: rotate(90deg); background: var(--wine); }

.booking { display: grid; grid-template-columns: 1.35fr 1fr; }
.booking-hall { padding: 36px; border-right: 1px solid var(--line-soft); }
.booking-hall h2 { font-family: var(--serif); font-size: 34px; font-weight: 600; line-height: 1.1; margin: 8px 0 4px; }
.booking-hall .sub { color: var(--muted); font-size: 14px; margin-bottom: 28px; }

.stage {
    position: relative;
    height: 44px;
    margin: 0 auto 34px;
    width: 86%;
    border-radius: 50% 50% 0 0 / 100% 100% 0 0;
    background: linear-gradient(180deg, rgba(212, 162, 76, .35), rgba(212, 162, 76, 0));
    border-top: 2px solid var(--gold);
    display: grid;
    place-items: center;
    font-size: 11px;
    letter-spacing: .4em;
    color: var(--gold-2);
    font-weight: 700;
}
.stage::after {
    content: "";
    position: absolute;
    top: 100%; left: 10%; right: 10%;
    height: 60px;
    background: radial-gradient(ellipse at top, rgba(240, 207, 138, .14), transparent 70%);
    pointer-events: none;
}

.seat-map { display: grid; gap: 8px; justify-content: center; }
.seat-row { display: flex; align-items: center; gap: 6px; }
.row-label { width: 20px; font-size: 11px; color: var(--dim); font-weight: 700; text-align: center; }
.seat-row .gap { width: 14px; }
.seat {
    width: 30px; height: 30px;
    border-radius: 8px 8px 5px 5px;
    border: 1px solid rgba(212, 162, 76, .35);
    background: rgba(212, 162, 76, .06);
    color: var(--muted);
    font-size: 10.5px;
    font-weight: 700;
    display: grid; place-items: center;
    transition: transform .2s, background .2s, color .2s, box-shadow .2s;
    padding: 0;
}
.seat:hover:not(:disabled) { transform: translateY(-2px); background: rgba(212, 162, 76, .2); color: var(--text); }
.seat.selected {
    background: var(--gold);
    border-color: var(--gold-2);
    color: #2a0a10;
    box-shadow: 0 6px 16px -4px rgba(212, 162, 76, .7);
}
.seat:disabled {
    background: repeating-linear-gradient(45deg, rgba(155, 21, 48, .5) 0 4px, rgba(155, 21, 48, .3) 4px 8px);
    border-color: rgba(155, 21, 48, .6);
    color: transparent;
    cursor: not-allowed;
}

.legend { display: flex; gap: 20px; justify-content: center; margin-top: 26px; font-size: 12.5px; color: var(--muted); flex-wrap: wrap; }
.legend span { display: inline-flex; gap: 8px; align-items: center; }
.legend i { width: 14px; height: 14px; border-radius: 4px; display: inline-block; border: 1px solid rgba(212, 162, 76, .35); background: rgba(212, 162, 76, .06); }
.legend i.sel { background: var(--gold); }
.legend i.occ { background: rgba(155, 21, 48, .6); border-color: rgba(155, 21, 48, .7); }

.booking-form { padding: 36px; display: flex; flex-direction: column; }
.booking-form h3 { font-family: var(--serif); font-size: 26px; font-weight: 600; margin-bottom: 18px; }
.summary {
    border: 1px solid var(--line-soft);
    border-radius: 14px;
    padding: 16px;
    margin-bottom: 22px;
    background: rgba(0, 0, 0, .2);
    font-size: 14px;
}
.summary .row { display: flex; justify-content: space-between; gap: 10px; padding: 6px 0; color: var(--muted); }
.summary .row b { color: var(--text); text-align: right; }
.summary .seats-chosen { color: var(--gold-2) !important; }

.field { margin-bottom: 16px; }
.field label { display: block; font-size: 12px; letter-spacing: .1em; text-transform: uppercase; color: var(--muted); font-weight: 700; margin-bottom: 8px; }
.field input,
.field select,
.field textarea {
    width: 100%;
    padding: 14px 16px;
    border-radius: 12px;
    border: 1px solid var(--line-soft);
    background: rgba(0, 0, 0, .25);
    color: var(--text);
    font: inherit;
    font-size: 15px;
    transition: border-color .3s, box-shadow .3s;
}
.field input::placeholder,
.field textarea::placeholder { color: var(--dim); }
.field input:focus,
.field select:focus,
.field textarea:focus { outline: none; border-color: var(--gold); box-shadow: 0 0 0 4px rgba(212, 162, 76, .12); }
.form-note { font-size: 12px; color: var(--dim); margin-top: 12px; text-align: center; }
.booking-form .btn { margin-top: auto; }
.btn[disabled] { opacity: .5; pointer-events: none; }

/* ---------- Elektron chipta ---------- */
.ticket-wrap { max-width: 860px; background: transparent; border: 0; box-shadow: none; overflow: visible; }
.ticket-success { text-align: center; margin-bottom: 22px; }
.ticket-success .check {
    width: 64px; height: 64px;
    margin: 0 auto 12px;
    border-radius: 50%;
    background: rgba(63, 174, 116, .15);
    border: 1px solid rgba(63, 174, 116, .5);
    color: var(--ok);
    display: grid; place-items: center;
}
.ticket-success .check svg { width: 30px; height: 30px; }
.ticket-success h2 { font-family: var(--serif); font-size: 34px; font-weight: 600; }
.ticket-success p { color: var(--muted); font-size: 14.5px; }

.ticket {
    display: grid;
    grid-template-columns: 200px 1fr 210px;
    background: #f7f0e3;
    color: #2a1015;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 40px 80px -30px rgba(0, 0, 0, .9);
    position: relative;
}
.ticket-poster { position: relative; background: #1a0508; }
.ticket-poster img { width: 100%; height: 100%; object-fit: cover; min-height: 280px; }
.ticket-poster::after {
    content: "";
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 55%, rgba(26, 5, 8, .9));
}
.ticket-poster .mini {
    position: absolute;
    left: 0; right: 0; bottom: 14px;
    z-index: 2;
    text-align: center;
    color: var(--gold-2);
    font-size: 11px;
    letter-spacing: .25em;
    font-weight: 800;
}
.ticket-main {
    padding: 26px 28px;
    display: flex;
    flex-direction: column;
    background:
        radial-gradient(circle at 100% 0, rgba(122, 10, 34, .08), transparent 40%),
        #f7f0e3;
}
.ticket-main .kicker { font-size: 10.5px; letter-spacing: .25em; font-weight: 800; color: var(--wine); }
.ticket-main h2 { font-family: var(--serif); font-size: 38px; line-height: 1; font-weight: 700; margin: 8px 0 4px; color: #2a0a10; }
.ticket-main .venue { font-size: 12.5px; color: #7a5c55; }
.ticket-fields { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 22px 0; padding: 16px 0; border-block: 1px dashed rgba(42, 16, 21, .2); }
.ticket-fields span { display: block; font-size: 9.5px; letter-spacing: .18em; font-weight: 800; color: #9a7d74; margin-bottom: 4px; }
.ticket-fields b { font-size: 14.5px; color: #2a0a10; }
.ticket-foot { display: flex; flex-wrap: wrap; gap: 6px 18px; font-size: 11.5px; color: #7a5c55; margin-top: auto; }

.ticket-stub {
    position: relative;
    background: var(--wine);
    color: #fff;
    padding: 24px 18px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    gap: 12px;
    border-left: 2px dashed rgba(247, 240, 227, .6);
}
.ticket-stub::before,
.ticket-stub::after {
    content: "";
    position: absolute;
    left: -14px;
    width: 26px; height: 26px;
    border-radius: 50%;
    background: var(--bg-2);
}
.ticket-stub::before { top: -13px; }
.ticket-stub::after { bottom: -13px; }
.ticket-stub .lbl { font-size: 10px; letter-spacing: .3em; font-weight: 800; color: var(--gold-2); }
.ticket-stub .seatno { font-family: var(--serif); font-size: 30px; font-weight: 700; text-align: center; line-height: 1.1; word-break: break-word; }
.qr-box { background: #fff; padding: 8px; border-radius: 10px; }
.qr-box img, .qr-box canvas { width: 112px !important; height: 112px !important; }
.ticket-stub .serial { font-family: ui-monospace, monospace; font-size: 10px; opacity: .75; letter-spacing: .08em; }

.ticket-actions { display: flex; gap: 12px; justify-content: center; margin-top: 22px; flex-wrap: wrap; }

/* ---------- Toast ---------- */
.toast-stack { position: fixed; bottom: 24px; left: 50%; transform: translateX(-50%); z-index: 2000; display: grid; gap: 10px; width: min(420px, calc(100% - 32px)); }
.toast {
    padding: 14px 18px;
    border-radius: 14px;
    background: var(--surface-2);
    border: 1px solid var(--line);
    box-shadow: var(--shadow);
    font-size: 14px;
    animation: rise .4s var(--ease);
    display: flex; gap: 10px; align-items: center;
}
.toast.error { border-color: rgba(217, 83, 79, .6); }
.toast.success { border-color: rgba(63, 174, 116, .6); }

/* ---------- Scroll animatsiyalari ---------- */
.reveal { opacity: 0; transform: translateY(40px); transition: opacity 1s var(--ease), transform 1s var(--ease); }
.reveal.in { opacity: 1; transform: none; }
.reveal.d1 { transition-delay: .1s; }
.reveal.d2 { transition-delay: .2s; }
.reveal.d3 { transition-delay: .3s; }

/* =========================================================
   MOSLASHUVCHAN (RESPONSIVE)
   ========================================================= */
@media (max-width: 1024px) {
    .hero-grid { grid-template-columns: 1fr; gap: 40px; }
    .next-show { max-width: 440px; }
    .about-grid { grid-template-columns: 1fr; gap: 60px; }
    .about-media { max-width: 520px; margin-inline: auto; width: 100%; }
    .contact-grid { grid-template-columns: 1fr; }
    .booking { grid-template-columns: 1fr; }
    .booking-hall { border-right: 0; border-bottom: 1px solid var(--line-soft); }
}

@media (max-width: 860px) {
    .burger { display: block; }
    .header-cta { display: none; }
    .main-nav {
        position: fixed;
        inset: 0;
        z-index: -1;
        flex-direction: column;
        justify-content: center;
        gap: 4px;
        background: rgba(15, 5, 7, .97);
        backdrop-filter: blur(20px);
        opacity: 0;
        visibility: hidden;
        transition: opacity .4s, visibility .4s;
    }
    .main-nav a { font-family: var(--serif); font-size: 38px; color: var(--text); }
    .main-nav a::after { display: none; }
    .nav-open .main-nav { opacity: 1; visibility: visible; }
    .main-nav .mobile-cta { display: inline-flex !important; margin-top: 24px; font-family: var(--sans); font-size: 14px; }
    .ticket { grid-template-columns: 1fr; }
    .ticket-poster { display: none; }
    .ticket-stub { border-left: 0; border-top: 2px dashed rgba(247, 240, 227, .6); flex-direction: row; flex-wrap: wrap; justify-content: space-around; }
    .ticket-stub::before, .ticket-stub::after { top: -14px; bottom: auto; }
    .ticket-stub::before { left: -13px; }
    .ticket-stub::after { left: auto; right: -13px; }
}

@media (max-width: 640px) {
    .section { padding: 80px 0; }
    .container { width: calc(100% - 32px); }
    .brand-text span { display: none; }
    .brand img { width: 46px; height: 46px; }
    .curtain { width: 8vw; }
    .hero { padding-top: 120px; }
    .hero-lead { font-size: 16px; }
    .hero-actions .btn { flex: 1; }
    .scroll-hint { display: none; }
    .features { grid-template-columns: 1fr; }
    .about-media .float { right: -6px; }
    .about-media .seal { left: -6px; width: 90px; height: 90px; }
    .contact-card { padding: 30px 24px; }
    .booking-hall, .booking-form { padding: 26px 18px; }
    .seat { width: 23px; height: 23px; font-size: 9px; border-radius: 6px 6px 4px 4px; }
    .seat-row { gap: 4px; }
    .seat-row .row-label:last-child { display: none; }
    .row-label { width: 14px; }
    .seat-row .gap { width: 8px; }
    .ticket-fields { grid-template-columns: 1fr 1fr; }
    .ticket-main h2 { font-size: 30px; }
    .marquee-track { font-size: 22px; }
}

@media (prefers-reduced-motion: reduce) {
    *, *::before, *::after { animation: none !important; transition: none !important; }
    .reveal { opacity: 1; transform: none; }
}

.mobile-cta { display: none !important; }


/* =========================================================
   V3: janr teglari, to'lov usullari, yangiliklar, chipta sahifasi
   ========================================================= */
[hidden] { display: none !important; }

.show-tags { display: flex; gap: 6px; flex-wrap: wrap; margin-bottom: 10px; }
.show-tags span {
    font-size: 11px; font-weight: 700; letter-spacing: .06em;
    padding: 4px 10px; border-radius: 999px;
    border: 1px solid var(--line); color: var(--muted);
}
.show-tags .age { border-color: rgba(155, 21, 48, .7); color: #f3b2bf; }

.pay-options { display: grid; gap: 8px; }
.field .pay-option, .pay-option {
    display: grid; grid-template-columns: auto 1fr; column-gap: 12px; align-items: center;
    padding: 12px 14px; border-radius: 12px;
    border: 1px solid var(--line-soft); background: rgba(0, 0, 0, .2);
    cursor: pointer; transition: border-color .25s, background .25s;
    text-transform: none !important; letter-spacing: normal !important; margin: 0 !important;
}
.pay-option:hover { border-color: var(--line); }
.pay-option:has(input:checked) { border-color: var(--gold); background: rgba(212, 162, 76, .08); }
.pay-option small { grid-column: 2; }
.pay-option input { grid-row: span 2; accent-color: var(--gold); width: 18px; height: 18px; }
.pay-logo { font-weight: 800; font-size: 15px; color: var(--text); }
.pay-payme .pay-logo { color: #33ccff; }
.pay-click .pay-logo { color: #3f8cff; }
.pay-uzum .pay-logo { color: #b98cff; }
.pay-option small { font-size: 12px; color: var(--dim); font-weight: 500; }

.pay-stamp { font-style: normal; margin-left: 8px; padding: 2px 8px; border-radius: 6px; font-size: 9.5px; letter-spacing: .14em; }
.pay-stamp:empty { display: none; }
.pay-stamp.paid { background: #e3f4ea; color: #1d7a48; }
.pay-stamp.due { background: #fbeedd; color: #9a5a12; }

.news-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 26px; }
.news-card {
    border-radius: var(--radius); overflow: hidden; cursor: pointer;
    border: 1px solid var(--line-soft); background: var(--surface);
    transition: transform .5s var(--ease), border-color .5s;
    display: flex; flex-direction: column;
}
.news-card:hover, .news-card:focus-visible { transform: translateY(-6px); border-color: var(--line); outline: none; }
.news-img { aspect-ratio: 16 / 9; overflow: hidden; }
.news-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.news-card:hover .news-img img { transform: scale(1.05); }
.news-body { padding: 22px; display: flex; flex-direction: column; gap: 8px; flex: 1; }
.news-body time, .news-panel time { font-size: 11.5px; letter-spacing: .14em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.news-body h3 { font-family: var(--serif); font-size: 26px; line-height: 1.15; font-weight: 600; }
.news-body p { color: var(--muted); font-size: 14.5px; }
.news-body .link { margin-top: auto; font-size: 13px; font-weight: 700; color: var(--gold-2); }
.news-panel { max-width: 720px; }
.news-panel > img { width: 100%; max-height: 360px; object-fit: cover; }
.news-panel-body { padding: 32px; }
.news-panel h2 { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; margin: 8px 0 18px; }
.news-panel p { color: var(--muted); margin-bottom: 14px; font-size: 16px; }

/* chipta.html */
.ticket-page { min-height: 100vh; padding: 140px 0 80px; background: radial-gradient(ellipse 60% 60% at 50% 0, rgba(122, 10, 34, .35), transparent 70%), var(--bg); }
.ticket-page .ticket-wrap { margin: 0 auto; max-width: 860px; }
.state-card {
    max-width: 560px; margin: 0 auto 28px; text-align: center;
    padding: 34px 28px; border-radius: 22px; border: 1px solid var(--line);
    background: linear-gradient(170deg, var(--surface-2), var(--bg-2));
}
.state-card .big-ic { width: 70px; height: 70px; margin: 0 auto 14px; border-radius: 50%; display: grid; place-items: center; font-size: 30px; }
.state-card .big-ic.ok { background: rgba(63, 174, 116, .15); color: var(--ok); border: 1px solid rgba(63, 174, 116, .5); }
.state-card .big-ic.wait { background: rgba(212, 162, 76, .12); color: var(--gold-2); border: 1px solid var(--line); }
.state-card .big-ic.bad { background: rgba(217, 83, 79, .12); color: #ff8a80; border: 1px solid rgba(217, 83, 79, .5); }
.state-card h1 { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; }
.state-card p { color: var(--muted); margin-top: 10px; }
.state-card .countdown { font-family: var(--serif); font-size: 44px; color: var(--gold-2); margin-top: 10px; }
.state-card .actions { display: flex; gap: 10px; justify-content: center; flex-wrap: wrap; margin-top: 22px; }
.find-form { display: flex; gap: 10px; max-width: 460px; margin: 22px auto 0; }
.find-form input { flex: 1; text-transform: uppercase; }
.my-tickets { display: flex; gap: 8px; flex-wrap: wrap; justify-content: center; margin-top: 16px; }
.my-tickets a { font-size: 13px; padding: 6px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--muted); font-family: ui-monospace, monospace; }
.my-tickets a:hover { color: var(--gold-2); border-color: var(--gold); }
@media (max-width: 640px) { .find-form { flex-direction: column; } .state-card h1 { font-size: 30px; } }

/* =========================================================
   V4: rasmiy sayt tuzilmasi — ko'p sahifali dizayn
   ========================================================= */
.sr-only { position: absolute; width: 1px; height: 1px; overflow: hidden; clip: rect(0 0 0 0); }
.muted-note { color: var(--muted); font-size: 14.5px; }

/* ---- Header ---- */
.main-nav a { padding: 10px 12px; font-size: 13.5px; }
.main-nav a::after { left: 12px; right: 12px; }
.header-actions { display: flex; align-items: center; gap: 10px; }
.icon-link {
    width: 44px; height: 44px; border-radius: 50%;
    border: 1px solid var(--line); display: grid; place-items: center;
    color: var(--muted); transition: color .3s, border-color .3s;
}
.icon-link:hover { color: var(--gold-2); border-color: var(--gold); }
.icon-link svg { width: 19px; height: 19px; }
.mobile-cta-link { display: none !important; }
@media (max-width: 1180px) {
    .burger { display: block; }
    .header-cta { display: none; }
    .main-nav {
        position: fixed; inset: 0; z-index: -1;
        flex-direction: column; justify-content: center; gap: 2px;
        background: rgba(15, 5, 7, .97); backdrop-filter: blur(20px);
        opacity: 0; visibility: hidden; transition: opacity .4s, visibility .4s;
    }
    .main-nav a { font-family: var(--serif); font-size: 32px; color: var(--text); padding: 6px 12px; }
    .main-nav a.active { color: var(--gold-2); }
    .main-nav a::after { display: none; }
    .nav-open .main-nav { opacity: 1; visibility: visible; }
    .main-nav .mobile-cta { display: inline-flex !important; margin-top: 22px; font-family: var(--sans); font-size: 14px; }
    .main-nav .mobile-cta-link { display: block !important; font-family: var(--sans) !important; font-size: 14px !important; color: var(--muted) !important; }
}

/* ---- Hero slayder ---- */
.hero-slides { position: absolute; inset: 0; z-index: -3; overflow: hidden; }
.hero-slide {
    position: absolute; inset: 0;
    background: center 35% / cover no-repeat;
    opacity: 0; transform: scale(1.08);
    transition: opacity 1.6s ease, transform 9s ease-out;
    filter: saturate(.9);
}
.hero-slide.active { opacity: 1; transform: scale(1.0); }
.hero-title, .hero-lead { transition: opacity .5s, transform .6s var(--ease); opacity: 0; transform: translateY(12px); }
.hero-title.in, .hero-lead.in { opacity: 1; transform: none; }
.hero h1 { font-size: clamp(44px, 6.4vw, 92px); }
.hero-dots { display: flex; gap: 8px; margin-top: 40px; }
.hero-dots button { width: 34px; height: 4px; border-radius: 4px; border: 0; background: rgba(255,255,255,.25); padding: 0; transition: background .3s, width .3s; }
.hero-dots button.active { background: var(--gold); width: 54px; }

/* ---- Ma'lumot paneli ---- */
.info-bar { background: var(--wine); color: #fff; border-bottom: 1px solid rgba(240, 207, 138, .3); }
.info-bar-inner { display: flex; gap: 14px 34px; align-items: center; flex-wrap: wrap; padding: 16px 0; font-size: 14px; }
.info-bar-inner > div { display: flex; gap: 10px; align-items: center; }
.info-bar-inner b { font-weight: 600; }
.info-bar-inner b a { color: #fff; }
.info-bar-inner b br { display: none; }
.info-bar-inner b a + br + a::before { content: " · "; }
.info-link { margin-left: auto; font-weight: 700; color: var(--gold-2); white-space: nowrap; }

/* ---- Repertuar ---- */
.repertoire-band { background: var(--bg-2); border-block: 1px solid var(--line-soft); }
.strip-nav { display: flex; gap: 10px; align-items: center; }
.round-btn {
    width: 48px; height: 48px; border-radius: 50%;
    border: 1px solid var(--line); background: transparent; color: var(--text);
    font-size: 24px; line-height: 1; transition: all .3s;
}
.round-btn:hover { background: var(--gold); color: #2a0a10; border-color: var(--gold); }
.poster-strip {
    display: grid; grid-auto-flow: column; grid-auto-columns: minmax(230px, 1fr);
    gap: 22px; overflow-x: auto; scroll-snap-type: x mandatory;
    padding: 6px max(20px, calc((100vw - var(--container)) / 2)) 30px;
    scrollbar-width: none;
}
.poster-strip::-webkit-scrollbar { display: none; }
.poster-strip .poster-card { scroll-snap-align: start; width: 250px; }
.poster-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(230px, 1fr)); gap: 28px; }
.poster-card { cursor: pointer; outline: none; }
.poster-img {
    aspect-ratio: 3 / 4; border-radius: 16px; overflow: hidden;
    background: var(--surface); border: 1px solid var(--line-soft);
    box-shadow: 0 24px 40px -24px rgba(0,0,0,.9);
    transition: transform .5s var(--ease), box-shadow .5s, border-color .5s;
}
.poster-img img { width: 100%; height: 100%; object-fit: cover; transition: transform 1s var(--ease); }
.poster-card:hover .poster-img, .poster-card:focus-visible .poster-img { transform: translateY(-6px); border-color: rgba(212,162,76,.5); box-shadow: 0 34px 60px -26px rgba(0,0,0,.95); }
.poster-card:hover .poster-img img { transform: scale(1.05); }
.poster-info { padding: 16px 4px 0; }
.poster-info .genre { font-size: 11px; letter-spacing: .16em; text-transform: uppercase; color: var(--gold); font-weight: 700; }
.poster-info h3 { font-family: var(--serif); font-size: 26px; line-height: 1.1; font-weight: 600; margin: 6px 0 4px; }
.poster-info p { font-size: 13.5px; color: var(--muted); }
.poster-info .on-stage { display: inline-block; margin-top: 8px; font-size: 12px; font-weight: 700; color: #7fdcaa; }
.rep-toolbar { display: flex; justify-content: space-between; gap: 16px; flex-wrap: wrap; align-items: center; margin-bottom: 40px; }
.chip small { opacity: .6; margin-left: 4px; }
.show-poster[data-spec] { cursor: pointer; }

/* ---- Spektakl oynasi ---- */
.spec-panel { max-width: 980px; }
.spec-layout { display: grid; grid-template-columns: 340px 1fr; }
.spec-poster { background: #000; }
.spec-poster img { width: 100%; height: 100%; object-fit: cover; min-height: 420px; }
.spec-info { padding: 40px 38px; }
.spec-tags { display: flex; gap: 6px; flex-wrap: wrap; }
.spec-tags span { font-size: 11.5px; font-weight: 700; padding: 5px 12px; border-radius: 999px; border: 1px solid var(--line); color: var(--gold-2); }
.spec-tags .age { border-color: rgba(155,21,48,.7); color: #f3b2bf; }
.spec-info h2 { font-family: var(--serif); font-size: 44px; line-height: 1.05; font-weight: 600; margin: 14px 0 22px; }
.spec-credits { display: grid; gap: 12px; padding: 18px 0; border-block: 1px solid var(--line-soft); margin-bottom: 20px; }
.spec-credits div { display: grid; grid-template-columns: 200px 1fr; gap: 12px; font-size: 14.5px; }
.spec-credits span { color: var(--dim); font-size: 12px; letter-spacing: .1em; text-transform: uppercase; font-weight: 700; padding-top: 2px; }
.spec-desc { color: var(--muted); margin-bottom: 22px; }
.spec-desc p + p { margin-top: 10px; }
.spec-info h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 12px; }
.spec-sessions { display: grid; gap: 10px; }
.session { display: flex; justify-content: space-between; align-items: center; gap: 14px; padding: 14px 16px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(0,0,0,.2); }
.session b { display: block; }
.session span { font-size: 13px; color: var(--muted); }
.btn-sm { padding: 10px 18px; font-size: 12px; }

/* ---- Statistika ---- */
.stats { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; margin: 30px 0; }
.stats div { padding: 18px; border-radius: 14px; border: 1px solid var(--line-soft); background: rgba(255,255,255,.02); }
.stats b { display: block; font-family: var(--serif); font-size: 44px; line-height: 1; color: var(--gold-2); }
.stats span { font-size: 13px; color: var(--muted); }
.rich p { color: var(--muted); font-size: 16.5px; margin-top: 16px; }

/* ---- Xalqaro hamkorlik ---- */
.intl {
    background:
        linear-gradient(90deg, rgba(15,5,7,.97) 30%, rgba(15,5,7,.8)),
        url("../Images/galereya/sahna-12.jpg") center 30% / cover;
    border-block: 1px solid var(--line);
}
.intl-grid { display: grid; grid-template-columns: .9fr 1.1fr; gap: 60px; align-items: start; }
.partner-chips { display: flex; flex-wrap: wrap; gap: 8px; margin-top: 26px; }
.partner-chips span { padding: 9px 16px; border-radius: 999px; border: 1px solid var(--line); font-size: 13px; color: var(--text); background: rgba(212,162,76,.06); }

/* ---- Galereya ---- */
.gallery-teaser { display: grid; grid-template-columns: repeat(4, 1fr); grid-auto-rows: 200px; gap: 14px; }
.g-item, .m-item { border: 0; padding: 0; border-radius: 14px; overflow: hidden; background: var(--surface); cursor: zoom-in; }
.g-item img, .m-item img { width: 100%; height: 100%; object-fit: cover; transition: transform .8s var(--ease), filter .5s; filter: saturate(.9); }
.g-item:hover img, .m-item:hover img { transform: scale(1.06); filter: saturate(1.1); }
.g0 { grid-column: span 2; grid-row: span 2; }
.g3 { grid-row: span 2; }
.album { margin-bottom: 60px; }
.album-head { display: flex; justify-content: space-between; align-items: baseline; gap: 14px; flex-wrap: wrap; margin-bottom: 18px; border-bottom: 1px solid var(--line-soft); padding-bottom: 12px; }
.album-head h3 { font-family: var(--serif); font-size: 32px; font-weight: 600; }
.album-head span { color: var(--dim); font-size: 13px; }
.masonry { columns: 4 240px; column-gap: 14px; }
.m-item { display: block; width: 100%; margin-bottom: 14px; break-inside: avoid; }
.m-item img { height: auto; }
.lightbox { position: fixed; inset: 0; z-index: 3000; background: rgba(5,1,2,.95); display: grid; place-items: center; }
.lightbox[hidden] { display: none; }
.lightbox img { max-width: 92vw; max-height: 86vh; border-radius: 8px; box-shadow: 0 30px 80px rgba(0,0,0,.8); }
.lb-close, .lb-prev, .lb-next { position: absolute; border: 1px solid var(--line); background: rgba(15,5,7,.7); color: #fff; width: 52px; height: 52px; border-radius: 50%; font-size: 28px; line-height: 1; }
.lb-close { top: 20px; right: 20px; }
.lb-prev { left: 20px; top: 50%; transform: translateY(-50%); }
.lb-next { right: 20px; top: 50%; transform: translateY(-50%); }
.lb-count { position: absolute; bottom: 20px; color: var(--muted); font-size: 13px; }
.video-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 22px; }
.video-card, .video-frame { position: relative; aspect-ratio: 16/9; border-radius: 16px; overflow: hidden; border: 1px solid var(--line-soft); background: #000; padding: 0; }
.video-card img { width: 100%; height: 100%; object-fit: cover; opacity: .8; transition: opacity .3s; }
.video-card:hover img { opacity: 1; }
.video-card .play { position: absolute; inset: 0; margin: auto; width: 64px; height: 64px; border-radius: 50%; background: var(--gold); color: #2a0a10; display: grid; place-items: center; font-size: 22px; }
.video-card .v-title { position: absolute; left: 0; right: 0; bottom: 0; padding: 14px; text-align: left; background: linear-gradient(transparent, rgba(0,0,0,.85)); color: #fff; font-weight: 600; font-size: 14px; }
.video-frame iframe { width: 100%; height: 100%; border: 0; }

/* ---- Sahifa sarlavhasi foni ---- */
.page-hero { padding: 200px 0 100px; }
.page-hero-bg {
    position: absolute; inset: 0; z-index: -1;
    background:
        radial-gradient(ellipse 60% 80% at 50% 0, rgba(122,10,34,.55), transparent 70%),
        linear-gradient(0deg, var(--bg), rgba(15,5,7,.75)),
        url("../Images/galereya/sahna-01.jpg") center 30% / cover;
    opacity: .9;
}
.page-hero { isolation: isolate; }

/* ---- Jamoa guruhlari ---- */
.team-group { margin-bottom: 70px; }
.team-group-head { display: flex; align-items: center; gap: 14px; margin-bottom: 24px; }
.team-group-head .count { font-size: 12px; font-weight: 800; padding: 3px 10px; border-radius: 999px; background: rgba(212,162,76,.12); color: var(--gold-2); }

/* ---- Afisha qadamlari ---- */
.how-to { display: grid; grid-template-columns: repeat(4, 1fr); gap: 14px; margin-top: 60px; }
.how-to div { display: flex; gap: 14px; align-items: center; padding: 18px; border-radius: 16px; border: 1px solid var(--line-soft); background: var(--surface); }
.how-to b { flex: none; width: 40px; height: 40px; border-radius: 50%; display: grid; place-items: center; background: var(--gold); color: #2a0a10; font-family: var(--serif); font-size: 22px; }
.how-to span { font-size: 14px; color: var(--muted); }

/* ---- Murojaat formasi ---- */
.form-card { display: grid; grid-template-columns: .8fr 1.2fr; gap: 50px; padding: 44px; border-radius: var(--radius); border: 1px solid var(--line); background: linear-gradient(160deg, var(--surface-2), var(--surface)); }
.row2 { display: grid; grid-template-columns: 1fr 1fr; gap: 14px; }
.field select option { background: var(--surface); }
.form-ok { color: #7fdcaa; margin-top: 14px; font-weight: 600; }
.socials.big { flex-wrap: wrap; margin-top: 24px; }
.socials.big a { width: auto; height: auto; padding: 10px 18px; border-radius: 999px; font-size: 13px; font-weight: 700; }

/* ---- Footer ---- */
.footer-grid { display: grid; grid-template-columns: 1.3fr .8fr .9fr 1.2fr; gap: 40px; padding-bottom: 40px; border-bottom: 1px solid var(--line-soft); }
.footer-about p { color: var(--muted); font-size: 14px; margin: 16px 0 20px; max-width: 300px; }
.site-footer h4 { font-size: 12px; letter-spacing: .18em; text-transform: uppercase; color: var(--gold); margin-bottom: 18px; }
.footer-links { display: grid; gap: 10px; }
.footer-links a { color: var(--muted); font-size: 14px; transition: color .3s; }
.footer-links a:hover { color: var(--gold-2); }
.footer-contacts { list-style: none; display: grid; gap: 14px; }
.footer-contacts li { display: flex; gap: 12px; font-size: 14px; color: var(--muted); }
.footer-contacts svg { width: 18px; height: 18px; flex: none; color: var(--gold); margin-top: 2px; }
.footer-contacts a:hover { color: var(--gold-2); }
.socials a svg { width: 17px; height: 17px; }

@media (max-width: 1024px) {
    .spec-layout, .intl-grid, .form-card { grid-template-columns: 1fr; }
    .spec-poster img { min-height: 0; max-height: 420px; }
    .footer-grid { grid-template-columns: 1fr 1fr; }
    .how-to { grid-template-columns: 1fr 1fr; }
    .gallery-teaser { grid-template-columns: repeat(2, 1fr); grid-auto-rows: 160px; }
}
@media (max-width: 640px) {
    .stats { grid-template-columns: 1fr 1fr 1fr; gap: 8px; }
    .stats div { padding: 12px; }
    .stats b { font-size: 32px; }
    .spec-info { padding: 26px 20px; }
    .spec-info h2 { font-size: 34px; }
    .spec-credits div { grid-template-columns: 1fr; gap: 2px; }
    .footer-grid, .how-to, .row2 { grid-template-columns: 1fr; }
    .form-card { padding: 26px 20px; }
    .poster-strip .poster-card { width: 200px; }
    .poster-grid { grid-template-columns: 1fr 1fr; gap: 16px; }
    .poster-info h3 { font-size: 21px; }
    .info-link { margin-left: 0; }
    .page-hero { padding: 150px 0 70px; }
}

/* ---- Jamoa a'zosi oynasi ---- */
.member { cursor: pointer; }
.member-panel { max-width: 860px; }
.mm-layout { display: grid; grid-template-columns: 300px 1fr; }
.mm-photo { background: var(--surface-2); min-height: 380px; }
.mm-photo img { width: 100%; height: 100%; object-fit: cover; object-position: top; }
.mm-photo .monogram { height: 100%; min-height: 380px; display: grid; place-items: center; font-family: var(--serif); font-size: 90px; font-style: italic; color: var(--gold-2); }
.mm-text { padding: 40px 38px; }
.mm-name { font-family: var(--serif); font-size: 36px; font-weight: 600; line-height: 1.1; margin: 12px 0 18px; }
.mm-bio p { color: var(--muted); font-size: 15.5px; margin-bottom: 12px; }
@media (max-width: 760px) { .mm-layout { grid-template-columns: 1fr; } .mm-photo, .mm-photo .monogram { min-height: 0; max-height: 360px; } .mm-text { padding: 26px 20px; } }
