body {
    background-color: #12171c;
}

.games-container {
    width: 75%;
    min-width: 1440px;
    margin: 0 auto;
    padding: 100px 0 60px;
}

.games-header {
    text-align: center;
    margin-bottom: 60px;
}

.games-header h1 {
    font-size: 48px;
    font-weight: bold;
    color: #fff;
    margin: 0 0 20px 0;
}

.games-header p {
    font-size: 20px;
    color: rgba(255, 255, 255, 0.6);
    margin: 0;
}

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

.games-loading,
.games-empty {
    grid-column: 1 / -1;
    text-align: center;
    padding: 100px 0;
    color: rgba(255, 255, 255, 0.5);
    font-size: 16px;
}

.game-card {
    display: block;
    background: #1e2228;
    border-radius: 12px;
    overflow: hidden;
    transition: transform 0.3s, box-shadow 0.3s;
    text-decoration: none;
    border: 1px solid rgba(255, 255, 255, 0.05);
}

.game-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 32px rgba(73, 233, 255, 0.25);
    border-color: rgba(73, 233, 255, 0.3);
}

.game-img {
    width: 100%;
    height: 160px;
    overflow: hidden;
    background: rgba(255, 255, 255, 0.05);
    position: relative;
}

.game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    transition: transform 0.3s;
}

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

.game-info {
    padding: 16px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.game-info h3 {
    margin: 0;
    font-size: 16px;
    font-weight: normal;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    flex: 1;
}

.game-price {
    color: #49e9ff;
    font-size: 16px;
    font-weight: bold;
    margin-left: 12px;
    white-space: nowrap;
}

.game-vip {
    background: linear-gradient(135deg, #ffd700 0%, #ffed4e 100%);
    color: #1a1a1a;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(255, 215, 0, 0.3);
}

.game-free {
    background: linear-gradient(135deg, #4ade80 0%, #22c55e 100%);
    color: #fff;
    font-size: 12px;
    font-weight: bold;
    padding: 4px 10px;
    border-radius: 12px;
    margin-left: 12px;
    white-space: nowrap;
    box-shadow: 0 2px 8px rgba(74, 222, 128, 0.3);
}

.game-card:hover .game-info h3 {
    color: #49e9ff;
}

#common_head .head_main .nav-active {
    color: #49e9ff;
    font-size: 14px;
    margin-right: 30px;
    cursor: default;
    display: inline-block;
}
