/* ==========================================================================
   Continental2 Resmi Oyuncu Pazarı — Kurumsal E-Ticaret & Escrow Arayüzü
   ========================================================================== */

@import url('https://fonts.googleapis.com/css2?family=Inter:wght@400;500;600;700;800&family=JetBrains+Mono:wght@500;600;700&display=swap');

:root {
    --bg-main: #0b0d12;
    --bg-card: #11141c;
    --bg-card-hover: #151923;
    --bg-surface: #171b26;
    --bg-input: #0d1017;
    --bg-glass: rgba(13, 16, 23, 0.94);

    --border-subtle: rgba(255, 255, 255, 0.07);
    --border-strong: rgba(255, 255, 255, 0.13);
    --border-gold: rgba(212, 162, 58, 0.35);
    --border-gold-bright: #d4a23a;

    --gold-primary: #d4a23a;
    --gold-hover: #e3b34c;
    --gold-glow: rgba(212, 162, 58, 0.16);
    --gold-gradient: linear-gradient(180deg, #dfb04a 0%, #c4912c 100%);
    --red-accent: #dc2626;
    --red-gradient: linear-gradient(180deg, #dc2626 0%, #b91c1c 100%);
    --emerald-accent: #10b981;
    --cyan-accent: #38bdf8;
    --blue-accent: #3b82f6;

    --text-main: #e5e7eb;
    --text-heading: #f8fafc;
    --text-muted: #8b95a5;
    --text-dim: #64748b;
    --text-gold: #e3b34c;

    --radius-sm: 6px;
    --radius-md: 8px;
    --radius-lg: 10px;
    --radius-full: 9999px;

    --shadow-card: 0 4px 16px rgba(0, 0, 0, 0.35);
    --transition: all 0.18s ease;
}

* {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

body {
    background-color: var(--bg-main);
    color: var(--text-main);
    font-family: 'Inter', -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif;
    font-size: 14px;
    line-height: 1.5;
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    -webkit-font-smoothing: antialiased;
}

/* ==========================================================================
   Top Utility Strip & Main Header
   ========================================================================== */

.top-announcement-bar {
    background: #08090d;
    border-bottom: 1px solid var(--border-subtle);
    padding: 7px 0;
    font-size: 12px;
    color: var(--text-muted);
}
.top-announcement-bar .inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 16px;
}
.announcement-text {
    display: flex;
    align-items: center;
    gap: 8px;
    color: #9ca3af;
}
.status-dot-live {
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: var(--emerald-accent);
    flex-shrink: 0;
}
.announcement-links {
    display: flex;
    align-items: center;
    gap: 18px;
}
.announcement-links a {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    transition: var(--transition);
}
.announcement-links a:hover {
    color: var(--text-heading);
}

.site-header {
    background: var(--bg-glass);
    backdrop-filter: blur(12px);
    -webkit-backdrop-filter: blur(12px);
    border-bottom: 1px solid var(--border-subtle);
    position: sticky;
    top: 0;
    z-index: 1000;
}
.header-inner {
    max-width: 1320px;
    margin: 0 auto;
    height: 66px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 20px;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 24px;
    height: 100%;
}

.logo-container {
    display: flex;
    align-items: center;
    gap: 10px;
    text-decoration: none;
    flex-shrink: 0;
}
.site-logo {
    height: 40px;
    width: auto;
    max-width: 190px;
    object-fit: contain;
}
.header-divider {
    width: 1px;
    height: 24px;
    background: var(--border-subtle);
}

/* Main Navigation */
.header-nav-wrap {
    display: flex;
    align-items: center;
    height: 100%;
}
.main-nav {
    display: flex;
    align-items: center;
    gap: 2px;
    list-style: none;
    height: 100%;
}
.main-nav li {
    height: 100%;
    display: flex;
    align-items: center;
}
.nav-link {
    color: var(--text-muted);
    text-decoration: none;
    font-weight: 500;
    font-size: 13.5px;
    padding: 0 13px;
    height: 100%;
    display: inline-flex;
    align-items: center;
    white-space: nowrap;
    position: relative;
    transition: var(--transition);
}
.nav-link:hover {
    color: var(--text-heading);
}
.nav-link.active {
    color: var(--text-heading);
    font-weight: 600;
}
.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 13px;
    right: 13px;
    height: 2px;
    background: var(--gold-primary);
}

/* Header Search */
.header-search-form {
    position: relative;
    flex: 1;
    max-width: 260px;
}
.header-search-form svg {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    pointer-events: none;
}
.header-search-input {
    width: 100%;
    height: 36px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 0 12px 0 34px;
    color: var(--text-heading);
    font-size: 12.5px;
    font-family: inherit;
    transition: var(--transition);
}
.header-search-input::placeholder {
    color: var(--text-dim);
}
.header-search-input:focus {
    outline: none;
    border-color: var(--border-gold);
    background: var(--bg-card);
}

/* Header Actions */
.header-actions {
    display: flex;
    align-items: center;
    gap: 10px;
    flex-shrink: 0;
}

.btn-create-listing {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    background: var(--gold-gradient);
    color: #0b0d12;
    font-weight: 600;
    font-size: 13px;
    height: 36px;
    padding: 0 14px;
    border-radius: var(--radius-sm);
    text-decoration: none;
    transition: var(--transition);
}
.btn-create-listing:hover {
    filter: brightness(1.06);
    color: #000;
}

/* User Account Chip */
.user-chip {
    display: inline-flex;
    align-items: center;
    gap: 10px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    height: 36px;
    padding: 0 10px;
    text-decoration: none;
    color: var(--text-heading);
    transition: var(--transition);
}
.user-chip:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
}
.user-avatar {
    width: 22px;
    height: 22px;
    border-radius: 4px;
    background: rgba(212, 162, 58, 0.16);
    border: 1px solid rgba(212, 162, 58, 0.35);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: 700;
    font-size: 11px;
    color: var(--gold-primary);
    text-transform: uppercase;
}
.user-chip-info {
    display: flex;
    align-items: center;
    gap: 6px;
}
.user-chip-name {
    font-size: 12.5px;
    font-weight: 600;
    color: var(--text-heading);
}
.user-chip-char {
    font-size: 11.5px;
    color: var(--text-muted);
}
.user-balance-badge {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    font-size: 12px;
    color: var(--gold-hover);
    padding-left: 8px;
    border-left: 1px solid var(--border-subtle);
}

.btn-header-logout {
    width: 36px;
    height: 36px;
    border-radius: var(--radius-sm);
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    color: var(--text-muted);
    display: flex;
    align-items: center;
    justify-content: center;
    text-decoration: none;
    transition: var(--transition);
}
.btn-header-logout:hover {
    border-color: rgba(220, 38, 38, 0.45);
    color: #f87171;
    background: rgba(220, 38, 38, 0.08);
}

/* ==========================================================================
   Buttons
   ========================================================================== */

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
    padding: 8px 16px;
    font-size: 13px;
    font-weight: 600;
    font-family: inherit;
    border-radius: var(--radius-sm);
    text-decoration: none;
    cursor: pointer;
    transition: var(--transition);
    border: 1px solid transparent;
    line-height: 1.2;
}
.btn-primary {
    background: var(--gold-gradient);
    color: #0b0d12;
    border-color: rgba(255, 255, 255, 0.08);
}
.btn-primary:hover {
    filter: brightness(1.07);
    color: #000;
}
.btn-red {
    background: rgba(220, 38, 38, 0.14);
    color: #f87171;
    border-color: rgba(220, 38, 38, 0.35);
}
.btn-red:hover {
    background: rgba(220, 38, 38, 0.24);
    color: #fecaca;
}
.btn-outline {
    background: var(--bg-card);
    color: var(--text-main);
    border-color: var(--border-strong);
}
.btn-outline:hover {
    border-color: var(--gold-primary);
    color: var(--text-heading);
    background: var(--bg-card-hover);
}
.btn-sm {
    padding: 6px 12px;
    font-size: 12px;
}
.btn-lg {
    padding: 11px 22px;
    font-size: 14px;
}

/* ==========================================================================
   Hero Banner Slider
   ========================================================================== */

.hero-slider-section {
    max-width: 1320px;
    margin: 20px auto 0 auto;
    padding: 0 20px;
}
.slider-wrapper {
    position: relative;
    border-radius: var(--radius-lg);
    overflow: hidden;
    border: 1px solid var(--border-strong);
    width: 100%;
    aspect-ratio: 1280 / 420;
    height: auto;
    background: #080a0e;
}
.slide-item {
    position: absolute;
    inset: 0;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.45s ease;
}
.slide-item.active {
    opacity: 1;
    visibility: visible;
}
.slide-banner-link {
    display: block;
    width: 100%;
    height: 100%;
}
.slide-banner-img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center;
    display: block;
}

.slider-controls {
    position: absolute;
    bottom: 14px;
    right: 16px;
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 10;
}
.slider-prev, .slider-next {
    background: rgba(11, 13, 18, 0.78);
    border: 1px solid var(--border-strong);
    color: var(--text-heading);
    width: 32px;
    height: 32px;
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: var(--transition);
}
.slider-prev:hover, .slider-next:hover {
    background: var(--gold-primary);
    border-color: var(--gold-primary);
    color: #0b0d12;
}
.slider-dots {
    display: flex;
    gap: 6px;
    margin-right: 6px;
}
.slider-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.35);
    cursor: pointer;
    transition: var(--transition);
}
.slider-dot.active {
    width: 22px;
    border-radius: 4px;
    background: var(--gold-primary);
}

/* ==========================================================================
   Market Toolbar (Replaces Bloated Emoji Boxes)
   ========================================================================== */

.market-toolbar-section {
    max-width: 1320px;
    margin: 16px auto 0 auto;
    padding: 0 20px;
}
.market-toolbar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 12px 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 20px;
    flex-wrap: wrap;
}
.toolbar-categories {
    display: flex;
    align-items: center;
    gap: 8px;
    flex-wrap: wrap;
}
.toolbar-cat-link {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    padding: 7px 14px;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-subtle);
    color: var(--text-main);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    transition: var(--transition);
}
.toolbar-cat-link:hover {
    border-color: var(--border-gold);
    color: var(--text-heading);
}
.toolbar-cat-link.primary-cat {
    background: rgba(212, 162, 58, 0.1);
    border-color: rgba(212, 162, 58, 0.3);
    color: var(--gold-hover);
}
.toolbar-metrics {
    display: flex;
    align-items: center;
    gap: 22px;
    flex-wrap: wrap;
}
.toolbar-metric {
    display: flex;
    align-items: baseline;
    gap: 7px;
    font-size: 12.5px;
}
.toolbar-metric-label {
    color: var(--text-muted);
}
.toolbar-metric-val {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
    font-weight: 600;
    color: var(--text-heading);
}
.toolbar-metric-sep {
    width: 1px;
    height: 14px;
    background: var(--border-subtle);
}

/* ==========================================================================
   Listings Grid & Clean Marketplace Cards
   ========================================================================== */

.section-wrapper {
    max-width: 1320px;
    margin: 34px auto 0 auto;
    padding: 0 20px;
}
.section-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 16px;
    padding-bottom: 12px;
    border-bottom: 1px solid var(--border-subtle);
}
.section-title {
    font-size: 17px;
    font-weight: 700;
    color: var(--text-heading);
    letter-spacing: -0.01em;
    display: flex;
    align-items: center;
    gap: 10px;
}
.section-title::before {
    content: '';
    display: inline-block;
    width: 3px;
    height: 16px;
    background: var(--gold-primary);
    border-radius: 2px;
}
.section-link {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 12.5px;
    font-weight: 500;
    display: inline-flex;
    align-items: center;
    gap: 4px;
    transition: var(--transition);
}
.section-link:hover {
    color: var(--gold-hover);
}

.listings-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 16px;
}

.item-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    overflow: hidden;
    display: flex;
    flex-direction: column;
    transition: var(--transition);
    position: relative;
}
.item-card:hover {
    border-color: var(--border-strong);
    background: var(--bg-card-hover);
    transform: translateY(-2px);
    box-shadow: var(--shadow-card);
}
@property --featured-angle {
    syntax: '<angle>';
    initial-value: 0deg;
    inherits: false;
}

@keyframes featuredBorderSpin {
    to {
        --featured-angle: 360deg;
    }
}

@keyframes featuredSheenSweep {
    0%, 22% {
        transform: translateX(-140%) skewX(-22deg);
        opacity: 0;
    }
    30% {
        opacity: 1;
    }
    55% {
        transform: translateX(180%) skewX(-22deg);
        opacity: 0;
    }
    100% {
        transform: translateX(180%) skewX(-22deg);
        opacity: 0;
    }
}

@keyframes ribbonShimmer {
    0%, 100% {
        background-position: 0% 50%;
    }
    50% {
        background-position: 100% 50%;
    }
}

@keyframes showcaseDotPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(234, 193, 90, 0.65), 0 0 8px rgba(212, 162, 58, 0.8);
    }
    50% {
        box-shadow: 0 0 0 6px rgba(234, 193, 90, 0), 0 0 14px rgba(255, 240, 179, 1);
    }
}

/* Showcase Stage Wrapper (Home Featured Section) */
.featured-showcase-stage {
    position: relative;
    background:
        radial-gradient(ellipse 65% 45% at 50% 0%, rgba(212, 162, 58, 0.13) 0%, rgba(212, 162, 58, 0.03) 55%, transparent 100%),
        linear-gradient(180deg, rgba(22, 24, 34, 0.92) 0%, rgba(13, 15, 22, 0.96) 100%);
    border: 1px solid rgba(212, 162, 58, 0.28);
    border-radius: var(--radius-lg);
    padding: 22px 22px 24px 22px;
    box-shadow:
        0 16px 42px -14px rgba(0, 0, 0, 0.8),
        0 0 32px -10px rgba(212, 162, 58, 0.16),
        inset 0 1px 0 rgba(255, 236, 175, 0.14);
}
.featured-showcase-stage::before {
    content: '';
    position: absolute;
    top: -1px;
    left: 12%;
    right: 12%;
    height: 2px;
    background: linear-gradient(90deg, transparent 0%, rgba(212, 162, 58, 0.65) 30%, #fff0b3 50%, rgba(212, 162, 58, 0.65) 70%, transparent 100%);
    pointer-events: none;
}
.featured-showcase-stage .section-header {
    border-bottom-color: rgba(212, 162, 58, 0.2);
    margin-bottom: 18px;
}
.featured-stage-badge {
    display: inline-flex;
    align-items: center;
    gap: 7px;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.5px;
    text-transform: uppercase;
    color: #ffe8a3;
    background: rgba(212, 162, 58, 0.14);
    border: 1px solid rgba(212, 162, 58, 0.36);
    padding: 3px 9px;
    border-radius: 999px;
}
.featured-live-dot {
    width: 7px;
    height: 7px;
    border-radius: 50%;
    background: #ffd970;
    animation: showcaseDotPulse 2.2s ease-in-out infinite;
}
.featured-cta-pill {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    border-radius: var(--radius-sm);
    background: rgba(212, 162, 58, 0.12);
    border: 1px solid rgba(212, 162, 58, 0.38);
    color: #ffe599;
    font-size: 12px;
    font-weight: 600;
    text-decoration: none;
    transition: var(--transition);
}
.featured-cta-pill:hover {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #0b0d12;
}

/* Animated Rotating Molten-Gold Border on Featured Cards */
.item-card.featured {
    border: 1.5px solid transparent;
    background:
        linear-gradient(165deg, #191610 0%, #131620 45%, #10131b 100%) padding-box,
        conic-gradient(
            from var(--featured-angle),
            rgba(212, 162, 58, 0.22) 0deg,
            rgba(212, 162, 58, 0.14) 105deg,
            rgba(245, 158, 11, 0.55) 155deg,
            #fff5c0 180deg,
            #e8b43b 205deg,
            rgba(212, 162, 58, 0.20) 255deg,
            rgba(212, 162, 58, 0.14) 295deg,
            rgba(245, 158, 11, 0.55) 335deg,
            #fff5c0 352deg,
            #d4a23a 360deg
        ) border-box;
    animation: featuredBorderSpin 4.4s linear infinite;
    box-shadow:
        0 10px 26px -8px rgba(0, 0, 0, 0.78),
        0 0 20px -4px rgba(212, 162, 58, 0.26),
        inset 0 1px 0 rgba(255, 240, 185, 0.08);
}
.item-card.featured::after {
    content: '';
    position: absolute;
    top: 0;
    bottom: 0;
    left: 0;
    width: 55%;
    background: linear-gradient(
        90deg,
        transparent 0%,
        rgba(255, 238, 178, 0.05) 35%,
        rgba(255, 249, 219, 0.12) 50%,
        rgba(212, 162, 58, 0.05) 65%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 2;
    animation: featuredSheenSweep 5.6s ease-in-out infinite;
}
.item-card.featured:hover {
    border-color: transparent;
    transform: translateY(-4px);
    box-shadow:
        0 16px 34px -8px rgba(0, 0, 0, 0.85),
        0 0 28px -2px rgba(212, 162, 58, 0.42),
        inset 0 1px 0 rgba(255, 244, 196, 0.16);
}
.item-card.featured .card-top {
    border-bottom-color: rgba(212, 162, 58, 0.16);
    background: linear-gradient(180deg, rgba(212, 162, 58, 0.06) 0%, transparent 100%);
}
.item-card.featured .item-slot-frame {
    border-color: rgba(212, 162, 58, 0.48);
    background: radial-gradient(circle at 50% 50%, rgba(212, 162, 58, 0.14) 0%, #090b10 78%);
    box-shadow: 0 0 14px -3px rgba(212, 162, 58, 0.32);
}
.item-card.featured .price-val {
    color: #ffe59e;
    text-shadow: 0 0 14px rgba(212, 162, 58, 0.28);
}
.item-card.featured .card-action-btn {
    background: rgba(212, 162, 58, 0.14);
    border-color: rgba(212, 162, 58, 0.45);
    color: #ffe59e;
}
.item-card.featured:hover .card-action-btn {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #0b0d12;
}

.featured-ribbon {
    position: absolute;
    top: 10px;
    right: 10px;
    display: inline-flex;
    align-items: center;
    gap: 5px;
    background: linear-gradient(110deg, #b8841e 0%, #e5b94c 40%, #fff4bf 50%, #d4a23a 60%, #9e6f14 100%);
    background-size: 220% 100%;
    animation: ribbonShimmer 3.6s ease-in-out infinite;
    border: 1px solid rgba(255, 246, 204, 0.55);
    color: #0b0d12;
    font-size: 9.5px;
    font-weight: 800;
    padding: 2.5px 8px;
    border-radius: 4px;
    text-transform: uppercase;
    letter-spacing: 0.6px;
    box-shadow: 0 2px 10px rgba(212, 162, 58, 0.38);
    z-index: 5;
}
.featured-ribbon::before {
    content: '';
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background: #0b0d12;
    opacity: 0.85;
}

/* Interactive Showcase Upgrade Option Card (Create Listing) */
.featured-opt-card {
    position: relative;
    display: block;
    background: linear-gradient(180deg, #131620 0%, #0f121a 100%);
    border: 1.5px solid var(--border-strong);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin-bottom: 20px;
    cursor: pointer;
    transition: var(--transition);
    user-select: none;
}
.featured-opt-card:hover {
    border-color: rgba(212, 162, 58, 0.55);
}
.featured-opt-card.active {
    border: 1.5px solid transparent;
    background:
        linear-gradient(165deg, #1a160f 0%, #131620 55%, #10131b 100%) padding-box,
        conic-gradient(
            from var(--featured-angle),
            rgba(212, 162, 58, 0.26) 0deg,
            rgba(212, 162, 58, 0.16) 110deg,
            #f59e0b 160deg,
            #fff5c0 180deg,
            #d4a23a 205deg,
            rgba(212, 162, 58, 0.22) 295deg,
            #fff5c0 348deg,
            #d4a23a 360deg
        ) border-box;
    animation: featuredBorderSpin 4.4s linear infinite;
    box-shadow:
        0 10px 28px -8px rgba(0, 0, 0, 0.75),
        0 0 24px -4px rgba(212, 162, 58, 0.3);
}
.featured-opt-top {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    flex-wrap: wrap;
}
.featured-opt-left {
    display: flex;
    align-items: center;
    gap: 14px;
    flex: 1;
    min-width: 240px;
}
.featured-switch-track {
    width: 46px;
    height: 26px;
    border-radius: 999px;
    background: #1e2433;
    border: 1px solid var(--border-strong);
    position: relative;
    flex-shrink: 0;
    transition: var(--transition);
}
.featured-switch-thumb {
    position: absolute;
    top: 3px;
    left: 3px;
    width: 18px;
    height: 18px;
    border-radius: 50%;
    background: #94a3b8;
    transition: transform 0.22s ease, background 0.22s ease;
}
.featured-opt-card.active .featured-switch-track {
    background: rgba(212, 162, 58, 0.26);
    border-color: #eab308;
    box-shadow: 0 0 12px rgba(212, 162, 58, 0.35);
}
.featured-opt-card.active .featured-switch-thumb {
    transform: translateX(20px);
    background: #ffe89e;
    box-shadow: 0 0 8px rgba(255, 232, 158, 0.8);
}
.featured-opt-rate-pill {
    display: inline-flex;
    flex-direction: column;
    align-items: flex-end;
    background: rgba(212, 162, 58, 0.1);
    border: 1px solid rgba(212, 162, 58, 0.35);
    border-radius: 6px;
    padding: 6px 12px;
    text-align: right;
}
.featured-opt-card.active .featured-opt-rate-pill {
    background: linear-gradient(135deg, rgba(212, 162, 58, 0.24), rgba(245, 158, 11, 0.14));
    border-color: rgba(255, 235, 163, 0.6);
}
.featured-earnings-bar {
    margin-top: 14px;
    padding-top: 12px;
    border-top: 1px solid rgba(255, 255, 255, 0.06);
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 12px;
    font-size: 12px;
}
.featured-opt-card.active .featured-earnings-bar {
    border-top-color: rgba(212, 162, 58, 0.24);
}
@media (max-width: 640px) {
    .featured-earnings-bar {
        grid-template-columns: 1fr;
        gap: 8px;
    }
}

.card-top {
    padding: 14px;
    display: flex;
    align-items: center;
    gap: 13px;
    border-bottom: 1px solid var(--border-subtle);
}
.item-slot-frame {
    width: 56px;
    height: 56px;
    background: #0a0c11;
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-sm);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.item-slot-frame img {
    max-width: 42px;
    max-height: 42px;
    object-fit: contain;
    transition: transform 0.2s ease;
}
.item-card:hover .item-slot-frame img {
    transform: scale(1.06);
}

.card-top-info {
    flex: 1;
    min-width: 0;
    padding-right: 4px;
}
.card-meta-line {
    display: flex;
    align-items: center;
    gap: 6px;
    margin-bottom: 3px;
    font-size: 11px;
}
.card-category-tag {
    font-size: 10.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--gold-primary);
}
.card-meta-dot {
    color: var(--text-dim);
}
.card-kingdom-tag {
    font-size: 11px;
    color: var(--text-muted);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}
.card-title {
    font-size: 13.5px;
    font-weight: 600;
    color: var(--text-heading);
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.35;
}

.card-body {
    padding: 12px 14px 14px 14px;
    flex: 1;
    display: flex;
    flex-direction: column;
}
.seller-row {
    display: flex;
    align-items: center;
    justify-content: space-between;
    font-size: 11.5px;
    color: var(--text-muted);
    margin-bottom: 10px;
    padding-bottom: 8px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
}
.seller-char {
    color: #cbd5e1;
    font-weight: 500;
}
.seller-delivery {
    color: var(--text-dim);
    font-size: 11px;
}

.item-bonuses-preview {
    font-size: 12px;
    color: var(--text-muted);
    margin-bottom: 12px;
    flex: 1;
    min-height: 40px;
}
.item-bonuses-preview ul {
    list-style: none;
}
.item-bonuses-preview li {
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
    line-height: 1.55;
    color: #9ca3af;
}
.item-bonuses-preview li::before {
    content: "–";
    color: var(--text-dim);
    margin-right: 6px;
}
.spec-highlight {
    color: var(--text-heading);
    font-weight: 600;
    font-size: 12.5px;
}
.spec-sub {
    color: var(--text-dim);
    font-size: 11.5px;
    margin-top: 2px;
}

.card-footer {
    display: flex;
    align-items: center;
    justify-content: space-between;
    margin-top: auto;
    padding-top: 10px;
    border-top: 1px solid var(--border-subtle);
}
.card-price {
    display: flex;
    flex-direction: column;
}
.price-label {
    font-size: 10px;
    color: var(--text-dim);
    text-transform: uppercase;
    letter-spacing: 0.4px;
}
.price-val {
    font-family: 'JetBrains Mono', monospace;
    font-variant-numeric: tabular-nums;
    font-size: 16px;
    font-weight: 700;
    color: var(--text-heading);
}
.card-action-btn {
    padding: 6px 13px;
    font-size: 12px;
    font-weight: 600;
    border-radius: var(--radius-sm);
    background: var(--bg-surface);
    border: 1px solid var(--border-strong);
    color: var(--text-heading);
    text-decoration: none;
    transition: var(--transition);
}
.item-card:hover .card-action-btn {
    background: var(--gold-gradient);
    border-color: transparent;
    color: #0b0d12;
}

/* ==========================================================================
   Escrow Process Strip (Home Bottom)
   ========================================================================== */

.escrow-process-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 28px 32px;
}
.escrow-process-header {
    display: flex;
    justify-content: space-between;
    align-items: flex-end;
    margin-bottom: 24px;
    padding-bottom: 16px;
    border-bottom: 1px solid var(--border-subtle);
    gap: 16px;
    flex-wrap: wrap;
}
.escrow-process-header h2 {
    font-size: 18px;
    font-weight: 700;
    color: var(--text-heading);
}
.escrow-process-header p {
    font-size: 13px;
    color: var(--text-muted);
    margin-top: 3px;
}
.escrow-steps-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 20px;
}
.escrow-step {
    padding: 16px;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
}
.escrow-step-num {
    font-family: 'JetBrains Mono', monospace;
    font-size: 11px;
    font-weight: 700;
    color: var(--gold-primary);
    letter-spacing: 0.6px;
    margin-bottom: 8px;
    display: block;
}
.escrow-step h4 {
    font-size: 14px;
    font-weight: 600;
    color: var(--text-heading);
    margin-bottom: 5px;
}
.escrow-step p {
    font-size: 12.5px;
    color: var(--text-muted);
    line-height: 1.5;
}

/* ==========================================================================
   Catalog & Filter Bar
   ========================================================================== */

.filter-bar {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-bottom: 22px;
    display: flex;
    flex-wrap: wrap;
    gap: 12px;
    align-items: center;
    justify-content: space-between;
}
.search-form {
    display: flex;
    gap: 10px;
    flex: 1;
    min-width: 280px;
    flex-wrap: wrap;
}
.search-input-wrap {
    position: relative;
    flex: 1;
    min-width: 220px;
}
.search-input {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 9px 12px 9px 36px;
    color: var(--text-heading);
    font-size: 13.5px;
    font-family: inherit;
    transition: var(--transition);
}
.search-input:focus {
    border-color: var(--border-gold);
    outline: none;
}
.search-icon {
    position: absolute;
    left: 11px;
    top: 50%;
    transform: translateY(-50%);
    color: var(--text-dim);
    display: flex;
    align-items: center;
}
.filter-select {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 9px 14px;
    color: var(--text-heading);
    font-size: 13px;
    font-family: inherit;
    cursor: pointer;
}
.filter-select:focus {
    border-color: var(--border-gold);
    outline: none;
}

.category-pills {
    display: flex;
    gap: 8px;
    flex-wrap: wrap;
    margin-bottom: 16px;
}
.pill {
    padding: 7px 15px;
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    font-weight: 500;
    font-family: inherit;
    cursor: pointer;
    transition: var(--transition);
}
.pill:hover {
    border-color: var(--border-strong);
    color: var(--text-heading);
}
.pill.active {
    background: var(--gold-gradient);
    color: #0b0d12;
    border-color: transparent;
    font-weight: 600;
}

/* ==========================================================================
   Listing Detail Page
   ========================================================================== */

.detail-layout {
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 24px;
    margin-top: 18px;
}
.detail-main-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 26px;
}
.detail-header {
    display: flex;
    gap: 20px;
    border-bottom: 1px solid var(--border-subtle);
    padding-bottom: 20px;
    margin-bottom: 22px;
    align-items: center;
}
.detail-icon-frame {
    width: 88px;
    height: 88px;
    background: var(--bg-input);
    border: 1px solid var(--border-strong);
    border-radius: var(--radius-md);
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0;
}
.detail-icon-frame img {
    max-width: 68px;
    max-height: 68px;
    object-fit: contain;
}
.detail-title-wrap h1 {
    font-size: 21px;
    font-weight: 700;
    color: var(--text-heading);
    margin: 4px 0 8px 0;
}
.detail-meta-row {
    display: flex;
    flex-wrap: wrap;
    gap: 16px;
    font-size: 12.5px;
    color: var(--text-muted);
}
.detail-meta-item strong {
    color: var(--text-heading);
    font-weight: 600;
}

.bonuses-box {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px 20px;
    margin: 18px 0;
}
.bonuses-box h3 {
    font-size: 13.5px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.4px;
    color: var(--gold-primary);
    margin-bottom: 12px;
}
.bonus-list-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 8px 16px;
    list-style: none;
}
.bonus-list-grid li {
    font-size: 13px;
    color: var(--text-main);
    display: flex;
    align-items: center;
    gap: 8px;
}
.bonus-list-grid li::before {
    content: "";
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: var(--gold-primary);
    flex-shrink: 0;
}

.detail-sidebar-card {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-lg);
    padding: 22px;
    height: fit-content;
    position: sticky;
    top: 86px;
}
.sidebar-price-box {
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-md);
    padding: 18px;
    margin-bottom: 16px;
}
.sidebar-price-box .price-val {
    font-size: 28px;
    color: var(--gold-hover);
    margin-top: 2px;
}

.escrow-guarantee-badge {
    background: rgba(16, 185, 129, 0.06);
    border: 1px solid rgba(16, 185, 129, 0.22);
    border-radius: var(--radius-md);
    padding: 14px 16px;
    margin-top: 18px;
}
.escrow-guarantee-badge h4 {
    color: var(--emerald-accent);
    font-size: 13px;
    font-weight: 600;
    margin-bottom: 5px;
}
.escrow-guarantee-badge p {
    font-size: 12px;
    color: var(--text-muted);
    line-height: 1.55;
}

/* ==========================================================================
   Forms, Alerts & Tables
   ========================================================================== */

.form-group {
    margin-bottom: 16px;
}
.form-label {
    display: block;
    font-size: 12.5px;
    font-weight: 600;
    color: #cbd5e1;
    margin-bottom: 6px;
}
.form-input, .form-textarea, .form-select {
    width: 100%;
    background: var(--bg-input);
    border: 1px solid var(--border-subtle);
    border-radius: var(--radius-sm);
    padding: 9px 13px;
    color: var(--text-heading);
    font-size: 13.5px;
    font-family: inherit;
    transition: var(--transition);
}
.form-input:focus, .form-textarea:focus, .form-select:focus {
    border-color: var(--border-gold);
    outline: none;
    background: var(--bg-card);
}
.form-hint {
    display: block;
    font-size: 11.5px;
    color: var(--text-dim);
    margin-top: 5px;
}

.alert {
    padding: 12px 16px;
    border-radius: var(--radius-sm);
    font-size: 13px;
    font-weight: 500;
    margin-bottom: 18px;
    display: flex;
    align-items: center;
    gap: 10px;
}
.alert-success {
    background: rgba(16, 185, 129, 0.1);
    border: 1px solid rgba(16, 185, 129, 0.3);
    color: #34d399;
}
.alert-error {
    background: rgba(220, 38, 38, 0.1);
    border: 1px solid rgba(220, 38, 38, 0.3);
    color: #f87171;
}

.custom-table-wrap {
    width: 100%;
    overflow-x: auto;
    border-radius: var(--radius-md);
    border: 1px solid var(--border-subtle);
}
.custom-table {
    width: 100%;
    border-collapse: collapse;
    text-align: left;
    font-size: 13px;
}
.custom-table th {
    background: var(--bg-input);
    padding: 11px 15px;
    font-weight: 600;
    color: var(--text-muted);
    text-transform: uppercase;
    font-size: 11px;
    letter-spacing: 0.4px;
    border-bottom: 1px solid var(--border-subtle);
}
.custom-table td {
    padding: 13px 15px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.04);
    background: var(--bg-card);
}
.custom-table tr:last-child td {
    border-bottom: none;
}
.custom-table tr:hover td {
    background: var(--bg-card-hover);
}

.status-badge {
    display: inline-block;
    padding: 3px 9px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 600;
    letter-spacing: 0.2px;
}
.status-active, .status-completed, .status-approved {
    background: rgba(16, 185, 129, 0.12);
    color: #34d399;
    border: 1px solid rgba(16, 185, 129, 0.28);
}
.status-pending, .status-escrow_pending_delivery {
    background: rgba(212, 162, 58, 0.12);
    color: var(--gold-hover);
    border: 1px solid rgba(212, 162, 58, 0.28);
}
.status-seller_delivered {
    background: rgba(59, 130, 246, 0.12);
    color: #60a5fa;
    border: 1px solid rgba(59, 130, 246, 0.28);
}
.status-rejected, .status-cancelled_refunded {
    background: rgba(220, 38, 38, 0.12);
    color: #f87171;
    border: 1px solid rgba(220, 38, 38, 0.28);
}

/* ==========================================================================
   Footer
   ========================================================================== */

.site-footer {
    margin-top: 64px;
    background: #08090d;
    border-top: 1px solid var(--border-subtle);
    padding: 44px 0 22px 0;
    font-size: 13px;
    color: var(--text-muted);
}
.footer-inner {
    max-width: 1320px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1.8fr 1fr 1fr 1fr;
    gap: 36px;
}
.footer-brand-desc {
    font-size: 12.5px;
    line-height: 1.65;
    color: var(--text-muted);
    margin: 12px 0 16px 0;
    max-width: 360px;
}
.footer-trust-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}
.footer-trust-tag {
    background: var(--bg-card);
    border: 1px solid var(--border-subtle);
    padding: 4px 10px;
    border-radius: 4px;
    font-size: 11px;
    font-weight: 500;
    color: #9ca3af;
}
.footer-col h4 {
    color: var(--text-heading);
    font-size: 13px;
    font-weight: 600;
    text-transform: uppercase;
    letter-spacing: 0.5px;
    margin-bottom: 14px;
}
.footer-col ul {
    list-style: none;
}
.footer-col li {
    margin-bottom: 9px;
}
.footer-col a {
    color: var(--text-muted);
    text-decoration: none;
    font-size: 13px;
    transition: var(--transition);
}
.footer-col a:hover {
    color: var(--text-heading);
}
.footer-bottom {
    max-width: 1320px;
    margin: 32px auto 0 auto;
    padding: 18px 20px 0 20px;
    border-top: 1px solid var(--border-subtle);
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 12px;
    color: var(--text-dim);
}

/* ==========================================================================
   Responsive
   ========================================================================== */

@media (max-width: 1100px) {
    .listings-grid {
        grid-template-columns: repeat(3, 1fr);
    }
    .header-search-form {
        display: none;
    }
    .escrow-steps-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .detail-layout {
        grid-template-columns: 1fr;
    }
    .footer-inner {
        grid-template-columns: 1fr 1fr;
    }
}

@media (max-width: 768px) {
    .listings-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    .main-nav, .header-divider, .announcement-links {
        display: none;
    }
    .slider-wrapper {
        aspect-ratio: 1280 / 420;
        height: auto;
    }
}

@media (max-width: 520px) {
    .listings-grid, .escrow-steps-grid, .footer-inner {
        grid-template-columns: 1fr;
    }
}
