/* ==================================================
   GAME CARD SYSTEM
   Engels811 Network – Dark Crimson Theme
================================================== */

.game-card {
    position: relative;
    border-radius: 18px;
    padding: 14px;
    text-align: center;
    cursor: pointer;
    overflow: hidden;

    transition: transform .35s ease, box-shadow .35s ease;

    /* Grundfarbton passend zum Hero */
    background: linear-gradient(
        180deg,
        #0f0f0f,
        #0a0a0a
    );
    border: 1px solid rgba(255, 50, 50, 0.15);
}

/* =========================
   CARD VARIANTS
========================= */

/* Standard Card */
.game-card.default {
    background: linear-gradient(
        180deg,
        #141414,
        #0c0c0c
    );
    border: 1px solid rgba(255, 50, 50, 0.2);
}

/* Glass Card – Hauptstil */
.game-card.glass {
    background:
        linear-gradient(
            180deg,
            rgba(30, 30, 30, 0.6),
            rgba(10, 10, 10, 0.8)
        );
    backdrop-filter: blur(10px);

    box-shadow:
        0 12px 40px rgba(0, 0, 0, .7),
        inset 0 0 0 1px rgba(255, 50, 50, 0.1);
    
    border: 1px solid rgba(255, 50, 50, 0.2);
}

/* Hero / Top Card (#1) */
.game-card.hero {
    background:
        radial-gradient(
            circle at top left,
            rgba(255, 50, 50, 0.15),
            transparent 60%
        ),
        linear-gradient(
            180deg,
            #1a0a0a,
            #0d0808
        );

    box-shadow:
        0 0 45px rgba(255, 50, 50, 0.4),
        inset 0 0 0 1px rgba(255, 50, 50, 0.2);
    
    border: 1px solid rgba(255, 50, 50, 0.35);
}

/* =========================
   COVER + IMAGE
========================= */

.game-cover {
    position: relative;        /* Bezugspunkt für Overlay */
    overflow: hidden;
    border-radius: 12px;
    margin-bottom: 12px;
    border: 1px solid rgba(255, 50, 50, 0.1);
}

/* Bild nur innerhalb des Covers */
.game-cover img {
    width: 100%;
    height: 140px;
    object-fit: cover;
    border-radius: 12px;

    transition: transform .45s ease;
}

/* =========================
   TEXT
========================= */

.game-card h3 {
    font-size: 15px;
    font-weight: 700;
    margin: 6px 0 4px;
    color: #ffffff;

    letter-spacing: .35px;

    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.game-card p {
    font-size: 13px;
    color: #c8c8c8;
}

/* =========================
   SAFETY LAYER
   Meta & Text immer sichtbar
========================= */

.game-card h3,
.game-meta {
    position: relative;
    z-index: 2;
}

/* =========================
   INSET BORDER
========================= */

.game-card::after {
    content: "";
    position: absolute;
    inset: 0;
    border-radius: inherit;
    pointer-events: none;

    box-shadow:
        inset 0 0 0 1px rgba(255, 50, 50, 0.08);
}