/* Game highlights, category chips, provider placeholders — jiliacephlive.com */

.showcase-note {
    font-size: 0.82rem;
    color: var(--muted);
    margin: 0 0 1.25rem;
    max-width: 40rem;
    line-height: 1.45;
}

.showcase-note strong {
    color: var(--text);
}

.game-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
}

@media (min-width: 640px) {
    .game-grid {
        grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    }
}

.game-grid--4 {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

@media (min-width: 900px) {
    .game-grid--4 {
        grid-template-columns: repeat(4, 1fr);
    }
}

.game-card {
    position: relative;
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: transform 0.15s ease, box-shadow 0.15s ease;
}

.game-card:hover {
    transform: translateY(-2px);
    box-shadow: 0 14px 36px rgba(0, 0, 0, 0.35);
}

.game-card__media {
    aspect-ratio: 16 / 10;
    width: 100%;
    position: relative;
    overflow: hidden;
}

.game-card__media .game-card__ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
}

.game-card__ph-title {
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    padding: 0.5rem 0.65rem 0.55rem;
    font-size: 0.78rem;
    font-weight: 700;
    line-height: 1.25;
    text-align: center;
    color: rgba(255, 255, 255, 0.96);
    text-shadow: 0 2px 12px rgba(0, 0, 0, 0.75);
    background: linear-gradient(transparent, rgba(0, 0, 0, 0.72));
    z-index: 1;
}

/* Placeholder art — varied gradients */
.game-card__ph {
    background: linear-gradient(135deg, var(--bg-elev) 0%, var(--surface) 50%, var(--bg-elev) 100%);
}

.game-card__ph--a {
    background: linear-gradient(145deg, #2a1818 0%, #121212 50%, #1f1414 100%);
}

.game-card__ph--b {
    background: linear-gradient(145deg, #1a1a22 0%, #0f0f0f 50%, #181820 100%);
}

.game-card__ph--c {
    background: linear-gradient(145deg, #252018 0%, #121210 50%, #1c1812 100%);
}

.game-card__ph--d {
    background: linear-gradient(145deg, #221a1a 0%, #0e0e0e 50%, #1a1416 100%);
}

.game-card__ph--e {
    background: linear-gradient(145deg, #181c22 0%, #0c0c0c 50%, #14161c 100%);
}

.game-card__ph--f {
    background: linear-gradient(145deg, #281414 0%, #100a0a 50%, #221010 100%);
}

.game-card__ph--felt {
    background: linear-gradient(145deg, #142018 0%, #1a2820 100%);
}

.game-card__ph::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(
        -45deg,
        transparent,
        transparent 8px,
        rgba(255, 255, 255, 0.03) 8px,
        rgba(255, 255, 255, 0.03) 9px
    );
    pointer-events: none;
}

.game-card__ph-label {
    position: absolute;
    bottom: 0.5rem;
    right: 0.5rem;
    font-size: 0.65rem;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: rgba(255, 255, 255, 0.35);
    z-index: 1;
}

.badge {
    position: absolute;
    top: 0.5rem;
    left: 0.5rem;
    z-index: 2;
    font-size: 0.65rem;
    font-weight: 800;
    text-transform: uppercase;
    letter-spacing: 0.06em;
    padding: 0.25rem 0.5rem;
    border-radius: 6px;
    line-height: 1;
}

.badge--hot {
    background: linear-gradient(135deg, #ff4444, #cc0000);
    color: #fff;
    box-shadow: 0 8px 20px rgba(0, 0, 0, 0.35);
}

.badge--exclusive {
    background: linear-gradient(135deg, #404040, #2a2a2a);
    color: #ececec;
    border: 1px solid rgba(220, 38, 38, 0.25);
}

.badge--new {
    background: var(--accent-dim);
    color: var(--accent);
    border: 1px solid rgba(220, 38, 38, 0.4);
}

.badge--rtp {
    background: rgba(255, 255, 255, 0.06);
    color: var(--accent-muted);
    border: 1px solid rgba(220, 38, 38, 0.28);
}

.game-card__body {
    padding: 0.75rem 0.9rem 1rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 0.25rem;
}

.game-card__title {
    margin: 0;
    font-size: 0.95rem;
    font-weight: 700;
    line-height: 1.3;
    color: var(--text);
}

.game-card__meta {
    margin: 0;
    font-size: 0.78rem;
    color: var(--muted);
    line-height: 1.35;
}

.showcase__row-title {
    margin: 1.75rem 0 0.75rem;
    font-size: 0.8rem;
    font-weight: 700;
    letter-spacing: 0.12em;
    text-transform: uppercase;
    color: var(--accent);
}

.showcase__row-title:first-child {
    margin-top: 0;
}

/* Category chips */
.chip-row {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1.25rem;
    margin-bottom: 0.65rem;
}

.chip {
    display: inline-flex;
    align-items: center;
    padding: 0.45rem 0.85rem;
    border-radius: 999px;
    font-size: 0.82rem;
    font-weight: 600;
    color: var(--text);
    background: var(--bg-elev);
    border: 1px solid var(--border);
    text-decoration: none;
    transition: border-color 0.15s ease, background 0.15s ease;
}

.chip:hover {
    border-color: var(--accent);
    color: var(--accent);
    background: var(--accent-dim);
}

.chip--ghost {
    color: var(--muted);
    font-weight: 500;
}

/* Category tiles (slots page) */
.cat-grid {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
}

@media (min-width: 720px) {
    .cat-grid {
        grid-template-columns: repeat(auto-fill, minmax(160px, 1fr));
    }
}

.cat-tile {
    display: flex;
    flex-direction: column;
    text-decoration: none;
    color: inherit;
    border-radius: var(--radius-sm);
    overflow: hidden;
    border: 1px solid var(--border);
    background: var(--surface);
    transition: transform 0.15s ease, border-color 0.15s ease;
}

.cat-tile:hover {
    transform: translateY(-2px);
    border-color: rgba(220, 38, 38, 0.45);
}

.cat-tile__ph {
    aspect-ratio: 4 / 3;
    width: 100%;
    background: linear-gradient(160deg, var(--bg-elev), var(--surface));
}

.cat-tile__ph--m {
    background: linear-gradient(160deg, #222018, #0f0e0c);
}

.cat-tile__ph--h {
    background: linear-gradient(160deg, #181c1a, #0c0e0d);
}

.cat-tile__ph--j {
    background: linear-gradient(160deg, #221818, #100c0c);
}

.cat-tile__label {
    padding: 0.6rem 0.7rem;
    font-size: 0.8rem;
    font-weight: 700;
    text-align: center;
    color: var(--text);
}

.cat-tile__hint {
    font-size: 0.75rem;
    color: var(--muted);
    font-weight: 500;
    padding: 0 0.7rem 0.65rem;
    text-align: center;
    margin-top: -0.25rem;
}

/* Providers */
.provider-row {
    display: grid;
    gap: 0.75rem;
    grid-template-columns: repeat(auto-fill, minmax(100px, 1fr));
}

@media (min-width: 640px) {
    .provider-row {
        grid-template-columns: repeat(auto-fill, minmax(120px, 1fr));
    }
}

.provider-logo {
    aspect-ratio: 5 / 3;
    border-radius: var(--radius-sm);
    border: 1px solid var(--border);
    display: grid;
    place-items: center;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.04em;
    color: var(--muted);
    background: var(--bg-elev);
}

.provider-logo--jili {
    color: var(--accent);
    border-color: rgba(220, 38, 38, 0.35);
}

.provider-logo--live {
    color: var(--accent-muted);
    border-color: rgba(220, 38, 38, 0.28);
}

/* Live casino category cards */
.live-cat-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
}

.live-cat-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    overflow: hidden;
}

.live-cat-card__ph {
    aspect-ratio: 16 / 9;
    background: linear-gradient(145deg, #1a0f14 0%, #2a1a22 100%);
}

.live-cat-card__ph--felt {
    background: linear-gradient(145deg, #0d2818 0%, #1a3d28 100%);
}

.live-cat-card__ph--wheel {
    background: linear-gradient(145deg, #28100d 0%, #3d1a1a 100%);
}

.live-cat-card__body {
    padding: 0.85rem 1rem;
}

.live-cat-card__body h3 {
    margin: 0 0 0.35rem;
    font-size: 1rem;
}

.live-cat-card__body p {
    margin: 0;
    font-size: 0.85rem;
    color: var(--muted);
}

.promo-pair-grid {
    display: grid;
    gap: 1rem;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
}

.promo-pair-card {
    background: var(--surface);
    border: 1px solid var(--border);
    border-radius: var(--radius);
    padding: 1rem;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
}

.promo-pair-card__tag {
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.08em;
    color: var(--accent-muted);
}

.promo-pair-card h3 {
    margin: 0;
    font-size: 1rem;
}

.promo-pair-card p {
    margin: 0;
    font-size: 0.88rem;
    color: var(--muted);
    flex: 1;
}

.promo-pair-card__visual {
    position: relative;
    aspect-ratio: 16 / 9;
    width: 100%;
    border-radius: var(--radius-sm);
    overflow: hidden;
}

.promo-pair-card__visual .game-card__ph {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    border-radius: inherit;
}

.promo-pair-card__visual .game-card__ph-title {
    font-size: 0.72rem;
    padding: 0.45rem 0.5rem;
}

.guide-chip-strip {
    display: flex;
    flex-wrap: wrap;
    gap: 0.5rem;
    margin-top: 1rem;
}
