@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; }

.search-box {
  max-width: 580px;
  margin: 0 auto 50px;
  position: relative;
}
.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); }

/* YENİ: Tabir Et Butonu */
.search-box button {
  position: absolute;
  right: 8px;
  top: 8px;
  bottom: 8px;
  padding: 0 30px;
  background: #E2E8F0; 
  color: #0B0E14;
  font-family: 'Plus Jakarta Sans', sans-serif;
  font-weight: 700;
  font-size: 1rem;
  border: none;
  border-radius: 8px;
  cursor: pointer;
  transition: background 0.2s;
}
.search-box button:hover { background: #FFF; }

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

.zodiac-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(130px, 1fr));
  gap: 14px;
  margin-bottom: 60px;
}
.zodiac-card {
  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); }

.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;
}
.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);
}

/* YENİ: Falı Yorumla Butonu */
.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(--gold); text-decoration: none; font-weight: bold; }

.arama-sonuc-kart {
  display: block;
  background: var(--bg-card);
  border: 1px solid var(--border);
  padding: 20px;
  border-radius: var(--radius);
  margin-bottom: 15px;
  color: var(--text-main);
  text-decoration: none;
  transition: all 0.2s;
}
.arama-sonuc-kart:hover {
  border-color: var(--gold);
  background: var(--bg-card-hover);
}
.arama-sonuc-kart h3 { color: var(--gold-light); margin-bottom: 8px; }

footer {
  background: var(--bg-card);
  border-top: 1px solid var(--border);
  padding: 30px 20px;
  text-align: center;
  margin-top: auto;
  margin-bottom: 60px; /* Çerez barı için boşluk */
}
.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; }

@media (max-width: 600px) {
  .hero h1 { font-size: 1.8rem; }
  .cards-deck { gap: 15px; }
  .tarot-card-slot { width: 100px; height: 160px; font-size: 0.9rem; }
  .tarot-card-slot span { font-size: 1.8rem; }
  .detail-box { padding: 20px; }
  .detail-header { flex-direction: column; align-items: flex-start; gap: 10px; }
}