.games-section {
    padding: 60px 20px;
    text-align: center;
}

.section-title {
    color: #fff;
    font-size: 2.5rem;
    margin-bottom: 30px;
}

.game-card-container {
    display: flex;
    justify-content: center;
    flex-wrap: wrap;
    gap: 30px;
}

.game-card {
    background:rgba(129, 33, 115, 0.34);
    border-radius: 20px;
    padding: 20px;
    width: 280px;
    box-shadow: 0 10px 20px rgba(0,0,0,0.3);
    transition: transform 0.3s;
    backdrop-filter: blur(5px);
    border: 1px solid rgba(255, 255, 255, 0.089);
    border-top: 1px solid rgba(255, 255, 255, 0.212);
    border-left: 1px solid rgba(255, 255, 255, 0.219);
}

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

.game-thumbnail {
    width: 100%;
    height: 160px;
    object-fit: cover;
    border-radius: 15px;
    margin-bottom: 15px;
}

.game-title {
    color: #fff;
    font-size: 1.3rem;
    margin-bottom: 10px;
}

.play-btn {
    display: inline-block;
    padding: 10px 20px;
    background-color: rgba(224, 55, 216, 0.61);
    color: white;
    border-radius: 12px;
    text-decoration: none;
    font-weight: bold;
}

.play-btn:hover {
    background-color: rgba(224, 55, 216, 0.8);
}

.info-grids {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 2.5rem;
    margin: 5rem auto;
    max-width: 1200px;
    padding: 0 1rem;
}

.info-box {
    background-color: #1e1e2fb2;
    padding: 1.5rem;
    border-radius: 15px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.3);
    color: #fff;
    border-top: 2px solid rgba(255, 255, 255, 0.1);
    border-left: 2px solid rgba(255, 255, 255, 0.05);
    transition: transform 0.3s ease;
}

.info-box:hover {
    transform: translateY(-5px);
}

.info-box h3 {
    margin-bottom: 0.8rem;
    color: #e037d8;
}

.games-blur-wrapper {
    position: relative;
}

.blurred {
    filter: blur(5px);
    pointer-events: none;
    user-select: none;
}

/* Overlay-Text zentriert über dem Blur */
.blur-overlay-text {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    background: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 1rem 2rem;
    border-radius: 10px;
    z-index: 10;
    font-size: 1.2rem;
    text-align: center;
    pointer-events: none;
    max-width: 90%;
}

.game-modal {
    display: none; /* versteckt anfangs */
    position: fixed;
    z-index: 2000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background: rgba(0, 0, 0, 0.7);
    backdrop-filter: blur(10px);
    justify-content: center;
    align-items: center;
}

.game-modal .modal-content {
    position: relative;
    background: rgba(255, 255, 255, 0.08);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-radius: 16px;
    padding: 30px;
    max-width: 500px;
    color: #fff;
    box-shadow: 0 0 20px #9d57ae80;
    text-align: center;
    animation: fadeIn 0.4s ease;
}

.modal-content h2 {
    margin-top: 0;
}

.modal-tags {
    margin: 1rem 0;
}

.modal-tags .tag {
    display: inline-block;
    background: #444444;
    color: white;
    padding: 4px 10px;
    border-radius: 6px;
    margin-right: 6px;
    font-size: 0.85rem;
}

.close-modal {
    position: absolute;
    right: 15px;
    top: 10px;
    font-size: 1.5rem;
    cursor: pointer;
}

