/* Modernes Design für die Steam-Spiele-Seite */

.steam-games-container {
    padding: 30px;
    background: linear-gradient(135deg, #0a0a1a 0%, #1a1a2e 100%);
    color: #e0e0e0;
    border-radius: 15px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
    font-family: 'Roboto', sans-serif;
}

.steam-games-container h1 {
    font-size: 3.5em;
    font-weight: 900;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(90deg,rgba(255, 0, 136, 1) 35%, rgba(0, 191, 255, 1) 62%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    text-shadow: 0 3px 8px rgba(0, 0, 0, 0.3); /* Subtler text shadow */
    letter-spacing: 2px;
    /* Removed animation: neonGlow 2s ease-in-out infinite alternate; */
}

.search-bar {
    width: 100%;
    padding: 15px 20px;
    margin-bottom: 40px;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 10px;
    background-color: rgba(255, 255, 255, 0.05);
    color: #e0e0e0;
    font-size: 1.1em;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.search-bar::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.search-bar:focus {
    outline: none;
    border-color: #8a2be2;
    box-shadow: 0 0 0 3px rgba(138, 43, 226, 0.5);
    background-color: rgba(255, 255, 255, 0.1);
}

/* Removed @keyframes neonGlow */

.game-row {
    display: flex;
    overflow-x: scroll; /* Scrollbar aktivieren */
    gap: 25px;
    padding: 20px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch;
    margin-bottom: 40px;
    /* Scrollbar-Styling */
    scrollbar-width: thin; /* Firefox */
    scrollbar-color: #8a2be2 #1a1a2e; /* Firefox */
}

/* Webkit-basierte Browser (Chrome, Safari, Edge) */
.game-row::-webkit-scrollbar {
    height: 8px;
}

.game-row::-webkit-scrollbar-track {
    background: #1a1a2e;
    border-radius: 10px;
}

.game-row::-webkit-scrollbar-thumb {
    background-color: #8a2be2; /* Lila */
    border-radius: 10px;
    border: 2px solid #1a1a2e;
}

.game-item {
    flex: 0 0 220px; /* Etwas größere feste Breite */
    scroll-snap-align: start;
    background: rgba(255, 255, 255, 0.08); /* Hellerer Hintergrund */
    border-radius: 15px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.25, 0.8, 0.25, 1);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.3);
    position: relative;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-item:hover {
    transform: translateY(-8px) scale(1.05);
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.4);
    background: rgba(255, 255, 255, 0.15);
}

.game-item img {
    width: 100%;
    height: 300px; /* Angepasste Bildhöhe */
    object-fit: cover;
    display: block;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.game-item p {
    padding: 18px;
    font-size: 1.1em;
    font-weight: 600;
    text-align: center;
    color: #ffffff;
    background: rgba(0, 0, 0, 0.6);
    margin: 0;
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    text-shadow: 0 1px 3px rgba(0, 0, 0, 0.5);
}

/* Responsive Anpassungen für kleinere Bildschirme */
@media (max-width: 1400px) {
    .game-item {
        flex: 0 0 200px;
    }
}

@media (max-width: 1200px) {
    .game-item {
        flex: 0 0 180px;
    }
}

@media (max-width: 992px) {
    .game-item {
        flex: 0 0 160px;
    }
}

@media (max-width: 768px) {
    .game-item {
        flex: 0 0 140px;
    }
}

@media (max-width: 480px) {
    .game-item {
        flex: 0 0 120px;
    }
}