/* ═══════════════════════════════════════════════════════
   ELDRAVAN MEMORY CARDS — Witcher Style Romance Cards
   Sıfırdan tasarım — Temiz, karartmasız, süslü çerçeveli
   ═══════════════════════════════════════════════════════ */

/* ── Sayfa ── */
.memory-page {
  width: 100%;
  min-height: 100%;
  height: 100%;
  padding: 40px 30px 80px;
  box-sizing: border-box;
  overflow-y: auto;
  color: #e8e0d0;
  /* background: #0a0a0a;  <-- Kaldirildi, blurlu arka plani gizlemesin diye */
  position: relative;
  z-index: 0;
}

/* Blurlu harita arka planı */
.memory-page::before {
  content: "";
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: url('/Harita.png') no-repeat center center;
  background-size: cover;
  filter: blur(6px) brightness(0.3);
  z-index: -1;
  pointer-events: none;
}

.memory-content {
  position: relative;
  z-index: 2;
  max-width: 1300px;
  margin: 0 auto;
}

/* ── Başlık ── */
.memory-header {
  text-align: center;
  margin-bottom: 50px;
}

.memory-title {
  font-family: 'Cinzel', 'Times New Roman', serif;
  font-size: 2.8rem;
  color: #d4a84b;
  letter-spacing: 6px;
  text-transform: uppercase;
  margin-bottom: 8px;
}

.memory-subtitle {
  font-size: 1rem;
  color: #8a7a60;
  font-style: italic;
  letter-spacing: 2px;
}

/* ── Filtre Butonları ── */
.memory-filters {
  display: flex;
  gap: 12px;
  justify-content: center;
  align-items: center;
  margin-bottom: 50px;
  flex-wrap: wrap;
}

.mc-filter-btn {
  background: transparent;
  border: 1px solid #3a3020;
  color: #8a7a60;
  padding: 8px 22px;
  cursor: pointer;
  border-radius: 2px;
  font-family: 'Cinzel', serif;
  font-size: 0.85rem;
  letter-spacing: 1px;
  transition: all 0.3s;
}

.mc-filter-btn:hover {
  border-color: #d4a84b;
  color: #d4a84b;
}

.mc-filter-btn.active {
  border-color: #d4a84b;
  color: #d4a84b;
  background: rgba(212, 168, 75, 0.08);
}

/* ── Kategori ── */
.mc-category {
  margin-bottom: 60px;
}

.mc-category-header {
  margin-bottom: 30px;
  text-align: center;
}

.mc-category-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: #c9a54e;
  letter-spacing: 3px;
}

.mc-category-desc {
  color: #6a5a40;
  font-size: 0.9rem;
  margin-top: 6px;
  font-style: italic;
}

/* ── Kart Grid ── */
.mc-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(260px, 1fr));
  gap: 40px;
  justify-items: center;
}

/* ══════════════════════════════════════
   KART — Witcher Tarzı Çerçeve
   ══════════════════════════════════════ */
.mc-card {
  position: relative;
  width: 260px;
  height: 400px;
  cursor: pointer;
  transition: transform 0.4s ease;
  /* Çerçeve: altın/bronz dış kenarlık */
  border: 3px solid #5a4a28;
  border-radius: 6px;
  background: #0d0d0d;
  box-shadow:
    0 0 0 1px #2a2010,
    0 8px 30px rgba(0,0,0,0.7);
  overflow: hidden;
}

.mc-card::before {
  /* İç çerçeve — ince altın çizgi */
  content: "";
  position: absolute;
  top: 4px; left: 4px; right: 4px; bottom: 4px;
  border: 1px solid rgba(212, 168, 75, 0.25);
  border-radius: 3px;
  z-index: 5;
  pointer-events: none;
}

.mc-card:hover {
  transform: translateY(-6px) scale(1.02);
  border-color: #d4a84b;
  box-shadow:
    0 0 0 1px #d4a84b,
    0 0 25px rgba(212, 168, 75, 0.15),
    0 15px 40px rgba(0,0,0,0.8);
}

.mc-card:hover::before {
  border-color: rgba(212, 168, 75, 0.5);
}

/* ── Kart Görseli ── */
.mc-card-image {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

/* ══════════════════════════════════════
   KİLİTLİ KART
   ══════════════════════════════════════ */
.mc-card.locked .mc-card-image {
  filter: blur(8px) grayscale(80%) brightness(0.25);
}

.mc-card-overlay {
  position: absolute;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.55);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  z-index: 4;
}

.mc-lock-icon {
  font-size: 3rem;
  color: rgba(212, 168, 75, 0.2);
  font-family: serif;
  margin-bottom: 12px;
}

.mc-locked-title {
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  color: #8a7a60;
  letter-spacing: 2px;
  text-transform: uppercase;
}

/* ══════════════════════════════════════
   AÇILMIŞ KART — SIFIR KARATMA
   Overlay yok, filtre yok, sadece görsel
   ══════════════════════════════════════ */

/* Label: kartın altında şeffaf bir isim bandı */
.mc-card-label {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  padding: 10px 14px 12px;
  background: linear-gradient(to top, rgba(0,0,0,0.7) 0%, transparent 100%);
  z-index: 4;
  pointer-events: none;
}

.mc-card-label .mc-card-title {
  font-family: 'Cinzel', serif;
  font-size: 1.1rem;
  color: #d4a84b;
  text-shadow: 0 1px 4px rgba(0,0,0,0.9);
  margin-bottom: 2px;
}

.mc-card-label .mc-card-short {
  font-size: 0.78rem;
  color: #ccc;
  font-weight: bold;
  text-shadow: 0 1px 3px rgba(0,0,0,0.9);
}

/* ── Reveal Animasyonu ── */
.mc-revealing .mc-card-image {
  animation: mcFlashReveal 1.5s forwards;
}

@keyframes mcFlashReveal {
  0%   { filter: blur(8px) grayscale(80%) brightness(0.25); }
  30%  { filter: blur(3px) grayscale(30%) brightness(1.4); }
  100% { filter: none; }
}

/* ══════════════════════════════════════
   MODAL — Tam Ekran Görüntüleme
   ══════════════════════════════════════ */
.mc-modal-overlay {
  position: fixed;
  top: 0; left: 0; right: 0; bottom: 0;
  background: rgba(0, 0, 0, 0.92);
  z-index: 9999;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.3s;
}

.mc-modal-overlay.active {
  opacity: 1;
  pointer-events: auto;
}

.mc-modal {
  background: #111;
  border: 1px solid #3a3020;
  border-radius: 6px;
  padding: 30px;
  max-width: 750px;
  width: 95%;
  text-align: center;
  position: relative;
}

.mc-modal-close {
  position: absolute;
  top: 10px;
  right: 15px;
  cursor: pointer;
  color: #8a7a60;
  font-size: 1.8rem;
  transition: color 0.2s;
}
.mc-modal-close:hover { color: #d4a84b; }

.mc-modal-img {
  width: 100%;
  max-height: 70vh;
  object-fit: contain;
  margin-bottom: 20px;
  border-radius: 4px;
  border: 2px solid #3a3020;
}

.mc-modal-title {
  font-family: 'Cinzel', serif;
  color: #d4a84b;
  font-size: 1.6rem;
  margin-bottom: 12px;
  letter-spacing: 2px;
}

.mc-modal-story {
  color: #b0a080;
  font-size: 0.95rem;
  line-height: 1.7;
  margin-bottom: 20px;
  text-align: justify;
}

/* ── Responsive ── */
@media (max-width: 700px) {
  .mc-grid {
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 25px;
  }
  .mc-card {
    width: 200px;
    height: 310px;
  }
}
