/* ============ ASOSIY SOZLAMALAR (Faqat O'zbek tili) ============ */
:root {
    --primary: #ffb300;
    --primary-600: #ffb700;
    --primary-soft: rgba(255, 208, 0, 0.138);
    --ink: #12162b;
    --navy: #fffaf1;
    --navy-2: #ffffff;
    --cream: #fffaf1;
    --paper: #ffffff;
    --muted: #5d6478;
    --line: #eee1c4;
    --r: 24px;
}

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

html {
    scroll-behavior: smooth;
    max-width: 100vw;
    overflow-x: clip;
}

body {
    font-family: 'Manrope', system-ui, sans-serif;
    background: var(--cream);
    color: var(--ink);
    overflow-x: clip;
    max-width: 100vw;
    line-height: 1.6;
}

h1,
h2,
h3,
.display {
    font-family: 'Unbounded', sans-serif
}

img {
    max-width: 100%;
    display: block
}

a {
    text-decoration: none;
    color: inherit
}

section {
    scroll-margin-top: 110px
}

.container {
    max-width: 1160px;
    margin: 0 auto;
    padding: 0 24px
}




::selection {
    background: var(--primary);
    color: #1a1200
}

/* ============ TUGMALAR ============ */
.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    border-radius: 999px;
    padding: 15px 28px;
    font-family: 'Manrope';
    font-weight: 800;
    font-size: 15px;
    border: none;
    cursor: pointer;
    transition: transform .25s ease, box-shadow .25s ease, background .25s ease
}

.btn svg {
    transition: transform .25s
}

.btn:hover svg {
    transform: translateX(4px)
}

.btn-primary {
    background: var(--primary-600);
    color: #fff;
    box-shadow: 0 14px 30px rgba(250, 176, 3, .35)
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: 0 20px 40px rgba(250, 176, 3, .45)
}

.btn-ghost {
    background: #fff;
    color: var(--ink);
    border: 1.5px solid var(--line)
}

.btn-ghost:hover {
    transform: translateY(-3px);
    border-color: var(--primary);
    box-shadow: 0 14px 30px rgba(18, 22, 43, .08)
}

.btn-outline-light {
    background: transparent;
    color: #fff;
    border: 1.5px solid rgba(255, 255, 255, .25)
}

.btn-outline-light:hover {
    border-color: var(--primary);
    color: var(--primary);
    transform: translateY(-3px)
}

/* ============ NAVBAR ============ */
#navbar {
    position: fixed;
    top: 16px;
    left: 0;
    right: 0;
    z-index: 100;
    padding: 0 20px
}

.nav-pill {
    max-width: 1160px;
    margin: 0 auto;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    background: rgba(255, 255, 255, .88);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 10px 12px 10px 20px;
    box-shadow: 0 8px 26px rgba(18, 22, 43, .06);
    transition: box-shadow .3s;
    width: 100%;
}

.nav-pill.scrolled {
    box-shadow: 0 14px 40px rgba(18, 22, 43, .12)
}

.logo {
    display: inline-flex;
    align-items: center;
    text-decoration: none;
}

.logo-mark {
    height: 40px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.logo:hover .logo-mark {
    transform: scale(1.04);
}

.footer-logo-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    text-decoration: none;
}

.footer-logo-icon {
    height: 38px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    filter: drop-shadow(0 2px 8px rgba(250, 176, 3, 0.35));
    transition: transform 0.25s ease;
}

.footer-logo-link:hover .footer-logo-icon {
    transform: scale(1.08) rotate(-4deg);
}

.footer-logo-img {
    height: 46px;
    width: auto;
    object-fit: contain;
    flex-shrink: 0;
    transition: transform 0.25s ease;
}

.footer-logo-link:hover .footer-logo-img {
    transform: scale(1.04);
}

.nav-links {
    display: flex;
    gap: 28px;
    font-weight: 700;
    font-size: 14px;
    color: #3c4258
}

.nav-links a {
    transition: color .2s
}

.nav-links a:hover {
    color: var(--primary-600)
}

.nav-cta {
    display: flex;
    align-items: center;
    gap: 10px
}

.nav-cta .btn {
    padding: 11px 20px;
    font-size: 14px
}

#menuBtn {
    display: none;
    width: 42px;
    height: 42px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    background: #fff;
    cursor: pointer;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 5px
}

#menuBtn span {
    width: 18px;
    height: 2px;
    background: var(--ink);
    border-radius: 2px;
    transition: .3s
}

#menuBtn.open span:nth-child(1) {
    transform: translateY(3.5px) rotate(45deg)
}

#menuBtn.open span:nth-child(2) {
    transform: translateY(-3.5px) rotate(-45deg)
}

#mobileMenu {
    display: none;
    position: fixed;
    top: 80px;
    left: 20px;
    right: 20px;
    z-index: 99;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 22px;
    box-shadow: 0 24px 60px rgba(18, 22, 43, .16);
    padding: 18px;
    flex-direction: column;
    gap: 4px
}

#mobileMenu.open {
    display: flex
}

#mobileMenu a {
    padding: 13px 16px;
    border-radius: 14px;
    font-weight: 700;
    color: #333a52
}

#mobileMenu a:hover {
    background: #f5f5f5;
    color: #000
}

/* ============ LANG DROPDOWN STILLARI ============ */
.lang-dropdown {
    position: relative;
    display: inline-block;
}

.lang-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 999px;
    padding: 9px 14px;
    font-family: 'Unbounded', sans-serif;
    font-weight: 700;
    font-size: 13px;
    color: var(--ink);
    cursor: pointer;
    transition: border-color 0.25s ease;
    outline: none;
    user-select: none;
    box-shadow: none !important;
}

.lang-btn:hover,
.lang-dropdown.open .lang-btn {
    border-color: var(--primary);
    background: #ffffff;
}

.lang-btn .arrow {
    transition: transform 0.3s ease;
}

.lang-dropdown.open .lang-btn .arrow {
    transform: rotate(180deg);
}

.lang-menu {
    position: absolute;
    top: calc(100% + 10px);
    right: 0;
    min-width: 140px;
    background: #ffffff;
    border: 1.5px solid var(--line);
    border-radius: 18px;
    padding: 6px;
    box-shadow: 0 12px 30px rgba(18, 22, 43, 0.08);
    opacity: 0;
    visibility: hidden;
    transform: translateY(-8px) scale(0.96);
    transition: all 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    z-index: 110;
}

.lang-dropdown.open .lang-menu {
    opacity: 1;
    visibility: visible;
    transform: translateY(0) scale(1);
}

.lang-option {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 9px 14px;
    border-radius: 12px;
    font-family: 'Manrope', sans-serif;
    font-weight: 700;
    font-size: 13.5px;
    color: var(--ink);
    cursor: pointer;
    transition: all 0.2s ease;
}

.lang-option.selected {
    display: none !important;
}

.lang-option .lang-code {
    font-family: 'Unbounded', sans-serif;
    font-size: 12px;
    font-weight: 700;
}

.lang-option:hover {
    background: var(--cream);
    color: var(--ink);
}

/* Mobil menyu ichidagi lang-dropdown ko'rinishi */
.mobile-lang-wrapper {
    padding: 8px 16px 12px;
    border-bottom: 1px solid var(--line);
    margin-bottom: 6px;
}

.mobile-lang-wrapper .lang-dropdown {
    width: 100%;
}

.mobile-lang-wrapper .lang-btn {
    width: 100%;
    justify-content: space-between;
}

.mobile-lang-wrapper .lang-menu {
    width: 100%;
    left: 0;
    right: 0;
}

/* ============ 1. HERO ============ */
.hero {
    position: relative;
    padding: 170px 0 90px;
    overflow: hidden
}

.hero::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image: linear-gradient(var(--line) 1px, transparent 1px);
    background-size: 46px 46px;
    mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
    -webkit-mask-image: radial-gradient(ellipse 70% 60% at 50% 35%, #000 30%, transparent 75%);
    opacity: .6
}

.hero::after {
    content: '';
    position: absolute;
    top: -160px;
    left: 50%;
    transform: translateX(-50%);
    width: 720px;
    height: 420px;
    background: radial-gradient(closest-side, rgba(250, 176, 3, .22), transparent 70%);
    pointer-events: none
}

.hero-inner {
    position: relative;
    z-index: 2;
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center
}

.badge {
    display: inline-flex;
    align-items: center;
    gap: 16px;
    background: #fff;
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 18px;
    font-size: 12px;
    font-weight: 800;
    letter-spacing: .12em;
    text-transform: uppercase;
    color: #6a5110;
    box-shadow: 0 6px 18px rgba(18, 22, 43, .06);
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.badge.in {
    opacity: 1;
    transform: translateY(0);
}

.badge i {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: var(--primary);
    box-shadow: 0 0 0 4px var(--primary-soft);
    animation: pulse 2s infinite
}

@keyframes pulse {
    50% {
        box-shadow: 0 0 0 7px rgba(250, 176, 3, .08)
    }
}

.hero h1 {
    margin: 26px 0 22px;
    font-size: clamp(30px, 5vw, 56px);
    font-weight: 600;
    line-height: 1.18;
    max-width: 920px;
    letter-spacing: -.01em
}

.hl {
    background: linear-gradient(transparent 62%, rgba(250, 176, 3, .55) 62%);
    padding: 0 4px
}

.hero-sub {
    max-width: 680px;
    color: var(--muted);
    font-size: clamp(15px, 1.6vw, 17px);
    font-weight: 600
}

.hero-cta {
    display: flex;
    gap: 14px;
    margin: 36px 0 0;
    flex-wrap: wrap;
    justify-content: center
}

.hero-figure {
    margin-top: 64px;
    border-radius: 30px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 40px 90px rgba(11, 16, 38, .25);
    position: relative;
    width: 100%;
    opacity: 0;
    transform: translateY(20px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.hero-figure.in {
    opacity: 1;
    transform: translateY(0);
}

.hero-video {
    width: 100%;
    height: 100%;
    aspect-ratio: 16/9;
    object-fit: cover;
    display: block;
}

.hero-figure::after {
    content: '';
    position: absolute;
    inset: 0;
    background: linear-gradient(180deg, transparent 70%, rgba(11, 16, 38, .35));
    pointer-events: none;
    z-index: 1;
}

/* Custom Sariq Play/Pause Button */
.video-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: 10;
    width: 76px;
    height: 76px;
    border-radius: 50%;
    background: var(--primary-600);
    border: 3px solid #ffffff;
    color: #ffffff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(250, 176, 3, 0.5);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), opacity 0.35s ease, visibility 0.35s ease, background-color 0.3s ease, box-shadow 0.3s ease;
    opacity: 1;
    visibility: visible;
}

.video-btn:hover {
    transform: translate(-50%, -50%) scale(1.1);
    background: var(--primary);
    box-shadow: 0 15px 40px rgba(250, 176, 3, 0.7);
}

.video-btn svg {
    width: 30px;
    height: 30px;
    fill: #ffffff;
    transition: opacity 0.2s;
}

.video-btn .icon-pause {
    display: none;
}

/* Video o'ynaganda o'rtadagi pauza/play tugmasi butunlay yo'qoladi */
.video-btn.playing {
    opacity: 0;
    visibility: hidden;
    pointer-events: none;
    transform: translate(-50%, -50%) scale(0.7);
}

/* Sichqoncha video ustiga kelganda pauza tugmasi nozik ko'rinishi mumkin */
.hero-figure:hover .video-btn.playing {
    opacity: 0.85;
    visibility: visible;
    pointer-events: auto;
    transform: translate(-50%, -50%) scale(1);
}

.hero-figure:hover .video-btn.playing:hover {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1.08);
}

.video-btn.playing .icon-play {
    display: none;
}

.video-btn.playing .icon-pause {
    display: block;
}

/* ============ MARQUEE ============ */
/* ============ MARQUEE ============ */
.marquee {
    margin-top: 34px;
    background: #fff6df;
    border-block: 1px solid var(--line);
    padding: 15px 0;
    overflow: hidden;
    position: relative;
    white-space: nowrap;
    /* Kontent pastga tushib ketmasligi uchun */
}

.marquee-track {
    display: inline-flex;
    /* Moslashuvchan kenglik */
    gap: 44px;
    width: max-content;
    animation: marquee-anim 20s linear infinite;
    /* Tezligi 20s */
    will-change: transform;
}

.marquee:hover .marquee-track {
    animation-play-state: paused;
}

.marquee-track span {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    font-weight: 800;
    font-size: 14px;
    color: #7a5c07;
    white-space: nowrap;
    padding-right: 44px;
    /* Bo'sh joy ochilib qolmasligi uchun masofa */
}

.marquee-track span::after {
    content: '✦';
    color: var(--primary);
    margin-left: 34px;
}

@keyframes marquee-anim {
    0% {
        transform: translate3d(0, 0, 0);
    }

    100% {
        transform: translate3d(-50%, 0, 0);
        /* JS kontentni 2 baravar qilgani uchun roppa-rosa -50% siljiydi */
    }
}

/* ============ SECTION HEAD umumiy ============ */
.sec-head {
    text-align: center;
    max-width: 760px;
    margin: 0 auto 0
}

.sec-badge {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    border-radius: 999px;
    padding: 8px 16px;
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .14em;
    text-transform: uppercase;
    border: 2px solid var(--primary-soft);
    color: var(--primary);
    background-color: rgba(255, 246, 125, 0.2);
    margin-bottom: 10px;
}

.sec-head h2 {
    margin: 20px 0 16px;
    font-size: clamp(26px, 3.6vw, 40px);
    font-weight: 600;
    line-height: 1.25;
    letter-spacing: -.01em
}

.sec-head p {
    color: var(--muted);
    font-size: 15.5px;
    font-weight: 600
}

/* ============ STATISTIKA PANELI (Cosmos Stats Banner) ============ */
.cosmos-stats-banner {
    width: 100%;
    max-width: 1080px;
    margin: 0 auto 64px auto;
    position: relative;
    z-index: 5;
}

.cosmos-stats-grid {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 34px 44px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.98) 0%, rgba(255, 251, 240, 0.94) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.28);
    border-radius: 26px;
    box-shadow: 0 14px 40px -10px rgba(245, 158, 11, 0.14), 0 4px 18px rgba(18, 22, 43, 0.03);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    transition: transform 0.35s cubic-bezier(0.16, 1, 0.3, 1), box-shadow 0.35s ease, border-color 0.35s ease;
}

.cosmos-stats-grid:hover {
    transform: translateY(-3px);
    border-color: rgba(245, 158, 11, 0.55);
    box-shadow: 0 20px 48px -8px rgba(245, 158, 11, 0.22), 0 8px 24px rgba(18, 22, 43, 0.05);
}

.cosmos-stat-item {
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 20px;
}

.cosmos-stat-number {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(26px, 3.8vw, 48px);
    font-weight: 800;
    line-height: 1.15;
    letter-spacing: -0.02em;
    background: linear-gradient(135deg, #d97706 0%, #f59e0b 35%, #ffb700 70%, #f59e0b 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
    white-space: nowrap;
    transition: transform 0.3s ease;
    filter: drop-shadow(0 3px 12px rgba(245, 158, 11, 0.2));
}

.cosmos-stat-item:hover .cosmos-stat-number {
    transform: scale(1.04);
}

.cosmos-stat-label {
    font-family: 'Manrope', system-ui, sans-serif;
    font-size: clamp(11px, 1.05vw, 13px);
    font-weight: 800;
    letter-spacing: 0.14em;
    text-transform: uppercase;
    color: #4b5563;
    margin-bottom: 12px;
    line-height: 1.3;
}

.cosmos-stat-line {
    width: 36px;
    height: 3.5px;
    border-radius: 999px;
    background: linear-gradient(90deg, #d97706, #f59e0b, #fbbf24);
    opacity: 0.9;
    transition: width 0.3s ease, opacity 0.3s ease;
}

.cosmos-stat-item:hover .cosmos-stat-line {
    width: 54px;
    opacity: 1;
}

.cosmos-stat-divider {
    width: 1px;
    height: 58px;
    background: linear-gradient(180deg, transparent, rgba(245, 158, 11, 0.3) 20%, rgba(251, 191, 36, 0.6) 50%, rgba(245, 158, 11, 0.3) 80%, transparent);
    flex-shrink: 0;
}

/* Mobil va Planshet ekranlar */
@media (max-width: 840px) {
    .cosmos-stats-banner {
        margin-bottom: 44px;
        padding: 0 4px;
    }

    .cosmos-stats-grid {
        padding: 24px 16px;
        border-radius: 20px;
    }

    .cosmos-stat-item {
        padding: 0 8px;
    }

    .cosmos-stat-number {
        font-size: clamp(20px, 4.5vw, 32px);
        margin-bottom: 8px;
    }

    .cosmos-stat-label {
        font-size: 10px;
        letter-spacing: 0.08em;
        margin-bottom: 8px;
    }

    .cosmos-stat-line {
        width: 26px;
        height: 3px;
    }

    .cosmos-stat-divider {
        height: 42px;
    }
}

@media (max-width: 520px) {
    .cosmos-stats-banner {
        margin-bottom: 34px;
    }

    .cosmos-stats-grid {
        padding: 18px 8px;
        border-radius: 16px;
    }

    .cosmos-stat-item {
        padding: 0 4px;
    }

    .cosmos-stat-number {
        font-size: clamp(15px, 4vw, 22px);
        letter-spacing: -0.03em;
        margin-bottom: 6px;
    }

    .cosmos-stat-label {
        font-size: 8.5px;
        letter-spacing: 0.04em;
        margin-bottom: 6px;
    }

    .cosmos-stat-line {
        width: 20px;
        height: 2.5px;
    }

    .cosmos-stat-divider {
        height: 32px;
    }
}

/* ============ 3. SAYYORALAR (och rangli bo'lim) ============ */
.cosmos {
    background: #ffffff;
    color: var(--ink);
    position: relative;
    padding: 80px 0 60px;
}

.cosmos-sticky-container {
    width: 100%;
    position: relative;
}

.starfield {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.starfield i {
    position: absolute;
    border-radius: 50%;
    background: var(--primary);
    opacity: .6;
    animation: twinkle 3s ease-in-out infinite;
}

@keyframes twinkle {
    50% {
        opacity: 1;
        transform: scale(1.25);
    }
}

.cosmos-glow {
    position: absolute;
    top: -220px;
    left: 50%;
    transform: translateX(-50%);
    width: 900px;
    height: 500px;
    background: radial-gradient(closest-side, rgba(250, 176, 3, .12), transparent 70%);
    pointer-events: none;
}

/* ============ SAYYORA KARTALARI (YONGA SCROLL) ============ */
.planet-cards-container {
    position: relative;
    width: 100%;
    margin-top: 50px;
    overflow: visible;
}

.planet-card-stack {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    overflow-y: visible;
    padding: 55px 12px 25px 12px;
    scroll-behavior: smooth;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: thin;
    scrollbar-color: rgba(250, 176, 3, 0.5) transparent;
}

.planet-card-stack::-webkit-scrollbar {
    height: 6px;
}

.planet-card-stack::-webkit-scrollbar-track {
    background: rgba(0, 0, 0, 0.05);
    border-radius: 10px;
}

.planet-card-stack::-webkit-scrollbar-thumb {
    background: rgba(250, 176, 3, 0.5);
    border-radius: 10px;
}

.planet-card-stack::-webkit-scrollbar-thumb:hover {
    background: var(--primary);
}

/* Sayyora Karti (125px sayyora tepadan chiqib turgan holda) */
.planet-card-item {
    position: relative;
    flex: 0 0 270px;
    width: 270px;
    height: 380px;
    scroll-snap-align: start;
    pointer-events: auto;
    overflow: visible;
}

/* Sayyora rasmi konteyneri (125px o'lchamda) */
.planet-card-img-wrap {
    position: absolute;
    top: -45px;
    left: 50%;
    transform: translateX(-50%);
    width: 200px;
    height: 200px;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 3;
    pointer-events: none;
}

.planet-card-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 12px 22px rgba(0, 0, 0, 0.3));
    transition: transform 0.4s cubic-bezier(0.22, 1, 0.36, 1);
}

.planet-card-item:hover .planet-card-img {
    transform: scale(1.12) rotate(-5deg);
}

/* Rangli Card Korpus (Matn balandligini oshirish va pastga tushirish) */
.planet-card-front {
    position: absolute;
    top: 35px;
    bottom: 0;
    left: 0;
    right: 0;
    border-radius: 28px;
    padding: 70px 22px 24px 22px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.14);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    z-index: 2;
    transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.planet-card-item:hover .planet-card-front {
    transform: translateY(-8px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.22);
}

/* VIBRANT RANGLAR (Foydalanuvchi rasmlariga 100% mos gradientlar) */
.planet-card-item[data-planet="merkuriy"] .planet-card-front {
    background: linear-gradient(150deg, #ff5e00 0%, #ff8c00 100%);
}

.planet-card-item[data-planet="venera"] .planet-card-front {
    background: linear-gradient(150deg, #7c1fc2 0%, #a824d6 100%);
}

.planet-card-item[data-planet="yer"] .planet-card-front {
    background: linear-gradient(150deg, #0077ff 0%, #00b08a 100%);
}

.planet-card-item[data-planet="mars"] .planet-card-front {
    background: linear-gradient(150deg, #d32f2f 0%, #991b1b 100%);
}

.planet-card-item[data-planet="yupiter"] .planet-card-front {
    background: linear-gradient(150deg, #0265dc 0%, #0099aa 100%);
}

.planet-card-item[data-planet="saturn"] .planet-card-front {
    background: linear-gradient(150deg, #e65100 0%, #f57c00 100%);
}

.planet-card-item[data-planet="uran"] .planet-card-front {
    background: linear-gradient(150deg, #e0246a 0%, #7b1fa2 100%);
}

.planet-card-item[data-planet="neptun"] .planet-card-front {
    background: linear-gradient(150deg, #0d47a1 0%, #1565c0 60%, #1a237e 100%);
}

.planet-card-body {
    width: 100%;
    text-align: left;
    color: #ffffff;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    margin-top: auto;
}

.planet-card-title {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.2;
}

.planet-card-skill {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.02em;
}

.planet-card-desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.88);
    font-weight: 500;
    margin: 0 0 18px 0;
}

.planet-card-btn {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    background: rgba(255, 255, 255, 0.22);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.35);
    border-radius: 999px;
    padding: 7px 18px;
    font-size: 13px;
    font-weight: 700;
    color: #ffffff;
    cursor: pointer;
    transition: background 0.25s ease, transform 0.25s ease;
}

.planet-card-btn:hover {
    background: rgba(255, 255, 255, 0.38);
    transform: translateX(3px);
}

/* Page Navigation Chevron Buttons Controls */
.planet-nav-controls {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 16px;
    margin-top: 24px;
    opacity: 1;
    pointer-events: auto;
    position: relative;
    z-index: 10;
}

.planet-nav-btn {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: #ffffff;
    border: 2px solid var(--line);
    color: var(--ink);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    box-shadow: 0 6px 16px rgba(18, 22, 43, 0.08);
    transition: all 0.25s ease;
}

.planet-nav-btn:hover {
    background: var(--primary);
    color: #ffffff;
    border-color: var(--primary);
    transform: scale(1.08);
}

.planet-page-indicator {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    background: #ffffff;
    padding: 8px 18px;
    border-radius: 999px;
    border: 1.5px solid var(--line);
}

@media (max-width: 768px) {
    .cosmos {
        padding: 50px 0 40px;
    }

    .planet-cards-container {
        margin-top: 35px;
    }

    .planet-card-stack {
        gap: 18px;
        padding: 48px 6px 20px 6px;
    }

    .planet-card-item {
        flex: 0 0 245px;
        width: 245px;
        height: 360px;
    }

    .planet-card-img-wrap {
        width: 180px;
        height: 180px;
        top: -40px;
    }

    .planet-card-front {
        padding: 60px 18px 20px 18px;
    }

    .planet-card-title {
        font-size: 20px;
    }
}

/* ============ 4. QANDAY ISHLAYDI — PEDAGOGIK YONDASHUV ============ */
.section-sticky {
    position: relative;
    height: 260vh;
    background: #ffffff;
}

.section-sticky .sticky-container {
    position: sticky;
    top: 0;
    height: 100vh;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 24px 40px;
    box-sizing: border-box;
    overflow: hidden;
    touch-action: pan-y;
}

.sticky-head.sec-head {
    text-align: center;
    margin-bottom: 24px;
    width: 100%;
}

.sticky-head.sec-head h2 {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(1.4rem, 2.4vw, 2.1rem);
    margin-top: 8px;
}

.sticky-main {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 50px;
    width: 100%;
    max-width: 1000px;
}

/* Desktop - Cardlar chap */
.cards-wrapper {
    position: relative;
    width: 440px;
    height: 470px;
    padding: 0 16px;
    box-sizing: border-box;
    overflow: hidden;
}

.cards-wrapper::before,
.cards-wrapper::after {
    content: '';
    position: absolute;
    left: 0;
    right: 0;
    height: 50px;
    z-index: 10;
    pointer-events: none;
}

.cards-wrapper::before {
    top: 0;
    background: linear-gradient(to bottom, #ffffff 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
}

.cards-wrapper::after {
    bottom: 0;
    background: linear-gradient(to top, #ffffff 0%, rgba(255, 255, 255, 0.85) 50%, transparent 100%);
}

.cards-inner {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 16px;
    will-change: transform;
    transition: transform 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
    width: 100%;
}

.card {
    width: 100%;
    max-width: 388px;
    box-sizing: border-box;
    padding: 18px 22px;
    background: #fffcf6;
    border-radius: 20px;
    border: 2px solid var(--line);
    display: flex;
    align-items: center;
    gap: 18px;
    transition: all 0.4s cubic-bezier(0.2, 0.8, 0.2, 1);
    flex-shrink: 0;
    cursor: pointer;
    opacity: 0.5;
    transform: scale(0.97);
    user-select: none;
}

.card:hover {
    opacity: 0.85;
    transform: scale(0.99);
    border-color: rgba(250, 176, 3, 0.5);
}

.card.active {
    opacity: 1;
    transform: scale(1.01);
    border-color: var(--primary);
    background: #ffffff;
    box-shadow: 0 10px 28px rgba(250, 176, 3, 0.22), 0 4px 12px rgba(0, 0, 0, 0.04);
}

.card-number {
    width: 46px;
    height: 46px;
    min-width: 46px;
    background: #fff;
    border: 1.5px solid var(--line);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    font-weight: 800;
    color: var(--muted);
    font-family: 'Unbounded', sans-serif;
    transition: all 0.4s ease;
}

.card.active .card-number {
    color: #ffffff;
    background: var(--primary);
    border-color: var(--primary);
    box-shadow: 0 4px 14px rgba(250, 176, 3, 0.4);
}

.card-content {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.card-title {
    font-size: 1.15rem;
    font-weight: 700;
    color: var(--ink);
    font-family: 'Unbounded', sans-serif;
    line-height: 1.25;
}

.card-subtitle {
    font-size: 0.88rem;
    color: var(--muted);
    line-height: 1.5;
    font-weight: 500;
    transition: color 0.4s ease;
}

.card.active .card-subtitle {
    color: #334155;
}

/* O'ng tomon - Rasm (desktop) */
.image-wrapper {
    width: 420px;
    height: 470px;
    border-radius: 24px;
    overflow: hidden;
    position: relative;
    background: #fffaf1;
    border: 2px solid var(--line);
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.06);
    flex-shrink: 0;
}

.image-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transform: scale(1.04);
    transition: opacity 0.5s cubic-bezier(0.2, 0.8, 0.2, 1), transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    display: flex;
    align-items: center;
    justify-content: center;
    will-change: opacity, transform;
}

.image-slide.active {
    opacity: 1;
    transform: scale(1);
    z-index: 2;
}

.image-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

/* ============ MOBIL UCHUN CARD VA NAVIGATSIYA ============ */
.mobile-step-container {
    display: none;
}

@keyframes swipeBounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-4px);
    }
}

@media (max-width: 991px) {
    .section-sticky {
        height: 250vh;
    }

    .section-sticky .sticky-container {
        padding: 16px 16px 20px;
        justify-content: center;
        gap: 8px;
        height: 100vh;
    }

    .sticky-head.sec-head {
        margin-bottom: 8px;
    }

    .sticky-head.sec-head .sec-badge {
        font-size: 11px;
        padding: 4px 12px;
    }

    .sticky-head.sec-head h2 {
        font-size: 1.12rem;
        line-height: 1.3;
        margin-top: 4px;
    }

    .sticky-main {
        flex-direction: column;
        gap: 0;
    }

    .cards-wrapper,
    .image-wrapper {
        display: none;
    }

    .mobile-step-container {
        display: flex;
        flex-direction: column;
        width: 100%;
        max-width: 350px;
        margin: 0 auto;
        align-items: center;
    }

    .mobile-step-cards-wrapper {
        position: relative;
        width: 100%;
        height: min(420px, 56vh);
        min-height: 350px;
    }

    .mobile-step-card {
        position: absolute;
        inset: 0;
        background: #ffffff;
        border-radius: 22px;
        border: 2px solid var(--line);
        overflow: hidden;
        opacity: 0;
        pointer-events: none;
        transform: translateY(32px) scale(0.93);
        transition: all 0.45s cubic-bezier(0.2, 0.8, 0.2, 1);
        box-shadow: 0 8px 24px rgba(0, 0, 0, 0.06);
        display: flex;
        flex-direction: column;
        will-change: transform, opacity;
    }

    .mobile-step-card.active {
        opacity: 1;
        pointer-events: auto;
        transform: translateY(0) scale(1);
        z-index: 5;
        border-color: var(--primary);
        box-shadow: 0 14px 36px rgba(250, 176, 3, 0.2);
    }

    .mobile-step-card.is-prev {
        opacity: 0;
        pointer-events: none;
        transform: translateY(-32px) scale(0.93);
        z-index: 1;
    }

    .mobile-step-card.is-next {
        opacity: 0;
        pointer-events: none;
        transform: translateY(32px) scale(0.93);
        z-index: 1;
    }

    .mobile-step-image-wrap {
        position: relative;
        width: 100%;
        flex: 1;
        min-height: 180px;
        max-height: 230px;
        overflow: hidden;
        background: #fffaf1;
    }

    .mobile-step-image-wrap img {
        width: 100%;
        height: 100%;
        object-fit: cover;
        display: block;
        transition: transform 0.6s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .mobile-step-card.active .mobile-step-image-wrap img {
        transform: scale(1.02);
    }

    .mobile-step-content {
        padding: 14px 16px 16px;
        display: flex;
        gap: 12px;
        align-items: flex-start;
        background: #ffffff;
    }

    .mobile-step-number {
        width: 38px;
        height: 38px;
        min-width: 38px;
        border-radius: 50%;
        background: #fffaf1;
        border: 1.5px solid var(--line);
        display: flex;
        align-items: center;
        justify-content: center;
        font-family: 'Unbounded', sans-serif;
        font-weight: 800;
        font-size: 0.95rem;
        color: var(--muted);
        transition: all 0.35s ease;
    }

    .mobile-step-card.active .mobile-step-number {
        background: var(--primary);
        color: #fff;
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(250, 176, 3, 0.35);
    }

    .mobile-step-text {
        display: flex;
        flex-direction: column;
        gap: 4px;
        flex: 1;
    }

    .mobile-step-title {
        font-family: 'Unbounded', sans-serif;
        font-size: 0.95rem;
        font-weight: 700;
        color: var(--ink);
        line-height: 1.25;
    }

    .mobile-step-subtitle {
        font-size: 0.8rem;
        color: var(--muted);
        line-height: 1.45;
        font-weight: 500;
    }

    .mobile-step-card.active .mobile-step-subtitle {
        color: #334155;
    }

    .mobile-progress {
        margin-top: 12px;
        display: flex;
        justify-content: center;
        align-items: center;
        gap: 8px;
    }

    .mobile-progress-dot {
        border: 1.5px solid var(--line);
        background: #ffffff;
        color: var(--muted);
        font-family: 'Unbounded', sans-serif;
        font-size: 11px;
        font-weight: 700;
        height: 32px;
        min-width: 44px;
        padding: 0 10px;
        border-radius: 20px;
        display: flex;
        align-items: center;
        justify-content: center;
        cursor: pointer;
        transition: all 0.3s cubic-bezier(0.2, 0.8, 0.2, 1);
    }

    .mobile-progress-dot.active {
        background: var(--primary);
        color: #ffffff;
        border-color: var(--primary);
        box-shadow: 0 4px 12px rgba(250, 176, 3, 0.35);
        transform: scale(1.05);
    }

    .mobile-swipe-hint {
        margin-top: 8px;
        display: flex;
        align-items: center;
        gap: 6px;
        font-size: 11px;
        font-weight: 600;
        color: var(--muted);
    }

    .mobile-swipe-arrow {
        display: inline-flex;
        animation: swipeBounce 1.4s ease-in-out infinite;
        color: var(--primary);
    }

    .mobile-swipe-step-num {
        background: #f1f5f9;
        padding: 2px 7px;
        border-radius: 10px;
        font-size: 10.5px;
        font-weight: 700;
        color: var(--ink);
    }
}

/* ============ 5. AFZALLIKLAR — PIN BOARD ============ */
.benefits {
    padding: 20px 0 110px
}

.pin-board {
    position: relative;
    border: 1px solid var(--line);
    border-radius: 30px;
    padding: 70px 46px 60px;
    background: #fdfdfd repeating-linear-gradient(180deg, transparent 0 34px, #ededed 34px 35px);
    overflow: hidden
}

.pin-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    z-index: 1
}

.pin-lines path {
    fill: none;
    stroke: #c2c2c2;
    stroke-width: 2;
    stroke-dasharray: 5 9;
    opacity: .75
}

.pin-grid {
    position: relative;
    z-index: 2;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px 80px;
    max-width: 920px;
    margin: 0 auto;
    align-items: start
}

.pin-card {
    width: 320px;
    max-width: 100%;
    position: relative;
    background: #fff;
    border-radius: 16px;
    box-shadow: 0 18px 44px rgba(18, 22, 43, .13);
    padding: 48px 18px 18px;
    transform: rotate(var(--rot, 0deg));
    transition: transform .3s, box-shadow .3s
}

.pin-card:hover {
    transform: rotate(0deg) translateY(-6px);
    box-shadow: 0 28px 60px rgba(18, 22, 43, .2)
}

.pin-card:nth-child(1) {
    --rot: -3deg
}

.pin-card:nth-child(2) {
    --rot: 2.5deg;
    margin-top: 80px
}

.pin-card:nth-child(3) {
    --rot: -2deg;
    margin-top: 20px
}

.pin-card:nth-child(4) {
    --rot: 3deg;
    margin-top: 100px
}

/* ✏️ PIN RASM — src ni o'z 3D pin rasmingizga almashtiring */
.pin-img {
    position: absolute;
    top: -14px;
    left: 50%;
    transform: translateX(-50%);
    width: 65px;
    height: 65px;
    object-fit: contain;
    mix-blend-mode: multiply;
    filter: drop-shadow(0 3px 1px rgba(0, 0, 0, .28));
    pointer-events: none;
    z-index: 3
}

.pin-head {
    border-radius: 10px;
    padding: 18px 16px 16px;
    margin-bottom: 12px;
    box-shadow: 0 2px 0 0 rgba(102, 102, 102, 0.415);
}

.pin-card:nth-child(1) .pin-head {
    background: #fdeadd
}

.pin-card:nth-child(2) .pin-head {
    background: #e3e8fd
}

.pin-card:nth-child(3) .pin-head {
    background: #f0e0fb
}

.pin-card:nth-child(4) .pin-head {
    background: #fdeadd
}

.pin-num {
    font-weight: 800;
    font-size: 12px;
    letter-spacing: .08em;
    margin-bottom: 8px
}

.pin-card:nth-child(1) .pin-num {
    color: #e0703c
}

.pin-card:nth-child(2) .pin-num {
    color: #5866e0
}

.pin-card:nth-child(3) .pin-num {
    color: #9a4fd0
}

.pin-card:nth-child(4) .pin-num {
    color: #e0703c
}

.pin-head h3 {
    font-size: 15.5px;
    font-weight: 600;
    color: #171727
}

.pin-card p {
    color: #6b6f85;
    font-size: 13.5px;
    font-weight: 600;
    line-height: 1.6
}

/* ============ 6. OTA-ONALAR PANELI + FORMA ============ */
.parents {
    padding: 110px 0;
    background: #fff;
    border-block: 1px solid var(--line)
}

.parents-grid {
    display: grid;
    grid-template-columns: 1.05fr .95fr;
    gap: 44px;
    align-items: start
}

.parents-left h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 600;
    line-height: 1.25
}

/* Rasm uchun kulrang joy (placeholder) */
.img-wrapper {
    width: 100%;
    margin-top: 20px;
    /* max-width: 600px;  Aytaylik, rasmni juda kattalashib ketmasligi uchun */
}

/* Rasmning o'zi */
.panel-img {
    width: 100%;
    /* Konteyner kengligiga to'liq moslashadi */
    height: auto;
    /* Balandlik avtomatik ravishda KESILMASDAN moslashadi */
    display: block;
    /* Pastki qismidagi keraksiz bo'shliqni (gap) yo'qotadi */
    object-fit: contain;
    /* Shifoyat: shakli hech qachon buzilmaydi */
}

.form-card {
    background: #ffffff;
    color: var(--ink);
    border-radius: 30px;
    padding: 40px 36px;
    position: relative;
    overflow: hidden;
    border: 1.5px solid var(--line);
    box-shadow: 0 24px 64px rgba(18, 22, 43, .10)
}

.form-card h3 {
    font-size: 22px;
    font-weight: 600;
    line-height: 1.35;
    margin-bottom: 8px;
    position: relative;
    z-index: 2;
    color: var(--ink)
}

.form-card>p {
    color: var(--muted);
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 26px;
    position: relative;
    z-index: 2
}

.form-field {
    margin-bottom: 16px;
    position: relative;
    z-index: 2
}

.form-field label {
    display: block;
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    margin-bottom: 7px
}

.form-field input,
.form-field textarea {
    width: 100%;
    background: var(--cream);
    border: 1.5px solid var(--line);
    border-radius: 14px;
    padding: 14px 16px;
    color: var(--ink);
    font-family: 'Manrope';
    font-size: 14.5px;
    font-weight: 600;
    outline: none;
    transition: border-color .2s, background .2s;
    appearance: none
}

.form-field textarea {
    min-height: 90px;
    resize: vertical;
}

.form-field input::placeholder {
    color: #b0b8cc
}

.form-field input:focus,
.form-field textarea:focus {
    border-color: var(--primary);
    background: rgba(250, 176, 3, .06)
}

.form-card .btn {
    width: 100%;
    margin-top: 6px;
    position: relative;
    z-index: 2
}

.form-note {
    display: flex;
    align-items: center;
    gap: 8px;
    justify-content: center;
    margin-top: 16px;
    font-size: 12.5px;
    color: var(--muted);
    font-weight: 600;
    position: relative;
    z-index: 2
}

/* ============ 7. SERTIFIKAT ============ */
.certificate {
    padding: 110px 0;
    position: relative;
    overflow: hidden
}

.certificate::before {
    content: '';
    position: absolute;
    inset: 0;
    background-image:
        linear-gradient(var(--line) 3px, transparent 2px),
        linear-gradient(90deg, var(--line) 3px, transparent 2px);
    background-size: 52px 52px;
    mask-image: radial-gradient(ellipse 65% 75% at 72% 50%, #000 40%, transparent 80%);
    -webkit-mask-image: radial-gradient(ellipse 65% 75% at 72% 50%, #000 40%, transparent 80%);
    opacity: .5;
    pointer-events: none;
    z-index: 0
}

.certificate .container {
    position: relative;
    z-index: 1
}

.cert-grid {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 56px;
    align-items: center
}

.cert-left h2 {
    font-size: clamp(26px, 3.2vw, 38px);
    font-weight: 600;
    line-height: 1.25;
    margin-bottom: 18px
}

.cert-left p {
    color: var(--muted);
    font-size: 15.5px;
    font-weight: 600
}

.cert-frame {
    position: relative;
    border-radius: 26px;
    overflow: hidden;
    border: 1px solid var(--line);
    box-shadow: 0 40px 90px rgba(18, 22, 43, .16);
    transition: transform .4s ease;
    background: #fdf8ec
}

.cert-frame:hover {
    transform: rotate(0deg) scale(1.02)
}

.cert-frame>img {
    width: 100%;
    aspect-ratio: 4/3;
    object-fit: cover
}

.cert-overlay {
    position: absolute;
    inset: 0;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 15% 12% 22%;
    gap: 8px
}

.cert-overlay small {
    font-size: 11px;
    font-weight: 800;
    letter-spacing: .28em;
    text-transform: uppercase;
    color: #a17400
}

.cert-overlay strong {
    font-family: 'Unbounded';
    font-weight: 700;
    font-size: clamp(18px, 2.4vw, 27px);
    color: #3b3325;
    line-height: 1.3
}

.cert-overlay span {
    font-size: 12.5px;
    font-weight: 700;
    color: #8a7a55
}

/* ============ 8. YAKUNIY CTA ============ */
.final-cta {
    background: #ffffff;
    color: var(--ink);
    padding: 110px 0;
    position: relative;
    overflow: hidden;
    text-align: center;
    border-top: 1.5px solid var(--line)
}

.cta-card {
    position: relative;
    z-index: 2;
    max-width: 960px;
    margin: 0 auto;
    padding: 64px 44px;
    background: rgba(255, 255, 255, 0.78);
    backdrop-filter: blur(18px);
    -webkit-backdrop-filter: blur(18px);
    border: 1.5px solid #f7cd00a2;
    border-radius: 32px;
    box-shadow: 0 20px 60px rgba(255, 201, 23, 0.45);
    overflow: hidden;
}

/* Yumshoq kosmik nur gradientlari */
.cta-card::before {
    content: '';
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 8% 18%, rgba(250, 176, 3, 0.22) 0%, transparent 45%),
        radial-gradient(circle at 92% 82%, rgba(99, 102, 241, 0.18) 0%, transparent 45%),
        radial-gradient(circle at 80% 15%, rgba(255, 120, 80, 0.12) 0%, transparent 35%);
    pointer-events: none;
    z-index: 0;
}

/* Orqa fon vektor chiziqlari (Orbits & Cosmic waves) */
.cta-bg-lines {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
}

@keyframes ctaStarTwinkle {

    0%,
    100% {
        opacity: 0.5;
        transform: scale(0.9);
    }

    50% {
        opacity: 1;
        transform: scale(1.18);
    }
}

.constellation-nodes circle,
.constellation-nodes path {
    transform-box: fill-box;
    transform-origin: center;
    animation: ctaStarTwinkle 4s ease-in-out infinite alternate;
}

.constellation-nodes circle:nth-child(even),
.constellation-nodes path:nth-child(even) {
    animation-duration: 5.5s;
    animation-delay: 1.2s;
}

.final-cta h2 {
    font-size: clamp(26px, 3.8vw, 44px);
    font-weight: 600;
    line-height: 1.25;
    max-width: 820px;
    margin: 0 auto 30px;
    position: relative;
    z-index: 2;
    color: var(--ink)
}

.final-cta p {
    color: var(--muted);
    font-size: 16px;
    font-weight: 600;
    max-width: 640px;
    margin: 0 auto 40px;
    position: relative;
    z-index: 2
}

.final-cta .hero-cta {
    position: relative;
    z-index: 2;
    margin-top: 0
}

.final-buttons {
    display: flex;
    flex-direction: column;
    gap: 16px;
    align-items: center;
    justify-content: center;
    position: relative;
    z-index: 2;
}

.store-btn {
    display: inline-block;
    transition: transform .25s ease;
    box-shadow: none !important;
    text-shadow: none !important;
}

.store-btn:hover {
    transform: translateY(-3px);
    box-shadow: none !important;
}

.store-btn img {
    height: 56px;
    width: auto;
    display: block;
    box-shadow: none !important;
    filter: none !important;
}

/* ============ TEAM MARQUEE ============ */
.team {
    padding: 90px 0 80px;
    overflow: hidden;
    background: #ffffff
}

.team-marquee-wrap {
    position: relative;
    margin-top: 48px;
    overflow: hidden;
    cursor: grab;
    user-select: none;
    -webkit-user-select: none;
    touch-action: pan-y;
}

.team-marquee-wrap.is-dragging {
    cursor: grabbing;
}

/* Chap va o'ng gradient mask */
.team-marquee-wrap::before,
.team-marquee-wrap::after {
    content: '';
    position: absolute;
    top: 0;
    width: 140px;
    height: 100%;
    z-index: 2;
    pointer-events: none;
}

.team-marquee-wrap::before {
    left: 0;
    background: linear-gradient(to right, #ffffff 0%, transparent 100%);
}

.team-marquee-wrap::after {
    right: 0;
    background: linear-gradient(to left, #ffffff 0%, transparent 100%);
}

.team-marquee {
    display: flex;
    gap: 20px;
    width: max-content;
    will-change: transform;
    animation: teamScroll 28s linear infinite;
}

.team-marquee.js-controlled {
    animation: none !important;
}

.team-marquee:hover {
    animation-play-state: paused;
}

@keyframes teamScroll {
    from {
        transform: translateX(0);
    }

    to {
        transform: translateX(-50%);
    }
}

.team-card {
    width: 220px;
    border-radius: 20px;
    overflow: hidden;
    border: 1.5px solid var(--line);
    background: #ffffff;
    flex-shrink: 0;
    cursor: default
}

.team-img-wrap {
    width: 100%;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background: #fffaf1
}

.team-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    pointer-events: none;
    -webkit-user-drag: none;
    user-select: none;
}

.team-info {
    padding: 14px 16px 16px;
    border-top: 1.5px solid var(--line)
}

.team-name {
    font-family: 'Unbounded', sans-serif;
    font-size: 13px;
    font-weight: 700;
    color: var(--ink);
    line-height: 1.3;
    margin-bottom: 4px
}

.team-role {
    font-size: 12px;
    font-weight: 600;
    color: var(--muted)
}

.cta-planet {
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle at 32% 30%, #ffd35c, var(--primary) 55%, #8a5f00 100%);
    top: -190px;
    right: -140px;
    opacity: .35;
    filter: blur(2px)
}

.cta-planet2 {
    position: absolute;
    width: 220px;
    height: 220px;
    border-radius: 50%;
    background: radial-gradient(circle at 35% 30%, #5c72ff, #22307e 70%);
    bottom: -120px;
    left: -90px;
    opacity: .4;
    filter: blur(2px)
}

/* ============ FOOTER ============ */
footer {
    background: #fffaf1;
    color: var(--muted);
    padding: 52px 0;
    border-top: 1.5px solid var(--line)
}

.footer-inner {
    display: flex;
    align-items: flex-start;
    justify-content: space-between;
    gap: 24px;
    flex-wrap: wrap;
}

.footer-left {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 16px;
}

.footer-logo {
    width: auto;
    display: flex;
    align-items: center;
}

.footer-contact {
    display: flex;
    flex-direction: column;
    align-items: flex-end;
    text-align: right;
    gap: 6px;
    font-size: 13.5px;
    font-weight: 600;
    color: var(--muted);
}

.footer-contact strong {
    font-size: 12px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: .08em;
    color: var(--ink);
    margin-bottom: 2px;
}

.footer-contact a {
    color: var(--muted);
    transition: color .2s;
}

.footer-contact a:hover {
    color: var(--primary);
}

.footer-bottom {
    margin-top: 24px;
    padding-top: 18px;
    border-top: 1px solid var(--line);
    display: flex;
    align-items: center;
    justify-content: space-between;
    flex-wrap: wrap;
    gap: 12px;
}

.footer-bottom p {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--muted);
}

.footer-privacy-link {
    font-size: 12.5px;
    font-weight: 700;
    color: var(--muted);
    text-decoration: underline;
    text-underline-offset: 3px;
    transition: color .2s ease;
}

.footer-privacy-link:hover {
    color: var(--primary-600);
}

.socials {
    display: flex;
    gap: 10px
}

.socials a {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 1.5px solid var(--line);
    display: grid;
    place-items: center;
    color: var(--muted);
    transition: .25s
}

.socials a:hover {
    background: var(--primary);
    border-color: var(--primary);
    color: var(--ink);
    transform: translateY(-3px)
}

/* ============ TOAST ============ */
#toast {
    position: fixed;
    bottom: 26px;
    left: 50%;
    transform: translate(-50%, 80px);
    background: var(--paper);
    color: var(--ink);
    border: 1px solid var(--primary);
    border-radius: 999px;
    padding: 14px 26px;
    font-weight: 700;
    font-size: 14px;
    box-shadow: 0 20px 50px rgba(0, 0, 0, .35);
    transition: transform .45s cubic-bezier(.22, 1, .36, 1);
    z-index: 200;
    display: flex;
    gap: 10px;
    align-items: center
}

#toast.show {
    transform: translate(-50%, 0)
}

/* ============ REVEAL ============ */
.reveal {
    opacity: 0;
    transform: translateY(28px);
    transition: opacity .7s ease, transform .7s ease
}

.reveal.in {
    opacity: 1;
    transform: none
}

.d1 {
    transition-delay: .08s
}

.d2 {
    transition-delay: .16s
}

.d3 {
    transition-delay: .24s
}

.d4 {
    transition-delay: .32s
}

/* ============ RESPONSIVE ============ */
@media(max-width:1020px) {
    .planet-grid {
        grid-template-columns: repeat(2, 1fr)
    }

    .steps {
        grid-template-columns: repeat(2, 1fr)
    }

    .step:nth-child(2) {
        margin-top: 60px
    }

    .step:nth-child(3) {
        margin-top: 0
    }

    .step:nth-child(4) {
        margin-top: 60px
    }

    .parents-grid,
    .cert-grid {
        grid-template-columns: 1fr
    }

    .cert-frame {
        max-width: 520px;
        margin: 0 auto
    }
}

@media(max-width:991px) {
    .nav-links {
        display: none
    }

    #menuBtn {
        display: flex
    }

    /* Dropdown navbardagi joyidan yashiriladi va mobil menyu ichidagisi ko'rsatiladi */
    .nav-cta .lang-dropdown {
        display: none;
    }

    .pin-grid {
        grid-template-columns: 1fr;
        gap: 44px
    }

    .pin-card:nth-child(even) {
        margin-top: 0
    }

    .pin-card:nth-child(3) {
        margin-top: 0
    }

    .pin-board {
        padding: 56px 26px 44px
    }
}

/* Ekran 600px va undan kichik bo'lganda */
@media (max-width: 600px) {
    #navbar {
        padding: 0 10px;
    }

    .logo-mark {
        height: 32px;
    }

    .nav-pill {
        padding: 5px 8px 5px 12px;
        gap: 8px;
    }

    .nav-cta .btn {
        padding: 8px 14px;
        font-size: 12.5px;
        white-space: nowrap;
    }

    #menuBtn {
        width: 38px;
        height: 38px;
        flex-shrink: 0;
    }

    /* Footer mobile tartibi */
    footer {
        padding: 36px 0 24px;
    }

    .footer-inner {
        display: flex;
        flex-direction: row;
        justify-content: space-between;
        align-items: flex-start;
        gap: 16px;
        flex-wrap: wrap;
    }

    .footer-left {
        gap: 14px;
    }

    .footer-logo-icon {
        height: 32px;
    }

    .footer-logo-img {
        height: 38px;
    }

    .footer-contact {
        align-items: flex-end;
        text-align: right;
        gap: 4px;
        font-size: 12.5px;
    }

    .footer-contact strong {
        font-size: 11px;
    }

    .socials {
        gap: 8px;
    }

    .socials a {
        width: 36px;
        height: 36px;
    }
}

@media (max-width: 380px) {
    .logo-mark {
        height: 28px;
    }

    .nav-pill {
        padding: 4px 6px 4px 10px;
        gap: 6px;
    }

    .nav-cta .btn {
        padding: 7px 10px;
        font-size: 11.5px;
    }

    #menuBtn {
        width: 34px;
        height: 34px;
    }
}

@media(max-width:600px) {

    .planet-grid,
    .steps {
        grid-template-columns: 1fr
    }

    .step:nth-child(n) {
        margin-top: 0
    }

    .hero {
        padding-top: 140px
    }

    .hero-figure img {
        aspect-ratio: 4/3
    }

    .form-card {
        padding: 30px 24px
    }

    .cta-card {
        padding: 40px 20px;
        border-radius: 24px;
    }

    .nav-cta .btn {
        padding: 10px 16px;
        font-size: 13px
    }
}

/* ============ SAYYORA MODAL OYNASI ============ */
.planet-modal-overlay {
    position: fixed;
    inset: 0;
    z-index: 9999;
    background: rgba(18, 22, 43, 0.75);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 20px 14px;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.3s ease, visibility 0.3s ease;
    overflow-y: auto;
}

.planet-modal-overlay.open {
    opacity: 1;
    visibility: visible;
}

.planet-modal-card {
    position: relative;
    width: 100%;
    max-width: 860px;
    max-height: calc(100vh - 36px);
    max-height: calc(100dvh - 36px);
    overflow-y: auto;
    overscroll-behavior: contain;
    border-radius: 26px;
    padding: 24px 28px 22px;
    color: #ffffff;
    box-shadow: 0 25px 70px rgba(0, 0, 0, 0.55);
    transform: scale(0.94) translateY(14px);
    transition: transform 0.3s cubic-bezier(0.16, 1, 0.3, 1), background 0.3s ease;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.3) transparent;
}

.planet-modal-card::-webkit-scrollbar {
    width: 6px;
}

.planet-modal-card::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.28);
    border-radius: 999px;
}

.planet-modal-card::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.48);
}

.planet-modal-overlay.open .planet-modal-card {
    transform: scale(1) translateY(0);
}

.modal-close-btn {
    position: absolute;
    top: 16px;
    right: 18px;
    background: #ffffff;
    color: #12162b;
    border: none;
    border-radius: 999px;
    padding: 7px 16px;
    font-family: 'Manrope', sans-serif;
    font-weight: 800;
    font-size: 12px;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.2);
    transition: transform 0.2s ease, background-color 0.2s ease;
    z-index: 20;
}

.modal-close-btn:hover {
    transform: scale(1.05);
    background: #ffffff;
}

.modal-body-wrapper {
    display: flex;
    gap: 24px;
    align-items: flex-start;
}

.modal-left {
    flex-shrink: 0;
    width: 140px;
    display: flex;
    align-items: center;
    justify-content: center;
    position: sticky;
    top: 0;
    padding-top: 6px;
}

.modal-planet-img {
    width: 100%;
    max-width: 135px;
    height: 135px;
    object-fit: contain;
    filter: drop-shadow(0 12px 24px rgba(0, 0, 0, 0.4));
    animation: floatModalImg 6s ease-in-out infinite;
}

@keyframes floatModalImg {
    0%, 100% {
        transform: translateY(0);
    }
    50% {
        transform: translateY(-8px);
    }
}

.modal-right {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    width: 100%;
}

.modal-title {
    font-family: 'Unbounded', sans-serif;
    font-size: clamp(20px, 2.5vw, 28px);
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.modal-subtitle {
    font-size: 13px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 6px;
}

.modal-desc {
    font-size: 12.5px;
    line-height: 1.45;
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 12px;
}

.modal-feature-head {
    font-size: 10.5px;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
}

.modal-feature-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 8px;
    width: 100%;
}

.modal-feature-item {
    background: rgba(255, 255, 255, 0.18);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    padding: 10px 10px 11px;
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    border: 1px solid rgba(255, 255, 255, 0.26);
    transition: transform 0.2s ease, background 0.2s ease, box-shadow 0.2s ease;
}

.modal-feature-item:hover {
    transform: translateY(-3px);
    background: rgba(255, 255, 255, 0.26);
}

.modal-feature-video-item {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.26) 0%, rgba(255, 255, 255, 0.14) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.45);
    cursor: pointer;
    position: relative;
    overflow: hidden;
    box-shadow: 0 6px 18px rgba(0, 0, 0, 0.15);
}

.modal-feature-video-item::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 3px;
    background: linear-gradient(90deg, #facc15, #f59e0b);
}

.modal-feature-video-item:hover {
    transform: translateY(-4px);
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.35) 0%, rgba(255, 255, 255, 0.22) 100%);
    border-color: #ffffff;
    box-shadow: 0 10px 24px rgba(0, 0, 0, 0.25), 0 0 16px rgba(250, 204, 21, 0.35);
}

.video-play-icon {
    background: linear-gradient(135deg, #facc15, #f59e0b) !important;
    box-shadow: 0 3px 12px rgba(250, 204, 21, 0.4);
}

.video-play-icon svg {
    fill: #0f172a !important;
    stroke: none !important;
    transform: translateX(1px);
}

/* Sayyora Video Player Box */
.modal-video-player-box {
    width: 100%;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 10px 14px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    animation: fadeInVideo 0.25s ease;
}

@keyframes fadeInVideo {
    from { opacity: 0; transform: translateY(6px); }
    to { opacity: 1; transform: translateY(0); }
}

.modal-video-topbar {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 8px;
}

.modal-video-tag {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    font-size: 11.5px;
    font-weight: 800;
    color: #facc15;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.btn-close-modal-video {
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 3px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-close-modal-video:hover {
    background: rgba(239, 68, 68, 0.85);
    border-color: #ef4444;
}

.modal-video-frame {
    position: relative;
    width: 100%;
    border-radius: 12px;
    overflow: hidden;
    background: #000;
    box-shadow: 0 6px 20px rgba(0,0,0,0.5);
}

.modal-video-frame video {
    width: 100%;
    max-height: 220px;
    display: block;
    object-fit: contain;
    background: #000;
}

.modal-feature-icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 32px;
    height: 32px;
    border-radius: 10px;
    background: rgba(255, 255, 255, 0.22);
    color: #ffffff;
    margin-bottom: 6px;
    flex-shrink: 0;
}

.modal-feature-icon svg {
    width: 17px;
    height: 17px;
    stroke: #ffffff;
    flex-shrink: 0;
}

.modal-feature-title {
    font-size: 11.5px;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.25;
}

.modal-feature-sub {
    font-size: 10px;
    color: rgba(255, 255, 255, 0.85);
    line-height: 1.3;
    font-weight: 500;
}

/* ==========================================================================
   URAN SAYYORASI: INTERAKTIV SO'Z KARTOCHKALARI VA TEST (FLASHCARD & QUIZ)
   ========================================================================== */
.modal-uran-practice-box {
    width: 100%;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 12px 16px 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInUran 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes fadeInUran {
    from { opacity: 0; transform: translateY(8px) scale(0.98); }
    to { opacity: 1; transform: translateY(0) scale(1); }
}

.uran-practice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 8px;
}

.uran-practice-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.uran-badge {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0c0d0f;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.uran-step-indicator {
    font-size: 12px;
    font-weight: 700;
    color: rgba(255, 255, 255, 0.9);
}

.uran-practice-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-uran-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-uran-action:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.btn-uran-action.primary {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0c0d0f;
    border: none;
    box-shadow: 0 3px 12px rgba(250, 204, 21, 0.35);
}

.btn-uran-action.primary:hover {
    background: linear-gradient(135deg, #fde047, #facc15);
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.5);
}

/* 3D Flashcard Container */
.uran-flashcard-container {
    perspective: 1000px;
    width: 100%;
    max-width: 380px;
    margin: 0 auto;
    height: 175px;
}

.uran-flashcard {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    cursor: pointer;
}

.uran-flashcard.flipped {
    transform: rotateY(180deg);
}

.uran-card-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    border-radius: 16px;
    padding: 12px 16px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.35);
}

.uran-card-front {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.22) 0%, rgba(255, 255, 255, 0.1) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.35);
}

.uran-card-back {
    background: linear-gradient(145deg, rgba(250, 204, 21, 0.28) 0%, rgba(245, 158, 11, 0.16) 100%);
    border: 1.5px solid rgba(250, 204, 21, 0.55);
    transform: rotateY(180deg);
}

.uran-card-tag {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 9.5px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.05em;
    color: rgba(255, 255, 255, 0.7);
}

.uran-card-img-wrap {
    width: 44px;
    height: 44px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 2px;
}

.uran-card-img-wrap img {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    filter: drop-shadow(0 4px 8px rgba(0,0,0,0.3));
}

.uran-card-word-en {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 1px;
    letter-spacing: -0.02em;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.uran-card-transcription {
    font-size: 12px;
    color: #fde047;
    font-weight: 600;
    margin-bottom: 6px;
    font-family: monospace;
}

.uran-card-word-uz {
    font-family: 'Unbounded', sans-serif;
    font-size: 22px;
    font-weight: 800;
    color: #facc15;
    margin-bottom: 4px;
    letter-spacing: -0.02em;
}

.uran-card-example {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.9);
    font-style: italic;
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.35;
}

.uran-sound-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0c0d0f;
    border: none;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(250, 204, 21, 0.4);
    transition: all 0.2s ease;
}

.uran-sound-btn svg {
    width: 15px;
    height: 15px;
}

.uran-sound-btn:hover {
    transform: scale(1.04);
    background: linear-gradient(135deg, #fde047, #facc15);
    box-shadow: 0 4px 16px rgba(250, 204, 21, 0.6);
}

.uran-sound-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.uran-sound-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.uran-card-flip-hint {
    position: absolute;
    bottom: 5px;
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* Card Navigatsiya Tugmalari */
.uran-card-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 380px;
    margin: 8px auto 0;
}

.uran-nav-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.uran-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.uran-nav-btn.primary {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0c0d0f;
    border: none;
    box-shadow: 0 3px 10px rgba(250, 204, 21, 0.35);
}

.uran-nav-btn.primary:hover {
    background: linear-gradient(135deg, #fde047, #facc15);
    transform: translateX(2px);
}

.uran-dots-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.uran-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.uran-dot.active {
    background: #facc15;
    transform: scale(1.25);
    box-shadow: 0 0 6px #facc15;
}

/* 2-BOSQICH: QUIZ STAGE */
.uran-quiz-stage {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    animation: fadeInQuiz 0.35s ease;
}

@keyframes fadeInQuiz {
    from { opacity: 0; transform: scale(0.97); }
    to { opacity: 1; transform: scale(1); }
}

.uran-quiz-card {
    background: linear-gradient(145deg, rgba(255, 255, 255, 0.18) 0%, rgba(255, 255, 255, 0.08) 100%);
    border: 1.5px solid rgba(255, 255, 255, 0.32);
    border-radius: 16px;
    padding: 14px 16px;
    text-align: center;
}

.uran-quiz-badge {
    display: inline-block;
    background: rgba(250, 204, 21, 0.2);
    border: 1px solid rgba(250, 204, 21, 0.4);
    color: #facc15;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 8px;
    border-radius: 999px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.uran-quiz-question {
    font-size: 14px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 6px;
    line-height: 1.3;
}

.uran-quiz-listen-wrap {
    margin-bottom: 10px;
}

.uran-quiz-listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.uran-quiz-listen-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.uran-quiz-listen-btn span {
    color: #fde047;
    font-weight: 800;
}

/* 4 ta Variant Tugmasi */
.uran-quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.uran-quiz-opt-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 10px;
    padding: 8px 10px;
    font-family: inherit;
    font-size: 12.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.uran-quiz-opt-btn:hover:not(:disabled) {
    background: rgba(255, 255, 255, 0.26);
    border-color: rgba(255, 255, 255, 0.6);
    transform: translateY(-2px);
}

.uran-quiz-opt-btn.correct {
    background: linear-gradient(135deg, #10b981, #059669) !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.6);
    animation: pulseCorrect 0.4s ease;
}

@keyframes pulseCorrect {
    0% { transform: scale(1); }
    50% { transform: scale(1.06); }
    100% { transform: scale(1); }
}

.uran-quiz-opt-btn.wrong {
    background: linear-gradient(135deg, #ef4444, #dc2626) !important;
    border-color: #f87171 !important;
    color: #ffffff !important;
    animation: shakeWrong 0.4s ease;
}

@keyframes shakeWrong {
    0%, 100% { transform: translateX(0); }
    25% { transform: translateX(-5px); }
    75% { transform: translateX(5px); }
}

.uran-quiz-feedback {
    margin-top: 8px;
    padding: 8px 12px;
    border-radius: 12px;
    background: rgba(16, 185, 129, 0.2);
    border: 1.5px solid rgba(16, 185, 129, 0.4);
    animation: fadeInFeedback 0.3s ease;
}

@keyframes fadeInFeedback {
    from { opacity: 0; transform: translateY(5px); }
    to { opacity: 1; transform: translateY(0); }
}

.feedback-icon {
    font-size: 24px;
    margin-bottom: 2px;
}

.feedback-text {
    font-size: 13px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 8px;
}

/* ==========================================================================
   SATURN SAYYORASI: MATEMATIKA MAShQLARI VA TEST (MATH PRACTICE & QUIZ)
   ========================================================================== */
.modal-saturn-practice-box {
    width: 100%;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 18px;
    padding: 12px 16px 14px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInUran 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.saturn-practice-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 8px;
}

.saturn-practice-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.saturn-badge {
    background: linear-gradient(135deg, #f59e0b, #ea580c);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
    box-shadow: 0 2px 8px rgba(245, 158, 11, 0.4);
}

.saturn-step-indicator {
    font-size: 12px;
    font-weight: 700;
    color: #fbbf24;
}

.saturn-practice-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-saturn-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-saturn-action:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.btn-saturn-action.primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45);
}

.btn-saturn-action.primary:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

/* Saturn Flashcard Container */
.saturn-cards-stage {
    display: flex;
    flex-direction: column;
    align-items: center;
    width: 100%;
}

.saturn-flashcard-container {
    perspective: 1000px;
    width: 100%;
    max-width: 380px;
    height: 185px;
    margin: 4px auto 8px;
    cursor: pointer;
}

.saturn-flashcard {
    position: relative;
    width: 100%;
    height: 100%;
    transform-style: preserve-3d;
    transition: transform 0.5s cubic-bezier(0.16, 1, 0.3, 1);
    border-radius: 16px;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.35);
}

.saturn-flashcard.flipped {
    transform: rotateY(180deg);
}

.saturn-card-face {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    backface-visibility: hidden;
    -webkit-backface-visibility: hidden;
    border-radius: 16px;
    border: 1.5px solid rgba(255, 255, 255, 0.35);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 12px 16px;
    user-select: none;
    -webkit-user-select: none;
}

.saturn-card-front {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.25) 0%, rgba(20, 15, 10, 0.85) 100%);
}

.saturn-card-back {
    background: linear-gradient(145deg, rgba(16, 185, 129, 0.28) 0%, rgba(10, 25, 20, 0.9) 100%);
    border-color: rgba(52, 211, 153, 0.45);
    transform: rotateY(180deg);
}

.saturn-card-tag {
    position: absolute;
    top: 8px;
    left: 12px;
    font-size: 10px;
    font-weight: 800;
    color: #fbbf24;
    text-transform: uppercase;
    letter-spacing: 0.04em;
}

.saturn-card-visual {
    font-size: 20px;
    line-height: 1;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.4));
    user-select: none;
}

.saturn-card-problem {
    font-size: 24px;
    font-weight: 900;
    color: #ffffff;
    margin-bottom: 6px;
    letter-spacing: -0.01em;
}

.saturn-card-answer {
    font-size: 22px;
    font-weight: 900;
    color: #34d399;
    margin-bottom: 4px;
    letter-spacing: -0.01em;
}

.saturn-card-explanation {
    font-size: 12px;
    color: rgba(255, 255, 255, 0.95);
    margin-bottom: 8px;
    text-align: center;
    line-height: 1.35;
    max-width: 90%;
}

.saturn-sound-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    border-radius: 999px;
    padding: 5px 14px;
    font-size: 11.5px;
    font-weight: 800;
    cursor: pointer;
    box-shadow: 0 3px 12px rgba(245, 158, 11, 0.45);
    transition: all 0.2s ease;
}

.saturn-sound-btn svg {
    width: 15px;
    height: 15px;
}

.saturn-sound-btn:hover {
    transform: scale(1.04);
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
}

.saturn-sound-btn.secondary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.35);
    box-shadow: none;
}

.saturn-sound-btn.secondary:hover {
    background: rgba(255, 255, 255, 0.3);
}

.saturn-card-flip-hint {
    position: absolute;
    bottom: 5px;
    font-size: 9.5px;
    color: rgba(255, 255, 255, 0.6);
}

/* Navigatsiya Tugmalari */
.saturn-card-controls {
    display: flex;
    align-items: center;
    justify-content: space-between;
    width: 100%;
    max-width: 380px;
    margin: 8px auto 0;
}

.saturn-nav-btn {
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 5px 14px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.saturn-nav-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.saturn-nav-btn.primary {
    background: linear-gradient(135deg, #f59e0b, #d97706);
    color: #ffffff;
    border: none;
    box-shadow: 0 3px 10px rgba(245, 158, 11, 0.4);
}

.saturn-nav-btn.primary:hover {
    background: linear-gradient(135deg, #fbbf24, #f59e0b);
    transform: translateX(2px);
}

.saturn-dots-wrap {
    display: flex;
    align-items: center;
    gap: 6px;
}

.saturn-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.3);
    transition: all 0.25s ease;
}

.saturn-dot.active {
    background: #f59e0b;
    transform: scale(1.25);
    box-shadow: 0 0 6px #f59e0b;
}

/* 2-BOSQICH: QUIZ STAGE */
.saturn-quiz-stage {
    width: 100%;
    max-width: 420px;
    margin: 0 auto;
    animation: fadeInQuiz 0.35s ease;
}

.saturn-quiz-card {
    background: linear-gradient(145deg, rgba(245, 158, 11, 0.2) 0%, rgba(20, 15, 10, 0.88) 100%);
    border: 1.5px solid rgba(245, 158, 11, 0.4);
    border-radius: 16px;
    padding: 14px 16px;
    text-align: center;
}

.saturn-quiz-badge {
    display: inline-block;
    background: rgba(245, 158, 11, 0.25);
    border: 1px solid rgba(245, 158, 11, 0.5);
    color: #fbbf24;
    font-size: 10px;
    font-weight: 800;
    padding: 2px 9px;
    border-radius: 999px;
    margin-bottom: 6px;
    text-transform: uppercase;
}

.saturn-quiz-question {
    font-size: 15px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 4px;
    line-height: 1.3;
}

.saturn-quiz-visual {
    font-size: 19px;
    margin-bottom: 6px;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.3));
}

.saturn-quiz-listen-wrap {
    margin-bottom: 10px;
}

.saturn-quiz-listen-btn {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.14);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 4px 11px;
    border-radius: 999px;
    font-size: 11.5px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s;
}

.saturn-quiz-listen-btn:hover {
    background: rgba(255, 255, 255, 0.25);
}

.saturn-quiz-options {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 8px;
    margin-bottom: 8px;
}

.saturn-quiz-opt-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    border-radius: 10px;
    padding: 10px 10px;
    font-family: inherit;
    font-size: 15px;
    font-weight: 800;
    cursor: pointer;
    transition: all 0.2s ease;
    text-align: center;
}

.saturn-quiz-opt-btn:hover:not(:disabled) {
    background: rgba(245, 158, 11, 0.35);
    border-color: #fbbf24;
    transform: translateY(-2px);
}

.saturn-quiz-opt-btn.correct {
    background: #10b981 !important;
    border-color: #34d399 !important;
    color: #ffffff !important;
    box-shadow: 0 0 16px rgba(16, 185, 129, 0.7);
    animation: bounceSuccess 0.4s ease;
}

.saturn-quiz-opt-btn.wrong {
    background: #ef4444 !important;
    border-color: #f87171 !important;
    color: #ffffff !important;
    animation: shakeWrong 0.3s ease;
}

.saturn-quiz-feedback {
    background: rgba(0, 0, 0, 0.3);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 10px 12px;
    margin-top: 8px;
    animation: fadeInFeedback 0.3s ease;
}

/* ==========================================================================
   VENERA SAYYORASI: VIRTUAL DO'KON VA KIYINTIRISH (WARDROBE & DRESS UP)
   ========================================================================== */
.modal-venera-shop-box {
    width: 100%;
    margin-top: 12px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 14px 16px 16px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInUran 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.venera-shop-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    flex-wrap: wrap;
    gap: 8px;
}

.venera-shop-title {
    display: flex;
    align-items: center;
    gap: 8px;
}

.venera-badge {
    background: linear-gradient(135deg, #ec4899, #f43f5e);
    color: #ffffff;
    font-size: 10.5px;
    font-weight: 800;
    padding: 3px 9px;
    border-radius: 999px;
    letter-spacing: 0.03em;
    text-transform: uppercase;
}

.venera-coin-pill {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(250, 204, 21, 0.18);
    border: 1px solid rgba(250, 204, 21, 0.45);
    color: #facc15;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 800;
}

.venera-coin-icon {
    font-size: 13px;
}

.venera-coin-label {
    font-size: 10px;
    opacity: 0.85;
}

.venera-shop-actions {
    display: flex;
    align-items: center;
    gap: 6px;
}

.btn-venera-action {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 11px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-venera-action:hover {
    background: rgba(255, 255, 255, 0.28);
    transform: translateY(-1px);
}

.venera-wardrobe-container {
    display: flex;
    gap: 14px;
    align-items: stretch;
}

/* Avatar Stage */
.venera-avatar-stage {
    position: relative;
    width: 200px;
    flex-shrink: 0;
    background: rgba(0, 0, 0, 0.2);
    border-radius: 18px;
    border: 1.5px solid rgba(255, 255, 255, 0.22);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: space-between;
    padding: 10px 8px 8px;
}

.venera-avatar-backdrop {
    position: absolute;
    inset: 0;
    border-radius: 18px;
    z-index: 0;
    transition: all 0.4s ease;
}

.venera-avatar-backdrop.bg-space {
    background: radial-gradient(circle at 50% 30%, #3b0764 0%, #0f172a 70%, #020617 100%);
}

.venera-avatar-backdrop.bg-registan {
    background: radial-gradient(circle at 50% 30%, #b45309 0%, #78350f 50%, #451a03 100%);
}

.venera-avatar-backdrop.bg-future_lab {
    background: radial-gradient(circle at 50% 30%, #0284c7 0%, #0369a1 50%, #082f49 100%);
}

.venera-avatar-backdrop.bg-cozy_room {
    background: radial-gradient(circle at 50% 30%, #059669 0%, #047857 50%, #064e3b 100%);
}

.venera-character-frame {
    position: relative;
    width: 190px;
    height: 240px;
    border-radius: 18px;
    overflow: hidden;
    z-index: 2;
    margin: 0 auto;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.5);
    background: rgba(0, 0, 0, 0.25);
}

.venera-boy-img,
.venera-boy-img-next {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 10%;
    display: block;
    transition: opacity 0.35s ease, transform 0.35s ease;
}

.venera-boy-img-next {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.venera-item-thumb {
    width: 48px;
    height: 58px;
    border-radius: 8px;
    object-fit: cover;
    object-position: center top;
    margin-bottom: 4px;
    border: 1.5px solid rgba(255, 255, 255, 0.3);
    box-shadow: 0 4px 10px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}

.venera-item-card:hover .venera-item-thumb {
    transform: scale(1.06);
    border-color: #facc15;
}
}

.venera-flash-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    border-radius: 12px;
}

.venera-flash-overlay.flash {
    animation: veneraCameraFlash 0.45s ease-out;
}

@keyframes veneraCameraFlash {
    0% { opacity: 0.95; }
    100% { opacity: 0; }
}

.venera-avatar-meta {
    position: relative;
    z-index: 2;
    width: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: 6px;
    padding-top: 5px;
    border-top: 1px solid rgba(255, 255, 255, 0.15);
    background: rgba(14, 18, 36, 0.7);
    border-radius: 10px;
    padding: 5px 8px;
}

.venera-meta-info {
    display: flex;
    flex-direction: column;
    text-align: left;
}

.venera-avatar-name {
    font-size: 11px;
    font-weight: 800;
    color: #ffffff;
    line-height: 1.2;
}

.venera-avatar-sub {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.75);
    line-height: 1.1;
}

.venera-snap-btn {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0c0d0f;
    border: none;
    border-radius: 999px;
    padding: 3px 8px;
    font-size: 10.5px;
    font-weight: 800;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    box-shadow: 0 3px 10px rgba(250, 204, 21, 0.4);
    transition: transform 0.2s ease;
}

.venera-snap-btn:hover {
    transform: scale(1.06);
}

/* Shop Sidebar */
.venera-shop-sidebar {
    flex: 1;
    min-width: 0;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.venera-tabs-bar {
    display: flex;
    gap: 6px;
    margin-bottom: 8px;
    overflow-x: auto;
    padding-bottom: 3px;
    scrollbar-width: none;
}

.venera-tabs-bar::-webkit-scrollbar {
    display: none;
}

.venera-tab-btn {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #ffffff;
    padding: 4px 10px;
    border-radius: 999px;
    font-size: 10.5px;
    font-weight: 700;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.2s ease;
}

.venera-tab-btn:hover {
    background: rgba(255, 255, 255, 0.22);
}

.venera-tab-btn.active {
    background: linear-gradient(135deg, #ec4899, #8b5cf6);
    border-color: #ec4899;
    box-shadow: 0 3px 10px rgba(236, 72, 153, 0.4);
}

.venera-items-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(110px, 1fr));
    gap: 8px;
    max-height: 245px;
    overflow-y: auto;
    padding-right: 4px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 255, 255, 0.25) transparent;
}

.venera-items-grid::-webkit-scrollbar {
    width: 4px;
}

.venera-items-grid::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.25);
    border-radius: 999px;
}

.venera-item-card {
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 8px 6px;
    cursor: pointer;
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    transition: all 0.2s ease;
    position: relative;
}

.venera-item-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    border-color: rgba(255, 255, 255, 0.4);
}

.venera-item-card.active {
    border-color: #facc15;
    background: rgba(250, 204, 21, 0.18);
    box-shadow: 0 0 12px rgba(250, 204, 21, 0.35);
}

.venera-item-icon {
    font-size: 22px;
    margin-bottom: 2px;
    line-height: 1;
}

.venera-item-name {
    font-size: 10.5px;
    font-weight: 800;
    color: #ffffff;
    margin-bottom: 2px;
    line-height: 1.2;
}

.venera-item-desc {
    font-size: 9px;
    color: rgba(255, 255, 255, 0.7);
    line-height: 1.15;
    margin-bottom: 4px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.venera-item-action-row {
    display: flex;
    align-items: center;
    gap: 4px;
    margin-top: auto;
}

.venera-item-price {
    font-size: 9.5px;
    font-weight: 800;
    color: #facc15;
    display: inline-flex;
    align-items: center;
    gap: 2px;
}

.venera-item-badge {
    font-size: 9px;
    font-weight: 800;
    border-radius: 999px;
    padding: 1px 6px;
}

.badge-worn {
    background: #10b981;
    color: #ffffff;
}

.badge-owned {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

.badge-buy {
    background: linear-gradient(135deg, #facc15, #f59e0b);
    color: #0c0d0f;
}

.venera-shop-tip {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-top: 8px;
    padding: 5px 8px;
    border-radius: 8px;
    background: rgba(255, 255, 255, 0.08);
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.9);
}

.venera-tip-icon {
    font-size: 13px;
    flex-shrink: 0;
}

/* ==========================================================================
   NEPTUN SAYYORASI: BUGUNGI HISSIYOT DARAXTI (EXACT MATCH TO REFERENCE)
   ========================================================================== */
.modal-neptun-tree-box {
    width: 100%;
    margin-top: 10px;
    display: flex;
    justify-content: center;
    align-items: center;
    padding: 8px 0 14px;
    animation: fadeInUran 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.neptun-phone-frame {
    width: 100%;
    max-width: 350px;
    height: 570px;
    max-height: 80vh;
    border-radius: 38px;
    overflow: hidden;
    position: relative;
    box-shadow: 0 24px 50px rgba(0, 0, 0, 0.65), 0 0 0 6px #0f172a, 0 0 0 8px rgba(255, 255, 255, 0.2);
    display: flex;
    flex-direction: column;
    background: #020617;
    margin: 0 auto;
}

/* Topbar */
.neptun-phone-topbar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 48px;
    z-index: 25;
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 8px 16px;
    color: #ffffff;
    pointer-events: none;
}

.neptun-back-btn {
    pointer-events: auto;
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.32);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.55);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #ffffff;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 4px 12px rgba(0, 0, 0, 0.25);
    padding: 0;
}

.neptun-back-btn:hover {
    background: rgba(255, 255, 255, 0.55);
    transform: scale(1.08);
}

.neptun-phone-clock {
    font-size: 13.5px;
    font-weight: 800;
    letter-spacing: -0.01em;
    color: #ffffff;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.75);
}

.neptun-phone-icons {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #ffffff;
    filter: drop-shadow(0 1px 3px rgba(0, 0, 0, 0.7));
}

/* Screen Canvas */
.neptun-screen-canvas {
    position: relative;
    flex: 1;
    width: 100%;
    height: 100%;
    background-image: url('img/neptun_forest_bg.jpg');
    background-repeat: no-repeat;
    background-position: center bottom;
    background-size: cover;
    overflow: hidden;
}

.neptun-flash-overlay {
    position: absolute;
    inset: 0;
    background: #ffffff;
    opacity: 0;
    pointer-events: none;
    z-index: 30;
    transition: opacity 0.05s ease;
}

.neptun-flash-overlay.flash {
    animation: flashSnap 0.45s ease-out;
}

/* Backdrop when emoji dock is open */
.neptun-mood-dock-backdrop {
    position: absolute;
    inset: 0;
    z-index: 12;
    background: rgba(254, 249, 195, 0.15);
    backdrop-filter: blur(2px);
    -webkit-backdrop-filter: blur(2px);
}

/* "Bugun" Glowing Circle Badge */
.neptun-mood-circle-badge {
    position: absolute;
    top: 72%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 96px;
    height: 96px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(255, 255, 255, 0.42) 0%, rgba(255, 255, 255, 0.18) 60%, rgba(0, 0, 0, 0.22) 100%);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1.5px solid rgba(255, 255, 255, 0.55);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
    z-index: 15;
    user-select: none;
    -webkit-user-select: none;
}

.neptun-mood-circle-badge:hover {
    transform: translate(-50%, -50%) scale(1.06);
    border-color: #ffffff;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.55), 0 0 20px rgba(253, 224, 71, 0.6);
}

.mood-badge-label {
    font-size: 11.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.04em;
    margin-bottom: 2px;
    text-shadow: 0 1px 4px rgba(0, 0, 0, 0.85);
    line-height: 1;
}

.mood-dashed-ring {
    width: 56px;
    height: 56px;
    border-radius: 50%;
    border: 2px dashed rgba(255, 255, 255, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    transition: all 0.3s ease;
}

.mood-dashed-ring.has-mood {
    border-style: solid;
    border-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 0 16px rgba(253, 224, 71, 0.65);
}

/* Glowing Orb */
.mood-glowing-orb {
    width: 44px;
    height: 44px;
    border-radius: 50%;
    background: radial-gradient(circle, #fffbe0 0%, #fde047 38%, rgba(245, 158, 11, 0.8) 70%, transparent 100%);
    filter: drop-shadow(0 0 12px rgba(253, 224, 71, 0.9));
    animation: moodOrbPulse 2.2s infinite ease-in-out;
}

@keyframes moodOrbPulse {
    0%, 100% {
        transform: scale(0.9);
        opacity: 0.85;
        filter: drop-shadow(0 0 8px rgba(253, 224, 71, 0.7));
    }
    50% {
        transform: scale(1.08);
        opacity: 1;
        filter: drop-shadow(0 0 18px rgba(253, 224, 71, 1));
    }
}

/* Selected Mood Emoji */
.mood-selected-emoji {
    font-size: 32px;
    line-height: 1;
    filter: drop-shadow(0 3px 6px rgba(0, 0, 0, 0.45));
    animation: moodEmojiPop 0.35s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes moodEmojiPop {
    0% {
        transform: scale(0) rotate(-20deg);
    }
    70% {
        transform: scale(1.3) rotate(8deg);
    }
    100% {
        transform: scale(1) rotate(0deg);
    }
}

/* Floating Emoji Capsule Dock */
.neptun-mood-dock {
    position: absolute;
    top: calc(72% + 56px);
    left: 50%;
    transform: translateX(-50%);
    z-index: 20;
    animation: dockSlideUp 0.25s cubic-bezier(0.34, 1.56, 0.64, 1);
}

@keyframes dockSlideUp {
    0% {
        opacity: 0;
        transform: translateX(-50%) translateY(10px) scale(0.85);
    }
    100% {
        opacity: 1;
        transform: translateX(-50%) translateY(0) scale(1);
    }
}

.mood-dock-arrow {
    position: absolute;
    top: -7px;
    left: 50%;
    transform: translateX(-50%);
    width: 0;
    height: 0;
    border-left: 7px solid transparent;
    border-right: 7px solid transparent;
    border-bottom: 7px solid rgba(255, 252, 245, 0.98);
}

.mood-dock-emojis {
    display: flex;
    align-items: center;
    gap: 8px;
    background: rgba(255, 252, 245, 0.98);
    backdrop-filter: blur(14px);
    -webkit-backdrop-filter: blur(14px);
    border-radius: 999px;
    padding: 6px 12px;
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.35), 0 0 12px rgba(253, 224, 71, 0.3);
    border: 1.5px solid rgba(255, 255, 255, 0.9);
}

.mood-emoji-btn {
    background: transparent;
    border: none;
    font-size: 27px;
    line-height: 1;
    cursor: pointer;
    padding: 2px 4px;
    border-radius: 50%;
    transition: all 0.2s cubic-bezier(0.34, 1.56, 0.64, 1);
    display: flex;
    align-items: center;
    justify-content: center;
}

.mood-emoji-btn:hover {
    transform: scale(1.35) translateY(-3px);
    filter: drop-shadow(0 4px 8px rgba(0, 0, 0, 0.25));
}

/* Control bar at bottom of canvas */
.neptun-forest-bottom-bar {
    position: absolute;
    bottom: 8px;
    left: 0;
    right: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    z-index: 10;
}

.forest-bar-btn {
    display: inline-flex;
    align-items: center;
    gap: 4px;
    background: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    border: 1px solid rgba(255, 255, 255, 0.45);
    color: #ffffff;
    padding: 3px 9px;
    border-radius: 999px;
    font-size: 10px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.forest-bar-btn:hover {
    background: rgba(255, 255, 255, 0.45);
    transform: translateY(-1px);
}

/* Phone Footer Status */
.neptun-phone-footer {
    background: rgba(15, 23, 42, 0.94);
    border-top: 1px solid rgba(255, 255, 255, 0.12);
    padding: 7px 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 10.5px;
    color: rgba(255, 255, 255, 0.92);
}

.neptun-mood-feedback {
    display: flex;
    align-items: center;
    gap: 5px;
    text-align: center;
}

/* ============ RESPONSIVE MEDIA QUERIES ============ */
@media (max-width: 840px) {
    .planet-modal-card {
        padding: 22px 18px 20px;
        border-radius: 22px;
    }

    .venera-wardrobe-container {
        flex-direction: column;
        align-items: center;
    }

    .venera-avatar-stage {
        width: 100%;
        max-width: 220px;
    }

    .modal-body-wrapper {
        flex-direction: column;
        align-items: center;
        text-align: center;
        gap: 14px;
    }

    .modal-right {
        align-items: center;
        text-align: center;
    }

    .modal-left {
        width: 110px;
        position: static;
        padding-top: 0;
    }

    .modal-planet-img {
        width: 105px;
        height: 105px;
    }

    .modal-feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    .modal-feature-item {
        align-items: center;
        text-align: center;
    }

    .modal-close-btn {
        top: 12px;
        right: 14px;
        padding: 5px 12px;
        font-size: 11px;
    }
}

@media (max-width: 520px) {
    .planet-modal-overlay {
        padding: 12px 8px;
    }

    .planet-modal-card {
        padding: 16px 12px 16px;
        border-radius: 18px;
        max-height: calc(100vh - 24px);
        max-height: calc(100dvh - 24px);
    }

    .modal-feature-grid {
        grid-template-columns: 1fr 1fr;
        gap: 6px;
    }

    .modal-feature-item {
        padding: 8px 6px;
        border-radius: 12px;
    }

    .modal-feature-icon {
        width: 28px;
        height: 28px;
        margin-bottom: 4px;
    }

    .modal-feature-title {
        font-size: 10.5px;
    }

    .modal-feature-sub {
        font-size: 9px;
    }

    .uran-quiz-options {
        grid-template-columns: 1fr;
        gap: 6px;
    }

    .uran-flashcard-container {
        height: 165px;
    }

    .uran-card-word-en {
        font-size: 20px;
    }

    .uran-card-word-uz {
        font-size: 20px;
    }
}

/* ==========================================================================
   YUPITER SAYYORASI: TAYM-MENEJMENT VA KUNLIK REJA JADVALI (SCHEDULE & NOTES)
   ========================================================================== */
.modal-yupiter-schedule-box {
    width: 100%;
    margin-top: 14px;
    background: rgba(0, 0, 0, 0.22);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 16px 18px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.25);
    animation: fadeInUran 0.3s cubic-bezier(0.16, 1, 0.3, 1);
}

.yupiter-schedule-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 12px;
    flex-wrap: wrap;
    gap: 10px;
}

.yupiter-schedule-title {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
}

.yupiter-badge {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    color: #ffffff;
    font-size: 11.5px;
    font-weight: 800;
    padding: 6px 14px;
    border-radius: 12px;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    box-shadow: 0 0 14px rgba(14, 165, 233, 0.5);
}

.yupiter-motto-pill {
    background: rgba(255, 255, 255, 0.14);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.25);
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
}

.yupiter-schedule-actions {
    display: flex;
    align-items: center;
    gap: 8px;
}

.btn-yupiter-action, .btn-yupiter-close {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    padding: 6px 14px;
    border-radius: 999px;
    font-size: 12px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.2s ease;
}

.btn-yupiter-action:hover, .btn-yupiter-close:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: #38bdf8;
    transform: translateY(-1px);
}

.yupiter-motto-banner {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 12px;
    padding: 12px 18px;
    font-size: 13.5px;
    color: #ffffff;
    margin-bottom: 14px;
    text-align: center;
    font-weight: 600;
    letter-spacing: 0.02em;
}

.yupiter-cal-nav {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 10px;
    padding: 0 6px;
}

.yupiter-cal-nav-btn {
    width: 34px;
    height: 34px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    color: #ffffff;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: all 0.2s ease;
}

.yupiter-cal-nav-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
    transform: scale(1.08);
}

.yupiter-cal-month-title {
    font-size: 16.5px;
    font-weight: 800;
    color: #ffffff;
    letter-spacing: 0.02em;
}

.yupiter-calendar-wrap {
    background: rgba(0, 0, 0, 0.18);
    border: 1px solid rgba(255, 255, 255, 0.18);
    border-radius: 16px;
    padding: 12px 12px 14px;
    margin-bottom: 14px;
}

.yupiter-weekdays-row {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    text-align: center;
    font-size: 11.5px;
    font-weight: 800;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 8px;
    text-transform: uppercase;
    letter-spacing: 0.05em;
}

.yupiter-days-grid {
    display: grid;
    grid-template-columns: repeat(7, 1fr);
    gap: 6px;
}

.yupiter-day-cell {
    min-height: 48px;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    position: relative;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.14);
    background: rgba(255, 255, 255, 0.08);
    color: #ffffff;
    font-size: 15px;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.18s ease;
    padding: 4px 2px;
    user-select: none;
}

.yupiter-day-cell:hover:not(.is-empty) {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
    transform: translateY(-2px);
}

.yupiter-day-cell.is-empty {
    background: transparent;
    border-color: transparent;
    cursor: default;
    pointer-events: none;
}

.yupiter-day-cell.is-today {
    border: 1.5px solid #38bdf8;
    background: rgba(56, 189, 248, 0.25);
    color: #ffffff;
}

.yupiter-day-cell.is-selected {
    background: #0ea5e9 !important;
    color: #ffffff !important;
    border: 2px solid #ffffff !important;
    box-shadow: 0 0 18px rgba(14, 165, 233, 0.7) !important;
    transform: scale(1.02);
    z-index: 2;
}

.yupiter-day-num {
    line-height: 1;
}

.yupiter-day-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: #facc15;
    box-shadow: 0 0 8px #facc15;
    margin-top: 3px;
}

.yupiter-day-cell.is-selected .yupiter-day-dot {
    background: #ffffff;
    box-shadow: 0 0 8px #ffffff;
}

/* ============ YUPITER NOTE WRITING DIALOG (POPUP MODAL) ============ */
.yupiter-note-dialog-overlay {
    position: fixed;
    inset: 0;
    background: rgba(0, 0, 0, 0.45);
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
    z-index: 1000;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 16px;
    animation: fadeInUran 0.2s ease-out;
}

.yupiter-note-dialog {
    background: rgba(10, 20, 42, 0.88);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 20px;
    padding: 18px 20px;
    max-width: 480px;
    width: 100%;
    box-shadow: 0 20px 50px rgba(0, 0, 0, 0.6), 0 0 30px rgba(14, 165, 233, 0.2);
    animation: zoomInDialog 0.25s cubic-bezier(0.16, 1, 0.3, 1);
    color: #ffffff;
}

@keyframes zoomInDialog {
    from { opacity: 0; transform: scale(0.92) translateY(10px); }
    to { opacity: 1; transform: scale(1) translateY(0); }
}

.yupiter-dialog-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-bottom: 14px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
}

.yupiter-dialog-title {
    font-size: 14.5px;
    font-weight: 800;
    color: #f1f5f9;
}

.yupiter-dialog-title span {
    color: #38bdf8;
}

.btn-close-yupiter-dialog {
    background: rgba(255, 255, 255, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.22);
    color: #cbd5e1;
    width: 28px;
    height: 28px;
    border-radius: 50%;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    font-size: 13px;
    font-weight: 700;
    transition: all 0.2s ease;
}

.btn-close-yupiter-dialog:hover {
    background: #ef4444;
    border-color: #ef4444;
    color: #ffffff;
    transform: scale(1.08);
}

.yupiter-note-input-wrap {
    margin-bottom: 12px;
}

.yupiter-input-row {
    display: flex;
    gap: 8px;
    align-items: center;
    margin-bottom: 4px;
    flex-wrap: wrap;
}

.yupiter-note-input {
    flex: 1;
    min-width: 170px;
    background: rgba(255, 255, 255, 0.1);
    border: 1.5px solid rgba(255, 255, 255, 0.25);
    border-radius: 10px;
    padding: 9px 13px;
    color: #ffffff;
    font-size: 13px;
    outline: none;
    transition: all 0.2s ease;
}

.yupiter-note-input::placeholder {
    color: rgba(255, 255, 255, 0.55);
}

.yupiter-note-input:focus {
    border-color: #38bdf8;
    background: rgba(255, 255, 255, 0.15);
    box-shadow: 0 0 12px rgba(56, 189, 248, 0.35);
}

.btn-yupiter-add {
    background: linear-gradient(135deg, #0ea5e9, #2563eb);
    border: none;
    color: #ffffff;
    font-size: 12.5px;
    font-weight: 700;
    padding: 9px 16px;
    border-radius: 10px;
    cursor: pointer;
    transition: all 0.2s ease;
    white-space: nowrap;
    box-shadow: 0 4px 12px rgba(14, 165, 233, 0.35);
}

.btn-yupiter-add:hover {
    background: linear-gradient(135deg, #38bdf8, #0ea5e9);
    transform: translateY(-1px);
    box-shadow: 0 6px 16px rgba(14, 165, 233, 0.5);
}

.yupiter-notes-list {
    display: flex;
    flex-direction: column;
    gap: 6px;
    max-height: 210px;
    overflow-y: auto;
    padding-right: 2px;
}

.yupiter-note-item {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.15);
    border-radius: 10px;
    padding: 8px 12px;
    gap: 10px;
    transition: all 0.2s ease;
}

.yupiter-note-item:hover {
    background: rgba(255, 255, 255, 0.12);
    border-color: rgba(56, 189, 248, 0.35);
}

.yupiter-note-left {
    display: flex;
    align-items: center;
    gap: 10px;
    flex: 1;
    min-width: 0;
}

.yupiter-checkbox {
    width: 18px;
    height: 18px;
    border-radius: 5px;
    border: 1.5px solid #38bdf8;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    background: transparent;
    transition: all 0.2s ease;
    flex-shrink: 0;
}

.yupiter-checkbox.checked {
    background: #0284c7;
    border-color: #38bdf8;
}

.yupiter-checkbox svg {
    display: none;
}

.yupiter-checkbox.checked svg {
    display: block;
}

.yupiter-note-text {
    font-size: 13px;
    color: #f1f5f9;
    word-break: break-word;
    transition: all 0.2s ease;
}

.yupiter-note-text.done {
    text-decoration: line-through;
    opacity: 0.55;
    color: #94a3b8;
}

.yupiter-delete-btn {
    background: transparent;
    border: none;
    color: #f87171;
    cursor: pointer;
    padding: 4px;
    border-radius: 4px;
    opacity: 0.7;
    transition: all 0.18s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.yupiter-delete-btn:hover {
    opacity: 1;
    background: rgba(239, 68, 68, 0.2);
}

.yupiter-empty-notes {
    text-align: center;
    padding: 18px 8px;
    color: rgba(255, 255, 255, 0.7);
    font-size: 12.5px;
    line-height: 1.5;
}

@media (max-width: 520px) {
    .modal-yupiter-schedule-box {
        padding: 10px 10px;
    }
    .yupiter-day-cell {
        min-height: 32px;
        font-size: 11.5px;
    }
    .yupiter-input-row {
        flex-direction: column;
        align-items: stretch;
    }
}