/* Hero layout: main content + right tower ad */
.hero-layout {
    display: grid;
    grid-template-columns: 1fr 160px;
    gap: 1rem;
    align-items: start;
}

.hero-main {
    width: 100%;
}

.ad-tower {
    min-height: 420px;
    border-left: 1px solid rgba(255,255,255,0.04);
    display: flex;
    align-items: center;
    justify-content: center;
    color: var(--text-muted);
    font-size: 0.9rem;
    padding: 1rem;
    background: transparent;
}

.ad-placeholder {
    width: 140px;
    text-align: center;
    opacity: 0.7;
    line-height: 1.1;
}

@media (max-width: 900px) {
    .hero-layout { grid-template-columns: 1fr; }
    .ad-tower { display: none; }
    .games-grid.grid-4 { grid-template-columns: repeat(2, 1fr); }
}

/* Speedrunner hero */
.speedrunner-hero {
    margin: 2rem 0;
    padding: 2rem;
    background: linear-gradient(180deg, rgba(220,38,38,0.06), transparent 60%);
    border: 1px solid rgba(255,255,255,0.03);
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 1rem;
}

.speedrunner-content {
    flex: 1 1 auto;
}

.speedrunner-cta {
    display: flex;
    gap: 0.75rem;
    align-items: center;
}

.speedrunner-cta .btn {
    white-space: nowrap;
}

@media (max-width: 700px) {
    .speedrunner-hero { flex-direction: column; align-items: stretch; }
    .speedrunner-cta { justify-content: flex-start; }
}

/* Sidebar short link styles */
.nav-menu .nav-item { margin-bottom: 0.5rem; }
.nav-menu .nav-link.short { display: flex; align-items: center; gap: 0.5rem; padding: 0.5rem 0.75rem; border-radius: 8px; font-size: 0.95rem; }
.nav-menu .nav-link.short .nav-icon { font-size: 1.05rem; }
.nav-menu .nav-link.short.active { background: var(--bg-tertiary); }

/* Reduce width and center icons for compact sidebar */
.sidebar { width: 280px; }

/* Feature tags styling */
.feature-tag {
    display: inline-block;
    padding: 0.25rem 0.75rem;
    background: var(--bg-tertiary);
    color: var(--text-muted);
    border-radius: 15px;
    font-size: 0.75rem;
    margin-right: 0.5rem;
    margin-bottom: 0.5rem;
}

.tech-tag {
    display: inline-block;
    padding: 0.5rem 1rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border-radius: 20px;
    font-size: 0.875rem;
}

/* Games grid responsive */
.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 2rem;
}

@media (max-width: 1200px) {
    .games-grid {
        grid-template-columns: repeat(3, 1fr);
    }
}

/* Coming soon game cards */
.game-card.coming-soon {
    opacity: 0.7;
}

.game-card.coming-soon .game-screenshot {
    filter: grayscale(0.5) !important;
}

/* Responsive adjustments */
@media (max-width: 900px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
}

@media (max-width: 600px) {
    .games-grid {
        grid-template-columns: 1fr;
    }

    .games-filters {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 0.5rem;
    }

    .filter-btn {
        margin: 0 !important;
        padding: 0.5rem 1rem !important;
        font-size: 0.875rem !important;
    }
}

/* Filter button styles */
.filter-btn {
    padding: 0.75rem 1.5rem;
    margin: 0 0.5rem;
    background: var(--bg-tertiary);
    color: var(--text-secondary);
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-family: 'Jost', sans-serif;
    transition: all 0.3s ease;
}

.filter-btn.active {
    background: var(--primary-red);
    color: white;
}

.filter-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

/* Hide Play buttons and tags on game cards (non-destructive) */
.btn-play {
    display: none !important;
}

.feature-tag,
.game-badge {
    display: none !important;
}
