.homegames .sectionHeader {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
}

.homegames .sectionTitle {
    font-family: "Metropolis Semi Bold";
    font-size: 20px;
    letter-spacing: 0.2px;
    color: #1a1a2e;
}

/* Skeleton grid */
.homegames .skeletonContainer {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    row-gap: 30px;
    column-gap: 20px;
}

.homegames .gameCardSkeleton {
    width: 110px;
    height: 110px;
    border-radius: 8px;
    animation: skeleton-loading 1.5s ease-in-out infinite;
}

.homegames .seeAllLink {
    display: flex;
    align-items: center;
    gap: 4px;
    font-size: 17px;
    font-family: "Metropolis Semi Bold";
    letter-spacing: 0.16px;
    color: #1a1a2e;
    cursor: pointer;
}

.homegames .seeAllLink:hover {
    opacity: 0.8;
}

.homegames .seeAllLink .arrowIcon {
    width: 6px;
    height: 6px;
    border-right: 2px solid #1a1a2e;
    border-bottom: 2px solid #1a1a2e;
    transform: rotate(-45deg);
}

@keyframes skeleton-loading {
    0% {
        background-color: rgb(230, 230, 230);
    }
    100% {
        background-color: rgb(245, 245, 245);
    }
}

/* Games grid - matches /games React layout */
.homegames .gamesGrid {
    display: flex;
    row-gap: 30px;
    column-gap: 20px;
    overflow-x: auto;
    align-items: baseline;
}

/* Game Card */
.homegames .gameCard {
    display: flex;
    flex-direction: column;
    width: 110px;
    border-radius: 8px;
    background-color: transparent;
    align-items: center;
    justify-content: space-evenly;
    row-gap: 13px;
    cursor: pointer;
}

.homegames .gameCardImage {
    height: 110px;
    width: 110px;
    object-fit: cover;
    border-radius: 8px;
}

.homegames .gameCardName {
    display: flex;
    justify-content: center;
    text-align: center;
    width: 100%;
    font-family: "Metropolis Bold", sans-serif;
    font-size: 20px;
    line-height: 1.33;
    letter-spacing: 0.2px;
    color: #1683FF;
    text-transform: capitalize;
    word-break: break-word;
}

/* Empty & error messages */
.homegames .emptyMessage {
    text-align: center;
    padding: 24px 16px;
    font-family: "Metropolis Bold", sans-serif;
    font-size: 20px;
    letter-spacing: 0.2px;
    color: #6b7280;
    width: 100%;
}

.homegames .sectionError {
    text-align: center;
    padding: 24px 16px;
    color: #6b7280;
    font-size: 14px;
}

/* Hide utility */
.homegames .skeletonContainer.hide,
.homegames .gamesGrid.hide,
.homegames .emptyMessage.hide,
.homegames .sectionError.hide {
    display: none;
}

/* DARK MODE */
.dark .homegames .sectionTitle {
    color: rgba(255, 255, 255, 0.87);
}

.dark .homegames .emptyMessage,
.dark .homegames .sectionError {
    color: rgba(255, 255, 255, 0.6);
}

.dark .homegames .gameCardSkeleton {
    animation: skeleton-loading-dark 1.5s ease-in-out infinite;
}

.dark .homegames .seeAllLink {
    color: white;
}

.dark .homegames .seeAllLink .arrowIcon {
    border-right-color: white;
    border-bottom-color: white;
}

@keyframes skeleton-loading-dark {
    0% {
        background-color: rgba(255, 255, 255, 0.1);
    }
    100% {
        background-color: rgba(255, 255, 255, 0.2);
    }
}

