body {
    background: #181f2a;
    color: #fff;
    font-family: 'Segoe UI', Arial, sans-serif;
}
.main-header {
    background: linear-gradient(90deg, #181f2a 60%, #1ed8c0 100%);
    box-shadow: 0 2px 8px rgba(30,216,192,0.08);
}
.navbar-brand {
    font-weight: bold;
    color: #1ed8c0 !important;
}
.btn-primary {
    background: #1ed8c0;
    border: none;
}
.btn-primary:hover {
    background: #17bda7;
}
.main-banner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    background: #222b3a;
    border-radius: 18px;
    margin: 32px auto 0 auto;
    padding: 48px 32px;
    max-width: 1200px;
}
.banner-content h1 {
    font-size: 2.5rem;
    font-weight: bold;
    margin-bottom: 18px;
}
.banner-content p {
    font-size: 1.1rem;
    margin-bottom: 24px;
}
.banner-img {
    max-width: 340px;
    border-radius: 16px;
}
.games-list, .catalog {
    margin: 48px auto 0 auto;
    max-width: 1200px;
}
.games-list h2, .catalog h2 {
    color: #1ed8c0;
    font-size: 2rem;
    margin-bottom: 32px;
    text-align: center;
}
.games-grid, .catalog-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 32px;
}
.games-grid .game-card, .catalog-grid .product-card {
    background: #222b3a;
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    box-shadow: 0 2px 8px rgba(30,216,192,0.05);
}
.product-card {
    max-width: 900px;
    margin: 48px auto;
    background: #222b3a;
    border-radius: 18px;
    padding: 32px;
    display: flex;
    gap: 32px;
    color: #fff;
}
.product-detail img {
    max-width: 320px;
    border-radius: 12px;
}
.product-info {
    flex: 1;
}
.product-price span {
    color: #1ed8c0;
    font-size: 1.5rem;
    font-weight: bold;
}
.reviews {
    max-width: 900px;
    margin: 48px auto;
    background: #222b3a;
    border-radius: 18px;
    padding: 32px;
}
.reviews-list {
    display: flex;
    flex-direction: column;
    gap: 24px;
}
.footer {
    background: #181f2a;
    color: #aaa;
}
@media (max-width: 768px) {
    .main-banner {
        flex-direction: column;
        align-items: flex-start;
        padding: 32px 12px;
    }
    .banner-img {
        margin-top: 24px;
        max-width: 100%;
    }
    .games-grid, .catalog-grid {
        grid-template-columns: 1fr 1fr;
    }
}
/* Стили для страницы каталога */
.catalog-header {
    background: linear-gradient(90deg, var(--card-bg) 0%, var(--dark-bg) 100%);
    padding: 40px 0;
    margin-bottom: 30px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.catalog-header h1 {
    color: var(--primary);
    font-weight: bold;
    margin-bottom: 10px;
}

.catalog-header .lead {
    color: rgba(255, 255, 255, 0.7);
}

.catalog-icon {
    max-height: 120px;
    opacity: 0.8;
}

/* Стили для боковой панели */
.sidebar-card {
    transition: all 0.3s ease;
    margin-bottom: 25px;
    background-color: var(--card-bg) !important;
}

.sidebar-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.sidebar-card .card-header {
    background: linear-gradient(90deg, var(--primary) 0%, #e6c300 100%);
    padding: 15px 20px;
    color: var(--dark-bg) !important;
}

.category-item, .popular-game-item {
    transition: all 0.2s ease;
    padding: 12px 15px;
    background-color: var(--card-bg) !important;
    border-color: #2c2e30 !important;
}

.category-item:hover, .popular-game-item:hover {
    background-color: #2c2e30 !important;
}

.category-item.active {
    background-color: rgba(255, 214, 0, 0.1) !important;
    border-left: 3px solid var(--primary) !important;
}

.category-item a, .popular-game-item a {
    text-decoration: none;
    display: block;
    width: 100%;
    color: var(--text-light) !important;
}

/* Стили для карточек товаров */
.product-card {
    transition: all 0.3s ease;
    overflow: hidden;
    background-color: var(--card-bg) !important;
}

.product-card:hover {
    transform: translateY(-7px);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
}

.card-img-container {
    height: 180px;
    overflow: hidden;
    background: var(--dark-bg);
}

.card-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.product-card:hover .card-img-container img {
    transform: scale(1.05);
}

.product-card .card-title {
    color: var(--primary);
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.price-tag {
    background: linear-gradient(90deg, var(--primary) 0%, #e6c300 100%);
    color: #333;
    font-weight: bold;
    padding: 5px 10px;
    border-radius: 20px;
    font-size: 0.9rem;
}

.btn-primary {
    background: var(--primary);
    border: none;
    transition: all 0.3s ease;
    color: var(--dark-bg) !important;
}

.btn-primary:hover {
    background: #e6c300;
    transform: translateX(3px);
}

.bg-gradient {
    background: linear-gradient(90deg, var(--primary) 0%, #e6c300 100%);
}

@media (max-width: 576px) {
    .main-banner, .games-list, .catalog {
        padding: 0 6px;
    }
    .games-grid, .catalog-grid {
        grid-template-columns: 1fr;
    }
    .product-card {
        flex-direction: column;
        padding: 12px;
    }
    .catalog-header {
        padding: 20px 0;
        text-align: center;
    }
    .catalog-header .text-end {
        text-align: center !important;
        margin-top: 15px;
    }
}
