
.game-card {
    position: relative;
    border-radius: 8px;
    overflow: hidden;
    transition: transform 0.2s, box-shadow 0.2s;
    cursor: pointer;
    background-color: #ffffff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    text-decoration: none;
    color: inherit;
    display: block;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
}

.game-card.large {
    flex: 1;
    min-width: 0;
}

.game-card.small {
    flex: 0 0 auto;
    width: 200px;
    margin-right: 0;
}

.game-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    border-radius: 8px 8px 0 0;
    display: block;
    background-color: #f0f0f0;
}

.game-card.large .game-image {
    height: 200px;
    object-fit: cover;
}

.game-card.small .game-image {
    height: 150px;
    object-fit: cover;
}

.game-title {
    background-color: #ffffff;
    padding: 12px 15px;
    font-size: 13px;
    font-weight: bold;
    color: #333;
    text-align: center;
    line-height: 1.4;
    border-radius: 0 0 8px 8px;
    white-space: normal;
    word-wrap: break-word;
    min-height: 40px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-card.large .game-title {
    font-size: 15px;
    padding: 15px;
    min-height: 50px;
}


.featured-large {
    max-width: 1200px;
    margin: 30px auto 40px;
    padding: 0 20px;
    display: flex;
    gap: 20px;
    justify-content: space-between;
}


.games-section {
    max-width: 1200px;
    margin: 40px auto;
    padding: 0 15px;
}

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

.section-title {
    color: #8B5CF6;
    font-size: 22px;
    font-weight: bold;
    margin-bottom: 0;
    text-transform: none;
}

.games-grid {
    display: flex;
    gap: 15px;
    overflow-x: auto;
    padding-bottom: 10px;
    scrollbar-width: thin;
    scrollbar-color: #8B5CF6 #f0f0f0;
    -webkit-overflow-scrolling: touch;
}

.games-grid::-webkit-scrollbar {
    height: 8px;
}

.games-grid::-webkit-scrollbar-track {
    background: #f0f0f0;
    border-radius: 4px;
}

.games-grid::-webkit-scrollbar-thumb {
    background: #8B5CF6;
    border-radius: 4px;
}

.games-grid::-webkit-scrollbar-thumb:hover {
    background: #7C3AED;
}


.games-grid-multi {
    display: flex;
    flex-wrap: wrap;
    overflow-x: visible;
    justify-content: flex-start;
}

.games-grid-multi .game-card.small {
    flex: 0 0 calc(16.666% - 13px);
    min-width: 180px;
    max-width: 200px;
}


@media (max-width: 1200px) {
    .games-grid-multi .game-card.small {
        flex: 0 0 calc(20% - 12px);
    }
}

@media (max-width: 1024px) {
    .games-grid-multi .game-card.small {
        flex: 0 0 calc(25% - 12px);
    }
}

@media (max-width: 768px) {
    .games-grid-multi .game-card.small {
        flex: 0 0 calc(33.333% - 10px);
        min-width: 160px;
    }
}

@media (max-width: 480px) {
    .games-grid-multi .game-card.small {
        flex: 0 0 calc(50% - 8px);
        min-width: 140px;
    }
}


.more-button {
    background-color: #FF6B35;
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 4px;
    font-size: 14px;
    font-weight: 600;
    transition: background-color 0.2s, transform 0.1s;
}

.more-button:hover {
    background-color: #E55A2B;
    transform: scale(1.05);
}

