/* ===== LittleGames — Glassmorphism Bento Edition ===== */
@import url('https://fonts.googleapis.com/css2?family=Poppins:wght@400;500;600;700;800;900&family=DM+Mono:wght@400;500&display=swap');

:root {
    --bg-1: #0c0a1d;
    --bg-2: #12082a;
    --glass: rgba(255, 255, 255, 0.04);
    --glass-border: rgba(255, 255, 255, 0.08);
    --glass-hover: rgba(255, 255, 255, 0.08);
    --coral: #ff6b6b;
    --peach: #ffa07a;
    --mint: #4ecdc4;
    --violet: #a78bfa;
    --sky: #67d4fc;
    --rose: #f472b6;
    --amber: #fbbf24;
    --lime: #a3e635;
    --text: #f0eef5;
    --text-2: #a09cb5;
    --text-3: #6b6580;
    --font: 'Poppins', -apple-system, sans-serif;
    --mono: 'DM Mono', monospace;
    --r: 20px;
    --r-sm: 14px;
}

*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font);
    background: var(--bg-1);
    color: var(--text);
    min-height: 100vh;
    line-height: 1.6;
    font-weight: 500;
    overflow-x: hidden;
}

body::before {
    content: '';
    position: fixed;
    inset: 0;
    z-index: -1;
    background:
        radial-gradient(ellipse 50% 40% at 15% 10%, rgba(255, 107, 107, 0.12) 0%, transparent 70%),
        radial-gradient(ellipse 40% 35% at 85% 20%, rgba(167, 139, 250, 0.1) 0%, transparent 65%),
        radial-gradient(ellipse 45% 30% at 50% 80%, rgba(78, 205, 196, 0.08) 0%, transparent 60%),
        radial-gradient(ellipse 35% 25% at 20% 60%, rgba(251, 191, 36, 0.06) 0%, transparent 55%),
        linear-gradient(180deg, #0c0a1d 0%, #12082a 50%, #0a0f1e 100%);
}

a {
    color: var(--coral);
    text-decoration: none;
    transition: 0.3s;
}

a:hover {
    color: #fff;
}

img {
    max-width: 100%;
    display: block;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 24px;
}

/* ===== GLASS MIXIN ===== */
.glass {
    background: var(--glass);
    backdrop-filter: blur(16px);
    -webkit-backdrop-filter: blur(16px);
    border: 1px solid var(--glass-border);
    border-radius: var(--r);
}

/* ===== TOPBAR ===== */
.topbar {
    position: sticky;
    top: 0;
    z-index: 100;
    padding: 12px 0;
    background: rgba(12, 10, 29, 0.85);
    backdrop-filter: blur(30px);
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}

.topbar-inner {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}

.logo {
    display: flex;
    align-items: center;
    gap: 12px;
    text-decoration: none;
}

.logo-icon {
    width: 44px;
    height: 44px;
    background: linear-gradient(135deg, var(--coral), var(--violet), var(--mint));
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.3rem;
    box-shadow: 0 4px 25px rgba(255, 107, 107, 0.2);
    animation: logoFloat 3s ease-in-out infinite;
}

@keyframes logoFloat {

    0%,
    100% {
        transform: translateY(0) rotate(0deg);
    }

    50% {
        transform: translateY(-4px) rotate(3deg);
    }
}

.logo-text {
    font-size: 1.2rem;
    font-weight: 800;
    color: #fff;
    letter-spacing: -0.5px;
}

.logo-sub {
    font-size: 0.58rem;
    color: var(--text-3);
    font-weight: 500;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.pill-nav {
    display: flex;
    gap: 6px;
    flex-wrap: wrap;
}

.pill {
    padding: 6px 16px;
    font-size: 0.72rem;
    font-weight: 600;
    color: var(--text-2);
    border-radius: 50px;
    transition: 0.3s;
    border: 1px solid transparent;
}

.pill:hover,
.pill.active {
    background: rgba(255, 107, 107, 0.1);
    color: var(--coral);
    border-color: rgba(255, 107, 107, 0.15);
}

.search-box {
    background: rgba(255, 255, 255, 0.04);
    border: 1px solid rgba(255, 255, 255, 0.06);
    border-radius: 50px;
    padding: 8px 20px;
    color: #fff;
    font-size: 0.8rem;
    font-family: var(--font);
    outline: none;
    width: 220px;
    transition: 0.4s;
}

.search-box:focus {
    border-color: var(--coral);
    box-shadow: 0 0 25px rgba(255, 107, 107, 0.15);
    width: 260px;
}

/* --- Topbar Live Counter --- */
.topbar-live {
    display: flex;
    align-items: center;
    gap: 6px;
    background: rgba(78, 205, 196, 0.06);
    border: 1px solid rgba(78, 205, 196, 0.12);
    border-radius: 50px;
    padding: 5px 14px 5px 10px;
}

.live-pulse {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: livePulse 1.5s infinite;
    box-shadow: 0 0 8px rgba(78, 205, 196, 0.5);
}

@keyframes livePulse {

    0%,
    100% {
        opacity: 1;
        transform: scale(1);
    }

    50% {
        opacity: 0.4;
        transform: scale(0.7);
    }
}

.live-count {
    font-family: var(--mono);
    font-size: 0.75rem;
    font-weight: 700;
    color: var(--mint);
}

.live-label {
    font-size: 0.5rem;
    font-weight: 700;
    color: var(--text-3);
    letter-spacing: 2px;
}

/* --- Topbar Badge --- */
.topbar-badge {
    font-size: 0.65rem;
    font-weight: 700;
    padding: 4px 12px;
    background: linear-gradient(135deg, rgba(255, 107, 107, 0.1), rgba(167, 139, 250, 0.08));
    border: 1px solid rgba(255, 107, 107, 0.12);
    border-radius: 50px;
    color: var(--coral);
    letter-spacing: 0.5px;
    animation: badgePop 2s ease-in-out infinite;
}

@keyframes badgePop {

    0%,
    100% {
        transform: scale(1);
    }

    50% {
        transform: scale(1.04);
    }
}

/* --- Topbar Clock --- */
.topbar-clock {
    font-family: var(--mono);
    font-size: 0.68rem;
    color: var(--text-3);
    background: rgba(255, 255, 255, 0.03);
    border: 1px solid rgba(255, 255, 255, 0.04);
    border-radius: 8px;
    padding: 4px 10px;
    letter-spacing: 1px;
}

/* --- Topbar Gradient Glow --- */
.topbar-glow {
    height: 2px;
    width: 100%;
    background: linear-gradient(90deg, transparent, var(--coral), var(--violet), var(--mint), var(--amber), transparent);
    background-size: 200% 100%;
    animation: glowSlide 3s linear infinite;
    opacity: 0.6;
}

@keyframes glowSlide {
    0% {
        background-position: 100% 0;
    }

    100% {
        background-position: -100% 0;
    }
}

/* ===== HERO ===== */
.hero {
    padding: 60px 0 40px;
    text-align: center;
    position: relative;
}

.hero h1 {
    font-size: 2.8rem;
    font-weight: 900;
    letter-spacing: -1px;
    line-height: 1.15;
    background: linear-gradient(135deg, #fff 0%, var(--coral) 40%, var(--violet) 70%, var(--mint) 100%);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 16px;
    background-size: 200% auto;
    animation: heroGradient 4s ease infinite;
}

@keyframes heroGradient {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.hero p {
    font-size: 1rem;
    color: var(--text-2);
    max-width: 550px;
    margin: 0 auto 30px;
    font-weight: 500;
}

.hero-stats {
    display: flex;
    justify-content: center;
    gap: 40px;
    flex-wrap: wrap;
}

.hero-stat {
    text-align: center;
}

.hero-stat-num {
    font-size: 1.5rem;
    font-weight: 800;
    font-family: var(--mono);
}

.hero-stat-num.coral {
    color: var(--coral);
}

.hero-stat-num.mint {
    color: var(--mint);
}

.hero-stat-num.violet {
    color: var(--violet);
}

.hero-stat-label {
    font-size: 0.65rem;
    color: var(--text-3);
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 600;
}

/* ===== AD ===== */
.ad-slot {
    background: var(--glass);
    border: 1px dashed rgba(255, 255, 255, 0.06);
    border-radius: var(--r);
    display: flex;
    align-items: center;
    justify-content: center;
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-3);
    letter-spacing: 2px;
    margin: 30px 0;
}

/* ===== BENTO TOPLIST ===== */
.section-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 20px;
}

.section-title {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    color: var(--coral);
}

.section-badge {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--mint);
    background: rgba(78, 205, 196, 0.08);
    padding: 4px 14px;
    border-radius: 50px;
}

.bento {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    grid-auto-rows: minmax(200px, auto);
    gap: 14px;
}

.bento-card {
    position: relative;
    overflow: hidden;
    border-radius: var(--r);
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    text-decoration: none;
    color: inherit;
    transition: 0.4s;
    display: flex;
    flex-direction: column;
}

.bento-card.featured {
    grid-column: span 2;
    grid-row: span 2;
}

.bento-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 25px 60px rgba(0, 0, 0, 0.4), 0 0 0 1px rgba(255, 107, 107, 0.2);
    border-color: rgba(255, 107, 107, 0.3);
}

.bento-img {
    width: 100%;
    flex: 1;
    min-height: 100px;
    object-fit: cover;
    filter: brightness(0.8) saturate(1.2);
    transition: 0.5s;
}

.bento-card:hover .bento-img {
    filter: brightness(1) saturate(1.4);
    transform: scale(1.04);
}

.bento-card.featured .bento-img {
    min-height: 200px;
}

.bento-info {
    padding: 14px 16px;
}

.bento-rank {
    position: absolute;
    top: 12px;
    left: 12px;
    z-index: 2;
    font-family: var(--mono);
    font-size: 0.58rem;
    font-weight: 700;
    padding: 4px 10px;
    border-radius: 10px;
    color: #fff;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
}

.bento-rank.c1 {
    background: linear-gradient(135deg, var(--coral), var(--peach));
}

.bento-rank.c2 {
    background: linear-gradient(135deg, var(--violet), var(--rose));
}

.bento-rank.c3 {
    background: linear-gradient(135deg, var(--mint), var(--sky));
}

.bento-rank.c4 {
    background: linear-gradient(135deg, var(--amber), var(--lime));
}

.bento-emoji {
    position: absolute;
    top: 12px;
    right: 12px;
    z-index: 2;
    font-size: 1.1rem;
    filter: drop-shadow(0 2px 4px rgba(0, 0, 0, 0.5));
}

.bento-cat {
    font-size: 0.55rem;
    text-transform: uppercase;
    letter-spacing: 2px;
    font-weight: 700;
    margin-bottom: 4px;
}

.bento-cat.coral {
    color: var(--coral);
}

.bento-cat.violet {
    color: var(--violet);
}

.bento-cat.mint {
    color: var(--mint);
}

.bento-cat.amber {
    color: var(--amber);
}

.bento-name {
    font-size: 0.85rem;
    font-weight: 700;
    color: #fff;
    line-height: 1.35;
    margin-bottom: 8px;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.bento-card.featured .bento-name {
    font-size: 1.1rem;
}

.bento-bar {
    height: 3px;
    background: rgba(255, 255, 255, 0.06);
    border-radius: 3px;
    overflow: hidden;
}

.bento-bar-fill {
    height: 100%;
    border-radius: 3px;
    background: linear-gradient(90deg, var(--coral), var(--violet), var(--mint), var(--amber));
    background-size: 300% 100%;
    animation: barFlow 4s linear infinite;
}

@keyframes barFlow {
    0% {
        background-position: 0% 0;
    }

    100% {
        background-position: 300% 0;
    }
}

.bento-meta {
    display: flex;
    justify-content: space-between;
    padding: 0 16px 12px;
    font-size: 0.6rem;
    color: var(--text-3);
    font-family: var(--mono);
}

/* ===== TRENDING STRIP ===== */
.trending-strip {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    padding: 4px 0 12px;
    scrollbar-width: thin;
    scrollbar-color: rgba(255, 107, 107, 0.15) transparent;
}

.trending-strip::-webkit-scrollbar {
    height: 3px;
}

.trending-strip::-webkit-scrollbar-track {
    background: transparent;
}

.trending-strip::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.2);
    border-radius: 3px;
}

.trend-chip {
    flex-shrink: 0;
    display: flex;
    align-items: center;
    gap: 10px;
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 8px 18px 8px 10px;
    text-decoration: none;
    color: var(--text);
    transition: 0.3s;
    font-size: 0.78rem;
    font-weight: 600;
}

.trend-chip:hover {
    border-color: var(--coral);
    background: rgba(255, 107, 107, 0.06);
    color: #fff;
}

.trend-num {
    font-family: var(--mono);
    font-size: 0.6rem;
    font-weight: 700;
    color: var(--coral);
    width: 20px;
    text-align: center;
}

/* ===== ACTIVITY FEED ===== */
.feed {
    border-radius: var(--r);
    overflow: hidden;
}

.feed-head {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 16px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    font-size: 0.72rem;
    font-weight: 700;
    letter-spacing: 2px;
    text-transform: uppercase;
}

.feed-dot {
    width: 8px;
    height: 8px;
    background: var(--mint);
    border-radius: 50%;
    animation: dot 1.5s infinite;
    box-shadow: 0 0 10px rgba(78, 205, 196, 0.4);
}

@keyframes dot {

    0%,
    100% {
        opacity: 1;
    }

    50% {
        opacity: 0.3;
    }
}

.feed-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 10px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.015);
    transition: 0.2s;
}

.feed-item:hover {
    background: rgba(255, 107, 107, 0.02);
}

.feed-time {
    font-family: var(--mono);
    font-size: 0.62rem;
    color: var(--text-3);
    min-width: 55px;
}

.feed-tag {
    font-family: var(--mono);
    font-size: 0.52rem;
    font-weight: 700;
    padding: 2px 8px;
    border-radius: 6px;
    min-width: 58px;
    text-align: center;
    letter-spacing: 1px;
}

.feed-tag.t1 {
    background: rgba(255, 107, 107, 0.1);
    color: var(--coral);
}

.feed-tag.t2 {
    background: rgba(167, 139, 250, 0.1);
    color: var(--violet);
}

.feed-tag.t3 {
    background: rgba(78, 205, 196, 0.08);
    color: var(--mint);
}

.feed-tag.t4 {
    background: rgba(251, 191, 36, 0.08);
    color: var(--amber);
}

.feed-tag.t5 {
    background: rgba(103, 212, 252, 0.08);
    color: var(--sky);
}

.feed-link {
    color: var(--text-2);
    text-decoration: none;
    flex: 1;
    font-weight: 600;
    font-size: 0.82rem;
}

.feed-link:hover {
    color: var(--coral);
}

/* ===== TAGS ===== */
.tag-cloud {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.tag {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: 50px;
    padding: 6px 16px;
    font-size: 0.72rem;
    color: var(--text-2);
    text-decoration: none;
    transition: 0.3s;
    font-weight: 600;
}

.tag:hover {
    border-color: var(--coral);
    color: #fff;
    background: rgba(255, 107, 107, 0.06);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.12);
}

/* ===== CATEGORY GRID ===== */
.cat-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 12px;
    margin-bottom: 30px;
}

.cat-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r);
    padding: 20px;
    text-align: center;
    text-decoration: none;
    color: inherit;
    transition: 0.35s;
}

.cat-card:hover {
    border-color: var(--coral);
    transform: translateY(-3px);
    box-shadow: 0 12px 35px rgba(0, 0, 0, 0.3);
}

.cat-icon {
    font-size: 1.8rem;
    margin-bottom: 8px;
}

.cat-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #fff;
    margin-bottom: 3px;
}

.cat-count {
    font-family: var(--mono);
    font-size: 0.6rem;
    color: var(--text-3);
}

/* ===== FOOTER ===== */
.footer {
    margin-top: 60px;
    padding: 50px 0 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.04);
}

.footer-inner {
    display: grid;
    grid-template-columns: 280px 1fr;
    gap: 40px;
}

.footer-brand-logo {
    font-size: 2.2rem;
    margin-bottom: 6px;
}

.footer-brand-name {
    font-size: 1.3rem;
    font-weight: 900;
    background: linear-gradient(90deg, var(--coral), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 10px;
}

.footer-copy {
    font-size: 0.78rem;
    color: var(--text-3);
    line-height: 1.7;
}

.footer-legal {
    margin-top: 16px;
}

.footer-legal a {
    color: var(--text-3);
    margin-right: 14px;
    font-size: 0.72rem;
    font-weight: 600;
}

.footer-legal a:hover {
    color: var(--coral);
}

.footer-tag-title {
    font-size: 0.62rem;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
    margin-bottom: 16px;
    color: var(--coral);
}

/* ===== VIEW PAGE ===== */
.view-wrap {
    max-width: 1000px;
    margin: 0 auto;
    padding: 40px 24px 60px;
}

.breadcrumb {
    font-size: 0.78rem;
    color: var(--text-3);
    margin-bottom: 22px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}

.breadcrumb a {
    color: var(--coral);
}

.game-hero {
    display: grid;
    grid-template-columns: 1fr 320px;
    gap: 28px;
    margin-bottom: 35px;
}

.game-frame-wrap {
    border-radius: var(--r);
    overflow: hidden;
    position: relative;
    min-height: 380px;
    background: rgba(0, 0, 0, 0.5);
    border: 2px solid var(--coral);
    box-shadow: 0 0 50px rgba(255, 107, 107, 0.1), inset 0 0 40px rgba(255, 107, 107, 0.03);
}

.game-sidebar {
    display: flex;
    flex-direction: column;
    gap: 16px;
}

.game-info-card {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--r);
    padding: 20px;
}

.game-info-card h3 {
    font-size: 0.68rem;
    font-weight: 700;
    letter-spacing: 2px;
    margin-bottom: 14px;
    background: linear-gradient(90deg, var(--coral), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.info-row {
    display: flex;
    justify-content: space-between;
    padding: 8px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.025);
    font-size: 0.82rem;
}

.info-row:last-child {
    border: none;
}

.info-row .lbl {
    color: var(--text-3);
    font-weight: 500;
}

.info-row .val {
    color: var(--text);
    font-weight: 700;
    font-family: var(--mono);
    font-size: 0.78rem;
}

.info-row .val.green {
    color: var(--mint);
}

.info-row .val.accent {
    color: var(--coral);
}

.genre-wrap {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 5px;
}

.genre-chip {
    background: rgba(255, 107, 107, 0.08);
    border: 1px solid rgba(255, 107, 107, 0.15);
    color: var(--coral);
    border-radius: 50px;
    padding: 5px 14px;
    font-size: 0.7rem;
    font-weight: 700;
}

.play-btn {
    display: block;
    width: 100%;
    text-align: center;
    background: linear-gradient(135deg, var(--coral), var(--violet), var(--mint));
    background-size: 200% auto;
    animation: playShimmer 3s ease-in-out infinite;
    border: none;
    color: #fff;
    padding: 16px;
    font-family: var(--font);
    font-size: 0.88rem;
    font-weight: 800;
    letter-spacing: 2px;
    text-decoration: none;
    border-radius: 16px;
    transition: 0.4s;
    box-shadow: 0 6px 30px rgba(255, 107, 107, 0.2);
}

@keyframes playShimmer {

    0%,
    100% {
        background-position: 0% center;
    }

    50% {
        background-position: 100% center;
    }
}

.play-btn:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 45px rgba(255, 107, 107, 0.25);
    color: #fff;
}

.article-section {
    background: var(--glass);
    backdrop-filter: blur(12px);
    border: 1px solid var(--glass-border);
    border-radius: var(--r);
    padding: 30px 35px;
    margin-bottom: 25px;
}

.article-section h2 {
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 2px;
    margin-bottom: 18px;
    padding-bottom: 12px;
    border-bottom: 1px solid rgba(255, 107, 107, 0.08);
    background: linear-gradient(90deg, var(--coral), var(--violet));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
}

.article-section p {
    color: var(--text-2);
    font-size: 0.95rem;
    line-height: 1.9;
    margin-bottom: 14px;
}

.article-section p:last-child {
    margin-bottom: 0;
}

.article-section strong {
    color: var(--text);
}

.article-section ul {
    padding-left: 20px;
    margin-top: 10px;
}

.article-section li {
    color: var(--text-2);
    font-size: 0.92rem;
    line-height: 1.8;
    margin-bottom: 7px;
}

.faq-item {
    border: 1px solid var(--glass-border);
    border-radius: var(--r-sm);
    margin-bottom: 10px;
    overflow: hidden;
}

.faq-q {
    padding: 16px 20px;
    font-size: 0.9rem;
    font-weight: 700;
    color: var(--text);
    cursor: pointer;
    display: flex;
    justify-content: space-between;
    align-items: center;
    background: rgba(255, 255, 255, 0.015);
    transition: 0.2s;
}

.faq-q:hover {
    background: rgba(255, 107, 107, 0.03);
}

.faq-q .arrow {
    color: var(--coral);
    transition: 0.3s;
}

.faq-a {
    display: none;
    padding: 0 20px 16px;
    color: var(--text-2);
    font-size: 0.88rem;
    line-height: 1.85;
}

.faq-item.open .faq-a {
    display: block;
}

.faq-item.open .arrow {
    transform: rotate(180deg);
}

.related-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 14px;
}

.related-card {
    background: var(--glass);
    border: 1px solid var(--glass-border);
    border-radius: var(--r);
    padding: 14px;
    text-decoration: none;
    color: inherit;
    transition: 0.35s;
    display: flex;
    flex-direction: column;
    gap: 8px;
}

.related-card:hover {
    border-color: var(--coral);
    transform: translateY(-4px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.3);
}

.related-card img {
    width: 100%;
    height: 75px;
    object-fit: cover;
    border-radius: var(--r-sm);
}

.related-card .rc-name {
    font-size: 0.78rem;
    font-weight: 700;
    color: #e2e8f0;
    line-height: 1.4;
}

.related-card .rc-tag {
    font-size: 0.62rem;
    color: var(--coral);
    font-family: var(--mono);
}

@keyframes sync {
    0% {
        transform: translateX(-100%);
    }

    100% {
        transform: translateX(400%);
    }
}

/* ===== RESPONSIVE ===== */
@media (max-width: 900px) {
    .bento {
        grid-template-columns: repeat(2, 1fr);
    }

    .bento-card.featured {
        grid-column: span 2;
        grid-row: span 1;
    }

    .cat-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .game-hero {
        grid-template-columns: 1fr;
    }

    .related-grid {
        grid-template-columns: repeat(2, 1fr);
    }

    .footer-inner {
        grid-template-columns: 1fr;
    }

    .pill-nav {
        display: none;
    }
}

@media (max-width: 500px) {
    .bento {
        grid-template-columns: 1fr;
    }

    .bento-card.featured {
        grid-column: span 1;
    }

    .cat-grid {
        grid-template-columns: 1fr;
    }

    .hero h1 {
        font-size: 1.8rem;
    }

    .article-section {
        padding: 20px;
    }
}