﻿/* --- NEW MODERN CONTROLS 2.0 --- */
/* --- MARKTPLATZ SECTION HEADER + FILTER --- */
.market-section-header {
    margin-bottom: 24px;
}

.market-title-row {
    display: flex;
    align-items: center;
    margin-bottom: 14px;
}

.market-filter-bar {
    display: flex;
    align-items: center;
    flex-wrap: wrap;
    gap: 8px;
}

/* Search */
.mfb-search {
    position: relative;
    display: flex;
    align-items: center;
    flex: 1 1 160px;
    min-width: 120px;
    max-width: 260px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0 10px;
    height: 34px;
    transition: border-color 0.2s, box-shadow 0.2s;
}
.mfb-search:focus-within {
    border-color: rgba(0,220,255,0.5);
    box-shadow: 0 0 10px rgba(0,220,255,0.08);
}
.mfb-icon { font-size: 0.8rem; opacity: 0.45; flex-shrink: 0; }
#search-input {
    flex: 1;
    background: transparent !important;
    border: none !important;
    color: #e0e0e0 !important;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    padding: 0 7px;
    min-width: 0;
}
#search-input::placeholder { color: #444; }

/* Category chips */
.mfb-chips {
    display: flex;
    align-items: center;
    gap: 6px;
    flex-wrap: nowrap;
    overflow-x: auto;
    scrollbar-width: none;
}
.mfb-chips::-webkit-scrollbar { display: none; }

.chip {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    color: #999;
    padding: 0 11px;
    height: 30px;
    border-radius: 20px;
    font-size: 0.76rem;
    font-weight: 600;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    white-space: nowrap;
    transition: all 0.18s ease;
}
.chip:hover {
    background: rgba(255,255,255,0.1);
    color: #ddd;
    border-color: rgba(255,255,255,0.2);
}
.chip.active {
    background: linear-gradient(135deg, rgba(0,200,255,0.25), rgba(0,120,255,0.25));
    color: #fff;
    border-color: rgba(0,200,255,0.5);
    font-weight: 700;
    box-shadow: 0 0 10px rgba(0,180,255,0.15);
}
.chip-img {
    width: 14px;
    height: 14px;
    object-fit: contain;
    border-radius: 50%;
    opacity: 0.9;
}

/* Sort */
.mfb-sort {
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 10px;
    padding: 0 26px 0 10px;
    height: 34px;
    flex-shrink: 0;
    margin-left: auto;
}
#sort-select {
    background: transparent !important;
    border: none !important;
    color: #999 !important;
    font-size: 0.76rem;
    font-family: 'Poppins', sans-serif;
    font-weight: 600;
    outline: none;
    cursor: pointer;
    appearance: none;
    -webkit-appearance: none;
    padding: 0;
}
#sort-select option { background: #0a0c10; color: #fff; }
.mfb-sort-arrow {
    position: absolute;
    right: 8px;
    color: #666;
    font-size: 0.5rem;
    pointer-events: none;
}

/* M/s filter */
.ms-filter-wrapper {
    display: flex; align-items: center; gap: 6px;
    background: rgba(255,255,255,0.04);
    padding: 0 10px;
    height: 34px;
    border-radius: 10px;
    border: 1px solid rgba(255,255,255,0.08);
    flex-shrink: 0;
}
.ms-label-small { font-size: 0.62rem; font-weight: 800; color: #444; letter-spacing: 1px; }
.ms-inputs { display: flex; align-items: center; gap: 4px; }
.ms-inputs input {
    width: 42px;
    background: transparent; border: none;
    color: var(--gold-main);
    font-weight: bold; text-align: center;
    font-size: 0.78rem; outline: none; padding: 0;
}
.ms-inputs input::placeholder { color: #444; }
.ms-dash { color: #444; font-size: 0.75rem; }

/* Mobile */
@media (max-width: 650px) {
    .market-filter-bar { gap: 6px; }
    .mfb-search { flex: 1 1 auto; max-width: none; }
    .mfb-sort { margin-left: 0; }
    .mfb-chips { flex: 0 0 100%; order: 3; }
}

/* ══════════════════════════════════════════════════════════
   MARKETPLACE
   ══════════════════════════════════════════════════════════ */

/* Hero banner */
.mp-hero {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    background: linear-gradient(135deg, #0a0d12 0%, #0d1520 60%, #0a0d12 100%);
    border: 1px solid rgba(255,255,255,0.07);
    padding: 24px 26px;
    margin-bottom: 14px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
}
.mp-hero-bg {
    position: absolute;
    inset: 0;
    background: radial-gradient(ellipse at 80% 50%, rgba(0,180,255,0.07) 0%, transparent 60%),
                radial-gradient(ellipse at 20% 80%, rgba(168,85,247,0.06) 0%, transparent 50%);
    pointer-events: none;
}
.mp-hero-text { position: relative; z-index: 1; }
.mp-hero-eyebrow {
    font-size: 0.62rem;
    font-weight: 700;
    color: #444;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    margin: 0 0 6px;
}
.mp-hero-title {
    font-size: 1.7rem;
    font-weight: 900;
    color: #fff;
    margin: 0;
    letter-spacing: -0.5px;
    line-height: 1.1;
}
.mp-hero-stats {
    display: flex;
    align-items: center;
    gap: 18px;
    flex-shrink: 0;
    position: relative;
    z-index: 1;
}
.mp-hero-stat { text-align: center; }
.mhs-num { display: block; font-size: 1rem; font-weight: 900; color: #fff; line-height: 1; }
.mhs-lbl { font-size: 0.55rem; color: #3a3a3a; text-transform: uppercase; letter-spacing: 0.5px; margin-top: 3px; display: block; }
.mp-hero-div { width: 1px; height: 28px; background: rgba(255,255,255,0.06); }

/* Category tabs */
.mp-tabs {
    display: flex;
    gap: 8px;
    margin-bottom: 18px;
    overflow-x: auto;
    scrollbar-width: none;
    padding-bottom: 2px;
}
.mp-tabs::-webkit-scrollbar { display: none; }
.mp-tab {
    position: relative;
    display: flex;
    align-items: center;
    gap: 11px;
    flex: 0 0 auto;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-bottom: none;
    border-radius: 14px 14px 0 0;
    padding: 11px 18px 13px;
    cursor: pointer;
    transition: all 0.2s;
    font-family: 'Poppins', sans-serif;
    overflow: hidden;
    min-width: 140px;
    margin-bottom: -1px;
    border-bottom: 2px solid transparent;
}
.mp-tab:hover {
    background: rgba(255,255,255,0.07);
    border-color: rgba(255,255,255,0.14);
    border-bottom-color: transparent;
}
.mp-tab.active {
    background: rgba(255,255,255,0.05);
    border-color: rgba(255,255,255,0.12);
    border-bottom-color: transparent;
    z-index: 2;
}
.mp-tab-accent {
    position: absolute;
    inset: 0;
    pointer-events: none;
    opacity: 0;
    transition: opacity 0.3s;
}
.mp-tab:hover .mp-tab-accent,
.mp-tab.active .mp-tab-accent { opacity: 1; }
.mp-tab-icon {
    width: 28px; height: 28px;
    object-fit: contain;
    flex-shrink: 0;
    position: relative; z-index: 1;
    filter: drop-shadow(0 0 4px rgba(255,255,255,0.1));
}
.mp-tab-emoji {
    font-size: 1.5rem;
    flex-shrink: 0;
    width: 28px;
    text-align: center;
    position: relative; z-index: 1;
}
.mp-tab-info { position: relative; z-index: 1; text-align: left; }
.mp-tab-name {
    font-size: 0.75rem;
    font-weight: 800;
    color: #aaa;
    text-transform: uppercase;
    letter-spacing: 0.3px;
    line-height: 1;
    margin-bottom: 2px;
    white-space: nowrap;
}
.mp-tab.active .mp-tab-name { color: #fff; }
.mp-tab-desc { font-size: 0.58rem; color: #3a3a3a; white-space: nowrap; }
.mp-tab.active .mp-tab-desc { color: #555; }
.mp-tab-bar {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 2px;
    opacity: 0;
    transition: opacity 0.2s;
}
.mp-tab.active .mp-tab-bar { opacity: 1; }
.mp-tab-soon {
    position: absolute;
    top: 7px; right: 7px;
    background: linear-gradient(135deg, #7c3aed, #a855f7);
    color: #fff;
    font-size: 0.42rem;
    font-weight: 900;
    padding: 2px 5px;
    border-radius: 20px;
    letter-spacing: 1px;
    z-index: 2;
}

/* The product area below tabs gets a top border to "connect" to tab row */
.shop-main-layout, #gamekeys-section, #mp-vb-toolbar {
    border-top: 1px solid rgba(255,255,255,0.07);
    padding-top: 18px;
}

/* Search + Sort toolbar */
.mp-toolbar {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-wrap: wrap;
    margin-bottom: 20px;
}
.mp-search-wrap {
    flex: 1;
    min-width: 160px;
    position: relative;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0 14px;
    gap: 8px;
}
.mp-search-ico { width: 0.95rem; height: 0.95rem; opacity: 0.5; object-fit: contain; flex-shrink: 0; }
.mp-search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    padding: 10px 0;
    outline: none;
}
.mp-search-wrap input::placeholder { color: #3a3a3a; }
.mp-sort-wrap {
    position: relative;
    display: flex;
    align-items: center;
}
.mp-sort-wrap select {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #aaa;
    padding: 10px 32px 10px 14px;
    border-radius: 10px;
    font-size: 0.78rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
}
.mp-sort-arrow {
    position: absolute;
    right: 10px;
    font-size: 0.5rem;
    color: #555;
    pointer-events: none;
}

/* ── Game Keys Filters ───────────────────────────── */
.gk-filter-header { margin-bottom: 14px; }

.gk-type-pills { display: flex; gap: 7px; flex-wrap: wrap; }
.gk-type-pill {
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    color: #666;
    font-size: 0.73rem;
    font-weight: 700;
    padding: 7px 16px;
    border-radius: 30px;
    cursor: pointer;
    transition: all 0.18s;
    font-family: 'Poppins', sans-serif;
    white-space: nowrap;
}
.gk-type-pill:hover { background: rgba(255,255,255,0.08); color: #ccc; }
.gk-type-pill.active {
    background: rgba(168,85,247,0.15);
    border-color: rgba(168,85,247,0.4);
    color: #c084fc;
}

.gk-controls {
    display: flex;
    gap: 10px;
    align-items: center;
    flex-wrap: wrap;
    margin-bottom: 18px;
}
.gk-search-wrap {
    flex: 1;
    min-width: 160px;
    display: flex;
    align-items: center;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 10px;
    padding: 0 14px;
    gap: 8px;
    font-size: 0.85rem;
    color: #444;
}
.gk-search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: #fff;
    font-family: 'Poppins', sans-serif;
    font-size: 0.82rem;
    padding: 10px 0;
    outline: none;
}
.gk-search-wrap input::placeholder { color: #3a3a3a; }
.gk-selects { display: flex; gap: 8px; flex-wrap: wrap; }
.gk-selects select {
    background-color: #12121c;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='10' height='6' viewBox='0 0 10 6'%3E%3Cpath d='M0 0l5 6 5-6z' fill='%23555'/%3E%3C/svg%3E");
    background-repeat: no-repeat;
    background-position: right 10px center;
    border: 1px solid rgba(255,255,255,0.08);
    color: #888;
    padding: 9px 30px 9px 12px;
    border-radius: 10px;
    font-size: 0.72rem;
    font-family: 'Poppins', sans-serif;
    cursor: pointer;
    outline: none;
    appearance: none;
    -webkit-appearance: none;
    transition: border-color 0.18s, color 0.18s;
}
.gk-selects select option { background: #12121c; color: #fff; }
.gk-selects select:focus { border-color: rgba(168,85,247,0.4); color: #fff; background-color: #16162a; }

.gk-active-filters { margin-bottom: 14px; display: flex; gap: 6px; flex-wrap: wrap; }
.gk-filter-chip {
    display: flex; align-items: center; gap: 5px;
    background: rgba(168,85,247,0.12);
    border: 1px solid rgba(168,85,247,0.3);
    color: #c084fc;
    font-size: 0.65rem; font-weight: 700;
    padding: 3px 10px; border-radius: 20px;
}
.gk-filter-chip button {
    background: none; border: none; color: #c084fc;
    cursor: pointer; font-size: 0.75rem; padding: 0; line-height: 1;
}

/* ══════════════════════════════════════════════════════════
   GAME KEYS STYLES
   ══════════════════════════════════════════════════════════ */

/* Toolbar */
.gk-toolbar {
    display: flex;
    gap: 10px;
    margin-bottom: 20px;
    flex-wrap: wrap;
    align-items: center;
}
.gk-search-wrap {
    display: flex;
    align-items: center;
    gap: 8px;
    flex: 1 1 200px;
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0 14px;
    height: 42px;
    transition: border-color 0.2s;
}
.gk-search-wrap:focus-within { border-color: rgba(16,185,129,0.5); }
.gk-search-wrap span { opacity: 0.4; flex-shrink: 0; }
.gk-search-wrap input {
    flex: 1;
    background: transparent;
    border: none;
    color: #e0e0e0;
    font-size: 0.85rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
}
.gk-search-wrap input::placeholder { color: #444; }
.gk-platform-wrap {
    background: rgba(255,255,255,0.05);
    border: 1px solid rgba(255,255,255,0.1);
    border-radius: 12px;
    padding: 0 14px;
    height: 42px;
    display: flex;
    align-items: center;
    flex-shrink: 0;
}
.gk-platform-wrap select {
    background: transparent;
    border: none;
    color: #999;
    font-size: 0.82rem;
    font-family: 'Poppins', sans-serif;
    outline: none;
    cursor: pointer;
}
.gk-platform-wrap select option { background: #0a0c10; }

/* Grid */
.gk-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(180px, 1fr));
    gap: 14px;
    margin-bottom: 24px;
}

/* Card */
.gk-card {
    background: #0d0f14;
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.22s;
    position: relative;
    display: flex;
    flex-direction: column;
}
.gk-card:hover {
    border-color: rgba(168,85,247,0.3);
    transform: translateY(-4px);
    box-shadow: 0 16px 40px rgba(0,0,0,0.6), 0 0 0 1px rgba(168,85,247,0.15);
}
.gk-card-oos {
    opacity: 0.45;
    filter: grayscale(0.5);
}
.gk-card-oos-label {
    position: absolute;
    top: 8px; left: 8px;
    background: rgba(0,0,0,0.75);
    color: #777;
    font-size: 0.55rem;
    font-weight: 700;
    padding: 2px 7px;
    border-radius: 6px;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    z-index: 3;
}
.gk-card-img {
    width: 100%;
    height: 120px;
    object-fit: cover;
    display: block;
    background: #111;
}
.gk-card-img-placeholder {
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 2.5rem;
    background: linear-gradient(135deg, #111, #1a1a2e);
}
.gk-card-body {
    padding: 10px 12px 12px;
    display: flex;
    flex-direction: column;
    flex: 1;
}
.gk-card-platform {
    display: inline-block;
    padding: 2px 8px;
    border-radius: 20px;
    font-size: 0.6rem;
    font-weight: 700;
    color: #fff;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 7px;
    width: fit-content;
    opacity: 0.9;
}
.gk-card-name {
    font-size: 0.77rem;
    font-weight: 700;
    color: #ddd;
    line-height: 1.3;
    flex: 1;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    margin-bottom: 10px;
}
.gk-card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
    margin-top: auto;
}
.gk-card-price {
    font-size: 0.95rem;
    font-weight: 900;
    color: #10b981;
}
.gk-card-buy-btn {
    background: linear-gradient(135deg, #10b981, #059669);
    border: none;
    color: #fff;
    font-size: 0.68rem;
    font-weight: 800;
    padding: 5px 10px;
    border-radius: 8px;
    cursor: pointer;
    font-family: 'Poppins', sans-serif;
    transition: opacity 0.2s;
    white-space: nowrap;
}
.gk-card-buy-btn:hover { opacity: 0.85; }

/* Loading */
.gk-loading {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    padding: 60px;
    color: #555;
    font-size: 0.85rem;
}
.gk-spinner {
    width: 24px; height: 24px;
    border: 2px solid rgba(16,185,129,0.2);
    border-top-color: #10b981;
    border-radius: 50%;
    animation: spin 0.8s linear infinite;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* Pagination */
.gk-pagination {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 30px;
}
.gk-page-btn {
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.12);
    color: #aaa;
    padding: 8px 18px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 0.8rem;
    font-family: 'Poppins', sans-serif;
    transition: all 0.2s;
}
.gk-page-btn:hover { background: rgba(16,185,129,0.15); border-color: rgba(16,185,129,0.4); color: #10b981; }
.gk-page-info { color: #555; font-size: 0.78rem; }

/* --- GRID --- */
.section-header {
    display: flex;
    align-items: center;
    margin-bottom: 30px;
}
.section-title { 
    font-size: 1.5rem; 
    color: #fff; 
    text-transform: uppercase; 
    letter-spacing: 2px;
    font-weight: 800;
    margin: 0;
    background: linear-gradient(to right, #fff, #888);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
}
.section-line {
    height: 1px;
    background: linear-gradient(to right, var(--gold-dark), rgba(255, 215, 0, 0.2));
    flex-grow: 1;
    margin-left: 20px;
    opacity: 0.6;
    position: relative;
    display: flex;
    align-items: center;
}

.section-line::after {
    content: '';
    position: absolute;
    right: 0;
    width: 4px;
    height: 4px;
    background: var(--gold-main);
    border-radius: 1px; /* Kleines Quadrat */
    box-shadow: 0 0 10px var(--gold-main); /* Glühen */
}

/* ============================================
   MARKETPLACE GRID — KOMPLETTES REDESIGN
   ============================================ */

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

.product-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(220px, 1fr));
    gap: 20px;
}

/* --- GRID CARD --- */
.grid-card {
    position: relative;
    border-radius: 18px;
    overflow: hidden;
    cursor: pointer;
    aspect-ratio: 3 / 4;
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.32s cubic-bezier(0.19,1,0.22,1), box-shadow 0.32s ease, border-color 0.32s ease;
    animation: fadeInUp 0.45s ease-out both;
    background: #0e0e14;
}
.grid-card:nth-child(2) { animation-delay: 0.06s; }
.grid-card:nth-child(3) { animation-delay: 0.12s; }
.grid-card:nth-child(4) { animation-delay: 0.18s; }
.grid-card:nth-child(5) { animation-delay: 0.24s; }
.grid-card:nth-child(n+6) { animation-delay: 0.28s; }

/* Rarity border tint */
.rarity-common.grid-card    { border-color: rgba(130,130,130,0.3); }
.rarity-uncommon.grid-card  { border-color: rgba(46,204,113,0.3); }
.rarity-rare.grid-card      { border-color: rgba(52,152,219,0.3); }
.rarity-epic.grid-card      { border-color: rgba(155,89,182,0.3); }
.rarity-legendary.grid-card { border-color: rgba(230,126,34,0.3); }
.rarity-secret.grid-card    { border-color: rgba(255,45,85,0.3); }

.grid-card:hover { transform: translateY(-7px) scale(1.02); z-index: 2; }
.rarity-common.grid-card:hover    { box-shadow: 0 18px 50px rgba(130,130,130,0.2); border-color: rgba(130,130,130,0.6); }
.rarity-uncommon.grid-card:hover  { box-shadow: 0 18px 50px rgba(46,204,113,0.2); border-color: rgba(46,204,113,0.6); }
.rarity-rare.grid-card:hover      { box-shadow: 0 18px 50px rgba(52,152,219,0.2); border-color: rgba(52,152,219,0.6); }
.rarity-epic.grid-card:hover      { box-shadow: 0 18px 50px rgba(155,89,182,0.25); border-color: rgba(155,89,182,0.65); }
.rarity-legendary.grid-card:hover { box-shadow: 0 18px 50px rgba(230,126,34,0.25); border-color: rgba(230,126,34,0.65); }
.rarity-secret.grid-card:hover    { box-shadow: 0 18px 50px rgba(255,45,85,0.28); border-color: rgba(255,45,85,0.7); }

/* --- IMAGE fills full card --- */
.img-wrapper {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
}
.rarity-common    .img-wrapper { background: radial-gradient(ellipse at 50% 85%, #555 0%, #1e1e1e 60%, #0d0d0d 100%); }
.rarity-uncommon  .img-wrapper { background: radial-gradient(ellipse at 50% 85%, #27ae60 0%, #0b3318 60%, #030f07 100%); }
.rarity-rare      .img-wrapper { background: radial-gradient(ellipse at 50% 85%, #1a7dd4 0%, #042040 60%, #010a17 100%); }
.rarity-epic      .img-wrapper { background: radial-gradient(ellipse at 50% 85%, #8e44ad 0%, #280c3e 60%, #0b0318 100%); }
.rarity-legendary .img-wrapper { background: radial-gradient(ellipse at 50% 85%, #e67e22 0%, #4e2200 60%, #160800 100%); }
.rarity-secret    .img-wrapper { background: radial-gradient(ellipse at 50% 85%, #e91e63 0%, #440012 60%, #130004 100%); }

.grid-img-skeleton {
    position: absolute;
    inset: 0;
    background: linear-gradient(90deg, rgba(255,255,255,0.03) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.03) 75%);
    background-size: 200% 100%;
    animation: gridShimmer 1.4s infinite;
    z-index: 0;
}
@keyframes gridShimmer {
    0% { background-position: 200% 0; }
    100% { background-position: -200% 0; }
}

.grid-img {
    width: 100%;
    height: 100%;
    object-fit: contain;
    transition: transform 0.45s cubic-bezier(0.4,0,0.2,1), opacity 0.4s ease;
    z-index: 1;
    opacity: 0;
}
.grid-img.grid-img-loaded { opacity: 1; }
.grid-card:hover .grid-img { transform: scale(1.07); }

/* --- BOTTOM OVERLAY with title & price --- */
.gc-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    padding: 48px 13px 13px;
    background: linear-gradient(to top, rgba(0,0,0,0.96) 0%, rgba(0,0,0,0.72) 45%, transparent 100%);
    z-index: 2;
}
.gc-rarity {
    display: inline-block;
    font-size: 0.56rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 6px;
    border: 1px solid currentColor;
    background: rgba(0,0,0,0.45);
    margin-bottom: 5px;
}
.gc-rarity.r-common    { color: #aaa; }
.gc-rarity.r-uncommon  { color: #2ecc71; }
.gc-rarity.r-rare      { color: #3498db; }
.gc-rarity.r-epic      { color: #9b59b6; }
.gc-rarity.r-legendary { color: #e67e22; }
.gc-rarity.r-secret    { color: #ff2d55; }

.gc-title {
    color: #fff;
    font-size: 0.9rem;
    font-weight: 800;
    line-height: 1.25;
    margin: 0 0 6px;
    text-shadow: 0 1px 6px rgba(0,0,0,0.9);
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}
.gc-bottom {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 6px;
}
.gc-price {
    font-size: 1.25rem;
    font-weight: 900;
    color: #00ffff;
    text-shadow: 0 0 10px rgba(0,255,255,0.45);
    line-height: 1;
}
.gc-stock {
    font-size: 0.6rem;
    font-weight: 700;
    color: rgba(255,255,255,0.45);
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.gc-stock.low { color: #ff6b6b; }

/* --- TOP BADGES --- */
.gc-heart {
    position: absolute;
    top: 10px; right: 10px;
    z-index: 4;
    width: 32px; height: 32px;
    border-radius: 50%;
    background: rgba(0,0,0,0.55);
    border: 1px solid rgba(255,255,255,0.12);
    backdrop-filter: blur(6px);
    display: flex; align-items: center; justify-content: center;
    font-size: 0.95rem;
    cursor: pointer;
    transition: transform 0.2s, background 0.2s;
}
.gc-heart:hover { transform: scale(1.25); background: rgba(255,45,85,0.3); }
.gc-heart.active { filter: drop-shadow(0 0 5px rgba(255,0,0,0.7)); }

.gc-featured-badge {
    position: absolute;
    top: 10px; left: 50%; transform: translateX(-50%);
    z-index: 4;
    font-size: 0.55rem;
    font-weight: 900;
    letter-spacing: 1.2px;
    text-transform: uppercase;
    padding: 3px 10px;
    border-radius: 6px;
    background: linear-gradient(135deg, #ffd700, #ff8c00);
    color: #000;
    white-space: nowrap;
}
.featured-item { box-shadow: 0 0 0 2px rgba(255,215,0,0.35); }

/* --- SOLD OUT --- */
.sold-out-overlay {
    position: absolute;
    inset: 0;
    background: rgba(0,0,0,0.72);
    backdrop-filter: blur(2px);
    z-index: 5;
    display: flex; align-items: center; justify-content: center;
}
.sold-out-text {
    font-size: 0.9rem;
    font-weight: 900;
    letter-spacing: 4px;
    color: #fff;
    border: 2px solid rgba(255,255,255,0.35);
    padding: 8px 18px;
    border-radius: 8px;
    background: rgba(0,0,0,0.4);
}
.grid-card.out-of-stock { opacity: 0.55; cursor: not-allowed; }
.grid-card.out-of-stock:hover { transform: none !important; box-shadow: none !important; }
.grid-card.out-of-stock .grid-img { transform: none !important; filter: grayscale(0.7); }

/* ── MOBILE GRID — Eneba-style: image top, solid info bottom ── */
@media (max-width: 640px) {
    .product-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 8px;
    }

    /* Fixed height card — no aspect-ratio on mobile */
    .grid-card {
        aspect-ratio: unset !important;
        height: 218px;
        border-radius: 12px !important;
        animation: none; /* skip stagger on mobile */
    }

    /* Image fills only the top portion */
    .img-wrapper {
        position: absolute !important;
        top: 0; left: 0; right: 0;
        bottom: 72px !important;   /* leave exact room for the info bar */
        height: auto !important;
    }

    /* Solid info bar at bottom — always readable, nothing cut off */
    .gc-overlay {
        position: absolute !important;
        bottom: 0 !important; left: 0 !important; right: 0 !important;
        top: auto !important;
        height: 72px !important;
        padding: 9px 10px 10px !important;
        background: #0d0d14 !important;
        border-top: 1px solid rgba(255,255,255,0.07) !important;
    }

    /* Hide rarity badge — too small to read, wastes space */
    .gc-rarity { display: none !important; }

    .gc-title {
        font-size: 0.78rem !important;
        line-height: 1.3 !important;
        margin: 0 0 4px !important;
        -webkit-line-clamp: 2;
        line-clamp: 2;
    }
    .gc-price {
        font-size: 1rem !important;
        line-height: 1 !important;
    }
    .gc-stock { font-size: 0.58rem !important; }

    /* Smaller heart button */
    .gc-heart {
        width: 27px !important; height: 27px !important;
        font-size: 0.78rem !important;
        top: 7px !important; right: 7px !important;
    }
    .gc-featured-badge {
        font-size: 0.5rem !important;
        padding: 2px 8px !important;
        top: 7px !important;
    }
    .sold-out-text { font-size: 0.75rem !important; letter-spacing: 2px !important; }
}

@media (max-width: 380px) {
    .product-grid { gap: 6px !important; }
    .grid-card { height: 200px !important; }
    .img-wrapper { bottom: 68px !important; }
    .gc-overlay { height: 68px !important; }
    .gc-title { font-size: 0.73rem !important; }
    .gc-price { font-size: 0.95rem !important; }
}

/* Keep rarity-secret pulse for detail view etc */
@keyframes pulse-red-border {
    0% { border-color: rgba(255,45,85,0.5); }
    50% { border-color: rgba(255,45,85,1); box-shadow: 0 0 20px rgba(255,45,85,0.4); }
    100% { border-color: rgba(255,45,85,0.5); }
}

/* --- FIX: ALLE UNTERSEITEN BEIM START VERSTECKEN --- */

/* ============================================
   DETAIL VIEW — KOMPLETTES REDESIGN
   ============================================ */
#detail-view {
    padding-bottom: 60px;
    animation: fadeInUp 0.4s ease-out both;
}

/* Back button */
.dv-back {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: rgba(255,255,255,0.06);
    border: 1px solid rgba(255,255,255,0.1);
    color: #fff;
    padding: 9px 20px;
    border-radius: 50px;
    cursor: pointer;
    font-weight: 600;
    font-size: 0.9rem;
    margin-bottom: 20px;
    backdrop-filter: blur(10px);
    transition: background 0.2s, transform 0.2s;
}
.dv-back:hover { background: rgba(255,255,255,0.12); transform: translateX(-3px); }

/* Hero image area */
.dv-hero {
    position: relative;
    width: 100%;
    height: 420px;
    border-radius: 24px;
    overflow: hidden;
    margin-bottom: 28px;
    display: flex;
    align-items: center;
    justify-content: center;
    background: radial-gradient(ellipse at 50% 85%, #1a1a2e 0%, #08080f 100%);
}
.dv-hero-glow {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: none;
}
.dv-hero-img {
    position: relative;
    z-index: 1;
    max-height: 380px;
    max-width: 85%;
    object-fit: contain;
    filter: drop-shadow(0 20px 50px rgba(0,0,0,0.8));
    transition: transform 0.5s cubic-bezier(0.2,0.8,0.2,1);
}
.dv-hero:hover .dv-hero-img { transform: scale(1.04) translateY(-6px); }
.dv-hero-overlay {
    position: absolute;
    bottom: 0; left: 0; right: 0;
    height: 120px;
    background: linear-gradient(to top, var(--bg-main,#0c0c14) 0%, transparent 100%);
    z-index: 2;
    pointer-events: none;
}

/* Rarity badge inside hero */
.dv-rarity-badge {
    position: absolute;
    top: 16px; left: 16px;
    z-index: 3;
}
.dv-rarity-badge span {
    display: inline-block;
    font-size: 0.62rem;
    font-weight: 900;
    letter-spacing: 1.5px;
    text-transform: uppercase;
    padding: 5px 12px;
    border-radius: 8px;
    border: 1px solid currentColor;
    background: rgba(0,0,0,0.5);
    backdrop-filter: blur(8px);
}

.dv-download-btn {
    background: rgba(0,0,0,0.6);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.15);
    color: rgba(255,255,255,0.8);
    border-radius: 10px;
    padding: 7px 12px;
    font-size: 0.72rem;
    font-weight: 700;
    cursor: pointer;
    display: flex;
    align-items: center;
    gap: 6px;
    transition: background 0.2s, color 0.2s, border-color 0.2s;
}
.dv-download-btn:hover {
    background: rgba(255,215,0,0.15);
    border-color: rgba(255,215,0,0.5);
    color: var(--gold-main);
}

/* Rarity hero backgrounds */
.dv-hero.rarity-common    { background: radial-gradient(ellipse at 50% 80%, #555 0%, #1e1e1e 55%, #0d0d0d 100%); }
.dv-hero.rarity-uncommon  { background: radial-gradient(ellipse at 50% 80%, #27ae60 0%, #0b3318 55%, #030f07 100%); }
.dv-hero.rarity-rare      { background: radial-gradient(ellipse at 50% 80%, #1a7dd4 0%, #042040 55%, #010a17 100%); }
.dv-hero.rarity-epic      { background: radial-gradient(ellipse at 50% 80%, #8e44ad 0%, #280c3e 55%, #0b0318 100%); }
.dv-hero.rarity-legendary { background: radial-gradient(ellipse at 50% 80%, #e67e22 0%, #4e2200 55%, #160800 100%); }
.dv-hero.rarity-secret    { background: radial-gradient(ellipse at 50% 80%, #e91e63 0%, #440012 55%, #130004 100%); }

/* Two-column layout on desktop */
.dv-layout {
    display: grid;
    grid-template-columns: 1fr;
    gap: 0;
}
@media (min-width: 860px) {
    .dv-hero { height: 500px; }
    .dv-layout { grid-template-columns: 1fr 380px; gap: 32px; align-items: start; }
    /* On desktop, hero goes back to narrower + info panel beside it */
    #detail-view { display: grid; grid-template-columns: 1fr 380px; gap: 28px; align-items: start; }
    .dv-back { grid-column: 1 / -1; }
    .dv-hero { margin-bottom: 0; height: 560px; }
    .dv-layout { display: contents; }
    .dv-info { grid-row: 2; grid-column: 2; }
    .dv-similar { grid-column: 1 / -1; }
}

/* Info panel */
.dv-info {
    display: flex;
    flex-direction: column;
    gap: 18px;
}

.dv-breadcrumbs {
    font-size: 0.72rem;
    color: #888;
    font-weight: 600;
    letter-spacing: 0.5px;
}
.dv-breadcrumbs span { cursor: pointer; transition: color 0.2s; }
.dv-breadcrumbs span:hover { color: #aaa; }

.dv-title {
    font-size: clamp(1.6rem, 4vw, 2.4rem);
    font-weight: 900;
    color: #fff;
    margin: 0;
    line-height: 1.1;
    letter-spacing: -0.5px;
}

.dv-price {
    font-size: clamp(1.8rem, 5vw, 2.6rem);
    font-weight: 900;
    color: var(--gold-main);
    text-shadow: 0 0 18px rgba(255,215,0,0.35);
    line-height: 1;
}

/* Seller row */
.dv-seller {
    display: flex;
    align-items: center;
    gap: 12px;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    padding: 10px 16px;
}
.dv-seller-avatar {
    width: 36px; height: 36px;
    border-radius: 50%;
    border: 2px solid var(--gold-main);
    object-fit: cover;
    flex-shrink: 0;
}
.dv-seller-label { font-size: 0.6rem; color: #999; text-transform: uppercase; letter-spacing: 1px; }
.dv-seller-name { font-weight: 700; color: #fff; font-size: 0.9rem; }
.dv-verified {
    margin-left: auto;
    font-size: 0.65rem;
    font-weight: 800;
    color: #2ecc71;
    background: rgba(46,204,113,0.1);
    border: 1px solid rgba(46,204,113,0.3);
    padding: 4px 10px;
    border-radius: 20px;
    white-space: nowrap;
}

/* Stock */
.dv-stock-box {
    background: rgba(0,0,0,0.25);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 14px;
    padding: 14px 16px;
}
.dv-stock-header { display: flex; justify-content: space-between; align-items: center; margin-bottom: 10px; gap: 8px; }
.dv-stock-label { font-size: 0.72rem; color: #999; font-weight: 700; text-transform: uppercase; letter-spacing: 0.8px; white-space: nowrap; }
.dv-stock-val { font-size: 0.82rem; font-weight: 800; color: var(--gold-main); white-space: nowrap; text-align: right; }
.dv-stock-track { height: 6px; background: rgba(255,255,255,0.08); border-radius: 10px; overflow: hidden; }
.dv-stock-fill {
    height: 100%; width: 50%;
    background: var(--gold-gradient);
    box-shadow: 0 0 10px var(--gold-main);
    border-radius: 10px;
    transition: width 1s ease;
}

/* Action buttons */
.dv-actions {
    display: flex;
    gap: 12px;
}
.dv-buy-btn {
    flex: 1;
    background: var(--gold-gradient);
    border: none;
    border-radius: 16px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    font-size: 1.05rem;
    font-weight: 900;
    color: #000;
    cursor: pointer;
    padding: 0 20px;
    height: 56px;
    box-shadow: 0 8px 24px rgba(255,215,0,0.22);
    transition: transform 0.25s cubic-bezier(0.175,0.885,0.32,1.275), box-shadow 0.25s;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}
.dv-buy-btn:hover { transform: translateY(-3px) scale(1.02); box-shadow: 0 16px 40px rgba(255,215,0,0.45); }
.dv-chat-btn {
    width: 56px; height: 56px;
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    border-radius: 16px;
    cursor: pointer;
    font-size: 1.4rem;
    display: flex; align-items: center; justify-content: center;
    transition: background 0.2s, transform 0.2s;
    color: #fff;
    flex-shrink: 0;
}
.dv-chat-btn:hover { background: rgba(255,255,255,0.14); transform: translateY(-3px); }

.dv-secure {
    font-size: 0.7rem;
    color: #555;
    text-align: center;
    letter-spacing: 0.5px;
    padding-top: 4px;
}

/* Sections (description, stats) */
.dv-section {
    background: rgba(255,255,255,0.025);
    border: 1px solid rgba(255,255,255,0.06);
    border-radius: 18px;
    padding: 20px;
}
.dv-section-title {
    font-size: 0.7rem;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 1.5px;
    color: #999;
    margin-bottom: 12px;
    padding-bottom: 10px;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}
.dv-desc {
    color: #bbb;
    line-height: 1.8;
    font-size: 0.92rem;
    word-break: break-word;
    overflow-wrap: break-word;
    white-space: pre-wrap;
    max-width: 100%;
}

.stats-grid-modern {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 12px;
}

/* Similar products row */
.dv-similar {
    margin-top: 32px;
}
.dv-similar .similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(140px, 1fr));
    gap: 12px;
}
.similar-card {
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.07);
    border-radius: 14px;
    overflow: hidden;
    cursor: pointer;
    transition: transform 0.25s, border-color 0.25s;
}
.similar-card:hover { transform: translateY(-4px); border-color: rgba(255,215,0,0.3); }
.similar-card img { width: 100%; height: 110px; object-fit: contain; background: #111; }
.similar-card-info { padding: 8px 10px; }
.similar-card-name { font-size: 0.78rem; font-weight: 700; color: #fff; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-card-price { font-size: 0.8rem; font-weight: 900; color: var(--gold-main); margin-top: 2px; }

/* Mobile overrides */
@media (max-width: 860px) {
    #detail-view { display: block; max-width: 100%; box-sizing: border-box; }
    .dv-info { max-width: 100%; }
    .dv-section { max-width: 100%; box-sizing: border-box; overflow: hidden; }
    .dv-hero { height: 300px; border-radius: 18px; }
    .dv-hero-img { max-height: 260px; }
    .dv-title { font-size: 1.55rem; }
    .dv-price { font-size: 1.8rem; }
    .dv-similar .similar-grid { grid-template-columns: repeat(3, 1fr); }
}
@media (max-width: 500px) {
    .dv-hero { height: 240px; }
    .dv-hero-img { max-height: 210px; max-width: 90%; }
    .dv-similar .similar-grid { grid-template-columns: repeat(2, 1fr); }
    .dv-buy-btn { font-size: 0.95rem; }
}

/* Keep old class names working for JS references */
.stock-fill { height: 100%; background: var(--gold-gradient); box-shadow: 0 0 10px var(--gold-main); transition: width 1s ease; }

/* --- SIMILAR PRODUCTS --- */
.similar-section {
    margin-top: 60px;
    padding-top: 30px;
    border-top: 1px solid rgba(255,255,255,0.05);
}
.similar-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 20px;
}
.similar-card {
    background: var(--card-bg);
    border-radius: 16px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s;
    border: 1px solid rgba(255,255,255,0.05);
}
.similar-card:hover {
    transform: translateY(-5px);
    border-color: rgba(255,255,255,0.2);
    box-shadow: 0 10px 30px rgba(0,0,0,0.3);
}
.similar-img { width: 100%; height: 140px; object-fit: cover; opacity: 0.8; transition: opacity 0.3s;}


.similar-info { padding: 15px; }
.similar-title { font-size: 0.9rem; font-weight: 600; color: #eee; margin: 0 0 5px; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; }
.similar-price { color: var(--gold-main); font-weight: bold; font-size: 1rem; }

/* --- FEATURES: HIGHLIGHTS, BROADCAST & WINTER --- */
.grid-card.featured-item {
    border: 2px solid var(--gold-main) !important;
    box-shadow: 0 0 20px rgba(255, 215, 0, 0.2) !important;
    transform: scale(1.03);
    animation: featuredPulse 3s infinite ease-in-out;
}

@keyframes featuredPulse {
    0% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); border-color: var(--gold-main); }
    50% { box-shadow: 0 0 35px rgba(255, 215, 0, 0.5); border-color: #fff; }
    100% { box-shadow: 0 0 15px rgba(255, 215, 0, 0.2); border-color: var(--gold-main); }
}

.featured-badge {
    position: absolute;
    top: 15px; left: 15px;
    background: var(--gold-gradient);
    color: #000; padding: 4px 12px;
    border-radius: 50px; font-size: 0.65rem; font-weight: 900;
    z-index: 10; text-transform: uppercase;
    box-shadow: 0 5px 15px rgba(0,0,0,0.5);
    border: 1px solid #000; overflow: hidden;
}

.featured-badge::after {
    content: ''; position: absolute; top: -50%; left: -60%; width: 20%; height: 200%;
    background: rgba(255, 255, 255, 0.4); transform: rotate(30deg);
    animation: badgeShine 4s infinite;
}

@keyframes badgeShine { 0% { left: -60%; } 20% { left: 120%; } 100% { left: 120%; } }

.unread-badge {
    background: #ff4d4d; color: white; font-size: 0.65rem; font-weight: 900;
    min-width: 18px; height: 18px; border-radius: 50%;
    display: flex; align-items: center; justify-content: center;
    box-shadow: 0 0 10px rgba(255, 77, 77, 0.5); border: 2px solid #1a1a1a;
    position: absolute; top: 10px; right: 10px; animation: pulseRed 2s infinite; z-index: 100;
}

@keyframes pulseRed {
    0% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0.7); }
    70% { transform: scale(1.1); box-shadow: 0 0 0 10px rgba(255, 77, 77, 0); }
    100% { transform: scale(1); box-shadow: 0 0 0 0 rgba(255, 77, 77, 0); }
}

/* --- WINTER & BROADCAST --- */
body[data-event="snow"] .grid-card {
    background: rgba(255, 255, 255, 0.07) !important;
    border: 1px solid rgba(255, 255, 255, 0.2) !important;
}

#broadcast-popup { animation: popIn 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275); }

@keyframes popIn {
    0% { opacity: 0; left: -100%; transform: translateX(-50%) scale(0.8); }
    100% { opacity: 1; left: 50%; transform: translateX(-50%) scale(1); }
}
/* --- REPARIERTES WERBE- & SHOP-LAYOUT --- */
.shop-main-layout {
    display: grid;
    grid-template-columns: 1fr 300px; /* Platz für die Sidebar rechts */
    gap: 30px;
    align-items: flex-start;
    width: 100%;
}

.shop-products-area {
    width: 100%;
}

/* ══════════════════════════════════════════════════════
   ADMIN ACTIVE — full-bleed like FN Shop
══════════════════════════════════════════════════════ */
body.admin-active .container {
    max-width: 100% !important;
    padding: 0 !important;
    margin: 0 !important;
    width: 100% !important;
}
body.admin-active #admin-view {
    padding: 0;
    margin: 0;
    /* Break out of the document flow so admin-shell 100vh is exact */
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    z-index: 500;
    overflow: hidden;
}

/* ══════════════════════════════════════════════════
   HERO – redesigned to match reference
══════════════════════════════════════════════════ */
.groove-hero {
    position: relative;
    width: 100%;
    min-height: 420px;
    border-radius: 22px;
    margin-bottom: 16px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    padding: 40px 60px 40px 56px;
    overflow: hidden;
    background: linear-gradient(135deg, #070b14 0%, #0a0f1e 50%, #0d0818 100%);
    border: 1px solid rgba(255,255,255,0.07);
    box-shadow: 0 24px 70px rgba(0,0,0,0.7);
}

/* Left cyan glow */
.groove-hero::before {
    content: '';
    position: absolute;
    top: -40%; left: -10%;
    width: 55%; height: 180%;
    background: radial-gradient(ellipse, rgba(0,200,220,0.12) 0%, transparent 65%);
    z-index: 1; pointer-events: none;
}
/* Right purple orb */
.groove-hero::after {
    content: '';
    position: absolute;
    top: 20%; right: 5%;
    width: 420px; height: 340px;
    background: radial-gradient(ellipse, rgba(80,40,200,0.14) 0%, transparent 70%);
    filter: blur(50px);
    z-index: 1;
    animation: pulseAura 7s infinite alternate ease-in-out;
    pointer-events: none;
}
@keyframes pulseAura {
    from { transform: scale(1); opacity: 0.5; }
    to   { transform: scale(1.25); opacity: 0.85; }
}

/* Star particles */
.hero-stars {
    position: absolute; inset: 0; z-index: 1; pointer-events: none;
    background-image:
        radial-gradient(1.5px 1.5px at 12% 18%, rgba(255,255,255,0.55) 0%, transparent 100%),
        radial-gradient(1px 1px at 28% 72%, rgba(255,255,255,0.35) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 47% 11%, rgba(255,255,255,0.45) 0%, transparent 100%),
        radial-gradient(1px 1px at 63% 55%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(2px 2px at 78% 24%, rgba(255,255,255,0.5) 0%, transparent 100%),
        radial-gradient(1px 1px at 88% 80%, rgba(255,255,255,0.25) 0%, transparent 100%),
        radial-gradient(1.5px 1.5px at 6% 45%, rgba(255,255,255,0.3) 0%, transparent 100%),
        radial-gradient(1px 1px at 93% 40%, rgba(255,255,255,0.4) 0%, transparent 100%),
        radial-gradient(1px 1px at 55% 88%, rgba(255,255,255,0.2) 0%, transparent 100%),
        radial-gradient(2px 2px at 35% 33%, rgba(0,220,220,0.3) 0%, transparent 100%);
}

/* ── Left content ── */
.hero-main-content {
    position: relative; z-index: 10;
    flex: 0 0 auto;
    max-width: 460px;
}

.hero-badge {
    display: inline-flex; align-items: center; gap: 6px;
    background: rgba(0,220,200,0.1);
    color: #00dcc8;
    padding: 6px 14px;
    border-radius: 50px;
    font-size: 0.68rem;
    font-weight: 900;
    letter-spacing: 2px;
    border: 1px solid rgba(0,220,200,0.35);
    margin-bottom: 18px;
    text-transform: uppercase;
}
.hero-badge svg { flex-shrink: 0; }

.groove-title {
    font-size: 3.8rem;
    font-weight: 900;
    line-height: 1.0;
    color: #fff;
    margin: 0 0 10px;
    letter-spacing: -1.5px;
    text-transform: uppercase;
}

.glow-text {
    background: linear-gradient(100deg, #00dcc8 0%, #4fc3f7 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 0 18px rgba(0,220,200,0.5));
}

.groove-subtitle {
    font-size: 0.9rem;
    color: rgba(255,255,255,0.5);
    margin: 0 0 20px;
    font-weight: 700;
    letter-spacing: 3px;
    text-transform: uppercase;
}

/* Mini trust items */
.hero-trust-row {
    display: flex; flex-wrap: wrap; gap: 10px 20px;
    margin-bottom: 28px;
}
.hero-trust-item {
    display: inline-flex; align-items: center; gap: 6px;
    font-size: 0.72rem; font-weight: 600;
    color: rgba(255,255,255,0.65);
}
.hero-trust-item svg { color: #00dcc8; flex-shrink: 0; }

/* CTA button */
.buy-now-banner {
    display: inline-flex; align-items: center; gap: 10px;
    background: linear-gradient(135deg, #00dcc8, #00a8c6);
    color: #000;
    border: none;
    padding: 14px 30px;
    font-weight: 900;
    font-size: 0.95rem;
    border-radius: 12px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0,220,200,0.35);
    transition: all 0.3s cubic-bezier(0.175,0.885,0.32,1.275);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.buy-now-banner:hover {
    transform: translateY(-3px) scale(1.04);
    box-shadow: 0 16px 40px rgba(0,220,200,0.45);
    filter: brightness(1.08);
}

/* ── Right: cards + nav ── */
.hero-visuals-wrap {
    position: relative; z-index: 10;
    flex: 0 0 auto;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 14px;
}

.hero-visuals {
    display: flex;
    gap: 14px;
    align-items: center;
    perspective: 1800px;
}

.hero-card-slot {
    width: 165px;
    height: 240px;
    background: rgba(255,255,255,0.04);
    border-radius: 20px;
    transition: all 0.55s cubic-bezier(0.165,0.84,0.44,1);
    cursor: pointer;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,0.08);
    position: relative;
    box-shadow: 0 20px 45px rgba(0,0,0,0.65);
}
.hero-card-slot::after {
    content: '';
    position: absolute; inset: 0;
    background: linear-gradient(180deg, transparent 45%, rgba(0,0,0,0.75) 100%);
    pointer-events: none;
}

.slot-left  { transform: rotateY(22deg) rotateX(4deg) translateX(18px) scale(0.88); opacity: 0.55; }
.slot-right { transform: rotateY(-22deg) rotateX(4deg) translateX(-18px) scale(0.88); opacity: 0.55; }
.slot-center {
    z-index: 10;
    transform: scale(1.1) translateY(-10px);
    border-color: rgba(0,220,200,0.55);
    box-shadow: 0 30px 60px rgba(0,220,200,0.22), 0 0 0 1px rgba(0,220,200,0.2);
}

.hero-card-slot:hover {
    transform: scale(1.14) translateY(-18px) rotateY(0) rotateX(0) !important;
    opacity: 1 !important;
    border-color: #00dcc8;
    z-index: 30;
    box-shadow: 0 35px 70px rgba(0,220,200,0.35);
}

/* Carousel nav row */
.hero-nav-row {
    display: flex; align-items: center; gap: 10px;
}
.hero-arrow {
    background: rgba(255,255,255,0.07);
    border: 1px solid rgba(255,255,255,0.12);
    color: #fff;
    width: 32px; height: 32px;
    border-radius: 50%;
    font-size: 1.2rem; line-height: 1;
    cursor: pointer;
    transition: all 0.2s;
    display: flex; align-items: center; justify-content: center;
}
.hero-arrow:hover { background: rgba(0,220,200,0.18); border-color: #00dcc8; color: #00dcc8; }
.hero-arrow-prev { position: absolute; left: -44px; top: 50%; transform: translateY(-50%); }
.hero-arrow-next { position: absolute; right: -44px; top: 50%; transform: translateY(-50%); }

.hero-dots {
    display: flex; gap: 6px; justify-content: center;
}
.hero-dot {
    width: 8px; height: 8px;
    border-radius: 50%;
    background: rgba(255,255,255,0.2);
    transition: all 0.3s;
    cursor: pointer;
}
.hero-dot.active {
    background: #00dcc8;
    width: 22px;
    border-radius: 4px;
    box-shadow: 0 0 8px rgba(0,220,200,0.5);
}


/* ── Mobile ── */
@media (max-width: 900px) {
    .groove-hero { padding: 36px 30px; }
    .groove-title { font-size: 3rem; }
    .hero-card-slot { width: 140px; height: 200px; }
}

@media (max-width: 768px) {
    .groove-hero {
        flex-direction: column;
        padding: 36px 20px 30px;
        border-radius: 0 0 24px 24px;
        min-height: auto;
        text-align: center;
    }
    .hero-main-content { max-width: 100%; }
    .hero-trust-row { justify-content: center; }
    .buy-now-banner { width: 100%; justify-content: center; }
    .groove-title { font-size: 2.6rem; letter-spacing: -1px; }
    .groove-subtitle { font-size: 0.72rem; }
    .hero-visuals-wrap { width: 100%; }
    .hero-visuals { justify-content: center; gap: 8px; perspective: none; }
    .hero-card-slot { width: 105px; height: 150px; border-radius: 14px; }
    .slot-left  { transform: rotateY(15deg) scale(0.88); }
    .slot-right { transform: rotateY(-15deg) scale(0.88); }
    .slot-center { transform: scale(1.08) translateY(-6px); }
    .hero-arrow-prev { left: 4px; }
    .hero-arrow-next { right: 4px; }
}

@media (max-width: 400px) {
    .groove-title { font-size: 2rem; }
    .hero-card-slot { width: 88px; height: 128px; }
}
/* --- AUTO-COMPLETE SEARCH SUGGESTIONS --- */
.search-suggestions-dropdown {
    position: absolute;
    top: 100%;
    left: 0;
    width: 100%;
    background: rgba(10, 10, 10, 0.98);
    backdrop-filter: blur(15px);
    border: 1px solid var(--gold-main);
    border-top: none;
    border-radius: 0 0 16px 16px;
    z-index: 1000;
    overflow: hidden;
    box-shadow: 0 10px 30px rgba(0,0,0,0.8);
}

.suggestion-item {
    display: flex;
    align-items: center;
    gap: 12px;
    padding: 12px 15px;
    cursor: pointer;
    transition: background 0.2s;
    border-bottom: 1px solid rgba(255,255,255,0.05);
}

.suggestion-item:last-child {
    border-bottom: none;
}

.suggestion-item:hover {
    background: rgba(255, 215, 0, 0.1);
}
/* --- ULTRA PREMIUM SIDE CART (REDESIGN) --- */
/* --- NEW PREMIUM CARD DESIGN --- */
.grid-card {
    background: rgba(10, 15, 15, 0.7) !important;
    backdrop-filter: blur(20px);
    border: 1px solid rgba(0, 255, 255, 0.1) !important;
    border-radius: 22px !important;
}

.img-wrapper {
    height: 220px !important; /* Bild wird deutlich größer */
    border-radius: 22px 22px 0 0;
    position: relative;
    overflow: hidden;
}

/* Das M/s Badge schwebt jetzt direkt auf dem Bild */
.ms-badge-float {
    position: absolute;
    bottom: 12px;
    right: 12px;
    background: rgba(0, 0, 0, 0.8);
    backdrop-filter: blur(8px);
    color: #00ffff;
    padding: 6px 12px;
    border-radius: 12px;
    font-size: 0.75rem;
    font-weight: 900;
    border: 1px solid rgba(0, 255, 255, 0.3);
    z-index: 10;
    box-shadow: 0 4px 15px rgba(0,0,0,0.5);
}

.grid-info {
    padding: 20px !important;
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.card-meta-row {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.rarity-tag {
    font-size: 0.6rem;
    font-weight: 800;
    padding: 3px 10px;
    border-radius: 6px;
    letter-spacing: 1px;
}

.stock-mini-tag {
    font-size: 0.65rem;
    color: #446666;
    font-weight: 600;
}

.grid-title {
    font-size: 1.15rem !important;
    color: #fff !important;
    margin: 0 !important;
    height: 2.4em; 
    line-height: 1.2;
    overflow: hidden;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    line-clamp: 2;
    -webkit-box-orient: vertical;
}

.card-footer-flex {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-top: 5px;
}

.price-stack {
    display: flex;
    flex-direction: column;
}

.price-label-mini {
    font-size: 0.55rem;
    color: #446666;
    font-weight: 900;
    letter-spacing: 1px;
}

.price-main-val {
    font-size: 1.7rem !important;
    font-weight: 900 !important;
    color: #00ffff !important;
    line-height: 1;
    text-shadow: 0 0 15px rgba(0, 255, 255, 0.4);
}

.buy-icon-btn {
    width: 44px;
    height: 44px;
    background: rgba(0, 255, 255, 0.1);
    border: 1px solid rgba(0, 255, 255, 0.2);
    border-radius: 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 1.2rem;
    transition: 0.3s cubic-bezier(0.175, 0.885, 0.32, 1.275);
}

.grid-card:hover .buy-icon-btn {
    background: #00ffff;
    color: #000;
    transform: rotate(-10deg) scale(1.1);
}

/* Mobile Optimierung: 2 Karten nebeneinander */
@media (max-width: 768px) {
    .img-wrapper { height: 160px !important; }
    .price-main-val { font-size: 1.3rem !important; }
    .grid-info { padding: 12px !important; }
}

/* Macht die Produktbilder lebendiger */
.grid-img {
    filter: brightness(0.9) contrast(1.1);
    transition: all 0.5s ease;
}

.grid-card:hover .grid-img {
    filter: brightness(1.1) contrast(1.2);
    transform: scale(1.1) rotate(1deg);
}

/* Goldener Schein für die Suchleiste */
.search-box-premium:focus-within {
    box-shadow: 0 0 25px rgba(0, 255, 255, 0.2);
    border-radius: 16px;
}
/* --- MAINTENANCE TIMER STYLES --- */
/* --- BREADCRUMBS STYLES --- */
.breadcrumbs {
    font-size: 0.85rem;
    color: #888;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
    font-weight: 500;
    text-transform: uppercase;
    letter-spacing: 0.5px;
}

.breadcrumbs span {
    cursor: pointer;
    transition: all 0.2s ease;
    border-bottom: 1px solid transparent;
}

.breadcrumbs span:hover {
    color: var(--gold-main); /* Leuchtet in deiner Theme-Farbe */
    text-shadow: 0 0 10px rgba(0, 255, 255, 0.3);
}

.breadcrumbs .sep {
    color: #555;
    cursor: default;
    font-size: 1rem;
    line-height: 0.8;
}
.breadcrumbs .sep:hover {
    color: #555;
    text-shadow: none;
}

.breadcrumbs .current {
    color: #fff;
    cursor: default;
    opacity: 0.9;
    border-bottom: none;
}
.breadcrumbs .current:hover {
    color: #fff;
    text-shadow: none;
}

/* Mobile Optimierung: Etwas kleiner auf Handys */
@media (max-width: 768px) {
    .breadcrumbs {
        font-size: 0.75rem;
        margin-bottom: 10px;
    }
}

.chip.active {
    background: var(--gold-gradient) !important;
    color: #000 !important;
    border-color: var(--gold-main) !important;
    box-shadow: 0 0 15px rgba(0, 255, 255, 0.3);
}

.chip:hover:not(.active) {
    background: rgba(255, 255, 255, 0.1) !important;
    color: #fff !important;
}

#admin-view .chip {
    text-transform: uppercase;
    font-size: 0.75rem !important;
    letter-spacing: 1px;
}

@media (max-width: 768px) {
    /* Controls Bar Compact */
    .controls-bar { padding: 10px !important; gap: 10px !important; background: transparent !important; border: none !important; box-shadow: none !important; }
    .category-chips { padding-bottom: 0; margin-bottom: 10px; }

    .search-group input { padding: 12px 12px 12px 45px !important; font-size: 0.9rem !important; background: rgba(255,255,255,0.08) !important; border-radius: 30px !important; }
    .search-icon { left: 15px !important; font-size: 1rem !important; }
    #speed-filter-group { display: none !important; }
    .filter-group { background: transparent !important; border: none !important; padding: 0 !important; }
    #sort-select { text-align: left !important; font-size: 0.8rem !important; color: #888 !important; }

    /* Grid Optimized */
    .container { padding: 0 12px !important; }
    .product-grid { gap: 12px !important; }

    /* Detail Sticky */
    .detail-layout { gap: 15px !important; padding-bottom: 60px; }
    .main-image-container { padding: 0 !important; background: transparent !important; border: none !important; border-radius: 0 !important; margin-bottom: 15px !important; }
    .main-image { border-radius: 15px !important; width: 100% !important; }

    /* Back-to-top above mobile nav */
    #back-to-top,
    #scroll-to-top-btn { bottom: 90px; right: 16px; width: 44px; height: 44px; font-size: 1.1rem; }
}

/* --- MOBILE OPTIMIZATIONS END --- */

/* ── Extra mobile polish (≤640px) ── */
@media (max-width: 640px) {
    .market-section-header { margin-bottom: 14px; }
    .market-title-row { margin-bottom: 10px; }
    .section-title { font-size: 1.1rem; letter-spacing: 1px; }
    .section-header { margin-bottom: 16px; }
    /* controls bar tighter */
    .market-filter-bar { gap: 6px; }
    .mfb-search { min-width: 0; }
}
/* --- SEARCH SUGGESTIONS FINE-TUNING --- */
.search-suggestions-dropdown {
    top: calc(100% + 5px) !important;
    border-radius: 18px !important;
    border: 1px solid rgba(0, 255, 255, 0.2) !important;
    padding: 8px;
}

.suggestion-item {
    padding: 10px !important;
    border-radius: 12px;
    margin-bottom: 4px;
    border: none !important;
    display: flex;
    align-items: center;
    gap: 15px;
}

.suggest-img-container {
    width: 40px;
    height: 40px;
    border-radius: 8px;
    overflow: hidden;
    background: #000;
}

.suggest-img-container img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.suggest-details {
    flex: 1;
    display: flex;
    flex-direction: column;
    gap: 2px;
}

/* --- LIVE STATS BAR --- */
.stats-bar {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0;
    background: rgba(255,255,255,0.03);
    border: 1px solid rgba(255,255,255,0.08);
    border-radius: 16px;
    padding: 14px 24px;
    flex-wrap: wrap;
}
.sb-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2px;
    padding: 0 28px;
}
.sb-num {
    font-size: 1.35rem;
    font-weight: 900;
    color: var(--gold-main);
    font-variant-numeric: tabular-nums;
    line-height: 1;
}
.sb-label {
    font-size: 0.65rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
    font-weight: 700;
}
.sb-divider {
    width: 1px;
    height: 36px;
    background: rgba(255,255,255,0.1);
    flex-shrink: 0;
}
@media (max-width: 480px) {
    .stats-bar { gap: 0; padding: 12px 10px; }
    .sb-item { padding: 0 14px; }
    .sb-num { font-size: 1.1rem; }
}

/* --- TRENDING BADGE ON GRID CARD --- */
.gc-trending-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 4;
    background: linear-gradient(135deg, #ff5000, #ff9000);
    color: #000;
    font-size: 0.58rem;
    font-weight: 900;
    padding: 3px 8px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    pointer-events: none;
}
/* If featured badge is also present, shift trending below it */
.grid-card .gc-featured-badge + .gc-trending-badge,
.grid-card.featured-item .gc-trending-badge {
    top: 34px;
}

/* --- ACTIVITY TOAST --- */
.activity-toast {
    position: fixed;
    bottom: 24px;
    left: 20px;
    z-index: 9999;
    background: rgba(13, 13, 22, 0.97);
    border: 1px solid rgba(255, 255, 255, 0.1);
    border-left: 3px solid var(--gold-main);
    border-radius: 14px;
    padding: 12px 16px;
    display: flex;
    align-items: center;
    gap: 12px;
    min-width: 240px;
    max-width: 320px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.5);
    opacity: 0;
    transform: translateX(-110%);
    transition: opacity 0.4s ease, transform 0.4s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    pointer-events: none;
}
.activity-toast.at-visible {
    opacity: 1;
    transform: translateX(0);
    pointer-events: auto;
}
.at-avatar {
    font-size: 1.6rem;
    width: 40px;
    height: 40px;
    background: rgba(255,255,255,0.05);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.at-body { flex: 1; min-width: 0; }
.at-name {
    font-size: 0.78rem;
    font-weight: 800;
    color: #fff;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.at-product {
    font-size: 0.7rem;
    color: rgba(255,255,255,0.5);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.at-time {
    font-size: 0.65rem;
    color: var(--gold-main);
    flex-shrink: 0;
    font-weight: 700;
}
@media (max-width: 640px) {
    .activity-toast { left: 10px; bottom: 80px; min-width: 200px; max-width: 260px; }
}

/* --- FLASH DEAL BANNER --- */
.flash-deal-card {
    background: linear-gradient(135deg, rgba(255, 80, 0, 0.12) 0%, rgba(255, 180, 0, 0.08) 100%);
    border: 1px solid rgba(255, 120, 0, 0.35);
    border-radius: 18px;
    padding: 18px 22px;
    position: relative;
    overflow: hidden;
}
.flash-deal-card::before {
    content: '';
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background: linear-gradient(90deg, transparent 60%, rgba(255,120,0,0.06));
    pointer-events: none;
}
.fd-badge {
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(135deg, #ff5000, #ffb400);
    color: #000;
    font-size: 0.65rem;
    font-weight: 900;
    padding: 3px 10px;
    border-radius: 20px;
    text-transform: uppercase;
    letter-spacing: 0.8px;
    margin-bottom: 12px;
}
.fd-content {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
}
.fd-text { flex: 1; min-width: 0; }
.fd-title {
    font-size: 1.2rem;
    font-weight: 900;
    color: #fff;
    margin-bottom: 8px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.fd-prices { display: flex; align-items: center; gap: 10px; flex-wrap: wrap; }
.fd-original {
    font-size: 0.85rem;
    color: rgba(255,255,255,0.35);
    text-decoration: line-through;
}
.fd-sale {
    font-size: 1.5rem;
    font-weight: 900;
    color: #ffb400;
}
.fd-save {
    font-size: 0.72rem;
    font-weight: 800;
    background: rgba(255,180,0,0.15);
    color: #ffb400;
    border: 1px solid rgba(255,180,0,0.3);
    padding: 3px 8px;
    border-radius: 20px;
}
.fd-right {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 8px;
    flex-shrink: 0;
}
.fd-timer-label {
    font-size: 0.6rem;
    color: rgba(255,255,255,0.4);
    text-transform: uppercase;
    letter-spacing: 1px;
}
.fd-timer {
    font-size: 1.4rem;
    font-weight: 900;
    color: #ff5000;
    font-variant-numeric: tabular-nums;
    letter-spacing: 2px;
}
.fd-btn {
    background: linear-gradient(135deg, #ff5000, #ffb400);
    border: none;
    border-radius: 10px;
    color: #000;
    font-size: 0.8rem;
    font-weight: 900;
    padding: 10px 20px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    transition: transform 0.2s, box-shadow 0.2s;
    white-space: nowrap;
}
.fd-btn:hover { transform: translateY(-2px); box-shadow: 0 6px 20px rgba(255,120,0,0.4); }
@media (max-width: 640px) {
    .fd-content { flex-direction: column; align-items: flex-start; gap: 12px; }
    .fd-right { flex-direction: row; align-items: center; width: 100%; justify-content: space-between; }
    .fd-timer-label { display: none; }
    .fd-title { font-size: 1rem; white-space: normal; }
}

/* --- RECENTLY VIEWED --- */
.rv-header {
    display: flex;
    align-items: center;
    gap: 8px;
    margin-bottom: 14px;
}
.rv-title {
    font-size: 0.82rem;
    font-weight: 800;
    color: rgba(255,255,255,0.6);
    text-transform: uppercase;
    letter-spacing: 1px;
    flex: 1;
}
.rv-clear {
    background: none;
    border: 1px solid rgba(255,255,255,0.1);
    color: rgba(255,255,255,0.35);
    font-size: 0.65rem;
    padding: 3px 10px;
    border-radius: 20px;
    cursor: pointer;
    transition: 0.2s;
}
.rv-clear:hover { color: #fff; border-color: rgba(255,255,255,0.3); }
.rv-track {
    display: flex;
    gap: 10px;
    overflow-x: auto;
    padding-bottom: 6px;
    scrollbar-width: none;
}
.rv-track::-webkit-scrollbar { display: none; }
.rv-item {
    flex-shrink: 0;
    width: 100px;
    cursor: pointer;
    border-radius: 10px;
    overflow: hidden;
    background: rgba(255,255,255,0.04);
    border: 1px solid rgba(255,255,255,0.07);
    transition: transform 0.2s, border-color 0.2s;
}
.rv-item:hover { transform: translateY(-3px); border-color: rgba(255,215,0,0.4); }
.rv-item img {
    width: 100%;
    aspect-ratio: 1;
    object-fit: cover;
    display: block;
}
.rv-item-name {
    font-size: 0.62rem;
    font-weight: 700;
    color: rgba(255,255,255,0.7);
    padding: 5px 6px 3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.rv-item-price {
    font-size: 0.7rem;
    font-weight: 900;
    color: var(--gold-main);
    padding: 0 6px 6px;
}

.suggest-name {
    color: #fff;
    font-size: 0.85rem;
    font-weight: 700;
}

.suggest-meta {
    display: flex;
    gap: 10px;
    align-items: center;
}

.suggest-price {
    color: var(--gold-main);
    font-size: 0.75rem;
    font-weight: 800;
}

.suggest-cat {
    color: #444;
    font-size: 0.6rem;
    font-weight: 900;
    letter-spacing: 1px;
}

.suggest-arrow {
    color: #333;
    font-weight: bold;
    font-size: 1rem;
    padding-right: 5px;
}

.suggestion-item:hover .suggest-arrow {
    color: var(--gold-main);
    transform: translateX(3px);
}
/* ═══════════════════════════════════════
   AD SIDEBAR — VISUAL REFRESH
   ═══════════════════════════════════════ */
.ad-sidebar-premium {
    padding-left: 22px !important;
    border-left: 1px solid rgba(255,215,0,0.08) !important;
}

/* Ad slot labels: colour-coded per slot */
#ad-slot-1 .ad-label { color: #f0c040; border-bottom-color: rgba(240,192,64,0.15); background: rgba(240,192,64,0.04); }
#ad-slot-2 .ad-label { color: #ff7043; border-bottom-color: rgba(255,112,67,0.15); background: rgba(255,112,67,0.04); }
#ad-slot-3 .ad-label { color: #a78bfa; border-bottom-color: rgba(167,139,250,0.15); background: rgba(167,139,250,0.04); }

#ad-slot-1 .ad-slot-wrapper { border-color: rgba(240,192,64,0.12); }
#ad-slot-1 .ad-slot-wrapper:hover { border-color: rgba(240,192,64,0.4); box-shadow: 0 0 22px rgba(240,192,64,0.1); }
#ad-slot-2 .ad-slot-wrapper { border-color: rgba(255,112,67,0.12); }
#ad-slot-2 .ad-slot-wrapper:hover { border-color: rgba(255,112,67,0.4); box-shadow: 0 0 22px rgba(255,112,67,0.1); }
#ad-slot-3 .ad-slot-wrapper { border-color: rgba(167,139,250,0.12); }
#ad-slot-3 .ad-slot-wrapper:hover { border-color: rgba(167,139,250,0.4); box-shadow: 0 0 22px rgba(167,139,250,0.1); }

.ad-slot-wrapper {
    border-radius: 18px !important;
    overflow: hidden;
    transition: border-color 0.28s ease, box-shadow 0.28s ease, transform 0.28s ease !important;
}
.ad-slot-wrapper:hover { transform: translateY(-2px) !important; }
.ad-label {
    font-size: 0.65rem !important;
    letter-spacing: 2.5px !important;
    padding: 9px 14px 8px !important;
}
.ad-frame img {
    transition: transform 0.35s ease;
}
.ad-slot-wrapper:hover .ad-frame img { transform: scale(1.03); }


/* --- DV HERO ACTIONS (download + share) --- */
.dv-hero-actions {
    position: absolute;
    top: 16px;
    right: 16px;
    z-index: 3;
    display: flex;
    gap: 8px;
}
.dv-hero-actions .dv-download-btn {
    position: static;
}

/* --- MOBILE NAV BADGE DOT --- */
.mn-badge {
    position: absolute;
    top: -2px;
    right: -2px;
    width: 9px;
    height: 9px;
    background: #ff4b4b;
    border-radius: 50%;
    border: 2px solid #0a0c1a;
    display: block;
}

/* ═══════════════════════════════════════
   FN FEATURED SCROLL — ARROWS
   ═══════════════════════════════════════ */