
/* ئۈستىدىكى ئېلان لېنتىسى يانفون نۇسخىسىدا يوشۇرۇنىدۇ */
.ad-strip, .ad-strip-inner, .ad-marquee { display: none !important; }
/* ============================================================
   mobile-uslup1.css — يانفون ئۇسلۇبى 1
   «قاراڭغۇ كىنوخانا»: نېئون ئالتۇن/مارجان، ئەينەك قەۋەتلەر،
   ھەر قۇردا 3 كىنو كارتىسى، ئاستى يولباشلىغۇچ
   ============================================================ */

:root {
  --bg: #06070c;
  --bg-soft: #0d0f17;
  --surface: #141824;
  --surface-2: #1d2231;
  --border: rgba(255, 255, 255, .10);
  --text: #f6f7fb;
  --dim: #98a3b8;
  --accent: #ffbf47;
  --accent-2: #ff5a6a;
  --on-accent: #171008;
  --radius: 16px;
  --radius-lg: 24px;
  --shadow: 0 18px 40px -22px rgba(0, 0, 0, .95);
  --hero-h: 420px;
  --header-bg: rgba(8, 9, 15, .78);
  --container: 100%;
}

body {
  background:
    radial-gradient(680px 380px at 88% -8%, rgba(255, 191, 71, .16), transparent 62%),
    radial-gradient(520px 320px at -6% 6%, rgba(255, 90, 106, .13), transparent 64%),
    radial-gradient(460px 320px at 50% 42%, rgba(96, 116, 255, .07), transparent 72%),
    var(--bg);
  -webkit-font-smoothing: antialiased;
}
::selection { background: rgba(255, 191, 71, .32); color: #fff; }

.site-shell { display: flex; flex-direction: column; min-height: 100vh; }
.main-grid { flex: 1 1 auto; }

/* ---- باش قىسىم: ئەينەك + ئىزدەش قۇرى ---- */
.container { padding-inline: 14px; }
.site-header {
  background: var(--header-bg);
  backdrop-filter: blur(18px) saturate(1.4);
  -webkit-backdrop-filter: blur(18px) saturate(1.4);
  border-bottom: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 12px 30px -24px #000;
}
.header-inner {
  height: auto;
  min-height: 60px;
  padding-block: 9px;
  gap: 9px;
  flex-wrap: wrap;
  row-gap: 9px;
}
.brand { order: 1; }
.brand-mark {
  width: 38px; height: 38px;
  border-radius: 13px;
  background: linear-gradient(145deg, var(--accent), var(--accent-2));
  color: #171008;
  box-shadow: 0 9px 20px -10px rgba(255, 191, 71, .9), inset 0 1px 0 rgba(255, 255, 255, .55);
}
.brand-text strong { font-size: 16.5px; letter-spacing: .2px; }
.brand-text small { display: none; }
.main-nav { display: none; }

.header-tools { order: 2; margin-inline-start: auto; gap: 6px; }
.header-tools .btn { padding: 7px 12px; font-size: 12.5px; border-radius: 11px; }
.header-tools .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #171008;
  border: 0;
  font-weight: 700;
  box-shadow: 0 8px 18px -10px rgba(255, 140, 70, .9);
}
#styleBtn { border-color: rgba(255, 255, 255, .13); background: rgba(255, 255, 255, .05); }
.night-btn {
  flex: none; position: relative; min-width: 36px;
  width: 36px; height: 36px;
  border-radius: 12px;
  border: 1px solid rgba(255, 255, 255, .13);
  background: rgba(255, 255, 255, .06);
  color: var(--text);
  backdrop-filter: blur(8px);
  transition: transform .25s ease, border-color .25s, background .25s, box-shadow .25s;
}
.night-btn:hover { border-color: var(--accent); background: rgba(255, 255, 255, .12); box-shadow: 0 6px 18px -10px var(--accent); }
.night-btn:active { transform: scale(.9); }
body[data-night="1"] .night-btn { border-color: rgba(255, 191, 71, .4); box-shadow: inset 0 0 14px -6px rgba(255, 191, 71, .85); }

.search {
  display: flex;
  order: 3;
  flex: 1 1 100%;
  width: 100%;
  height: 40px;
  padding: 0 13px;
  gap: 9px;
  border-radius: 13px;
  background: rgba(255, 255, 255, .055);
  border: 1px solid rgba(255, 255, 255, .10);
  color: var(--dim);
}
.search:focus-within {
  border-color: rgba(255, 191, 71, .55);
  box-shadow: 0 0 0 3px rgba(255, 191, 71, .10);
  color: var(--accent);
}
.search input { width: 100%; flex: 1 1 auto; font-size: 13px; color: var(--text); }
.search input::placeholder { color: #7c869c; }

/* ---- چوڭ ئىلان ---- */
.main-grid { grid-template-columns: minmax(0, 1fr); gap: 18px; padding-block: 14px 104px; }
.content-col { gap: 22px; }
.hero {
  height: var(--hero-h);
  border-radius: var(--radius-lg);
  border: 1px solid rgba(255, 255, 255, .10);
  box-shadow: 0 26px 50px -28px rgba(0, 0, 0, .95), inset 0 1px 0 rgba(255, 255, 255, .10);
}
.hero-img { filter: saturate(1.18) contrast(1.04); }
.hero-slide.is-active .hero-img { animation: heroZoom 9s ease-out both; }
@keyframes heroZoom { from { transform: scale(1.07); } to { transform: scale(1); } }
.hero::after {
  content: ""; position: absolute; inset: 0; pointer-events: none;
  background: radial-gradient(120% 70% at 50% -20%, rgba(255, 191, 71, .14), transparent 60%);
}
.hero-body {
  padding: 20px 18px 42px;
  max-width: none;
  gap: 7px;
  background: linear-gradient(to top,
    rgba(6, 7, 12, .98) 8%, rgba(6, 7, 12, .86) 40%, rgba(6, 7, 12, .28) 74%, transparent 100%);
}
.hero-kicker {
  align-self: flex-start;
  font-size: 10.5px; padding: 5px 11px;
  border-radius: 999px;
  background: linear-gradient(135deg, rgba(255, 191, 71, .96), rgba(255, 90, 106, .93));
  color: #1a1108;
  font-weight: 700;
  border: 1px solid rgba(255, 255, 255, .26);
  box-shadow: 0 8px 18px -10px rgba(255, 150, 70, .9);
}
.hero-kicker::before {
  content: ""; display: inline-block; width: 5px; height: 5px;
  border-radius: 50%; background: currentColor;
  margin-inline-end: 6px; vertical-align: middle;
}
.hero-title { font-size: 27px; line-height: 1.3; font-weight: 800; text-shadow: 0 3px 18px rgba(0, 0, 0, .8); }
.hero-meta { font-size: 12px; color: rgba(246, 247, 251, .84); }
.hero-desc { display: none; } /* hero-meta بىلەن مەزمۇنى تەكرار */
.hero-actions { gap: 9px; margin-top: 8px; }
.hero-actions .btn { padding: 10px 17px; font-size: 13px; border-radius: 12px; }
.hero-actions .btn-primary {
  background: linear-gradient(135deg, var(--accent), var(--accent-2));
  color: #171008; border: 0; font-weight: 700;
  box-shadow: 0 12px 24px -12px rgba(255, 150, 70, .95);
}
.hero-actions .btn-ghost {
  background: rgba(255, 255, 255, .09);
  border: 1px solid rgba(255, 255, 255, .24);
  color: #fff;
  backdrop-filter: blur(8px);
}
.hero-score {
  width: 48px; height: 48px; font-size: 15px;
  top: 14px; inset-inline-end: 14px;
  border-radius: 14px;
  background: rgba(12, 14, 22, .72);
  border: 1px solid rgba(255, 191, 71, .45);
  color: var(--accent);
  backdrop-filter: blur(10px);
  box-shadow: 0 10px 24px -14px #000;
}
.hero-dots { inset-inline-start: 18px; bottom: 16px; gap: 6px; }
.hero-dots button { width: 6px; height: 6px; border-radius: 999px; background: rgba(255, 255, 255, .40); transition: .3s; }
.hero-dots button.is-active { width: 20px; background: linear-gradient(90deg, var(--accent), var(--accent-2)); }
.hero-ctrls { display: none; }

/* ---- ئۇقتۇرۇش ---- */
.notice {
  position: relative;
  font-size: 12px;
  line-height: 1.9;
  text-align: start;
  padding: 12px 16px 12px 38px;
  border-radius: 14px;
  background: linear-gradient(120deg, rgba(255, 191, 71, .10), rgba(255, 90, 106, .07));
  border: 1px solid rgba(255, 191, 71, .20);
  color: rgba(246, 247, 251, .90);
}
.notice::before {
  content: ""; position: absolute; inset-inline-start: 15px; top: 50%;
  transform: translateY(-50%);
  width: 8px; height: 8px; border-radius: 50%;
  background: var(--accent);
  box-shadow: 0 0 0 4px rgba(255, 191, 71, .16), 0 0 12px var(--accent);
}

/* ---- گۇرۇپپا ماۋزۇسى ---- */
.group { gap: 12px; }
.group-head { align-items: center; gap: 9px; }
.group-head h2 { font-size: 18px; font-weight: 800; gap: 9px; }
.group-head h2::before {
  height: 18px; width: 4px; border-radius: 4px;
  background: linear-gradient(180deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 12px rgba(255, 191, 71, .5);
}
.head-star { color: var(--accent); }
.group-sub { display: none; }
.group-count {
  font-size: 11px; padding: 3px 10px; border-radius: 999px;
  background: rgba(255, 255, 255, .07);
  border: 1px solid rgba(255, 255, 255, .10);
  color: var(--dim);
}
.group-more {
  margin-inline-start: auto;
  font-size: 11.5px; color: var(--accent);
  padding: 4px 10px; border-radius: 999px;
  background: rgba(255, 191, 71, .09);
}

/* ---- كىنو كارتلىرى: ھەر قۇردا 3 ---- */
.cards {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 9px;
}
.card {
  border-radius: var(--radius);
  background: linear-gradient(180deg, #171c29, #0f121b);
  border: 1px solid rgba(255, 255, 255, .07);
  box-shadow: 0 12px 26px -20px #000, inset 0 1px 0 rgba(255, 255, 255, .05);
  overflow: hidden;
  transition: transform .22s, box-shadow .22s, border-color .22s;
  animation: cardIn .45s both;
}
.cards .card:nth-child(2) { animation-delay: .05s; }
.cards .card:nth-child(3) { animation-delay: .10s; }
.cards .card:nth-child(n+4) { animation-delay: .15s; }
@keyframes cardIn { from { opacity: 0; transform: translateY(10px); } to { opacity: 1; transform: none; } }
.card:active { transform: scale(.97); border-color: rgba(255, 191, 71, .42); }
.card-poster { aspect-ratio: 2 / 3; }
.card-poster img { filter: saturate(1.08); }
.card-poster::after {
  content: ""; position: absolute; inset: 0;
  background: linear-gradient(180deg, transparent 55%, rgba(6, 7, 12, .58));
}
.card-badge {
  font-size: 9.5px; padding: 3px 7px; border-radius: 999px;
  top: 7px; inset-inline-start: 7px;
  background: rgba(8, 10, 16, .72);
  border: 1px solid rgba(255, 191, 71, .38);
  color: var(--accent);
  backdrop-filter: blur(8px);
  box-shadow: 0 6px 14px -10px #000;
}
.card-flags { top: 7px; inset-inline-end: 7px; gap: 4px; }
.flag { font-size: 8.5px; padding: 3px 7px; border-radius: 999px; border: 1px solid rgba(255, 255, 255, .18); backdrop-filter: blur(8px); }
.flag-rec { display: none; } /* گۇرۇپپا ماۋزۇسى ئاللىبۇرۇن بىلدۈرىدۇ */
.flag-new { background: linear-gradient(135deg, #34d6a0, #14a06e); color: #04150e; border: 0; font-weight: 700; }
.flag-vip { background: linear-gradient(135deg, var(--accent), var(--accent-2)); color: #170f07; border: 0; font-weight: 800; }
.card-body { padding: 9px 9px 11px; gap: 4px; }
.card-title {
  font-size: 11.5px; line-height: 1.5; font-weight: 700;
  min-height: 34px;
  display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden;
}
.card-meta { font-size: 9.5px; gap: 5px; color: var(--dim); white-space: nowrap; overflow: hidden; }
.card-desc, .card-hover-cta { display: none; }
.card-links { gap: 0; padding-top: 6px; }
.link-chip {
  font-size: 9.5px; padding: 4px 8px; border-radius: 8px;
  background: rgba(255, 191, 71, .12);
  border: 1px solid rgba(255, 191, 71, .22);
  color: var(--accent);
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 100%;
}
.link-chip:nth-child(n+2) { display: none; }

/* ---- يان تەرەپ ---- */
.sidebar { position: static; gap: 14px; }
.side-card { padding: 14px; border-radius: var(--radius); }
.side-card h3 { font-size: 14px; }
.side-help { order: -1; }
.ad-card img { max-height: 300px; }
.ad-wide { flex-direction: column; align-items: flex-start; padding: 16px 18px; border-radius: var(--radius); }
.ad-wide .btn { margin-inline-start: 0; }

/* يانفوندا ماركا ۋە نەشر ھوقۇقى چۈشەندۈرۈشىمۇ كۆرۈنسۇن (ئاستى يولباشلىغۇچتىن ئۈستىدە) */
.site-footer { display: block; margin-top: 18px; }
.footer-inner {
  flex-direction: column; align-items: center; justify-content: center;
  gap: 6px; text-align: center;
  padding-block: 18px calc(84px + env(safe-area-inset-bottom));
}
.footer-inner strong { font-size: 14px; }
.footer-inner p { font-size: 11px; line-height: 1.7; }
.footer-links { display: none; }

/* ---- ئاستى يولباشلىغۇچ ---- */
.bottom-nav {
  position: fixed;
  inset-inline: 0;
  bottom: 0;
  z-index: 60;
  display: flex;
  align-items: stretch;
  justify-content: space-around;
  padding: 7px 8px calc(7px + env(safe-area-inset-bottom));
  background: rgba(10, 12, 19, .86);
  backdrop-filter: blur(22px) saturate(1.5);
  -webkit-backdrop-filter: blur(22px) saturate(1.5);
  border-top: 1px solid rgba(255, 255, 255, .09);
  box-shadow: 0 -14px 34px -20px #000;
}
.bottom-nav a {
  flex: 1 1 0;
  display: flex; flex-direction: column; align-items: center; gap: 3px;
  padding: 7px 0 6px;
  font-size: 10px;
  color: var(--dim);
  border-radius: 14px;
  position: relative;
  transition: .22s;
}
.bottom-nav svg { width: 21px; height: 21px; }
.bottom-nav a.active {
  color: var(--accent);
  background: linear-gradient(180deg, rgba(255, 191, 71, .16), rgba(255, 191, 71, .04));
}
.bottom-nav a.active::before {
  content: ""; position: absolute; top: 0;
  width: 22px; height: 3px; border-radius: 0 0 4px 4px;
  background: linear-gradient(90deg, var(--accent), var(--accent-2));
  box-shadow: 0 0 10px var(--accent);
}
.bottom-nav a.active svg { filter: drop-shadow(0 0 8px rgba(255, 191, 71, .75)); }

/* ---- ئۇسلۇب تاختىسى ---- */
.style-drawer-panel {
  width: min(330px, 88vw); padding: 20px;
  border-radius: 20px;
  background: #12151f;
  border: 1px solid rgba(255, 255, 255, .10);
}

/* ---- كېچە ھالىتى ---- */
body[data-night="1"], html[data-night-pre="1"] {
  --bg: #04050a;
  --bg-soft: #090b12;
  --surface: #10131d;
  --surface-2: #181c28;
  --text: #f2f4fa;
  --dim: #8d97ac;
  --accent: #ffc957;
  --accent-2: #ff6070;
  --header-bg: rgba(5, 6, 11, .86);
}

/* ---- كومپيۇتېردا يانفون ئۇسلۇبى تاللانسا: مەركەزلەشتۈرۈلگەن رامكا ---- */
@media (min-width: 768px) {
  body { background: #04050a; padding-block: 0; }
  .site-shell {
    max-width: 460px;
    margin-inline: auto;
    min-height: 100vh;
    background: var(--bg);
    box-shadow: 0 0 0 1px rgba(255, 255, 255, .07), 0 40px 120px -40px #000;
    position: relative;
  }
  .site-header { top: 0; }
  .bottom-nav { left: 0; right: 0; margin-inline: auto; max-width: 460px; }
  .hero { height: 460px; }
}

@media (prefers-reduced-motion: reduce) {
  .card, .hero-slide.is-active .hero-img { animation: none; }
  .card, .bottom-nav a, .night-btn { transition: none; }
}
