/* ===========================================================
   "Qo'g'irchoqdan qo'ng'iroqqacha" — Yorqin bolalar dizayni
   =========================================================== */

@import url('https://fonts.googleapis.com/css2?family=Quicksand:wght@500;600;700&family=Nunito:ital,wght@0,400;0,600;0,700;0,800;1,700&display=swap');

:root {
  --bg:       #E8F5FF;   /* asosiy fon — och osmon */
  --bg2:      #F0F9FF;   /* ikkinchi fon */
  --white:    #FFFFFF;
  --blue:     #2479C8;   /* asosiy ko'k */
  --blue-d:   #1A5BA0;   /* to'q ko'k */
  --blue-l:   #4DAEF5;   /* och ko'k */
  --blue-xl:  #C8E8FF;   /* juda och ko'k */
  --orange:   #FF6B2B;   /* issiq to'q sariq */
  --orange-l: #FF8F56;
  --yellow:   #FFD23F;   /* quyosh sariq */
  --yellow-l: #FFF3C0;
  --green:    #2EBD7A;   /* yashil */
  --green-l:  #D4F5E8;
  --purple:   #9B72E5;   /* binafsha */
  --purple-l: #EDE5FF;
  --pink:     #F05A94;   /* pushti */
  --pink-l:   #FFE4F0;
  --text:     #1A3050;   /* asosiy matn */
  --text-s:   #5A7A9A;   /* ikkinchi matn */
  --border:   rgba(36,121,200,.14);

  --r-sm: 10px;
  --r-md: 18px;
  --r-lg: 26px;
  --r-xl: 36px;
  --shadow:      0 4px 20px rgba(36,121,200,.10);
  --shadow-soft: 0 10px 40px rgba(36,121,200,.14);
  --shadow-cover: 0 30px 70px rgba(26,91,160,.22), 0 8px 20px rgba(0,0,0,.12), -8px 0 24px rgba(0,0,0,.08);

  --ff-head: 'Quicksand', system-ui, sans-serif;
  --ff-body: 'Nunito', system-ui, sans-serif;
}

* { margin: 0; padding: 0; box-sizing: border-box; }
html { scroll-behavior: smooth; }

body {
  font-family: var(--ff-body);
  color: var(--text);
  line-height: 1.65;
  overflow-x: hidden;
  /* Nozik nuqta patterni */
  background-color: var(--bg);
  background-image: radial-gradient(circle, rgba(36,121,200,.09) 1.5px, transparent 1.5px);
  background-size: 28px 28px;
}

h1,h2,h3,h4 { font-family: var(--ff-head); line-height: 1.2; }
a   { text-decoration: none; color: inherit; }
img { max-width: 100%; display: block; }
ul  { list-style: none; }

.wrap    { width: min(1180px, 92%); margin-inline: auto; }
.section { padding: 80px 0; position: relative; }

/* ---------- Tugmalar ---------- */
.btn {
  display: inline-flex; align-items: center; gap: 10px;
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  padding: 14px 28px; border-radius: var(--r-md); border: none;
  cursor: pointer; text-decoration: none;
  transition: transform .15s ease, box-shadow .15s ease, background .15s ease;
}
.btn:hover  { transform: translateY(-3px); }
.btn:active { transform: translateY(1px); }

.btn--blue    { background: var(--blue);   color: #fff; box-shadow: 0 6px 20px rgba(36,121,200,.45); }
.btn--blue:hover { background: var(--blue-d); box-shadow: 0 10px 28px rgba(36,121,200,.55); }
.btn--outline { background: rgba(255,255,255,.18); color: #fff; border: 2px solid rgba(255,255,255,.55); backdrop-filter: blur(4px); }
.btn--outline:hover { background: rgba(255,255,255,.3); border-color: #fff; }
.btn--orange  { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(255,107,43,.45); }
.btn--orange:hover { background: var(--orange-l); }
.btn--white   { background: var(--white);  color: var(--blue-d); box-shadow: var(--shadow); }
.btn--white:hover { box-shadow: var(--shadow-soft); }
.btn--dark    { background: var(--text);   color: #fff; box-shadow: 0 6px 20px rgba(26,48,80,.35); }
/* Boshqa sahifalar uchun aliaslar */
.btn--coral   { background: var(--orange); color: #fff; box-shadow: 0 6px 20px rgba(255,107,43,.4); }
.btn--coral:hover { background: var(--orange-l); }
.btn--gold    { background: var(--yellow); color: var(--text); box-shadow: 0 6px 20px rgba(255,210,63,.5); }
.btn--gold:hover  { box-shadow: 0 10px 28px rgba(255,210,63,.6); }
.btn--mint    { background: var(--green);  color: #fff; box-shadow: 0 6px 20px rgba(46,189,122,.4); }
.btn--sky     { background: var(--blue-l); color: #fff; }
.btn--ghost   { background: var(--white);  color: var(--text); border: 1.5px solid var(--border); box-shadow: var(--shadow); }

/* ---------- Kicker (boshqa sahifalar) ---------- */
.kicker {
  display: inline-block; font-family: var(--ff-head); font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: #fff; padding: 5px 16px; border-radius: var(--r-sm);
  font-size: .78rem; letter-spacing: 2px; text-transform: uppercase; margin-bottom: 14px;
}
.h-xl  { font-size: clamp(2rem, 5.5vw, 3.6rem); font-weight: 700; }
.h-lg  { font-size: clamp(1.7rem, 4vw, 2.6rem); font-weight: 700; }
.lead  { font-size: 1.1rem; color: var(--text-s); font-weight: 600; }

/* ---------- Section label / title (index) ---------- */
.section-label {
  display: block; font-family: var(--ff-head); font-size: .75rem; font-weight: 700;
  text-transform: uppercase; letter-spacing: 3px;
  color: var(--blue); margin-bottom: 12px;
}
.section-label.light { color: var(--yellow); }
.section-title {
  font-family: var(--ff-head); font-weight: 700;
  font-size: clamp(1.8rem, 4vw, 2.8rem); line-height: 1.2;
}

/* ===========================================================
   NAVIGATSIYA
   =========================================================== */
.nav {
  position: sticky; top: 0; z-index: 100;
  background: rgba(255,255,255,.92); backdrop-filter: blur(14px);
  box-shadow: 0 2px 20px rgba(36,121,200,.12);
  border-bottom: 2px solid var(--blue-xl);
}
.nav__inner { display: flex; align-items: center; justify-content: space-between; height: 70px; }
.brand      { display: flex; align-items: center; gap: 12px; text-decoration: none; }
.brand__icon { font-size: 1.8rem; }
.brand__text {
  font-family: var(--ff-head); font-weight: 700; font-size: 1rem;
  color: var(--text); line-height: 1.3;
}
.brand__text em { font-style: italic; color: var(--blue); }
.nav__links { display: flex; gap: 3px; align-items: center; }
.nav__links a {
  font-family: var(--ff-head); font-weight: 600; padding: 8px 14px;
  border-radius: var(--r-sm); color: var(--text-s);
  transition: color .15s, background .15s;
}
.nav__links a:hover  { color: var(--blue);   background: var(--blue-xl); }
.nav__links a.active {
  color: #fff;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
}
.nav__toggle {
  display: none; background: var(--blue); color: #fff; border: none;
  border-radius: var(--r-sm); width: 44px; height: 44px; font-size: 1.2rem; cursor: pointer;
  box-shadow: 0 4px 14px rgba(36,121,200,.4);
}
@media (max-width: 880px) {
  .nav__toggle { display: block; }
  .nav__links {
    position: absolute; top: 70px; left: 0; right: 0; flex-direction: column; gap: 3px;
    background: #fff; border-bottom: 2px solid var(--blue-xl); padding: 12px;
    transform: translateY(-150%); transition: transform .3s ease; box-shadow: var(--shadow-soft);
  }
  .nav__links.open { transform: translateY(0); }
  .nav__links a { text-align: center; width: 100%; }
}

/* ===========================================================
   HERO
   =========================================================== */
.hero {
  background: linear-gradient(140deg, #1A5BA0 0%, #2479C8 45%, #4DAEF5 100%);
  color: #fff;
  padding: 80px 0 110px;
  clip-path: polygon(0 0, 100% 0, 100% 90%, 0 100%);
  margin-bottom: -40px;
  position: relative;
  overflow: hidden;
  z-index: 1;
}

/* ----- Animatsiyali blob fon ----- */
.hero__deco {
  position: absolute; inset: 0; pointer-events: none; z-index: 0; overflow: hidden;
}
.hero__blob {
  position: absolute; border-radius: 50%;
  filter: blur(55px); pointer-events: none;
}
.hero__blob--1 {
  width: 420px; height: 420px;
  background: rgba(255,255,255,.14);
  top: -120px; right: -80px;
  animation: blobFloat 9s ease-in-out infinite;
}
.hero__blob--2 {
  width: 280px; height: 280px;
  background: rgba(255,210,63,.22);
  bottom: -40px; left: 8%;
  animation: blobFloat 11s ease-in-out infinite reverse;
  animation-delay: 2s;
}
.hero__blob--3 {
  width: 220px; height: 220px;
  background: rgba(46,189,122,.18);
  top: 30%; left: -50px;
  animation: blobFloat 8s ease-in-out infinite;
  animation-delay: 1s;
}
.hero__blob--4 {
  width: 160px; height: 160px;
  background: rgba(240,90,148,.2);
  bottom: 20%; right: 35%;
  animation: blobFloat 7s ease-in-out infinite reverse;
  animation-delay: 3s;
}
@keyframes blobFloat {
  0%, 100% { transform: translate(0,0) scale(1); }
  33%  { transform: translate(22px,-16px) scale(1.05); }
  66%  { transform: translate(-16px,18px) scale(0.95); }
}

/* Suzuvchi nuqtalar */
.hero__dot {
  position: absolute; border-radius: 50%; pointer-events: none;
  animation: dotPop 3s ease-in-out infinite;
}
.hero__dot--1 { width:14px; height:14px; background:rgba(255,255,255,.45); top:15%; left:22%; animation-delay:0s; }
.hero__dot--2 { width:10px; height:10px; background:rgba(255,210,63,.7);   top:25%; right:30%; animation-delay:.8s; }
.hero__dot--3 { width:18px; height:18px; background:rgba(255,255,255,.3);  bottom:35%; left:40%; animation-delay:1.6s; }
.hero__dot--4 { width:10px; height:10px; background:rgba(46,189,122,.8);   top:60%; right:18%; animation-delay:2.2s; }
.hero__dot--5 { width:12px; height:12px; background:rgba(240,90,148,.7);   bottom:25%; left:18%; animation-delay:.4s; }
@keyframes dotPop {
  0%,100% { transform: translateY(0) scale(1);   opacity: .7; }
  50%      { transform: translateY(-12px) scale(1.2); opacity: 1; }
}

/* ----- Hero grid ----- */
.hero__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 60px; align-items: center;
  position: relative; z-index: 1;
}
.hero__eyebrow {
  font-family: var(--ff-head); font-size: .82rem; font-weight: 700;
  color: var(--yellow); text-transform: uppercase; letter-spacing: 2.5px; margin-bottom: 22px;
}
.hero__heading {
  font-family: var(--ff-head); font-weight: 700; line-height: 1.05;
  font-size: clamp(2.8rem, 6vw, 5rem); color: #fff; margin-bottom: 22px;
}
.hero__heading em { font-style: italic; color: var(--yellow); }
.hero__sub { color: rgba(255,255,255,.82); font-size: 1.08rem; font-weight: 600; max-width: 460px; }
.hero__cta { display: flex; gap: 14px; flex-wrap: wrap; margin-top: 36px; }

/* ----- Kitob oblo'jkasi ----- */
.hero__visual {
  position: relative;
  filter: drop-shadow(var(--shadow-cover));
}
.hero__cover-glow {
  position: absolute;
  inset: -18px -14px;
  background: linear-gradient(140deg, rgba(255,210,63,.55), rgba(255,107,43,.38), rgba(155,114,229,.3));
  border-radius: var(--r-xl);
  filter: blur(28px);
  z-index: 0;
  animation: coverPulse 3.5s ease-in-out infinite;
}
@keyframes coverPulse {
  0%,100% { opacity: .65; transform: scale(1); }
  50%      { opacity: .9;  transform: scale(1.04); }
}
.hero__bg-img {
  width: 100%; height: auto; display: block;
  border-radius: var(--r-lg);
  border: 3px solid rgba(255,255,255,.5);
  position: relative; z-index: 1;
  animation: imgFloat 4s ease-in-out infinite;
  transform-origin: center center; will-change: transform;
}
@keyframes imgFloat {
  0%   { transform: translateY(0)     scale(1)    rotate(0deg); }
  35%  { transform: translateY(-14px) scale(1.02) rotate(.5deg); }
  65%  { transform: translateY(-7px)  scale(1.01) rotate(-.4deg); }
  100% { transform: translateY(0)     scale(1)    rotate(0deg); }
}

/* Mobile: rasm yuqorida, matn pastda */
@media (max-width: 820px) {
  .hero { clip-path: polygon(0 0, 100% 0, 100% 96%, 0 100%); padding-bottom: 90px; }
  .hero__inner { grid-template-columns: 1fr; gap: 32px; text-align: center; }
  .hero__visual { order: -1; max-width: 260px; margin: 0 auto; }
  .hero__sub    { margin: 0 auto; }
  .hero__cta    { justify-content: center; }
}

/* ===========================================================
   TICKER
   =========================================================== */
.ticker {
  background: var(--yellow); color: var(--text);
  padding: 13px 0; overflow: hidden; white-space: nowrap;
  position: relative; z-index: 2;
  box-shadow: 0 4px 18px rgba(255,210,63,.4);
}
.ticker__track {
  display: inline-flex; width: max-content;
  animation: tickerMove 25s linear infinite;
}
.ticker__item { font-family: var(--ff-head); font-weight: 700; font-size: .98rem; padding: 0 26px; }
.ticker__sep  { opacity: .45; padding: 0 4px; }
@keyframes tickerMove {
  from { transform: translateX(0); }
  to   { transform: translateX(-50%); }
}

/* ===========================================================
   MUALLIFLAR
   =========================================================== */
.authors-section { padding: 80px 0; background: var(--white); }
.authors-grid {
  display: grid; grid-template-columns: 1fr 1fr; gap: 26px; margin-top: 40px;
}
.author {
  display: flex; gap: 22px; align-items: center;
  background: var(--bg2); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow); border-left: 5px solid var(--blue);
  transition: transform .15s, box-shadow .15s;
}
.author:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.author__img  {
  width: 96px; height: 96px; border-radius: 50%; overflow: hidden;
  flex-shrink: 0; border: 3px solid var(--blue-xl);
  box-shadow: 0 4px 14px rgba(36,121,200,.18);
}
.author__img img { width: 100%; height: 100%; object-fit: cover; }
.author__name { font-family: var(--ff-head); font-size: 1.1rem; font-weight: 700; margin-bottom: 6px; color: var(--text); }
.author__role { color: var(--text-s); font-weight: 600; font-size: .88rem; line-height: 1.55; }
@media (max-width: 760px) { .authors-grid { grid-template-columns: 1fr; } }

/* ===========================================================
   NEGA SHU NOM — OCHIQ (endi qorongʻi emas)
   =========================================================== */
.about-name {
  background: linear-gradient(135deg, #FFF8F0, #FFF3E0);
  padding: 90px 0;
  border-top: 2px solid rgba(255,210,63,.3);
  border-bottom: 2px solid rgba(255,210,63,.3);
}
.about-name__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.about-name .section-label { color: var(--orange); }
.about-name h2 { color: var(--text); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 16px 0 24px; }
.about-name .lead { color: var(--text-s); }
.about-name__card {
  background: var(--white); border-radius: var(--r-lg);
  padding: 44px; position: relative; overflow: hidden;
  box-shadow: 0 8px 32px rgba(255,107,43,.12);
  border: 2px solid rgba(255,210,63,.35);
}
.about-name__card::before {
  content: '"'; font-family: Georgia, serif; font-size: 10rem; line-height: .8;
  color: var(--yellow); opacity: .35;
  position: absolute; top: 10px; left: 16px; pointer-events: none;
}
.about-name__quote {
  font-family: var(--ff-head); font-size: 1.18rem; font-weight: 600;
  color: var(--text); line-height: 1.7; position: relative; z-index: 1;
}
.about-name__quote strong { color: var(--orange); }
@media (max-width: 820px) { .about-name__inner { grid-template-columns: 1fr; gap: 40px; } }

/* ===========================================================
   METODIKA
   =========================================================== */
.methods { background: var(--white); }
.methods__grid {
  display: grid; grid-template-columns: repeat(3, 1fr);
  margin-top: 48px; border-radius: var(--r-lg); overflow: hidden;
  border: 2px solid var(--blue-xl); box-shadow: var(--shadow);
}
.method {
  padding: 32px 26px;
  border-right: 2px solid var(--blue-xl);
  border-bottom: 2px solid var(--blue-xl);
  background: var(--white); transition: background .2s ease; position: relative;
}
.method:hover { background: var(--bg2); }
.method:nth-child(3n) { border-right: none; }
.method:nth-child(4), .method:nth-child(5), .method:nth-child(6) { border-bottom: none; }
.method__n {
  font-family: var(--ff-head); font-size: 3rem; font-weight: 700;
  color: var(--blue-xl); display: block; line-height: 1; margin-bottom: 6px;
}
.method__icon { font-size: 1.9rem; margin-bottom: 10px; }
.method h3 { font-size: 1.1rem; font-weight: 700; margin-bottom: 8px; color: var(--text); }
.method p  { color: var(--text-s); font-weight: 600; font-size: .9rem; line-height: 1.55; }
@media (max-width: 880px) {
  .methods__grid { grid-template-columns: 1fr; }
  .method { border-right: none; }
  .method:nth-child(n)   { border-bottom: 2px solid var(--blue-xl); }
  .method:last-child { border-bottom: none; }
}

/* ===========================================================
   STANDARTLAR — OCHIQ (endi qorongʻi emas)
   =========================================================== */
.standards {
  background: linear-gradient(135deg, #EAF6FF, #D8EEFF);
  padding: 90px 0;
  border-top: 2px solid var(--blue-xl);
  border-bottom: 2px solid var(--blue-xl);
}
.standards__inner {
  display: grid; grid-template-columns: 1fr 1fr; gap: 70px; align-items: center;
}
.standards .section-label { color: var(--blue); }
.standards h2 { color: var(--text); font-size: clamp(1.8rem, 4vw, 2.6rem); margin: 16px 0 20px; }
.standards .lead { color: var(--text-s); }
.standards__badges { display: flex; flex-direction: column; gap: 14px; }
.std-badge {
  display: flex; align-items: center; gap: 22px;
  background: var(--white); border: 2px solid var(--blue-xl);
  border-radius: var(--r-md); padding: 20px 26px;
  box-shadow: var(--shadow);
  transition: transform .15s, border-color .2s, box-shadow .15s;
}
.std-badge:hover {
  border-color: var(--blue-l); box-shadow: var(--shadow-soft);
  transform: translateX(6px);
}
.std-badge__code { font-family: var(--ff-head); font-size: 1.6rem; font-weight: 700; color: var(--blue); min-width: 72px; }
.std-badge__desc { color: var(--text-s); font-weight: 600; font-size: .96rem; }
@media (max-width: 820px) { .standards__inner { grid-template-columns: 1fr; gap: 40px; } }

/* ===========================================================
   KIM UCHUN
   =========================================================== */
.audience { background: var(--white); }
.audience__grid {
  display: grid; grid-template-columns: repeat(3, 1fr); gap: 22px; margin-top: 48px;
}
.aud-card {
  background: var(--bg2); border-radius: var(--r-lg); padding: 34px 28px;
  box-shadow: var(--shadow); display: flex; flex-direction: column; gap: 12px;
  border-bottom: 4px solid transparent;
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.aud-card:hover { transform: translateY(-6px); box-shadow: var(--shadow-soft); }
.aud-card:nth-child(1):hover { border-bottom-color: var(--blue); }
.aud-card:nth-child(2):hover { border-bottom-color: var(--green); }
.aud-card:nth-child(3):hover { border-bottom-color: var(--orange); }
.aud-card__icon { font-size: 2.5rem; }
.aud-card h3    { font-family: var(--ff-head); font-size: 1.2rem; font-weight: 700; color: var(--text); }
.aud-card p     { color: var(--text-s); font-weight: 600; flex: 1; font-size: .95rem; }
.aud-card__link { font-family: var(--ff-head); font-weight: 700; color: var(--blue); font-size: .92rem; transition: color .15s; }
.aud-card__link:hover { color: var(--blue-d); }
.audience__cta  { text-align: center; margin-top: 48px; }
@media (max-width: 880px) { .audience__grid { grid-template-columns: 1fr; } }

/* ===========================================================
   FOOTER
   =========================================================== */
.footer { background: linear-gradient(135deg, #0F2540, #1A3A60); color: #fff; padding: 60px 0 28px; }
.footer__grid {
  display: grid; grid-template-columns: 2fr 1fr 1fr; gap: 40px;
  padding-bottom: 40px; border-bottom: 1px solid rgba(255,255,255,.1);
}
.footer h4 {
  font-family: var(--ff-head); color: #fff; font-size: .9rem; font-weight: 700;
  letter-spacing: 1.5px; text-transform: uppercase; margin-bottom: 16px;
}
.footer p   { font-weight: 600; line-height: 1.9; font-size: .9rem; }
.footer a   { color: rgba(255,255,255,.55); font-weight: 600; transition: color .15s; }
.footer a:hover { color: var(--yellow); }
.footer__bottom {
  text-align: center; margin-top: 28px;
  color: rgba(255,255,255,.35); font-size: .85rem; font-weight: 600;
}
@media (max-width: 760px) { .footer__grid { grid-template-columns: 1fr; } }

/* ---------- Scroll reveal ---------- */
.reveal { opacity: 0; transform: translateY(22px); transition: opacity .6s ease, transform .6s ease; }
.reveal.show { opacity: 1; transform: none; }

/* ---------- Yordamchilar ---------- */
.center { text-align: center; }
.mt-s { margin-top: 16px; } .mt-m { margin-top: 28px; } .mt-l { margin-top: 48px; }
.text-w { color: #fff !important; }

/* ===========================================================
   BOSHQA SAHIFALAR (kitob, kattalar, aloqa, oyinlar)
   =========================================================== */
.cards { display: grid; gap: 20px; }
.cards--3 { grid-template-columns: repeat(3, 1fr); }
.cards--2 { grid-template-columns: repeat(2, 1fr); }
.card {
  background: var(--white); border-radius: var(--r-lg); padding: 28px;
  box-shadow: var(--shadow); border-left: 4px solid var(--blue-l);
  transition: transform .15s, box-shadow .15s;
}
.card:hover { transform: translateY(-5px); box-shadow: var(--shadow-soft); }
.card__icon {
  width: 56px; height: 56px; border-radius: 14px; display: grid;
  place-items: center; font-size: 1.75rem; margin-bottom: 14px;
}
.card h3 { font-size: 1.2rem; font-weight: 700; margin-bottom: 8px; }
.card p  { color: var(--text-s); font-weight: 600; }

.bg-sun   { background: var(--yellow-l); }
.bg-coral { background: var(--orange);  color: #fff; }
.bg-mint  { background: var(--green);   color: #fff; }
.bg-sky   { background: var(--blue-l);  color: #fff; }
.bg-grape { background: var(--purple);  color: #fff; }
.bg-cloud { background: var(--bg2); }

.card.bg-sun   { border-left-color: var(--yellow);  background: var(--yellow-l); color: var(--text); }
.card.bg-coral { border-left-color: var(--orange);  background: #FFF2EE;         color: var(--text); }
.card.bg-mint  { border-left-color: var(--green);   background: var(--green-l);  color: var(--text); }
.card.bg-sky   { border-left-color: var(--blue);    background: var(--blue-l);   }
.card.bg-grape { border-left-color: var(--purple);  background: var(--purple-l); color: var(--text); }
.card.bg-cloud { border-left-color: var(--blue-xl); background: var(--bg2); }

.card.bg-sky.text-w { background: var(--blue); }
.card.bg-sky.text-w h3, .card.bg-sky.text-w p { color: #fff !important; }

@media (max-width: 880px) { .cards--3 { grid-template-columns: 1fr; } .cards--2 { grid-template-columns: 1fr; } }

/* Bands */
.band { border-block: 2px solid var(--blue-xl); }
.band--cloud { background: var(--bg2); }
.band--mint  { background: linear-gradient(135deg, var(--blue-d), var(--blue)); color: #fff; }
.band--mint h2, .band--mint .kicker, .band--mint .lead { color: #fff; }
.band--sun   { background: var(--yellow-l); }

/* Badges */
.badges { display: flex; gap: 18px; flex-wrap: wrap; justify-content: center; }
.badge {
  background: var(--white); border: 2px solid var(--blue-xl);
  border-radius: var(--r-md); color: var(--text); padding: 22px 28px;
  text-align: center; min-width: 190px; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s, border-color .15s;
}
.badge:hover { transform: translateY(-4px); box-shadow: var(--shadow-soft); border-color: var(--blue-l); }
.badge b { font-family: var(--ff-head); font-size: 1.5rem; display: block; color: var(--blue); }

/* band--mint ichidagi badges */
.band--mint .badge { background: rgba(255,255,255,.12); border-color: rgba(255,255,255,.25); color: #fff; }
.band--mint .badge b { color: var(--yellow); }

/* Stats */
.stats { display: grid; grid-template-columns: repeat(5, 1fr); gap: 16px; }
.stat  { border-radius: var(--r-md); padding: 22px 14px; text-align: center; box-shadow: var(--shadow-soft); }
.stat:nth-child(1) { background: linear-gradient(135deg, var(--blue-d),  var(--blue)); }
.stat:nth-child(2) { background: linear-gradient(135deg, var(--orange),  var(--orange-l)); }
.stat:nth-child(3) { background: linear-gradient(135deg, var(--purple),  #B896F5); }
.stat:nth-child(4) { background: linear-gradient(135deg, var(--blue-l),  #7DD4FF); }
.stat:nth-child(5) { background: linear-gradient(135deg, var(--green),   #5DE8A8); }
.stat__num { font-family: var(--ff-head); font-weight: 700; font-size: 2.4rem; line-height: 1; color: #fff; }
.stat__lbl { font-weight: 700; color: rgba(255,255,255,.85); margin-top: 6px; font-size: .92rem; }
@media (max-width: 760px) { .stats { grid-template-columns: repeat(2, 1fr); } }

/* Parts */
.parts { display: grid; grid-template-columns: 1fr 1fr; gap: 22px; }
.part  { border-radius: var(--r-lg); padding: 30px; box-shadow: var(--shadow); position: relative; }
.part--1 { background: var(--yellow-l); border-top: 5px solid var(--yellow); }
.part--2 { background: #EDF4FC;         border-top: 5px solid var(--blue-l); }
.part__tag  { font-family: var(--ff-head); font-weight: 700; font-size: 1.4rem; display: flex; align-items: center; gap: 10px; }
.part__emoji { font-size: 2rem; }
.part ul li { font-weight: 700; padding: 8px 0; border-bottom: 1px dashed var(--border); }
.part ul li:last-child { border: 0; }
@media (max-width: 760px) { .parts { grid-template-columns: 1fr; } }

/* Bars */
.bars { display: grid; gap: 12px; }
.bar-row { display: grid; grid-template-columns: 180px 1fr 46px; align-items: center; gap: 12px; }
.bar-row .lbl { font-weight: 700; font-size: .94rem; }
.bar-track { background: var(--bg2); border-radius: 999px; height: 24px; overflow: hidden; border: 1px solid var(--border); }
.bar-fill  { height: 100%; width: 0; border-radius: 999px; transition: width 1.1s cubic-bezier(.2,.9,.3,1); }
.bar-fill.bg-coral { background: linear-gradient(90deg, var(--orange),  var(--orange-l)); color: unset; }
.bar-fill.bg-mint  { background: linear-gradient(90deg, var(--green),   #5DE8A8);        color: unset; }
.bar-fill.bg-sky   { background: linear-gradient(90deg, var(--blue),    var(--blue-l));  color: unset; }
.bar-fill.bg-grape { background: linear-gradient(90deg, var(--purple),  #B896F5);        color: unset; }
.bar-fill.bg-sun   { background: linear-gradient(90deg, #E8A800,        var(--yellow));  color: unset; }
.bar-row .val { font-family: var(--ff-head); font-weight: 700; text-align: right; color: var(--blue-d); }
@media (max-width: 600px) { .bar-row { grid-template-columns: 130px 1fr 36px; } }

/* Signs */
.signs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 14px; }
.sign  {
  background: var(--white); border-radius: var(--r-md); padding: 16px;
  display: flex; gap: 14px; align-items: flex-start;
  box-shadow: var(--shadow); border-left: 3px solid var(--blue-l);
  transition: transform .15s;
}
.sign:hover { transform: translateY(-3px); }
.sign__ic { font-size: 1.8rem; flex-shrink: 0; }
.sign b   { font-family: var(--ff-head); color: var(--text); }
.sign p   { color: var(--text-s); font-weight: 600; font-size: .9rem; }
@media (max-width: 880px) { .signs { grid-template-columns: 1fr; } }

/* Forma */
.form { background: var(--white); border-radius: var(--r-lg); padding: 32px; box-shadow: var(--shadow); }
.field { margin-bottom: 18px; }
.field label { font-family: var(--ff-head); font-weight: 700; display: block; margin-bottom: 6px; }
.field input, .field select, .field textarea {
  width: 100%; font-family: var(--ff-body); font-weight: 600; font-size: 1rem;
  padding: 13px 16px; border: 2px solid var(--border); border-radius: var(--r-sm);
  background: var(--bg2); color: var(--text);
  transition: border-color .15s, box-shadow .15s;
}
.field input:focus, .field select:focus, .field textarea:focus {
  outline: none; border-color: var(--blue-l);
  box-shadow: 0 0 0 3px rgba(77,174,245,.18); background: var(--white);
}
.field .err { color: var(--orange); font-weight: 700; font-size: .88rem; margin-top: 5px; display: none; }
.field.invalid .err { display: block; }
.field.invalid input, .field.invalid select, .field.invalid textarea { border-color: var(--orange); }
.form__ok {
  display: none; background: var(--green); color: #fff;
  border-radius: var(--r-md); padding: 18px; font-weight: 800; text-align: center; margin-bottom: 18px;
}
.form__ok.show { display: block; animation: pop .4s; }

/* ===========================================================
   O'YINLAR
   =========================================================== */
.game-pick { display: grid; grid-template-columns: repeat(3, 1fr); gap: 18px; }
.game-card {
  border-radius: var(--r-lg); padding: 26px; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .15s, box-shadow .15s; text-align: center; color: var(--text);
  background: var(--white); border-top: 4px solid var(--blue-l);
}
.game-card:hover { transform: translateY(-6px) scale(1.02); box-shadow: var(--shadow-soft); }
.game-card .big { font-size: 3rem; }
.game-card h3   { margin: 10px 0 6px; font-family: var(--ff-head); }
.game-card p    { font-weight: 700; color: var(--text-s); }
@media (max-width: 880px) { .game-pick { grid-template-columns: 1fr; } }

.game-stage {
  background: var(--white); border-radius: var(--r-lg); padding: 30px;
  box-shadow: var(--shadow-soft); margin-top: 28px; min-height: 380px;
}
.game-stage.hidden { display: none; }
.game-head { display: flex; align-items: center; justify-content: space-between; flex-wrap: wrap; gap: 12px; margin-bottom: 18px; }
.game-head h2 { font-size: 1.5rem; }
.score-pill {
  font-family: var(--ff-head); font-weight: 700;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: #fff; border-radius: 999px; padding: 8px 18px;
}
.game-q { font-family: var(--ff-head); font-weight: 700; font-size: 1.35rem; text-align: center; margin: 6px 0 22px; }

.tiles { display: flex; gap: 16px; flex-wrap: wrap; justify-content: center; }
.tile  {
  width: 110px; height: 110px; border-radius: var(--r-md); font-size: 3rem;
  display: grid; place-items: center; cursor: pointer; background: var(--bg2);
  box-shadow: var(--shadow); border: 2px solid var(--blue-xl);
  transition: transform .12s, background .12s;
}
.tile:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.tile.correct { background: var(--green); color: #fff; animation: pop .4s; }
.tile.wrong   { background: var(--orange); color: #fff; animation: shake .4s; }

.mem-grid { display: grid; grid-template-columns: repeat(4, 92px); gap: 12px; justify-content: center; }
.mem-card {
  width: 92px; height: 92px; border-radius: 14px; cursor: pointer; font-size: 2.6rem;
  display: grid; place-items: center;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: transparent; box-shadow: var(--shadow); transition: transform .2s;
}
.mem-card.flipped { background: var(--white); color: var(--text); }
.mem-card.matched { background: linear-gradient(135deg, var(--green), #5DE8A8); color: #fff; cursor: default; }
@media (max-width: 520px) { .mem-grid { grid-template-columns: repeat(4, 70px); } .mem-card { width:70px; height:70px; font-size: 2rem; } }

.dnd { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.dnd__col h4 { text-align: center; margin-bottom: 12px; }
.drag-pool, .drop-zone { display: flex; flex-direction: column; gap: 12px; }
.drag-item {
  border-radius: var(--r-md); padding: 12px; font-size: 2rem;
  background: var(--yellow-l); cursor: grab; text-align: center;
  box-shadow: var(--shadow); user-select: none; border: 2px solid rgba(255,210,63,.5);
}
.drag-item.dragging { opacity: .5; }
.drop-slot {
  border: 2px dashed var(--border); border-radius: var(--r-md); padding: 14px;
  min-height: 64px; display: flex; align-items: center; gap: 12px;
  background: var(--white); font-weight: 800;
}
.drop-slot.over   { background: var(--bg2); }
.drop-slot.filled { border-style: solid; border-color: var(--blue-l); }
.drop-slot.ok     { background: var(--green-l); border-color: var(--green); }
@media (max-width: 600px) { .dnd { grid-template-columns: 1fr; } }

.win { text-align: center; padding: 30px; }
.win .emoji { font-size: 4rem; animation: pop .5s; }
.win h3     { font-size: 2rem; margin: 10px 0; color: var(--green); }
.stars span { font-size: 2rem; }

@keyframes pop   { 0%{transform:scale(.4);}70%{transform:scale(1.2);}100%{transform:scale(1);} }
@keyframes shake { 0%,100%{transform:translateX(0);}25%{transform:translateX(-7px);}75%{transform:translateX(7px);} }

.confetti { position: fixed; top:-10px; width:12px; height:12px; z-index:200; pointer-events:none; border-radius:3px; }

.game-item { font-size: 5rem; text-align: center; margin: 4px 0 26px; line-height: 1; }

.choices { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.choice  {
  width: 130px; min-height: 120px; padding: 12px; gap: 4px;
  border-radius: var(--r-md); background: var(--bg2);
  display: grid; place-items: center; cursor: pointer; box-shadow: var(--shadow);
  transition: transform .12s; color: var(--text); border: 2px solid var(--blue-xl);
}
.choice:hover { transform: translateY(-3px); box-shadow: var(--shadow-soft); }
.choice .em  { font-size: 2.6rem; }
.choice .cap { font-family: var(--ff-head); font-weight: 700; font-size: 1rem; }
.choice.correct { background: var(--green);  color: #fff; animation: pop .4s; }
.choice.wrong   { background: var(--orange); color: #fff; animation: shake .4s; }

.seq { display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; font-size: 3rem; margin-bottom: 26px; }
.seq .q {
  width: 70px; height: 70px; border: 2px dashed var(--border); border-radius: 14px;
  display: grid; place-items: center; font-size: 2.2rem; background: var(--white); color: var(--text-s);
}

.baskets { display: flex; gap: 18px; justify-content: center; flex-wrap: wrap; }
.basket  {
  width: 150px; min-height: 120px; padding: 12px; gap: 8px;
  border-radius: var(--r-md); color: #fff; display: grid; place-items: center;
  cursor: pointer; box-shadow: var(--shadow-soft);
  font-family: var(--ff-head); font-weight: 800; transition: transform .12s;
}
.basket .em { font-size: 2.4rem; }
.basket:hover { transform: translateY(-3px); }
.basket.correct { outline: 5px solid var(--blue-d); }
.basket.wrong   { animation: shake .4s; }

.bee-grid { display: grid; gap: 6px; justify-content: center; margin: 6px auto 22px; }
.bee-cell {
  width: 66px; height: 66px; border-radius: 14px; background: var(--bg2);
  display: grid; place-items: center; font-size: 2rem; transition: background .15s;
  border: 2px solid var(--blue-xl);
}
.bee-cell.hive { background: var(--yellow-l); }
.bee-cell.bee  { background: var(--yellow); }
.arrow-pad { display: grid; grid-template-columns: repeat(3, 66px); gap: 8px; justify-content: center; }
.arrow-btn {
  height: 60px; border: none; border-radius: 14px;
  background: linear-gradient(135deg, var(--blue), var(--blue-l));
  color: #fff; font-size: 1.7rem; cursor: pointer;
  box-shadow: 0 5px 14px rgba(36,121,200,.35);
}
.arrow-btn:active { transform: translateY(2px); box-shadow: none; }
.arrow-btn.empty  { visibility: hidden; box-shadow: none; }
.bee-moves { text-align: center; font-family: var(--ff-head); font-weight: 700; color: var(--text-s); margin-bottom: 14px; }

@media (max-width: 520px) {
  .bee-cell  { width: 54px; height: 54px; font-size: 1.6rem; }
  .arrow-pad { grid-template-columns: repeat(3, 54px); }
  .choice    { width: 104px; min-height: 104px; }
  .basket    { width: 116px; }
  .game-item { font-size: 4rem; }
}

.draggable       { touch-action: none; cursor: grab; user-select: none; -webkit-user-select: none; }
.draggable:active{ cursor: grabbing; }
.drag-ghost      { box-shadow: 0 16px 30px rgba(36,121,200,.3); transform: rotate(-5deg) scale(1.06); z-index: 9999; }
.droptarget.over { outline: 4px solid var(--blue-l); outline-offset: 3px; }

.dock { display: flex; justify-content: center; margin-bottom: 26px; min-height: 120px; align-items: center; }
.veh, .fruit-chip {
  width: 116px; height: 116px; border-radius: var(--r-md); background: var(--white);
  display: grid; place-items: center; font-size: 3.2rem;
  box-shadow: var(--shadow); border: 2px solid var(--blue-xl);
}

.zones { display: flex; gap: 16px; justify-content: center; flex-wrap: wrap; }
.zone  {
  width: 165px; min-height: 130px; gap: 6px; padding: 12px;
  border-radius: var(--r-md); display: grid; place-items: center;
  font-family: var(--ff-head); font-weight: 800;
  box-shadow: var(--shadow); transition: transform .1s; border: 2px solid var(--blue-xl);
}
.zone .em    { font-size: 2.4rem; }
.zone--sky   { background: #D6EEFF; }
.zone--water { background: #D4F4F1; }
.zone--land  { background: #EDE9D0; }
.zone.ok     { outline: 5px solid var(--green); }

.kd { display: grid; grid-template-columns: 1fr 1fr; gap: 30px; align-items: start; }
.kd__col h4 { text-align: center; margin-bottom: 14px; }
.kd-keys, .kd-doors { display: flex; flex-direction: column; gap: 14px; align-items: center; }
.key-chip {
  width: 96px; height: 58px; border-radius: 999px; display: grid; place-items: center;
  font-size: 1.9rem; box-shadow: var(--shadow); background: var(--yellow-l);
  border: 2px solid rgba(255,210,63,.5);
}
.door {
  width: 92px; height: 116px; border-radius: 12px 12px 6px 6px;
  position: relative; box-shadow: var(--shadow); display: grid; place-items: center;
  font-size: 1.6rem; background: var(--bg2); border: 2px solid var(--blue-xl);
}
.door::after { content:''; position:absolute; right:12px; top:50%; transform:translateY(-50%); width:10px; height:10px; border-radius:50%; background:rgba(0,0,0,.2); }
.door.ok { outline: 5px solid var(--green); }
.door.ok::before { content:'✅'; font-size:1.8rem; }
@media (max-width: 560px) { .kd { gap: 16px; } .door { width: 76px; height: 96px; } .key-chip { width: 80px; } }

.build { display: grid; grid-template-columns: 1fr 1fr; gap: 28px; justify-items: center; }
.build h4 { text-align: center; margin-bottom: 12px; }
.cell-grid { display: grid; gap: 5px; padding: 10px; border-radius: var(--r-md); background: var(--white); box-shadow: var(--shadow); border: 2px solid var(--blue-xl); }
.cell { width: 40px; height: 40px; border-radius: 8px; background: var(--bg2); border: 1px solid var(--border); }
.cell.filled { background: var(--purple); }
.build-grid .cell { cursor: pointer; transition: transform .08s; }
.build-grid .cell:hover { transform: scale(.94); }
.build-grid .cell.on  { background: var(--yellow); }
.build-grid.bad { animation: shake .4s; }
.build-msg { text-align: center; font-family: var(--ff-head); font-weight: 700; min-height: 26px; margin-top: 10px; }
@media (max-width: 560px) { .build { gap: 14px; } .cell { width: 30px; height: 30px; } }

.bee-cell.path      { background: var(--yellow-l); }
.bee-cell.path-done { background: var(--green-l); }
