/*
Theme Name: BalatAntika
Theme URI: https://balatantika.com
Author: BalatAntika Team
Version: 3.8.0
Description: Türkiye'nin Premium Antika Pazaryeri - SEO & Security Optimized
*/

/* ==================== VARIABLES (header'da da var ama burada da gerekli) ==================== */
:root{
--gold:#B89E68;--gold-light:#d4c4a0;--gold-dark:#8b7355;
--dark:#0c0a09;--dark-900:#0c0a09;--dark-800:#1c1917;--dark-700:#292524;--dark-600:#44403c;
--light:#fafaf9;--light-100:#fafaf9;--light-200:#f5f5f4;--light-300:#e7e5e4;--light-400:#d6d3d1;--light-50:#fefefe;
--text:#1c1917;--text-muted:#78716c;--text-light:#a8a29e;
--success:#22c55e;--error:#ef4444;--warning:#f59e0b;--info:#3b82f6;
--radius-sm:.375rem;--radius:.5rem;--radius-lg:.75rem;--radius-xl:1rem;
--shadow-sm:0 1px 2px rgba(0,0,0,.05);--shadow:0 1px 3px rgba(0,0,0,.1);--shadow-lg:0 10px 30px rgba(0,0,0,.1);--shadow-xl:0 20px 40px rgba(0,0,0,.15);
}

/* ==================== TYPOGRAPHY ==================== */
h1,h2,h3,h4,h5,h6{font-family:Inter,-apple-system,BlinkMacSystemFont,sans-serif;font-weight:600;line-height:1.3}
h1{font-size:2.25rem}h2{font-size:1.75rem}h3{font-size:1.25rem}h4{font-size:1.125rem}
.section-title{font-size:1.5rem;margin-bottom:1.5rem}

/* ==================== UTILITIES ==================== */
.container{max-width:1280px;margin:0 auto;padding:0 1rem}
.narrow{max-width:800px}
.text-center{text-align:center}
.text-muted{color:var(--text-muted)}
.bg-white{background:#fff}
.bg-light{background:var(--light-200)}
.bg-dark{background:var(--dark-800);color:#fff}

/* ==================== BUTTONS ==================== */
.btn{display:inline-flex;align-items:center;justify-content:center;gap:.5rem;padding:.75rem 1.5rem;font-weight:600;font-size:.875rem;border-radius:var(--radius);border:none;transition:all .2s;cursor:pointer}
.btn-sm{padding:.5rem 1rem;font-size:.8rem}
.btn-lg{padding:1rem 2rem;font-size:1rem}
.btn-full{width:100%}
.btn-primary{background:var(--gold);color:var(--dark)}
.btn-primary:hover{background:var(--gold-dark);transform:translateY(-1px)}
.btn-dark{background:var(--dark);color:#fff}
.btn-dark:hover{background:var(--dark-700)}
.btn-outline{background:transparent;border:1px solid var(--light-400);color:var(--text)}
.btn-outline:hover{border-color:var(--gold);color:var(--gold)}
.btn-ghost{background:transparent;color:var(--text-muted)}
.btn-ghost:hover{color:var(--gold)}
.btn-success{background:var(--success);color:#fff}

/* ==================== TICKER BAR ==================== */
.ticker-bar{background:var(--dark-900);padding:.5rem 0;overflow:hidden;white-space:nowrap}
.ticker-track{display:flex;animation:ticker 90s linear infinite}
.ticker-track:hover{animation-play-state:paused}
.ticker-item{display:inline-flex;align-items:center;gap:.75rem;padding:0 2rem;color:var(--text-light);font-size:.8rem;border-right:1px solid var(--dark-600);text-decoration:none}
.ticker-item:hover{color:#fff}
.ticker-name{color:#e7e5e4;font-weight:500}
.ticker-price{color:var(--gold);font-weight:700;font-family:'JetBrains Mono',monospace}
.ticker-change{font-weight:700;font-size:.75rem}
.ticker-change.up{color:var(--success)}
.ticker-change.down{color:var(--error)}
@keyframes ticker{0%{transform:translateX(0)}100%{transform:translateX(-33.33%)}}

/* ==================== HEADER ==================== */
.site-header{background:var(--dark-800);position:sticky;top:0;z-index:100}
.header-inner{display:flex;align-items:center;gap:1.5rem;padding:1rem 0}
.logo{font-family:'Playfair Display',serif;font-size:1.75rem;font-weight:700;color:#fef3c7;white-space:nowrap}
.logo span{color:var(--gold)}
.logo:hover{opacity:.9}

/* Search */
.header-search{flex:1;max-width:480px;position:relative}
.header-search input{width:100%;padding:.75rem 1rem .75rem 2.75rem;border:1px solid var(--dark-600);border-radius:2rem;background:var(--dark-700);color:#fff;font-size:.875rem;transition:all .2s}
.header-search input::placeholder{color:var(--text-light)}
.header-search input:focus{outline:none;border-color:var(--gold);box-shadow:0 0 0 3px rgba(184,158,104,.2)}
.search-icon{position:absolute;left:1rem;top:50%;transform:translateY(-50%);font-size:1rem;pointer-events:none}
.search-results{position:absolute;top:calc(100% + .5rem);left:0;right:0;background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow-xl);display:none;max-height:400px;overflow-y:auto;z-index:200}
.search-results.active{display:block}
.search-result-item{display:flex;align-items:center;gap:.75rem;padding:.75rem 1rem;color:var(--text);border-bottom:1px solid var(--light-300);transition:background .2s}
.search-result-item:hover{background:var(--light-200)}
.search-result-item img{width:48px;height:48px;border-radius:var(--radius);object-fit:cover}

/* Header Actions */
.header-actions{display:flex;align-items:center;gap:.75rem}
.header-btn{position:relative;padding:.625rem;font-size:1.25rem;color:#fff;border-radius:var(--radius);transition:background .2s}
.header-btn:hover{background:var(--dark-600)}
.header-btn .badge{position:absolute;top:0;right:0;min-width:18px;height:18px;background:var(--error);color:#fff;font-size:.65rem;font-weight:700;padding:0 .35rem;border-radius:1rem;display:flex;align-items:center;justify-content:center}
.header-btn-text{display:flex;align-items:center;gap:.375rem;font-size:.875rem}
.header-btn-text-link{color:var(--text-light);font-size:.875rem;padding:.5rem}
.header-btn-text-link:hover{color:#fff}

.header-user{display:flex;align-items:center;gap:.625rem;padding:.5rem .875rem;background:var(--dark-700);border-radius:2rem;border:1px solid var(--dark-600);transition:border-color .2s}
.header-user:hover{border-color:var(--gold)}
.header-user-icon{font-size:1.5rem}
.header-user-info{display:flex;flex-direction:column;line-height:1.2}
.header-user-xp{color:var(--gold);font-size:.8rem;font-weight:700}
.header-user-level{color:var(--text-light);font-size:.7rem}
.mobile-menu-btn{display:none;color:#fff;font-size:1.5rem;padding:.5rem}

/* Navigation */
.main-nav{background:var(--dark-700);border-top:1px solid var(--dark-600)}
.nav-list{display:flex;align-items:center;gap:0;overflow-x:auto;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.nav-list::-webkit-scrollbar{display:none}
.nav-list li a{display:block;padding:.875rem 1.25rem;color:var(--text-light);font-size:.8rem;font-weight:600;text-transform:uppercase;letter-spacing:.03em;white-space:nowrap;transition:all .2s;border-bottom:2px solid transparent}
.nav-list li a:hover,.nav-list li a.active{color:#fff;border-bottom-color:var(--gold)}

/* Nav Live Button */
.nav-live-btn{display:inline-flex;align-items:center;gap:.5rem;background:var(--error)!important;color:#fff!important;padding:.5rem 1rem!important;border-radius:var(--radius)!important;border:none!important;margin:.25rem 0;font-weight:700!important}
.nav-live-btn:hover{background:#dc2626!important;transform:scale(1.02)}
.live-count-badge{background:rgba(255,255,255,.2);padding:.125rem .5rem;border-radius:1rem;font-size:.7rem}
.live-dot-pulse{width:8px;height:8px;background:#fff;border-radius:50%;animation:live-pulse 1.5s ease-in-out infinite}
@keyframes live-pulse{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.4;transform:scale(.75)}}

/* Nav Badge Links */
.nav-badge-link{display:inline-flex!important;align-items:center;gap:.375rem}
.nav-badge-new{background:var(--error);color:#fff;padding:.125rem .375rem;border-radius:.25rem;font-size:.6rem;font-weight:700;text-transform:uppercase}
.nav-badge-xp{background:var(--success);color:#fff;padding:.125rem .375rem;border-radius:.25rem;font-size:.6rem;font-weight:700}

/* ==================== STORIES BAR ==================== */
.stories-bar{background:#f5f3ef;border-bottom:1px solid var(--light-300);padding:1.25rem 0}
.stories-list{display:flex;gap:1.25rem;overflow-x:auto;padding:0 .5rem;-webkit-overflow-scrolling:touch;scrollbar-width:none}
.stories-list::-webkit-scrollbar{display:none}
.story-item{flex-shrink:0;display:flex;flex-direction:column;align-items:center;gap:.5rem;cursor:pointer;position:relative}

/* Story Avatar - Gold Border (like screenshot) */
.story-avatar{width:72px;height:72px;border-radius:50%;background:#c4a96a;padding:4px;position:relative}
.story-avatar img{width:100%;height:100%;border-radius:50%;object-fit:cover;border:3px solid #f5f3ef}
.story-avatar.has-multiple::after{content:'+';position:absolute;bottom:2px;right:2px;width:18px;height:18px;background:#c4a96a;color:#fff;font-size:.65rem;font-weight:700;border:2px solid #f5f3ef;border-radius:50%;display:flex;align-items:center;justify-content:center}

/* Story Add Button */
.story-add .story-avatar{background:var(--light-400)}
.story-add-icon{position:absolute;bottom:2px;right:2px;width:18px;height:18px;background:#c4a96a;color:#fff;border-radius:50%;display:flex;align-items:center;justify-content:center;font-size:.7rem;font-weight:700;border:2px solid #f5f3ef}

/* Story Name */
.story-name{font-size:.7rem;color:var(--text-muted);max-width:72px;white-space:nowrap;overflow:hidden;text-overflow:ellipsis;text-align:center}

/* Story LIVE - Green Border */
.story-item.story-live .story-avatar{background:#4ade80}
.story-live-badge{position:absolute;bottom:1rem;left:50%;transform:translateX(-50%);background:#4ade80;color:#fff;padding:.15rem .5rem;border-radius:.25rem;font-size:.55rem;font-weight:700;letter-spacing:.03em;text-transform:uppercase}

/* ==================== SECTIONS ==================== */
.section{padding:4rem 0}
.section-header{display:flex;align-items:center;justify-content:space-between;margin-bottom:2rem}
.section-header h2{margin:0}
.section-header.light h2{color:#fef3c7}
.section-link{color:var(--gold);font-weight:600;font-size:.875rem;transition:opacity .2s}
.section-link:hover{opacity:.8}

/* ==================== HERO ==================== */
.hero{background:linear-gradient(135deg,var(--dark-800),var(--dark-900));padding:2rem 0 3rem}
.hero-grid{display:grid;grid-template-columns:1fr 380px;gap:1.5rem}

/* Hero Main */
.hero-main{min-height:480px}
.hero-auction{position:relative;height:100%;border-radius:var(--radius-xl);overflow:hidden;background:var(--dark-700);background-size:cover;background-position:center;display:flex;flex-direction:column;justify-content:flex-end}
.hero-overlay{position:absolute;inset:0;background:linear-gradient(transparent 20%,rgba(0,0,0,.85) 80%)}
.hero-badges{position:absolute;top:1.25rem;left:1.25rem;display:flex;gap:.75rem;z-index:2}
.badge-live{display:flex;align-items:center;gap:.5rem;background:var(--error);color:#fff;padding:.625rem 1rem;border-radius:var(--radius);font-size:.8rem;font-weight:700;box-shadow:0 4px 12px rgba(239,68,68,.4)}
.live-dot{width:8px;height:8px;background:#fff;border-radius:50%;animation:pulse-dot 1.5s infinite}
@keyframes pulse-dot{0%,100%{opacity:1;transform:scale(1)}50%{opacity:.5;transform:scale(.8)}}
.badge-viewers{background:rgba(0,0,0,.7);backdrop-filter:blur(8px);color:#fff;padding:.625rem 1rem;border-radius:var(--radius);font-size:.8rem}
.badge-mini-live{position:absolute;top:.5rem;left:.5rem;background:var(--error);color:#fff;padding:.25rem .5rem;border-radius:.25rem;font-size:.6rem;font-weight:700}

.hero-content{position:relative;z-index:2;padding:2rem}
.hero-dealer{color:var(--gold);font-size:.9rem;margin-bottom:.5rem}
.hero-title{color:#fff;font-size:2rem;margin-bottom:1.5rem}
.hero-stats{display:flex;align-items:flex-end;gap:2.5rem;flex-wrap:wrap}
.hero-stat{display:flex;flex-direction:column}
.hero-stat-label{font-size:.75rem;color:var(--text-light);margin-bottom:.25rem}
.hero-stat-value{font-size:1.5rem;font-weight:600;color:#fff}
.hero-stat-price{font-size:2.25rem;color:var(--gold);font-weight:700}
.hero-timer{font-family:'JetBrains Mono',monospace}
.hero-empty{display:flex;flex-direction:column;align-items:center;justify-content:center;color:var(--text-light);gap:1.5rem;height:100%}

/* Hero Sidebar */
.hero-sidebar{display:flex;flex-direction:column;gap:1rem}
.hero-side-card{display:flex;gap:1rem;background:var(--dark-700);border-radius:var(--radius-lg);padding:1rem;transition:all .2s;border:1px solid transparent}
.hero-side-card:hover{border-color:var(--gold);transform:translateX(4px)}
.hero-side-thumb{width:80px;height:80px;border-radius:var(--radius);overflow:hidden;flex-shrink:0;position:relative;background:var(--dark-600)}
.hero-side-thumb img{width:100%;height:100%;object-fit:cover}
.hero-side-info{flex:1;min-width:0}
.hero-side-cat{font-size:.75rem;color:var(--gold);margin-bottom:.25rem}
.hero-side-title{font-size:.9rem;color:#fff;font-weight:500;margin-bottom:.5rem;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}
.hero-side-price{font-size:1.125rem;color:var(--gold);font-weight:700;margin-bottom:.25rem}
.hero-side-viewers{font-size:.75rem;color:var(--text-light)}
.hero-side-link{display:block;text-align:center;padding:1rem;background:var(--dark-700);border-radius:var(--radius-lg);color:var(--gold);font-weight:600;font-size:.9rem;transition:background .2s}
.hero-side-link:hover{background:var(--dark-600)}

/* ==================== CURATED COLLECTIONS ==================== */
.curated-grid{display:grid;grid-template-columns:repeat(6,1fr);gap:1.25rem}
.curated-card{display:block;text-align:center;transition:transform .2s}
.curated-card:hover{transform:translateY(-4px)}
.curated-image{aspect-ratio:1;border-radius:var(--radius-lg);overflow:hidden;margin-bottom:.75rem;background:var(--light-300)}
.curated-image img{width:100%;height:100%;object-fit:cover;transition:transform .3s}
.curated-card:hover .curated-image img{transform:scale(1.05)}
.curated-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--light-300),var(--light-400))}
.curated-name{font-size:.875rem;color:var(--text);font-weight:500;transition:color .2s}
.curated-card:hover .curated-name{color:var(--gold)}

/* ==================== FEATURED AUCTIONS (Invaluable Style) ==================== */
.featured-auctions-list{display:flex;flex-direction:column}
.featured-auction-item{display:flex;gap:1.5rem;padding:1.5rem 0;border-top:1px solid var(--light-300);align-items:flex-start}
.featured-auction-item:first-child{border-top:none;padding-top:0}

/* Hero Image - Square 200x200 */
.featured-auction-hero{width:192px;height:192px;border-radius:var(--radius-lg);overflow:hidden;flex-shrink:0;position:relative;background:var(--light-200)}
.featured-auction-hero img{width:100%;height:100%;object-fit:cover}
.featured-hero-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--light-300),var(--light-400))}
.featured-badge{position:absolute;top:.5rem;left:.5rem;background:#7c3aed;color:#fff;padding:.25rem .5rem;border-radius:.25rem;font-size:.625rem;font-weight:700;text-transform:uppercase;letter-spacing:.02em}

/* Content - Middle */
.featured-auction-content{flex:1;min-width:0}
.featured-auction-title{font-size:1.125rem;font-weight:600;color:var(--text);margin-bottom:.375rem;font-family:'Inter',sans-serif}
.featured-auction-dealer{font-size:.875rem;color:var(--text-muted);margin-bottom:.375rem}
.featured-auction-rating{display:flex;align-items:center;gap:.375rem;margin-bottom:.5rem}
.featured-auction-rating .stars{color:var(--gold);font-size:.875rem}
.featured-auction-rating .rating-text{font-size:.875rem;color:var(--text-muted)}
.featured-auction-meta{font-size:.875rem;color:var(--text);margin-bottom:1rem}

/* Thumbnails Row - 5 items */
.featured-auction-thumbs{display:flex;gap:.5rem}
.thumb-item{width:64px;height:64px;border-radius:var(--radius);overflow:hidden;position:relative;background:var(--light-200);flex-shrink:0}
.thumb-item img{width:100%;height:100%;object-fit:cover}
.thumb-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--light-300),var(--light-400))}
.thumb-badge{position:absolute;top:0;left:0;background:var(--gold);color:var(--dark);padding:.125rem .25rem;font-size:.5rem;font-weight:700;line-height:1}
.thumb-overlay{position:absolute;inset:0;background:rgba(0,0,0,.6);display:flex;align-items:center;justify-content:center;color:#fff;font-size:.75rem;font-weight:700}

/* Actions - Right Side */
.featured-auction-actions{width:180px;flex-shrink:0;display:flex;flex-direction:column;gap:.75rem;padding-top:.25rem}
.auction-type-label{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-muted)}
.featured-register-link{text-align:center;color:var(--gold);font-size:.875rem;font-weight:600;transition:color .2s}
.featured-register-link:hover{color:var(--gold-dark)}

/* ==================== CATEGORIES ==================== */
.categories-grid-8{display:grid;grid-template-columns:repeat(8,1fr);gap:1rem}
.category-card-v2{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1.5rem 1rem;background:#fff;border-radius:var(--radius-xl);border:1px solid var(--light-300);transition:all .2s;text-align:center}
.category-card-v2:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg);border-color:var(--gold)}
.category-icon-v2{font-size:2.5rem}
.category-name-v2{font-size:.9rem;font-weight:600;color:var(--text)}
.category-count-v2{font-size:.75rem;color:var(--text-muted)}

/* ==================== PRICE INDEXES (Bloomberg Style) ==================== */
.index-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.25rem}
.index-card-v2{background:var(--dark-700);border-radius:var(--radius-lg);padding:1.5rem;border:1px solid var(--dark-600);transition:border-color .2s}
.index-card-v2:hover{border-color:var(--gold)}
.index-name-v2{color:#fef3c7;font-size:1rem;font-weight:600;margin-bottom:1rem;font-family:'Inter',sans-serif}
.index-label{font-size:.7rem;color:var(--text-light);text-transform:uppercase;letter-spacing:.05em;margin-bottom:.25rem}
.index-range-v2{font-size:1.125rem;font-family:'JetBrains Mono',monospace;color:var(--gold);margin-bottom:1rem}
.index-chart{height:48px;margin-bottom:1rem}
.index-chart svg{width:100%;height:100%}
.index-trend{display:flex;align-items:center;gap:.5rem}
.index-trend.up .trend-arrow,.index-trend.up .trend-value{color:var(--success)}
.index-trend.down .trend-arrow,.index-trend.down .trend-value{color:var(--error)}
.trend-arrow{font-size:1rem}
.trend-value{font-size:1rem;font-weight:700}
.trend-label{font-size:.75rem;color:var(--text-light)}

/* ==================== DEALERS ==================== */
.dealers-grid-5{display:grid;grid-template-columns:repeat(5,1fr);gap:1.5rem}
.dealer-card-v2{display:flex;flex-direction:column;align-items:center;text-align:center;padding:1.5rem;transition:transform .2s}
.dealer-card-v2:hover{transform:translateY(-4px)}
.dealer-avatar-v2{width:96px;height:96px;border-radius:50%;overflow:hidden;margin-bottom:1rem;border:4px solid var(--gold);position:relative;background:var(--light-200)}
.dealer-avatar-v2 img{width:100%;height:100%;object-fit:cover}
.dealer-avatar-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--light-300),var(--light-400))}
.dealer-live-badge{position:absolute;top:-4px;right:-4px;background:var(--error);color:#fff;padding:.25rem .5rem;border-radius:1rem;font-size:.6rem;font-weight:700}
.dealer-name-v2{font-size:1rem;font-weight:600;color:var(--text);margin-bottom:.25rem}
.dealer-specialty{font-size:.8rem;color:var(--text-muted);margin-bottom:.5rem}
.dealer-meta-v2{font-size:.875rem}
.dealer-rating-v2{color:var(--gold);font-weight:600}
.dealer-sep{color:var(--light-400);margin:0 .25rem}
.dealer-exp{color:var(--text-muted)}

/* ==================== EVENTS ==================== */
.events-grid-3{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem}
.event-card-v2{background:#fff;border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow);transition:all .2s}
.event-card-v2:hover{box-shadow:var(--shadow-lg);transform:translateY(-4px)}
.event-hero{height:140px;background:var(--light-200);position:relative;overflow:hidden}
.event-hero img{width:100%;height:100%;object-fit:cover}
.event-hero-placeholder{width:100%;height:100%;background:linear-gradient(135deg,var(--light-300),var(--light-400))}
.event-date-badge{position:absolute;top:1rem;left:1rem;background:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow-lg);width:64px;text-align:center}
.event-dow{display:block;background:var(--gold);color:var(--dark);font-size:.7rem;font-weight:700;padding:.375rem}
.event-day{display:block;font-size:1.75rem;font-weight:700;color:var(--text);padding:.25rem 0}
.event-month{display:block;font-size:.7rem;color:var(--text-muted);padding-bottom:.5rem}
.event-body{padding:1.25rem}
.event-title-v2{font-size:1rem;font-weight:600;color:var(--text);margin-bottom:.75rem}
.event-time,.event-loc{font-size:.8rem;color:var(--text-muted);margin-bottom:.25rem}
.event-actions{display:flex;gap:.5rem;margin-top:1rem}
.event-actions .btn{flex:1}

/* ==================== CTA SELL ==================== */
/* ==================== COMMUNITY SECTION ==================== */
.community-grid{display:grid;grid-template-columns:repeat(3,1fr);gap:1.5rem;margin-bottom:2rem}
.community-card{display:flex;flex-direction:column;gap:.75rem;background:#fff;border-radius:var(--radius-xl);padding:1.5rem;box-shadow:var(--shadow);transition:all .2s;border:1px solid var(--light-300)}
.community-card:hover{box-shadow:var(--shadow-lg);border-color:var(--gold);transform:translateY(-4px)}
.community-label{display:inline-block;font-size:.7rem;font-weight:700;color:var(--gold);text-transform:uppercase;letter-spacing:.02em}
.community-thumb{height:120px;border-radius:var(--radius);overflow:hidden;background:var(--light-200)}
.community-thumb img{width:100%;height:100%;object-fit:cover}
.community-excerpt{font-size:.9rem;color:var(--text);line-height:1.5;flex:1}
.community-author{display:flex;align-items:center;gap:.5rem}
.community-author .author-avatar{width:24px;height:24px;border-radius:50%;overflow:hidden;background:var(--light-300)}
.community-author .author-avatar img{width:100%;height:100%;object-fit:cover}
.community-author .author-name{font-size:.8rem;color:var(--text-muted)}
.community-stats{display:flex;gap:1rem;font-size:.8rem;color:var(--text-muted)}

.community-actions{display:flex;justify-content:center;gap:1rem;flex-wrap:wrap}
.community-action-btn{display:flex;flex-direction:column;align-items:center;gap:.5rem;padding:1rem 2rem;background:#fff;border-radius:var(--radius-lg);box-shadow:var(--shadow);transition:all .2s;border:1px solid var(--light-300)}
.community-action-btn:hover{border-color:var(--gold);transform:translateY(-2px)}
.community-action-btn span:first-child{font-size:1.5rem}
.community-action-btn span:last-child{font-size:.8rem;font-weight:600;color:var(--text)}
.community-action-btn.highlight{background:var(--gold);border-color:var(--gold)}
.community-action-btn.highlight span:last-child{color:var(--dark)}

/* ==================== CTA SELL ==================== */
.cta-sell{background:linear-gradient(135deg,var(--dark-800) 0%,rgba(184,158,104,.15) 50%,var(--dark-800) 100%);padding:5rem 0}
.cta-content{max-width:600px;margin:0 auto;text-align:center}
.cta-content h2{font-size:2.5rem;color:#fff;margin-bottom:1rem}
.cta-content > p{font-size:1.125rem;color:var(--text-light);margin-bottom:2rem}
.cta-trust{margin-top:1.5rem;font-size:.875rem;color:var(--text-light)}

/* ==================== AUCTION CARDS ==================== */
.auctions-grid{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.auctions-grid-4{display:grid;grid-template-columns:repeat(4,1fr);gap:1.5rem}
.auction-card{background:#fff;border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow);transition:all .2s}
.auction-card:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.auction-image{position:relative;aspect-ratio:1;background:var(--light-200)}
.auction-image img{width:100%;height:100%;object-fit:cover}
.auction-badge{position:absolute;top:.75rem;left:.75rem;padding:.375rem .75rem;border-radius:.25rem;font-size:.7rem;font-weight:700}
.auction-badge.live{background:var(--error);color:#fff}
.auction-badge.featured{background:var(--gold);color:var(--dark)}
.auction-fav{position:absolute;top:.75rem;right:.75rem;width:36px;height:36px;background:#fff;border:none;border-radius:50%;font-size:1rem;display:flex;align-items:center;justify-content:center;opacity:0;transition:all .2s;box-shadow:var(--shadow)}
.auction-card:hover .auction-fav{opacity:1}
.auction-fav.active{opacity:1;background:var(--error)}
.auction-content{padding:1rem}
.auction-dealer{font-size:.75rem;color:var(--text-muted);margin-bottom:.25rem}
.auction-title{font-size:.9rem;font-weight:500;margin-bottom:.5rem;line-height:1.4}
.auction-title a{color:var(--text)}
.auction-title a:hover{color:var(--gold)}
.auction-price{font-size:1.125rem;font-weight:700;color:var(--gold);margin-bottom:.25rem}
.auction-meta{font-size:.75rem;color:var(--text-muted)}

/* Auction Mini Card */
.auction-card-mini{display:block;background:#fff;border-radius:var(--radius-lg);overflow:hidden;box-shadow:var(--shadow);transition:all .2s}
.auction-card-mini:hover{transform:translateY(-4px);box-shadow:var(--shadow-lg)}
.acm-image{aspect-ratio:1;background:var(--light-200)}
.acm-image img{width:100%;height:100%;object-fit:cover}
.acm-content{padding:1rem}
.acm-content h4{font-size:.875rem;color:var(--text);margin-bottom:.5rem;font-family:'Inter',sans-serif}
.acm-price{font-size:1rem;font-weight:700;color:var(--gold)}

/* ==================== AUCTION DETAIL PAGE ==================== */
.auction-detail-page{padding:2rem 0 4rem}
.breadcrumb{font-size:.875rem;color:var(--text-muted);margin-bottom:1.5rem}
.breadcrumb a{color:var(--text-muted);transition:color .2s}
.breadcrumb a:hover{color:var(--gold)}
.breadcrumb span{color:var(--text)}

.auction-detail-grid{display:grid;grid-template-columns:1fr 420px;gap:2.5rem}

/* Gallery Section */
.auction-gallery-section{}
.auction-main-gallery{background:#fff;border-radius:var(--radius-xl);padding:1rem;margin-bottom:1.5rem;box-shadow:var(--shadow)}
.auction-main-image{position:relative;aspect-ratio:4/3;background:var(--light-200);border-radius:var(--radius-lg);overflow:hidden;margin-bottom:1rem}
.auction-main-image img{width:100%;height:100%;object-fit:contain}
.live-overlay{position:absolute;top:1rem;left:1rem;right:1rem;display:flex;justify-content:space-between;z-index:2}
.zoom-btn{position:absolute;bottom:1rem;right:1rem;width:44px;height:44px;background:rgba(255,255,255,.9);border-radius:var(--radius);font-size:1.25rem;display:flex;align-items:center;justify-content:center;transition:all .2s}
.zoom-btn:hover{background:#fff;transform:scale(1.1)}

.auction-thumbs{display:flex;gap:.75rem;overflow-x:auto}
.auction-thumb{width:72px;height:72px;border-radius:var(--radius);overflow:hidden;cursor:pointer;border:2px solid transparent;transition:border-color .2s;flex-shrink:0}
.auction-thumb img{width:100%;height:100%;object-fit:cover}
.auction-thumb.active,.auction-thumb:hover{border-color:var(--gold)}
.auction-thumb.more{background:var(--dark-700);display:flex;align-items:center;justify-content:center;color:#fff;font-size:.875rem;font-weight:700}

/* Quick Info */
.auction-quick-info{background:#fff;border-radius:var(--radius-xl);padding:1.5rem;margin-bottom:1.5rem;box-shadow:var(--shadow)}
.auction-quick-info h3{font-size:1rem;margin-bottom:1rem;font-family:'Inter',sans-serif}
.quick-info-grid{display:grid;grid-template-columns:repeat(2,1fr);gap:1rem}
.quick-info-item{display:flex;flex-direction:column;gap:.25rem}
.qi-label{font-size:.75rem;color:var(--text-muted)}
.qi-value{font-size:.9rem;font-weight:600;color:var(--text)}

/* Tabs */
.auction-tabs{background:#fff;border-radius:var(--radius-xl);overflow:hidden;box-shadow:var(--shadow)}
.tab-nav{display:flex;border-bottom:1px solid var(--light-300);overflow-x:auto}
.tab-btn{padding:1rem 1.5rem;font-size:.875rem;font-weight:600;color:var(--text-muted);background:none;border:none;border-bottom:2px solid transparent;transition:all .2s;white-space:nowrap}
.tab-btn:hover{color:var(--text)}
.tab-btn.active{color:var(--gold);border-bottom-color:var(--gold)}
.tab-content{display:none;padding:1.5rem}
.tab-content.active{display:block}
.auction-description{line-height:1.8;color:var(--text)}

/* Provenance */
.provenance-verified{margin-bottom:1.5rem}
.badge-verified{display:inline-block;background:var(--success);color:#fff;padding:.5rem 1rem;border-radius:var(--radius);font-size:.8rem;font-weight:700}
.provenance-timeline{position:relative;padding-left:2rem}
.prov-item{display:flex;align-items:flex-start;gap:1rem;margin-bottom:1.5rem;position:relative}
.prov-year{width:60px;font-family:'JetBrains Mono',monospace;font-size:.875rem;color:var(--gold);flex-shrink:0}
.prov-dot{width:12px;height:12px;background:var(--gold);border-radius:50%;flex-shrink:0;margin-top:.25rem}
.prov-dot::before{content:'';position:absolute;left:calc(60px + .5rem + 5px);top:1.25rem;width:2px;height:calc(100% + .5rem);background:var(--light-300)}
.prov-item:last-child .prov-dot::before{display:none}
.prov-info strong{display:block;color:var(--text);margin-bottom:.25rem}
.prov-info span{font-size:.875rem;color:var(--text-muted)}

/* Condition */
.condition-report{}
.condition-rating{display:flex;align-items:center;gap:.75rem;margin-bottom:1rem}
.condition-stars{font-size:1.5rem}
.condition-label{font-size:1rem;font-weight:600;color:var(--text)}
.condition-list{list-style:none;margin-top:1rem}
.condition-list li{padding:.5rem 0;color:var(--text)}

/* Shipping */
.shipping-info{}
.shipping-item{display:flex;gap:1rem;padding:1rem 0;border-bottom:1px solid var(--light-300)}
.shipping-item:last-child{border-bottom:none}
.ship-icon{font-size:1.5rem}
.shipping-item strong{display:block;color:var(--text);margin-bottom:.25rem}
.shipping-item p{font-size:.875rem;color:var(--text-muted);margin:0}

/* ==================== BID CARD ==================== */
.auction-panel-section{position:sticky;top:100px;align-self:start}
.bid-card{background:#fff;border-radius:var(--radius-xl);padding:1.5rem;box-shadow:var(--shadow-lg);margin-bottom:1rem}
.bid-live-indicator{display:flex;justify-content:space-between;align-items:center;margin-bottom:1rem;padding-bottom:1rem;border-bottom:1px solid var(--light-300)}
.viewers-count{font-size:.875rem;color:var(--text-muted)}
.bid-title{font-size:1.5rem;margin-bottom:.75rem}
.bid-dealer{display:flex;align-items:center;gap:.75rem;margin-bottom:.75rem;color:var(--gold)}
.bid-dealer-avatar{width:40px;height:40px;border-radius:50%;object-fit:cover}
.verified-badge{background:var(--success);color:#fff;padding:.125rem .375rem;border-radius:.25rem;font-size:.65rem;font-weight:700}
.bid-rating{display:flex;align-items:center;gap:.5rem;font-size:.875rem;color:var(--text-muted);margin-bottom:1.5rem}
.bid-rating .stars{color:var(--gold)}

.bid-price-box{background:var(--light-200);border-radius:var(--radius-lg);padding:1.25rem;margin-bottom:1rem}
.bid-price-header{display:flex;justify-content:space-between;font-size:.8rem;color:var(--text-muted);margin-bottom:.5rem}
.bid-current-price{font-size:2.5rem;font-weight:700;color:var(--gold);margin-bottom:.75rem}
.bid-timer{display:flex;align-items:center;gap:.5rem;color:var(--error);font-weight:600}
.timer-icon{font-size:1rem}
.timer-value{font-family:'JetBrains Mono',monospace;font-size:1.125rem}
.timer-label{font-size:.8rem;color:var(--text-muted)}

.bid-form-v2{margin-bottom:1rem}
.bid-form-v2 input{width:100%;padding:1rem;border:2px solid var(--light-400);border-radius:var(--radius-lg);font-size:1.125rem;margin-bottom:.75rem;transition:border-color .2s}
.bid-form-v2 input:focus{outline:none;border-color:var(--gold)}
.bid-actions{display:flex;flex-direction:column;gap:.5rem;margin-bottom:1.5rem}

.bid-details{border-top:1px solid var(--light-300);padding-top:1rem}
.bid-detail-row{display:flex;justify-content:space-between;padding:.5rem 0;font-size:.875rem}
.bid-detail-row span:first-child{color:var(--text-muted)}
.bid-detail-row span:last-child{color:var(--text);font-weight:500}

.trust-badges{display:flex;flex-wrap:wrap;gap:.5rem;padding-top:1rem;border-top:1px solid var(--light-300)}
.trust-badges span{font-size:.75rem;color:var(--text-muted)}

/* Bid History */
.bid-history-card{background:#fff;border-radius:var(--radius-xl);padding:1.5rem;box-shadow:var(--shadow);margin-bottom:1rem}
.bid-history-card h3{font-size:1rem;margin-bottom:1rem;font-family:'Inter',sans-serif}
.bid-history-list{list-style:none}
.bid-history-item{display:flex;justify-content:space-between;align-items:center;padding:.75rem 0;border-bottom:1px solid var(--light-300)}
.bid-history-item:last-child{border-bottom:none}
.bh-amount{font-weight:700;color:var(--gold)}
.bh-user{font-size:.875rem;color:var(--text)}
.bh-time{font-size:.75rem;color:var(--text-muted)}
.no-bids{font-size:.875rem;color:var(--text-muted);text-align:center;padding:1rem}

/* Dealer Mini Card */
.dealer-mini-card{background:#fff;border-radius:var(--radius-xl);padding:1.5rem;box-shadow:var(--shadow)}
.dealer-mini-header{display:flex;gap:1rem;margin-bottom:1rem}
.dealer-mini-avatar{width:64px;height:64px;border-radius:50%;object-fit:cover}
.dealer-mini-info h4{font-size:1rem;margin-bottom:.25rem;font-family:'Inter',sans-serif}
.dealer-mini-info p{font-size:.875rem;color:var(--text-muted)}
.dealer-mini-stats{display:grid;grid-template-columns:repeat(4,1fr);gap:.5rem;padding:1rem 0;border-top:1px solid var(--light-300);border-bottom:1px solid var(--light-300);margin-bottom:1rem;text-align:center}
.dealer-mini-stats div span{display:block;font-size:1.125rem;font-weight:700;color:var(--text)}
.dealer-mini-stats div small{font-size:.65rem;color:var(--text-muted)}
.dealer-mini-actions{display:flex;gap:.5rem}
.dealer-mini-actions .btn{flex:1}

/* Related Sections */
.related-section{margin-top:4rem;padding-top:2rem;border-top:1px solid var(--light-300)}

/* ==================== LIGHTBOX ==================== */
.lightbox-modal{position:fixed;inset:0;background:rgba(0,0,0,.95);display:flex;align-items:center;justify-content:center;z-index:9999;opacity:0;visibility:hidden;transition:all .3s}
.lightbox-modal.active{opacity:1;visibility:visible}
.lightbox-close{position:absolute;top:1.5rem;right:1.5rem;color:#fff;font-size:2rem;background:none;border:none;cursor:pointer;z-index:10}
.lightbox-prev,.lightbox-next{position:absolute;top:50%;transform:translateY(-50%);color:#fff;font-size:3rem;background:none;border:none;cursor:pointer;padding:1rem;transition:opacity .2s}
.lightbox-prev{left:1rem}
.lightbox-next{right:1rem}
.lightbox-prev:hover,.lightbox-next:hover{opacity:.7}
.lightbox-image{max-width:90%;max-height:90vh;object-fit:contain}

/* ==================== FOOTER ==================== */
.site-footer{background:var(--dark-900);color:var(--text-light);padding:4rem 0 2rem}
.footer-grid{display:grid;grid-template-columns:2fr 1fr 1fr 1.5fr;gap:3rem;margin-bottom:3rem}
.footer-brand .logo{margin-bottom:1rem}
.footer-brand p{font-size:.875rem;line-height:1.7;color:var(--text-muted)}
.site-footer h4{color:#fff;font-size:.9rem;font-weight:600;margin-bottom:1.25rem;font-family:'Inter',sans-serif}
.site-footer ul li{margin-bottom:.75rem}
.site-footer ul a{font-size:.875rem;color:var(--text-light);transition:color .2s}
.site-footer ul a:hover{color:var(--gold)}

.footer-newsletter{display:flex;gap:.5rem}
.footer-newsletter input{flex:1;background:var(--dark-700);border:1px solid var(--dark-600);border-radius:var(--radius);padding:.75rem 1rem;color:#fff;font-size:.875rem}
.footer-newsletter input::placeholder{color:var(--text-muted)}
.footer-newsletter button{background:var(--gold);color:var(--dark);padding:.75rem 1.25rem;border-radius:var(--radius);font-weight:600;font-size:.875rem}

.footer-bottom{padding-top:2rem;border-top:1px solid var(--dark-600);text-align:center;font-size:.8rem;color:var(--text-muted)}

/* ==================== MODALS ==================== */
.modal{position:fixed;inset:0;background:rgba(0,0,0,.8);display:flex;align-items:center;justify-content:center;z-index:1000;opacity:0;visibility:hidden;transition:all .3s}
.modal.active{opacity:1;visibility:visible}
.modal-content{background:#fff;border-radius:var(--radius-xl);padding:2rem;max-width:500px;width:90%;max-height:90vh;overflow-y:auto}
.modal-close{position:absolute;top:1rem;right:1rem;font-size:1.5rem;color:var(--text-muted)}

/* ==================== PAGINATION ==================== */
.pagination{display:flex;justify-content:center;gap:.5rem;margin-top:3rem}
.pagination a,.pagination span{padding:.625rem 1rem;background:#fff;border:1px solid var(--light-400);border-radius:var(--radius);font-size:.875rem;transition:all .2s}
.pagination a:hover{border-color:var(--gold);color:var(--gold)}
.pagination .current{background:var(--gold);color:var(--dark);border-color:var(--gold)}

/* ==================== EMPTY STATE ==================== */
.empty-state{text-align:center;padding:5rem 2rem}
.empty-icon{font-size:5rem;display:block;margin-bottom:1.5rem;opacity:.4}
.empty-state h2{margin-bottom:.75rem}
.empty-state p{color:var(--text-muted);margin-bottom:2rem}

/* ==================== RESPONSIVE ==================== */
@media (max-width:1280px){
.hero-grid{grid-template-columns:1fr 320px}
.auction-detail-grid{grid-template-columns:1fr 380px}
}

@media (max-width:1024px){
.hero-grid{grid-template-columns:1fr}
.hero-sidebar{flex-direction:row;overflow-x:auto;gap:1rem;padding-bottom:.5rem}
.hero-side-card{min-width:280px;flex-shrink:0}
.hero-side-link{min-width:200px}
.curated-grid{grid-template-columns:repeat(4,1fr)}
.featured-auction-item{flex-wrap:wrap}
.featured-auction-hero{width:140px;height:140px}
.featured-auction-actions{width:100%;flex-direction:row;margin-top:1rem}
.featured-auction-actions .btn{flex:1}
.categories-grid-8{grid-template-columns:repeat(4,1fr)}
.index-grid-4{grid-template-columns:repeat(2,1fr)}
.dealers-grid-5{grid-template-columns:repeat(3,1fr)}
.events-grid-3{grid-template-columns:repeat(2,1fr)}
.auction-detail-grid{grid-template-columns:1fr}
.auction-panel-section{position:static}
.auctions-grid,.auctions-grid-4{grid-template-columns:repeat(3,1fr)}
.footer-grid{grid-template-columns:repeat(2,1fr)}
}

@media (max-width:768px){
.header-inner{flex-wrap:wrap}
.header-search{order:3;flex:0 0 100%;max-width:100%;margin-top:.75rem}
.header-btn-text{display:none}
.mobile-menu-btn{display:block}
.nav-list{padding:0 .5rem}
.hero-main{min-height:360px}
.hero-title{font-size:1.5rem}
.hero-stat-price{font-size:1.75rem}
.curated-grid{grid-template-columns:repeat(3,1fr)}
.featured-auction-hero{width:140px;height:140px}
.categories-grid-8{grid-template-columns:repeat(4,1fr)}
.dealers-grid-5{grid-template-columns:repeat(2,1fr)}
.events-grid-3{grid-template-columns:1fr}
.auctions-grid,.auctions-grid-4{grid-template-columns:repeat(2,1fr)}
.cta-content h2{font-size:1.75rem}
.footer-grid{grid-template-columns:1fr}
}

@media (max-width:480px){
html{font-size:14px}
.container{padding:0 .875rem}
.section{padding:3rem 0}
.hero{padding:1.5rem 0 2rem}
.curated-grid{grid-template-columns:repeat(2,1fr)}
.categories-grid-8{grid-template-columns:repeat(2,1fr)}
.index-grid-4{grid-template-columns:1fr}
.dealers-grid-5{grid-template-columns:1fr}
.auctions-grid,.auctions-grid-4{grid-template-columns:1fr}
.featured-auction-item{flex-direction:column}
.featured-auction-hero{width:100%;height:200px}
.featured-auction-actions{flex-direction:column}
.quick-info-grid{grid-template-columns:1fr}
.dealer-mini-stats{grid-template-columns:repeat(2,1fr)}
}

/* ==================== Q&A SECTION ==================== */
.auction-qa-section{background:#fff;border-radius:var(--radius-xl);padding:1.5rem;margin-top:1.5rem;box-shadow:var(--shadow)}
.auction-qa-section h3{margin-bottom:1rem;font-size:1.125rem}
.qa-form{margin-bottom:1.5rem}
.qa-input-row{display:flex;gap:.75rem}
.qa-input-row input{flex:1;padding:.875rem 1rem;border:1px solid var(--light-400);border-radius:var(--radius);font-size:.9rem}
.qa-input-row input:focus{outline:none;border-color:var(--gold)}
.qa-list h4{font-size:.9rem;color:var(--text-muted);margin-bottom:1rem;font-family:'Inter',sans-serif}
.qa-item{padding:1rem;background:var(--light-100);border-radius:var(--radius-lg);margin-bottom:.75rem;border-left:3px solid var(--gold)}
.qa-item.unanswered{border-left-color:var(--text-light)}
.qa-question{margin-bottom:.75rem}
.qa-question p{margin:.5rem 0 0;color:var(--text)}
.qa-user{font-weight:600;font-size:.8rem;color:var(--text)}
.qa-time{font-size:.75rem;color:var(--text-muted);margin-left:.5rem}
.qa-answer{padding-left:1rem;border-left:2px solid var(--light-400)}
.qa-seller{font-size:.75rem;color:var(--gold);font-weight:600}
.qa-answer p{font-size:.9rem;color:var(--text-muted);margin:.25rem 0 0}
.qa-pending{font-size:.8rem;color:var(--text-muted);font-style:italic}

/* ==================== STICKY BID CARD ==================== */
.auction-panel-section{position:sticky;top:120px;height:fit-content;align-self:start}

/* ==================== SIMILAR ITEMS CAROUSEL ==================== */
.similar-carousel{display:flex;gap:1rem;overflow-x:auto;padding:.5rem;scrollbar-width:none}
.similar-carousel::-webkit-scrollbar{display:none}
.similar-carousel .auction-card-mini{flex:0 0 200px}

/* Enhanced Related Section */
.related-section{margin-top:3rem;padding-top:2rem;border-top:1px solid var(--light-300)}
.related-section .section-header{margin-bottom:1.5rem}
.related-section .section-header h2{font-size:1.25rem;display:flex;align-items:center;gap:.5rem}
.related-nav{display:flex;gap:.5rem}
.related-nav button{width:36px;height:36px;border-radius:50%;border:1px solid var(--light-400);background:#fff;cursor:pointer;font-size:1rem;transition:all .2s}
.related-nav button:hover{border-color:var(--gold);color:var(--gold)}
