/* /css/home/home-index.css */
/* ===== 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; }
}

/* /css/home/home-search-hero.css */
/* ===== HOME SEARCH HERO (full viewport landing search) ===== */

/* Hide the layout navbar search bar when this hero is in use */
body.navbar-search-hidden .navbar-search-container,
body.navbar-search-hidden .navbar-search-container-mobile {
    display: none !important;
}

/* Hero section ------------------------------------------------------------ */
.home-search-hero {
    position: relative;
    min-height: calc(100vh - 4rem);
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 2rem 1rem 3rem;
    margin-top: -0.5rem;
    margin-bottom: 2rem;
    background: transparent;
    border: none;
    border-radius: 0;
}

@media (min-width: 768px) {
    .home-search-hero {
        /* Desktop'ta iki katli navbar var (~5-6rem). Compact navbar'a uyacak sekilde
           cikartilan miktari kuculttuk; aksi halde hero kisa kaliyor ve alttaki section
           viewport'a siziyordu. */
        min-height: calc(100vh - 5.5rem);
        padding: 3rem 2rem 4rem;
    }
}

.home-search-hero-inner {
    position: relative;
    z-index: 1;
    width: 100%;
    max-width: 760px;
    margin: 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

/* Logo -------------------------------------------------------------------- */
.home-search-hero-logo-link {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
}

.home-search-hero-logo {
    height: 56px;
    width: auto;
    max-width: 280px;
}

@media (min-width: 768px) {
    .home-search-hero-logo {
        height: 80px;
        max-width: 360px;
    }
}

/* Typewriter -------------------------------------------------------------- */
.home-search-hero-typewriter {
    display: flex;
    flex-wrap: wrap;
    align-items: baseline;
    justify-content: center;
    gap: 0.15rem;
    min-height: 2.6rem;
    text-align: center;
    font-size: 1rem;
    font-weight: 500;
    color: #475569;
    letter-spacing: -0.01em;
    line-height: 1.4;
    padding: 0 0.5rem;
}

@media (min-width: 768px) {
    .home-search-hero-typewriter {
        font-size: 1.25rem;
        min-height: 2rem;
    }
}

.home-search-hero-typewriter-prefix {
    color: #1e293b;
    font-weight: 700;
}

.home-search-hero-typewriter-text {
    color: #4f46e5;
    font-weight: 600;
    white-space: pre;
}

.home-search-hero-typewriter-cursor {
    display: inline-block;
    width: 2px;
    height: 1.1em;
    margin-left: 2px;
    background: #4f46e5;
    transform: translateY(2px);
    animation: home-search-hero-blink 1s steps(2, start) infinite;
}

@keyframes home-search-hero-blink {
    to { visibility: hidden; }
}

/* Search input wrapper (overrides on top of _SearchBoxPartial) ------------ */
.home-search-hero-search-wrapper {
    width: 100%;
    max-width: 720px;
}

.home-search-hero-search-wrapper .search-form {
    margin: 0;
}

.home-search-hero-search-wrapper .search-box-wrap {
    box-shadow: 0 18px 45px -22px rgba(79, 70, 229, 0.45),
                0 6px 18px -10px rgba(15, 23, 42, 0.18);
    border-radius: 999px;
    background: #ffffff;
}

.home-search-hero-search-wrapper .search-term-input {
    height: 60px;
    font-size: 1.05rem;
    padding: 0.75rem 5.5rem 0.75rem 1.5rem;
    border-radius: 999px;
    border: 1px solid #e2e8f0;
    background: #ffffff;
    color: #0f172a;
    transition: border-color 0.15s ease, box-shadow 0.15s ease;
}

.home-search-hero-search-wrapper .search-term-input::placeholder {
    color: #94a3b8;
    font-weight: 400;
}

.home-search-hero-search-wrapper .search-term-input:focus {
    border-color: #6366f1;
    box-shadow: 0 0 0 4px rgba(99, 102, 241, 0.18);
    outline: none;
}

@media (min-width: 768px) {
    .home-search-hero-search-wrapper .search-term-input {
        height: 68px;
        font-size: 1.15rem;
        padding-left: 1.75rem;
        padding-right: 6rem;
    }
}

.home-search-hero-search-wrapper .search-language-dropdown {
    right: 0.4rem;
}

/* Suggestion chips -------------------------------------------------------- */
.home-search-hero-suggestions {
    width: 100%;
    max-width: 720px;
    display: flex;
    flex-direction: column;
    gap: 0.5rem;
    margin-top: 0.25rem;
}

.home-search-hero-suggestions-label {
    font-size: 0.8rem;
    color: #64748b;
    text-align: center;
    letter-spacing: 0.02em;
    text-transform: uppercase;
}

.home-search-hero-suggestions-chips {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 0.5rem;
    padding: 0 0.25rem;
}

.home-search-hero-chip {
    display: inline-flex;
    align-items: center;
    gap: 0.4rem;
    border: 1px solid #e2e8f0;
    background: rgba(255, 255, 255, 0.85);
    color: #1e293b;
    padding: 0.4rem 0.85rem;
    border-radius: 999px;
    font-size: 0.85rem;
    font-weight: 500;
    line-height: 1.2;
    cursor: pointer;
    transition: background 0.15s ease, border-color 0.15s ease, transform 0.15s ease, color 0.15s ease;
    backdrop-filter: blur(6px);
    white-space: nowrap;
    max-width: 100%;
    overflow: hidden;
    text-overflow: ellipsis;
}

.home-search-hero-chip:hover,
.home-search-hero-chip:focus-visible {
    background: #4f46e5;
    border-color: #4f46e5;
    color: #ffffff;
    transform: translateY(-1px);
    outline: none;
}

.home-search-hero-chip-game {
    font-size: 0.7rem;
    text-transform: uppercase;
    letter-spacing: 0.04em;
    color: #6366f1;
    background: rgba(99, 102, 241, 0.12);
    padding: 0.1rem 0.45rem;
    border-radius: 999px;
    font-weight: 600;
}

.home-search-hero-chip:hover .home-search-hero-chip-game,
.home-search-hero-chip:focus-visible .home-search-hero-chip-game {
    background: rgba(255, 255, 255, 0.2);
    color: #ffffff;
}

/* Scroll hint ------------------------------------------------------------- */
.home-search-hero-scroll-hint {
    display: inline-flex;
    flex-direction: column;
    align-items: center;
    gap: 0.25rem;
    margin-top: auto;
    padding-top: 1.5rem;
    color: #64748b;
    font-size: 0.8rem;
    font-weight: 500;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    animation: home-search-hero-bounce 2s ease-in-out infinite;
}

.home-search-hero-scroll-hint i {
    font-size: 1.1rem;
    color: #6366f1;
}

@keyframes home-search-hero-bounce {
    0%, 100% { transform: translateY(0); opacity: 0.6; }
    50% { transform: translateY(6px); opacity: 1; }
}

/* ===== DARK THEME ======================================================== */
.theme-dark .home-search-hero {
    background: transparent;
    border: none;
}

.theme-dark .home-search-hero-typewriter {
    color: #cbd5e1;
}

.theme-dark .home-search-hero-typewriter-prefix {
    color: #f1f5f9;
}

.theme-dark .home-search-hero-typewriter-text {
    color: #a5b4fc;
}

.theme-dark .home-search-hero-typewriter-cursor {
    background: #a5b4fc;
}

.theme-dark .home-search-hero-search-wrapper .search-box-wrap {
    background: #1e293b;
    box-shadow: 0 18px 45px -22px rgba(79, 70, 229, 0.55),
                0 6px 18px -10px rgba(0, 0, 0, 0.45);
}

.theme-dark .home-search-hero-search-wrapper .search-term-input {
    background: #1e293b;
    color: #f1f5f9;
    border-color: #334155;
}

.theme-dark .home-search-hero-search-wrapper .search-term-input::placeholder {
    color: #94a3b8;
}

.theme-dark .home-search-hero-search-wrapper .search-term-input:focus {
    border-color: #818cf8;
    box-shadow: 0 0 0 4px rgba(129, 140, 248, 0.22);
}

.theme-dark .home-search-hero-suggestions-label {
    color: #94a3b8;
}

.theme-dark .home-search-hero-chip {
    background: rgba(30, 41, 59, 0.85);
    border-color: #334155;
    color: #e2e8f0;
}

.theme-dark .home-search-hero-chip:hover,
.theme-dark .home-search-hero-chip:focus-visible {
    background: #6366f1;
    border-color: #818cf8;
    color: #ffffff;
}

.theme-dark .home-search-hero-chip-game {
    color: #c7d2fe;
    background: rgba(129, 140, 248, 0.18);
}

.theme-dark .home-search-hero-scroll-hint {
    color: #94a3b8;
}

.theme-dark .home-search-hero-scroll-hint i {
    color: #a5b4fc;
}

/* ===== LAYOUT TWEAKS WHEN HERO IS ACTIVE ================================ */

/* Hide the top navbar logo on the homepage hero (hero already has the logo). */
body.navbar-search-hidden .navbar-brand {
    display: none !important;
}

/* Strip the top navbar visual weight so it blends into the hero. */
body.navbar-search-hidden header > nav.navbar:first-child {
    background: transparent !important;
    border-bottom: 0 !important;
    box-shadow: none !important;
    padding-top: 0.25rem;
    padding-bottom: 0.25rem;
}

body.navbar-search-hidden header > nav.navbar:first-child .navbar-content {
    min-height: 40px;
}

/* Same for the secondary navigation menu (desktop categories bar). */
body.navbar-search-hidden header > nav.navbar:nth-of-type(2) {
    background: transparent !important;
    border-bottom: 0 !important;
}

/* On desktop, the first navbar has nothing useful left on the homepage
   (logo and search are hidden, the icons moved to the nav menu row),
   so collapse it entirely. Mobile still needs it for the hamburger button. */
@media (min-width: 768px) {
    body.navbar-search-hidden header > nav.navbar:first-child {
        display: none !important;
    }
}

/* Pull main content tight against the slimmer navbar. */
body.navbar-search-hidden main[role="main"] {
    padding-top: 0;
}

body.navbar-search-hidden .home-search-hero {
    margin-top: -1rem;
}

/* Dark theme parity */
.theme-dark body.navbar-search-hidden header > nav.navbar:first-child,
.theme-dark body.navbar-search-hidden header > nav.navbar:nth-of-type(2) {
    background: transparent !important;
    border-bottom: 0 !important;
}

/* ===== MOBILE HEADER FIX (site.css forces header { background: white }) === */

/* Generic dark theme: mobile header should not be white. */
@media (max-width: 767px) {
    .theme-dark header {
        background: #0f172a !important;
        border-bottom-color: #334155 !important;
    }

    .theme-dark header > nav.navbar:first-child {
        background: transparent !important;
        border-bottom-color: #334155 !important;
    }
}

/* Homepage hero on mobile: header transparent so the page bg shows through. */
@media (max-width: 767px) {
    body.navbar-search-hidden header {
        background: transparent !important;
        border-bottom: 0 !important;
        box-shadow: none !important;
    }
}

/* /css/home/home-web.css */
/* ============================================================
 * Binderim public homepage — hero, popular searches, marketplace
 * listings, price momentum, SEO shortcuts.
 * Ported from the Binderim Design System handoff (design/styles.css).
 * Consumes tokens from css/shared/binderim-tokens.css. Loaded only on
 * the public homepage (Home/Index) via @section Styles.
 * ============================================================ */

/* ===== HERO ===== */
.bx-hero {
  position: relative;
  padding: 36px 32px 28px;
  border-radius: 20px;
  margin-bottom: 24px;
  overflow: hidden;
  background: var(--grad-hero);
  border: 1px solid var(--border-1);
  font-family: var(--font-sans);
}
.bx-hero-overlay {
  position: absolute; inset: 0;
  background:
    radial-gradient(ellipse at 0% 100%, rgba(99, 102, 241, 0.10) 0%, transparent 50%),
    radial-gradient(ellipse at 100% 0%, rgba(168, 85, 247, 0.08) 0%, transparent 50%);
  pointer-events: none;
}
.bx-hero-pattern {
  position: absolute; inset: 0;
  opacity: 0.04;
  background-image:
    radial-gradient(circle at 25% 25%, #6366f1 1.5px, transparent 1.5px),
    radial-gradient(circle at 75% 75%, #6366f1 1.5px, transparent 1.5px);
  background-size: 48px 48px;
  pointer-events: none;
}
.theme-dark .bx-hero-pattern { background-image:
    radial-gradient(circle at 25% 25%, #818cf8 1.5px, transparent 1.5px),
    radial-gradient(circle at 75% 75%, #818cf8 1.5px, transparent 1.5px); }
.bx-hero-inner { position: relative; z-index: 1; }

.bx-hero-heading { text-align: center; margin-bottom: 24px; }
.bx-hero-kicker {
  display: inline-flex; align-items: center; gap: 8px;
  padding: 5px 12px; border-radius: 999px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  font-size: 10px; font-weight: 800; letter-spacing: 0.08em; text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 14px;
}
.bx-hero-kicker .dot { width: 7px; height: 7px; border-radius: 50%; background: var(--color-brand); box-shadow: 0 0 0 4px rgba(99,102,241,0.20); animation: bx-ping 1.8s ease-in-out infinite; }
@keyframes bx-ping { 0%, 100% { box-shadow: 0 0 0 4px rgba(99,102,241,0.20); } 50% { box-shadow: 0 0 0 8px rgba(99,102,241,0); } }
.bx-hero-title {
  font-size: 2rem; font-weight: 800; color: var(--fg-1);
  margin: 0 auto 12px;
  letter-spacing: -0.5px; line-height: 1.2;
  max-width: 760px;
}
.bx-hero-title > :first-child { color: var(--color-brand); }
.bx-hero-title-rest { font-size: inherit; color: var(--fg-1); }
.bx-hero-title-rest .caret { color: var(--color-brand); animation: bx-blink 0.9s steps(2, end) infinite; }
@keyframes bx-blink { 50% { opacity: 0; } }
.bx-hero-sub {
  font-size: 1rem; color: var(--fg-3); margin: 0 auto;
  max-width: 620px; line-height: 1.6;
}

/* Game grid */
.bx-game-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(260px, 1fr));
  gap: 12px;
  margin-bottom: 20px;
}
.bx-game-card {
  display: flex; align-items: center; gap: 14px;
  padding: 14px 16px;
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  text-decoration: none;
  color: inherit;
  box-shadow: var(--shadow-xs);
  transition: transform 250ms var(--ease-standard), box-shadow 250ms, border-color 250ms;
}
.bx-game-card:hover {
  transform: translateY(-3px);
  border-color: var(--indigo-400);
  box-shadow: var(--shadow-brand);
}
.bx-game-icon {
  flex-shrink: 0;
  width: 52px; height: 52px;
  border-radius: 14px;
  background: linear-gradient(135deg, var(--indigo-50), var(--indigo-100));
  display: flex; align-items: center; justify-content: center;
}
.theme-dark .bx-game-icon { background: linear-gradient(135deg, #1e293b, #2d3a52); }
.bx-game-icon img { width: 32px; height: 32px; object-fit: contain; }
.bx-game-body { flex: 1; min-width: 0; }
.bx-game-title { font-size: 1rem; font-weight: 800; color: var(--fg-1); margin: 0 0 4px; }
.bx-game-desc  { font-size: 0.8rem; color: var(--fg-3); margin: 0 0 6px; line-height: 1.4; }
.bx-game-stats { display: flex; gap: 6px; flex-wrap: wrap; }
.bx-stat-badge {
  display: inline-flex; align-items: center; gap: 4px;
  font-size: 0.7rem; font-weight: 600;
  padding: 3px 8px; border-radius: 8px;
  background: var(--slate-100); color: var(--slate-600);
}
.theme-dark .bx-stat-badge { background: rgba(99,102,241,0.12); color: var(--fg-2); }
.bx-stat-badge .bi { color: var(--color-brand); }
.bx-game-arrow {
  flex-shrink: 0;
  width: 32px; height: 32px;
  border-radius: 50%;
  background: var(--slate-100); color: var(--slate-400);
  display: flex; align-items: center; justify-content: center;
  font-size: 14px;
}
.theme-dark .bx-game-arrow { background: var(--slate-700); color: var(--slate-400); }
.bx-game-card:hover .bx-game-arrow { background: var(--color-brand); color: #fff; }

/* Feature slider */
.bx-feature-slider {
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 18px 20px;
  box-shadow: var(--shadow-xs);
}
.bx-slide { display: flex; align-items: flex-start; gap: 14px; }
.bx-slide-icon {
  flex-shrink: 0; width: 48px; height: 48px;
  border-radius: 12px;
  background: var(--grad-brand);
  display: flex; align-items: center; justify-content: center;
  color: #fff; font-size: 22px;
}
.bx-slide-body { flex: 1; }
.bx-slide-title { font-size: 1rem; font-weight: 700; color: var(--fg-1); margin: 0 0 4px; }
.bx-slide-desc { font-size: 0.88rem; color: var(--fg-3); margin: 0; line-height: 1.55; }
.bx-slide-controls { display: flex; align-items: center; gap: 12px; margin-top: 14px; padding-top: 12px; border-top: 1px solid var(--border-1); }
.bx-slide-dots { display: flex; gap: 6px; }
.bx-slide-dot {
  width: 8px; height: 8px; border-radius: 50%;
  border: 0; padding: 0; cursor: pointer;
  background: var(--slate-300);
  transition: all 250ms var(--ease-standard);
}
.bx-slide-dot.active { width: 24px; border-radius: 4px; background: var(--color-brand); }

/* ===== SEO SHORTCUTS (Sık aranılar) ===== */
.bx-seo {
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 22px 24px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.bx-seo-head { margin-bottom: 16px; }
.bx-seo-title {
  margin: 0 0 4px;
  font-size: 1.2rem; font-weight: 800;
  color: var(--fg-1);
  letter-spacing: -0.3px;
}
.bx-seo-sub { margin: 0; color: var(--fg-3); font-size: 0.88rem; line-height: 1.55; max-width: 640px; }
.bx-seo-groups { display: flex; flex-direction: column; gap: 14px; }
.bx-seo-group { display: flex; flex-direction: column; gap: 8px; }
.bx-seo-group-head {
  display: flex; align-items: center; gap: 8px;
  padding-bottom: 2px;
}
.bx-seo-group-label {
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.1em; text-transform: uppercase;
  color: var(--color-brand);
}
.bx-seo-group-count {
  font-size: 10px; font-weight: 700;
  padding: 2px 6px; border-radius: 999px;
  background: var(--bg-sunken); color: var(--fg-3);
  font-variant-numeric: tabular-nums;
}
.bx-seo-group::after {
  content: ''; height: 1px; background: var(--border-1);
  margin-top: 6px;
}
.bx-seo-group:last-child::after { display: none; }
.bx-seo-chips { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-seo-chip {
  display: inline-flex; align-items: center; gap: 6px;
  padding: 8px 14px; border-radius: 999px;
  background: var(--bg-app);
  border: 1px solid var(--border-1);
  color: var(--fg-1);
  font-size: 0.82rem; font-weight: 600;
  text-decoration: none; cursor: pointer;
  transition: all 180ms var(--ease-standard);
}
.bx-seo-chip:hover {
  background: var(--color-brand-soft);
  border-color: var(--indigo-300);
  color: var(--color-brand);
  transform: translateY(-1px);
}
.bx-seo-chip-icon { font-size: 11px; color: var(--fg-4); }
.bx-seo-chip:hover .bx-seo-chip-icon { color: var(--color-brand); }

/* PR #1982 review Blocker 1: ana sayfada 10 canonical landing chip'i oyun bazinda gorsel olarak
   gruplamak icin — flex-wrap listesinde "width:100%" bir sonraki satira zorlar (yeni bir grid/
   layout degisikligi gerektirmez). */
.bx-seo-chip-game-label {
  display: block;
  width: 100%;
  font-size: 10px; font-weight: 800;
  letter-spacing: 0.08em; text-transform: uppercase;
  /* PR #1982 re-review (Minor 1): --fg-4, 10px metinde AA kontrast esigini (4.5:1) iki
     temada da gecmiyordu (light ~2.6:1, dark ~3.3:1) -> --fg-3 (ikisinde de tanimli). */
  color: var(--fg-3);
  margin: 6px 0 -2px;
}
.bx-seo-chip-game-label:first-child { margin-top: 0; }

/* ===== POPULAR SEARCHES ===== */
.bx-popular {
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 18px 20px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.bx-popular-head h2 { margin: 0 0 4px; font-size: 1.1rem; font-weight: 800; color: var(--fg-1); }
.bx-popular-head p  { margin: 0 0 12px; color: var(--fg-3); font-size: 0.85rem; }
.bx-popular-list { display: flex; flex-wrap: wrap; gap: 8px; }
.bx-popular-chip {
  display: inline-flex; align-items: center; gap: 5px;
  padding: 6px 12px; border-radius: 999px;
  background: var(--slate-100);
  border: 1px solid var(--blue-100);
  color: var(--blue-700);
  font-size: 0.8rem; font-weight: 700;
  text-decoration: none; cursor: pointer;
}
.theme-dark .bx-popular-chip { background: var(--slate-900); border-color: var(--slate-700); color: #93c5fd; }
.bx-popular-chip:hover { background: var(--slate-200); }
.theme-dark .bx-popular-chip:hover { background: var(--slate-800); }

/* ===== SECTION HEADER ===== */
.bx-section {
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 20px 22px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
  font-family: var(--font-sans);
}
.bx-section-head {
  display: flex; justify-content: space-between; align-items: flex-start;
  gap: 16px; margin-bottom: 14px;
}
.bx-section-title { font-size: 1.2rem; font-weight: 800; color: var(--fg-1); margin: 0 0 4px; }
.bx-section-sub   { font-size: 0.88rem; color: var(--fg-3); margin: 0; }
.bx-section-link {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.85rem; font-weight: 700; color: var(--color-brand);
  text-decoration: none; white-space: nowrap;
}
.bx-section-link:hover { color: var(--color-brand-hover); }

/* ===== CARD GRID (marketplace) ===== */
.bx-card-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .bx-card-grid { grid-template-columns: repeat(4, 1fr); } }
@media (max-width: 760px)  { .bx-card-grid { grid-template-columns: repeat(2, 1fr); } }

.bx-card {
  position: relative;
  background: var(--bg-app);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 250ms var(--ease-standard), box-shadow 250ms, border-color 250ms;
}
.bx-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--indigo-400); }

.bx-card-image {
  position: relative; display: block;
  background: var(--indigo-50);
  aspect-ratio: 3 / 4;
}
.bx-card-image-tall { aspect-ratio: 3 / 4; }
.theme-dark .bx-card-image { background: #172033; }
.bx-card-art { width: 100%; height: 100%; display: block; object-fit: contain; }
.bx-card-fav {
  position: absolute; top: 6px; left: 6px;
  width: 26px; height: 26px; border-radius: 50%;
  background: rgba(255,255,255,0.92); border: 0;
  color: #e74c3c; font-size: 13px;
  display: flex; align-items: center; justify-content: center;
  cursor: pointer;
  box-shadow: var(--shadow-xs);
}
.bx-card-tags { position: absolute; top: 6px; right: 6px; display: flex; flex-direction: column; gap: 3px; align-items: flex-end; }
.bx-card-pill {
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 6px; border-radius: 999px;
  font-size: 9.5px; font-weight: 800; line-height: 1.4;
  background: rgba(255,255,255,0.94); color: var(--fg-1);
  box-shadow: var(--shadow-xs);
}
.bx-card-pill-cond-nm, .bx-card-pill-cond-m { color: var(--color-success); }
.bx-card-pill-cond-lp { color: #b45309; }
.bx-card-pill-foil { background: linear-gradient(135deg, #fbbf24, #f59e0b); color: #fff; }
.bx-card-pill-lang { color: var(--fg-2); font-family: var(--font-mono); }

.bx-card-body { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.bx-card-title { font-size: 0.78rem; font-weight: 700; color: var(--fg-1); line-height: 1.3; text-decoration: none; display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.05em; }
.bx-card-meta  { font-size: 0.7rem; color: var(--fg-3); line-height: 1.4; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.bx-card-seller { font-size: 0.7rem; color: var(--color-accent); font-weight: 600; display: inline-flex; align-items: center; gap: 3px; text-decoration: none; }
.bx-card-seller .bi { color: var(--color-success); }

.bx-price-block { margin-top: 4px; }
.bx-price-row { display: flex; align-items: baseline; justify-content: space-between; gap: 6px; }
.bx-card-price { font-size: 0.95rem; font-weight: 800; color: var(--color-money); font-variant-numeric: tabular-nums; letter-spacing: -0.1px; }
.bx-delta {
  display: inline-flex; align-items: center; gap: 2px;
  font-size: 0.65rem; font-weight: 800;
  padding: 1px 5px; border-radius: 999px;
}
.bx-delta-good { background: rgba(4,120,87,0.10); color: var(--color-price-up); }
.bx-delta-bad  { background: rgba(185,28,28,0.10); color: var(--color-price-down); }
.bx-delta-eq   { background: var(--slate-100); color: var(--fg-3); }
.theme-dark .bx-delta-eq { background: var(--slate-800); }
.bx-fair { display: flex; align-items: center; gap: 3px; font-size: 0.66rem; color: var(--fg-3); line-height: 1.3; margin-top: 1px; }
.bx-fair-amount { font-family: var(--font-mono); font-weight: 600; color: var(--fg-2); font-variant-numeric: tabular-nums; }
.bx-fair-info { font-size: 9px; color: var(--fg-4); cursor: help; }

.bx-card-foot { margin-top: 6px; display: flex; gap: 5px; }
.bx-card-cta {
  flex: 1;
  border: 0; border-radius: 6px;
  background: var(--grad-cta); color: #fff;
  font-size: 0.7rem; font-weight: 700;
  padding: 6px 8px; cursor: pointer;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  font-family: var(--font-sans);
  text-decoration: none;
}
.bx-card-icon-btn {
  width: 26px; height: 26px;
  border: 1px solid var(--border-1); border-radius: 6px;
  background: var(--bg-canvas); color: var(--fg-3);
  cursor: pointer; display: inline-flex; align-items: center; justify-content: center;
  font-size: 11px; text-decoration: none;
}

/* ===== MOMENTUM ===== */
.bx-momentum-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .bx-momentum-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .bx-momentum-grid { grid-template-columns: repeat(2, 1fr); } }
.bx-momentum-card {
  background: var(--bg-app);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 250ms var(--ease-standard), box-shadow 250ms, border-color 250ms;
}
.bx-momentum-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--indigo-400); }
.bx-momentum-prices { display: flex; flex-direction: column; gap: 2px; margin-top: 4px; }
.bx-yest { font-size: 0.7rem; color: var(--fg-3); }
.bx-today {
  font-size: 1rem; font-weight: 800;
  font-variant-numeric: tabular-nums;
  display: inline-flex; align-items: center; gap: 6px; flex-wrap: wrap;
}
.bx-today-up   { color: var(--color-price-up); }
.bx-today-down { color: var(--color-price-down); }
.bx-today .bx-delta { font-size: 0.7rem; font-weight: 800; padding: 1px 6px; border-radius: 999px; }
.bx-today .bx-delta-up   { background: rgba(34,197,94,0.10);  color: var(--color-success); }
.bx-today .bx-delta-down { background: rgba(220,38,38,0.10);  color: var(--color-danger); }

/* ===== HIGH-RATED SELLERS ===== */
.bx-seller-grid { display: grid; grid-template-columns: repeat(4, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .bx-seller-grid { grid-template-columns: repeat(2, 1fr); } }
@media (max-width: 560px)  { .bx-seller-grid { grid-template-columns: 1fr; } }

.bx-seller-card {
  background: var(--bg-app);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  padding: 14px;
  display: flex; flex-direction: column; gap: 12px;
  transition: transform 250ms var(--ease-standard), box-shadow 250ms, border-color 250ms;
}
.bx-seller-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--indigo-400); }

.bx-seller-head { display: flex; align-items: center; gap: 10px; }
.bx-seller-avatar {
  flex-shrink: 0;
  width: 42px; height: 42px; border-radius: 50%;
  background: var(--grad-cta); color: #fff;
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.05rem; font-weight: 800;
  text-decoration: none; line-height: 1;
}
.bx-seller-id { min-width: 0; display: flex; flex-direction: column; gap: 3px; }
.bx-seller-name {
  font-size: 0.92rem; font-weight: 800; color: var(--fg-1);
  text-decoration: none; line-height: 1.2;
  white-space: nowrap; overflow: hidden; text-overflow: ellipsis;
}
.bx-seller-name:hover { color: var(--color-brand); }
.bx-seller-rating { display: flex; align-items: center; gap: 5px; font-size: 0.72rem; color: var(--fg-3); flex-wrap: wrap; }
.bx-seller-stars { display: inline-flex; gap: 1px; color: #f59e0b; font-size: 0.72rem; }
.bx-seller-score { font-weight: 800; color: var(--fg-1); font-variant-numeric: tabular-nums; }
.bx-seller-count { color: var(--fg-3); }

.bx-seller-comment {
  position: relative;
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 10px;
  padding: 10px 12px 22px;
  flex: 1;
  display: flex; flex-direction: column; gap: 4px;
}
.bx-seller-comment-icon { color: var(--color-accent); font-size: 0.85rem; }
.bx-seller-comment-text {
  margin: 0; font-size: 0.78rem; color: var(--fg-2); line-height: 1.4;
  display: -webkit-box; -webkit-line-clamp: 3; line-clamp: 3; -webkit-box-orient: vertical; overflow: hidden;
}
.bx-seller-comment-author {
  position: absolute; right: 12px; bottom: 8px;
  font-size: 0.68rem; font-weight: 700; color: var(--fg-3);
}
.bx-seller-comment-empty {
  align-items: center; justify-content: center; text-align: center;
  padding: 16px 12px; color: var(--fg-4); font-size: 0.76rem; font-style: italic;
}

.bx-seller-foot { display: flex; gap: 6px; }
.bx-seller-btn {
  flex: 1;
  border-radius: 7px;
  font-size: 0.72rem; font-weight: 700;
  padding: 7px 6px;
  display: inline-flex; align-items: center; justify-content: center; gap: 4px;
  text-decoration: none; white-space: nowrap;
  font-family: var(--font-sans);
}
.bx-seller-btn-ghost {
  background: var(--bg-canvas); color: var(--fg-2);
  border: 1px solid var(--border-1);
}
.bx-seller-btn-ghost:hover { border-color: var(--indigo-400); color: var(--color-brand); }
.bx-seller-btn-primary {
  background: var(--grad-cta); color: #fff; border: 0;
}
.bx-seller-btn-primary:hover { opacity: 0.92; }

/* ===== FAQ ===== */
.bx-faq {
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 16px;
  padding: 22px 24px 24px;
  margin-bottom: 24px;
  box-shadow: var(--shadow-xs);
}
.bx-faq-head { margin-bottom: 14px; }
.bx-faq-title {
  margin: 0 0 4px;
  font-size: 1.2rem; font-weight: 800;
  color: var(--fg-1);
  letter-spacing: -0.3px;
}
.bx-faq-sub { margin: 0; color: var(--fg-3); font-size: 0.88rem; line-height: 1.55; max-width: 640px; }
.bx-faq-list { display: flex; flex-direction: column; gap: 8px; }
.bx-faq-item {
  border: 1px solid var(--border-1);
  border-radius: 10px;
  background: var(--bg-sunken);
  overflow: hidden;
}
.bx-faq-q {
  display: flex; align-items: center; justify-content: space-between; gap: 12px;
  padding: 13px 16px;
  cursor: pointer;
  list-style: none;
  font-weight: 700;
}
.bx-faq-q::-webkit-details-marker { display: none; }
.bx-faq-q h3 {
  margin: 0;
  font-size: 0.92rem; font-weight: 700;
  color: var(--fg-1);
  line-height: 1.4;
}
.bx-faq-chevron {
  flex-shrink: 0;
  color: var(--fg-3);
  transition: transform 0.2s ease;
}
.bx-faq-item[open] .bx-faq-chevron { transform: rotate(180deg); }
.bx-faq-a {
  padding: 0 16px 14px;
  color: var(--fg-2);
  font-size: 0.88rem; line-height: 1.6;
}

/* ===== PRICE COMPARISON ENGINE (homepage showcase) ===== */
.bx-pc {
  position: relative;
  overflow: hidden;
  border-color: var(--indigo-400);
  background:
    linear-gradient(180deg, var(--color-brand-soft) 0%, transparent 96px),
    var(--bg-canvas);
}
.bx-pc-kicker {
  display: inline-flex; align-items: center; gap: 6px;
  font-size: 0.66rem; font-weight: 800; letter-spacing: 0.06em; text-transform: uppercase;
  color: var(--color-brand);
  margin-bottom: 6px;
}
.bx-pc-kicker-dot {
  width: 7px; height: 7px; border-radius: 50%;
  background: var(--color-brand);
  box-shadow: 0 0 0 4px rgba(99,102,241,0.20);
  animation: bx-ping 1.8s ease-in-out infinite;
}

.bx-pc-grid { display: grid; grid-template-columns: repeat(6, minmax(0, 1fr)); gap: 12px; }
@media (max-width: 1180px) { .bx-pc-grid { grid-template-columns: repeat(3, 1fr); } }
@media (max-width: 760px)  { .bx-pc-grid { grid-template-columns: repeat(2, 1fr); } }

.bx-pc-card {
  position: relative;
  background: var(--bg-app);
  border: 1px solid var(--border-1);
  border-radius: 12px;
  overflow: hidden;
  display: flex; flex-direction: column;
  transition: transform 250ms var(--ease-standard), box-shadow 250ms, border-color 250ms;
}
.bx-pc-card:hover { transform: translateY(-3px); box-shadow: var(--shadow-md); border-color: var(--indigo-400); }

.bx-pc-card-image {
  position: relative; display: block;
  background: var(--indigo-50);
  height: 200px;
}
.theme-dark .bx-pc-card-image { background: #172033; }
.bx-pc-art { width: 100%; height: 100%; display: block; object-fit: contain; }
.bx-pc-art-placeholder {
  width: 100%; height: 100%;
  display: flex; align-items: center; justify-content: center;
  font-size: 2rem; color: var(--fg-3);
}
.bx-pc-stock {
  position: absolute; top: 6px; left: 6px;
  display: inline-flex; align-items: center; gap: 3px;
  padding: 2px 7px; border-radius: 999px;
  font-size: 9.5px; font-weight: 800; line-height: 1.5;
  background: rgba(4,120,87,0.94); color: #fff;
  box-shadow: var(--shadow-xs);
}
.bx-pc-lang {
  position: absolute; top: 6px; right: 6px;
  padding: 2px 6px; border-radius: 999px;
  font-size: 9.5px; font-weight: 800; line-height: 1.5;
  background: rgba(255,255,255,0.94); color: var(--fg-2);
  font-family: var(--font-mono);
  box-shadow: var(--shadow-xs);
}

.bx-pc-body { padding: 9px 10px 10px; display: flex; flex-direction: column; gap: 3px; }
.bx-pc-game { font-size: 0.68rem; font-weight: 700; color: var(--color-brand); text-transform: uppercase; letter-spacing: 0.03em; }
.bx-pc-name {
  font-size: 0.8rem; font-weight: 700; color: var(--fg-1); line-height: 1.3; text-decoration: none;
  display: -webkit-box; -webkit-line-clamp: 2; line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; min-height: 2.1em;
}
.bx-pc-name:hover { color: var(--color-brand); }
.bx-pc-price-row { display: flex; align-items: baseline; gap: 6px; margin-top: 2px; }
.bx-pc-price-from { font-size: 0.66rem; color: var(--fg-3); font-weight: 600; }
.bx-pc-price { font-size: 1rem; font-weight: 800; color: var(--color-money); font-variant-numeric: tabular-nums; letter-spacing: -0.2px; }
.bx-pc-meta {
  display: flex; align-items: center; justify-content: space-between; gap: 6px;
  margin-top: 3px;
  font-size: 0.68rem; color: var(--fg-3);
}
.bx-pc-store {
  display: inline-flex; align-items: center; gap: 3px;
  color: var(--fg-2); font-weight: 700;
  min-width: 0; overflow: hidden; text-overflow: ellipsis; white-space: nowrap;
}
.bx-pc-store .bi { color: var(--color-brand); flex-shrink: 0; }
.bx-pc-offers { display: inline-flex; align-items: center; gap: 3px; white-space: nowrap; flex-shrink: 0; }

/* ===== RESPONSIVE: HERO + SECTIONS ===== */
@media (max-width: 760px) {
  .bx-faq { padding: 18px 14px; }
  .bx-faq-title { font-size: 1.05rem; }
  .bx-faq-q h3 { font-size: 0.86rem; }
  .bx-hero { padding: 24px 18px 22px; border-radius: 16px; margin-bottom: 16px; }
  .bx-hero-title { font-size: 1.45rem; }
  .bx-hero-sub { font-size: 0.9rem; }
  .bx-game-grid { grid-template-columns: 1fr; gap: 10px; }
  .bx-section { padding: 16px 14px; }
  .bx-section-head { flex-direction: column; align-items: flex-start; gap: 4px; }
  .bx-section-title { font-size: 1.05rem; }
  .bx-seo { padding: 18px 14px; }
  .bx-seo-title { font-size: 1.05rem; }
  .bx-seo-chip { font-size: 0.78rem; padding: 7px 12px; }
  .bx-pc-grid { gap: 10px; }
  .bx-pc-name { font-size: 0.76rem; }
}

/* /css/ads/pc-web-banner.css */
/* =====================================================================
   pc-web-banner.css — Anasayfa + Pazar Yeri inline banner reklam slotu
   Prefix: pc-inline-ad-*
   Tasarim: inline blok (fixed/overlay degil), fluid gorsel, token renkler
   ===================================================================== */

/* Mobil goruntude gizle (UA guard'a ek CSS guard — AC8) */
@media (max-width: 768px) {
    .pc-inline-ad {
        display: none;
    }
}

/* Ana wrapper */
.pc-inline-ad {
    display: block;
    position: relative;
    margin: var(--space-6) auto;
    max-width: 1200px;
    padding: 0 var(--space-4);
    box-sizing: border-box;
}

/* Kapat butonu (closable reklamlar icin) */
.pc-inline-ad-close {
    position: absolute;
    top: var(--space-2);
    right: calc(var(--space-4) + var(--space-2));
    z-index: 2;
    display: flex;
    align-items: center;
    justify-content: center;
    width: 28px;
    height: 28px;
    border: none;
    border-radius: var(--radius-sm);
    background: var(--bg-overlay);
    color: var(--bg-canvas);
    cursor: pointer;
    line-height: 1;
    transition: background 0.15s ease;
}

.pc-inline-ad-close:hover {
    background: var(--bg-elevated);
    color: var(--color-brand);
    border: 1px solid var(--border-1);
}

/* Tıklanabilir link sarmalayıcısı */
.pc-inline-ad-link {
    display: block;
    text-decoration: none;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-1);
    transition: box-shadow 0.15s ease, opacity 0.15s ease;
}

.pc-inline-ad-link:hover {
    box-shadow: var(--shadow-md);
    opacity: 0.95;
}

/* Link-siz wrapper (TargetUrl yoksa) */
.pc-inline-ad-image-wrap {
    display: block;
    border-radius: var(--radius-md);
    overflow: hidden;
    border: 1px solid var(--border-1);
}

/* Gorsel fluid — AC7 */
.pc-inline-ad-image {
    display: block;
    max-width: 100%;
    height: auto;
    width: 100%;
    object-fit: cover;
}

/* Dark mode uyumu — tokenlar zaten kayar, ek override gerekmiyor */
.theme-dark .pc-inline-ad-link {
    border-color: var(--border-1);
}

.theme-dark .pc-inline-ad-image-wrap {
    border-color: var(--border-1);
}

/* /css/shared/sponsored-card.css */
/* Sponsorlu kart reklamı — ortak gösterim yüzeyleri (T-20260706-03, Epic #765).
   _SponsoredCardRail.cshtml (Anasayfa / Sets-Detail / Cafe) + mp-card--sponsored (Pazar Yeri).
   Light + dark tema token'ları binderim-tokens.css --sponsored-gold* üzerinden. */

.sp-rail {
  background: var(--bg-canvas);
  border: 1px solid var(--border-1);
  border-radius: 14px;
  padding: 14px 16px 16px;
  margin: 16px 0;
}

.sp-rail-head {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 10px;
}

.sp-rail-title {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 15px;
  color: var(--fg-1);
}

.sp-rail-title .bi {
  color: var(--sponsored-gold);
}

.sp-rail-toggle {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 44px;
  height: 44px;
  border: 1px solid var(--border-1);
  border-radius: 10px;
  background: var(--bg-elevated);
  color: var(--fg-2);
  cursor: pointer;
  transition: transform 180ms ease, background 150ms ease;
}
.sp-rail-toggle:hover {
  background: var(--bg-sunken);
}
.sp-rail-toggle[aria-expanded="false"] [data-sp-toggle-icon] {
  transform: rotate(180deg);
}
.sp-rail-toggle [data-sp-toggle-icon] {
  transition: transform 180ms ease;
  display: inline-block;
}

.sp-rail-body {
  overflow: hidden;
}
.sp-rail-body[hidden] {
  display: none;
}

.sp-rail-track {
  display: grid;
  grid-auto-flow: column;
  grid-auto-columns: minmax(150px, 1fr);
  gap: 12px;
  overflow-x: auto;
  padding-bottom: 4px;
  scrollbar-width: thin;
}

.sp-card {
  position: relative;
  display: flex;
  flex-direction: column;
  background: var(--bg-elevated);
  border: 1.5px solid var(--sponsored-gold);
  border-radius: 12px;
  overflow: hidden;
  text-decoration: none;
  color: inherit;
  min-width: 150px;
  transition: transform 180ms ease, box-shadow 180ms ease;
}
.sp-card:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-md);
}

/* Badge yalniz kart GORSELININ ustunde durur — sidebar (yatay) yerlesimde kart adini kapatmaz. */
.sp-card-badge {
  position: absolute;
  top: 6px;
  left: 6px;
  z-index: 1;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 7px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  letter-spacing: 0.02em;
  background: var(--sponsored-gold);
  color: var(--sponsored-gold-text);
}

.sp-card-art {
  position: relative;
  display: block;
  aspect-ratio: 5 / 7;
  /* contain letterbox bosluklari kart yuzeyiyle ayni renkte kalsin (gold-soft cirkin duruyordu). */
  background: transparent;
}
.sp-card-art img {
  display: block;
  width: 100%;
  height: 100%;
  /* Kart gorseli KIRPILMADAN tam gorunur (cover yanlari kesiyordu); bosluk gold-soft zeminle dolar. */
  object-fit: contain;
}

.sp-card-body {
  display: flex;
  flex-direction: column;
  gap: 2px;
  padding: 8px 10px 10px;
}

.sp-card-name {
  font-size: 12.5px;
  font-weight: 700;
  color: var(--fg-1);
  text-decoration: none;
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}
.sp-card-name:hover {
  text-decoration: underline;
  color: var(--fg-1);
}

.sp-card-basket {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 5px;
  margin-top: 6px;
  padding: 5px 10px;
  border: 1px solid var(--sponsored-gold);
  border-radius: 8px;
  background: var(--sponsored-gold-soft);
  color: var(--fg-1);
  font-size: 11px;
  font-weight: 700;
  cursor: pointer;
  transition: background 150ms ease;
}
.sp-card-basket:hover {
  background: var(--sponsored-gold);
  color: var(--sponsored-gold-text);
}
.sp-card-basket:disabled {
  opacity: .6;
  cursor: default;
}

.sp-card-meta {
  font-size: 10.5px;
  color: var(--fg-3);
}

.sp-card-price {
  font-size: 13px;
  font-weight: 800;
  color: var(--color-money);
  margin-top: 2px;
}

.sp-card-seller {
  font-size: 10.5px;
  color: var(--fg-3);
  overflow: hidden;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* ---------- Embedded (Anasayfa bx-section icinde) varyantı: kendi kutusu yok ---------- */
.sp-rail--embedded {
  background: transparent;
  border: none;
  border-radius: 0;
  padding: 0;
  margin: 0;
}

/* ---------- Sidebar (Cafe cf-rail-right dar kolon) varyantı: düşey liste ---------- */
.sp-rail--sidebar {
  padding: 14px;
}
.sp-rail--sidebar .sp-rail-track {
  grid-auto-flow: row;
  grid-auto-columns: unset;
  grid-template-columns: 1fr;
  overflow-x: visible;
}
.sp-rail--sidebar .sp-card {
  flex-direction: row;
  min-width: 0;
}
.sp-rail--sidebar .sp-card-art {
  width: 56px;
  min-width: 56px;
  aspect-ratio: 5 / 7;
}
.sp-rail--sidebar .sp-card-body {
  flex: 1;
  min-width: 0;
  justify-content: center;
}
/* Dar (56px) gorselde "Sponsorlu" metni tasar — sidebar'da yalniz yildiz ikonlu kompakt chip. */
.sp-rail--sidebar .sp-card-badge {
  top: 4px;
  left: 4px;
  padding: 3px 4px;
  font-size: 0;
  gap: 0;
}
.sp-rail--sidebar .sp-card-badge .bi {
  font-size: 9px;
}

/* ---------- Mobile ---------- */
@media (max-width: 768px) {
  .sp-rail {
    padding: 12px 12px 14px;
    border-radius: 12px;
  }
  .sp-rail-track {
    grid-auto-columns: minmax(130px, 1fr);
    gap: 10px;
  }
}

@media (max-width: 375px) {
  .sp-rail-track {
    grid-auto-columns: minmax(118px, 1fr);
  }
}

/* ---------- Pazar Yeri: sponsorlu blok (filtresiz ilk açılış) ---------- */
.mp-sponsored-block {
  margin-bottom: 18px;
  padding-bottom: 14px;
  border-bottom: 1px dashed var(--border-1);
}
.mp-sponsored-head {
  display: inline-flex;
  align-items: center;
  gap: 6px;
  font-weight: 800;
  font-size: 13px;
  color: var(--fg-2);
  margin-bottom: 10px;
}
.mp-sponsored-head .bi {
  color: var(--sponsored-gold);
}

/* ---------- Pazar Yeri: mp-card sponsorlu varyantı ---------- */
.mp-card.mp-card--sponsored {
  border: 1.5px solid var(--sponsored-gold);
  box-shadow: 0 0 0 1px var(--sponsored-gold-soft);
}
.mp-row.mp-row--sponsored {
  border: 1.5px solid var(--sponsored-gold);
  box-shadow: 0 0 0 1px var(--sponsored-gold-soft);
  border-radius: 10px;
}
.mp-badge-sponsored {
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: var(--sponsored-gold);
  color: var(--sponsored-gold-text);
}

/* ---------- Anasayfa: bx-card sponsorlu varyantı (#768) ---------- */
.bx-card.bx-card--sponsored {
  border: 1.5px solid var(--sponsored-gold);
  box-shadow: 0 0 0 1px var(--sponsored-gold-soft);
}
.bx-card--sponsored .bx-card-image {
  position: relative;
}
.bx-sponsored-badge {
  position: absolute;
  top: 8px;
  left: 8px;
  z-index: 2;
  display: inline-flex;
  align-items: center;
  gap: 3px;
  padding: 3px 8px;
  border-radius: 999px;
  font-size: 10px;
  font-weight: 800;
  background: var(--sponsored-gold);
  color: var(--sponsored-gold-text);
}

