/* Импорт шрифтов */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@300;400;500;600;700;800&display=swap');

/* Базовые стили */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #1a1a2e 0%, #16213e 50%, #0f3460 100%);
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

/* Заголовок */
header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 50%, #9b59b6 100%);
    padding: 1.5rem 0;
    box-shadow: 0 8px 30px rgba(102, 126, 234, 0.4);
    position: relative;
    border-bottom: 3px solid rgba(255, 255, 255, 0.2);
}



@keyframes shimmer {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* Контейнер заголовка */
header .max-w-7xl {
    position: relative;
    z-index: 2;
}

/* Логотип */
.logo-container {
    background: linear-gradient(135deg, #ffffff 0%, #f8f9fa 100%);
    border-radius: 50%;
    padding: 0.75rem;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
    border: 3px solid rgba(255, 255, 255, 0.3);
    transition: all 0.3s ease;
}

.logo-container:hover {
    transform: scale(1.1);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.4);
}

/* Навигация */
nav {
    position: relative;
    z-index: 2;
}

.nav-link {
    color: #ffffff !important;
    font-weight: 600;
    font-size: 1.1rem;
    position: relative;
    transition: all 0.3s ease;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
}

.nav-link:hover {
    color: #ffffff !important;
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    width: 0;
    height: 3px;
    background: linear-gradient(90deg, #fdcb6e, #e17055);
    transition: all 0.3s ease;
    border-radius: 2px;
    transform: translateX(-50%);
}

.nav-link:hover::after {
    width: 80%;
}

/* Мобильное меню */
#mobileMenuButton {
    background: rgba(255, 255, 255, 0.1);
    border: 2px solid rgba(255, 255, 255, 0.3);
    border-radius: 10px;
    padding: 0.5rem;
    transition: all 0.3s ease;
}

#mobileMenuButton:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

#mobileMenuButton span {
    background: #ffffff;
    transition: all 0.3s ease;
}

/* Адаптивность заголовка */
@media (max-width: 768px) {
    header {
        padding: 1rem 0;
    }
    
    .nav-link {
        font-size: 1rem;
        padding: 0.4rem 0.8rem;
    }
}

/* Главная секция */
.hero-section {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="25" cy="25" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="75" cy="75" r="1" fill="rgba(255,255,255,0.1)"/><circle cx="50" cy="10" r="0.5" fill="rgba(255,255,255,0.1)"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
    opacity: 0.3;
}

.hero-title {
    font-size: 4rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #fdcb6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-shadow: 0 4px 20px rgba(0, 0, 0, 0.3);
    margin-bottom: 2rem;
}

.hero-subtitle {
    font-size: 1.5rem;
    color: #f8f9fa;
    margin-bottom: 3rem;
    opacity: 0.9;
}

/* Таймер */
.countdown-container {
    display: flex;
    justify-content: center;
    gap: 2rem;
    margin: 3rem 0;
}

.countdown-item {
    background: linear-gradient(135deg, #ff6b6b, #ee5a24);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 30px rgba(255, 107, 107, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.countdown-item:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(255, 107, 107, 0.6);
}

.countdown-number {
    font-size: 3.5rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.countdown-label {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 1px;
}

/* Кнопка CTA */
.cta-button {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: #ffffff;
    padding: 1.5rem 3rem;
    font-size: 1.3rem;
    font-weight: 700;
    border: none;
    border-radius: 50px;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
    transition: all 0.3s ease;
    text-decoration: none;
    display: inline-block;
    position: relative;
    overflow: hidden;
}

.cta-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.3), transparent);
    transition: left 0.5s ease;
}

.cta-button:hover::before {
    left: 100%;
}

.cta-button:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 35px rgba(0, 184, 148, 0.6);
}

/* Боковая панель */
.sidebar {
    background: linear-gradient(180deg, #2c3e50 0%, #34495e 100%);
    padding: 2rem;
    border-right: 3px solid #3498db;
    box-shadow: 5px 0 20px rgba(0, 0, 0, 0.3);
}

.tab-button {
    width: 100%;
    text-align: left;
    padding: 1rem 1.5rem;
    margin-bottom: 1rem;
    border: none;
    border-radius: 15px;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
    cursor: pointer;
    position: relative;
    overflow: hidden;
}

.tab-button::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.1), transparent);
    transition: left 0.5s ease;
}

.tab-button:hover::before {
    left: 100%;
}

.tab-button.active {
    background: linear-gradient(135deg, #3498db, #2980b9);
    color: #ffffff;
    box-shadow: 0 5px 20px rgba(52, 152, 219, 0.4);
    transform: translateX(10px);
}

.tab-button:not(.active) {
    background: linear-gradient(135deg, #34495e, #2c3e50);
    color: #bdc3c7;
}

.tab-button:not(.active):hover {
    background: linear-gradient(135deg, #3d4852, #34495e);
    color: #ffffff;
    transform: translateX(5px);
}

/* Основной контент */
.main-content {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    min-height: 100vh;
}

.content-section {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    margin: 2rem;
    padding: 2rem;
    border-radius: 20px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(10px);
}

/* Карточки шагов */
.step-card {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    padding: 2rem;
    border-radius: 20px;
    text-align: center;
    box-shadow: 0 8px 25px rgba(231, 76, 60, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.step-card:nth-child(2) {
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}

.step-card:nth-child(3) {
    background: linear-gradient(135deg, #f39c12 0%, #e67e22 100%);
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
}

.step-card:nth-child(4) {
    background: linear-gradient(135deg, #9b59b6 0%, #8e44ad 100%);
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
}

.step-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
}

.step-number {
    background: linear-gradient(135deg, #ffffff, #f8f9fa);
    color: #2c3e50;
    width: 4rem;
    height: 4rem;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    font-weight: 800;
    margin: 0 auto 1.5rem;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    border: 4px solid rgba(255, 255, 255, 0.3);
}

.step-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 1rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.step-description {
    color: #ecf0f1;
    line-height: 1.6;
}

/* Формы */
.form-group {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    padding: 1.5rem;
    border: 2px solid #3498db;
    border-radius: 15px;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.form-label {
    display: block;
    font-weight: 600;
    color: #ffffff;
    margin-bottom: 0.5rem;
    font-size: 1.1rem;
}

.form-select, .form-input {
    width: 100%;
    padding: 1rem;
    border: 2px solid #3498db;
    border-radius: 10px;
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    color: #ffffff;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-select:focus, .form-input:focus {
    outline: none;
    border-color: #00b894;
    box-shadow: 0 0 20px rgba(0, 184, 148, 0.3);
    transform: scale(1.02);
}

/* Стили для option элементов */
.form-select option {
    background: #2c3e50;
    color: #ffffff;
    padding: 0.5rem;
    border: none;
}

.form-select option:hover {
    background: #3498db;
    color: #ffffff;
}

.form-select option:checked {
    background: #00b894;
    color: #ffffff;
}

/* Стили для select в разных браузерах */
.form-select {
    -webkit-appearance: none;
    -moz-appearance: none;
    appearance: none;
    background-image: url("data:image/svg+xml,%3csvg xmlns='http://www.w3.org/2000/svg' fill='none' viewBox='0 0 20 20'%3e%3cpath stroke='%233498db' stroke-linecap='round' stroke-linejoin='round' stroke-width='1.5' d='m6 8 4 4 4-4'/%3e%3c/svg%3e");
    background-position: right 0.5rem center;
    background-repeat: no-repeat;
    background-size: 1.5em 1.5em;
    padding-right: 2.5rem;
}

/* Firefox */
.form-select:-moz-focusring {
    color: transparent;
    text-shadow: 0 0 0 #ffffff;
}

/* IE */
.form-select::-ms-expand {
    display: none;
}

.form-radio, .form-checkbox {
    appearance: none;
    -webkit-appearance: none;
    -moz-appearance: none;
    width: 20px;
    height: 20px;
    border: 2px solid #3498db;
    border-radius: 4px;
    background-color: #2c3e50;
    cursor: pointer;
    position: relative;
    transition: all 0.3s ease;
    margin-right: 0.5rem;
}

.form-radio {
    border-radius: 50%;
}

.form-checkbox:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.form-checkbox:checked::after {
    content: '✓';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    color: white;
    font-size: 14px;
    font-weight: bold;
}

.form-radio:checked {
    background-color: #3498db;
    border-color: #3498db;
}

.form-radio:checked::after {
    content: '';
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 8px;
    height: 8px;
    background-color: white;
    border-radius: 50%;
}

.form-radio:hover, .form-checkbox:hover {
    border-color: #2980b9;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.5);
}

.form-radio:focus, .form-checkbox:focus {
    outline: none;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

/* Стили для disabled состояния select элементов */
select:disabled {
    opacity: 0.5;
    cursor: not-allowed;
    background-color: #34495e !important;
    color: #7f8c8d !important;
}

select:disabled option {
    background-color: #34495e;
    color: #7f8c8d;
}

/* Стили для select элементов */
select {
    background-color: #2c3e50;
    color: #ecf0f1;
    border: 2px solid #3498db;
    border-radius: 8px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    cursor: pointer;
}

select:focus {
    outline: none;
    border-color: #2980b9;
    box-shadow: 0 0 0 3px rgba(52, 152, 219, 0.3);
}

select:hover:not(:disabled) {
    border-color: #2980b9;
    box-shadow: 0 0 10px rgba(52, 152, 219, 0.3);
}

/* Таблицы */
.table-container {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border: 2px solid #3498db;
}

.table-header {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    color: #ffffff;
    padding: 1.5rem;
}

.table-row {
    border-bottom: 2px solid #34495e;
    transition: background 0.3s ease;
}

.table-row:nth-child(even) {
    background: rgba(52, 152, 219, 0.1);
}

.table-row:hover {
    background: rgba(52, 152, 219, 0.2);
}

.table-cell {
    padding: 1rem 1.5rem;
    color: #ecf0f1;
}

/* FAQ секция */
.faq-item {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border: 2px solid #3498db;
    border-radius: 15px;
    margin-bottom: 1rem;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.faq-item:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.faq-trigger {
    width: 100%;
    text-align: left;
    padding: 1.5rem;
    background: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    color: #ffffff;
    border: none;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.faq-trigger:hover {
    background: linear-gradient(135deg, #2980b9 0%, #1f5f8b 100%);
}

.faq-content {
    padding: 0 1.5rem;
    max-height: 0;
    overflow: hidden;
    transition: all 0.3s ease;
    background: rgba(52, 152, 219, 0.1);
}

.faq-content.active {
    padding: 1.5rem;
    max-height: 200px;
}

/* Футер */
footer {
    background: linear-gradient(135deg, #2c3e50 0%, #1a1a2e 100%);
    color: #bdc3c7;
    padding: 3rem 0;
    border-top: 3px solid #3498db;
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 2rem;
}

.footer-section h3 {
    color: #3498db;
    font-size: 1.5rem;
    font-weight: 700;
    margin-bottom: 1rem;
}

.footer-links a {
    color: #bdc3c7;
    text-decoration: none;
    transition: color 0.3s ease;
    display: block;
    margin-bottom: 0.5rem;
}

.footer-links a:hover {
    color: #3498db;
}

/* Адаптивность */
@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .countdown-container {
        flex-direction: column;
        gap: 1rem;
    }
    
    .countdown-item {
        padding: 1.5rem;
    }
    
    .countdown-number {
        font-size: 2.5rem;
    }
    
    .sidebar {
        order: 2;
    }
    
    .main-content {
        order: 1;
    }
    
    .footer-content {
        flex-direction: column;
        text-align: center;
    }
}

/* Анимации */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes pulse {
    0%, 100% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
}

.fade-in-up {
    animation: fadeInUp 0.6s ease-out;
}

.pulse {
    animation: pulse 2s infinite;
}

/* Дополнительные эффекты */
.glass-effect {
    background: rgba(255, 255, 255, 0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.neon-border {
    border: 2px solid #3498db;
    box-shadow: 0 0 20px rgba(52, 152, 219, 0.5);
}

.gradient-text {
    background: linear-gradient(45deg, #3498db, #00b894);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Улучшенные стили для форм */
.form-group:hover {
    border-color: #00b894;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.2);
    transform: translateY(-2px);
}

/* Стили для кнопок в формах */
.form-group button,
.form-group input[type="submit"] {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #ffffff;
    border: none;
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.form-group button:hover,
.form-group input[type="submit"]:hover {
    background: linear-gradient(45deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

/* Стили для чекбоксов и радио кнопок */
.form-group input[type="checkbox"],
.form-group input[type="radio"] {
    width: 1.2rem;
    height: 1.2rem;
    margin-right: 0.5rem;
    cursor: pointer;
}

.form-group input[type="checkbox"]:checked,
.form-group input[type="radio"]:checked {
    accent-color: #00b894;
}

/* Стили для лейблов в формах */
.form-group label {
    cursor: pointer;
    user-select: none;
}

.form-group label:hover {
    color: #00b894;
}

/* Анимация для элементов форм */
.form-group {
    animation: fadeInUp 0.6s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Стили для корзины */
.basket-container {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 20px;
    padding: 2rem;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    border: 2px solid rgba(52, 152, 219, 0.3);
    backdrop-filter: blur(10px);
}

.basket-header {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
    border: 2px solid rgba(255, 255, 255, 0.2);
}

.basket-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #ffffff, #fdcb6e);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
}

.basket-subtitle {
    color: #ecf0f1;
    font-size: 1.2rem;
    opacity: 0.9;
}

.basket-item {
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border: 2px solid #3498db;
    border-radius: 15px;
    padding: 1.5rem;
    margin-bottom: 1.5rem;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.basket-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(52, 152, 219, 0.1), transparent);
    transition: left 0.5s ease;
}

.basket-item:hover::before {
    left: 100%;
}

.basket-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(52, 152, 219, 0.3);
    border-color: #00b894;
}

.basket-item-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid rgba(52, 152, 219, 0.3);
}

.basket-item-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: #ffffff;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.basket-item-price {
    background: linear-gradient(45deg, #00b894, #00cec9);
    color: #ffffff;
    padding: 0.5rem 1rem;
    border-radius: 25px;
    font-weight: 700;
    font-size: 1.1rem;
    box-shadow: 0 4px 15px rgba(0, 184, 148, 0.3);
}

.basket-item-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
    margin-bottom: 1rem;
}

.basket-detail-item {
    background: rgba(52, 152, 219, 0.1);
    padding: 0.75rem;
    border-radius: 10px;
    border: 1px solid rgba(52, 152, 219, 0.3);
}

.basket-detail-label {
    font-weight: 600;
    color: #3498db;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.25rem;
}

.basket-detail-value {
    color: #ecf0f1;
    font-size: 1rem;
}

.basket-item-actions {
    display: flex;
    gap: 1rem;
    justify-content: flex-end;
    align-items: center;
}

.basket-action-btn {
    padding: 0.5rem 1rem;
    border: none;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
}

.basket-edit-btn {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(52, 152, 219, 0.3);
}

.basket-edit-btn:hover {
    background: linear-gradient(45deg, #2980b9, #1f5f8b);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.4);
}

.basket-remove-btn {
    background: linear-gradient(45deg, #e74c3c, #c0392b);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(231, 76, 60, 0.3);
}

.basket-remove-btn:hover {
    background: linear-gradient(45deg, #c0392b, #a93226);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(231, 76, 60, 0.4);
}

.basket-summary {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid #00b894;
    border-radius: 20px;
    padding: 2rem;
    margin-top: 2rem;
    box-shadow: 0 10px 30px rgba(0, 184, 148, 0.3);
    position: relative;
    overflow: hidden;
}

.basket-summary::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 184, 148, 0.1) 50%, transparent 70%);
    animation: shimmer 3s infinite;
}

.basket-summary-header {
    text-align: center;
    margin-bottom: 2rem;
}

.basket-summary-title {
    font-size: 2rem;
    font-weight: 800;
    color: #00b894;
    margin-bottom: 0.5rem;
    text-shadow: 0 2px 10px rgba(0, 184, 148, 0.3);
}

.basket-summary-subtitle {
    color: #bdc3c7;
    font-size: 1.1rem;
}

.basket-summary-details {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2rem;
}

.basket-summary-item {
    text-align: center;
    padding: 1rem;
    background: rgba(0, 184, 148, 0.1);
    border-radius: 15px;
    border: 2px solid rgba(0, 184, 148, 0.3);
}

.basket-summary-label {
    font-weight: 600;
    color: #00b894;
    font-size: 0.9rem;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.5rem;
}

.basket-summary-value {
    font-size: 1.5rem;
    font-weight: 800;
    color: #ffffff;
}

.basket-total {
    text-align: center;
    padding: 2rem;
    background: linear-gradient(135deg, #00b894 0%, #00cec9 100%);
    border-radius: 15px;
    margin-bottom: 2rem;
    box-shadow: 0 8px 25px rgba(0, 184, 148, 0.4);
}

.basket-total-label {
    font-size: 1.2rem;
    color: #ffffff;
    font-weight: 600;
    margin-bottom: 0.5rem;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.basket-total-amount {
    font-size: 3rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.basket-actions {
    display: flex;
    gap: 1.5rem;
    justify-content: center;
    flex-wrap: wrap;
}

.basket-checkout-btn {
    background: linear-gradient(45deg, #f39c12, #e67e22);
    color: #ffffff;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(243, 156, 18, 0.4);
    text-decoration: none;
    display: inline-block;
}

.basket-checkout-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(243, 156, 18, 0.6);
}

.basket-continue-btn {
    background: linear-gradient(45deg, #9b59b6, #8e44ad);
    color: #ffffff;
    padding: 1.5rem 3rem;
    border: none;
    border-radius: 50px;
    font-size: 1.3rem;
    font-weight: 700;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(155, 89, 182, 0.4);
    text-decoration: none;
    display: inline-block;
}

.basket-continue-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(155, 89, 182, 0.6);
}

.basket-empty {
    text-align: center;
    padding: 4rem 2rem;
}

.basket-empty-icon {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.basket-empty-title {
    font-size: 2rem;
    font-weight: 700;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.basket-empty-subtitle {
    color: #95a5a6;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

/* Адаптивность корзины */
@media (max-width: 768px) {
    .basket-item-header {
        flex-direction: column;
        gap: 1rem;
        text-align: center;
    }
    
    .basket-item-actions {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .basket-actions {
        flex-direction: column;
        align-items: center;
    }
    
    .basket-checkout-btn,
    .basket-continue-btn {
        width: 100%;
        max-width: 300px;
        text-align: center;
    }
}

/* Стили для модального окна подтверждения заказа */
.order-confirmation-modal {
    background: linear-gradient(135deg, #2c3e50 0%, #34495e 100%);
    border: 3px solid #00b894;
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: 0 20px 60px rgba(0, 184, 148, 0.4);
    position: relative;
    overflow: hidden;
    max-width: 500px;
    width: 90%;
    text-align: center;
}

.order-confirmation-modal::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, transparent 30%, rgba(0, 184, 148, 0.1) 50%, transparent 70%);
    animation: shimmer 4s infinite;
}

.order-confirmation-modal h2 {
    font-size: 2.5rem;
    font-weight: 800;
    background: linear-gradient(45deg, #00b894, #00cec9);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 2;
}

.order-confirmation-modal p {
    color: #ecf0f1;
    font-size: 1.2rem;
    line-height: 1.6;
    position: relative;
    z-index: 2;
}

/* Анимация для модального окна */
@keyframes modalFadeIn {
    from {
        opacity: 0;
        transform: scale(0.8) translateY(-20px);
    }
    to {
        opacity: 1;
        transform: scale(1) translateY(0);
    }
}

.order-confirmation-modal {
    animation: modalFadeIn 0.5s ease-out;
}

/* Стили для пустой корзины */
.basket-empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: linear-gradient(135deg, #34495e 0%, #2c3e50 100%);
    border-radius: 20px;
    border: 2px solid rgba(52, 152, 219, 0.3);
    margin: 2rem 0;
}

.basket-empty-icon {
    font-size: 5rem;
    color: #bdc3c7;
    margin-bottom: 2rem;
    opacity: 0.5;
}

.basket-empty-title {
    font-size: 2rem;
    font-weight: 700;
    color: #bdc3c7;
    margin-bottom: 1rem;
}

.basket-empty-subtitle {
    color: #95a5a6;
    font-size: 1.1rem;
    margin-bottom: 2rem;
}

.basket-empty-action {
    background: linear-gradient(45deg, #3498db, #2980b9);
    color: #ffffff;
    padding: 1rem 2rem;
    border: none;
    border-radius: 50px;
    font-size: 1.1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(52, 152, 219, 0.3);
    text-decoration: none;
    display: inline-block;
}

.basket-empty-action:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(52, 152, 219, 0.4);
}
