/* ===========================
   JustKey Store - Modern Design
   =========================== */

/* CSS Variables */
:root {
    /* Цвета светлой темы - Синяя гамма - Мягкие оттенки */
    --primary-color: #2980b9;
    --primary-dark: #1f6391;
    --primary-light: #3498db;
    --secondary-color: #1a5276;
    --accent-color: #f39c12;
    
    --bg-primary: #ffffff;
    --bg-secondary: #f5f9fc;
    --bg-tertiary: #ebf5fb;
    --bg-card: #ffffff;
    
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8a8a8a;
    
    --border-color: #d6eaf8;
    --shadow-sm: 0 1px 2px 0 rgba(41, 128, 185, 0.06);
    --shadow-md: 0 4px 6px -1px rgba(41, 128, 185, 0.1);
    --shadow-lg: 0 10px 15px -3px rgba(41, 128, 185, 0.1);
    --shadow-xl: 0 20px 25px -5px rgba(41, 128, 185, 0.12);
    
    --success-color: #27ae60;
    --warning-color: #f39c12;
    --error-color: #e74c3c;
    --info-color: #2980b9;
    
    --gradient-primary: linear-gradient(135deg, #2980b9 0%, #1a5276 100%);
    --gradient-secondary: linear-gradient(135deg, #3498db 0%, #2980b9 100%);
    --gradient-gaming: linear-gradient(135deg, #2980b9 0%, #0e3a52 100%);
}

/* Темная тема */
[data-theme="dark"] {
    --primary-color: #3498db;
    --primary-dark: #2980b9;
    --primary-light: #5dade2;
    
    --bg-primary: #1a1a1a;
    --bg-secondary: #2d2d2d;
    --bg-tertiary: #3d3d3d;
    --bg-card: #2d2d2d;
    
    --text-primary: #f5f5f5;
    --text-secondary: #d0d0d0;
    --text-muted: #9a9a9a;
    
    --border-color: #4a4a4a;
    --shadow-sm: 0 1px 2px 0 rgba(52, 152, 219, 0.2);
    --shadow-md: 0 4px 6px -1px rgba(52, 152, 219, 0.25);
    --shadow-lg: 0 10px 15px -3px rgba(52, 152, 219, 0.3);
    --shadow-xl: 0 20px 25px -5px rgba(52, 152, 219, 0.35);
}

/* Режим для слабовидящих */
[data-accessibility="high-contrast"] {
    --primary-color: #0066cc;
    --bg-primary: #000000;
    --bg-secondary: #1a1a1a;
    --bg-card: #1a1a1a;
    --text-primary: #ffffff;
    --text-secondary: #ffff00;
    --border-color: #ffffff;
}

/* Reset & Base */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    background-color: var(--bg-primary);
    color: var(--text-primary);
    line-height: 1.6;
    transition: background-color 0.3s ease, color 0.3s ease;
    overflow-x: hidden;
}

/* Скроллбар */
::-webkit-scrollbar {
    width: 10px;
    height: 10px;
}

::-webkit-scrollbar-track {
    background: var(--bg-secondary);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 5px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--primary-dark);
}

/* Typography */
h1, h2, h3, h4, h5, h6 {
    font-weight: 700;
    line-height: 1.2;
    margin-bottom: 1rem;
}

h1 { font-size: 3rem; }
h2 { font-size: 2.5rem; }
h3 { font-size: 2rem; }
h4 { font-size: 1.5rem; }
h5 { font-size: 1.25rem; }
h6 { font-size: 1rem; }

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: color 0.3s ease;
}

a:hover {
    color: var(--primary-dark);
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 2rem;
}

/* Header */
.header {
    background: var(--bg-card);
    box-shadow: var(--shadow-md);
    position: sticky;
    top: 0;
    z-index: 1000;
    backdrop-filter: blur(10px);
    border-bottom: 1px solid var(--border-color);
}

.header-container {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding: 1rem 2rem;
    gap: 2rem;
}

/* Logo */
.logo {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    font-size: 1.75rem;
    font-weight: 800;
    color: var(--text-primary);
    transition: transform 0.3s ease;
}

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

.logo-icon {
    width: 45px;
    height: 45px;
    background: var(--gradient-primary);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: white;
    font-size: 1.5rem;
    box-shadow: var(--shadow-md);
}

.logo-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* Navigation */
.nav {
    display: flex;
    align-items: center;
    gap: 2rem;
    flex: 1;
    justify-content: center;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 2rem;
    align-items: center;
}

.nav-link {
    color: var(--text-secondary);
    font-weight: 500;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover {
    color: var(--primary-color);
    background: var(--bg-secondary);
}

.nav-link::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 50%;
    transform: translateX(-50%) scaleX(0);
    width: 80%;
    height: 2px;
    background: var(--primary-color);
    transition: transform 0.3s ease;
}

.nav-link:hover::after {
    transform: translateX(-50%) scaleX(1);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 1rem;
}

.btn-icon {
    width: 42px;
    height: 42px;
    border-radius: 10px;
    background: var(--bg-secondary);
    border: none;
    color: var(--text-primary);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.2rem;
}

.btn-icon:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.btn-icon .badge {
    position: absolute;
    top: -5px;
    right: -5px;
    background: var(--secondary-color);
    color: white;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    font-size: 0.7rem;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 600;
}

/* Buttons */
.btn {
    padding: 0.75rem 1.5rem;
    border-radius: 10px;
    border: none;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 1rem;
    text-align: center;
}

.btn-primary {
    background: var(--gradient-primary);
    color: white;
    box-shadow: var(--shadow-md);
}

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

.btn-secondary {
    background: var(--bg-secondary);
    color: var(--text-primary);
}

.btn-secondary:hover {
    background: var(--bg-tertiary);
}

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

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

.btn-danger {
    background: #ef4444;
    border: 2px solid #ef4444;
    color: white;
    transition: all 0.2s ease;
}

.btn-danger:hover {
    background: #dc2626;
    border-color: #dc2626;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(239, 68, 68, 0.4);
}

/* Hero Section */
.hero {
    padding: 4rem 0;
    background: var(--bg-secondary);
    position: relative;
    overflow: hidden;
}

.hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(41, 128, 185, 0.15) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.15) 0%, transparent 50%);
    pointer-events: none;
}

/* Slider */
.slider {
    position: relative;
    height: 500px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-xl);
}

.slide {
    position: absolute;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.5s ease-in-out;
    display: flex;
    align-items: center;
}

.slide.active {
    opacity: 1;
    z-index: 1;
}

.slide-content {
    position: relative;
    z-index: 2;
    color: white;
    padding: 3rem;
    max-width: 600px;
}

.slide-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.5);
}

.slide-description {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    text-shadow: 1px 1px 5px rgba(0, 0, 0, 0.5);
}

.slide-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: 0;
}

.slide-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0,0,0,0.8) 0%, rgba(0,0,0,0.3) 70%, transparent 100%);
    z-index: 1;
}

/* Slider Controls */
.slider-controls {
    position: absolute;
    bottom: 2rem;
    right: 2rem;
    display: flex;
    gap: 1rem;
    z-index: 10;
}

.slider-btn {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    border: 2px solid rgba(255, 255, 255, 0.3);
    color: white;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    font-size: 1.2rem;
}

.slider-btn:hover {
    background: rgba(255, 255, 255, 0.4);
    transform: scale(1.1);
}

/* Slider Indicators */
.slider-indicators {
    position: absolute;
    bottom: 2rem;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 0.75rem;
    z-index: 10;
}

.indicator {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.4);
    cursor: pointer;
    transition: all 0.3s ease;
}

.indicator.active {
    width: 40px;
    border-radius: 6px;
    background: white;
}

/* Section */
.section {
    padding: 4rem 0;
}

.section-header {
    text-align: center;
    margin-bottom: 3rem;
}

.section-title {
    font-size: 2.5rem;
    margin-bottom: 1rem;
    position: relative;
    display: inline-block;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.section-subtitle {
    color: var(--text-secondary);
    font-size: 1.1rem;
    max-width: 600px;
    margin: 0 auto;
}

/* Product Grid */
.products-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product Card */
.product-card {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.product-card:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-image-wrapper {
    position: relative;
    overflow: hidden;
    height: 220px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
}

.product-card:hover .product-image {
    transform: scale(1.1);
}

.product-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.product-badge.discount {
    background: var(--error-color);
}

.product-badge.new {
    background: var(--success-color);
}

.product-actions {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.product-card:hover .product-actions {
    opacity: 1;
}

.product-action-btn {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1.2rem;
}

.product-action-btn:hover {
    background: var(--primary-color);
    border-color: var(--primary-color);
    color: white;
    transform: scale(1.1);
}

.product-action-btn:active {
    transform: scale(0.95);
}

.product-info {
    padding: 1.5rem;
}

.product-category {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title {
    font-size: 1.2rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-description {
    color: var(--text-secondary);
    font-size: 0.9rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.stars {
    color: var(--accent-color);
    font-size: 1rem;
}

.rating-value {
    color: var(--text-secondary);
    font-size: 0.9rem;
}

.product-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Search Bar */
.search-section {
    background: var(--bg-secondary);
    padding: 3rem 0;
}

.search-bar {
    max-width: 800px;
    margin: 0 auto;
    position: relative;
}

.search-input {
    width: 100%;
    padding: 1.2rem 4rem 1.2rem 3.5rem;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
}

.search-input:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.15);
}

.search-icon {
    position: absolute;
    left: 1.5rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    font-size: 1.2rem;
}

.search-btn {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.8rem 2rem;
    border-radius: 50px;
}

.search-suggestions {
    position: absolute;
    top: 100%;
    left: 0;
    right: 0;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    margin-top: 0.5rem;
    max-height: 400px;
    overflow-y: auto;
    display: none;
    z-index: 100;
}

.search-suggestions.active {
    display: block;
}

.suggestion-item {
    padding: 1rem 1.5rem;
    cursor: pointer;
    transition: background 0.2s ease;
    display: flex;
    align-items: center;
    gap: 1rem;
}

.suggestion-item:hover {
    background: var(--bg-secondary);
}

.suggestion-image {
    width: 50px;
    height: 50px;
    object-fit: cover;
    border-radius: 8px;
}

.suggestion-info {
    flex: 1;
}

.suggestion-title {
    font-weight: 600;
    color: var(--text-primary);
}

.suggestion-price {
    color: var(--primary-color);
    font-weight: 600;
}

/* About Section */
.about-section {
    background: var(--bg-card);
    padding: 4rem 0;
}

.about-content {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
}

.about-image {
    width: 100%;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.about-text h2 {
    margin-bottom: 1.5rem;
}

.about-text p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
    margin-top: 2rem;
}

.feature-item {
    display: flex;
    align-items: start;
    gap: 1rem;
}

.feature-icon {
    width: 50px;
    height: 50px;
    border-radius: 12px;
    background: var(--gradient-primary);
    color: white;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    flex-shrink: 0;
}

.feature-text h4 {
    margin-bottom: 0.5rem;
}

.feature-text p {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

/* Footer */
.footer {
    background: var(--bg-secondary);
    padding: 3rem 0 1.5rem;
    border-top: 1px solid var(--border-color);
}

.footer-grid {
    display: grid;
    grid-template-columns: 2fr 1fr 1fr 1fr 1.5fr;
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-section h4 {
    margin-bottom: 1.5rem;
    font-size: 1.1rem;
}

.footer-description {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 1rem;
}

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

.social-link {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    background: var(--bg-tertiary);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.social-link:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-links {
    list-style: none;
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
}

.footer-link {
    color: var(--text-secondary);
    transition: color 0.3s ease;
}

.footer-link:hover {
    color: var(--primary-color);
}

.map-container {
    border-radius: 12px;
    overflow: hidden;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    text-align: center;
    color: var(--text-secondary);
}

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

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-50px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

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

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

.animate-fade-in {
    animation: fadeIn 0.6s ease-out;
}

.animate-slide-left {
    animation: slideInLeft 0.6s ease-out;
}

.animate-slide-right {
    animation: slideInRight 0.6s ease-out;
}

/* Loading */
.loading {
    display: inline-block;
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 0.8s linear infinite;
}

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

/* Responsive */
@media (max-width: 1024px) {
    .container {
        padding: 0 1.5rem;
    }
    
    .about-content,
    .footer-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 2rem;
    }
    
    .features-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 768px) {
    .nav {
        display: none;
    }
    
    .products-grid {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    .slider {
        height: 400px;
    }
    
    .slide-title {
        font-size: 2rem;
    }
    
    h1 { font-size: 2rem; }
    h2 { font-size: 1.75rem; }
}

/* Auth Pages */
.auth-page {
    min-height: calc(100vh - 400px);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.auth-form-wrapper {
    width: 100%;
    max-width: 500px;
}

.auth-form {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
}

.auth-form h1 {
    text-align: center;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

.register-form {
    max-width: 700px;
}

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

.form-group {
    margin-bottom: 1.5rem;
}

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

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 1rem;
    transition: all 0.3s ease;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.15);
}

.btn-block {
    width: 100%;
}

.auth-links {
    text-align: center;
    margin-top: 1.5rem;
    color: var(--text-secondary);
}

.auth-links a {
    color: var(--primary-color);
    font-weight: 600;
}

.avatar-upload {
    margin-top: 0.5rem;
}

.avatar-preview {
    width: 150px;
    height: 150px;
    border-radius: 50%;
    border: 3px dashed var(--border-color);
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
}

.avatar-preview:hover {
    border-color: var(--primary-color);
    background: var(--bg-secondary);
}

.avatar-preview img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

/* Alerts */
.alert {
    padding: 1rem 1.5rem;
    border-radius: 10px;
    margin-bottom: 1.5rem;
    font-weight: 500;
}

.alert-error {
    background: rgba(239, 68, 68, 0.1);
    color: var(--error-color);
    border: 1px solid var(--error-color);
}

.alert-success {
    background: rgba(16, 185, 129, 0.1);
    color: var(--success-color);
    border: 1px solid var(--success-color);
}

/* Profile Page */
/* ===========================
   Profile Page - Redesigned
   =========================== */
.profile-page {
    padding: 2rem 0;
    min-height: calc(100vh - 400px);
    background: var(--bg-primary);
}

.profile-header {
    display: flex;
    align-items: center;
    gap: 2rem;
    padding: 2.5rem;
    background: linear-gradient(135deg, #2980b9 0%, #1a5276 100%);
    border-radius: 20px;
    margin-bottom: 2rem;
    box-shadow: var(--shadow-lg);
    position: relative;
    overflow: hidden;
}

.profile-header::before {
    content: '';
    position: absolute;
    top: -50%;
    right: -10%;
    width: 300px;
    height: 300px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
}

.profile-actions {
    margin-left: auto;
}

.profile-actions .btn {
    white-space: nowrap;
}

.profile-avatar {
    width: 100px;
    height: 100px;
    border-radius: 50%;
    overflow: hidden;
    flex-shrink: 0;
    border: 4px solid rgba(255, 255, 255, 0.3);
    box-shadow: var(--shadow-md);
    background: white;
}

.profile-avatar img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.profile-info h1 {
    margin-bottom: 0.5rem;
    color: white;
    font-size: 1.8rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.2);
}

.profile-info .nickname {
    color: rgba(255, 255, 255, 0.9);
    font-weight: 500;
    margin-bottom: 0.5rem;
    font-size: 1rem;
}

.profile-info .email {
    color: rgba(255, 255, 255, 0.8);
    font-size: 0.95rem;
}

.profile-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 1.5rem;
}

.profile-section {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.profile-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 3px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 3px 0 0 3px;
}

.profile-section:hover {
    transform: translateY(-2px);
    box-shadow: var(--shadow-md);
}

.profile-section h2 {
    margin-bottom: 1rem;
    padding-bottom: 0.75rem;
    border-bottom: 1px solid var(--border-color);
    color: var(--text-primary);
    font-size: 1.2rem;
    display: flex;
    align-items: center;
    gap: 8px;
}

.profile-section h2::before {
    content: '📌';
    font-size: 1rem;
}

.orders-list {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.order-item {
    padding: 1.5rem;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    border-radius: 16px;
    border-left: 4px solid var(--primary-color);
    transition: all 0.3s ease;
}

.order-item:hover {
    transform: translateX(5px);
    box-shadow: var(--shadow-md);
}

.order-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.order-number {
    font-weight: 700;
    color: var(--primary-color);
}

.order-status {
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
}

.status-pending { background: #fef3c7; color: #d97706; }
.status-paid { background: #dbeafe; color: #2563eb; }
.status-processing { background: #fee2e2; color: #dc2626; }
.status-completed { background: #d1fae5; color: #059669; }
.status-cancelled { background: #fee2e2; color: #dc2626; }

.order-details p {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
}

.order-total {
    font-weight: 700;
    color: var(--primary-color);
    font-size: 1.2rem;
}

.view-history-list {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    max-width: 100%;
}

.view-item {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.6rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 10px;
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
    width: 100%;
    box-sizing: border-box;
}

.view-item:hover {
    background: var(--bg-tertiary);
    transform: translateX(3px);
    border-color: var(--primary-color);
}

.view-item img {
    width: 50px;
    height: 50px;
    border-radius: 8px;
    object-fit: cover;
}

.view-info {
    flex: 1;
}

.view-info a {
    font-weight: 600;
    color: var(--text-primary);
    display: block;
    margin-bottom: 0.25rem;
    font-size: 0.95rem;
}

.view-time {
    font-size: 0.8rem;
    color: var(--text-muted);
}

.sessions-table {
    width: 100%;
    border-collapse: collapse;
    background: var(--bg-secondary);
    border-radius: 12px;
    overflow: hidden;
}

.sessions-table th,
.sessions-table td {
    padding: 1rem;
    text-align: left;
    border-bottom: 1px solid var(--border-color);
}

.sessions-table th {
    font-weight: 600;
    color: var(--text-secondary);
    background: var(--bg-tertiary);
    text-transform: uppercase;
    font-size: 0.85rem;
    letter-spacing: 0.5px;
}

.sessions-table tbody tr {
    transition: all 0.3s ease;
}

.sessions-table tbody tr:hover {
    background: var(--bg-tertiary);
}

.no-data {
    color: var(--text-muted);
    text-align: center;
    padding: 2rem;
}

/* Products Page */
/* ===========================
   Каталог товаров - Современный дизайн
   =========================== */

.products-page {
    padding: 2rem 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 400px);
}

.page-header {
    margin-bottom: 2rem;
    text-align: center;
}

.page-header h1 {
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.page-header p {
    color: var(--text-secondary);
    font-size: 1.1rem;
}

.products-layout {
    display: grid;
    grid-template-columns: 300px 1fr;
    gap: 2rem;
}

.filters-sidebar {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}

.filter-group {
    margin-bottom: 1.5rem;
    padding-bottom: 1.5rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-group:last-child {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.filter-group h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-weight: 700;
}

.filter-input,
.filter-select {
    width: 100%;
    padding: 0.875rem 1rem;
    border: 2px solid var(--border-color);
    border-radius: 12px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.95rem;
    transition: all 0.3s ease;
}

.filter-input:focus,
.filter-select:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.1);
}

.price-range {
    display: flex;
    gap: 0.75rem;
}

.checkbox-label {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    cursor: pointer;
    color: var(--text-secondary);
    padding: 0.5rem;
    border-radius: 8px;
    transition: background 0.3s ease;
}

.checkbox-label:hover {
    background: var(--bg-secondary);
}

.checkbox-label input[type="checkbox"] {
    width: 20px;
    height: 20px;
    cursor: pointer;
    accent-color: var(--primary-color);
}

.promotions-banner {
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.promo-item {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.promo-item:hover {
    transform: translateY(-5px);
}

.promo-discount {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

.no-products {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.no-products h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.no-products p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* Product Page */
.product-page {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.breadcrumbs {
    margin-bottom: 2rem;
    color: var(--text-secondary);
}

.breadcrumbs a {
    color: var(--primary-color);
}

.product-detail {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 3rem;
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.product-gallery {
    position: relative;
}

.main-image-wrap {
    width: 100%;
    background: var(--bg-secondary);
    border-radius: 16px;
    overflow: hidden;
    aspect-ratio: 4/3;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    margin-bottom: 12px;
}

.main-image {
    width: 100%;
    height: 100%;
    object-fit: contain;
    border-radius: 16px;
    transition: opacity 0.2s ease;
}

/* Галерея миниатюр */
.gallery-thumbs {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
}

.gallery-thumb {
    width: 68px;
    height: 68px;
    border-radius: 10px;
    overflow: hidden;
    border: 2px solid var(--border-color);
    cursor: pointer;
    background: var(--bg-secondary);
    flex-shrink: 0;
    transition: border-color 0.2s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

.gallery-thumb img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    padding: 3px;
}

.gallery-thumb.active,
.gallery-thumb:hover {
    border-color: var(--primary-color);
}

.product-meta {
    display: flex;
    gap: 1rem;
    margin-bottom: 1rem;
}

.product-category,
.product-platform {
    padding: 0.25rem 0.75rem;
    background: var(--bg-secondary);
    border-radius: 20px;
    font-size: 0.85rem;
    font-weight: 600;
    color: var(--primary-color);
}

.product-rating-large {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.rating-count {
    color: var(--text-muted);
}

.product-price-large {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1.5rem;
}

.price-current {
    font-size: 2.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-old {
    font-size: 1.5rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

.price-discount {
    background: var(--error-color);
    color: white;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    font-weight: 600;
}

.product-description-full {
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1.5rem;
}

.product-status {
    margin-bottom: 1.5rem;
}

.in-stock {
    color: var(--success-color);
    font-weight: 600;
}

.out-of-stock {
    color: var(--error-color);
    font-weight: 600;
}

.product-actions-large {
    display: flex;
    gap: 1rem;
    margin-bottom: 2rem;
}

.system-requirements {
    background: var(--bg-secondary);
    padding: 1.5rem;
    border-radius: 12px;
}

.system-requirements pre {
    white-space: pre-wrap;
    word-wrap: break-word;
    font-family: monospace;
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.reviews-section {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 20px;
    margin-bottom: 3rem;
    box-shadow: var(--shadow-md);
}

.review-form-wrapper {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.user-review-display {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.review-status-block {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.review-content-preview {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 12px;
    border-left: 4px solid var(--accent-color);
}

.review-rating-display {
    color: var(--accent-color);
    font-size: 1.5rem;
    margin-bottom: 0.5rem;
}

.review-comment-preview {
    color: var(--text-primary);
    line-height: 1.6;
}

.review-edit-wrapper {
    background: var(--bg-secondary);
    padding: 2rem;
    border-radius: 16px;
    margin-bottom: 2rem;
}

.form-actions {
    display: flex;
    gap: 1rem;
    margin-top: 1rem;
}

.stars-input {
    display: flex;
    flex-direction: row-reverse;
    justify-content: flex-end;
    gap: 0.25rem;
}

.stars-input input {
    display: none;
}

.stars-input label {
    font-size: 2rem;
    color: var(--text-muted);
    cursor: pointer;
    transition: color 0.2s;
}

.stars-input input:checked ~ label,
.stars-input label:hover,
.stars-input label:hover ~ label {
    color: var(--accent-color);
}

.review-form textarea {
    width: 100%;
    padding: 1rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    resize: vertical;
    font-family: inherit;
    margin: 1rem 0;
}

.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.review-item {
    padding: 1.5rem;
    background: var(--bg-secondary);
    border-radius: 12px;
}

.review-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 1rem;
}

.review-author {
    display: flex;
    align-items: center;
    gap: 1rem;
}

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

.author-name {
    font-weight: 600;
    display: block;
}

.author-nickname {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.review-rating {
    color: var(--accent-color);
    font-size: 1.2rem;
}

.review-comment {
    color: var(--text-secondary);
    line-height: 1.6;
    margin-bottom: 0.5rem;
}

.review-date {
    font-size: 0.85rem;
    color: var(--text-muted);
}

.related-products {
    margin-top: 3rem;
}

/* Cart Page */
.cart-page {
    padding: 3rem 0;
    min-height: calc(100vh - 400px);
}

.cart-layout {
    display: grid;
    grid-template-columns: 1fr 350px;
    gap: 2rem;
    margin-bottom: 3rem;
}

.cart-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.cart-item {
    display: flex;
    align-items: center;
    gap: 1.5rem;
    padding: 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
}

.cart-item-image {
    width: 100px;
    height: 100px;
    border-radius: 12px;
    object-fit: cover;
}

.cart-item-info {
    flex: 1;
}

.cart-item-info h3 {
    margin-bottom: 0.5rem;
}

.cart-item-price {
    color: var(--primary-color);
    font-weight: 700;
    font-size: 1.2rem;
}

.cart-item-quantity,
.cart-item-total {
    color: var(--text-secondary);
    font-size: 0.95rem;
}

.cart-summary {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    height: fit-content;
}

.summary-row {
    display: flex;
    justify-content: space-between;
    padding: 1rem 0;
    border-bottom: 1px solid var(--border-color);
}

.summary-total {
    font-size: 1.5rem;
    font-weight: 700;
    border-bottom: none;
    margin-top: 1rem;
}

.favorites-news,
.news-recommendations {
    margin-top: 3rem;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
}

.news-item {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
}

.news-item img {
    width: 100%;
    height: 180px;
    object-fit: cover;
}

.news-info {
    padding: 1.5rem;
}

.empty-cart {
    text-align: center;
    padding: 5rem 2rem;
    background: linear-gradient(180deg, var(--bg-secondary) 0%, var(--bg-card) 100%);
    border-radius: 24px;
    border: 2px dashed var(--border-color);
}

.empty-cart h2 {
    margin-bottom: 1rem;
    color: var(--primary-color);
    font-size: 2rem;
}

.empty-cart p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Checkout Page */
/* ===========================
   Оформление заказа - Современный дизайн
   =========================== */

.checkout-page {
    padding: 2rem 0;
    background: var(--bg-secondary);
    min-height: calc(100vh - 400px);
}

.checkout-page h1 {
    text-align: center;
    font-size: 2.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 2rem;
}

.checkout-layout {
    display: grid;
    grid-template-columns: 1.5fr 1fr;
    gap: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.checkout-form-wrapper {
    background: var(--bg-card);
    padding: 2.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
}

.checkout-section {
    margin-bottom: 2rem;
    padding-bottom: 2rem;
    border-bottom: 1px solid var(--border-color);
}

.checkout-section:last-of-type {
    border-bottom: none;
    margin-bottom: 0;
    padding-bottom: 0;
}

.checkout-section h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    display: flex;
    align-items: center;
    gap: 0.75rem;
}

.checkout-section h2::before {
    content: '';
    width: 4px;
    height: 24px;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.radio-group {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.radio-label {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.25rem 1.5rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.radio-label:hover {
    background: var(--bg-tertiary);
    transform: translateX(5px);
}

.radio-label input[type="radio"] {
    width: 22px;
    height: 22px;
    accent-color: var(--primary-color);
}

.radio-label:has(input:checked) {
    background: var(--bg-tertiary);
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.1);
}

.radio-label span {
    font-weight: 500;
    color: var(--text-primary);
    flex: 1;
}

.checkout-summary {
    background: var(--bg-card);
    padding: 2rem;
    border-radius: 24px;
    box-shadow: var(--shadow-md);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
}

.checkout-summary h2 {
    font-size: 1.3rem;
    color: var(--text-primary);
    margin-bottom: 1.5rem;
    padding-bottom: 1rem;
    border-bottom: 2px solid var(--border-color);
}

.order-items {
    display: flex;
    flex-direction: column;
    gap: 1rem;
    margin: 1.5rem 0;
    max-height: 400px;
    overflow-y: auto;
    padding-right: 0.5rem;
}

.order-item-summary {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem;
    background: var(--bg-secondary);
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.order-item-summary:hover {
    transform: translateX(5px);
    background: var(--bg-tertiary);
}

.order-item-summary img {
    width: 70px;
    height: 70px;
    border-radius: 12px;
    object-fit: cover;
    box-shadow: var(--shadow-sm);
}

.order-item-info {
    flex: 1;
}

.order-item-info h4 {
    font-size: 1rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    font-weight: 600;
}

.order-item-info p {
    font-size: 0.9rem;
    color: var(--text-secondary);
}

.order-total {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.5rem 0 0 0;
    margin-top: 1.5rem;
    border-top: 2px solid var(--border-color);
    font-size: 1.3rem;
    font-weight: 700;
}

.total-price {
    color: var(--primary-color);
    font-size: 1.8rem;
}

/* Notifications */
.notification {
    position: fixed;
    bottom: -100px;
    right: 2rem;
    padding: 1rem 1.5rem;
    background: var(--bg-card);
    border-radius: 12px;
    box-shadow: var(--shadow-xl);
    display: flex;
    align-items: center;
    gap: 1rem;
    z-index: 9999;
    transition: all 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
    opacity: 0;
    transform: translateY(20px);
}

.notification.show {
    bottom: 2rem;
    opacity: 1;
    transform: translateY(0);
}

.notification-success { 
    border-left: 4px solid var(--success-color);
    background: linear-gradient(90deg, rgba(39, 174, 96, 0.1) 0%, var(--bg-card) 100%);
}
.notification-error { 
    border-left: 4px solid var(--error-color);
    background: linear-gradient(90deg, rgba(231, 76, 60, 0.1) 0%, var(--bg-card) 100%);
}
.notification-warning { 
    border-left: 4px solid var(--warning-color);
    background: linear-gradient(90deg, rgba(243, 156, 18, 0.1) 0%, var(--bg-card) 100%);
}
.notification-info { 
    border-left: 4px solid var(--info-color);
    background: linear-gradient(90deg, rgba(41, 128, 185, 0.1) 0%, var(--bg-card) 100%);
}

.notification-icon {
    font-size: 1.5rem;
    font-weight: bold;
}

.notification-message {
    font-weight: 500;
    color: var(--text-primary);
}

/* Mobile Responsive */
@media (max-width: 1024px) {
    .products-layout,
    .cart-layout,
    .checkout-layout {
        grid-template-columns: 1fr;
    }
    
    .product-detail {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar {
        order: -1;
    }
}

@media (max-width: 768px) {
    .form-row {
        grid-template-columns: 1fr;
    }
    
    .profile-header {
        flex-direction: column;
        text-align: center;
    }
    
    .cart-item {
        flex-direction: column;
        text-align: center;
    }
    
    .product-actions-large {
        flex-direction: column;
    }
}

/* ===========================
   Modern Homepage Design
   =========================== */

/* Hero Modern Section */
.hero-modern {
    padding: 5rem 0;
    background: linear-gradient(135deg, var(--bg-secondary) 0%, var(--bg-tertiary) 100%);
    position: relative;
    overflow: hidden;
}

.hero-bg-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 50%, rgba(41, 128, 185, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 80%, rgba(52, 152, 219, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-container {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    position: relative;
    z-index: 1;
}

.hero-content {
    animation: fadeIn 0.8s ease-out;
}

.hero-badge {
    display: inline-block;
    background: var(--gradient-primary);
    color: white;
    padding: 0.5rem 1.5rem;
    border-radius: 50px;
    font-weight: 600;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.hero-title {
    font-size: 3.5rem;
    line-height: 1.1;
    margin-bottom: 1.5rem;
}

.gradient-text {
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.hero-description {
    font-size: 1.2rem;
    color: var(--text-secondary);
    margin-bottom: 2rem;
    line-height: 1.8;
}

.hero-buttons {
    display: flex;
    gap: 1rem;
    margin-bottom: 3rem;
}

.btn-lg {
    padding: 1rem 2rem;
    font-size: 1.1rem;
}

.btn-sm {
    padding: 0.5rem 1rem;
    font-size: 0.9rem;
}

.hero-stats {
    display: flex;
    gap: 3rem;
}

.stat-item {
    display: flex;
    flex-direction: column;
}

.stat-number {
    font-size: 2rem;
    font-weight: 700;
    color: var(--primary-color);
}

.stat-label {
    font-size: 0.9rem;
    color: var(--text-muted);
}

.hero-image {
    position: relative;
    height: 500px;
    animation: float 3s ease-in-out infinite;
}

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

.floating-card {
    position: absolute;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-xl);
    overflow: hidden;
    transition: transform 0.3s ease;
}

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

.floating-card img {
    width: 150px;
    height: 200px;
    object-fit: cover;
}

.float-badge {
    position: absolute;
    top: 10px;
    right: 10px;
    background: var(--error-color);
    color: white;
    padding: 0.3rem 0.8rem;
    border-radius: 8px;
    font-size: 0.8rem;
    font-weight: 700;
}

.card-1 { top: 10%; left: 10%; transform: rotate(-10deg); }
.card-2 { top: 30%; right: 10%; transform: rotate(5deg); }
.card-3 { bottom: 10%; left: 20%; transform: rotate(-5deg); }

/* Search Section Modern */
.search-section-modern {
    background: var(--bg-primary);
    padding: 2rem 0;
}

.search-bar-modern {
    max-width: 700px;
    margin: 0 auto;
    position: relative;
}

.search-input-modern {
    width: 100%;
    padding: 1.2rem 4rem 1.2rem 3.5rem;
    border-radius: 50px;
    border: 2px solid var(--border-color);
    background: var(--bg-card);
    color: var(--text-primary);
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: var(--shadow-md);
}

.search-input-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: var(--shadow-lg);
}

.search-btn-modern {
    position: absolute;
    right: 0.5rem;
    top: 50%;
    transform: translateY(-50%);
    padding: 0.8rem 2rem;
    border-radius: 50px;
}

/* Categories Section */
.categories-section {
    padding: 3rem 0;
    background: var(--bg-secondary);
}

.categories-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 1.5rem;
}

.category-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 2rem 1.5rem;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-sm);
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.category-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
}

.category-icon {
    font-size: 3rem;
    margin-bottom: 1rem;
}

.category-name {
    font-weight: 600;
    color: var(--text-primary);
}

/* Section Popular */
.section-popular {
    background: var(--bg-primary);
}

/* Section Header Modern */
.section-header-modern {
    text-align: center;
    margin-bottom: 3rem;
    position: relative;
}

.section-header-modern .btn-link {
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    color: var(--primary-color);
    font-weight: 600;
    padding: 0.5rem 1rem;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.section-header-modern .btn-link:hover {
    background: var(--bg-secondary);
}

/* Products Grid Modern */
.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

.product-card-modern {
    background: var(--bg-card);
    border-radius: 16px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.product-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-badge-modern {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--error-color);
    color: white;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    font-size: 0.85rem;
    font-weight: 600;
    z-index: 2;
}

.product-image-wrapper-modern {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-modern {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.3s ease;
    padding: 8px;
}

.product-card-modern:hover .product-image-modern {
    transform: scale(1.05);
}

.product-actions-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    opacity: 0;
    transition: opacity 0.3s ease;
    pointer-events: auto;
}

.product-card-modern:hover .product-actions-modern {
    opacity: 1;
}

.product-action-btn-modern {
    width: 40px;
    height: 40px;
    border-radius: 50%;
    background: white;
    border: 2px solid var(--border-color);
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-size: 1.2rem;
    pointer-events: auto;
}

.product-action-btn-modern.primary {
    background: var(--gradient-primary);
    color: white;
    border-color: transparent;
}

.product-action-btn-modern:hover {
    transform: scale(1.1);
}

.product-info-modern {
    padding: 1.5rem;
}

.product-category-modern {
    color: var(--primary-color);
    font-size: 0.85rem;
    font-weight: 600;
    text-transform: uppercase;
    margin-bottom: 0.5rem;
}

.product-title-modern {
    font-size: 1.1rem;
    font-weight: 700;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.product-rating-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1rem;
}

.product-footer-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.product-price-modern {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-current {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--primary-color);
}

.price-old {
    font-size: 1rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* Empty State */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    border: 2px dashed var(--border-color);
}

.empty-icon {
    font-size: 4rem;
    display: block;
    margin-bottom: 1rem;
}

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

.empty-state p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
}

/* About Section Modern */
.about-section-modern {
    padding: 5rem 0;
    background: var(--bg-primary);
}

.about-header-modern {
    text-align: center;
    margin-bottom: 3rem;
}

.about-header-modern h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.about-header-modern p {
    color: var(--text-secondary);
    font-size: 1.2rem;
}

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

.feature-card-modern {
    background: var(--bg-card);
    padding: 2.5rem 2rem;
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 2px solid transparent;
    text-align: center;
}

.feature-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.feature-icon-modern {
    width: 80px;
    height: 80px;
    margin: 0 auto 1.5rem;
    background: var(--gradient-primary);
    border-radius: 20px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: white;
}

.feature-card-modern h3 {
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.feature-card-modern p {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Promotions Section Modern */
.section-promotions-modern {
    background: var(--bg-secondary);
}

.promotions-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.promotion-card-modern {
    background: var(--gradient-primary);
    color: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    overflow: hidden;
    transition: transform 0.3s ease;
}

.promotion-card-modern:hover {
    transform: translateY(-5px);
}

.promotion-badge {
    position: absolute;
    top: 1.5rem;
    right: 1.5rem;
    background: white;
    color: var(--primary-color);
    padding: 0.5rem 1rem;
    border-radius: 50px;
    font-weight: 700;
    font-size: 1.2rem;
}

.promotion-content h3 {
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.promotion-content p {
    opacity: 0.9;
    margin-bottom: 1.5rem;
    line-height: 1.6;
}

.promotion-timer {
    display: flex;
    align-items: center;
    gap: 1rem;
    background: rgba(255, 255, 255, 0.2);
    padding: 1rem;
    border-radius: 12px;
}

.timer-label {
    font-size: 0.9rem;
    opacity: 0.9;
}

.timer-date {
    font-weight: 700;
    font-size: 1.1rem;
}

/* News Section Modern */
.section-news-modern {
    background: var(--bg-primary);
}

.news-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
    gap: 2rem;
}

.news-card-modern {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.news-card-modern:hover {
    transform: translateY(-8px);
    box-shadow: var(--shadow-xl);
}

.news-image-wrapper {
    position: relative;
    height: 200px;
    overflow: hidden;
}

.news-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.news-card-modern:hover .news-image {
    transform: scale(1.1);
}

.news-category {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--gradient-primary);
    color: white;
    padding: 0.4rem 1rem;
    border-radius: 50px;
    font-size: 0.85rem;
    font-weight: 600;
}

.news-content {
    padding: 1.5rem;
}

.news-content h3 {
    font-size: 1.2rem;
    margin-bottom: 1rem;
    color: var(--text-primary);
}

.news-content p {
    color: var(--text-secondary);
    margin-bottom: 1.5rem;
    line-height: 1.6;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding-top: 1rem;
    border-top: 1px solid var(--border-color);
}

.news-date {
    color: var(--text-muted);
    font-size: 0.9rem;
}

.news-link {
    color: var(--primary-color);
    font-weight: 600;
    transition: color 0.3s ease;
}

.news-link:hover {
    color: var(--primary-dark);
}

/* Responsive for modern homepage */
@media (max-width: 1024px) {
    .hero-container {
        grid-template-columns: 1fr;
        text-align: center;
    }
    
    .hero-image {
        display: none;
    }
    
    .hero-stats {
        justify-content: center;
    }
    
    .hero-buttons {
        justify-content: center;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .hero-stats {
        flex-direction: column;
        gap: 1.5rem;
    }
    
    .categories-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .features-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .promotions-grid-modern,
    .news-grid-modern {
        grid-template-columns: 1fr;
    }
}

/* ===========================
   Game Roulette Section
   =========================== */
.section-roulette {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    padding: 4rem 0;
    position: relative;
    overflow: hidden;
}

.section-roulette::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: url("data:image/svg+xml,%3Csvg width='60' height='60' viewBox='0 0 60 60' xmlns='http://www.w3.org/2000/svg'%3E%3Cg fill='none' fill-rule='evenodd'%3E%3Cg fill='%23ffffff' fill-opacity='0.05'%3E%3Cpath d='M36 34v-4h-2v4h-4v2h4v4h2v-4h4v-2h-4zm0-30V0h-2v4h-4v2h4v4h2V6h4V4h-4zM6 34v-4H4v4H0v2h4v4h2v-4h4v-2H6zM6 4V0H4v4H0v2h4v4h2V6h4V4H6z'/%3E%3C/g%3E%3C/g%3E%3C/svg%3E");
    opacity: 0.3;
}

.roulette-container {
    position: relative;
    max-width: 900px;
    margin: 0 auto;
    text-align: center;
    z-index: 100;
    display: none;
    opacity: 0;
    transition: opacity 0.5s ease;
}

.roulette-window {
    background: rgba(255, 255, 255, 0.95);
    border-radius: 16px;
    padding: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
    overflow: hidden;
    position: relative;
    margin-bottom: 20px;
    max-width: 100%;
    height: 220px;
}

.roulette-track {
    display: flex;
    gap: 15px;
    will-change: transform;
    position: absolute;
    left: 0;
    top: 20px;
    white-space: nowrap;
    width: max-content;
}

.roulette-card {
    min-width: 180px;
    width: 180px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 12px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    flex-shrink: 0;
    color: white !important;
}

.roulette-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
}

.roulette-card-image {
    font-size: 3rem;
    margin-bottom: 10px;
    color: white !important;
}

.roulette-card-title {
    font-size: 0.95rem;
    font-weight: 600;
    color: white !important;
    margin-bottom: 5px;
    line-height: 1.3;
}

.roulette-card-genre {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.9) !important;
    background: rgba(255, 255, 255, 0.2);
    padding: 3px 10px;
    border-radius: 20px;
    display: inline-block;
}

.roulette-indicator {
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: linear-gradient(to bottom, #ff6b6b, #ee5a6f);
    z-index: 10;
    box-shadow: 0 0 10px rgba(255, 107, 107, 0.8);
    border-radius: 2px;
    pointer-events: none;
    overflow: hidden;
}

.roulette-indicator::before,
.roulette-indicator::after {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    border-left: 6px solid transparent;
    border-right: 6px solid transparent;
}

.roulette-indicator::before {
    top: -2px;
    border-top: 10px solid #ff6b6b;
}

.roulette-indicator::after {
    bottom: -2px;
    border-bottom: 10px solid #ff6b6b;
}

.btn-roulette {
    font-size: 1.3rem;
    padding: 18px 40px;
    border-radius: 50px;
    background: linear-gradient(135deg, #f093fb 0%, #f5576c 100%);
    border: none;
    color: white;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 6px 20px rgba(245, 87, 108, 0.4);
    margin-bottom: 20px;
    display: block;
    margin-left: auto;
    margin-right: auto;
    z-index: 100;
    position: relative;
}

.btn-roulette:hover:not(:disabled) {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(245, 87, 108, 0.5);
}

.btn-roulette:disabled {
    opacity: 0.6;
    cursor: not-allowed;
    transform: none;
}

.roulette-result {
    margin-top: 20px;
    animation: fadeIn 0.5s ease;
    position: relative;
    z-index: 100;
}

.result-card {
    background: white;
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
    display: inline-block;
    max-width: 400px;
    color: #2d3748;
}

.result-emoji {
    font-size: 4rem;
    margin-bottom: 10px;
    animation: bounce 0.6s ease infinite alternate;
}

.result-game {
    font-size: 1.8rem;
    font-weight: 700;
    color: #2d3748 !important;
    margin: 15px 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.result-genre {
    font-size: 1rem;
    color: #718096 !important;
    margin-bottom: 20px;
}

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

@keyframes spinRoulette {
    0% { transform: translateX(0); }
    100% { transform: translateX(-7800px); }
}

@media (max-width: 768px) {
    .roulette-card {
        min-width: 140px;
        padding: 15px;
    }
    
    .roulette-card-image {
        font-size: 2.5rem;
    }
    
    .roulette-card-title {
        font-size: 0.85rem;
    }
    
    .btn-roulette {
        font-size: 1.1rem;
        padding: 15px 30px;
    }
}

/* ===========================
   Info Pages - Modern Design
   =========================== */

.info-page {
    padding: 4rem 0;
    min-height: calc(100vh - 300px);
}

.info-page .container {
    max-width: 1200px;
}

.info-header {
    text-align: center;
    margin-bottom: 4rem;
    position: relative;
}

.info-title {
    font-size: 3rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 1rem;
    animation: fadeInDown 0.8s cubic-bezier(0.4, 0, 0.2, 1);
    line-height: 1.2;
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.info-subtitle {
    font-size: 1.15rem;
    color: var(--text-secondary);
    max-width: 600px;
    margin: 0 auto;
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.2s backwards;
    line-height: 1.5;
}

.info-content {
    animation: fadeInUp 0.8s cubic-bezier(0.4, 0, 0.2, 1) 0.4s backwards;
}

/* Info Cards Grid */
.info-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.info-card {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    max-width: 100%;
}

.info-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 4px;
    background: var(--gradient-primary);
    transform: scaleX(0);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover {
    transform: translateY(-10px);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-light);
}

.info-card:hover::before {
    transform: scaleX(1);
}

.info-card-icon {
    width: 70px;
    height: 70px;
    background: var(--gradient-primary);
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2rem;
    color: white;
    margin-bottom: 1.5rem;
    box-shadow: var(--shadow-md);
}

.info-card-title {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 1rem;
}

.info-card-text {
    color: var(--text-secondary);
    line-height: 1.7;
    font-size: 0.95rem;
    word-wrap: break-word;
    overflow-wrap: break-word;
    max-width: 100%;
}

.info-card-list {
    list-style: none;
    margin-top: 1rem;
}

.info-card-list li {
    padding: 0.75rem 0;
    padding-left: 2rem;
    position: relative;
    color: var(--text-secondary);
    border-bottom: 1px solid var(--border-color);
}

.info-card-list li:last-child {
    border-bottom: none;
}

.info-card-list li::before {
    content: '✓';
    position: absolute;
    left: 0;
    color: var(--success-color);
    font-weight: 700;
    font-size: 1.1rem;
}

/* Feature Section */
.info-feature {
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 4rem;
    align-items: center;
    margin: 4rem 0;
    padding: 3rem;
    background: var(--bg-secondary);
    border-radius: 24px;
}

.info-feature.reverse {
    direction: rtl;
}

.info-feature.reverse > * {
    direction: ltr;
}

.info-feature-image {
    width: 100%;
    height: 350px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: var(--shadow-xl);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-feature:hover .info-feature-image {
    transform: scale(1.02);
}

.info-feature-content h2 {
    font-size: 2.2rem;
    margin-bottom: 1.5rem;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.info-feature-content p {
    color: var(--text-secondary);
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* Stats Section */
.info-stats {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 2rem;
    margin: 4rem 0;
}

.info-stat {
    text-align: center;
    padding: 2.5rem 2rem;
    background: var(--bg-card);
    border-radius: 20px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-stat:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
}

.info-stat-number {
    font-size: 3.5rem;
    font-weight: 800;
    background: var(--gradient-primary);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-bottom: 0.5rem;
}

.info-stat-label {
    color: var(--text-secondary);
    font-size: 1.1rem;
    font-weight: 500;
}

/* Timeline */
.info-timeline {
    position: relative;
    padding: 2rem 0;
    margin: 4rem 0;
}

.info-timeline::before {
    content: '';
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 4px;
    height: 100%;
    background: var(--gradient-primary);
    border-radius: 2px;
}

.timeline-item {
    display: flex;
    justify-content: flex-end;
    padding-right: 50%;
    position: relative;
    margin-bottom: 3rem;
}

.timeline-item:nth-child(even) {
    justify-content: flex-start;
    padding-right: 0;
    padding-left: 50%;
}

.timeline-content {
    width: calc(50% - 50px);
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    position: relative;
}

.timeline-item:nth-child(odd) .timeline-content {
    margin-right: 3rem;
}

.timeline-item:nth-child(even) .timeline-content {
    margin-left: 3rem;
}

.timeline-dot {
    position: absolute;
    left: 50%;
    transform: translateX(-50%);
    width: 24px;
    height: 24px;
    background: var(--primary-color);
    border: 4px solid var(--bg-primary);
    border-radius: 50%;
    box-shadow: var(--shadow-md);
    z-index: 2;
}

.timeline-year {
    font-size: 1.8rem;
    font-weight: 800;
    color: var(--primary-color);
    margin-bottom: 0.5rem;
}

.timeline-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.timeline-text {
    color: var(--text-secondary);
    line-height: 1.6;
}

/* Contact Grid */
.contact-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2rem;
    margin: 3rem 0;
}

.contact-item {
    display: flex;
    align-items: flex-start;
    gap: 1.5rem;
    padding: 2rem;
    background: var(--bg-card);
    border-radius: 16px;
    box-shadow: var(--shadow-md);
    border: 1px solid var(--border-color);
    transition: all 0.3s ease;
}

.contact-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-light);
}

.contact-icon {
    width: 60px;
    height: 60px;
    background: var(--gradient-primary);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.5rem;
    color: white;
    flex-shrink: 0;
}

.contact-info h3 {
    font-size: 1.2rem;
    margin-bottom: 0.5rem;
    color: var(--text-primary);
}

.contact-info p,
.contact-info a {
    color: var(--text-secondary);
    font-size: 1rem;
    line-height: 1.6;
}

.contact-info a:hover {
    color: var(--primary-color);
}

/* Social Links */
.social-links-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1.5rem;
    margin: 3rem 0;
}

.social-link-card {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border-radius: 14px;
    box-shadow: var(--shadow-md);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
    color: var(--text-primary);
    font-weight: 600;
    font-size: 1.1rem;
}

.social-link-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-lg);
    border-color: var(--primary-color);
    color: var(--primary-color);
}

.social-link-card.telegram:hover {
    border-color: #0088cc;
    color: #0088cc;
}

.social-link-card.discord:hover {
    border-color: #5865F2;
    color: #5865F2;
}

.social-link-card.vk:hover {
    border-color: #0077FF;
    color: #0077FF;
}

.social-link-card.youtube:hover {
    border-color: #FF0000;
    color: #FF0000;
}

/* FAQ Section */
.info-faq {
    margin: 4rem 0;
}

.faq-item {
    background: var(--bg-card);
    border-radius: 16px;
    margin-bottom: 1rem;
    border: 1px solid var(--border-color);
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    box-shadow: var(--shadow-md);
}

.faq-question {
    padding: 1.5rem 2rem;
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-weight: 600;
    font-size: 1.1rem;
    color: var(--text-primary);
    transition: all 0.3s ease;
}

.faq-question:hover {
    background: var(--bg-secondary);
}

.faq-question::after {
    content: '+';
    font-size: 1.5rem;
    color: var(--primary-color);
    transition: transform 0.35s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question::after {
    transform: rotate(45deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    padding: 0 2rem;
}

.faq-item.active .faq-answer {
    max-height: 600px;
    padding: 0 2rem 1.5rem;
}

.faq-answer p {
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Payment Methods */
.payment-methods {
    display: flex;
    flex-wrap: wrap;
    gap: 1.5rem;
    margin: 2rem 0;
}

.payment-method {
    display: flex;
    align-items: center;
    gap: 1rem;
    padding: 1.5rem 2rem;
    background: var(--bg-card);
    border-radius: 14px;
    box-shadow: var(--shadow-sm);
    border: 2px solid var(--border-color);
    transition: all 0.3s ease;
}

.payment-method:hover {
    border-color: var(--primary-color);
    transform: translateY(-3px);
    box-shadow: var(--shadow-md);
}

.payment-method-icon {
    font-size: 2rem;
}

.payment-method-name {
    font-weight: 600;
    color: var(--text-primary);
}

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

@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);
    }
}

/* Responsive */
@media (max-width: 992px) {
    .info-feature {
        grid-template-columns: 1fr;
        gap: 2rem;
    }
    
    .info-feature.reverse {
        direction: ltr;
    }
    
    .info-feature-image {
        height: 300px;
    }
    
    .info-timeline::before {
        left: 30px;
    }
    
    .timeline-item,
    .timeline-item:nth-child(even) {
        padding-left: 80px;
        padding-right: 0;
        justify-content: flex-start;
    }
    
    .timeline-content,
    .timeline-item:nth-child(odd) .timeline-content,
    .timeline-item:nth-child(even) .timeline-content {
        width: 100%;
        margin-left: 0;
        margin-right: 0;
    }
    
    .timeline-dot {
        left: 30px;
    }
}

@media (max-width: 768px) {
    .info-title {
        font-size: 2.2rem;
    }
    
    .info-cards {
        grid-template-columns: 1fr;
    }
    
    .info-stats {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .contact-grid {
        grid-template-columns: 1fr;
    }
    
    .social-links-grid {
        grid-template-columns: 1fr;
    }
    
    .info-card {
        padding: 1.5rem;
    }
    
    .info-feature {
        padding: 2rem;
    }
}

@media (max-width: 480px) {
    .info-stats {
        grid-template-columns: 1fr;
    }
    
    .info-stat-number {
        font-size: 2.5rem;
    }
}

/* Стили для отмены заказа в профиле */
.cancel-timer {
    color: #f39c12;
    font-weight: 600;
    margin: 0.5rem 0;
    font-size: 0.9rem;
}

.cancel-expired {
    color: #7f8c8d;
    font-style: italic;
    margin: 0.5rem 0;
    font-size: 0.85rem;
}

.cancel-order-btn {
    margin-top: 0.5rem;
    padding: 0.5rem 1rem;
    font-size: 0.85rem;
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.cancel-order-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(231, 76, 60, 0.3);
}

.order-details {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.order-item {
    word-wrap: break-word;
    overflow-wrap: break-word;
}

.order-item p {
    max-width: 100%;
    overflow-wrap: break-word;
    word-break: break-word;
}

/* ===========================
   SVG Icon Styles
   =========================== */

.icon {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 24px;
    height: 24px;
    flex-shrink: 0;
}

.icon svg {
    width: 100%;
    height: 100%;
    stroke: currentColor;
}

.icon-sm {
    width: 18px;
    height: 18px;
}

.icon-lg {
    width: 32px;
    height: 32px;
}

.icon-xl {
    width: 48px;
    height: 48px;
}

/* Icon in cards */
.info-card .icon,
.info-feature .icon,
.contact-item .icon,
.social-card .icon {
    width: 48px;
    height: 48px;
    background: var(--bg-tertiary);
    border-radius: 12px;
    padding: 10px;
    color: var(--primary-color);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.info-card:hover .icon,
.info-feature:hover .icon,
.contact-item:hover .icon,
.social-card:hover .icon {
    background: var(--gradient-primary);
    color: white;
    transform: scale(1.1) rotate(-5deg);
}

/* Stats icons */
.info-stat .icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 10px;
    padding: 8px;
    color: var(--primary-color);
    margin-bottom: 0.75rem;
}

/* Timeline icons */
.timeline-icon {
    width: 40px;
    height: 40px;
    background: var(--bg-tertiary);
    border-radius: 50%;
    padding: 8px;
    color: var(--primary-color);
    display: flex;
    align-items: center;
    justify-content: center;
}

/* FAQ icons */
.faq-question .icon {
    width: 24px;
    height: 24px;
    color: var(--primary-color);
    flex-shrink: 0;
    transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

.faq-item.active .faq-question .icon {
    transform: rotate(180deg);
}

/* Button icons */
.btn .icon {
    width: 18px;
    height: 18px;
    margin-right: 0.5rem;
}

/* Header icons */
.header-nav a .icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Product card icons */
.product-actions button .icon,
.wishlist-btn .icon {
    width: 20px;
    height: 20px;
}

/* Cart icons */
.cart-item-image,
.cart-summary .icon {
    width: 24px;
    height: 24px;
}

/* Profile icons */
.profile-nav a .icon,
.order-status .icon {
    width: 20px;
    height: 20px;
    margin-right: 0.5rem;
}

/* Footer icons */
.footer-social a .icon {
    width: 20px;
    height: 20px;
}

.payment-methods img,
.payment-methods .icon {
    height: 30px;
    width: auto;
}

/* ===========================
   Каталог - Modern Redesign
   =========================== */

/* Hero секция каталога */
.catalog-hero {
    background: var(--gradient-gaming);
    padding: 3rem 0;
    margin-bottom: 2rem;
    position: relative;
    overflow: hidden;
}

.catalog-hero::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 50%, rgba(52, 152, 219, 0.2) 0%, transparent 50%),
                radial-gradient(circle at 70% 80%, rgba(41, 128, 185, 0.2) 0%, transparent 50%);
    pointer-events: none;
}

.catalog-hero-content {
    position: relative;
    z-index: 1;
    color: white;
}

.catalog-title {
    display: flex;
    align-items: center;
    gap: 1rem;
    font-size: 2.75rem;
    font-weight: 800;
    margin-bottom: 0.75rem;
    text-shadow: 2px 2px 10px rgba(0, 0, 0, 0.3);
}

.catalog-title-icon {
    color: rgba(255, 255, 255, 0.9);
}

.catalog-subtitle {
    font-size: 1.1rem;
    opacity: 0.9;
}

.products-count {
    font-weight: 700;
    color: #f39c12;
}

/* Modern products layout */
.products-layout-modern {
    display: grid;
    grid-template-columns: 320px 1fr;
    gap: 2.5rem;
}

/* Filters sidebar modern */
.filters-sidebar-modern {
    background: var(--bg-card);
    padding: 1.5rem;
    border-radius: 24px;
    box-shadow: var(--shadow-lg);
    height: fit-content;
    position: sticky;
    top: 100px;
    border: 1px solid var(--border-color);
    max-height: calc(100vh - 120px);
    overflow-y: auto;
}

.filters-sidebar-modern::-webkit-scrollbar {
    width: 6px;
}

.filters-sidebar-modern::-webkit-scrollbar-thumb {
    background: var(--primary-color);
    border-radius: 3px;
}

.filters-header {
    display: flex;
    align-items: center;
    gap: 0.75rem;
    margin-bottom: 2rem;
    padding-bottom: 1.5rem;
    border-bottom: 2px solid var(--border-color);
}

.filters-header h2 {
    font-size: 1.5rem;
    font-weight: 700;
    color: var(--text-primary);
    margin: 0;
}

.filters-icon {
    color: var(--primary-color);
}

.filters-form-modern {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.filter-group-modern {
    padding-bottom: 1.25rem;
    border-bottom: 1px solid var(--border-color);
}

.filter-group-modern:last-child {
    border-bottom: none;
    padding-bottom: 0;
}

.filter-label {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    font-weight: 600;
    color: var(--text-primary);
    margin-bottom: 0.75rem;
}

.filter-label-icon {
    color: var(--primary-color);
}

.input-wrapper,
.select-wrapper {
    position: relative;
}

.filter-input-modern,
.filter-select-modern {
    width: 100%;
    padding: 0.75rem 0.875rem;
    border: 2px solid var(--border-color);
    border-radius: 10px;
    background: var(--bg-primary);
    color: var(--text-primary);
    font-size: 0.875rem;
    transition: all 0.3s ease;
    font-family: inherit;
}

.filter-input-modern:focus,
.filter-select-modern:focus {
    outline: none;
    border-color: var(--primary-color);
    box-shadow: 0 0 0 4px rgba(41, 128, 185, 0.1);
}

.select-wrapper {
    position: relative;
}

.select-arrow {
    position: absolute;
    right: 1rem;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-muted);
    pointer-events: none;
}

.filter-select-modern {
    appearance: none;
    padding-right: 3rem;
    cursor: pointer;
}

.price-range-modern {
    display: flex;
    gap: 0.5rem;
}

.price-input-wrapper {
    flex: 1;
}

.price-input-label {
    display: block;
    font-size: 0.75rem;
    color: var(--text-muted);
    margin-bottom: 0.25rem;
}

.price-input {
    width: 100%;
}

.checkbox-label-modern {
    display: flex;
    align-items: center;
    gap: 0.625rem;
    cursor: pointer;
    padding: 0.375rem;
    border-radius: 6px;
    transition: background 0.3s ease;
    user-select: none;
}

.checkbox-label-modern:hover {
    background: var(--bg-secondary);
}

.checkbox-label-modern input[type="checkbox"] {
    display: none;
}

.checkbox-custom {
    width: 18px;
    height: 18px;
    border: 2px solid var(--border-color);
    border-radius: 4px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    flex-shrink: 0;
}

.checkbox-custom::after {
    content: '';
    width: 10px;
    height: 10px;
    background: var(--primary-color);
    border-radius: 2px;
    transform: scale(0);
    transition: transform 0.2s ease;
}

.checkbox-label-modern input[type="checkbox"]:checked + .checkbox-custom {
    border-color: var(--primary-color);
    background: rgba(41, 128, 185, 0.1);
}

.checkbox-label-modern input[type="checkbox"]:checked + .checkbox-custom::after {
    transform: scale(1);
}

.checkbox-text {
    color: var(--text-secondary);
    font-size: 0.875rem;
}

.filter-actions-modern {
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.75rem;
}

.btn-primary-modern {
    background: var(--gradient-primary);
    color: white;
    border: none;
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
    box-shadow: var(--shadow-md);
}

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

.btn-outline-modern {
    background: transparent;
    border: 2px solid var(--primary-color);
    color: var(--primary-color);
    padding: 0.625rem 1.25rem;
    border-radius: 10px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.5rem;
    font-size: 0.875rem;
}

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

.btn-block-modern {
    width: 100%;
}

.btn-sm-modern {
    padding: 0.5rem 0.875rem;
    font-size: 0.8125rem;
}

.btn-icon {
    flex-shrink: 0;
}

.btn-icon-sm {
    flex-shrink: 0;
    width: 16px;
    height: 16px;
}

/* Promotions banner modern */
.promotions-banner-modern {
    margin-bottom: 2rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
}

.promo-item-modern {
    background: var(--gradient-primary);
    color: white;
    padding: 2rem;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    box-shadow: var(--shadow-lg);
    transition: transform 0.3s ease;
}

.promo-item-modern:hover {
    transform: translateY(-5px);
}

.promo-badge {
    position: absolute;
    top: 1rem;
    left: 1rem;
    opacity: 0.2;
}

.promo-icon {
    width: 48px;
    height: 48px;
}

.promo-discount-modern {
    position: absolute;
    top: 1rem;
    right: 1rem;
    font-size: 2rem;
    font-weight: 700;
    background: rgba(255, 255, 255, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 12px;
    backdrop-filter: blur(10px);
}

/* Products grid modern */
.products-grid-modern {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 2rem;
}

/* Product card modern */
.product-card-modern {
    background: var(--bg-card);
    border-radius: 20px;
    overflow: hidden;
    box-shadow: var(--shadow-md);
    transition: all 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    position: relative;
    cursor: pointer;
    border: 1px solid var(--border-color);
}

.product-card-modern:hover {
    transform: translateY(-10px) scale(1.02);
    box-shadow: var(--shadow-xl);
    border-color: var(--primary-color);
}

.product-badge-modern {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background: var(--secondary-color);
    color: white;
    padding: 0.5rem 0.875rem;
    border-radius: 10px;
    font-size: 0.8rem;
    font-weight: 700;
    z-index: 3;
    display: flex;
    align-items: center;
    gap: 0.375rem;
    box-shadow: var(--shadow-md);
}

.badge-icon {
    width: 14px;
    height: 14px;
}

.discount-modern {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
}

.stock-modern {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%);
}

.product-image-wrapper-modern {
    position: relative;
    overflow: hidden;
    height: 240px;
    background: var(--bg-secondary);
    display: flex;
    align-items: center;
    justify-content: center;
}

.product-image-modern {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.5s ease;
    padding: 8px;
}

.product-card-modern:hover .product-image-modern {
    transform: scale(1.05);
}

.product-overlay-modern {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 0, 0, 0.7) 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
    display: flex;
    align-items: flex-end;
    padding: 1rem;
    pointer-events: auto;
}

.product-card-modern:hover .product-overlay-modern {
    opacity: 1;
}

.product-actions-modern {
    display: flex;
    gap: 0.75rem;
    width: 100%;
    justify-content: center;
    pointer-events: auto;
}

.product-action-btn-modern {
    width: 44px;
    height: 44px;
    border-radius: 12px;
    background: white;
    border: none;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-lg);
    transition: all 0.3s ease;
    color: var(--text-primary);
}

.product-action-btn-modern svg {
    width: 20px;
    height: 20px;
}

.product-action-btn-modern:hover {
    background: var(--primary-color);
    color: white;
    transform: translateY(-3px) scale(1.1);
}

.product-action-btn-modern.cart-modern:hover {
    background: var(--success-color);
}

.product-info-modern {
    padding: 1.5rem;
}

.product-category-modern {
    display: flex;
    align-items: center;
    gap: 0.375rem;
    color: var(--primary-color);
    font-size: 0.8rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 0.625rem;
}

.category-icon {
    color: var(--primary-color);
}

.product-title-modern {
    font-size: 1.15rem;
    font-weight: 700;
    margin-bottom: 0.625rem;
    color: var(--text-primary);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.4;
}

.product-description-modern {
    color: var(--text-secondary);
    font-size: 0.875rem;
    margin-bottom: 1rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
    line-height: 1.5;
}

.product-rating-modern {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 1.25rem;
}

.stars-modern {
    display: flex;
    gap: 0.125rem;
    color: var(--accent-color);
}

.star-icon {
    width: 16px;
    height: 16px;
}

.star-icon.filled {
    fill: var(--accent-color);
}

.rating-value-modern {
    color: var(--text-secondary);
    font-size: 0.875rem;
    font-weight: 600;
}

.product-footer-modern {
    display: flex;
    align-items: center;
    justify-content: space-between;
    padding-top: 1.25rem;
    border-top: 1px solid var(--border-color);
}

.product-price-modern {
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.price-current-modern {
    font-size: 1.5rem;
    font-weight: 800;
    color: var(--primary-color);
}

.price-old-modern {
    font-size: 0.95rem;
    color: var(--text-muted);
    text-decoration: line-through;
}

/* No products modern */
.no-products-modern {
    text-align: center;
    padding: 5rem 2rem;
    background: var(--bg-card);
    border-radius: 24px;
    box-shadow: var(--shadow-md);
}

.no-products-icon {
    margin-bottom: 1.5rem;
    color: var(--text-muted);
}

.no-products-modern h2 {
    margin-bottom: 1rem;
    color: var(--text-primary);
    font-size: 2rem;
}

.no-products-modern p {
    color: var(--text-secondary);
    margin-bottom: 2rem;
    font-size: 1.1rem;
}

/* Responsive */
@media (max-width: 1024px) {
    .products-layout-modern {
        grid-template-columns: 280px 1fr;
        gap: 2rem;
    }
    
    .filters-sidebar-modern {
        top: 80px;
        max-height: calc(100vh - 100px);
    }
}

@media (max-width: 768px) {
    .catalog-hero {
        padding: 2rem 0;
    }
    
    .catalog-title {
        font-size: 2rem;
        flex-direction: column;
        align-items: flex-start;
        gap: 0.5rem;
    }
    
    .products-layout-modern {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar-modern {
        position: static;
        margin-bottom: 2rem;
        max-height: none;
        overflow-y: visible;
        display: none;
    }
    
    .filters-sidebar-modern.active {
        display: block;
    }
    
    .products-grid-modern {
        grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
        gap: 1.5rem;
    }
    
    /* Mobile filter button */
    .mobile-filter-toggle {
        display: flex !important;
        align-items: center;
        justify-content: center;
        gap: 0.5rem;
        padding: 0.75rem 1.5rem;
        background: var(--gradient-primary);
        color: white;
        border: none;
        border-radius: 12px;
        font-weight: 600;
        cursor: pointer;
        margin-bottom: 1.5rem;
        width: 100%;
        transition: all 0.3s ease;
    }
    
    .mobile-filter-toggle:hover {
        transform: translateY(-2px);
        box-shadow: var(--shadow-lg);
    }
    
    .mobile-filter-toggle.active {
        background: var(--primary-dark);
    }
}

@media (max-width: 480px) {
    .catalog-title {
        font-size: 1.75rem;
    }
    
    .products-grid-modern {
        grid-template-columns: 1fr;
    }
    
    .filters-sidebar-modern {
        padding: 1.25rem;
    }
    
    .filter-input-modern,
    .filter-select-modern {
        font-size: 0.8125rem;
        padding: 0.625rem 0.75rem;
    }
    
    .btn-primary-modern,
    .btn-outline-modern {
        padding: 0.5rem 1rem;
        font-size: 0.8125rem;
    }
}
