/**
 * Request hero variants — shared between on-page Community Takes (game/boardgame
 * single pages) and patron card surfaces (/community-requests/, /patron-hub/).
 *
 * One source of truth for the comparison (VS) and counterpoint (pooter-debate)
 * hero treatments. Apply these classes onto whatever wrapper element the host
 * surface already provides (.pc-take-hero, .prv2-card-hero, etc.) — they only
 * style their own scope and don't fight the wrapper's box dimensions.
 *
 * Wrapper provides: aspect-ratio, border-radius, position:relative, overflow.
 * This file provides: inner layout, side images, VS badge, debate frame.
 */

/* ---- Comparison hero: primary | VS | secondary -----------------------------
   Selector compound (.wakasm-rcard-hero.wakasm-vs-frame) raises specificity
   so the grid layout wins over the wrapper's `display: block` no matter
   which stylesheet loads last. */
.wakasm-vs-frame,
.wakasm-rcard-hero.wakasm-vs-frame {
    display: grid;
    grid-template-columns: 1fr 1fr;
    background: linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
}

.wakasm-vs-side {
    position: relative;
    display: block;
    width: 100%;
    height: 100%;
    overflow: hidden;
    text-decoration: none;
    background: #0a0a0a;
    line-height: 0;
}
.wakasm-vs-side img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: top center;
    display: block;
    transition: transform 0.3s ease, filter 0.3s ease;
}
.wakasm-vs-side:hover img {
    transform: scale(1.04);
    filter: brightness(1.08);
}
.wakasm-vs-side + .wakasm-vs-side {
    border-left: 1px solid rgba(0, 0, 0, 0.6);
}
.wakasm-vs-side .wakasm-vs-mark {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: 'Press Start 2P', monospace, sans-serif;
    font-size: 48px;
    color: rgba(255, 201, 54, 0.85);
    text-shadow: 0 4px 0 rgba(0, 0, 0, 0.45);
}

.wakasm-vs-badge {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) rotate(-6deg);
    z-index: 2;
    pointer-events: none;
    box-sizing: border-box;
    width: 60px;
    height: 60px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    line-height: 1;
    font-family: 'Changa', system-ui, sans-serif;
    font-weight: 950;
    font-size: 26px;
    letter-spacing: 1px;
    color: #fff8e7;
    background: linear-gradient(180deg, #e35d52 0%, #b53d34 100%);
    border-radius: 50%;
    border: 3px solid #fff8e7;
    box-shadow:
        0 4px 0 rgba(0, 0, 0, 0.35),
        0 0 0 2px rgba(0, 0, 0, 0.4),
        inset 0 -2px 0 rgba(0, 0, 0, 0.2);
    text-shadow: 0 2px 0 rgba(0, 0, 0, 0.35);
}
/* "X similar to Y" — blue, ≈ glyph */
.wakasm-vs-badge--similar {
    background: linear-gradient(180deg, #5b8def 0%, #2f5ec0 100%);
    font-size: 34px;
    letter-spacing: 0;
}
/* "X recommended over Y" — gold, > glyph */
.wakasm-vs-badge--better {
    background: linear-gradient(180deg, #ffc936 0%, #c89a1f 100%);
    color: #2a1a00;
    text-shadow: 0 1px 0 rgba(255, 255, 255, 0.25);
    font-size: 34px;
    letter-spacing: 0;
}

/* ---- Counterpoint overlay -------------------------------------------------
   Transparent pooter-debate PNG laid over the primary game thumb at its
   native 16:9 aspect. No rotation, no drop-shadow, no forced size — the
   PNG already carries its own art treatment. */
.wakasm-debate-badge {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}
.wakasm-debate-badge img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    display: block;
}
