/* Hero category buttons + Latest Release card (IFS index + SBP 3d-games). Keep identical. */
#games { scroll-margin-top: 5.75rem; }
.hero-cat-panel { width: 100%; max-width: 48rem; margin: 2rem auto 0; }
.hero-cat-btns {
    display: flex;
    flex-direction: column;
    gap: 0.75rem;
    justify-content: center;
    width: 100%;
}
@media (min-width: 640px) {
    .hero-cat-btns { flex-direction: row; }
}
.hero-cat-btn {
    font-family: 'Bebas Neue', sans-serif;
    flex: 1 1 0;
    display: inline-block;
    text-align: center;
    padding: 0.9rem 1.25rem;
    background: #2ad1d6;
    color: #000;
    border-radius: 0.75rem;
    letter-spacing: 1px;
    font-size: 1.15rem;
    line-height: 1.2;
    text-decoration: none;
    transition: background-color .2s ease, transform .2s ease;
}
.hero-cat-btn:hover,
.hero-cat-btn:focus-visible { background: #7be7e9; color: #000; }
.hero-cat-btn i { margin-right: 0.45rem; }
@media (min-width: 768px) {
    .hero-cat-btn { font-size: 1.25rem; padding: 1rem 1.5rem; }
}
.latest-release { width: 100%; max-width: 34rem; margin: 1.5rem auto 0; text-align: left; }
.latest-release-label {
    font-size: 0.7rem;
    font-weight: 700;
    letter-spacing: 0.16em;
    text-transform: uppercase;
    color: #2ad1d6;
    margin: 0 0 0.5rem;
    text-align: center;
    text-shadow: 0 2px 8px rgba(0,0,0,.8);
}
.latest-release-card {
    display: flex;
    gap: 14px;
    align-items: center;
    padding: 10px;
    border-radius: 16px;
    background: rgba(10,11,15,.72);
    border: 1px solid rgba(42,209,214,.45);
    box-shadow: 0 8px 28px rgba(0,0,0,.45);
    text-decoration: none;
    color: inherit;
    backdrop-filter: blur(8px);
    transition: border-color .2s, transform .2s;
}
.latest-release-card:hover,
.latest-release-card:focus-visible { border-color: #7be7e9; transform: translateY(-1px); }
.latest-release-card img {
    width: 120px;
    height: 76px;
    object-fit: cover;
    border-radius: 10px;
    flex-shrink: 0;
    background: #11131a;
}
.latest-release-body { min-width: 0; }
.latest-release-card h3 {
    font-size: 1.05rem;
    font-weight: 700;
    color: #fff;
    margin: 0 0 4px;
    text-shadow: 0 1px 8px rgba(0,0,0,.8);
}
.latest-release-blurb {
    font-size: 0.8rem;
    color: #d1d5db;
    margin: 0;
    line-height: 1.35;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.latest-release-play {
    display: inline-block;
    margin-top: 6px;
    font-size: 0.75rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #2ad1d6;
}
@media (max-width: 640px) {
    .latest-release-card img { width: 96px; height: 64px; }
}
/* Keep the panel visible when the SBP / games.html listing hero is collapsed. */
html.hero-start-collapsed .listing-hero .hero-cat-panel { margin-top: 0.85rem; }
html.hero-start-collapsed .listing-hero .hero-cat-btn { padding: 0.65rem 1rem; font-size: 1.05rem; }
html.hero-start-collapsed .listing-hero .latest-release { margin-top: 0.75rem; max-width: 28rem; }
html.hero-start-collapsed .listing-hero .latest-release-label,
html.hero-start-collapsed .listing-hero .latest-release-blurb { display: block !important; }
/* Keep the 1200x630 Arena teaser at its desktop width when the games.html hero collapses. */
html.hero-start-collapsed .listing-hero .latest-release--teaser { max-width: 45rem; }

/* Arena Blasters teaser on the IFS homepage and games.html Latest Release card.
   1200x630 art, 720px (45rem) wide on desktop, full width on phone.
   width/height attributes plus aspect-ratio avoid layout shift. */
.latest-release--teaser { width: 100%; max-width: 45rem; }
.latest-release-card--teaser {
    display: block;
    padding: 0;
    overflow: hidden;
    background: #0a0818;
}
.latest-release-card--teaser picture {
    display: block;
    width: 100%;
    aspect-ratio: 1200 / 630;
    background: #0a0818;
}
.latest-release-card--teaser img {
    display: block;
    width: 100%;
    max-width: 100%;
    height: auto;
    aspect-ratio: 1200 / 630;
    object-fit: cover;
    border-radius: 0;
    flex-shrink: 1;
    background: #0a0818;
}
@media (max-width: 640px) {
    .latest-release-card--teaser img { width: 100%; height: auto; }
}
