/* style.css */
:root {
    --primary: #0f172a;
    --accent: #fbbf24;
    --text: #334155;
    --light: #f8fafc;
}

body { font-family: 'Inter', sans-serif; margin: 0; color: var(--text); background: var(--light); line-height: 1.6; }
.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; }

/* Navigatsiya */
header { background: var(--primary); padding: 1rem 0; color: white; position: sticky; top: 0; z-index: 1000; }
.nav-flex { display: flex; justify-content: space-between; align-items: center; }
nav a { color: white; text-decoration: none; margin-left: 20px; font-weight: 500; transition: 0.3s; }
nav a:hover { color: var(--accent); }

/* Tugmalar */
.btn { padding: 10px 20px; border-radius: 8px; text-decoration: none; font-weight: bold; display: inline-block; }
.btn-main { background: var(--accent); color: black; }

/* Jadval */
.rating-table { width: 100%; border-collapse: collapse; background: white; margin-top: 20px; border-radius: 10px; overflow: hidden; box-shadow: 0 4px 6px rgba(0,0,0,0.05); }
.rating-table th, .rating-table td { padding: 15px; text-align: left; border-bottom: 1px solid #e2e8f0; }
/* style.css fayliga qo'shing */
.logo {
    display: flex;
    align-items: center;
    font-family: 'Poppins', sans-serif;
    font-weight: 900;
    font-size: 24px;
    text-transform: uppercase;
    letter-spacing: 1px;
    text-decoration: none;
}

.logo-icon {
    background: linear-gradient(135deg, #fbbf24, #d97706);
    color: white;
    width: 35px;
    height: 35px;
    display: flex;
    justify-content: center;
    align-items: center;
    border-radius: 8px;
    margin-right: 10px;
    box-shadow: 0 4px 10px rgba(251, 191, 36, 0.4);
}

.logo-text {
    color: #fbbf24;
}

.logo-subtext {
    color: white;
}
.main-nav {
    display: flex;
    gap: 20px;
    align-items: center;
}

.nav-link {
    color: white;
    text-decoration: none;
    display: flex;
    flex-direction: column; /* Ikonka tepada, yozuv pastda bo'lishi uchun */
    align-items: center;
    gap: 4px;
    font-size: 0.8rem;
    font-weight: 500;
    transition: all 0.3s ease;
    opacity: 0.8;
}

.nav-link i {
    font-size: 1.2rem; /* Ikonka o'lchami */
    color: #fbbf24;    /* Ikonka rangi (oltin rang) */
}

.nav-link:hover {
    opacity: 1;
    transform: translateY(-2px);
}

/* Mobil qurilmalar uchun moslashtirish */
@media (max-width: 600px) {
    .nav-link span {
        display: none; /* Mobilda faqat ikonkalarni qoldirish (ixtiyoriy) */
    }
    .main-nav {
        gap: 15px;
    }
}