/* ===== HOMEPAGE STYLES ===== */

/* ===== HERO: GAME SELECTION ===== */
.home-hero {
    position: relative;
    padding: 4rem 2rem 3rem;
    border-radius: 16px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.08) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.1) 0%, transparent 50%);
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 960px;
    margin: 0 auto;
    text-align: center;
}

.hero-title {
    font-size: 2.8rem;
    font-weight: 800;
    color: #fff;
    margin-bottom: 0.5rem;
    letter-spacing: -0.5px;
}

.hero-title i {
    color: #fbbf24;
    margin-right: 0.25rem;
}

.hero-subtitle {
    font-size: 1.15rem;
    color: rgba(255, 255, 255, 0.85);
    margin-bottom: 2.5rem;
    font-weight: 400;
}

/* ===== GAME SELECTOR CARDS ===== */
.game-selector {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin-bottom: 2.5rem;
}

.game-card {
    display: flex;
    flex-direction: column;
    background: rgba(255, 255, 255, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.25);
    border-radius: 16px;
    overflow: hidden;
    text-decoration: none;
    color: inherit;
    transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    backdrop-filter: blur(8px);
    -webkit-backdrop-filter: blur(8px);
}

.game-card:hover {
    transform: translateY(-6px);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.2);
    text-decoration: none;
    color: inherit;
    background: rgba(255, 255, 255, 0.2);
}

.game-card:active {
    transform: translateY(-2px);
}

.game-card-image-wrapper {
    position: relative;
    width: 100%;
    height: 200px;
    overflow: hidden;
    background: rgba(0, 0, 0, 0.15);
}

.game-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.game-card:hover .game-card-image {
    transform: scale(1.05);
}

.game-card-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 4rem;
    color: rgba(255, 255, 255, 0.3);
}

.game-card-body {
    padding: 1.25rem 1.5rem;
    flex: 1;
}

.game-card-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: #f1f5f9;
    margin: 0 0 0.5rem 0;
}

.game-card-desc {
    font-size: 0.9rem;
    color: rgba(255, 255, 255, 0.7);
    margin: 0 0 1rem 0;
    line-height: 1.5;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-card-stats {
    display: flex;
    gap: 0.75rem;
    flex-wrap: wrap;
}

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    padding: 0.35rem 0.75rem;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 600;
    background: rgba(255, 255, 255, 0.15);
    color: rgba(255, 255, 255, 0.9);
}

.stat-badge i {
    font-size: 0.85rem;
}

.game-card-arrow {
    position: absolute;
    top: 50%;
    right: 1rem;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.15);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.1rem;
    opacity: 0;
    transition: all 0.3s ease;
}

.game-card:hover .game-card-arrow {
    opacity: 1;
    right: 1.25rem;
}

/* ===== HERO FEATURES BAR ===== */
.hero-features {
    display: flex;
    justify-content: center;
    gap: 2rem;
    flex-wrap: wrap;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: rgba(255, 255, 255, 0.6);
    font-size: 0.85rem;
    font-weight: 500;
}

.feature-item i {
    font-size: 1.1rem;
    color: rgba(255, 255, 255, 0.8);
}

/* ===== GAME DETAIL HERO ===== */
.game-detail-hero {
    position: relative;
    padding: 2rem 2rem 1.5rem;
    border-radius: 16px;
    margin-top: 1rem;
    margin-bottom: 1.5rem;
    overflow: hidden;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.game-detail-hero-bg {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(circle at 10% 80%, rgba(255, 255, 255, 0.05) 0%, transparent 50%),
        radial-gradient(circle at 90% 20%, rgba(255, 255, 255, 0.08) 0%, transparent 50%);
    pointer-events: none;
}

.game-detail-hero-inner {
    position: relative;
    z-index: 1;
    max-width: 100%;
    margin: 0 auto;
}

.game-detail-nav {
    position: absolute;
    top: 1rem;
    left: 1rem;
    z-index: 2;
}

.back-to-games {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 500;
    padding: 0.4rem 0.8rem;
    border-radius: 8px;
    transition: all 0.2s ease;
    background: rgba(255, 255, 255, 0.1);
}

.back-to-games:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
}

.game-detail-header {
    text-align: center;
    margin-bottom: 1rem;
}

.game-detail-logo-wrapper {
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 60px;
}

.game-detail-logo {
    max-width: 200px;
    max-height: 80px;
    object-fit: contain;
    filter: drop-shadow(0 2px 8px rgba(0, 0, 0, 0.3));
}

.game-detail-logo-fallback {
    display: flex;
    align-items: center;
    justify-content: center;
}

.game-detail-logo-fallback h2 {
    color: #fff;
    font-size: 2rem;
    font-weight: 800;
    margin: 0;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

/* ===== LANGUAGE FILTER ===== */
.language-filter-group {
    display: flex;
    justify-content: center;
}

.language-pills {
    display: flex;
    gap: 0.5rem;
    flex-wrap: wrap;
    justify-content: center;
}

.language-pill {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.5rem 1.25rem;
    border-radius: 50px;
    font-size: 0.9rem;
    font-weight: 600;
    text-decoration: none;
    transition: all 0.25s ease;
    color: rgba(255, 255, 255, 0.8);
    background: rgba(255, 255, 255, 0.1);
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.language-pill:hover {
    background: rgba(255, 255, 255, 0.2);
    color: #fff;
    text-decoration: none;
    transform: translateY(-1px);
}

.language-pill.active {
    background: #fff;
    color: #667eea;
    border-color: #fff;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.15);
}

.language-pill.active:hover {
    color: #5a6fd6;
}

.language-single-badge {
    display: flex;
    justify-content: center;
}

.language-single-badge .language-pill {
    cursor: default;
}

/* ===== GAME CONTENT AREA ===== */
.game-content-area {
    margin-bottom: 2rem;
}

/* ===== SERIES SECTION ===== */
.serie-section {
    margin-bottom: 2.5rem;
    animation: fadeInUp 0.5s ease-out;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(16px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.serie-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.25rem 1.5rem;
    background: linear-gradient(135deg, #f5f7fa 0%, #e2e8f0 100%);
    border-radius: 12px;
    border-left: 5px solid #667eea;
    margin-bottom: 1.25rem;
}

.serie-info {
    flex: 1;
}

.serie-title {
    font-weight: 700;
    color: #1e293b;
    font-size: 1.6rem;
    margin: 0;
    display: flex;
    align-items: center;
    gap: 0.5rem;
}

.serie-title i {
    color: #667eea;
}

.serie-date {
    font-size: 0.9rem;
    margin: 0.35rem 0 0 0;
}

.serie-badge {
    margin-left: 1.5rem;
    flex-shrink: 0;
}

.serie-icon {
    max-width: 80px;
    max-height: 80px;
    object-fit: contain;
}

/* ===== SETS GRID ===== */
.sets-grid {
    display: grid;
    grid-template-columns: repeat(6, 1fr);
    gap: 1.25rem;
}

.set-wrapper {
    display: flex;
    flex-direction: column;
}

.set-card {
    display: flex;
    flex-direction: column;
    background: #fff;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.08);
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    text-decoration: none;
    color: inherit;
    position: relative;
    height: 100%;
    border: 1px solid #e2e8f0;
}

.set-card:hover {
    transform: translateY(-6px);
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.12);
    border-color: #667eea;
    text-decoration: none;
    color: inherit;
}

.set-image-container {
    position: relative;
    width: 100%;
    height: 150px;
    overflow: hidden;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #f8fafc;
}

.set-image {
    max-width: 100%;
    max-height: 100%;
    object-fit: contain;
    transition: transform 0.35s ease;
}

.set-card:hover .set-image {
    transform: scale(1.05);
}

.set-image-placeholder {
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: center;
    background: #e2e8f0;
    color: #94a3b8;
    font-size: 2rem;
}

.set-info {
    padding: 0.75rem;
    flex: 1;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.set-name {
    font-weight: 700;
    color: #1e293b;
    font-size: 0.85rem;
    text-align: center;
    margin: 0;
    line-height: 1.3;
}

.set-overlay {
    position: absolute;
    inset: 0;
    background: rgba(102, 126, 234, 0.9);
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0;
    transition: opacity 0.3s ease;
    border-radius: 12px;
}

.set-card:hover .set-overlay {
    opacity: 1;
}

.overlay-content {
    color: white;
    text-align: center;
}

.overlay-content i {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 0.5rem;
}

.overlay-content p {
    margin: 0;
    font-weight: 600;
    font-size: 0.95rem;
}

/* ===== FLAT SETS CONTAINER ===== */
.flat-sets-container {
    animation: fadeInUp 0.5s ease-out;
}

/* ===== EMPTY STATE ===== */
.empty-state {
    text-align: center;
    padding: 4rem 2rem;
    color: #64748b;
}

.empty-state i {
    font-size: 3rem;
    margin-bottom: 1rem;
    display: block;
    color: #94a3b8;
}

.empty-state h5 {
    font-weight: 700;
    color: #475569;
    margin-bottom: 0.5rem;
}

.empty-state p {
    font-size: 0.95rem;
}

/* ===== STATS BAR ===== */
.home-stats-bar {
    margin: 0 0 3rem 0;
    padding: 1.75rem 2rem;
    background: #fff;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.06);
    border: 1px solid #e2e8f0;
}

.stats-bar-inner {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 2.5rem;
    flex-wrap: wrap;
}

.stat-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.2rem;
}

.stat-number {
    font-size: 1.75rem;
    font-weight: 800;
    color: #667eea;
    line-height: 1;
}

.stat-label {
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.stat-divider {
    width: 1px;
    height: 36px;
    background: #e2e8f0;
}

/* ===== FEATURE SECTIONS ===== */
.home-feature-section {
    margin-bottom: 3rem;
    padding: 2.5rem 2rem;
    background: #fff;
    border-radius: 16px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
    transition: box-shadow 0.3s ease;
}

.home-feature-section:hover {
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.08);
}

.feature-row {
    display: flex;
    align-items: center;
    gap: 2.5rem;
}

.feature-row-reverse {
    flex-direction: row-reverse;
}

.feature-icon-col {
    flex-shrink: 0;
}

.feature-icon-wrapper {
    width: 100px;
    height: 100px;
    border-radius: 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    color: #fff;
    box-shadow: 0 8px 24px rgba(0, 0, 0, 0.12);
}

.feature-icon-purple { background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); }
.feature-icon-green  { background: linear-gradient(135deg, #22c55e 0%, #16a34a 100%); }
.feature-icon-blue   { background: linear-gradient(135deg, #3b82f6 0%, #2563eb 100%); }
.feature-icon-orange { background: linear-gradient(135deg, #f97316 0%, #ea580c 100%); }
.feature-icon-red    { background: linear-gradient(135deg, #ef4444 0%, #dc2626 100%); }

.feature-text-col {
    flex: 1;
}

.feature-badge {
    display: inline-block;
    padding: 0.2rem 0.65rem;
    border-radius: 6px;
    font-size: 0.7rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: #fff;
    margin-bottom: 0.5rem;
}

.feature-title {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    margin: 0 0 0.6rem 0;
}

.feature-desc {
    font-size: 0.95rem;
    line-height: 1.7;
    color: #475569;
    margin: 0 0 1rem 0;
}

.feature-highlights {
    display: flex;
    gap: 1rem;
    flex-wrap: wrap;
    margin-bottom: 1rem;
}

.feature-highlights span {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    font-size: 0.8rem;
    font-weight: 600;
    color: #64748b;
    padding: 0.35rem 0.75rem;
    background: #f1f5f9;
    border-radius: 8px;
}

.feature-highlights span i {
    font-size: 0.85rem;
    color: #667eea;
}

.feature-cta {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #667eea;
    text-decoration: none;
    padding: 0.5rem 0;
    transition: gap 0.25s ease;
}

.feature-cta:hover {
    gap: 0.7rem;
    text-decoration: none;
    color: #5a6fd6;
}

/* ===== MINI STATS ===== */
.home-mini-stats {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.25rem;
    margin-bottom: 3rem;
}

.mini-stat-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.3rem;
    padding: 1.5rem 1rem;
    background: #fff;
    border-radius: 14px;
    border: 1px solid #e2e8f0;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.04);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.mini-stat-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 16px rgba(0, 0, 0, 0.08);
}

.mini-stat-card > i {
    font-size: 1.5rem;
    color: #667eea;
}

.mini-stat-number {
    font-size: 1.5rem;
    font-weight: 800;
    color: #1e293b;
    line-height: 1;
}

.mini-stat-label {
    font-size: 0.75rem;
    font-weight: 600;
    color: #94a3b8;
    text-transform: uppercase;
    letter-spacing: 0.3px;
}

/* ===== DARK THEME ===== */

/* Hero dark (already dark by default, but ensure consistency) */
.theme-dark .home-hero {
    background: linear-gradient(135deg, #020617 0%, #0f172a 50%, #020617 100%);
}

.theme-dark .hero-bg-overlay {
    background:
        radial-gradient(ellipse at 20% 50%, rgba(102, 126, 234, 0.15) 0%, transparent 60%),
        radial-gradient(ellipse at 80% 50%, rgba(234, 102, 102, 0.1) 0%, transparent 60%);
}

.theme-dark .game-card {
    background: rgba(30, 41, 59, 0.8);
    border-color: #334155;
    backdrop-filter: none;
    -webkit-backdrop-filter: none;
}

.theme-dark .game-card:hover {
    background: rgba(30, 41, 59, 0.95);
    border-color: #818cf8;
    box-shadow: 0 20px 40px rgba(99, 102, 241, 0.15);
}

.theme-dark .game-card-image-wrapper {
    background: linear-gradient(135deg, #1a2332 0%, #0f172a 100%);
}

/* Game detail hero dark */
.theme-dark .game-detail-hero {
    background: linear-gradient(135deg, #4338ca 0%, #6d28d9 100%);
}

/* Serie header dark */
.theme-dark .serie-header {
    background: linear-gradient(135deg, #1e293b 0%, #0f172a 100%);
    border-left-color: #818cf8;
}

.theme-dark .serie-title {
    color: #e2e8f0;
}

.theme-dark .serie-title i {
    color: #818cf8;
}

/* Set card dark */
.theme-dark .set-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
}

.theme-dark .set-card:hover {
    border-color: #818cf8;
    box-shadow: 0 12px 28px rgba(0, 0, 0, 0.4);
}

.theme-dark .set-image-container {
    background: #0f172a;
}

.theme-dark .set-image-placeholder {
    background: #0f172a;
    color: #475569;
}

.theme-dark .set-name {
    color: #e2e8f0;
}

.theme-dark .set-overlay {
    background: rgba(99, 102, 241, 0.9);
}

/* Empty state dark */
.theme-dark .empty-state {
    color: #94a3b8;
}

.theme-dark .empty-state h5 {
    color: #cbd5e1;
}

.theme-dark .empty-state i {
    color: #475569;
}

/* Stats bar dark */
.theme-dark .home-stats-bar {
    background: #1e293b;
    border-color: #334155;
}

.theme-dark .stat-number {
    color: #818cf8;
}

.theme-dark .stat-label {
    color: #94a3b8;
}

.theme-dark .stat-divider {
    background: #334155;
}

/* Feature sections dark */
.theme-dark .home-feature-section {
    background: #1e293b;
    border-color: #334155;
}

.theme-dark .feature-title {
    color: #e2e8f0;
}

.theme-dark .feature-desc {
    color: #94a3b8;
}

.theme-dark .feature-highlights span {
    background: #0f172a;
    color: #94a3b8;
}

.theme-dark .feature-highlights span i {
    color: #818cf8;
}

.theme-dark .feature-cta {
    color: #818cf8;
}

.theme-dark .feature-cta:hover {
    color: #a5b4fc;
}

/* Mini stats dark */
.theme-dark .mini-stat-card {
    background: #1e293b;
    border-color: #334155;
}

.theme-dark .mini-stat-card > i {
    color: #818cf8;
}

.theme-dark .mini-stat-number {
    color: #e2e8f0;
}

.theme-dark .mini-stat-label {
    color: #64748b;
}

/* ===== RESPONSIVE ===== */

/* Large desktop: 5 columns */
@media (max-width: 1280px) {
    .sets-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* Tablet landscape: 4 columns */
@media (max-width: 1024px) {
    .sets-grid {
        grid-template-columns: repeat(4, 1fr);
        gap: 1rem;
    }

    .hero-title {
        font-size: 2.2rem;
    }

    .game-selector {
        grid-template-columns: 1fr;
        max-width: 480px;
        margin-left: auto;
        margin-right: auto;
    }

    .feature-icon-wrapper {
        width: 80px;
        height: 80px;
        font-size: 2rem;
        border-radius: 20px;
    }
}

/* Tablet portrait: 3 columns */
@media (max-width: 768px) {
    .home-hero {
        padding: 2.5rem 1.25rem 2rem;
        border-radius: 12px;
    }

    .hero-title {
        font-size: 1.8rem;
    }

    .hero-subtitle {
        font-size: 1rem;
        margin-bottom: 2rem;
    }

    .game-card-image-wrapper {
        height: 160px;
    }

    .game-detail-hero {
        padding: 1.5rem 1.25rem 1.25rem;
        border-radius: 12px;
    }

    .game-detail-nav {
        top: 0.75rem;
        left: 0.75rem;
    }

    .game-detail-logo {
        max-width: 160px;
    }

    .serie-header {
        flex-direction: column;
        text-align: center;
        padding: 1rem;
    }

    .serie-badge {
        margin-left: 0;
        margin-top: 0.75rem;
    }

    .serie-title {
        font-size: 1.3rem;
        justify-content: center;
    }

    .sets-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .hero-features {
        gap: 1rem;
    }

    .feature-item {
        font-size: 0.8rem;
    }

    .feature-row,
    .feature-row-reverse {
        flex-direction: column;
        text-align: center;
    }

    .feature-highlights {
        justify-content: center;
    }

    .feature-cta {
        justify-content: center;
    }

    .home-feature-section {
        padding: 2rem 1.5rem;
    }

    .stats-bar-inner {
        gap: 1.5rem;
    }

    .stat-number {
        font-size: 1.4rem;
    }

    .home-mini-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.75rem;
    }

    .mini-stat-card {
        padding: 1rem 0.5rem;
    }
}

/* Mobile: 2 columns */
@media (max-width: 576px) {
    .home-hero {
        padding: 2rem 1rem 1.5rem;
        margin-top: 0.5rem;
        border-radius: 10px;
    }

    .hero-title {
        font-size: 1.5rem;
    }

    .hero-subtitle {
        font-size: 0.9rem;
        margin-bottom: 1.5rem;
    }

    .game-selector {
        gap: 1rem;
    }

    .game-card-image-wrapper {
        height: 140px;
    }

    .game-card-body {
        padding: 1rem 1.25rem;
    }

    .game-card-title {
        font-size: 1.2rem;
    }

    .game-card-arrow {
        display: none;
    }

    .game-detail-hero {
        padding: 1.25rem 1rem 1rem;
    }

    .game-detail-nav {
        top: 0.6rem;
        left: 0.6rem;
    }

    .game-detail-logo {
        max-width: 140px;
    }

    .game-detail-logo-fallback h2 {
        font-size: 1.5rem;
    }

    .sets-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 0.6rem;
    }

    .set-image-container {
        height: 120px;
    }

    .set-info {
        padding: 0.5rem;
    }

    .set-name {
        font-size: 0.8rem;
    }

    .hero-features {
        gap: 0.75rem;
    }

    .feature-item span {
        display: none;
    }

    .feature-item i {
        font-size: 1.3rem;
    }

    .language-pill {
        padding: 0.4rem 0.9rem;
        font-size: 0.8rem;
    }

    .serie-section {
        margin-bottom: 1.5rem;
    }

    .home-stats-bar {
        padding: 1.25rem 1rem;
    }

    .stats-bar-inner {
        gap: 1rem;
    }

    .stat-number {
        font-size: 1.2rem;
    }

    .stat-label {
        font-size: 0.65rem;
    }

    .stat-divider {
        height: 28px;
    }

    .home-feature-section {
        padding: 1.5rem 1.25rem;
        margin-bottom: 2rem;
    }

    .feature-row,
    .feature-row-reverse {
        gap: 1.5rem;
    }

    .feature-icon-wrapper {
        width: 72px;
        height: 72px;
        font-size: 1.8rem;
        border-radius: 18px;
    }

    .feature-title {
        font-size: 1.25rem;
    }

    .feature-desc {
        font-size: 0.85rem;
    }

    .feature-highlights span {
        font-size: 0.75rem;
        padding: 0.25rem 0.6rem;
    }

    .home-mini-stats {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.6rem;
        margin-bottom: 2rem;
    }

    .mini-stat-card {
        padding: 0.75rem 0.5rem;
    }

    .mini-stat-card > i {
        font-size: 1.2rem;
    }

    .mini-stat-number {
        font-size: 1.15rem;
    }

    .mini-stat-label {
        font-size: 0.6rem;
    }
}

/* ===== LAZY LOADING ===== */
.serie-icon[loading="lazy"],
.set-image[loading="lazy"] {
    transition: opacity 0.4s ease-in-out;
}

.serie-icon[loading="lazy"]:not(.lazy-loaded),
.set-image[loading="lazy"]:not(.lazy-loaded) {
    opacity: 0.6;
    background: linear-gradient(90deg, #f0f0f0 25%, #e0e0e0 50%, #f0f0f0 75%);
    background-size: 200% 100%;
    animation: shimmer 1.5s infinite;
}

.theme-dark .serie-icon[loading="lazy"]:not(.lazy-loaded),
.theme-dark .set-image[loading="lazy"]:not(.lazy-loaded) {
    background: linear-gradient(90deg, #1e293b 25%, #334155 50%, #1e293b 75%);
    background-size: 200% 100%;
}

.serie-icon.lazy-loaded,
.set-image.lazy-loaded {
    opacity: 1;
    animation: fadeIn 0.4s ease-in;
}

@keyframes shimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}
