/* Reset va asosiy uslublar */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    --primary-color: #0b4f99;
    --secondary-color: #176cc8;
    --accent-color: #10b981;
    --dark-color: #1e293b;
    --light-color: #f1f5f9;
    --text-color: #334155;
    --white: #ffffff;
    --gradient: linear-gradient(135deg, #0b4f99 0%, #115eb2 50%, #176cc8 100%);
    --shadow: 0 2px 8px rgba(0, 0, 0, 0.06);
    --shadow-lg: 0 4px 12px rgba(0, 0, 0, 0.08);
    --success-color: #10b981;
    --warning-color: #f59e0b;
    --danger-color: #ef4444;
}

body {
    font-family: 'Inter', 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    line-height: 1.6;
    color: var(--text-color);
    background-color: var(--light-color);
    padding-top: 0;
}

/* Home page uchun padding yo'q */
body.home-page {
    padding-top: 0 !important;
}

/* Boshqa sahifalar uchun main-content margin-top */
body:not(.home-page) .main-content {
    margin-top: 70px;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* Header */
.header {
    background: var(--white);
    box-shadow: var(--shadow);
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    z-index: 1000;
    transition: all 0.3s ease;
    transform: translateY(0);
}

/* Shaffof header - faqat home page uchun */
.header.transparent-header {
    background: rgba(0, 0, 0, 0.15) !important;
    backdrop-filter: blur(45px) !important;
    -webkit-backdrop-filter: blur(25px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.1) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.18);
}

.header.transparent-header .logo {
    color: var(--white) !important;
    background: none !important;
    -webkit-text-fill-color: var(--white) !important;
}

.header.transparent-header .logo span {
    color: var(--white) !important;
}

.header.transparent-header .logo i {
    color: var(--white) !important;
    background: none !important;
    -webkit-text-fill-color: var(--white) !important;
}

.header.transparent-header .nav-link {
    color: var(--white) !important;
}

.header.transparent-header .nav-link::after {
    background: var(--white) !important;
}

.header.transparent-header .nav-link:hover {
    color: rgba(255, 255, 255, 0.8) !important;
}

.header.transparent-header .btn-login {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.header.transparent-header .btn-login:hover {
    background: rgba(255, 255, 255, 0.3) !important;
}

.header.transparent-header .user-btn {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.1);
}

.header.transparent-header .user-btn span {
    color: var(--white) !important;
}

.header.transparent-header .user-btn:hover {
    background: rgba(255, 255, 255, 0.2) !important;
}

.header.transparent-header .user-notification-badge {
    background: var(--danger-color) !important;
}

/* Scroll qilganda header ko'k rangga o'tadi */
.header.transparent-header.scrolled {
    background: rgba(11, 79, 153, 0.95) !important;
    backdrop-filter: blur(25px) !important;
    box-shadow: 0 4px 30px rgba(0, 0, 0, 0.2) !important;
    border-bottom: 1px solid rgba(255, 255, 255, 0.2);
}

.header.transparent-header.scrolled .logo {
    color: var(--white) !important;
    background: none !important;
    -webkit-text-fill-color: var(--white) !important;
}

.header.transparent-header.scrolled .logo span {
    color: var(--white) !important;
}

.header.transparent-header.scrolled .logo i {
    color: var(--white) !important;
    background: none !important;
    -webkit-text-fill-color: var(--white) !important;
}

.header.transparent-header.scrolled .nav-link {
    color: var(--white) !important;
}

.header.transparent-header.scrolled .btn-login {
    background: rgba(255, 255, 255, 0.2) !important;
    color: var(--white) !important;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.header.transparent-header.scrolled .user-btn {
    color: var(--white) !important;
    background: rgba(255, 255, 255, 0.15);
}

.header.transparent-header.scrolled .user-btn span {
    color: var(--white) !important;
}

.header.transparent-header.scrolled .user-btn:hover {
    background: rgba(255, 255, 255, 0.25) !important;
}

.header.header-hidden {
    transform: translateY(-100%);
}

.header.header-visible {
    transform: translateY(0);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
}

.nav-wrapper {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 0.75rem 0;
}

.logo {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-size: 1.4rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    text-decoration: none;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.logo i {
    font-size: 1.6rem;
    background: var(--gradient);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}

.nav-menu {
    display: flex;
    gap: 1.25rem;
    align-items: center;
}

.nav-link {
    color: var(--text-color);
    text-decoration: none;
    font-family: 'Poppins', 'Inter', sans-serif;
    font-weight: 500;
    font-size: 0.95rem;
    letter-spacing: 0.3px;
    transition: all 0.3s ease;
    position: relative;
    padding: 0.4rem 0;
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--gradient);
    transition: width 0.3s ease;
}

.nav-link:hover::after,
.nav-link.active::after {
    width: 100%;
}

.nav-link:hover {
    color: var(--primary-color);
    transform: translateY(-1px);
}

.nav-link.active {
    color: var(--primary-color);
    font-weight: 600;
}

.mobile-menu-btn {
    display: none;
    background: none;
    border: none;
    font-size: 1.5rem;
    color: var(--primary-color);
    cursor: pointer;
}

/* Notification Bell */
.notification-bell {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: var(--light-color);
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.notification-bell:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: scale(1.1);
}

.notification-bell i {
    font-size: 1.1rem;
}

.notification-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    animation: bellPulse 2s ease-in-out infinite;
}

@keyframes bellPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* User Dropdown */
.user-dropdown {
    position: relative;
}

/* Hover da dropdown ochilishi */
.user-dropdown:hover .dropdown-menu {
    display: block;
    animation: dropdownFadeIn 0.3s ease;
}

@keyframes dropdownFadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.user-btn {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 6px 12px;
    background: var(--light-color);
    border: none;
    border-radius: 50px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.user-btn:hover {
    background: var(--primary-color);
    color: var(--white);
}

/* Chevron animatsiyasi */
.user-dropdown:hover .user-btn i.fa-chevron-down {
    transform: rotate(180deg);
}

.user-btn i.fa-chevron-down {
    transition: transform 0.3s ease;
}

.user-avatar-img {
    width: 28px;
    height: 28px;
    border-radius: 50%;
    object-fit: cover;
}

.user-notification-badge {
    background: var(--danger-color);
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
    animation: badgePulse 2s ease-in-out infinite;
}

@keyframes badgePulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

.dropdown-menu {
    position: absolute;
    top: 100%;
    right: 0;
    background: var(--white);
    border-radius: 12px;
    box-shadow: var(--shadow-lg);
    min-width: 200px;
    padding: 0.5rem 0;
    display: none;
    z-index: 1001;
    margin-top: 8px;
}

.dropdown-menu.active {
    display: block;
}

.dropdown-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1rem;
    color: var(--text-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

.dropdown-item:hover {
    background: var(--light-color);
    color: var(--primary-color);
}

.dropdown-divider {
    height: 1px;
    background: var(--light-color);
    margin: 0.5rem 0;
}

/* Auth Buttons */
.btn-login {
    padding: 10px 25px;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.btn-register {
    padding: 10px 25px;
    background: transparent;
    color: var(--primary-color);
    border: 2px solid var(--primary-color);
    border-radius: 25px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 10px;
}

.btn-register:hover {
    background: var(--primary-color);
    color: var(--white);
    transform: translateY(-2px);
}

/* Auth Modal - Chiroyli dizayn */
.auth-modal-overlay {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(5px);
    z-index: 9999;
    justify-content: center;
    align-items: center;
    animation: fadeIn 0.3s ease;
}

.auth-modal-overlay.active {
    display: flex;
}

.auth-modal-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    max-width: 1000px;
    width: 95%;
    height: 620px;
    max-height: 90vh;
    background: var(--white);
    border-radius: 24px;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    overflow: hidden;
    position: relative;
    animation: slideIn 0.4s ease;
}

.auth-modal-close {
    position: absolute;
    top: 1rem;
    right: 1rem;
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.9);
    border: none;
    border-radius: 50%;
    font-size: 1.2rem;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
    z-index: 10;
    display: flex;
    align-items: center;
    justify-content: center;
}

.auth-modal-close:hover {
    background: var(--white);
    color: var(--primary-color);
    transform: rotate(90deg);
}

.auth-modal-left {
    background: var(--gradient);
    color: var(--white);
    padding: 2.5rem;
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
}

.auth-modal-left::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -50%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.auth-modal-brand {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.auth-modal-brand i {
    font-size: 2rem;
}

.auth-modal-content {
    flex: 1;
    position: relative;
    z-index: 1;
}

.auth-modal-content h1 {
    font-size: 2rem;
    margin-bottom: 0.5rem;
}

.auth-modal-content p {
    font-size: 1rem;
    opacity: 0.9;
    margin-bottom: 1.5rem;
}

.auth-modal-features {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    position: relative;
    z-index: 1;
}

.auth-modal-feature {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 0.95rem;
}

.auth-modal-feature i {
    color: #10b981;
}

.auth-modal-illustration {
    text-align: center;
    margin-top: 1.5rem;
    position: relative;
    z-index: 1;
}

.auth-modal-illustration i {
    font-size: 6rem;
    opacity: 0.2;
}

.auth-modal-right {
    padding: 2rem 2.5rem;
    display: flex;
    flex-direction: column;
    overflow-y: auto;
    max-height: 90vh;
}

.auth-modal-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1.5rem;
    background: var(--light-color);
    padding: 0.25rem;
    border-radius: 12px;
}

.auth-modal-tab {
    flex: 1;
    padding: 0.75rem 1rem;
    background: transparent;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    color: var(--text-color);
    cursor: pointer;
    transition: all 0.3s ease;
}

.auth-modal-tab.active {
    background: var(--white);
    color: var(--primary-color);
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.auth-modal-form-container {
    display: none;
}

.auth-modal-form-container.active {
    display: block;
}

.auth-modal-form-container h2 {
    font-size: 1.3rem;
    color: var(--dark-color);
    margin-bottom: 0.25rem;
}

.auth-modal-form-container > p {
    color: var(--text-color);
    margin-bottom: 1rem;
    font-size: 0.85rem;
}

.auth-form-group {
    margin-bottom: 1.25rem;
}

.auth-form-group label {
    display: block;
    margin-bottom: 0.4rem;
    font-weight: 600;
    color: var(--dark-color);
    font-size: 0.9rem;
}

.auth-input-icon {
    position: relative;
    display: block;
}

.auth-input-icon i:first-child {
    position: absolute;
    left: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-color);
    opacity: 0.5;
    pointer-events: none;
    z-index: 1;
}

.auth-input-icon input {
    width: 100%;
    padding: 0.85rem 3rem 0.85rem 2.75rem;
    border: 2px solid var(--light-color);
    border-radius: 12px;
    font-size: 0.95rem;
    transition: all 0.3s ease;
    position: relative;
}

.auth-input-icon input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(99, 102, 241, 0.1);
}

.auth-toggle-password {
    position: absolute;
    right: 0.75rem;
    top: 50%;
    transform: translateY(-50%);
    background: none;
    border: none;
    color: var(--text-color);
    opacity: 0.6;
    cursor: pointer;
    padding: 0.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 10;
    width: 36px;
    height: 36px;
}

.auth-toggle-password:hover {
    opacity: 1;
    color: var(--primary-color);
}

.auth-form-options {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1.25rem;
}

.auth-checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-color);
}

.auth-checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-checkbox-label a:hover {
    text-decoration: underline;
}

.auth-forgot-link {
    font-size: 0.85rem;
    color: var(--primary-color);
    text-decoration: none;
}

.auth-forgot-link:hover {
    text-decoration: underline;
}

.auth-submit-btn {
    width: 100%;
    padding: 0.9rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
}

.auth-submit-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(99, 102, 241, 0.3);
}

.auth-submit-btn.signup {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.auth-submit-btn.signup:hover {
    box-shadow: 0 10px 20px rgba(16, 185, 129, 0.3);
}

.auth-divider {
    text-align: center;
    margin: 1.25rem 0;
    position: relative;
}

.auth-divider::before {
    content: '';
    position: absolute;
    top: 50%;
    left: 0;
    right: 0;
    height: 1px;
    background: var(--light-color);
}

.auth-divider span {
    background: var(--white);
    padding: 0 1rem;
    position: relative;
    color: var(--text-color);
    font-size: 0.85rem;
}

.auth-social-buttons {
    display: flex;
    gap: 0.75rem;
}

.auth-social-btn {
    flex: 1;
    padding: 0.75rem;
    border: 2px solid var(--light-color);
    border-radius: 12px;
    background: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    text-decoration: none;
    color: var(--text-color);
}

.auth-social-btn:hover {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.auth-social-btn.google i {
    color: #ea4335;
}

.auth-social-btn.telegram i {
    color: #0088cc;
}

.auth-form-row {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 0.75rem;
}

/* Responsive for Auth Modal */
@media (max-width: 768px) {
    .auth-modal-container {
        grid-template-columns: 1fr;
        max-width: 95%;
        max-height: 95vh;
    }
    
    .auth-modal-left {
        display: none;
    }
    
    .auth-modal-right {
        padding: 1.5rem;
    }
    
    .auth-form-row {
        grid-template-columns: 1fr;
    }
}

/* Legacy form styles for other pages */
.form-group {
    margin-bottom: 1.5rem;
}

.form-group label {
    display: block;
    margin-bottom: 0.5rem;
    font-weight: 600;
    color: var(--dark-color);
}

.form-group input {
    width: 100%;
    padding: 0.8rem 1rem;
    border: 2px solid var(--light-color);
    border-radius: 15px;
    font-size: 1rem;
    transition: border 0.3s ease;
}

.form-group input:focus {
    outline: none;
    border-color: var(--primary-color);
}

.form-submit {
    width: 100%;
    padding: 1rem;
    background: var(--gradient);
    color: var(--white);
    border: none;
    border-radius: 25px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.form-submit:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow);
}

.form-footer {
    text-align: center;
    margin-top: 1rem;
}

.form-footer a {
    color: var(--primary-color);
    text-decoration: none;
}

/* Hero Section */
.hero {
    background: var(--gradient);
    color: var(--white);
    padding: 0;
    margin-top: -70px;
    margin-bottom: 0;
    position: relative;
    overflow: hidden;
    height: 100vh;
    min-height: 100vh;
    display: flex;
    align-items: center;
    justify-content: center;
}

.hero-content {
    margin-top: 0;
    padding-top: 0;
    text-align: center;
    position: relative;
    z-index: 2;
}

.hero-title {
    font-size: 100px;
    margin-bottom: 1rem;
    animation: fadeInUp 1s ease;
}

.hero-subtitle {
    font-size: 1.5rem;
    margin-bottom: 2rem;
    opacity: 0.9;
    animation: fadeInUp 1s ease 0.2s both;
}

.hero-buttons {
    display: inline;
    gap: 1rem;
    text-align: left;
    animation: fadeInUp 1s ease 0.4s both;
}

/* .hero-animation {
    position: absolute;
    width: 100%;
    height: 100%;
    top: 0;
    left: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 1200 600"><circle cx="100" cy="100" r="50" fill="rgba(255,255,255,0.1)"/><circle cx="900" cy="400" r="80" fill="rgba(255,255,255,0.1)"/><circle cx="1100" cy="150" r="60" fill="rgba(255,255,255,0.1)"/></svg>');
    animation: float 20s ease-in-out infinite;
} */

/* Buttons */
.btn {
    padding: 12px 30px;
    border-radius: 50px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    border: none;
    font-size: 1rem;
    position: relative;
    overflow: hidden;
    text-decoration: none;
    display: inline-block;
}

.btn-primary {
    background: var(--white);
    color: var(--primary-color);
}

.btn-primary:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow);
}

.btn-secondary {
    background: transparent;
    color: var(--white);
    border: 2px solid var(--white);
}

.btn-secondary:hover {
    background: var(--white);
    color: var(--primary-color);
}

.btn-outline {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
}

.btn-outline:hover {
    background: var(--primary-color);
    color: var(--white);
}

.btn-large {
    padding: 18px 50px;
    font-size: 1.2rem;
    background: var(--gradient);
    color: var(--white);
}

/* Stats Section - Minimal & Elegant */
.stats {
    background: #0B4F99;
    padding: 50px 0;
    margin-top: 0;
    position: relative;
    z-index: 10;
    overflow: hidden;
}

.stats::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 50% 50%, rgba(11, 79, 153, 0.3) 0%, transparent 70%);
    pointer-events: none;
}

.stats .container {
    position: relative;
    z-index: 2;
}

.stats-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.25rem;
    max-width: 1100px;
    margin: 0 auto;
}

.stat-card {
    text-align: center;
    padding: 2rem 1.5rem;
    background: rgba(255, 255, 255, 0.08);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.12);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    opacity: 0;
    transform: translateY(20px);
    animation: statFadeUp 0.5s ease forwards;
}

.stat-card:nth-child(1) { animation-delay: 0.05s; }
.stat-card:nth-child(2) { animation-delay: 0.1s; }
.stat-card:nth-child(3) { animation-delay: 0.15s; }
.stat-card:nth-child(4) { animation-delay: 0.2s; }

@keyframes statFadeUp {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.stat-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.15);
    border-color: rgba(255, 255, 255, 0.2);
    background: rgba(255, 255, 255, 0.12);
}

.stat-icon-wrapper {
    width: 50px;
    height: 50px;
    margin: 0 auto 1rem;
    border-radius: 50%;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15), rgba(255, 255, 255, 0.08));
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.stat-card:hover .stat-icon-wrapper {
    transform: scale(1.05);
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2), rgba(255, 255, 255, 0.12));
}

.stat-icon-wrapper i {
    font-size: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.stat-number {
    font-size: 2.5rem;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.35rem;
    line-height: 1;
    font-family: 'Inter', sans-serif;
}

.stat-label {
    font-size: 0.875rem;
    color: rgba(255, 255, 255, 0.75);
    font-weight: 400;
    letter-spacing: 0.3px;
    margin: 0;
}

/* Responsive */
@media (max-width: 1024px) {
    .stats-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 1rem;
    }
}

@media (max-width: 640px) {
    .stats {
        padding: 40px 0;
    }
    
    .stats-grid {
        grid-template-columns: 1fr;
        gap: 0.875rem;
    }
    
    .stat-card {
        padding: 1.75rem 1.25rem;
    }
    
    .stat-number {
        font-size: 2.25rem;
    }
}

/* Section - Professional Style */
.section {
    padding: 60px 0;
    margin-top: 0;
    background: #f8fafc;
}

.section-title {
    text-align: center;
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.section-subtitle {
    text-align: center;
    font-size: 1.1rem;
    color: #64748b;
    margin-bottom: 3rem;
    font-weight: 400;
}

.section-footer {
    text-align: center;
    margin-top: 3rem;
}

/* Cards Grid - Stats Style */
.cards-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.card {
    background: rgba(255, 255, 255, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    padding: 2rem 1.5rem;
    border-radius: 16px;
    border: 1px solid rgba(99, 102, 241, 0.08);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-align: center;
    text-decoration: none;
    color: inherit;
    display: block;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(99, 102, 241, 0.12);
    border-color: rgba(99, 102, 241, 0.15);
    background: rgba(255, 255, 255, 1);
}

.card-icon {
    width: 60px;
    height: 60px;
    margin: 0 auto 1.25rem;
    background: linear-gradient(135deg, #0B4F99, #0d5db8);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.card:hover .card-icon {
    transform: scale(1.05);
}

.card-icon i {
    font-size: 1.75rem;
    color: var(--white);
}

.card h3 {
    font-size: 1.35rem;
    font-weight: 600;
    color: var(--dark-color);
    margin-bottom: 0.75rem;
}

.card p {
    color: #64748b;
    margin-bottom: 1.25rem;
    font-size: 0.95rem;
    line-height: 1.6;
}

/* Subject Card Desktop */
.subject-card-desktop {
    text-decoration: none;
}

.subject-card-desktop:hover .btn-outline {
    background: #0B4F99;
    color: var(--white);
    border-color: #0B4F99;
}

/* Exam Cards */
.exam-card {
    background: rgba(255, 255, 255, 0.9);
}

.exam-icon {
    background: linear-gradient(135deg, #0B4F99, #0d5db8);
}

.exam-icon.secondary {
    background: linear-gradient(135deg, #10b981, #34d399);
}

.exam-icon.accent {
    background: linear-gradient(135deg, #f59e0b, #fbbf24);
}

/* Certificate Section - Professional */
.certificate-section {
    margin-top: 0;
    background: linear-gradient(135deg, #0B4F99 0%, #0d5db8 100%);
    color: var(--white);
    padding: 60px 0;
}

.certificate-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 3rem;
    align-items: center;
}

.certificate-text h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.certificate-text p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

.certificate-features {
    list-style: none;
    margin-bottom: 2rem;
}

.certificate-features li {
    padding: 1rem 0;
    font-size: 1.1rem;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.certificate-features i {
    color: #10b981;
    font-size: 1.5rem;
}

.certificate-image {
    text-align: center;
}

.certificate-image i {
    font-size: 15rem;
    opacity: 0.2;
    animation: rotate 20s linear infinite;
}

/* Institutions Section - with background */
.institutions-section {
    position: relative;
    background-image: url('/static/images/univer.png');
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    background-attachment: fixed;
}

.institutions-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(11, 79, 153, 0.85);
    z-index: 0;
}

.institutions-section .container {
    position: relative;
    z-index: 2;
}

.institutions-section .section-title {
    color: #ffffff;
}

.institutions-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.institutions-section .section-footer .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.institutions-section .section-footer .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

/* Universities Section */
.universities-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 1.2rem;
    max-width: 1500px;
    margin: 0 auto;
}

.university-card {
    background: rgba(255, 255, 255, 0.12);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    overflow: hidden;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    padding: 0 !important;
}

.university-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    border-color: rgba(255, 255, 255, 0.3);
    background: rgba(255, 255, 255, 0.18);
}

.university-image {
    width: 100%;
    height: 200px;
    position: relative;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    overflow: hidden;
    margin: 0;
    padding: 0;
    border-radius: 16px 16px 0 0;
}

.university-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    transition: all 0.5s cubic-bezier(0.4, 0, 0.2, 1);
    display: block;
    margin: 0;
    padding: 0;
    border-radius: 16px 16px 0 0;
}

.university-card:hover .university-image img {
    transform: scale(1.1);
    filter: brightness(1.05);
}

.university-image-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(180deg, transparent 0%, transparent 50%, rgba(0, 0, 0, 0.3) 100%);
    opacity: 0;
    transition: opacity 0.4s ease;
    pointer-events: none;
}

.university-card:hover .university-image-overlay {
    opacity: 1;
}

.university-image.university-placeholder {
    background: linear-gradient(135deg, #0B4F99 0%, #0d5db8 100%);
    display: flex;
    align-items: center;
    justify-content: center;
}

.university-placeholder i {
    font-size: 3rem;
    color: rgba(255, 255, 255, 0.9);
    transition: all 0.4s ease;
    z-index: 1;
}

.university-card:hover .university-placeholder i {
    transform: scale(1.15) rotate(5deg);
}

.university-content {
    color: black;
    padding: 1rem 1.2rem 1.2rem;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.university-card h3 {
    color: #060505;
    margin-bottom: 0.5rem;
    font-size: 1rem;
    font-weight: 700;
    transition: color 0.3s ease;
    line-height: 1.3;
}

.university-card:hover h3 {
    color: rgba(227, 205, 8, 0.9);
}

.university-card p {
    margin-bottom: 0.8rem;
    color: rgba(7, 6, 6, 0.85);
    font-size: 0.85rem;
    line-height: 1.4;
    flex: 1;
}

.university-card .btn-outline {
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    align-self: flex-start;
    border-color: rgba(255, 255, 255, 0.5);
    color: #f2cc35;
}

.university-card:hover .btn-outline {
    background: rgba(255, 255, 255, 0.2);
    color: #bbbb13;
    border-color: #ffffff;
}

/* Leaderboard Section */
.leaderboard-section {
    margin-top: 0;
    background: var(--white);
}

.leaderboard-section .section-title {
    color: #ffffff;
}

.leaderboard-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.leaderboard-section .section-footer .btn-primary {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.leaderboard-section .section-footer .btn-primary:hover {
    background: rgba(255, 255, 255, 0.3);
    border-color: #ffffff;
}

.leaderboard-container {
    max-width: 700px;
    margin: 0 auto;
}

.leaderboard-list {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border-radius: 20px;
    padding: 1rem;
}

.leaderboard-item {
    display: flex;
    align-items: center;
    padding: 1rem 1.5rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    margin-bottom: 0.75rem;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.leaderboard-item:last-child {
    margin-bottom: 0;
}

.leaderboard-item:hover {
    transform: translateX(5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
    background: rgba(255, 255, 255, 0.25);
}

.leaderboard-item.top-1 {
    background: rgba(254, 243, 199, 0.3);
    border-color: rgba(253, 230, 138, 0.5);
}

.leaderboard-item.top-2 {
    background: rgba(229, 231, 235, 0.3);
    border-color: rgba(209, 213, 219, 0.5);
}

.leaderboard-item.top-3 {
    background: rgba(254, 215, 170, 0.3);
    border-color: rgba(253, 186, 116, 0.5);
}

.leaderboard-rank {
    width: 50px;
    text-align: center;
}

.rank-badge {
    font-size: 1.5rem;
}

.rank-number {
    font-size: 1.25rem;
    font-weight: 700;
    color: #ffffff;
}

.leaderboard-user {
    flex: 1;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.user-avatar-circle {
    width: 45px;
    height: 45px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 1.25rem;
}

.user-details h4 {
    font-size: 1rem;
    color: #ffffff;
    margin-bottom: 0.25rem;
}

.user-details span {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
    opacity: 0.9;
}

.leaderboard-points {
    text-align: right;
}

.points-value {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
}

.points-label {
    display: block;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.8);
}

.user-position {
    text-align: center;
    margin-top: 1.5rem;
    padding: 1rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 15px;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

/* AI Assistant Section */
.ai-section {
    margin-top: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: var(--white);
}

.ai-features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.ai-feature-card {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
}

.ai-feature-card:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-10px);
}

.ai-feature-card i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
}

.ai-feature-card h3 {
    margin-bottom: 0.5rem;
}

.ai-chat-demo {
    margin: 3rem 0;
    display: flex;
    justify-content: center;
}

.ai-chat-container {
    background: var(--white);
    border-radius: 20px;
    width: 100%;
    max-width: 600px;
    box-shadow: var(--shadow-lg);
    overflow: hidden;
}

.ai-chat-header {
    background: var(--gradient);
    color: var(--white);
    padding: 1rem 1.5rem;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.ai-status {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-weight: 600;
}

.ai-status-dot {
    width: 10px;
    height: 10px;
    background: #10b981;
    border-radius: 50%;
    animation: pulse 2s ease-in-out infinite;
}

@keyframes pulse {
    0%, 100% { opacity: 1; }
    50% { opacity: 0.5; }
}

.ai-chat-messages {
    height: 300px;
    overflow-y: auto;
    padding: 1.5rem;
    background: #f8f9fa;
}

.ai-message {
    display: flex;
    gap: 1rem;
    margin-bottom: 1.5rem;
    animation: slideIn 0.3s ease;
}

.ai-message.ai-user {
    flex-direction: row-reverse;
}

.ai-avatar {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
    background: var(--light-color);
}

.ai-message.ai-user .ai-avatar {
    background: var(--primary-color);
    color: var(--white);
}

.ai-message-content {
    background: var(--white);
    padding: 1rem;
    border-radius: 15px;
    max-width: 70%;
    box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
    color: var(--text-color);
}

.ai-message.ai-user .ai-message-content {
    background: var(--primary-color);
    color: var(--white);
}

.ai-message-content p {
    margin: 0;
    line-height: 1.5;
}

.ai-chat-input {
    display: flex;
    padding: 1rem;
    background: var(--white);
    border-top: 1px solid #e0e0e0;
}

.ai-chat-input input {
    flex: 1;
    padding: 0.8rem 1rem;
    border: 1px solid #e0e0e0;
    border-radius: 25px;
    outline: none;
    font-size: 1rem;
}

.ai-chat-input input:focus {
    border-color: var(--primary-color);
}

.ai-chat-input button {
    margin-left: 0.5rem;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    border: none;
    background: var(--gradient);
    color: var(--white);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.ai-chat-input button:hover {
    transform: scale(1.1);
}

.ai-suggestions {
    margin-top: 3rem;
    text-align: center;
}

.ai-suggestions h3 {
    margin-bottom: 1.5rem;
}

.ai-suggestion-buttons {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
    justify-content: center;
}

.ai-suggestion-btn {
    background: rgba(255, 255, 255, 0.2);
    color: var(--white);
    border: 1px solid rgba(255, 255, 255, 0.3);
    padding: 0.8rem 1.5rem;
    border-radius: 25px;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.95rem;
}

.ai-suggestion-btn:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: translateY(-2px);
}

/* Floating AI Chat Button */
.ai-float-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 60px;
    height: 60px;
    border-radius: 50%;
    background: var(--gradient);
    color: var(--white);
    border: none;
    box-shadow: var(--shadow-lg);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.8rem;
    transition: all 0.3s ease;
    z-index: 999;
}

.ai-float-btn:hover {
    transform: scale(1.1);
}

.ai-badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ef4444;
    color: var(--white);
    width: 24px;
    height: 24px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 0.7rem;
    font-weight: bold;
}

/* Floating Chat Window */
.ai-chat-window {
    position: fixed;
    bottom: 100px;
    right: 30px;
    width: 380px;
    max-height: 500px;
    background: var(--white);
    border-radius: 20px;
    box-shadow: var(--shadow-lg);
    display: none;
    flex-direction: column;
    z-index: 998;
    animation: slideUp 0.3s ease;
    overflow: hidden;
}

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

.ai-chat-window.active {
    display: flex;
}

.ai-chat-window .ai-chat-messages {
    height: 350px;
}

.ai-minimize-btn {
    background: transparent;
    border: none;
    color: var(--white);
    font-size: 2rem;
    cursor: pointer;
    line-height: 1;
    padding: 0;
    width: 30px;
    height: 30px;
}

/* Partners Section */
.partners-section {
    margin-top: 0;
}

.partners-section .section-title {
    color: #ffffff;
}

.partners-section .section-subtitle {
    color: rgba(255, 255, 255, 0.9);
}

.partners-carousel-container {
    overflow: hidden;
    position: relative;
    padding: 2rem 0;
}

.partners-carousel {
    display: flex;
    gap: 5rem;
    animation: scroll 10s linear infinite;
}

@keyframes scroll {
    0% { transform: translateX(0); }
    100% { transform: translateX(-50%); }
}

.partner-item {
    flex: 0 0 auto;
    width: 220px;
}

.partner-link {
    text-decoration: none;
    color: inherit;
    display: block;
}

.partner-card-content {
    background: rgba(11, 50, 192, 0.15);
    backdrop-filter: blur(10px);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.2);
    height: 100%;
}

.partner-card-content:hover {
    background: rgba(202, 11, 11, 0.25);
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.2);
}

.partner-logo {
    width: 100px;
    height: 100px;
    margin: 0 auto 1.5rem;
    border-radius: 50%;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.2);
    display: flex;
    align-items: center;
    justify-content: center;
}

.partner-logo img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.partner-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: rgba(255, 255, 255, 0.8);
}

.partner-info h3 {
    color: #ffffff;
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
}

.partner-info p {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.9rem;
}

/* CTA Section */
.cta-section {
    margin-top: 0;
    background: var(--dark-color);
    color: var(--white);
    padding: 80px 0;
    text-align: center;
}

.cta-content h2 {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.cta-content p {
    font-size: 1.3rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* Footer */
.footer {
    background: var(--dark-color);
    color: var(--white);
    padding: 60px 0 20px;
}

.footer-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 3rem;
    margin-bottom: 3rem;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 1.5rem;
    font-weight: bold;
    margin-bottom: 1rem;
}

.footer-logo i {
    font-size: 2rem;
    color: var(--primary-color);
}

.footer-col p {
    opacity: 0.8;
    margin-bottom: 1.5rem;
}

.footer-col h4 {
    margin-bottom: 1.5rem;
    font-size: 1.2rem;
}

.footer-col ul {
    list-style: none;
}

.footer-col ul li {
    margin-bottom: 0.8rem;
}

.footer-col ul li a {
    color: var(--white);
    text-decoration: none;
    opacity: 0.8;
    transition: all 0.3s ease;
}

.footer-col ul li a:hover {
    opacity: 1;
    padding-left: 5px;
}

.footer-col ul li i {
    margin-right: 10px;
    color: var(--primary-color);
}

.social-links {
    display: flex;
    gap: 1rem;
}

.social-links a {
    width: 40px;
    height: 40px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--white);
    transition: all 0.3s ease;
}

.social-links a:hover {
    background: var(--primary-color);
    transform: translateY(-5px);
}

.footer-bottom {
    text-align: center;
    padding-top: 2rem;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
    opacity: 0.8;
}

.footer-bottom p {
    margin-bottom: 0.5rem;
}

.footer-links {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.5rem;
    margin-top: 0.5rem;
}

.footer-links a {
    color: rgba(255, 255, 255, 0.7);
    text-decoration: none;
    font-size: 0.9rem;
    transition: color 0.3s ease;
}

.footer-links a:hover {
    color: #FFD700;
    text-decoration: underline;
}

.footer-links .separator {
    color: rgba(255, 255, 255, 0.4);
}

/* Messages - Hidden (Toast will show them) */
.messages-container {
    display: none !important;
    visibility: hidden !important;
    opacity: 0 !important;
    height: 0 !important;
    overflow: hidden !important;
    padding: 0 !important;
    margin: 0 !important;
}

.alert {
    display: none !important;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 3rem;
    color: var(--text-color);
    opacity: 0.7;
}

.empty-state i {
    font-size: 4rem;
    margin-bottom: 1rem;
}

/* Animations */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

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

@keyframes rotate {
    from {
        transform: rotate(0deg);
    }
    to {
        transform: rotate(360deg);
    }
}

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

/* Responsive Design */
@media (max-width: 968px) {
    /* Mobile versiyada shaffof header yo'q */
    .header.transparent-header {
        background: var(--white);
        box-shadow: var(--shadow);
    }
    
    .header.transparent-header .logo,
    .header.transparent-header .nav-link {
        color: var(--text-color);
        -webkit-text-fill-color: transparent;
    }
    
    .header.transparent-header .logo {
        background: var(--gradient);
        -webkit-background-clip: text;
        background-clip: text;
    }
    
    .header.transparent-header .logo i {
        background: var(--gradient);
        -webkit-background-clip: text;
        background-clip: text;
        -webkit-text-fill-color: transparent;
    }
    
    body.home-page {
        padding-top: 70px;
    }

    .nav-menu {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background: var(--white);
        flex-direction: column;
        padding: 2rem;
        transition: left 0.3s ease;
        box-shadow: var(--shadow);
        z-index: 999;
        gap: 1rem;
    }

    .nav-menu.active {
        left: 0;
    }

    .mobile-menu-btn {
        display: block;
    }

    .hero-title {
        font-size: 2.5rem;
    }

    .hero-subtitle {
        font-size: 1.2rem;
    }

    .hero-buttons {
        flex-direction: column;
        align-items: center;
    }

    .section-title {
        font-size: 2rem;
    }

    .cta-content h2 {
        font-size: 2rem;
    }

    .ai-chat-window {
        width: calc(100% - 20px);
        right: 10px;
        bottom: 80px;
    }

    .user-dropdown {
        width: 100%;
    }

    .user-btn {
        width: 100%;
        justify-content: center;
    }

    .dropdown-menu {
        position: static;
        width: 100%;
        box-shadow: none;
        border: 1px solid var(--light-color);
        margin-top: 0.5rem;
    }
}

@media (max-width: 1200px) {
    .universities-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

@media (max-width: 900px) {
    .universities-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 640px) {
    .hero-title {
        font-size: 2rem;
    }

    .hero {
        padding: 60px 0;
    }

    .section {
        padding: 50px 0;
    }

    .stats {
        padding: 40px 0;
    }

    .cards-grid,
    .ai-features-grid,
    .user-stats-grid {
        grid-template-columns: 1fr;
    }
    
    .universities-grid {
        grid-template-columns: 1fr;
    }
    
    .university-image {
        height: 160px;
    }

    .certificate-content {
        grid-template-columns: 1fr;
    }

    .certificate-image i {
        font-size: 8rem;
    }

    .btn-large {
        padding: 15px 40px;
        font-size: 1rem;
    }

    .ai-float-btn {
        width: 50px;
        height: 50px;
        font-size: 1.5rem;
        bottom: 20px;
        right: 20px;
    }

    .ai-suggestion-buttons {
        flex-direction: column;
    }

    .ai-suggestion-btn {
        width: 100%;
    }
}


/* ============================================
   ADDITIONAL DESKTOP STYLES
   ============================================ */

/* Page Header */
.page-header {
    background: var(--gradient);
    color: var(--white);
    padding: 50px 0 30px;
    margin-bottom: 0;
    text-align: center;
}

.page-title {
    font-size: 2.5rem;
    margin-bottom: 0.5rem;
}

.page-subtitle {
    font-size: 1.2rem;
    opacity: 0.9;
}

/* Filter Section */
.filter-section {
    margin-top: 0;
    background: var(--white);
    padding: 20px 0;
    box-shadow: var(--shadow);
    position: sticky;
    top: 70px;
    z-index: 100;
    transition: transform 0.3s ease, top 0.3s ease;
}

.filter-section.filter-hidden {
    transform: translateY(-70px);
    top: 0;
}

.filter-tabs {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    justify-content: center;
}

.filter-tab {
    padding: 10px 24px;
    border-radius: 50px;
    background: var(--light-color);
    color: var(--text-color);
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.filter-tab:hover,
.filter-tab.active {
    background: var(--gradient);
    color: var(--white);
}

/* Breadcrumb */
.breadcrumb {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    font-size: 0.9rem;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: rgba(255, 255, 255, 0.8);
    text-decoration: none;
}

.breadcrumb a:hover {
    color: var(--white);
}

.breadcrumb i {
    font-size: 0.7rem;
    opacity: 0.6;
}

.breadcrumb span {
    color: var(--white);
}

/* Section Title Left */
.section-title-left {
    font-size: 1.75rem;
    color: var(--dark-color);
    margin-bottom: 2rem;
}

/* Full Width Empty State */
.empty-state.full-width {
    grid-column: 1 / -1;
    text-align: center;
    padding: 3rem;
}

.empty-state i {
    font-size: 4rem;
    color: var(--text-color);
    opacity: 0.3;
    margin-bottom: 1rem;
}

.empty-state h3 {
    color: var(--dark-color);
    margin-bottom: 0.5rem;
}

.empty-state p {
    color: var(--text-color);
    opacity: 0.7;
}

/* Button Block */
.btn-block {
    flex: 1;
    text-align: center;
}

/* Responsive Adjustments */
@media (max-width: 768px) {
    .page-header {
        padding: 40px 0;
    }
    
    .page-title {
        font-size: 2rem;
    }
    
    .filter-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        flex-wrap: nowrap;
        padding-bottom: 10px;
    }
    
    .filter-tab {
        white-space: nowrap;
    }
}


/* ================================
   TEST PAGE STYLES - Desktop
   ================================ */

.main-content {
    min-height: calc(100vh - 80px);
    margin-top: 60px;
    padding-top: 0;
}

/* Test page - main-content ichida grid ishlashi uchun */
.main-content:has(.test-page) {
    display: contents;
}

/* Test page grid layout fix */
.test-page {
    display: grid !important;
    grid-template-columns: 280px 1fr 300px !important;
    min-height: calc(100vh - 80px);
    background: var(--light-color);
    margin-top: 70px;
    padding-top: 0;
}

.test-page .test-sidebar {
    background: var(--white);
    border-right: 1px solid #e5e7eb;
    padding: 24px;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

.test-page .test-main {
    padding: 32px 48px;
    max-width: 900px;
}

.test-page .ads-sidebar {
    background: var(--white);
    border-left: 1px solid #e5e7eb;
    padding: 24px;
    position: sticky;
    top: 80px;
    height: calc(100vh - 80px);
    overflow-y: auto;
}

@media (max-width: 1200px) {
    .test-page {
        grid-template-columns: 280px 1fr !important;
    }
    .test-page .ads-sidebar {
        display: none;
    }
}

@media (max-width: 1024px) {
    .test-page {
        grid-template-columns: 1fr !important;
    }
    .test-page .test-sidebar {
        display: none;
    }
    .test-page .test-main {
        padding: 20px;
        max-width: 100%;
    }
}


/* Register Type Tabs */
.register-type-tabs {
    display: flex;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.register-type-tab,
.login-type-tab {
    flex: 1;
    padding: 0.6rem 0.75rem;
    border: 2px solid var(--light-color);
    border-radius: 10px;
    background: white;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.4rem;
    color: var(--text-color);
}

.register-type-tab:hover:not(.active),
.login-type-tab:hover:not(.active) {
    border-color: var(--primary-color);
    background: var(--light-color);
}

.register-type-tab.active,
.login-type-tab.active {
    background: var(--gradient);
    color: white;
    border-color: var(--primary-color);
}

.register-type-tab i,
.login-type-tab i {
    font-size: 0.9rem;
}

/* Auth form small text */
.auth-form-group small.text-muted {
    display: block;
    margin-top: 0.25rem;
    font-size: 0.85rem;
    color: var(--text-color);
    opacity: 0.7;
}


/* Modal Phone Input Group */
.phone-input-group {
    display: flex;
    gap: 0.5rem;
}

.phone-input-group .country-select {
    width: 120px;
    padding: 0.8rem;
    border: 2px solid var(--light-color);
    border-radius: 12px;
    font-size: 0.95rem;
    background: white;
    cursor: pointer;
    transition: border 0.3s ease;
}

.phone-input-group .country-select:focus {
    outline: none;
    border-color: var(--primary-color);
}

.phone-input-group .auth-input-icon {
    flex: 1;
}

.flex-1 {
    flex: 1;
}


/* Auth Checkbox */
.auth-checkbox-label {
    display: flex;
    align-items: flex-start;
    gap: 0.5rem;
    cursor: pointer;
    font-size: 0.85rem;
    color: var(--text-color);
}

.auth-checkbox-label input[type="checkbox"] {
    margin-top: 0.2rem;
    cursor: pointer;
}

.auth-checkbox-label a {
    color: var(--primary-color);
    text-decoration: none;
}

.auth-checkbox-label a:hover {
    text-decoration: underline;
}


/* Language Selector - Desktop */
.language-selector-desktop {
    margin-left: 0.5rem;
}

.language-selector-desktop .language-selector {
    display: inline-block;
}

.language-selector-desktop .dropdown-toggle {
    background: var(--light-color);
    border: 1px solid #e2e8f0;
    color: var(--text-color);
    padding: 0.5rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    font-weight: 500;
    transition: all 0.3s ease;
}

.language-selector-desktop .dropdown-toggle:hover {
    background: var(--primary-color);
    color: var(--white);
    border-color: var(--primary-color);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(99, 102, 241, 0.3);
}

.language-selector-desktop .dropdown-toggle i {
    margin-right: 0.5rem;
}

.language-selector-desktop .dropdown-menu {
    min-width: 200px;
    border: none;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    border-radius: 12px;
    padding: 0.5rem;
    margin-top: 0.5rem;
}

.language-selector-desktop .dropdown-item {
    padding: 0.75rem 1rem;
    border-radius: 8px;
    font-size: 0.9rem;
    transition: all 0.2s ease;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.language-selector-desktop .dropdown-item:hover {
    background: var(--light-color);
    transform: translateX(5px);
}

.language-selector-desktop .dropdown-item.active {
    background: var(--primary-color);
    color: var(--white);
}

.language-selector-desktop .dropdown-item.active:hover {
    background: var(--secondary-color);
}

.language-selector-desktop .dropdown-item i.fa-check {
    margin-left: auto;
    font-size: 0.8rem;
}

/* Mobile responsive */
@media (max-width: 968px) {
    .language-selector-desktop {
        margin: 1rem 0;
        width: 100%;
    }
    
    .language-selector-desktop .dropdown-toggle {
        width: 100%;
        justify-content: space-between;
    }
}


/* Desktop Force - PWA uchun */
@media screen and (min-width: 769px) {
    body {
        min-width: 1024px !important;
        overflow-x: auto !important;
    }
    
    .container {
        max-width: 1200px !important;
        width: 100% !important;
    }
}

/* Tablet va Desktop uchun */
@media screen and (min-width: 768px) {
    /* Mobile menu yashirish */
    .mobile-menu-btn {
        display: none !important;
    }
    
    /* Desktop navigation ko'rsatish */
    .nav-menu {
        display: flex !important;
    }
}

/* Kichik ekranlar uchun warning */
@media screen and (max-width: 768px) {
    body::before {
        content: "Desktop versiyani ko'rish uchun ekranni kengaytiring yoki kompyuterdan kiring";
        display: block;
        background: #f59e0b;
        color: white;
        padding: 10px;
        text-align: center;
        font-size: 14px;
        position: fixed;
        top: 0;
        left: 0;
        right: 0;
        z-index: 10000;
    }
}


/* ===== DESKTOP LIVES & PRO SYSTEM ===== */

/* Pro Button - Navbar */
.pro-btn-desktop {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border: none;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-right: 0.75rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.pro-btn-desktop:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(251, 191, 36, 0.4);
}

.pro-btn-desktop i {
    font-size: 1rem;
}

/* Pro Badge - For Pro Users */
.pro-badge-desktop {
    display: flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.9rem;
    margin-right: 0.75rem;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.3);
}

.pro-badge-desktop i {
    font-size: 1rem;
}

/* Status Bar - Compact & Professional */
.desktop-status-bar {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-right: 1rem;
}ze: 0.875rem;
    font-weight: 600;
    box-shadow: 0 2px 8px rgba(251, 191, 36, 0.3);
    cursor: default;
}

.pro-badge i {
    font-size: 1rem;
}

/* Pro Upgrade Button */
.pro-upgrade-btn {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(251, 191, 36, 0.1) 0%, rgba(245, 158, 11, 0.1) 100%);
    border: 2px solid #fbbf24;
    color: #f59e0b;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.pro-upgrade-btn:hover {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.pro-upgrade-btn i {
    font-size: 1rem;
}

/* Lives Indicator */
.lives-indicator {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.5rem 1rem;
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.1) 0%, rgba(220, 38, 38, 0.1) 100%);
    border: 2px solid #ef4444;
    color: #ef4444;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.lives-indicator:hover {
    background: linear-gradient(135deg, rgba(239, 68, 68, 0.15) 0%, rgba(220, 38, 38, 0.15) 100%);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(239, 68, 68, 0.3);
}

.lives-indicator i {
    font-size: 1rem;
    animation: heartbeat 1.5s ease-in-out infinite;
}

@keyframes heartbeat {
    0%, 100% { transform: scale(1); }
    10%, 30% { transform: scale(1.1); }
    20%, 40% { transform: scale(1); }
}

.lives-indicator.lives-low {
    border-color: #f59e0b;
    color: #f59e0b;
    background: linear-gradient(135deg, rgba(245, 158, 11, 0.1) 0%, rgba(217, 119, 6, 0.1) 100%);
}

.lives-indicator.lives-empty {
    border-color: #9ca3af;
    color: #9ca3af;
    background: linear-gradient(135deg, rgba(156, 163, 175, 0.1) 0%, rgba(107, 114, 128, 0.1) 100%);
}

.lives-count {
    font-weight: 700;
    font-size: 1rem;
}

/* ===== PRO MODAL - GLASSMORPHISM ===== */
.pro-modal {
    position: fixed;
    inset: 0;
    z-index: 10000;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.pro-modal.show {
    opacity: 1;
    visibility: visible;
}

.pro-modal-overlay {
    position: absolute;
    inset: 0;
    background: rgba(11, 79, 153, 0.4);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
}

.pro-modal-content {
    position: relative;
    width: 90%;
    max-width: 900px;
    max-height: 90vh;
    overflow-y: auto;
    background: rgba(255, 255, 255, 0.95);
    backdrop-filter: blur(20px);
    -webkit-backdrop-filter: blur(20px);
    border-radius: 24px;
    padding: 3rem;
    box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.25);
    border: 1px solid rgba(255, 255, 255, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.pro-modal.show .pro-modal-content {
    transform: scale(1);
}

.pro-modal-close {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: rgba(0, 0, 0, 0.1);
    border: none;
    color: #64748b;
    font-size: 1.25rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.pro-modal-close:hover {
    background: rgba(0, 0, 0, 0.2);
    color: #1e293b;
    transform: rotate(90deg);
}

/* Modal Header */
.pro-modal-header {
    text-align: center;
    margin-bottom: 3rem;
}

.pro-icon-animated {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 10px 30px rgba(251, 191, 36, 0.4);
    animation: float 3s ease-in-out infinite;
}

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

.pro-icon-animated i {
    font-size: 2.5rem;
    color: white;
}

.pro-modal-header h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0b4f99 0%, #115eb2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.pro-modal-header p {
    font-size: 1.125rem;
    color: #64748b;
}

/* Pro Features */
.pro-features {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-bottom: 3rem;
}

.pro-feature {
    display: flex;
    gap: 1rem;
    padding: 1.5rem;
    background: rgba(11, 79, 153, 0.05);
    border-radius: 16px;
    border: 1px solid rgba(11, 79, 153, 0.1);
    transition: all 0.3s ease;
}

.pro-feature:hover {
    background: rgba(11, 79, 153, 0.08);
    transform: translateY(-4px);
    box-shadow: 0 10px 20px rgba(11, 79, 153, 0.1);
}

.feature-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #0b4f99 0%, #115eb2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}

.feature-icon i {
    font-size: 1.5rem;
    color: white;
}

.feature-text h4 {
    font-size: 1rem;
    font-weight: 600;
    color: #1e293b;
    margin-bottom: 0.25rem;
}

.feature-text p {
    font-size: 0.875rem;
    color: #64748b;
    margin: 0;
}

/* Pro Plans */
.pro-plans {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.pro-plan {
    position: relative;
    padding: 2rem;
    background: rgba(255, 255, 255, 0.8);
    border: 2px solid #e2e8f0;
    border-radius: 20px;
    text-align: center;
    transition: all 0.3s ease;
}

.pro-plan:hover {
    transform: translateY(-8px);
    box-shadow: 0 15px 30px rgba(11, 79, 153, 0.15);
}

.pro-plan.featured {
    background: linear-gradient(135deg, rgba(11, 79, 153, 0.1) 0%, rgba(17, 94, 178, 0.1) 100%);
    border-color: #0b4f99;
    border-width: 3px;
}

.plan-badge {
    position: absolute;
    top: -12px;
    left: 50%;
    transform: translateX(-50%);
    padding: 0.375rem 1rem;
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
    color: white;
    border-radius: 20px;
    font-size: 0.75rem;
    font-weight: 600;
    box-shadow: 0 4px 12px rgba(251, 191, 36, 0.4);
}

.pro-plan h3 {
    font-size: 1.5rem;
    font-weight: 700;
    color: #1e293b;
    margin-bottom: 1rem;
}

.plan-price {
    margin-bottom: 1rem;
}

.plan-price .price {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(135deg, #0b4f99 0%, #115eb2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.plan-price .currency {
    font-size: 1rem;
    color: #64748b;
    margin-left: 0.25rem;
}

.plan-save {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: rgba(16, 185, 129, 0.1);
    color: #10b981;
    border-radius: 8px;
    font-size: 0.875rem;
    font-weight: 600;
    margin-bottom: 1.5rem;
}

.plan-btn {
    display: block;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(135deg, #0b4f99 0%, #115eb2 100%);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 600;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
}

.plan-btn:hover {
    background: linear-gradient(135deg, #0a4585 0%, #0f529e 100%);
    transform: translateY(-2px);
    box-shadow: 0 10px 20px rgba(11, 79, 153, 0.3);
}

.pro-plan.featured .plan-btn {
    background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
}

.pro-plan.featured .plan-btn:hover {
    background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
}

/* Responsive */
@media (max-width: 768px) {
    .desktop-status-bar {
        display: none;
    }
    
    .pro-modal-content {
        padding: 2rem;
    }
    
    .pro-features {
        grid-template-columns: 1fr;
    }
    
    .pro-plans {
        grid-template-columns: 1fr;
    }
}



/* ============================================
   TOAST NOTIFICATION SYSTEM - DESKTOP
   ============================================ */

/* Toast Container - Desktop optimized */
@media (min-width: 769px) {
    .toast-container {
        top: 85px;
        right: 25px;
        max-width: 400px;
    }
    
    .toast-notification {
        min-width: 340px;
    }
}

/* Toast animations for desktop */
@media (min-width: 769px) {
    .toast-notification {
        animation: slideInRight 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    
    .toast-notification.hide {
        animation: slideOutRight 0.35s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    }
    
    @keyframes slideInRight {
        from {
            transform: translateX(500px);
            opacity: 0;
        }
        to {
            transform: translateX(0);
            opacity: 1;
        }
    }
    
    @keyframes slideOutRight {
        from {
            transform: translateX(0);
            opacity: 1;
        }
        to {
            transform: translateX(500px);
            opacity: 0;
        }
    }
}

/* Desktop hover effects */
@media (min-width: 769px) {
    .toast-notification:hover {
        transform: translateX(-3px);
        box-shadow: 0 10px 32px rgba(0, 0, 0, 0.16), 0 4px 12px rgba(0, 0, 0, 0.1);
    }
    
    .toast-notification:hover .toast-progress {
        animation-play-state: paused;
    }
}


/* ===== LIVES DISPLAY - DESKTOP ===== */
.lives-display-desktop {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 8px 16px;
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.1) 0%, rgba(5, 150, 105, 0.1) 100%);
    border-radius: 12px;
    border: 2px solid rgba(16, 185, 129, 0.3);
    transition: all 0.3s ease;
    margin-right: 1rem;
}

.lives-display-desktop:hover {
    background: linear-gradient(135deg, rgba(16, 185, 129, 0.15) 0%, rgba(5, 150, 105, 0.15) 100%);
    border-color: rgba(16, 185, 129, 0.5);
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(16, 185, 129, 0.2);
}

.lives-count-desktop {
    font-size: 18px;
    font-weight: 700;
    color: #10b981;
    min-width: 20px;
    text-align: center;
}

.battery-icon-desktop {
    font-size: 20px;
    animation: batteryPulseDesktop 2s ease-in-out infinite;
}

@keyframes batteryPulseDesktop {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

/* Transparent header uchun */
.header.transparent-header .lives-display-desktop {
    background: rgba(255, 255, 255, 0.15);
    border-color: rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.header.transparent-header .lives-count-desktop {
    color: white;
}

.header.transparent-header .lives-display-desktop:hover {
    background: rgba(255, 255, 255, 0.25);
    border-color: rgba(255, 255, 255, 0.5);
}

/* Scrolled header uchun */
.header.transparent-header.scrolled .lives-display-desktop {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.4);
}

.header.transparent-header.scrolled .lives-count-desktop {
    color: white;
}
