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

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

: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) */
.tab-row {
  background: rgba(14, 18, 28, 0.85);
  border: 1px solid rgba(255, 255, 255, 0.08);
  color: #94a3b8;
  transition: all 0.2s ease;
  font-family: 'Cinzel', serif;
}
.tab-row:hover {
  background: rgba(26, 32, 48, 0.95);
  color: #f1f5f9;
  border-color: rgba(226, 183, 85, 0.35);
}
.tab-row.active {
  background: linear-gradient(135deg, #e2b755 0%, #aa771c 100%);
  color: #0b0f19;
  font-weight: 800;
  border-color: #f7d788;
  box-shadow: 0 4px 16px rgba(226, 183, 85, 0.35);
}

/* İtem Slot Çerçevesi */
.item-slot {
  position: relative;
  background: radial-gradient(circle at center, #182235 0%, #080c14 100%);
  border: 1px solid rgba(226, 183, 85, 0.3);
  box-shadow: inset 0 0 12px rgba(0, 0, 0, 0.7);
  transition: all 0.2s ease;
}
.item-slot:hover {
  border-color: rgba(226, 183, 85, 0.6);
  box-shadow: inset 0 0 14px rgba(226, 183, 85, 0.2), 0 0 12px rgba(226, 183, 85, 0.2);
}

.item-slot.level-7 {
  border-color: rgba(245, 158, 11, 0.5);
  box-shadow: inset 0 0 14px rgba(245, 158, 11, 0.2), 0 0 10px rgba(245, 158, 11, 0.15);
}

.item-slot.level-8 {
  border-color: rgba(168, 85, 247, 0.6);
  box-shadow: inset 0 0 14px rgba(168, 85, 247, 0.25), 0 0 12px rgba(168, 85, 247, 0.2);
}

.item-slot.level-9, .item-slot.level-10 {
  border-color: rgba(239, 68, 68, 0.7);
  box-shadow: inset 0 0 16px rgba(239, 68, 68, 0.3), 0 0 15px rgba(239, 68, 68, 0.25);
}

/* 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);
}

/* 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 */
#toast-container {
  position: fixed;
  bottom: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}
.toast {
  pointer-events: auto;
  min-width: 280px;
  max-width: 440px;
  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: 8px;
  height: 8px;
}
::-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;
}
