.game-card {
    position: relative;
    display: flex;
    flex-direction: column;
    flex: 0 0 280px;
    min-height: 100%;
    padding: 20px;
    color: #fff;
    text-align: center;
    white-space: normal;
    background: linear-gradient(135deg, #a67c52, #8b4513);
    border: 4px solid #5d3a1a;
    border-radius: 15px;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.6);
    transition: transform 0.3s, box-shadow 0.3s;
}

.game-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 6px 12px rgba(0, 0, 0, 0.8);
}

.game-card--ornate::before,
.game-card--ornate::after {
    content: "";
    position: absolute;
    width: 20px;
    height: 20px;
    border-radius: 50%;
    background: linear-gradient(145deg, #d4d4d4, #8f8f8f);
    border: 3px solid #42240f;
    box-shadow:
        inset 2px 2px 4px rgba(255, 255, 255, 0.6),
        inset -2px -2px 4px rgba(0, 0, 0, 0.6);
}

.game-card--ornate::before {
    top: -15px;
    left: -15px;
}

.game-card--ornate::after {
    right: -15px;
    bottom: -15px;
}

.game-card .game-card__media {
    width: 100%;
    height: 160px;
    margin-bottom: 12px;
    border-radius: 8px;
    background-repeat: no-repeat;
    background-position: center;
    background-size: contain;
    filter: drop-shadow(5px 5px 5px #222) drop-shadow(0 0 5px rgba(0, 102, 255, 0.6));
    animation: gameBlueGlow 2s ease-in-out infinite;
}

.game-card .game-card__media--cover {
    background-size: cover;
}

.game-card .game-card__media img {
    display: block;
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.game-card .game-card__media--cover img {
    object-fit: cover;
}

.game-card .game-card__title {
    margin-bottom: 8px;
    font-family: "Cinzel", serif;
    font-size: 20px;
    font-weight: 700;
}

.game-card .game-card__price {
    margin-bottom: 8px;
    color: #4caf50;
    font-size: 18px;
    font-weight: 900;
}

.game-card .game-card__copy {
    flex-grow: 1;
    margin-bottom: 12px;
    font-size: 15px;
    line-height: 1.4;
}

.game-card .game-card__action {
    display: block;
    width: 100%;
    border: 1px solid rgba(255, 255, 255, 0.2);
    border-radius: 8px;
    padding: 8px 0;
    color: #fff;
    text-align: center;
    text-decoration: none;
    font-weight: 900;
    background: linear-gradient(145deg, #5e2f0d, #48240a);
    cursor: pointer;
    text-shadow: 0 1px 2px rgba(0, 0, 0, 0.7);
    transition: background-color 0.3s, box-shadow 0.3s;
}

.game-card .game-card__action:not(.unclaimable) {
    box-shadow:
        2px 2px 4px rgba(0, 0, 0, 0.7),
        -2px -2px 4px rgba(255, 255, 255, 0.2);
}

.game-card .game-card__action:not(.unclaimable):hover {
    background: linear-gradient(145deg, #48240a, #311807);
    box-shadow:
        inset 2px 2px 4px rgba(0, 0, 0, 0.8),
        inset -2px -2px 4px rgba(255, 255, 255, 0.3);
}

.game-card .game-card__action.claimable {
    border: 2px solid rgba(0, 150, 255, 0.8);
    animation: gameBorderGlow 2s infinite;
}

.game-card .game-card__action.unclaimable {
    background: #313131;
    box-shadow:
        inset 2px 2px 4px rgba(0, 0, 0, 0.7),
        inset -2px -2px 4px rgba(255, 255, 255, 0.2);
    cursor: default;
}

@keyframes gameBorderGlow {
    0% {
        box-shadow: 0 0 5px 2px rgba(0, 150, 255, 0.5);
    }
    25% {
        box-shadow: 0 0 10px 4px rgba(0, 150, 255, 0.6);
    }
    50% {
        box-shadow: 0 0 15px 6px rgba(0, 150, 255, 0.7);
    }
    75% {
        box-shadow: 0 0 10px 4px rgba(0, 150, 255, 0.6);
    }
    100% {
        box-shadow: 0 0 5px 2px rgba(0, 150, 255, 0.5);
    }
}

@keyframes gameBlueGlow {
    0%,
    100% {
        filter: drop-shadow(5px 5px 5px #222) drop-shadow(0 0 5px rgba(0, 102, 255, 0.6));
    }
    50% {
        filter: drop-shadow(5px 5px 5px #222) drop-shadow(0 0 15px rgba(0, 102, 255, 1));
    }
}
