/* ==========================================================================
   rowpazar • Rise Online World (ROW) Temalı Pazar & Vitrin Stilleri
   İlham: jacquepazar.com & riseonlineworld.com
   ========================================================================== */

/* Fontlar index.html icinden preconnect ile daha hizli yuklenir */

:root {
  --color-gold: #e2b755;
  --color-gold-light: #f7d788;
  --color-gold-dark: #aa771c;
  --color-ember: #e65c00;
  --color-lunaskar: #b91c1c;
  --color-protean: #1d4ed8;
  --bg-dark: #07090e;
  --bg-card: #0e121b;
  --border-gold: rgba(226, 183, 85, 0.25);
}

body {
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: #e2e8f0;
  background-image: 
    radial-gradient(ellipse at 50% -10%, rgba(230, 92, 0, 0.15) 0%, transparent 60%),
    radial-gradient(circle at 10% 20%, rgba(185, 28, 28, 0.08) 0%, transparent 40%),
    radial-gradient(circle at 90% 20%, rgba(29, 78, 216, 0.08) 0%, transparent 40%);
  background-attachment: fixed;
  overflow-x: hidden;
}

.font-cinzel {
  font-family: 'Cinzel', serif;
}

.font-marcellus {
  font-family: 'Marcellus', serif;
}

.font-mono {
  font-family: 'JetBrains Mono', monospace;
}

/* Altın Parlamalı Başlık Efekti (Rise Online Stili) */
.highlight-gold {
  background: linear-gradient(135deg, #ffe082 0%, #e2b755 50%, #b8860b 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 20px rgba(226, 183, 85, 0.4);
}

.highlight-ember {
  background: linear-gradient(135deg, #ff9966 0%, #ff5e62 100%);
  background-clip: text;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
}

/* Rise Online Kart Tasarımı */
.row-card {
  background: linear-gradient(180deg, rgba(17, 22, 33, 0.95) 0%, rgba(11, 15, 23, 0.98) 100%);
  border: 1px solid rgba(226, 183, 85, 0.18);
  box-shadow: 0 8px 24px -4px rgba(0, 0, 0, 0.8), inset 0 1px 0 rgba(255, 255, 255, 0.05);
  position: relative;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
}

.row-card:hover {
  border-color: rgba(226, 183, 85, 0.45);
  box-shadow: 0 14px 32px -4px rgba(0, 0, 0, 0.9), 0 0 20px rgba(226, 183, 85, 0.15);
}

/* Dekoratif Köşe Çerçeveleri (Medieval Gaming Borders) */
.corner-accent {
  position: relative;
}
.corner-accent::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 9px;
  height: 9px;
  border-top: 2px solid var(--color-gold);
  border-left: 2px solid var(--color-gold);
  opacity: 0.75;
  pointer-events: none;
}
.corner-accent::after {
  content: '';
  position: absolute;
  bottom: 0;
  right: 0;
  width: 9px;
  height: 9px;
  border-bottom: 2px solid var(--color-gold);
  border-right: 2px solid var(--color-gold);
  opacity: 0.75;
  pointer-events: none;
}

/* Medieval Divider Line */
.medieval-divider {
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(226, 183, 85, 0.45) 50%, transparent 100%);
  position: relative;
  margin: 1rem 0;
}
.medieval-divider::after {
  content: '♦';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  color: var(--color-gold);
  font-size: 11px;
  background: var(--bg-dark);
  padding: 0 6px;
}

/* Kategori Tabları / Sunucu Butonları (Rise Online Stili - Belirgin & Vurgulu) */
.tab-row {
  background: rgba(13, 17, 27, 0.92);
  border: 1px solid rgba(226, 183, 85, 0.22);
  color: #e2e8f0;
  transition: all 0.2s cubic-bezier(0.4, 0, 0.2, 1);
  font-family: 'Cinzel', serif;
  box-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
}
.tab-row:hover {
  background: rgba(22, 30, 48, 0.98);
  color: #ffffff;
  border-color: rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
  box-shadow: 0 4px 14px rgba(245, 158, 11, 0.25);
}
.tab-row.active {
  background: linear-gradient(135deg, #d4a748 0%, #9a6f20 100%) !important;
  color: #0c101d !important;
  font-weight: 800 !important;
  border-color: #ebd18d !important;
  box-shadow: 0 2px 10px rgba(180, 130, 40, 0.25) !important;
}
.tab-row.active i {
  color: #0c101d !important;
}
.tab-row.active .category-count {
  background: rgba(12, 16, 29, 0.24) !important;
  color: #0c101d !important;
  border-color: rgba(12, 16, 29, 0.25) !important;
  font-weight: 800;
}

/* Kategori Sekmeleri Kaydırma Çubuğu Gizleme (Scrollbar-none) */
#category-tabs, #character-subtabs {
  scrollbar-width: none; /* Firefox */
  -ms-overflow-style: none; /* IE/Edge */
}
#category-tabs::-webkit-scrollbar, #character-subtabs::-webkit-scrollbar {
  display: none; /* Chrome, Safari, Opera */
}

/* Karakter Alt Sınıf Sekmeleri (Karakterler Butonunun Yarısı Boyutunda) */
.char-sub-tab {
  background: rgba(14, 18, 28, 0.9);
  border: 1px solid rgba(245, 158, 11, 0.25);
  color: #94a3b8;
  transition: all 0.2s ease;
  font-family: 'Cinzel', serif;
}
.char-sub-tab:hover {
  background: rgba(26, 34, 52, 0.95);
  border-color: rgba(245, 158, 11, 0.5);
  color: #f8fafc;
}
.char-sub-tab.active {
  background: linear-gradient(135deg, #e2b755 0%, #b47b19 100%);
  color: #0b0f19;
  font-weight: 800;
  border-color: #fde047;
  box-shadow: 0 2px 10px rgba(226, 183, 85, 0.35);
}

/* Karakter Irk Sekmeleri (Protean & Lunaskar - Toggle Butonlar) */
.char-faction-tab {
  background: rgba(14, 18, 28, 0.9);
  transition: all 0.2s ease;
  font-family: 'Cinzel', serif;
  cursor: pointer;
  user-select: none;
}
.char-faction-tab[data-char-faction="protean"] {
  border: 1px solid rgba(59, 130, 246, 0.35);
  color: #93c5fd;
}
.char-faction-tab[data-char-faction="protean"]:hover {
  background: rgba(30, 58, 138, 0.35);
  border-color: rgba(96, 165, 250, 0.7);
  color: #eff6ff;
  box-shadow: 0 0 10px rgba(59, 130, 246, 0.25);
}
.char-faction-tab[data-char-faction="protean"].active {
  background: linear-gradient(135deg, #1d4ed8 0%, #0284c7 100%);
  color: #ffffff !important;
  font-weight: 800;
  border-color: #38bdf8;
  box-shadow: 0 2px 12px rgba(56, 189, 248, 0.45);
}

.char-faction-tab[data-char-faction="lunaskar"] {
  border: 1px solid rgba(239, 68, 68, 0.35);
  color: #fca5a5;
}
.char-faction-tab[data-char-faction="lunaskar"]:hover {
  background: rgba(136, 19, 55, 0.35);
  border-color: rgba(248, 113, 113, 0.7);
  color: #fff1f2;
  box-shadow: 0 0 10px rgba(239, 68, 68, 0.25);
}
.char-faction-tab[data-char-faction="lunaskar"].active {
  background: linear-gradient(135deg, #be123c 0%, #dc2626 100%);
  color: #ffffff !important;
  font-weight: 800;
  border-color: #fb7185;
  box-shadow: 0 2px 12px rgba(244, 63, 94, 0.45);
}

/* =========================================================================
   AUTHENTIC RISE ONLINE / MMORPG IN-GAME INVENTORY SLOT STYLES
   ========================================================================= */
.inventory-slot {
  position: relative;
  width: 56px;
  height: 56px;
  border-radius: 8px;
  background-color: #0b0f19;
  border: 2px solid #5a4522;
  box-shadow: 
    0 2px 6px rgba(0, 0, 0, 0.6);
  display: flex;
  align-items: center;
  justify-content: center;
  flex-shrink: 0;
  box-sizing: border-box;
  padding: 0 !important;
  overflow: hidden !important;
  transition: all 0.22s cubic-bezier(0.34, 1.56, 0.64, 1);
}

/* Çerçevenin ince metalik iç pahı */
.inventory-slot::after {
  content: '';
  position: absolute;
  inset: 0;
  border-radius: inherit;
  border: 1px solid rgba(255, 255, 255, 0.12);
  pointer-events: none;
  z-index: 2;
}

/* İtem Resmi - Çerçeveye tam oturan (edge-to-edge) boşluksuz ve çift çerçevesiz yapı */
.inventory-slot img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
  display: block;
  border-radius: inherit;
  transition: transform 0.24s cubic-bezier(0.34, 1.56, 0.64, 1), filter 0.24s ease;
  pointer-events: none;
  z-index: 1;
}

/* 1. UNIQUE EŞYALAR (Rise Online Parlak Sarı / Turuncu Çanta Çerçevesi) */
.inventory-slot.slot-unique {
  border-color: #f59e0b !important;
  box-shadow: 
    0 0 10px rgba(245, 158, 11, 0.45),
    inset 0 0 4px rgba(245, 158, 11, 0.25) !important;
}
.card-item-hover:hover .inventory-slot.slot-unique,
.inventory-slot.slot-unique:hover {
  border-color: #fbbf24 !important;
  box-shadow: 
    0 0 18px rgba(245, 158, 11, 0.75),
    inset 0 0 8px rgba(251, 191, 36, 0.4) !important;
  transform: scale(1.08);
}
.card-item-hover:hover .inventory-slot.slot-unique img,
.inventory-slot.slot-unique:hover img {
  transform: scale(1.15);
}

/* 2. EPIC EŞYALAR (Rise Online Canlı Mor Çanta Çerçevesi) */
.inventory-slot.slot-epic {
  border-color: #a855f7 !important;
  box-shadow: 
    0 0 10px rgba(168, 85, 247, 0.45),
    inset 0 0 4px rgba(168, 85, 247, 0.25) !important;
}
.card-item-hover:hover .inventory-slot.slot-epic,
.inventory-slot.slot-epic:hover {
  border-color: #c084fc !important;
  box-shadow: 
    0 0 18px rgba(168, 85, 247, 0.75),
    inset 0 0 8px rgba(192, 132, 252, 0.4) !important;
  transform: scale(1.08);
}
.card-item-hover:hover .inventory-slot.slot-epic img,
.inventory-slot.slot-epic:hover img {
  transform: scale(1.15);
}

/* 3. CELESTIAL (Neon Camgöbeği / Kristalize) */
.inventory-slot.slot-celestial {
  border-color: #06b6d4 !important;
  box-shadow: 
    0 0 10px rgba(6, 182, 212, 0.45),
    inset 0 0 4px rgba(6, 182, 212, 0.25) !important;
}
.card-item-hover:hover .inventory-slot.slot-celestial,
.inventory-slot.slot-celestial:hover {
  border-color: #22d3ee !important;
  box-shadow: 
    0 0 20px rgba(6, 182, 212, 0.75),
    inset 0 0 8px rgba(34, 211, 238, 0.4) !important;
  transform: scale(1.08);
}
.card-item-hover:hover .inventory-slot.slot-celestial img,
.inventory-slot.slot-celestial:hover img {
  transform: scale(1.15);
}

/* 4. SUPREME (Rise Online Supreme Eşyalar - Parlak Altın / Kehribar Çerçeve) */
.inventory-slot.slot-supreme {
  border-color: #f59e0b !important;
  box-shadow: 
    0 0 14px rgba(245, 158, 11, 0.55),
    inset 0 0 6px rgba(245, 158, 11, 0.3) !important;
}
.card-item-hover:hover .inventory-slot.slot-supreme,
.inventory-slot.slot-supreme:hover {
  border-color: #fbbf24 !important;
  box-shadow: 
    0 0 22px rgba(245, 158, 11, 0.85),
    inset 0 0 10px rgba(251, 191, 36, 0.5) !important;
  transform: scale(1.08);
}
.card-item-hover:hover .inventory-slot.slot-supreme img,
.inventory-slot.slot-supreme:hover img {
  transform: scale(1.15);
}

/* 5. RARE (Mavi) */
.inventory-slot.slot-rare {
  border-color: #3b82f6 !important;
  box-shadow: 
    0 0 10px rgba(59, 130, 246, 0.4),
    inset 0 0 4px rgba(59, 130, 246, 0.25) !important;
}
.card-item-hover:hover .inventory-slot.slot-rare,
.inventory-slot.slot-rare:hover {
  border-color: #60a5fa !important;
  box-shadow: 
    0 0 18px rgba(59, 130, 246, 0.7),
    inset 0 0 8px rgba(96, 165, 250, 0.4) !important;
  transform: scale(1.08);
}
.card-item-hover:hover .inventory-slot.slot-rare img,
.inventory-slot.slot-rare:hover img {
  transform: scale(1.15);
}

/* 6. NORMAL / COMMON / BASIC (Gümüş / Çelik Çerçeve) */
.inventory-slot.slot-common,
.inventory-slot.slot-normal,
.inventory-slot.slot-basic {
  border-color: #64748b !important;
  box-shadow: 
    0 0 8px rgba(148, 163, 184, 0.4),
    inset 0 0 4px rgba(148, 163, 184, 0.2) !important;
}
.card-item-hover:hover .inventory-slot.slot-common,
.card-item-hover:hover .inventory-slot.slot-normal,
.card-item-hover:hover .inventory-slot.slot-basic,
.inventory-slot.slot-common:hover,
.inventory-slot.slot-normal:hover,
.inventory-slot.slot-basic:hover {
  border-color: #94a3b8 !important;
  box-shadow: 
    0 0 16px rgba(148, 163, 184, 0.65),
    inset 0 0 6px rgba(148, 163, 184, 0.35) !important;
  transform: scale(1.08);
}
.card-item-hover:hover .inventory-slot.slot-common img,
.card-item-hover:hover .inventory-slot.slot-normal img,
.card-item-hover:hover .inventory-slot.slot-basic img,
.inventory-slot.slot-common:hover img,
.inventory-slot.slot-normal:hover img,
.inventory-slot.slot-basic:hover img {
  transform: scale(1.15);
}

/* 7. KARAKTER PORTRESİ (İtemlerle Aynı Boyutta: 56x56 px) */
.inventory-slot.slot-char {
  width: 56px !important;
  height: 56px !important;
  border-radius: 8px !important;
}
.inventory-slot.slot-char img {
  width: 100% !important;
  height: 100% !important;
  object-fit: cover !important;
}
.inventory-slot.slot-char-lunaskar {
  border-color: #ef4444 !important;
  box-shadow: 
    0 0 10px rgba(239, 68, 68, 0.4),
    inset 0 0 4px rgba(239, 68, 68, 0.25) !important;
}
.inventory-slot.slot-char-lunaskar:hover,
.card-item-hover:hover .inventory-slot.slot-char-lunaskar {
  border-color: #f87171 !important;
  box-shadow: 
    0 0 18px rgba(239, 68, 68, 0.7),
    inset 0 0 8px rgba(248, 113, 113, 0.4) !important;
  transform: scale(1.08);
}
.inventory-slot.slot-char-lunaskar:hover img,
.card-item-hover:hover .inventory-slot.slot-char-lunaskar img {
  transform: scale(1.15);
}
.inventory-slot.slot-char-protean {
  border-color: #3b82f6 !important;
  box-shadow: 
    0 0 10px rgba(59, 130, 246, 0.4),
    inset 0 0 4px rgba(59, 130, 246, 0.25) !important;
}
.inventory-slot.slot-char-protean:hover,
.card-item-hover:hover .inventory-slot.slot-char-protean {
  border-color: #60a5fa !important;
  box-shadow: 
    0 0 18px rgba(59, 130, 246, 0.7),
    inset 0 0 8px rgba(96, 165, 250, 0.4) !important;
  transform: scale(1.08);
}
.inventory-slot.slot-char-protean:hover img,
.card-item-hover:hover .inventory-slot.slot-char-protean img {
  transform: scale(1.15);
}

/* Rozetler */
.badge-lunaskar {
  background: rgba(185, 28, 28, 0.2);
  border: 1px solid rgba(185, 28, 28, 0.45);
  color: #f87171;
}

.badge-protean {
  background: rgba(29, 78, 216, 0.2);
  border: 1px solid rgba(29, 78, 216, 0.45);
  color: #60a5fa;
}

.badge-gold {
  background: rgba(226, 183, 85, 0.15);
  border: 1px solid rgba(226, 183, 85, 0.4);
  color: #fbbf24;
}

.badge-relic {
  background: rgba(168, 85, 247, 0.22);
  border: 1px solid rgba(168, 85, 247, 0.55);
  color: #d8b4fe;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.2);
}

.badge-nyra {
  background: rgba(16, 185, 129, 0.22);
  border: 1px solid rgba(16, 185, 129, 0.55);
  color: #6ee7b7;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 700;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px rgba(16, 185, 129, 0.2);
}

.badge-np {
  background: linear-gradient(135deg, rgba(220, 38, 38, 0.25) 0%, rgba(217, 119, 6, 0.25) 100%);
  border: 1px solid rgba(245, 158, 11, 0.55);
  color: #fef08a;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px rgba(245, 158, 11, 0.2);
}

.badge-awake {
  background: rgba(14, 165, 233, 0.22);
  border: 1px solid rgba(56, 189, 248, 0.55);
  color: #7dd3fc;
  font-family: 'JetBrains Mono', monospace;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 0 8px rgba(56, 189, 248, 0.25);
}

.faction-icon-lunaskar {
  filter: drop-shadow(0 0 5px rgba(239, 68, 68, 0.9)) drop-shadow(0 0 10px rgba(249, 115, 22, 0.55));
}

.faction-icon-protean {
  filter: drop-shadow(0 0 5px rgba(56, 189, 248, 0.95)) drop-shadow(0 0 10px rgba(96, 165, 250, 0.55));
}

/* Butonlar */
.btn-bizesat {
  background: linear-gradient(135deg, #f59e0b 0%, #d97706 100%);
  color: #0c0f17;
  font-weight: 800;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 15px rgba(245, 158, 11, 0.4);
  transition: all 0.2s ease;
  font-family: 'Cinzel', serif;
}
.btn-bizesat:hover {
  background: linear-gradient(135deg, #fbbf24 0%, #f59e0b 100%);
  box-shadow: 0 6px 22px rgba(245, 158, 11, 0.6);
  transform: translateY(-1px);
}

.btn-whatsapp {
  background: linear-gradient(135deg, #25D366 0%, #128C7E 100%);
  color: white;
  transition: all 0.2s ease;
}
.btn-whatsapp:hover {
  filter: brightness(1.12);
  transform: translateY(-1px);
  box-shadow: 0 4px 16px rgba(37, 211, 102, 0.4);
}

/* Toast Bildirimleri (Chat butonunun üstünde durması için bottom: 84px) */
#toast-container {
  position: fixed;
  bottom: 84px;
  right: 20px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 260px;
  max-width: min(440px, calc(100vw - 40px));
  padding: 12px 16px;
  border-radius: 12px;
  box-shadow: 0 10px 25px -5px rgba(0, 0, 0, 0.6);
  animation: slideIn 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  display: flex;
  align-items: center;
  gap: 12px;
  font-family: 'Cinzel', serif;
}
@keyframes slideIn {
  from { transform: translateX(100%); opacity: 0; }
  to { transform: translateX(0); opacity: 1; }
}

/* Modal Arka Planı Blur */
.modal-backdrop {
  backdrop-filter: blur(8px);
  background-color: rgba(4, 6, 10, 0.88);
}

/* Özel Scrollbar */
::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
::-webkit-scrollbar-track {
  background: #07090e;
}
::-webkit-scrollbar-thumb {
  background: #1b2336;
  border: 1px solid rgba(226, 183, 85, 0.2);
  border-radius: 4px;
}
::-webkit-scrollbar-thumb:hover {
  background: #283652;
}

/* =================================================== */
/* CANLI PAZAR SOHBETİ & İTEM KARTLARI STİLLERİ       */
/* =================================================== */
#chat-collapsed-trigger {
  animation: pulseGlow 3s infinite ease-in-out;
}
@keyframes pulseGlow {
  0%, 100% { box-shadow: 0 0 15px rgba(226, 183, 85, 0.2); }
  50% { box-shadow: 0 0 25px rgba(226, 183, 85, 0.45); }
}

.chat-room-btn {
  transition: all 0.2s ease;
  white-space: nowrap;
}
.chat-room-btn.active {
  background-color: rgba(226, 183, 85, 0.2);
  color: #fcd34d;
  border: 1px solid rgba(226, 183, 85, 0.4);
}

.chat-bubble {
  position: relative;
  background: #0b0f19;
  border: 1px solid rgba(226, 183, 85, 0.2);
  border-radius: 12px;
  padding: 8px 10px;
  transition: border-color 0.2s;
}
.chat-bubble-self {
  border-color: rgba(226, 183, 85, 0.4);
  background: linear-gradient(135deg, #101625 0%, #0c111d 100%);
}
.chat-bubble:hover {
  border-color: rgba(226, 183, 85, 0.4);
}

/* Sohbette Paylaşılan Mini İtem Kartı */
.chat-item-card {
  margin-top: 6px;
  padding: 8px;
  border-radius: 10px;
  background: #07090e;
  border: 1px solid rgba(226, 183, 85, 0.35);
  display: flex;
  flex-direction: column;
  gap: 6px;
}
.chat-item-card:hover {
  border-color: #e2b755;
}
.chat-item-card .item-thumb {
  width: 32px;
  height: 32px;
  border-radius: 6px;
  background: #0d121f;
  border: 1px solid rgba(226, 183, 85, 0.3);
  object-fit: contain;
  padding: 2px;
}

/* Twitch Stili Fısıltı & Özel Mesajlar */
.whisper-bubble {
  max-width: 82%;
  padding: 8px 11px;
  border-radius: 12px;
  font-size: 12px;
  line-height: 1.35;
  word-break: break-word;
}
.whisper-bubble-incoming {
  align-self: flex-start;
  background: #0f1524;
  border: 1px solid rgba(148, 163, 184, 0.2);
  color: #e2e8f0;
  border-top-left-radius: 3px;
}
.whisper-bubble-outgoing {
  align-self: flex-end;
  background: linear-gradient(135deg, #2b1f07 0%, #1c1505 100%);
  border: 1px solid rgba(226, 183, 85, 0.45);
  color: #fef3c7;
  border-top-right-radius: 3px;
}
.dm-contact-item {
  padding: 8px 10px;
  border-radius: 10px;
  background: #090e1a;
  border: 1px solid rgba(226, 183, 85, 0.15);
  display: flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.2s;
}
.dm-contact-item:hover {
  background: #111a2e;
  border-color: rgba(226, 183, 85, 0.4);
}


/* =================================================== */
/* KAÇA SATILMIŞ? (RİSE ONLİNE SATIŞ GEÇMİŞİ) STİLLERİ */
/* =================================================== */
#btn-open-sold-history {
  position: relative;
  overflow: hidden;
  box-shadow: 0 0 12px rgba(226, 183, 85, 0.15);
}

#btn-open-sold-history::after {
  content: '';
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: linear-gradient(
    60deg,
    transparent 20%,
    rgba(226, 183, 85, 0.15) 50%,
    transparent 80%
  );
  transform: rotate(30deg);
  animation: shineGold 4s infinite linear;
  pointer-events: none;
}

@keyframes shineGold {
  0% { transform: translateX(-100%) rotate(30deg); }
  20%, 100% { transform: translateX(100%) rotate(30deg); }
}

.sold-server-btn {
  background-color: #0d1322;
  color: #94a3b8;
  border: 1px solid rgba(226, 183, 85, 0.2);
  transition: all 0.2s ease;
}

.sold-server-btn:hover {
  background-color: #141c30;
  color: #f1f5f9;
  border-color: rgba(226, 183, 85, 0.4);
}

.sold-server-btn.active {
  background: linear-gradient(135deg, rgba(226, 183, 85, 0.25) 0%, rgba(226, 183, 85, 0.1) 100%);
  color: #fcd34d;
  border: 1px solid rgba(226, 183, 85, 0.6);
  box-shadow: 0 0 10px rgba(226, 183, 85, 0.15);
}

.chart-server-btn {
  background-color: #0d1322;
  color: #94a3b8;
  border: 1px solid rgba(226, 183, 85, 0.2);
  transition: all 0.2s ease;
}

.chart-server-btn:hover {
  background-color: #141c30;
  color: #f1f5f9;
  border-color: rgba(226, 183, 85, 0.4);
}

.chart-server-btn.active {
  background: linear-gradient(135deg, rgba(226, 183, 85, 0.25) 0%, rgba(226, 183, 85, 0.1) 100%);
  color: #fcd34d;
  border: 1px solid rgba(226, 183, 85, 0.6);
  box-shadow: 0 0 10px rgba(226, 183, 85, 0.15);
}

.chart-days-btn,
.chart-level-btn,
.sold-job-btn {
  background-color: #0d1322;
  color: #94a3b8;
  border: 1px solid rgba(226, 183, 85, 0.2);
  transition: all 0.2s ease;
}

.chart-days-btn:hover,
.chart-level-btn:hover,
.sold-job-btn:hover {
  background-color: #141c30;
  color: #f1f5f9;
  border-color: rgba(226, 183, 85, 0.4);
}

.chart-days-btn.active,
.chart-level-btn.active,
.sold-job-btn.active {
  background: linear-gradient(135deg, rgba(226, 183, 85, 0.25) 0%, rgba(226, 183, 85, 0.1) 100%);
  color: #fcd34d;
  border: 1px solid rgba(226, 183, 85, 0.6);
  box-shadow: 0 0 10px rgba(226, 183, 85, 0.15);
}

.sold-chip {
  background-color: #0d1322;
  border: 1px solid rgba(226, 183, 85, 0.25);
  transition: all 0.18s ease;
}

.sold-chip:hover {
  background-color: #172138;
  border-color: rgba(226, 183, 85, 0.6);
  transform: translateY(-1px);
}

/* ==========================================================================
   KAYDIRMA ÇUBUKLARI (WINDOWS & MOBİL UYUMLU ŞIK SCROLLBAR)
   ========================================================================== */
.custom-scroll::-webkit-scrollbar {
  width: 6px;
  height: 6px;
}
.custom-scroll::-webkit-scrollbar-track {
  background: rgba(8, 12, 22, 0.7);
  border-radius: 8px;
}
.custom-scroll::-webkit-scrollbar-thumb {
  background: rgba(226, 183, 85, 0.35);
  border-radius: 8px;
}
.custom-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(226, 183, 85, 0.65);
}
.custom-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(226, 183, 85, 0.35) rgba(8, 12, 22, 0.7);
}

/* Yatay menülerde OS scrollbar'ını gizle, temiz kaydırma sağla */
.no-scrollbar::-webkit-scrollbar {
  display: none !important;
  height: 0 !important;
  width: 0 !important;
}
.no-scrollbar {
  -ms-overflow-style: none !important;
  scrollbar-width: none !important;
}

/* Popüler Trend Çipleri İçin İnce & Akıcı Yatay Kaydırma */
.trend-scroll::-webkit-scrollbar {
  height: 4px;
}
.trend-scroll::-webkit-scrollbar-track {
  background: rgba(8, 12, 22, 0.6);
  border-radius: 4px;
}
.trend-scroll::-webkit-scrollbar-thumb {
  background: rgba(226, 183, 85, 0.4);
  border-radius: 4px;
}
.trend-scroll::-webkit-scrollbar-thumb:hover {
  background: rgba(226, 183, 85, 0.8);
}
.trend-scroll {
  scrollbar-width: thin;
  scrollbar-color: rgba(226, 183, 85, 0.4) rgba(8, 12, 22, 0.6);
  -webkit-overflow-scrolling: touch;
}
