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

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

:root {
  --primary: #F59E0B;
  --primary-dark: #D97706;
  --primary-fg: #000;
  --bg: #0A0A0F;
  --bg2: #111118;
  --surface: rgba(255,255,255,0.04);
  --border: rgba(255,255,255,0.08);
  --text: #FFFFFF;
  --muted: #71717A;
  --muted-bg: rgba(255,255,255,0.06);
  --radius: 12px;
}

html { scroll-behavior: smooth; }
body { font-family: 'Inter', sans-serif; background: var(--bg); color: var(--text); min-height: 100vh; overflow-x: hidden; }

a { color: inherit; text-decoration: none; }
button { cursor: pointer; font-family: inherit; border: none; background: none; }
input, select, textarea { 
    font-family: inherit; 
    color-scheme: dark; 
}
input, select, textarea { font-family: inherit; }
img { display: block; max-width: 100%; }

/* Scrollbar */
::-webkit-scrollbar { width: 6px; }
::-webkit-scrollbar-track { background: var(--bg); }
::-webkit-scrollbar-thumb { background: var(--border); border-radius: 3px; }

/* ── Utility ── */
.container { max-width: 1280px; margin: 0 auto; padding: 0 1rem; }
.flex { display: flex; }
.items-center { align-items: center; }
.justify-between { justify-content: space-between; }
.gap-2 { gap: 0.5rem; }
.gap-4 { gap: 1rem; }
.gap-6 { gap: 1.5rem; }
.hidden { display: none !important; }

/* ── Glass ── */
.glass { background: var(--surface); border: 1px solid var(--border); backdrop-filter: blur(20px); -webkit-backdrop-filter: blur(20px); }
.glass-panel { background: rgba(10,10,15,0.85); border-bottom: 1px solid var(--border); backdrop-filter: blur(20px); }

/* ── Buttons ── */
.btn { display: inline-flex; align-items: center; gap: 0.5rem; padding: 0.6rem 1.4rem; border-radius: 6px; font-weight: 700; font-size: 0.875rem; transition: all 0.2s; cursor: pointer; letter-spacing: 0.05em; text-transform: uppercase; }
.btn-primary { background: var(--primary); color: var(--primary-fg); border: 1px solid transparent; box-shadow: 0 0 20px rgba(245,158,11,0.35); }
.btn-primary:hover { background: var(--primary-dark); box-shadow: 0 0 30px rgba(245,158,11,0.55); transform: scale(1.03); }
.btn-outline { background: transparent; color: var(--text); border: 1px solid rgba(255,255,255,0.2); }
.btn-outline:hover { background: rgba(255,255,255,0.08); }
.btn-ghost { background: transparent; color: var(--muted); border: 1px solid transparent; }
.btn-ghost:hover { color: var(--text); background: rgba(255,255,255,0.05); }
.btn-lg { padding: 0.9rem 2rem; font-size: 1rem; }
.btn-sm { padding: 0.4rem 1rem; font-size: 0.75rem; }
.btn-icon { width: 36px; height: 36px; padding: 0; border-radius: 50%; justify-content: center; font-size: 1rem; }

/* ── Input ── */
.input { width: 100%; background: var(--muted-bg); border: 1px solid var(--border); border-radius: 8px; padding: 0.6rem 0.9rem; color: var(--text); font-size: 0.875rem; outline: none; transition: border-color 0.2s; }
.input:focus { border-color: var(--primary); }
.input::placeholder { color: var(--muted); }
.input-icon { position: relative; }
.input-icon .icon { position: absolute; left: 0.75rem; top: 50%; transform: translateY(-50%); color: var(--muted); pointer-events: none; }
.input-icon .input { padding-left: 2.5rem; }

select.input { 
    -webkit-appearance: none; 
    appearance: none; 
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='12' height='12' viewBox='0 0 24 24' fill='none' stroke='%2371717A' stroke-width='2'%3E%3Cpolyline points='6 9 12 15 18 9'/%3E%3C/svg%3E"); 
    background-repeat: no-repeat; 
    background-position: right 0.75rem center; 
    padding-right: 2rem;
}

select.input option { 
    background-color: #111118;
    color: #FFFFFF;
}

textarea.input { min-height: 100px; resize: vertical; }

/* ── Label ── */
.label { display: block; font-size: 0.7rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.4rem; }

/* ── Badge ── */
.badge { display: inline-flex; align-items: center; padding: 0.2rem 0.6rem; border-radius: 4px; font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; }
.badge-primary { background: rgba(245,158,11,0.15); color: var(--primary); border: 1px solid rgba(245,158,11,0.3); }
.badge-muted { background: var(--muted-bg); color: var(--muted); border: 1px solid var(--border); }

/* ── Skeleton ── */
.skeleton { background: rgba(255,255,255,0.05); border-radius: 6px; animation: shimmer 1.5s infinite linear; background-size: 200% 100%; background-image: linear-gradient(90deg, rgba(255,255,255,0.04) 25%, rgba(255,255,255,0.08) 50%, rgba(255,255,255,0.04) 75%); }
@keyframes shimmer { 0% { background-position: 200% 0; } 100% { background-position: -200% 0; } }

/* ── Fade animation ── */
@keyframes fadeUp { from { opacity: 0; transform: translateY(20px); } to { opacity: 1; transform: translateY(0); } }
.fade-up { animation: fadeUp 0.5s ease forwards; }
.delay-1 { animation-delay: 0.1s; opacity: 0; }
.delay-2 { animation-delay: 0.2s; opacity: 0; }
.delay-3 { animation-delay: 0.3s; opacity: 0; }

/* ── Slider ── */
.range-group { display: flex; flex-direction: column; gap: 0.5rem; }
input[type=range] { -webkit-appearance: none; appearance: none; width: 100%; height: 4px; background: var(--border); border-radius: 2px; outline: none; }
input[type=range]::-webkit-slider-thumb { -webkit-appearance: none; appearance: none; width: 16px; height: 16px; border-radius: 50%; background: var(--primary); cursor: pointer; box-shadow: 0 0 8px rgba(245,158,11,0.4); }
input[type=range]::-moz-range-thumb { width: 16px; height: 16px; border-radius: 50%; background: var(--primary); cursor: pointer; border: none; }

/* ════════════════════════════════
   NAVBAR
════════════════════════════════ */
#navbar { position: fixed; top: 0; left: 0; right: 0; z-index: 100; height: 64px; }
.nav-inner { height: 64px; display: flex; align-items: center; justify-content: space-between; }
.nav-logo { display: flex; align-items: center; gap: 0.5rem; font-size: 1.2rem; font-weight: 800; }
.nav-logo .logo-icon { width: 32px; height: 32px; background: var(--primary); border-radius: 6px; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #000; font-size: 1rem; box-shadow: 0 0 15px rgba(245,158,11,0.5); }
.nav-logo .gold { color: var(--primary); }
.nav-links { display: flex; align-items: center; gap: 1.5rem; }
.nav-link { display: flex; align-items: center; gap: 0.4rem; font-size: 0.875rem; font-weight: 500; color: var(--muted); transition: color 0.2s; }
.nav-link:hover, .nav-link.active { color: var(--primary); }
.nav-hamburger { display: none; background: none; border: none; color: var(--text); font-size: 1.4rem; cursor: pointer; }

.mobile-menu { display: none; flex-direction: column; gap: 0.5rem; padding: 1rem; background: rgba(10,10,15,0.98); border-top: 1px solid var(--border); }
.mobile-menu.open { display: flex; }
.mobile-link { display: flex; align-items: center; gap: 0.75rem; padding: 0.7rem 1rem; border-radius: 8px; color: var(--muted); font-weight: 500; font-size: 0.9rem; transition: all 0.2s; }
.mobile-link:hover, .mobile-link.active { color: var(--primary); background: rgba(245,158,11,0.08); }

@media (max-width: 768px) {
  .nav-links { display: none; }
  .nav-sell { display: none; }
  .nav-hamburger { display: block; }
}

/* ════════════════════════════════
   PAGES
════════════════════════════════ */
.page { display: none; }
.page.active { display: block; animation: fadeUp 0.4s ease forwards; }
.page-wrap { padding-top: 64px; }

/* ════════════════════════════════
   HOME PAGE
════════════════════════════════ */
.hero { position: relative; min-height: 85vh; display: flex; align-items: center; padding: 5rem 0 8rem; overflow: hidden; }
.hero-bg { position: absolute; inset: 0; z-index: 0; }
.hero-bg img { width: 100%; height: 100%; object-fit: cover; opacity: 0.35; }
.hero-bg::after { content: ''; position: absolute; inset: 0; background: linear-gradient(to bottom, rgba(10,10,15,0.4) 0%, rgba(10,10,15,0.8) 60%, rgba(10,10,15,1) 100%); }
.hero-content { position: relative; z-index: 1; max-width: 700px; }
.hero-title { font-size: clamp(2.8rem, 8vw, 5.5rem); font-weight: 900; line-height: 1.05; letter-spacing: -0.02em; margin-bottom: 1.5rem; }
.hero-title .gold { background: linear-gradient(135deg, var(--primary) 0%, #FDE68A 100%); -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text; }
.hero-sub { font-size: 1.1rem; color: #9CA3AF; margin-bottom: 2.5rem; line-height: 1.7; max-width: 540px; font-weight: 300; }
.hero-actions { display: flex; flex-wrap: wrap; gap: 1rem; }

.stats-bar { position: relative; z-index: 2; margin: -3rem 1rem 0; border-radius: var(--radius); overflow: hidden; }
.stats-grid { display: grid; grid-template-columns: repeat(4, 1fr); }
.stat-item { padding: 1.5rem 2rem; text-align: center; border-right: 1px solid var(--border); }
.stat-item:last-child { border-right: none; }
.stat-value { font-size: 2rem; font-weight: 900; margin-bottom: 0.25rem; }
.stat-label { font-size: 0.65rem; font-weight: 600; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); }

@media (max-width: 640px) {
  .stats-grid { grid-template-columns: repeat(2, 1fr); }
  .stat-item { border-right: none; border-bottom: 1px solid var(--border); }
  .stat-item:nth-child(odd) { border-right: 1px solid var(--border); }
  .stat-item:last-child, .stat-item:nth-last-child(2):nth-child(odd) { border-bottom: none; }
}

.section { padding: 5rem 0; }
.section-header { display: flex; align-items: flex-end; justify-content: space-between; margin-bottom: 3rem; }
.section-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; text-transform: uppercase; letter-spacing: -0.01em; margin-bottom: 0.5rem; }
.section-line { width: 48px; height: 3px; background: var(--primary); margin-bottom: 1rem; }
.section-sub { color: var(--muted); max-width: 500px; font-size: 0.9rem; }
.see-all { display: inline-flex; align-items: center; gap: 0.4rem; color: var(--primary); font-size: 0.8rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.08em; transition: color 0.2s; }
.see-all:hover { color: var(--text); }
.see-all svg { transition: transform 0.2s; }
.see-all:hover svg { transform: translateX(3px); }

/* ── Car Card ── */
.cars-grid { display: grid; grid-template-columns: repeat(auto-fill, minmax(300px, 1fr)); gap: 1.5rem; }
.car-card { border-radius: var(--radius); overflow: hidden; display: flex; flex-direction: column; transition: border-color 0.3s, transform 0.3s; }
.car-card:hover { border-color: rgba(245,158,11,0.4); transform: translateY(-4px); }
.car-card .img-wrap { position: relative; aspect-ratio: 16/10; overflow: hidden; background: var(--muted-bg); }
.car-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; transition: transform 0.6s; }
.car-card:hover .img-wrap img { transform: scale(1.06); }
.card-price { position: absolute; bottom: 0.75rem; right: 0.75rem; background: rgba(0,0,0,0.85); backdrop-filter: blur(8px); padding: 0.3rem 0.75rem; font-size: 0.85rem; font-weight: 700; border: 1px solid rgba(255,255,255,0.1); border-radius: 4px; }
.card-top-badge { position: absolute; top: 0.75rem; left: 0.75rem; background: var(--primary); color: #000; font-size: 0.6rem; font-weight: 800; padding: 0.2rem 0.5rem; text-transform: uppercase; letter-spacing: 0.1em; border-radius: 3px; }
.fav-btn { position: absolute; top: 0.75rem; right: 0.75rem; width: 32px; height: 32px; border-radius: 50%; display: flex; align-items: center; justify-content: center; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.1); transition: all 0.2s; font-size: 0.9rem; color: var(--text); }
.fav-btn:hover { background: rgba(245,158,11,0.2); }
.fav-btn.active { background: var(--primary); color: #000; border-color: var(--primary); }
.car-card .card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; }
.car-title { font-size: 1rem; font-weight: 700; margin-bottom: 0.4rem; transition: color 0.2s; }
.car-card:hover .car-title { color: var(--primary); }
.car-desc { font-size: 0.8rem; color: var(--muted); line-height: 1.5; margin-bottom: 1rem; flex: 1; display: -webkit-box; -webkit-line-clamp: 2; -webkit-box-orient: vertical; overflow: hidden; }
.card-specs { display: grid; grid-template-columns: repeat(3, 1fr); gap: 0.25rem; padding-top: 0.75rem; border-top: 1px solid var(--border); }
.spec-item { display: flex; flex-direction: column; align-items: center; gap: 0.25rem; font-size: 0.7rem; color: #9CA3AF; font-weight: 500; }
.spec-item .spec-icon { font-size: 0.85rem; }
.spec-item:nth-child(2) { border-left: 1px solid var(--border); border-right: 1px solid var(--border); }

/* CTA block */
.cta-block { border-radius: 16px; padding: 4rem; text-align: center; }
.cta-title { font-size: clamp(1.6rem, 4vw, 2.2rem); font-weight: 900; margin-bottom: 1rem; }
.cta-sub { color: var(--muted); margin-bottom: 2rem; max-width: 480px; margin-left: auto; margin-right: auto; }

/* ════════════════════════════════
   CATALOG PAGE
════════════════════════════════ */
.catalog-header { padding: 2.5rem 0 1.5rem; }
.catalog-layout { display: grid; grid-template-columns: 260px 1fr; gap: 2rem; align-items: start; }
.filter-panel { border-radius: var(--radius); padding: 1.25rem; position: sticky; top: 80px; display: flex; flex-direction: column; gap: 1.25rem; }
.filter-title { display: flex; align-items: center; justify-content: space-between; font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; }
.filter-clear { font-size: 0.7rem; color: var(--primary); font-weight: 600; cursor: pointer; text-transform: none; letter-spacing: 0; display: flex; align-items: center; gap: 0.25rem; }
.filter-clear:hover { color: var(--text); }
.filter-divider { height: 1px; background: var(--border); }
.toolbar { display: flex; gap: 1rem; margin-bottom: 1.5rem; align-items: center; }
.toolbar .input-icon { flex: 1; }
.view-toggle { display: flex; border: 1px solid var(--border); border-radius: 6px; overflow: hidden; }
.view-btn { width: 36px; height: 36px; display: flex; align-items: center; justify-content: center; font-size: 1rem; color: var(--muted); transition: all 0.2s; }
.view-btn.active { background: var(--primary); color: #000; }
.view-btn:hover:not(.active) { color: var(--text); background: rgba(255,255,255,0.05); }
.results-meta { font-size: 0.8rem; color: var(--muted); margin-bottom: 1.25rem; }

.cars-list { display: flex; flex-direction: column; gap: 1rem; }
.car-list-card { border-radius: var(--radius); overflow: hidden; display: flex; transition: border-color 0.3s; }
.car-list-card:hover { border-color: rgba(245,158,11,0.4); }
.car-list-card .img-wrap { width: 220px; flex-shrink: 0; }
.car-list-card .img-wrap img { width: 100%; height: 100%; object-fit: cover; }
.car-list-card .card-body { padding: 1.25rem; flex: 1; display: flex; flex-direction: column; justify-content: space-between; }
.list-meta { display: flex; gap: 1rem; font-size: 0.75rem; color: #9CA3AF; font-weight: 500; }
.list-meta span { display: flex; align-items: center; gap: 0.3rem; }

.empty-state { text-align: center; padding: 5rem 1rem; }
.empty-icon { font-size: 3rem; margin-bottom: 1rem; }
.empty-title { font-size: 1.25rem; font-weight: 700; margin-bottom: 0.5rem; }
.empty-sub { color: var(--muted); font-size: 0.9rem; margin-bottom: 1.5rem; }

.active-filters { display: flex; flex-wrap: wrap; gap: 0.4rem; margin-top: 0.25rem; }

.mobile-filter-btn { display: none; }

@media (max-width: 900px) {
  .catalog-layout { grid-template-columns: 1fr; }
  .filter-panel { position: static; display: none; }
  .filter-panel.open { display: flex; }
  .mobile-filter-btn { display: flex; }
  .car-list-card { flex-direction: column; }
  .car-list-card .img-wrap { width: 100%; height: 200px; }
}

/* ════════════════════════════════
   CAR DETAILS PAGE
════════════════════════════════ */
.detail-page { padding: 2rem 0 4rem; }
.back-btn { display: inline-flex; align-items: center; gap: 0.5rem; color: var(--muted); font-size: 0.85rem; font-weight: 500; margin-bottom: 2rem; transition: color 0.2s; }
.back-btn:hover { color: var(--primary); }

.detail-grid { display: grid; grid-template-columns: 1fr 380px; gap: 2rem; }
.gallery { border-radius: var(--radius); overflow: hidden; }
.gallery-main { position: relative; aspect-ratio: 16/10; background: var(--muted-bg); overflow: hidden; }
.gallery-main img { width: 100%; height: 100%; object-fit: cover; transition: opacity 0.3s; }
.gallery-nav { position: absolute; top: 50%; transform: translateY(-50%); display: flex; justify-content: space-between; width: 100%; padding: 0 1rem; pointer-events: none; }
.gallery-nav button { pointer-events: all; width: 40px; height: 40px; border-radius: 50%; background: rgba(0,0,0,0.7); backdrop-filter: blur(8px); border: 1px solid rgba(255,255,255,0.15); color: var(--text); font-size: 1.2rem; display: flex; align-items: center; justify-content: center; transition: all 0.2s; }
.gallery-nav button:hover { background: var(--primary); color: #000; border-color: var(--primary); }
.gallery-thumbs { display: flex; gap: 0.5rem; margin-top: 0.75rem; overflow-x: auto; padding-bottom: 0.25rem; }
.gallery-thumb { width: 80px; height: 56px; flex-shrink: 0; border-radius: 6px; overflow: hidden; cursor: pointer; border: 2px solid transparent; transition: border-color 0.2s; }
.gallery-thumb.active { border-color: var(--primary); }
.gallery-thumb img { width: 100%; height: 100%; object-fit: cover; }

.detail-sidebar { display: flex; flex-direction: column; gap: 1.25rem; }
.detail-card { border-radius: var(--radius); padding: 1.5rem; }
.detail-make { font-size: 0.75rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--primary); margin-bottom: 0.4rem; }
.detail-name { font-size: 1.7rem; font-weight: 900; line-height: 1.15; margin-bottom: 0.75rem; }
.detail-price { font-size: 2rem; font-weight: 900; color: var(--primary); margin-bottom: 1.25rem; }
.detail-actions { display: flex; flex-direction: column; gap: 0.75rem; }

.specs-table { width: 100%; border-collapse: collapse; }
.specs-table tr { border-bottom: 1px solid var(--border); }
.specs-table tr:last-child { border-bottom: none; }
.specs-table td { padding: 0.7rem 0; font-size: 0.85rem; }
.specs-table td:first-child { color: var(--muted); font-weight: 500; }
.specs-table td:last-child { text-align: right; font-weight: 600; }

.seller-info { display: flex; flex-direction: column; gap: 0.75rem; }
.seller-row { display: flex; align-items: center; gap: 0.75rem; }
.seller-avatar { width: 44px; height: 44px; border-radius: 50%; background: var(--primary); display: flex; align-items: center; justify-content: center; font-weight: 900; color: #000; font-size: 1.1rem; flex-shrink: 0; }
.seller-name { font-weight: 700; font-size: 0.95rem; }
.seller-tag { font-size: 0.75rem; color: var(--muted); }
.contact-btns { display: flex; gap: 0.75rem; }

.view-count { display: flex; align-items: center; gap: 0.4rem; font-size: 0.75rem; color: var(--muted); margin-top: 0.5rem; }

@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
}

/* ════════════════════════════════
   LIST CAR PAGE
════════════════════════════════ */
.list-car-page { padding: 2.5rem 0 5rem; max-width: 700px; margin: 0 auto; }
.step-bar { display: flex; gap: 0; margin-bottom: 3rem; border-radius: var(--radius); overflow: hidden; border: 1px solid var(--border); }
.step { flex: 1; padding: 1rem; text-align: center; border-right: 1px solid var(--border); transition: all 0.3s; }
.step:last-child { border-right: none; }
.step-num { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.1em; color: var(--muted); margin-bottom: 0.25rem; }
.step-name { font-size: 0.8rem; font-weight: 600; color: var(--muted); }
.step.active { background: rgba(245,158,11,0.1); }
.step.active .step-num { color: var(--primary); }
.step.active .step-name { color: var(--text); }
.step.done { background: rgba(245,158,11,0.05); }
.step.done .step-name { color: var(--primary); }

.form-step { display: none; }
.form-step.active { display: flex; flex-direction: column; gap: 1.25rem; animation: fadeUp 0.4s ease; }
.form-group { display: flex; flex-direction: column; gap: 0.4rem; }
.form-row { display: grid; grid-template-columns: 1fr 1fr; gap: 1rem; }
.form-actions { display: flex; justify-content: space-between; margin-top: 1rem; padding-top: 1.5rem; border-top: 1px solid var(--border); }

.image-upload { border: 2px dashed var(--border); border-radius: var(--radius); padding: 3rem; text-align: center; cursor: pointer; transition: border-color 0.2s, background 0.2s; }
.image-upload:hover { border-color: var(--primary); background: rgba(245,158,11,0.04); }
.upload-icon { font-size: 2.5rem; margin-bottom: 0.75rem; }
.upload-text { font-weight: 600; margin-bottom: 0.25rem; }
.upload-sub { font-size: 0.8rem; color: var(--muted); }
#fileInput { display: none; }

.success-screen { text-align: center; padding: 3rem 1rem; display: none; flex-direction: column; align-items: center; gap: 1rem; animation: fadeUp 0.5s ease; }
.success-screen.show { display: flex; }
.success-icon { width: 80px; height: 80px; border-radius: 50%; background: rgba(245,158,11,0.15); display: flex; align-items: center; justify-content: center; font-size: 2.5rem; border: 2px solid rgba(245,158,11,0.3); }
.success-title { font-size: 1.5rem; font-weight: 900; }
.success-sub { color: var(--muted); max-width: 400px; }

@media (max-width: 640px) {
  .form-row { grid-template-columns: 1fr; }
  .list-car-page { padding: 2rem 0 4rem; }
}

/* ════════════════════════════════
   FAVORITES PAGE
════════════════════════════════ */
.profile-header { padding: 2.5rem 0 1.5rem; }
.profile-stats { display: flex; gap: 1.5rem; flex-wrap: wrap; margin-bottom: 2.5rem; }
.profile-stat { border-radius: var(--radius); padding: 1.25rem 2rem; min-width: 160px; }
.ps-label { font-size: 0.65rem; font-weight: 700; text-transform: uppercase; letter-spacing: 0.12em; color: var(--muted); margin-bottom: 0.35rem; }
.ps-value { font-size: 1.6rem; font-weight: 900; }
.ps-value.gold { color: var(--primary); }

.fav-empty { text-align: center; padding: 5rem 1rem; }

/* ════════════════════════════════
   FOOTER
════════════════════════════════ */
footer { border-top: 1px solid var(--border); background: rgba(0,0,0,0.5); padding: 3rem 0; text-align: center; margin-top: auto; }
.footer-logo { display: flex; justify-content: center; align-items: center; gap: 0.5rem; font-size: 1.1rem; font-weight: 800; margin-bottom: 1rem; }
.footer-sub { font-size: 0.8rem; color: var(--muted); max-width: 420px; margin: 0 auto 1.5rem; line-height: 1.6; }
.footer-copy { font-size: 0.7rem; color: rgba(113,113,122,0.5); }

/* ════════════════════════════════
   AUTH PAGE
════════════════════════════════ */
.auth-page { min-height: 100vh; display: flex; align-items: center; justify-content: center; padding: 2rem 1rem; background: radial-gradient(circle at top, rgba(245,158,11,0.12), transparent 35%), linear-gradient(180deg, #0A0A0F 0%, #111118 100%); }
.auth-shell { width: min(100%, 480px); border-radius: 18px; padding: 2rem; box-shadow: 0 30px 80px rgba(0,0,0,0.45); }
.auth-brand { display: flex; align-items: center; gap: 0.9rem; margin-bottom: 1rem; }
.auth-brand .logo-icon { width: 42px; height: 42px; background: var(--primary); border-radius: 10px; display: flex; align-items: center; justify-content: center; font-weight: 900; color: #000; font-size: 1.1rem; box-shadow: 0 0 15px rgba(245,158,11,0.5); }
.auth-kicker { font-size: 0.72rem; text-transform: uppercase; letter-spacing: 0.14em; color: var(--primary); font-weight: 700; margin-bottom: 0.2rem; }
.auth-title { font-size: 2rem; font-weight: 900; line-height: 1.1; }
.auth-sub { color: #9CA3AF; line-height: 1.6; margin-bottom: 1.5rem; font-size: 0.95rem; }
.auth-form { display: grid; }
.auth-submit { width: 100%; justify-content: center; margin-top: 1.4rem; }
.auth-alert { border-radius: 10px; padding: 0.8rem 1rem; margin-bottom: 1rem; font-size: 0.9rem; border: 1px solid transparent; }
.auth-success { background: rgba(34,197,94,0.12); border-color: rgba(34,197,94,0.25); color: #86efac; }
.auth-error { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.25); color: #fca5a5; }
.auth-footer { display: flex; flex-wrap: wrap; gap: 0.75rem 1rem; justify-content: space-between; align-items: center; margin-top: 1rem; color: var(--muted); font-size: 0.85rem; }
.auth-footer a { color: var(--primary); font-weight: 600; }
.auth-footer a:hover { color: var(--text); }

/* ── Notification toast ── */
.toast { position: fixed; bottom: 1.5rem; right: 1.5rem; z-index: 9999; background: var(--bg2); border: 1px solid var(--border); border-radius: 10px; padding: 0.85rem 1.25rem; font-size: 0.875rem; font-weight: 500; box-shadow: 0 8px 32px rgba(0,0,0,0.5); transform: translateY(100px); opacity: 0; transition: all 0.3s; pointer-events: none; max-width: 300px; }
.toast.show { transform: translateY(0); opacity: 1; }
.toast.success { border-color: rgba(245,158,11,0.4); }
