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

body{font-family:'Segoe UI',Tahoma,Geneva,Verdana,sans-serif;background:linear-gradient(135deg,#4f46e5 0%,#7c3aed 100%);min-height:100vh;color:#333;}

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

.header{text-align:center;margin-bottom:40px;background:rgba(255,255,255,0.98);padding:30px;border-radius:20px;box-shadow:0 20px 40px rgba(0,0,0,0.15);backdrop-filter:blur(10px);}

.logo {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    margin-bottom: 10px;
}

.logo-img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    object-fit: cover;
    border: 3px solid #667eea;
    box-shadow: 0 5px 15px rgba(102, 126, 234, 0.3);
}

.header h1 {
    font-size: 2.5rem;
    color: #4f46e5;
    font-weight: 700;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
}

.subtitle {
    color: #666;
    font-size: 1rem;
    margin-top: 10px;
    line-height: 1.5;
    max-width: 800px;
    margin-left: auto;
    margin-right: auto;
}

.user-info {
    background: rgba(79, 70, 229, 0.1);
    padding: 15px 20px;
    border-radius: 10px;
    margin-top: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    border: 2px solid rgba(79, 70, 229, 0.2);
}

.user-info i {
    color: #4f46e5;
    font-size: 1.1rem;
}

.user-info span {
    color: #4f46e5;
    font-weight: 600;
}

.change-player-btn {
    background: #dc3545;
    color: white;
    border: none;
    padding: 8px 15px;
    border-radius: 6px;
    font-size: 0.9rem;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 5px;
}

.change-player-btn:hover {
    background: #c82333;
    transform: translateY(-1px);
}

.user-controls {
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    border-radius: 15px;
    margin-bottom: 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    position: relative;
}

.input-group {
    position: relative;
    max-width: 400px;
    margin: 0 auto;
}

.input-group i {
    position: absolute;
    left: 15px;
    top: 50%;
    transform: translateY(-50%);
    color: #4f46e5;
    font-size: 1.1rem;
}

#userUID {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

#userUID:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.category {
    background: rgba(255, 255, 255, 0.98);
    margin-bottom: 30px;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
}

.category h2 {
    color: #333;
    margin-bottom: 25px;
    font-size: 1.8rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.category h2 i {
    color: #4f46e5;
}

.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 20px;
}

.product-card {
    background: white;
    border-radius: 15px;
    padding: 25px;
    text-align: center;
    transition: all 0.3s ease;
    border: 2px solid #f0f0f0;
    position: relative;
    overflow: hidden;
}

.product-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.2);
    border-color: #4f46e5;
}

.product-card.premium {
    background: linear-gradient(135deg, #ffecd2 0%, #fcb69f 100%);
    border-color: #ff9a8b;
}

.product-card.secret {
    background: linear-gradient(135deg, #a8edea 0%, #fed6e3 100%);
    border-color: #a8edea;
}

.product-card.popular {
    background: linear-gradient(135deg, #d299c2 0%, #fef9d7 100%);
    border-color: #d299c2;
}

.product-card.popular h3,
.product-card.popular .quantity {
    color: #7c2d8e;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.5);
}

.product-card.popular .price {
    color: #6b1f7b;
    text-shadow: 0 1px 2px rgba(255, 255, 255, 0.3);
}

.product-card.unlimited {
    background: linear-gradient(135deg, #e0f7ff 0%, #b3e5fc 100%);
    border-color: #66a6ff;
    color: #333;
}

.product-card.unlimited h3,
.product-card.unlimited .quantity {
    color: #1565c0;
    text-shadow: none;
}

.product-card.unlimited .price {
    color: #0d47a1;
    text-shadow: none;
}

.product-card.selected {
    border-color: #667eea !important;
    box-shadow: 0 20px 40px rgba(102, 126, 234, 0.3) !important;
    transform: scale(1.02) !important;
}

.product-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 15px;
}

.product-tier {
    font-size: 0.8rem;
    background: rgba(0, 0, 0, 0.1);
    padding: 4px 8px;
    border-radius: 12px;
    font-weight: 600;
}

.product-emoji {
    font-size: 2rem;
    margin-bottom: 15px;
    display: block;
}

.product-card h3 {
    font-size: 1.3rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.product-card.unlimited h3,
.product-card.unlimited .quantity {
    color: #1565c0;
}

.quantity {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 15px;
}

.price {
    font-size: 1.5rem;
    font-weight: 700;
    color: #4f46e5;
    margin-bottom: 20px;
}

.product-card.unlimited .price {
    color: #0d47a1;
}

.badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: #ff6b6b;
    color: white;
    padding: 5px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 600;
}

.unlimited-badge {
    background: #4ecdc4;
}

.buy-btn {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
    color: white;
    border: none;
    padding: 12px 25px;
    border-radius: 10px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    width: 100%;
}

.buy-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.4);
}

.buy-btn:active {
    transform: translateY(0);
}

.selected-product {
    position: fixed;
    bottom: 0;
    left: 0;
    right: 0;
    background: rgba(255, 255, 255, 0.98);
    padding: 25px;
    box-shadow: 0 -10px 30px rgba(0, 0, 0, 0.2);
    backdrop-filter: blur(20px);
    z-index: 1000;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.selected-product.show {
    transform: translateY(0);
}

.selection-info {
    max-width: 1200px;
    margin: 0 auto;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.selection-info h3 {
    color: #333;
    font-size: 1.2rem;
}

.selected-details {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.selected-details span:first-child {
    font-weight: 600;
    color: #333;
}

.selected-details span:last-child {
    color: #667eea;
    font-weight: 700;
    font-size: 1.2rem;
}

.confirm-btn {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
}

.confirm-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3);
}

.success-notification {
    animation: slideInRight 0.3s ease;
}

.success-notification .notification-content {
    text-align: center;
}

.success-notification .notification-content i {
    font-size: 2rem;
    margin-bottom: 10px;
    display: block;
}

.success-notification .notification-content h3 {
    margin-bottom: 8px;
    font-size: 1.2rem;
}

.success-notification .notification-content p {
    font-size: 0.9rem;
    opacity: 0.9;
}

@keyframes slideInRight {
    from {
        transform: translateX(400px);
        opacity: 0;
    }
    to {
        transform: translateX(0);
        opacity: 1;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.product-card {
    animation: fadeInUp 0.6s ease forwards;
}

.product-card:nth-child(1) { animation-delay: 0.1s; }
.product-card:nth-child(2) { animation-delay: 0.2s; }
.product-card:nth-child(3) { animation-delay: 0.3s; }
.product-card:nth-child(4) { animation-delay: 0.4s; }
.product-card:nth-child(5) { animation-delay: 0.5s; }
.product-card:nth-child(6) { animation-delay: 0.6s; }
.product-card:nth-child(7) { animation-delay: 0.7s; }
.product-card:nth-child(8) { animation-delay: 0.8s; }

/* Пульсация для популярных товаров */
.product-card.popular {
    animation: fadeInUp 0.6s ease forwards, pulse 2s infinite;
}

@keyframes pulse {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
    }
    50% {
        box-shadow: 0 15px 35px rgba(210, 153, 194, 0.4);
    }
}

/* Дополнительные эффекты для карточек товаров */
.product-card:hover .product-emoji {
    transform: scale(1.2);
    transition: transform 0.3s ease;
}

.product-card .product-emoji {
    transition: transform 0.3s ease;
}

/* Стили для загрузки */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.4), transparent);
    animation: shimmer 1.5s infinite;
}

@keyframes shimmer {
    0% { left: -100%; }
    100% { left: 100%; }
}

/* Улучшенная адаптивность для мобильных */
@media (max-width: 480px) {
    .products-grid {
        grid-template-columns: 1fr;
        gap: 15px;
    }
    
    .product-card {
        padding: 20px;
    }
    
    .header {
        padding: 15px;
    }
    
    .category {
        padding: 20px;
    }
    
    .success-notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
}

/* Стили для переключателя темы и корзины */
.theme-toggle, .cart-toggle {
    position: absolute;
    top: 15px;
}

.theme-toggle {
    right: 70px;
}

.cart-toggle {
    right: 15px;
}

.theme-btn, .cart-btn {
    background: rgba(255, 255, 255, 0.9);
    border: none;
    width: 45px;
    height: 45px;
    border-radius: 50%;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    color: #667eea;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    position: relative;
}

.theme-btn:hover, .cart-btn:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.15);
    background: white;
}

.cart-count {
    position: absolute;
    top: -5px;
    right: -5px;
    background: #ff6b6b;
    color: white;
    font-size: 0.7rem;
    font-weight: 600;
    padding: 2px 6px;
    border-radius: 10px;
    min-width: 18px;
    text-align: center;
}

/* Стили для корзины */
.cart-panel {
    position: fixed;
    top: 0;
    right: 0;
    width: 400px;
    height: 100vh;
    background: rgba(255, 255, 255, 0.98);
    backdrop-filter: blur(20px);
    z-index: 10000;
    transform: translateX(100%);
    transition: transform 0.3s ease;
    box-shadow: -10px 0 30px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
}

.cart-panel.show {
    transform: translateX(0);
}

.cart-header {
    padding: 20px;
    border-bottom: 1px solid #eee;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.cart-header h3 {
    color: #333;
    font-size: 1.3rem;
    font-weight: 600;
    display: flex;
    align-items: center;
    gap: 10px;
}

.close-cart {
    background: none;
    border: none;
    font-size: 1.2rem;
    color: #666;
    cursor: pointer;
    padding: 5px;
    border-radius: 50%;
    transition: all 0.3s ease;
}

.close-cart:hover {
    background: #f0f0f0;
    color: #333;
}

.cart-items {
    flex: 1;
    overflow-y: auto;
    padding: 20px;
}

.empty-cart {
    text-align: center;
    color: #666;
    padding: 50px 20px;
}

.empty-cart i {
    font-size: 3rem;
    color: #ddd;
    margin-bottom: 15px;
    display: block;
}

.cart-item {
    background: white;
    border: 1px solid #eee;
    border-radius: 10px;
    padding: 15px;
    margin-bottom: 15px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
}

.item-info h4 {
    color: #333;
    font-size: 1rem;
    margin-bottom: 5px;
    font-weight: 600;
}

.item-price {
    color: #667eea;
    font-weight: 600;
    font-size: 0.9rem;
}

.item-controls {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 10px;
}

.quantity-btn {
    background: #667eea;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1rem;
    font-weight: 600;
    transition: all 0.3s ease;
}

.quantity-btn:hover {
    background: #5a6fd8;
    transform: scale(1.1);
}

.quantity {
    background: #f8f9fa;
    padding: 5px 15px;
    border-radius: 15px;
    font-weight: 600;
    color: #333;
    min-width: 40px;
    text-align: center;
}

.remove-btn {
    background: #ff6b6b;
    color: white;
    border: none;
    width: 30px;
    height: 30px;
    border-radius: 50%;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.remove-btn:hover {
    background: #ff5252;
    transform: scale(1.1);
}

.cart-footer {
    padding: 20px;
    border-top: 1px solid #eee;
    background: rgba(255, 255, 255, 0.9);
}

.cart-total {
    text-align: center;
    font-size: 1.2rem;
    font-weight: 600;
    color: #333;
    margin-bottom: 15px;
}

.checkout-btn {
    width: 100%;
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
    border: none;
    padding: 15px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.checkout-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(78, 205, 196, 0.3);
}

/* Анимация добавления в корзину */
.product-card.added-to-cart {
    transform: scale(1.05);
    box-shadow: 0 20px 40px rgba(78, 205, 196, 0.4);
    border-color: #4ecdc4;
}

/* Уведомления */
.notification {
    position: fixed;
    top: 20px;
    right: 20px;
    background: white;
    color: #333;
    padding: 15px 20px;
    border-radius: 10px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
    z-index: 10001;
    transform: translateX(400px);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    gap: 10px;
    max-width: 350px;
}

.notification.show {
    transform: translateX(0);
}

.notification.success {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.notification.error {
    background: linear-gradient(135deg, #ff6b6b 0%, #ee5a52 100%);
    color: white;
}

.notification.info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
}

/* Модальное окно подтверждения */
.confirmation-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.5);
    z-index: 10002;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.confirmation-overlay.show {
    opacity: 1;
}

.confirmation-modal {
    background: white;
    border-radius: 15px;
    padding: 30px;
    max-width: 500px;
    width: 90%;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    transform: scale(0.9);
    transition: transform 0.3s ease;
}

.confirmation-overlay.show .confirmation-modal {
    transform: scale(1);
}

.confirmation-content h3 {
    color: #333;
    margin-bottom: 20px;
    font-size: 1.3rem;
    text-align: center;
}

.confirmation-content pre {
    background: #f8f9fa;
    padding: 15px;
    border-radius: 8px;
    font-family: inherit;
    white-space: pre-wrap;
    color: #333;
    margin-bottom: 20px;
    font-size: 0.9rem;
}

.confirmation-buttons {
    display: flex;
    gap: 15px;
    justify-content: center;
}

.confirm-yes, .confirm-no {
    padding: 12px 25px;
    border: none;
    border-radius: 8px;
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
}

.confirm-yes {
    background: linear-gradient(135deg, #4ecdc4 0%, #44a08d 100%);
    color: white;
}

.confirm-no {
    background: #f8f9fa;
    color: #666;
}

.confirm-yes:hover, .confirm-no:hover {
    transform: translateY(-2px);
}

/* Темная тема */
.dark-theme {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dark-theme .header {
    background: rgba(30, 30, 30, 0.95);
    color: #e2e8f0;
}

.dark-theme .header h1 {
    color: #8b5cf6;
}

.dark-theme .subtitle {
    color: #cbd5e0;
}

.dark-theme .user-controls {
    background: rgba(30, 30, 30, 0.95);
}

.dark-theme #userUID {
    background: rgba(45, 45, 45, 0.9);
    border-color: #4a5568;
    color: #e2e8f0;
}

.dark-theme #userUID::placeholder {
    color: #a0aec0;
}

.dark-theme #userUID:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.dark-theme .category {
    background: rgba(30, 30, 30, 0.95);
}

.dark-theme .category h2 {
    color: #e2e8f0;
}

.dark-theme .category h2 i {
    color: #8b5cf6;
}

.dark-theme .product-card {
    background: rgba(45, 45, 45, 0.9);
    border-color: #4a5568;
    color: #e2e8f0;
}

.dark-theme .product-card h3 {
    color: #e2e8f0;
}

.dark-theme .product-card:hover {
    border-color: #8b5cf6;
}

.dark-theme .cart-panel {
    background: rgba(30, 30, 30, 0.98);
}

.dark-theme .cart-header h3 {
    color: #e2e8f0;
}

.dark-theme .cart-item {
    background: rgba(45, 45, 45, 0.9);
    border-color: #4a5568;
}

.dark-theme .cart-item h4 {
    color: #e2e8f0;
}

.dark-theme .item-price {
    color: #8b5cf6;
}

.dark-theme .quantity-btn {
    background: #8b5cf6;
}

.dark-theme .quantity-btn:hover {
    background: #7c3aed;
}

.dark-theme .quantity {
    background: rgba(30, 30, 30, 0.9);
    color: #e2e8f0;
}

.dark-theme .cart-footer {
    background: rgba(30, 30, 30, 0.95);
}

.dark-theme .checkout-btn {
    background: linear-gradient(135deg, #8b5cf6 0%, #7c3aed 100%);
}

.dark-theme .checkout-btn:hover {
    background: linear-gradient(135deg, #7c3aed 0%, #6d28d9 100%);
}

.dark-theme .cart-total {
    color: #e2e8f0;
}

.dark-theme .confirmation-modal {
    background: rgba(30, 30, 30, 0.95);
}

.dark-theme .confirmation-content h3 {
    color: #e2e8f0;
}

.dark-theme .confirmation-content pre {
    background: rgba(45, 45, 45, 0.9);
    color: #cbd5e0;
}

.dark-theme .confirm-no {
    background: rgba(45, 45, 45, 0.9);
    color: #cbd5e0;
}

.dark-theme .theme-btn, .dark-theme .cart-btn {
    background: rgba(30, 30, 30, 0.9);
    color: #8b5cf6;
}

.dark-theme .theme-btn:hover, .dark-theme .cart-btn:hover {
    background: rgba(45, 45, 45, 0.9);
}

/* Адаптивность для корзины */
@media (max-width: 480px) {
    .cart-panel {
        width: 100%;
    }
    
    .theme-toggle {
        right: 70px;
    }
    
    .cart-toggle {
        right: 15px;
    }
    
    .notification {
        right: 10px;
        left: 10px;
        max-width: none;
    }
    
    .confirmation-modal {
        margin: 20px;
        width: auto;
    }
}

/* Стили для страницы входа */
.login-page {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    padding: 20px;
}

.login-container {
    max-width: 900px;
    width: 100%;
}

.login-form {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 30px;
    margin-top: 30px;
    position: relative;
}

.form-section {
    background: rgba(255, 255, 255, 0.98);
    padding: 40px 30px;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.15);
    backdrop-filter: blur(10px);
    text-align: center;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.form-section h2 {
    color: #4f46e5;
    margin-bottom: 30px;
    font-size: 1.5rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

.form-section .input-group {
    margin-bottom: 25px;
}

#nicknameInput {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

#nicknameInput:focus,
#uidInput {
    width: 100%;
    padding: 15px 15px 15px 45px;
    border: 2px solid #e1e8f0;
    border-radius: 10px;
    font-size: 1rem;
    transition: all 0.3s ease;
    background: white;
}

#uidInput:focus {
    outline: none;
    border-color: #4f46e5;
    box-shadow: 0 0 0 3px rgba(79, 70, 229, 0.1);
}

.primary-btn {
    background: linear-gradient(135deg, #4f46e5, #7c3aed);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 10px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    width: 100%;
    min-height: 50px;
}

.primary-btn:hover:not(:disabled) {
    transform: translateY(-2px);
    box-shadow: 0 10px 25px rgba(79, 70, 229, 0.3);
}

.primary-btn:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.info-section {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.info-card {
    background: rgba(255, 255, 255, 0.95);
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    backdrop-filter: blur(10px);
    opacity: 0;
    transform: translateY(30px);
    transition: all 0.6s ease;
}

.info-card.float-in {
    opacity: 1;
    transform: translateY(0);
}

.info-card h3 {
    color: #4f46e5;
    margin-bottom: 15px;
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.donation-info p,
.advantages p {
    margin: 8px 0;
    display: flex;
    align-items: flex-start;
    gap: 8px;
    color: #666;
    line-height: 1.4;
}

.feature-icon {
    font-size: 1.2rem;
    flex-shrink: 0;
    width: 24px;
    text-align: center;
}

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

.feature-text strong {
    color: #4f46e5;
    font-size: 0.95rem;
}

.feature-text span {
    color: #666;
    font-size: 0.9rem;
    line-height: 1.3;
}

.donation-item,
.advantage-item {
    display: flex;
    align-items: center;
    gap: 10px;
    margin: 10px 0;
    padding: 6px 0;
}

.donation-icon,
.advantage-icon {
    font-size: 1.1rem;
    flex-shrink: 0;
    width: 20px;
    text-align: center;
}

.donation-item span:last-child,
.advantage-item span:last-child {
    color: #666;
    font-size: 0.95rem;
    line-height: 1.4;
}

.donation-info p:first-child,
.bot-info p:first-child,
.advantages p:first-child {
    font-size: 1rem;
}

.info-card h3:first-child {
    font-size: 1.3rem;
}

.login-form .theme-toggle {
    position: absolute;
    top: -10px;
    right: -10px;
    z-index: 10;
}

@media (max-width: 768px) {
    .login-form {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .form-section {
        padding: 30px 20px;
    }
    
    .info-card {
        padding: 20px;
    }
    
    .login-form .theme-toggle {
        top: 10px;
        right: 10px;
    }
}

.dark-theme.login-page {
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 100%);
}

.dark-theme .login-container .header {
    background: rgba(30, 30, 30, 0.95);
    color: #e2e8f0;
}

.dark-theme .login-container .header h1 {
    color: #8b5cf6;
}

.dark-theme .login-container .subtitle {
    color: #cbd5e0;
}

.dark-theme .form-section {
    background: rgba(30, 30, 30, 0.95);
    color: #e2e8f0;
}

.dark-theme .form-section h2 {
    color: #8b5cf6;
}

.dark-theme #uidInput {
    background: rgba(45, 45, 45, 0.9);
    border-color: #4a5568;
    color: #e2e8f0;
}

.dark-theme #uidInput::placeholder {
    color: #a0aec0;
}

.dark-theme #uidInput:focus {
    border-color: #8b5cf6;
    box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.2);
}

.dark-theme .info-card {
    background: rgba(30, 30, 30, 0.95);
    color: #e2e8f0;
}

.dark-theme .info-card h3 {
    color: #8b5cf6;
}

.dark-theme .donation-info p,
.dark-theme .advantages p {
    color: #cbd5e0;
}

.dark-theme .bot-info p {
    color: #cbd5e0;
}

.dark-theme .bot-info p strong {
    color: #8b5cf6;
}

.dark-theme .feature-text strong {
    color: #8b5cf6;
}

.dark-theme .feature-text span {
    color: #cbd5e0;
}

.dark-theme .donation-item span:last-child,
.dark-theme .advantage-item span:last-child {
    color: #cbd5e0;
}

.dark-theme .user-controls {
    background: rgba(30, 30, 30, 0.95);
}

.dark-theme .user-info {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.3);
}

.dark-theme .user-info i,
.dark-theme .user-info span {
    color: #8b5cf6;
}
