/* Sidebar Styles */
.content-with-sidebar {
    display: grid;
    grid-template-columns: 1fr 300px;
    gap: 20px;
    margin-top: 20px;
}

.main-content {
    min-width: 0;
}

.sidebar {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 10px;
    padding: 15px;
    position: sticky;
    top: 20px;
    max-height: calc(100vh - 40px);
    overflow-y: auto;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 8px;
    padding: 15px;
    margin-bottom: 15px;
}

.sidebar-widget:last-child {
    margin-bottom: 0;
}

.sidebar-widget h3 {
    font-size: 18px;
    font-weight: bold;
    margin: 0 0 15px 0;
    color: #fff;
}

/* Quick Links */
.quick-links {
    list-style: none;
    padding: 0;
    margin: 0;
}

.quick-links li {
    margin-bottom: 8px;
}

.quick-links a {
    display: block;
    padding: 8px 12px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    color: #fff;
    text-decoration: none;
    transition: all 0.3s ease;
}

.quick-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

/* Top Games */
.top-games-list {
    display: flex;
    flex-direction: column;
    gap: 10px;
}

.top-game-item {
    display: flex;
    align-items: center;
    gap: 10px;
    padding: 8px;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    text-decoration: none;
    color: #fff;
    transition: all 0.3s ease;
}

.top-game-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.02);
}

.top-game-item img {
    width: 50px;
    height: 50px;
    border-radius: 5px;
    object-fit: cover;
}

.top-game-item span {
    font-size: 14px;
}

/* Providers Grid */
.providers-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 10px;
}

.provider-item {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 5px;
    padding: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.provider-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: scale(1.05);
}

.provider-item img {
    max-width: 100%;
    height: auto;
    max-height: 30px;
    object-fit: contain;
}

/* Mobile responsive */
@media (max-width: 1024px) {
    .content-with-sidebar {
        grid-template-columns: 1fr;
    }
    
    .sidebar {
        position: static;
        max-height: none;
        order: -1; /* Показать sidebar сверху на мобильных */
    }
    
    .providers-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

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

/* Scrollbar для sidebar */
.sidebar::-webkit-scrollbar {
    width: 6px;
}

.sidebar::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb {
    background: rgba(255, 255, 255, 0.2);
    border-radius: 3px;
}

.sidebar::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 255, 255, 0.3);
}
