@import url('https://fonts.googleapis.com/css2?family=Cinzel:wght@600;700&family=Plus+Jakarta+Sans:wght@400;500;600;700&display=swap');

:root {
  --bg-main: #0B0E14;
  --bg-card: #151A23;
  --bg-card-hover: #1E2532;
  --gold: #D4AF37;
  --gold-light: #F3E5AB;
  --text-main: #E2E8F0;
  --text-muted: #94A3B8;
  --border: rgba(212, 175, 55, 0.2);
  --radius: 14px;
}

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

body {
  background-color: var(--bg-main);
  color: var(--text-main);
  font-family: 'Plus Jakarta Sans', sans-serif;
  line-height: 1.6;
  display: flex;
  flex-direction: column;
  min-height: 100vh;
}

h1, h2, h3, .brand { font-family: 'Cinzel', serif; letter-spacing: 0.5px; }

.container { max-width: 1100px; margin: 0 auto; padding: 0 20px; flex: 1; width: 100%; }

header { padding: 24px 0; border-bottom: 1px solid var(--border); display: flex; justify-content: space-between; align-items: center; }

.brand { font-size: 1.5rem; font-weight: 700; color: var(--gold); text-decoration: none; }

.hero { text-align: center; padding: 60px 0 40px; }
.hero h1 { font-size: 2.4rem; color: #FFF; margin-bottom: 14px; }
.hero h1 span { color: var(--gold); }
.hero p { color: var(--text-muted); max-width: 600px; margin: 0 auto 30px; }

/* Arama Kutusu ve Canlı Arama */
.search-wrapper { position: relative; max-width: 580px; margin: 0 auto 50px; }
.search-box { position: relative; display: flex; flex-direction: column; }
.search-box input {
  width: 100%; padding: 16px 20px; padding-right: 140px;
  background: var(--bg-card); border: 1px solid var(--border);
  border-radius: var(--radius); color: #FFF; font-size: 1rem; outline: none; transition: border-color 0.2s;
}
.search-box input:focus { border-color: var(--gold); }
.search-box button {
  position: absolute; right: 8px; top: 8px; bottom: 8px; padding: 0 25px;
  background: var(--gold); color: #000; font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700; font-size: 1rem; border: none; border-radius: 8px; cursor: pointer; transition: opacity 0.2s;
}
.search-box button:hover { opacity: 0.9; }

.live-search-results {
  position: absolute; top: 100%; left: 0; width: 100%;
  background: #0B0E14; border: 1px solid var(--border); border-radius: var(--radius);
  margin-top: 8px; box-shadow: 0 10px 25px rgba(0,0,0,0.8); z-index: 1000; display: none; overflow: hidden; text-align: left;
}
.live-item {
  display: flex; align-items: center; padding: 12px 16px; border-bottom: 1px solid var(--border);
  text-decoration: none; color: var(--text-main); transition: background 0.2s;
}
.live-item:hover { background: #151A23; }
.live-icon {
  width: 36px; height: 36px; background: rgba(212, 175, 55, 0.1); color: var(--gold); border-radius: 8px;
  display: flex; align-items: center; justify-content: center; font-weight: bold; font-family: 'Cinzel', serif; margin-right: 14px; flex-shrink: 0;
}
.live-info h4 { font-size: 0.95rem; color: var(--gold-light); margin-bottom: 2px; }
.live-info p { font-size: 0.8rem; color: var(--text-muted); margin: 0; white-space: nowrap; overflow: hidden; text-overflow: ellipsis; max-width: 420px; }
.live-search-footer { background: #151A23; padding: 12px 16px; text-align: center; border-top: 1px solid var(--border); }
.live-search-footer a { color: var(--gold); text-decoration: none; font-weight: bold; font-size: 0.9rem; display: flex; justify-content: space-between; align-items: center; }
.live-search-footer a:hover { color: #FFF; }

.section-title { font-size: 1.6rem; color: var(--gold); margin-bottom: 24px; display: flex; align-items: center; justify-content: center; text-align: center; gap: 12px; }
.section-title::before, .section-title::after { content: ''; flex: 1; height: 1px; background: var(--border); }

/* Burçlar Grid */
.zodiac-grid { display: flex; flex-wrap: wrap; justify-content: center; gap: 14px; margin-bottom: 60px; }
.zodiac-card {
  width: 135px; background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius);
  padding: 18px 12px; text-align: center; text-decoration: none; color: var(--text-main); transition: all 0.2s ease;
}
.zodiac-card:hover { background: var(--bg-card-hover); border-color: var(--gold); transform: translateY(-3px); }
.zodiac-icon { font-size: 1.8rem; margin-bottom: 6px; display: block; }
.zodiac-name { font-weight: 600; font-size: 0.95rem; }
.zodiac-date { font-size: 0.75rem; color: var(--text-muted); }

/* Psikoloji Kartları */
.psycho-grid { display: grid; grid-template-columns: repeat(auto-fit, minmax(250px, 1fr)); gap: 20px; margin-bottom: 60px; }
.psycho-card { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 25px; text-align: left; transition: transform 0.3s; }
.psycho-card:hover { transform: translateY(-5px); border-color: var(--gold); }
.psycho-card h3 { color: var(--gold); margin-bottom: 5px; font-size: 1.2rem; display: flex; align-items: center; gap: 8px; }
.psycho-card span { display: block; color: var(--gold-light); font-size: 0.85rem; margin-bottom: 15px; font-weight: bold; border-bottom: 1px solid rgba(212, 175, 55, 0.2); padding-bottom: 8px; }
.psycho-card p { color: var(--text-main); font-size: 0.95rem; font-style: italic; line-height: 1.7; }

/* Tarot Bölümü */
.tarot-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; text-align: center; margin-bottom: 60px; }
.cards-deck { display: flex; justify-content: center; gap: 20px; margin: 30px 0; flex-wrap: wrap; }
.tarot-card-slot {
  width: 140px; height: 220px; border: 2px dashed rgba(212, 175, 55, 0.4); border-radius: 12px; display: flex; flex-direction: column;
  align-items: center; justify-content: center; color: var(--text-muted); cursor: pointer; transition: all 0.3s; background: rgba(11, 14, 20, 0.5); font-size: 1.2rem; padding: 5px;
}
.tarot-card-slot span { font-size: 2.5rem; margin-bottom: 10px; }
.tarot-card-slot:hover { border-color: var(--gold); background: rgba(212, 175, 55, 0.05); color: var(--gold-light); }
.tarot-img { width: 100%; height: 160px; object-fit: contain; border-radius: 8px 8px 0 0; margin-bottom: 5px; }

/* Kahve Falı Bölümü */
.kahve-section { background: var(--bg-card); border: 1px solid var(--border); border-radius: 20px; padding: 40px; text-align: center; margin-bottom: 60px; }
.kahve-icon { font-size: 4rem; margin-bottom: 15px; display: inline-block; animation: float 3s ease-in-out infinite; }
@keyframes float { 0% { transform: translateY(0px); } 50% { transform: translateY(-15px); } 100% { transform: translateY(0px); } }

/* Butonlar ve Ortak Elemanlar */
.action-btn {
  background: transparent; color: var(--gold); font-family: 'Cinzel', serif; font-weight: 700; font-size: 1.2rem;
  letter-spacing: 1px; padding: 14px 45px; border: 2px solid var(--gold); border-radius: 30px; cursor: pointer; transition: all 0.3s ease; display: inline-block; margin-top: 10px;
}
.action-btn:hover { background: var(--gold); color: #0B0E14; box-shadow: 0 0 15px rgba(212, 175, 55, 0.4); }

.detail-box { background: var(--bg-card); border: 1px solid var(--border); border-radius: var(--radius); padding: 40px; margin-top: 30px; margin-bottom: 40px; }
.detail-header { display: flex; justify-content: space-between; align-items: center; border-bottom: 1px solid var(--border); padding-bottom: 20px; margin-bottom: 20px; }
.detail-box p { font-size: 1.1rem; line-height: 1.8; color: #E2E8F0; margin-bottom: 20px; }
.back-btn { display: inline-block; margin-bottom: 20px; color: var(--text-muted); text-decoration: none; font-weight: 500; transition: color 0.2s; }
.back-btn:hover { color: #FFF; }

/* Arama Sonuçları Liste Görünümü (Mavi linkleri ezer) */
.search-results-list { display: flex; flex-direction: column; gap: 15px; }
.search-results-list a { text-decoration: none !important; }
.arama-sonuc-kart {
  display: block; background: var(--bg-card); border: 1px solid var(--border);
  padding: 20px; border-radius: var(--radius); color: var(--text-main);
  transition: all 0.2s; text-decoration: none !important;
}
.arama-sonuc-kart:hover { border-color: var(--gold); background: var(--bg-card-hover); }
.arama-sonuc-kart h3 { color: var(--gold-light) !important; margin-bottom: 8px; font-size: 1.1rem; }
.arama-sonuc-kart p { color: var(--text-muted) !important; font-size: 0.9rem; line-height: 1.6; margin: 0; }

/* Footer */
footer { background: var(--bg-card); border-top: 1px solid var(--border); padding: 30px 20px; text-align: center; margin-top: auto; }
.footer-links { display: flex; justify-content: center; flex-wrap: wrap; gap: 20px; margin-bottom: 15px; }
.footer-links a { color: var(--text-muted); text-decoration: none; font-size: 0.9rem; transition: color 0.2s; }
.footer-links a:hover { color: var(--gold); }
.footer-copy { color: #64748B; font-size: 0.85rem; }

/* Mobil Uyumluluk */
@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .search-box input { padding-right: 20px; margin-bottom: 15px; }
  .search-box button { position: static; width: 100%; padding: 15px; }
  .cards-deck { gap: 15px; }
  .tarot-card-slot { width: 105px; height: 180px; font-size: 0.8rem; }
  .tarot-card-slot span { font-size: 1.8rem; }
  .tarot-img { height: 110px; } 
  .detail-box { padding: 20px; }
  .detail-header { flex-direction: column; align-items: flex-start; gap: 10px; }
  .zodiac-card { width: calc(50% - 14px); } 
  .section-title { font-size: 1.3rem; }
}