@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;600;700&display=swap');

body {
    font-family: 'Poppins', sans-serif;
    margin: 0;
    padding: 0;
    background: radial-gradient(circle at top right, #f8fafc, #e2e8f0);
    min-height: 100vh;
    overflow-x: hidden;
    /* Brauzer kontentini 80% masshtabda ko'rsatadi */
    zoom: 80%; 
}

/* Hero Section */
.hero-minimal {
    padding: 100px 20px 50px;
    text-align: center;
}

.hero-minimal h1 {
    font-size: 3rem;
    color: #1e293b;
    margin-bottom: 10px;
    font-weight: 700;
}

.hero-minimal p {
    font-size: 1.2rem;
    color: #64748b;
}

/* Kartalar Hududi */
.grade-selection {
    display: flex;
    justify-content: center;
    gap: 50px;
    padding: 50px 5%;
    flex-wrap: wrap;
}

.grade-card {
    background: rgba(255, 255, 255, 0.8);
    backdrop-filter: blur(10px);
    width: 320px;
    border-radius: 40px;
    padding: 40px;
    text-align: center;
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0,0,0,0.05);
    transition: all 0.5s cubic-bezier(0.23, 1, 0.32, 1);
    cursor: pointer;
    overflow: hidden;
}
/* Header Konteyneri */
.flex-header {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 80px 8% 50px; /* Yon tomondan joy qoldiramiz */
    gap: 40px;
}

/* Chap tomon (50%) */
.header-left {
    flex: 1;
    text-align: left;
}

.header-left h1 {
    font-size: 2.8rem;
    line-height: 1.2;
}

/* O'ng tomon (50%) */
.header-right {
    flex: 1;
    display: flex;
    justify-content: flex-end; /* Card-ni o'ngga suradi */
}

/* Yaratuvchi kartochkasi dizayni */
.creator-card {
    background: rgba(255, 255, 255, 0.9);
    padding: 30px;
    border-radius: 30px;
    display: flex;
    align-items: center;
    gap: 20px;
    max-width: 450px;
    box-shadow: 0 15px 35px rgba(0,0,0,0.08);
    border: 1px solid #fff;
    transition: 0.4s;
}

.creator-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 45px rgba(0,0,0,0.12);
}

.creator-image-box img {
    width: 100px;
    height: 100px;
    border-radius: 20px;
    object-fit: cover;
    border: 3px solid #3b82f6;
}

.creator-details h3 {
    margin: 0;
    font-size: 1.4rem;
    color: #1e293b;
}

.creator-details .role {
    color: #3b82f6;
    font-weight: 600;
    font-size: 0.9rem;
    margin: 5px 0;
}

.creator-details .work {
    color: #64748b;
    font-size: 0.85rem;
    margin: 0;
    line-height: 1.4;
}

/* Mobil qurilmalar uchun (Ekran kichrayganda ustma-ust tushadi) */
@media (max-width: 992px) {
    .flex-header {
        flex-direction: column;
        text-align: center;
        padding-top: 50px;
    }
    .header-left, .header-right {
        text-align: center;
        justify-content: center;
    }
    .creator-card {
        flex-direction: column;
        text-align: center;
    }
}

/* Hover Effect */
.grade-card:hover {
    transform: translateY(-20px) scale(1.02);
    box-shadow: 0 40px 80px rgba(0,0,0,0.1);
}

.grade-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; width: 100%; height: 100%;
    background: linear-gradient(135deg, transparent, rgba(255,255,255,0.4));
    pointer-events: none;
}

.icon-circle {
    width: 100px;
    height: 100px;
    background: #f1f5f9;
    border-radius: 30px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin: 0 auto 25px;
    transition: 0.3s;
}

.grade-card:hover .icon-circle { transform: rotate(10deg); }

.icon-main { font-size: 45px; }
.grade-5 .icon-main { color: #22c55e; }
.grade-6 .icon-main { color: #3b82f6; }

.grade-card h2 { font-size: 2rem; color: #1e293b; margin-bottom: 15px; }
.grade-card p { color: #475569; line-height: 1.6; font-size: 1rem; }

.select-btn {
    background: #1e293b;
    color: white;
    border: none;
    padding: 15px 35px;
    border-radius: 20px;
    font-weight: 600;
    font-size: 1rem;
    transition: 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 25px auto 0;
}

.grade-5:hover .select-btn { background: #22c55e; box-shadow: 0 10px 20px rgba(34, 197, 94, 0.3); }
.grade-6:hover .select-btn { background: #3b82f6; box-shadow: 0 10px 20px rgba(59, 130, 246, 0.3); }

/* Badge */
.badge {
    position: absolute;
    top: 25px; right: 25px;
    padding: 6px 15px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 700;
    color: white;
}
.neon-green { background: #22c55e; box-shadow: 0 4px 12px rgba(34, 197, 94, 0.4); }

/* Animatsiyalar */
.fade-in-up { animation: fadeInUp 0.8s ease-out; }
@keyframes fadeInUp {
    from { opacity: 0; transform: translateY(30px); }
    to { opacity: 1; transform: translateY(0); }
}

@media (max-width: 768px) {
    .grade-selection { gap: 30px; }
    .hero-minimal h1 { font-size: 2.2rem; }
}
