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

/* ===== HERO: GAME SELECTION ===== */
.home-hero {
    position: relative;
    padding: 3.5rem 2rem 2.5rem;
    border-radius: 20px;
    margin-top: 1rem;
    margin-bottom: 2rem;
    overflow: hidden;
    background: linear-gradient(160deg, #f8fafc 0%, #eef2ff 40%, #e0e7ff 100%);
    border: 1px solid #e2e8f0;
}

.hero-bg-overlay {
    position: absolute;
    inset: 0;
    background:
        radial-gradient(ellipse at 0% 100%, rgba(99, 102, 241, 0.08) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(168, 85, 247, 0.06) 0%, transparent 50%);
    pointer-events: none;
}

.hero-bg-pattern {
    position: absolute;
    inset: 0;
    opacity: 0.03;
    background-image:
        radial-gradient(circle at 25% 25%, #6366f1 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #6366f1 1px, transparent 1px);
    background-size: 48px 48px;
    pointer-events: none;
}

.hero-inner {
    position: relative;
    z-index: 1;
    max-width: 920px;
    margin: 0 auto;
}

/* ===== HERO HEADING ===== */
.hero-heading-area {
    text-align: center;
    margin-bottom: 2rem;
}

.hero-title {
    font-size: 2rem;
    font-weight: 800;
    color: #0f172a;
    margin: 0 auto 0.75rem;
    letter-spacing: -0.5px;
    line-height: 1.25;
    max-width: 700px;
}

.hero-subtitle {
    font-size: 1.05rem;
    color: #64748b;
    margin: 0 auto;
    font-weight: 400;
    max-width: 620px;
    line-height: 1.6;
}

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

.game-card {
    display: flex;
    flex-direction: row;
    align-items: center;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1rem 1.25rem;
    text-decoration: none;
    color: inherit;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    gap: 1rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.game-card:hover {
    transform: translateY(-3px);
    border-color: #818cf8;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.12);
    text-decoration: none;
    color: inherit;
    background: #fff;
}

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

.game-card-icon-area {
    flex-shrink: 0;
    width: 56px;
    height: 56px;
    border-radius: 14px;
    background: linear-gradient(135deg, #eef2ff 0%, #e0e7ff 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.game-card:hover .game-card-icon-area {
    background: linear-gradient(135deg, #e0e7ff 0%, #c7d2fe 100%);
}

.game-card-icon {
    width: 32px;
    height: 32px;
    object-fit: contain;
}

.game-card-body {
    flex: 1;
    min-width: 0;
}

.game-card-title {
    font-size: 1.1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.25rem 0;
}

.game-card-desc {
    font-size: 0.82rem;
    color: #64748b;
    margin: 0 0 0.5rem 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 1;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

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

.stat-badge {
    display: inline-flex;
    align-items: center;
    gap: 0.3rem;
    padding: 0.2rem 0.6rem;
    border-radius: 8px;
    font-size: 0.75rem;
    font-weight: 600;
    background: #f1f5f9;
    color: #475569;
}

.stat-badge i {
    font-size: 0.75rem;
    color: #6366f1;
}

.game-card-arrow {
    flex-shrink: 0;
    width: 32px;
    height: 32px;
    border-radius: 50%;
    background: #f1f5f9;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #94a3b8;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.game-card:hover .game-card-arrow {
    background: #6366f1;
    color: #fff;
}

/* ===== HERO FEATURE SLIDER ===== */
.hero-feature-slider {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 16px;
    padding: 1.5rem;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.04);
}

.hero-slider-track {
    position: relative;
    min-height: 80px;
}

.hero-slide {
    display: none;
    align-items: flex-start;
    gap: 1.25rem;
    animation: heroSlideIn 0.4s ease-out;
}

.hero-slide.active {
    display: flex;
}

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

.hero-slide-icon {
    flex-shrink: 0;
    width: 48px;
    height: 48px;
    border-radius: 12px;
    background: linear-gradient(135deg, #6366f1 0%, #8b5cf6 100%);
    display: flex;
    align-items: center;
    justify-content: center;
    color: #fff;
    font-size: 1.25rem;
}

.hero-slide-content {
    flex: 1;
    min-width: 0;
}

.hero-slide-title {
    font-size: 1rem;
    font-weight: 700;
    color: #1e293b;
    margin: 0 0 0.35rem 0;
}

.hero-slide-desc {
    font-size: 0.88rem;
    color: #64748b;
    margin: 0;
    line-height: 1.55;
}

.hero-slider-controls {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-top: 1.25rem;
    padding-top: 1rem;
    border-top: 1px solid #f1f5f9;
}

.hero-slider-dots {
    display: flex;
    gap: 0.5rem;
}

.hero-slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    border: none;
    padding: 0;
    background: #cbd5e1;
    cursor: pointer;
    transition: all 0.3s ease;
}

.hero-slider-dot.active {
    width: 24px;
    border-radius: 4px;
    background: #6366f1;
}

.hero-slider-dot:hover:not(.active) {
    background: #94a3b8;
}

.hero-slider-progress {
    flex: 1;
    height: 3px;
    background: #f1f5f9;
    border-radius: 2px;
    overflow: hidden;
}

.hero-slider-progress-bar {
    height: 100%;
    width: 0%;
    background: #6366f1;
    border-radius: 2px;
    transition: width 0.1s linear;
}

/* ===== SEO ENTRY BLOCKS ===== */
.home-seo-entry-section {
    margin: 0 0 2rem 0;
}

.seo-entry-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 1rem;
}

.seo-entry-card {
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    padding: 1.25rem;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
    display: flex;
    flex-direction: column;
    gap: 0.6rem;
}

.seo-entry-icon {
    width: 40px;
    height: 40px;
    border-radius: 10px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    font-size: 1.1rem;
    color: #fff;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
}

.seo-entry-title {
    margin: 0;
    font-size: 1.1rem;
    font-weight: 800;
    color: #1e293b;
}

.seo-entry-desc {
    margin: 0;
    font-size: 0.92rem;
    line-height: 1.6;
    color: #475569;
    flex: 1;
}

.seo-entry-link {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    font-size: 0.9rem;
    font-weight: 700;
    color: #4f46e5;
    text-decoration: none;
}

.seo-entry-link:hover {
    color: #4338ca;
    text-decoration: none;
}

/* ===== POPULAR SEARCHES ===== */
.home-seo-popular-searches {
    margin: 0 0 2rem 0;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.04);
}

.popular-searches-header h2 {
    margin: 0 0 0.3rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
}

.popular-searches-header p {
    margin: 0 0 0.9rem 0;
    color: #64748b;
    font-size: 0.9rem;
}

.popular-searches-links {
    display: flex;
    flex-wrap: wrap;
    gap: 0.65rem;
}

.popular-searches-links a {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    padding: 0.45rem 0.8rem;
    border-radius: 999px;
    background: #f1f5f9;
    border: 1px solid #dbeafe;
    color: #1d4ed8;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
}

.popular-searches-links a:hover {
    background: #e2e8f0;
    color: #1e3a8a;
    text-decoration: none;
}

/* ===== 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;
}

/* ===== SET SEARCH BAR ===== */
.set-search-bar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 0.75rem;
    margin: 0 0 1.5rem;
}

.set-search-input-wrapper {
    position: relative;
    width: 100%;
    max-width: 420px;
}

.set-sort-wrapper {
    position: relative;
    flex-shrink: 0;
}

.set-sort-icon {
    position: absolute;
    top: 50%;
    left: 0.9rem;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.9rem;
    pointer-events: none;
}

.set-sort-select {
    appearance: none;
    padding: 0.65rem 2.25rem 0.65rem 2.25rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #1e293b;
    font-size: 0.85rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
}

.set-sort-select:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.set-search-icon {
    position: absolute;
    top: 50%;
    left: 1rem;
    transform: translateY(-50%);
    color: #94a3b8;
    font-size: 0.95rem;
    pointer-events: none;
}

.set-search-input {
    width: 100%;
    padding: 0.65rem 2.5rem;
    border-radius: 50px;
    border: 1px solid #e2e8f0;
    background: #fff;
    color: #1e293b;
    font-size: 0.9rem;
    transition: all 0.2s ease;
}

.set-search-input:focus {
    outline: none;
    border-color: #667eea;
    box-shadow: 0 0 0 3px rgba(102, 126, 234, 0.15);
}

.set-search-input::placeholder {
    color: #94a3b8;
}

.set-search-clear {
    position: absolute;
    top: 50%;
    right: 0.75rem;
    transform: translateY(-50%);
    display: flex;
    align-items: center;
    justify-content: center;
    width: 22px;
    height: 22px;
    padding: 0;
    border: none;
    border-radius: 50%;
    background: #e2e8f0;
    color: #64748b;
    font-size: 0.7rem;
    cursor: pointer;
    transition: all 0.2s ease;
}

.set-search-clear:hover {
    background: #cbd5e1;
    color: #1e293b;
}

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

.set-wrapper.set-hidden,
.serie-section.set-hidden {
    display: none;
}

/* ===== 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-completion {
    width: 100%;
    margin-top: 0.5rem;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
}

.set-completion-bar {
    width: 100%;
    height: 5px;
    border-radius: 50px;
    background: #e2e8f0;
    overflow: hidden;
}

.set-completion-fill {
    height: 100%;
    border-radius: 50px;
    background: linear-gradient(90deg, #667eea 0%, #764ba2 100%);
}

.set-completion-text {
    font-size: 0.7rem;
    font-weight: 600;
    color: #64748b;
}

.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;
}

/* ===== PRICE MOMENTUM (UP / DOWN) ===== */
.home-price-momentum-section {
    margin: 0 0 1.5rem 0;
    padding: 1.2rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.home-price-momentum-header {
    margin-bottom: 0.9rem;
}

.home-price-momentum-header h2 {
    margin: 0 0 0.2rem 0;
    font-size: 1.15rem;
    font-weight: 800;
    color: #1e293b;
}

.home-price-momentum-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.88rem;
}

.home-price-momentum-window {
    overflow: hidden;
}

.home-price-momentum-track {
    display: flex;
    transition: transform 420ms ease;
    will-change: transform;
}

.home-price-momentum-slide {
    width: 100%;
    flex: 0 0 100%;
}

.home-price-momentum-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.85rem;
}

.home-price-momentum-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
}

.home-price-momentum-image-link {
    display: block;
    aspect-ratio: 3 / 4;
    background: #eef2ff;
}

.home-price-momentum-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.home-price-momentum-body {
    padding: 0.65rem;
    display: flex;
    flex-direction: column;
    gap: 0.35rem;
}

.home-price-momentum-title {
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-price-momentum-title:hover {
    color: #334155;
    text-decoration: none;
}

.home-price-momentum-meta {
    color: #64748b;
    font-size: 0.73rem;
    line-height: 1.35;
}

.home-price-yesterday {
    color: #475569;
    font-size: 0.76rem;
}

.home-price-today {
    font-size: 1.02rem;
    font-weight: 800;
    display: inline-flex;
    align-items: center;
    gap: 0.2rem;
}

.home-price-today.up {
    color: #047857;
}

.home-price-today.down {
    color: #b91c1c;
}

.home-price-change {
    font-size: 0.85rem;
    font-weight: 800;
}

.home-price-change.up {
    color: #16a34a;
}

.home-price-change.down {
    color: #dc2626;
}

.home-price-momentum-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.85rem;
}

.home-price-momentum-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #cbd5e1;
    padding: 0;
}

.home-price-momentum-dot.active {
    width: 22px;
    border-radius: 99px;
    background: #4f46e5;
}

/* ===== LATEST MARKETPLACE CARDS ===== */
.home-market-latest-section {
    margin: 0 0 3rem 0;
    padding: 1.25rem;
    background: #fff;
    border: 1px solid #e2e8f0;
    border-radius: 14px;
    box-shadow: 0 2px 12px rgba(0, 0, 0, 0.05);
}

.home-market-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-start;
    gap: 1rem;
    margin-bottom: 1rem;
}

.home-market-header h2 {
    margin: 0 0 0.25rem 0;
    font-size: 1.2rem;
    font-weight: 800;
    color: #1e293b;
}

.home-market-header p {
    margin: 0;
    color: #64748b;
    font-size: 0.9rem;
}

.home-market-header-link {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    text-decoration: none;
    font-size: 0.85rem;
    font-weight: 700;
    color: #4f46e5;
    white-space: nowrap;
}

.home-market-header-link:hover {
    color: #4338ca;
    text-decoration: none;
}

.home-market-slider-window {
    overflow: hidden;
}

.home-market-slider-track {
    display: flex;
    transition: transform 420ms ease;
    will-change: transform;
}

.home-market-slide {
    width: 100%;
    flex: 0 0 100%;
}

.home-market-grid {
    display: grid;
    grid-template-columns: repeat(6, minmax(0, 1fr));
    gap: 0.9rem;
}

.home-market-card {
    background: #f8fafc;
    border: 1px solid #e2e8f0;
    border-radius: 12px;
    overflow: hidden;
    display: flex;
    flex-direction: column;
    min-height: 100%;
}

.home-market-card-image-link {
    display: block;
    background: #eef2ff;
    aspect-ratio: 3 / 4;
    overflow: hidden;
}

.home-market-card-image {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
}

.home-market-card:hover .home-market-card-image {
    transform: scale(1.04);
}

.home-market-card-body {
    padding: 0.7rem;
    display: flex;
    flex-direction: column;
    gap: 0.45rem;
}

.home-market-card-title {
    margin: 0;
    color: #1e293b;
    text-decoration: none;
    font-size: 0.9rem;
    font-weight: 700;
    line-height: 1.3;
    min-height: 2.3em;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.home-market-card-title:hover {
    color: #334155;
    text-decoration: none;
}

.home-market-meta-list {
    display: flex;
    flex-direction: column;
    gap: 0.2rem;
}

.home-market-meta-item {
    font-size: 0.75rem;
    color: #475569;
    line-height: 1.35;
}

.home-market-price {
    margin-top: 0.15rem;
    font-size: 1rem;
    font-weight: 800;
    color: #0f766e;
}

.home-market-add-to-basket {
    margin-top: auto;
    border: 0;
    border-radius: 8px;
    background: linear-gradient(135deg, #2563eb 0%, #1d4ed8 100%);
    color: #fff;
    font-size: 0.8rem;
    font-weight: 700;
    padding: 0.5rem 0.65rem;
    cursor: pointer;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.35rem;
}

.home-market-add-to-basket:hover {
    filter: brightness(1.06);
}

.home-market-add-to-basket:disabled {
    opacity: 0.7;
    cursor: not-allowed;
}

.home-market-slider-dots {
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.45rem;
    margin-top: 0.9rem;
}

.home-market-slider-dot {
    width: 9px;
    height: 9px;
    border-radius: 50%;
    border: 0;
    background: #cbd5e1;
    padding: 0;
}

.home-market-slider-dot.active {
    width: 22px;
    border-radius: 99px;
    background: #4f46e5;
}

/* ===== 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;
}

/* ===== ICS CONSENT MODAL ===== */
.ics-consent-modal {
    color: #f8fafc;
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.16), transparent 28%),
        linear-gradient(145deg, #07111f 0%, #111827 56%, #1f2937 100%);
    border: 1px solid rgba(148, 163, 184, 0.22);
    border-radius: 24px;
    box-shadow: 0 28px 80px rgba(2, 6, 23, 0.55);
}

.ics-consent-kicker {
    display: inline-flex;
    align-items: center;
    gap: 0.35rem;
    margin-bottom: 0.6rem;
    padding: 0.35rem 0.8rem;
    border-radius: 999px;
    font-size: 0.78rem;
    font-weight: 700;
    letter-spacing: 0.08em;
    text-transform: uppercase;
    color: #fde68a;
    background: rgba(245, 158, 11, 0.12);
    border: 1px solid rgba(245, 158, 11, 0.26);
}

.ics-consent-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.5fr) minmax(220px, 0.9fr);
    gap: 1.5rem;
    align-items: stretch;
}

.ics-consent-copy {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.ics-consent-copy p {
    margin: 0;
    color: rgba(226, 232, 240, 0.92);
    line-height: 1.7;
}

.ics-consent-copy a {
    color: #fbbf24;
    font-weight: 700;
}

.ics-consent-lead {
    font-size: 1.02rem;
}

.ics-consent-poster-slot {
    min-height: 320px;
}

.ics-consent-poster-image {
    width: 100%;
    height: 100%;
    min-height: 320px;
    object-fit: cover;
    border-radius: 20px;
    border: 1px solid rgba(251, 191, 36, 0.18);
    display: block;
    box-shadow: 0 14px 36px rgba(2, 6, 23, 0.28);
}

.ics-consent-poster-placeholder {
    height: 100%;
    min-height: 320px;
    border-radius: 20px;
    border: 1px dashed rgba(251, 191, 36, 0.35);
    background:
        linear-gradient(160deg, rgba(124, 58, 237, 0.28), rgba(15, 23, 42, 0.88)),
        linear-gradient(145deg, #312e81, #1e293b);
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    gap: 0.5rem;
    padding: 1.2rem;
}

.ics-consent-poster-placeholder span {
    font-size: 1.1rem;
    font-weight: 800;
    color: #fff;
}

.ics-consent-poster-placeholder small {
    color: rgba(226, 232, 240, 0.72);
    line-height: 1.5;
}

.ics-consent-switch {
    padding: 1rem 1.15rem;
    background: rgba(15, 23, 42, 0.55);
    border: 1px solid rgba(148, 163, 184, 0.2);
    border-radius: 18px;
}

.ics-consent-switch .form-check-input {
    width: 3rem;
    height: 1.6rem;
    margin-top: 0.15rem;
}

.ics-consent-switch .form-check-label,
#icsWishlistDoNotShowAgain + .form-check-label {
    color: rgba(241, 245, 249, 0.94);
}

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

/* Hero dark (already dark by default, but ensure consistency) */
.theme-dark .home-hero {
    background: linear-gradient(160deg, #0f172a 0%, #131b2e 40%, #1a1f3a 100%);
    border-color: #1e293b;
}

.theme-dark .hero-bg-overlay {
    background:
        radial-gradient(ellipse at 0% 100%, rgba(99, 102, 241, 0.1) 0%, transparent 50%),
        radial-gradient(ellipse at 100% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
}

.theme-dark .hero-bg-pattern {
    opacity: 0.04;
    background-image:
        radial-gradient(circle at 25% 25%, #818cf8 1px, transparent 1px),
        radial-gradient(circle at 75% 75%, #818cf8 1px, transparent 1px);
}

.theme-dark .hero-title {
    color: #f1f5f9;
}

.theme-dark .hero-subtitle {
    color: #94a3b8;
}

.theme-dark .game-card {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.theme-dark .game-card:hover {
    background: #1e293b;
    border-color: #818cf8;
    box-shadow: 0 8px 24px rgba(99, 102, 241, 0.2);
}

.theme-dark .game-card-icon-area {
    background: linear-gradient(135deg, #1e293b 0%, #2d3a52 100%);
}

.theme-dark .game-card:hover .game-card-icon-area {
    background: linear-gradient(135deg, #2d3a52 0%, #3b4a66 100%);
}

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

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

.theme-dark .stat-badge {
    background: rgba(99, 102, 241, 0.1);
    color: #cbd5e1;
}

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

.theme-dark .game-card-arrow {
    background: #334155;
    color: #94a3b8;
}

.theme-dark .game-card:hover .game-card-arrow {
    background: #6366f1;
    color: #fff;
}

.theme-dark .hero-feature-slider {
    background: #1e293b;
    border-color: #334155;
    box-shadow: 0 1px 3px rgba(0, 0, 0, 0.2);
}

.theme-dark .hero-slide-icon {
    background: linear-gradient(135deg, #4f46e5 0%, #7c3aed 100%);
}

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

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

.theme-dark .hero-slider-controls {
    border-top-color: #334155;
}

.theme-dark .hero-slider-dot {
    background: #475569;
}

.theme-dark .hero-slider-dot.active {
    background: #818cf8;
}

.theme-dark .hero-slider-dot:hover:not(.active) {
    background: #64748b;
}

.theme-dark .hero-slider-progress {
    background: #334155;
}

.theme-dark .hero-slider-progress-bar {
    background: #818cf8;
}

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

/* Set search bar dark */
.theme-dark .set-search-input {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.theme-dark .set-search-input:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.theme-dark .set-search-input::placeholder {
    color: #64748b;
}

.theme-dark .set-search-icon {
    color: #64748b;
}

.theme-dark .set-search-clear {
    background: #334155;
    color: #94a3b8;
}

.theme-dark .set-search-clear:hover {
    background: #475569;
    color: #e2e8f0;
}

.theme-dark .set-sort-select {
    background: #1e293b;
    border-color: #334155;
    color: #e2e8f0;
}

.theme-dark .set-sort-select:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 3px rgba(129, 140, 248, 0.2);
}

.theme-dark .set-sort-icon {
    color: #64748b;
}

/* 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-completion-bar {
    background: #334155;
}

.theme-dark .set-completion-text {
    color: #94a3b8;
}

.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;
}

.theme-dark .home-price-momentum-section {
    background: #1e293b;
    border-color: #334155;
}

.theme-dark .home-price-momentum-header h2 {
    color: #e2e8f0;
}

.theme-dark .home-price-momentum-header p {
    color: #94a3b8;
}

.theme-dark .home-price-momentum-card {
    background: #0f172a;
    border-color: #334155;
}

.theme-dark .home-price-momentum-image-link {
    background: #172033;
}

.theme-dark .home-price-momentum-title {
    color: #e2e8f0;
}

.theme-dark .home-price-momentum-title:hover {
    color: #bfdbfe;
}

.theme-dark .home-price-momentum-meta,
.theme-dark .home-price-yesterday {
    color: #94a3b8;
}

.theme-dark .home-price-today.up {
    color: #34d399;
}

.theme-dark .home-price-today.down {
    color: #f87171;
}

.theme-dark .home-price-change.up {
    color: #4ade80;
}

.theme-dark .home-price-change.down {
    color: #f87171;
}

.theme-dark .home-price-momentum-dot {
    background: #334155;
}

.theme-dark .home-price-momentum-dot.active {
    background: #818cf8;
}

.theme-dark .home-market-latest-section {
    background: #1e293b;
    border-color: #334155;
}

.theme-dark .home-market-header h2 {
    color: #e2e8f0;
}

.theme-dark .home-market-header p {
    color: #94a3b8;
}

.theme-dark .home-market-header-link {
    color: #818cf8;
}

.theme-dark .home-market-header-link:hover {
    color: #a5b4fc;
}

.theme-dark .home-market-card {
    background: #0f172a;
    border-color: #334155;
}

.theme-dark .home-market-card-image-link {
    background: #172033;
}

.theme-dark .home-market-card-title {
    color: #e2e8f0;
}

.theme-dark .home-market-card-title:hover {
    color: #bfdbfe;
}

.theme-dark .home-market-meta-item {
    color: #94a3b8;
}

.theme-dark .home-market-price {
    color: #5eead4;
}

.theme-dark .home-market-slider-dot {
    background: #334155;
}

.theme-dark .home-market-slider-dot.active {
    background: #818cf8;
}

/* 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;
}

.theme-dark .seo-entry-card,
.theme-dark .home-seo-popular-searches {
    background: #1e293b;
    border-color: #334155;
}

.theme-dark .seo-entry-title,
.theme-dark .popular-searches-header h2 {
    color: #e2e8f0;
}

.theme-dark .seo-entry-desc,
.theme-dark .popular-searches-header p {
    color: #94a3b8;
}

.theme-dark .seo-entry-link {
    color: #818cf8;
}

.theme-dark .seo-entry-link:hover {
    color: #a5b4fc;
}

.theme-dark .popular-searches-links a {
    background: #0f172a;
    border-color: #334155;
    color: #93c5fd;
}

.theme-dark .popular-searches-links a:hover {
    background: #172033;
    color: #bfdbfe;
}

.theme-dark .ics-consent-modal {
    background:
        radial-gradient(circle at top right, rgba(251, 191, 36, 0.12), transparent 28%),
        linear-gradient(145deg, #020617 0%, #0f172a 55%, #172033 100%);
}

/* ===== 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: 1.75rem;
    }

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

    .hero-slide {
        flex-direction: column;
        gap: 0.75rem;
        text-align: center;
    }

    .hero-slide-icon {
        margin: 0 auto;
    }

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

    .seo-entry-grid {
        grid-template-columns: 1fr;
    }

    .home-market-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }

    .home-price-momentum-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

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

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

    .hero-subtitle {
        font-size: 0.95rem;
    }

    .hero-heading-area {
        margin-bottom: 1.5rem;
    }

    .hero-feature-slider {
        padding: 1.25rem;
    }

    .hero-slide-desc {
        font-size: 0.82rem;
    }

    .seo-entry-card,
    .home-seo-popular-searches {
        padding: 1rem;
    }

    .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;
    }

    .set-search-bar {
        flex-direction: column;
        align-items: stretch;
    }

    .set-search-input-wrapper {
        max-width: 100%;
    }

    .set-sort-wrapper {
        width: 100%;
    }

    .set-sort-select {
        width: 100%;
    }

    .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;
    }

    .home-market-header {
        flex-direction: column;
        align-items: flex-start;
    }

    .home-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .home-price-momentum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }

    .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;
    }

    .ics-consent-hero {
        grid-template-columns: 1fr;
    }

    .ics-consent-poster-slot,
    .ics-consent-poster-placeholder {
        min-height: 220px;
    }

    .ics-consent-poster-image {
        min-height: 220px;
    }
}

/* 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.35rem;
    }

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

    .popular-searches-links {
        gap: 0.5rem;
    }

    .popular-searches-links a {
        width: 100%;
        justify-content: center;
    }

    .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;
    }

    .home-hero {
        padding: 1.5rem 1rem 1.25rem;
        border-radius: 12px;
        margin-top: 0.5rem;
    }

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

    .hero-subtitle {
        font-size: 0.88rem;
    }

    .hero-heading-area {
        margin-bottom: 1.25rem;
    }

    .game-card {
        padding: 0.75rem 1rem;
    }

    .game-card-icon-area {
        width: 44px;
        height: 44px;
        border-radius: 12px;
    }

    .game-card-icon {
        width: 26px;
        height: 26px;
    }

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

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

    .game-selector {
        gap: 0.75rem;
        margin-bottom: 1.25rem;
    }

    .hero-feature-slider {
        padding: 1rem;
        border-radius: 12px;
    }

    .hero-slide-icon {
        width: 40px;
        height: 40px;
        font-size: 1rem;
        border-radius: 10px;
    }

    .hero-slide-title {
        font-size: 0.9rem;
    }

    .hero-slide-desc {
        font-size: 0.8rem;
    }

    .hero-slider-controls {
        margin-top: 0.75rem;
        padding-top: 0.75rem;
    }

    .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;
    }

    .home-market-latest-section {
        padding: 1rem;
    }

    .home-market-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .home-price-momentum-section {
        padding: 1rem;
    }

    .home-price-momentum-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
        gap: 0.7rem;
    }

    .home-price-today {
        font-size: 0.95rem;
    }

    .home-market-card-title {
        font-size: 0.85rem;
    }

    .home-market-price {
        font-size: 0.95rem;
    }

    .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;
    }

    .ics-consent-modal {
        border-radius: 18px;
    }

    .ics-consent-switch {
        padding: 0.9rem 1rem;
    }

    .ics-consent-poster-slot,
    .ics-consent-poster-placeholder {
        min-height: 180px;
    }

    .ics-consent-poster-image {
        min-height: 180px;
    }
}

/* ===== 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; }
}
