/* ==========================================================================
   Card access tag — Free / Trial / Paid
   A tiny premium pill anchored to the top-left of a card image.
   Works inside any position:relative parent (.gallery__piece, .game-thumbnail).
   ========================================================================== */

.card-tag {
    position: absolute;
    top: 8px;
    left: 8px;
    z-index: 2;
    pointer-events: none;

    display: inline-block;
    padding: 3px 9px;
    border-radius: 999px;

    font-family: 'DM Sans', sans-serif;
    font-size: 0.56rem;
    font-weight: 700;
    line-height: 1;
    letter-spacing: 0.09em;
    text-transform: uppercase;
    white-space: nowrap;

    box-shadow: 0 2px 6px rgba(0, 0, 0, 0.35);
}

/* Free — open, no cost: clean green, bright white text */
.card-tag--free {
    background: #1f9d55;
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* Trial — ticking clock: solid brand gold, dark text (no sand-on-gold) */
.card-tag--trial {
    background: #D4AF37;
    color: #1a1305;
    border: 1px solid rgba(0, 0, 0, 0.25);
}

/* Paid — premium/exclusive: dark pill, gold edge + gold text */
.card-tag--paid {
    background: rgba(12, 10, 6, 0.82);
    color: #D4AF37;
    border: 1px solid rgba(212, 175, 55, 0.85);
    backdrop-filter: blur(2px);
}

/* Mobile — minimum padding at 480px */
@media (max-width: 480px) {
    .card-tag {
        top: 6px;
        left: 6px;
        padding: 2px 7px;
        font-size: 0.5rem;
        letter-spacing: 0.07em;
    }
}
