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

/* ─── CSS Variables ─────────────────────────────────────── */
:root {
  --bg-deep: #05030f;
  --bg-mid: #0d0920;
  --bg-card: rgba(255,255,255,0.035);
  --bg-card-hover: rgba(255,255,255,0.07);
  --border: rgba(255,255,255,0.07);
  --border-glow: rgba(168,85,247,0.45);
  --border-gold: rgba(245,158,11,0.35);
  --purple: #a855f7;
  --purple-light: #c084fc;
  --purple-dark: #7c3aed;
  --purple-ultra: #d8b4fe;
  --gold: #f59e0b;
  --gold-light: #fcd34d;
  --gold-bright: #ffe085;
  --text-primary: #f5f0ff;
  --text-secondary: #c4b5fd;
  --text-muted: #7c6a9e;
  --success: #10b981;
  --error: #ef4444;
  --warning: #f59e0b;
  --danger: #ef4444;
  --radius: 18px;
  --radius-sm: 12px;
  --radius-xs: 8px;
  --shadow-glow: 0 0 40px rgba(168,85,247,0.25);
  --shadow-card: 0 8px 40px rgba(0,0,0,0.5);
  --shadow-gold: 0 0 30px rgba(245,158,11,0.2);
  --transition: all 0.3s cubic-bezier(0.4,0,0.2,1);
  --transition-slow: all 0.6s cubic-bezier(0.4,0,0.2,1);
}

/* ─── Reset & Base ──────────────────────────────────────── */
*, *::before, *::after { box-sizing: border-box; margin: 0; padding: 0; }
html { scroll-behavior: smooth; }

body {
  font-family: 'Inter', 'Lato', sans-serif;
  background: var(--bg-deep);
  color: var(--text-primary);
  min-height: 100vh;
  overflow-x: hidden;
  line-height: 1.6;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
}

/* ─── Animated Nebula Background ────────────────────────── */
body::before {
  content: '';
  position: fixed;
  inset: 0;
  background:
    radial-gradient(ellipse 70% 55% at 15% 5%, rgba(120,40,200,0.18) 0%, transparent 65%),
    radial-gradient(ellipse 50% 40% at 85% 15%, rgba(60,20,140,0.12) 0%, transparent 60%),
    radial-gradient(ellipse 60% 50% at 75% 85%, rgba(30,10,80,0.25) 0%, transparent 60%),
    radial-gradient(ellipse 80% 60% at 50% 110%, rgba(80,20,160,0.1) 0%, transparent 55%),
    radial-gradient(ellipse 100% 100% at 50% 50%, rgba(5,3,15,1) 0%, transparent 100%);
  pointer-events: none;
  z-index: 0;
  animation: nebula-shift 20s ease-in-out infinite alternate;
}

@keyframes nebula-shift {
  0%   { opacity: 1; }
  50%  { opacity: 0.75; }
  100% { opacity: 1; }
}

body::after {
  content: '';
  position: fixed;
  inset: 0;
  background: 
    radial-gradient(circle 300px at 20% 80%, rgba(168,85,247,0.06) 0%, transparent 70%),
    radial-gradient(circle 200px at 80% 20%, rgba(245,158,11,0.04) 0%, transparent 70%);
  pointer-events: none;
  z-index: 0;
  animation: nebula-shift 15s ease-in-out infinite alternate-reverse;
}

/* ─── Stars Background ──────────────────────────────────── */
#stars-canvas {
  position: fixed;
  inset: 0;
  z-index: 0;
  pointer-events: none;
  opacity: 0.7;
}

/* ─── Page Load Animation ───────────────────────────────── */
@keyframes page-fade-in {
  from { opacity: 0; transform: translateY(12px); }
  to   { opacity: 1; transform: translateY(0); }
}

.fade-in-section {
  opacity: 0;
  transform: translateY(20px);
  transition: opacity 0.7s ease, transform 0.7s ease;
}
.fade-in-section.visible {
  opacity: 1;
  transform: translateY(0);
}

/* ─── Layout ────────────────────────────────────────────── */
.container {
  position: relative;
  z-index: 1;
  max-width: 920px;
  margin: 0 auto;
  padding: 0 24px;
}

/* ─── Header ────────────────────────────────────────────── */
header {
  text-align: center;
  padding: 70px 24px 48px;
  position: relative;
  z-index: 1;
  animation: page-fade-in 0.9s ease both;
}

.header-emblem {
  font-size: 3rem;
  margin-bottom: 16px;
  display: block;
  filter: drop-shadow(0 0 20px rgba(245,158,11,0.6));
  animation: float 4s ease-in-out infinite;
}

.site-title {
  font-family: 'Cinzel', serif;
  font-size: clamp(2rem, 5.5vw, 3.8rem);
  font-weight: 900;
  background: linear-gradient(135deg, var(--gold-bright) 0%, var(--purple-ultra) 40%, var(--gold-light) 70%, var(--purple-light) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  letter-spacing: 0.06em;
  margin-bottom: 14px;
  filter: drop-shadow(0 0 25px rgba(168,85,247,0.5));
  line-height: 1.1;
}

.site-subtitle {
  color: var(--text-secondary);
  font-size: 0.95rem;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  opacity: 0.8;
  font-weight: 300;
}

/* Altın ayraç çizgisi */
.header-divider {
  width: 120px;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--gold), transparent);
  margin: 18px auto 0;
  opacity: 0.6;
}

/* ─── Status Bar ────────────────────────────────────────── */
#status-bar {
  display: flex;
  gap: 12px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 44px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  animation: page-fade-in 0.9s 0.15s ease both;
}

.status-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  padding: 8px 18px;
  background: rgba(255,255,255,0.03);
  border: 1px solid var(--border);
  border-radius: 100px;
  font-size: 0.82rem;
  color: var(--text-secondary);
  backdrop-filter: blur(16px);
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.02em;
}

.status-pill.warning { border-color: rgba(245,158,11,0.35); color: var(--gold); }
.status-pill.success { border-color: rgba(16,185,129,0.35); color: var(--success); }
.status-pill.danger  { border-color: rgba(239,68,68,0.35); color: var(--error); }

.status-dot {
  width: 7px; height: 7px;
  border-radius: 50%;
  background: var(--success);
  animation: pulse-dot 2.5s infinite;
  flex-shrink: 0;
}
.status-dot.warning { background: var(--warning); }
.status-dot.danger  { background: var(--error); }

@keyframes pulse-dot {
  0%, 100% { opacity: 1; transform: scale(1); box-shadow: 0 0 0 0 rgba(16,185,129,0.4); }
  50%       { opacity: 0.7; transform: scale(0.85); box-shadow: 0 0 0 4px rgba(16,185,129,0); }
}

/* ─── Ban Overlay ───────────────────────────────────────── */
#ban-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}
#ban-overlay.active { display: flex; }

.ban-card {
  background: linear-gradient(135deg, rgba(239,68,68,0.08), rgba(15,8,30,0.95));
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  padding: 52px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 80px rgba(239,68,68,0.15), 0 30px 60px rgba(0,0,0,0.6);
  animation: ban-appear 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}

@keyframes ban-appear {
  from { transform: scale(0.85) translateY(20px); opacity: 0; }
  to   { transform: scale(1) translateY(0); opacity: 1; }
}

.ban-icon { font-size: 4.5rem; margin-bottom: 20px; display: block; }
.ban-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: var(--error);
  margin-bottom: 14px;
  letter-spacing: 0.05em;
}
.ban-reason { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; font-size: 0.95rem; }
.ban-timer {
  font-size: 1rem;
  color: var(--gold);
  font-weight: 600;
  padding: 14px 24px;
  background: rgba(245,158,11,0.08);
  border-radius: var(--radius-sm);
  border: 1px solid rgba(245,158,11,0.2);
  font-family: 'Inter', sans-serif;
}

/* ─── VPN Overlay (ayrı, sarı tonlu) ───────────────────── */
#vpn-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.88);
  z-index: 10000;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(12px);
}
#vpn-overlay.active { display: flex; }

.vpn-card {
  background: linear-gradient(135deg, rgba(245,158,11,0.08), rgba(15,8,30,0.95));
  border: 1px solid rgba(245,158,11,0.3);
  border-radius: var(--radius);
  padding: 52px 40px;
  max-width: 500px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 80px rgba(245,158,11,0.12), 0 30px 60px rgba(0,0,0,0.6);
  animation: ban-appear 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
.vpn-icon { font-size: 4rem; margin-bottom: 20px; display: block; }
.vpn-title {
  font-family: 'Cinzel', serif;
  font-size: 1.5rem;
  color: var(--gold);
  margin-bottom: 14px;
}
.vpn-desc { color: var(--text-secondary); margin-bottom: 20px; line-height: 1.7; font-size: 0.95rem; }

/* ─── AdBlock Overlay (kırmızı, farklı) ────────────────── */
#adblock-overlay {
  display: none;
  position: fixed;
  inset: 0;
  background: rgba(0,0,0,0.92);
  z-index: 9999999;
  align-items: center;
  justify-content: center;
  backdrop-filter: blur(16px);
  flex-direction: column;
}
#adblock-overlay.active { display: flex; }

.adblock-card {
  background: linear-gradient(135deg, rgba(239,68,68,0.06), rgba(10,5,20,0.97));
  border: 1px solid rgba(239,68,68,0.25);
  border-radius: var(--radius);
  padding: 52px 40px;
  max-width: 520px;
  width: 90%;
  text-align: center;
  box-shadow: 0 0 100px rgba(239,68,68,0.1), 0 30px 60px rgba(0,0,0,0.7);
  animation: ban-appear 0.4s cubic-bezier(0.34,1.56,0.64,1) both;
}
.adblock-icon { font-size: 4.5rem; margin-bottom: 20px; display: block; }
.adblock-title {
  font-family: 'Cinzel', serif;
  font-size: 1.6rem;
  color: #ff6b6b;
  margin-bottom: 14px;
}
.adblock-steps {
  text-align: left;
  background: rgba(239,68,68,0.05);
  border: 1px solid rgba(239,68,68,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin: 16px 0 24px;
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 2;
}
.adblock-steps strong { color: #fca5a5; }
.adblock-btn {
  padding: 14px 32px;
  background: linear-gradient(135deg, #dc2626, #991b1b);
  border: none;
  border-radius: 100px;
  color: white;
  font-weight: 700;
  font-size: 1rem;
  cursor: pointer;
  transition: var(--transition);
  font-family: 'Cinzel', serif;
  letter-spacing: 0.05em;
  box-shadow: 0 4px 20px rgba(220,38,38,0.4);
}
.adblock-btn:hover { transform: translateY(-2px); box-shadow: 0 8px 30px rgba(220,38,38,0.5); }

/* ─── Step Indicator ─────────────────────────────────────── */
.steps {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 0;
  margin-bottom: 52px;
  padding: 0 24px;
  position: relative;
  z-index: 1;
  animation: page-fade-in 0.9s 0.25s ease both;
}

.step {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 8px;
}

.step-num {
  width: 38px; height: 38px;
  border-radius: 50%;
  border: 2px solid var(--border);
  display: flex; align-items: center; justify-content: center;
  font-size: 0.85rem;
  font-weight: 700;
  color: var(--text-muted);
  background: var(--bg-mid);
  transition: var(--transition);
}

.step.active .step-num {
  border-color: var(--purple);
  color: var(--purple-light);
  background: rgba(168,85,247,0.12);
  box-shadow: 0 0 20px rgba(168,85,247,0.35), inset 0 0 10px rgba(168,85,247,0.1);
}

.step.done .step-num {
  border-color: var(--success);
  background: rgba(16,185,129,0.15);
  color: var(--success);
}

.step-label {
  font-size: 0.68rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.1em;
  text-align: center;
  white-space: nowrap;
  font-family: 'Inter', sans-serif;
}
.step.active .step-label { color: var(--text-secondary); }

.step-line {
  width: 64px; height: 2px;
  background: var(--border);
  margin-bottom: 22px;
  transition: var(--transition-slow);
  border-radius: 2px;
}
.step-line.done { background: linear-gradient(90deg, var(--success), var(--purple)); }

/* ─── Section Title ─────────────────────────────────────── */
.section-title {
  font-family: 'Cinzel', serif;
  font-size: 1.05rem;
  color: var(--text-secondary);
  text-align: center;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  margin-bottom: 32px;
  display: flex;
  align-items: center;
  gap: 16px;
}
.section-title::before, .section-title::after {
  content: '';
  flex: 1;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--border-glow), transparent);
}

/* ─── Question Form ─────────────────────────────────────── */
#question-section {
  padding: 0 24px;
  margin-bottom: 52px;
  animation: page-fade-in 0.9s 0.35s ease both;
}

.question-card {
  background: linear-gradient(135deg, rgba(168,85,247,0.04) 0%, rgba(255,255,255,0.03) 100%);
  border: 1px solid var(--border);
  border-radius: var(--radius);
  padding: 36px;
  backdrop-filter: blur(24px);
  box-shadow: var(--shadow-card);
  transition: var(--transition);
  position: relative;
  overflow: hidden;
}

.question-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, rgba(168,85,247,0.6), transparent);
  opacity: 0;
  transition: var(--transition);
}

.question-card:focus-within {
  border-color: var(--border-glow);
  box-shadow: var(--shadow-card), 0 0 30px rgba(168,85,247,0.12), inset 0 0 40px rgba(168,85,247,0.02);
}
.question-card:focus-within::before { opacity: 1; }

.question-label {
  display: block;
  font-size: 0.92rem;
  color: var(--text-secondary);
  margin-bottom: 14px;
  letter-spacing: 0.04em;
  font-weight: 400;
}

#question-input {
  width: 100%;
  background: rgba(255,255,255,0.03);
  border: 1px solid rgba(255,255,255,0.08);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  color: var(--text-primary);
  font-family: 'Inter', sans-serif;
  font-size: 1rem;
  resize: vertical;
  min-height: 100px;
  max-height: 220px;
  transition: var(--transition);
  outline: none;
  line-height: 1.7;
}
#question-input::placeholder { color: var(--text-muted); opacity: 0.7; }
#question-input:focus {
  border-color: rgba(168,85,247,0.45);
  background: rgba(168,85,247,0.03);
}

.question-hint {
  margin-top: 12px;
  font-size: 0.78rem;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 6px;
}

.char-count {
  margin-left: auto;
  font-size: 0.75rem;
  color: var(--text-muted);
  transition: var(--transition);
  font-family: 'Inter', monospace;
}
.char-count.warning { color: var(--warning); }
.char-count.danger  { color: var(--error); }

/* ─── Card Selection Area ───────────────────────────────── */
#card-section { padding: 0 24px; margin-bottom: 52px; }

.card-instruction {
  text-align: center;
  color: var(--text-secondary);
  font-size: 0.9rem;
  margin-bottom: 28px;
  opacity: 0.8;
  font-family: 'Inter', sans-serif;
}

.card-counter { text-align: center; margin-bottom: 20px; }
.card-counter-badge {
  display: inline-flex;
  align-items: center;
  gap: 10px;
  padding: 7px 20px;
  background: rgba(168,85,247,0.09);
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  font-size: 0.84rem;
  color: var(--purple-light);
  font-family: 'Inter', sans-serif;
}

/* Fan / Deck Area */
#deck-container {
  position: relative;
  height: 250px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: visible;
  margin-bottom: 36px;
}

.deck-shuffle-btn {
  position: absolute;
  top: 50%; left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  cursor: pointer;
  padding: 24px 40px;
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(124,58,237,0.08));
  border: 1px solid var(--border-glow);
  border-radius: var(--radius);
  color: var(--purple-light);
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.06em;
  transition: var(--transition);
  backdrop-filter: blur(16px);
  box-shadow: 0 4px 24px rgba(168,85,247,0.1), inset 0 1px 0 rgba(255,255,255,0.06);
}

.deck-shuffle-btn:hover {
  background: linear-gradient(135deg, rgba(168,85,247,0.28), rgba(124,58,237,0.18));
  box-shadow: 0 0 40px rgba(168,85,247,0.35), inset 0 1px 0 rgba(255,255,255,0.1);
  transform: translate(-50%, -50%) scale(1.04) translateY(-3px);
  border-color: rgba(168,85,247,0.7);
}

.deck-shuffle-btn .shuffle-icon {
  font-size: 2.8rem;
  animation: float 3.5s ease-in-out infinite;
  filter: drop-shadow(0 0 10px rgba(168,85,247,0.6));
}

@keyframes float {
  0%, 100% { transform: translateY(0) rotate(-3deg); }
  50%       { transform: translateY(-10px) rotate(3deg); }
}

.auto-pick-btn {
  position: relative;
  transform: none;
  left: auto; top: auto;
  display: inline-flex;
  flex-direction: row;
  padding: 12px 28px;
  background: linear-gradient(135deg, rgba(245,158,11,0.15), rgba(168,85,247,0.15));
  border-color: var(--gold);
  color: var(--gold-light);
  margin-top: 10px;
  box-shadow: 0 0 20px rgba(245,158,11,0.15);
}
.auto-pick-btn:hover {
  transform: scale(1.05) translateY(-2px);
  box-shadow: 0 0 30px rgba(245,158,11,0.35);
  background: linear-gradient(135deg, rgba(245,158,11,0.25), rgba(168,85,247,0.25));
}

/* Fan Cards */
#fan-container {
  position: relative;
  width: 100%;
  height: 300px;
  display: none;
}

.fan-card {
  position: absolute;
  width: 78px;
  height: 125px;
  border-radius: 11px;
  cursor: pointer;
  transform-origin: bottom center;
  background: linear-gradient(160deg, rgba(28,16,58,0.9), rgba(48,28,100,0.85));
  border: 1px solid rgba(168,85,247,0.4);
  backdrop-filter: blur(10px);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform 0.25s cubic-bezier(0.4,0,0.2,1), box-shadow 0.25s ease, border-color 0.25s ease;
  will-change: transform;
  top: 50%; left: 50%;
  box-shadow: 0 6px 18px rgba(0,0,0,0.55), inset 0 0 12px rgba(168,85,247,0.08);
}

.fan-card::before {
  content: '';
  position: absolute;
  inset: 3px;
  border-radius: 7px;
  background: linear-gradient(135deg, rgba(168,85,247,0.06), rgba(30,20,60,0.4));
}

.fan-card .card-back-pattern {
  position: absolute;
  inset: 0;
  background-image:
    repeating-linear-gradient(45deg, rgba(168,85,247,0.07) 0px, rgba(168,85,247,0.07) 1px, transparent 1px, transparent 9px),
    repeating-linear-gradient(-45deg, rgba(245,158,11,0.04) 0px, rgba(245,158,11,0.04) 1px, transparent 1px, transparent 9px);
  border-radius: 9px;
}

.fan-card:hover:not(.selected):not(.disabled) {
  transform: var(--fan-transform) translateY(-28px) scale(1.08) !important;
  box-shadow: 0 18px 40px rgba(168,85,247,0.55), 0 0 25px rgba(168,85,247,0.3);
  border-color: var(--purple-light);
  z-index: 100 !important;
}

.fan-card.selected {
  border-color: var(--gold);
  box-shadow: 0 0 24px rgba(245,158,11,0.55), inset 0 0 12px rgba(245,158,11,0.1);
  animation: selected-pulse 1.8s ease-in-out infinite;
}

@keyframes selected-pulse {
  0%, 100% { box-shadow: 0 0 24px rgba(245,158,11,0.45); }
  50%       { box-shadow: 0 0 40px rgba(245,158,11,0.75), 0 0 60px rgba(245,158,11,0.2); }
}

.fan-card.disabled { opacity: 0.25; cursor: not-allowed; pointer-events: none; }

/* ─── Selected Cards Display ─────────────────────────────── */
#selected-display {
  display: none;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-top: 28px;
}

.selected-slot {
  display: flex;
  flex-direction: column;
  align-items: center;
  gap: 10px;
  min-width: 120px;
}

.selected-slot-label {
  font-size: 0.72rem;
  color: var(--text-muted);
  text-transform: uppercase;
  letter-spacing: 0.18em;
  font-family: 'Inter', sans-serif;
}

.tarot-card {
  width: 135px;
  height: 210px;
  border-radius: 13px;
  perspective: 1400px;
  cursor: default;
  transition: transform 0.35s ease, box-shadow 0.35s ease;
}

.tarot-card:hover {
  transform: translateY(-12px) scale(1.06) rotateY(-5deg);
  box-shadow: 0 20px 50px rgba(168,85,247,0.35);
}

.tarot-card-inner {
  position: relative;
  width: 100%; height: 100%;
  transform-style: preserve-3d;
  transition: transform 0.75s cubic-bezier(0.4,0,0.2,1);
}
.tarot-card.flipped .tarot-card-inner { transform: rotateY(180deg); }

.tarot-card-front, .tarot-card-back {
  position: absolute;
  inset: 0;
  border-radius: 11px;
  backface-visibility: hidden;
  -webkit-backface-visibility: hidden;
}

.tarot-card-back {
  background: linear-gradient(160deg, rgba(28,16,58,0.95), rgba(48,28,100,0.9));
  border: 1px solid rgba(168,85,247,0.4);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 2.8rem;
  box-shadow: inset 0 0 20px rgba(168,85,247,0.15);
}

.tarot-card-front {
  background: linear-gradient(160deg, rgba(32,18,68,0.97), rgba(12,6,28,0.97));
  border: 1px solid rgba(168,85,247,0.55);
  transform: rotateY(180deg);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 14px;
  gap: 8px;
  box-shadow: 0 0 30px rgba(168,85,247,0.3), inset 0 0 20px rgba(168,85,247,0.08);
}

.card-front-symbol {
  font-size: 2.4rem;
  filter: drop-shadow(0 0 8px rgba(168,85,247,0.5));
}
.card-front-name {
  font-family: 'Cinzel', serif;
  font-size: 0.58rem;
  color: var(--gold-light);
  text-align: center;
  letter-spacing: 0.06em;
  line-height: 1.35;
}
.card-front-keyword {
  font-size: 0.52rem;
  color: var(--text-muted);
  text-align: center;
  line-height: 1.35;
}
.card-reversed-badge {
  font-size: 0.48rem;
  color: var(--error);
  text-transform: uppercase;
  letter-spacing: 0.12em;
  background: rgba(239,68,68,0.1);
  padding: 2px 7px;
  border-radius: 4px;
  border: 1px solid rgba(239,68,68,0.3);
}

/* ─── CTA Button ─────────────────────────────────────────── */
.cta-btn {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  width: 100%;
  padding: 18px 32px;
  margin-top: 28px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple), rgba(192,132,252,0.8));
  border: none;
  border-radius: var(--radius-sm);
  color: white;
  font-family: 'Cinzel', serif;
  font-size: 1rem;
  letter-spacing: 0.08em;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  overflow: hidden;
  box-shadow: 0 4px 20px rgba(124,58,237,0.35);
}

.cta-btn::before {
  content: '';
  position: absolute;
  top: 0; left: -100%;
  width: 100%; height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255,255,255,0.12), transparent);
  transition: left 0.5s ease;
}
.cta-btn:hover:not(:disabled)::before { left: 100%; }
.cta-btn:hover:not(:disabled) {
  transform: translateY(-3px);
  box-shadow: 0 12px 35px rgba(124,58,237,0.55);
}
.cta-btn:active:not(:disabled) { transform: translateY(0); }
.cta-btn:disabled { opacity: 0.4; cursor: not-allowed; transform: none; }
.cta-btn.loading { pointer-events: none; }

/* ─── Reading Result ─────────────────────────────────────── */
#result-section { padding: 0 24px; margin-bottom: 64px; display: none; }

.result-card {
  background: linear-gradient(145deg, rgba(168,85,247,0.04), rgba(10,5,20,0.85));
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius);
  padding: 40px;
  backdrop-filter: blur(24px);
  box-shadow: 0 12px 50px rgba(0,0,0,0.45), inset 0 1px 0 rgba(255,255,255,0.04);
  position: relative;
  overflow: hidden;
}

.result-card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0;
  height: 1px;
  background: linear-gradient(90deg, transparent, var(--purple-light), var(--gold-light), var(--purple-light), transparent);
}

.result-card::after {
  content: '';
  position: absolute;
  bottom: 0; left: 0; right: 0;
  height: 60px;
  background: linear-gradient(to top, rgba(168,85,247,0.04), transparent);
  pointer-events: none;
}

.result-api-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 5px 14px;
  border-radius: 100px;
  font-size: 0.72rem;
  color: var(--text-muted);
  border: 1px solid var(--border);
  margin-bottom: 24px;
  background: rgba(168,85,247,0.06);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.06em;
  text-transform: uppercase;
}

.result-title {
  font-family: 'Cinzel', serif;
  font-size: 1.35rem;
  color: var(--gold-light);
  margin-bottom: 24px;
  text-align: center;
  filter: drop-shadow(0 0 10px rgba(245,158,11,0.3));
}

.result-cards-row {
  display: flex;
  gap: 24px;
  justify-content: center;
  flex-wrap: wrap;
  margin-bottom: 36px;
}

.result-text {
  color: var(--text-primary);
  line-height: 2;
  font-size: 1rem;
  border-top: 1px solid rgba(168,85,247,0.15);
  padding-top: 28px;
  font-family: 'Inter', sans-serif;
  font-weight: 300;
}

/* AI yorum kutusu vurgu */
.result-text p:first-child {
  background: rgba(168,85,247,0.05);
  border: 1px solid rgba(168,85,247,0.15);
  border-radius: var(--radius-sm);
  padding: 16px 20px;
  margin-bottom: 20px;
}

.typing-cursor {
  display: inline-block;
  width: 2px; height: 1.2em;
  background: var(--purple-light);
  margin-left: 2px;
  vertical-align: text-bottom;
  animation: blink 0.75s step-end infinite;
}
@keyframes blink { 0%, 100% { opacity: 1; } 50% { opacity: 0; } }

/* ─── Particles ─────────────────────────────────────────── */
.particle {
  position: fixed;
  pointer-events: none;
  z-index: 999;
  border-radius: 50%;
  animation: particle-rise 2.2s ease-out forwards;
}
@keyframes particle-rise {
  0%   { transform: translateY(0) scale(0); opacity: 0; }
  15%  { opacity: 1; }
  100% { transform: translateY(-140px) scale(1.3); opacity: 0; }
}

.magical-particle {
  position: fixed;
  bottom: -20px;
  width: 3px; height: 3px;
  border-radius: 50%;
  pointer-events: none;
  z-index: 0;
  animation: magical-rise linear forwards;
}
.magical-particle:nth-child(odd)  { background: var(--purple-light); box-shadow: 0 0 8px var(--purple), 0 0 15px rgba(168,85,247,0.4); }
.magical-particle:nth-child(even) { background: var(--gold-light);   box-shadow: 0 0 8px var(--gold), 0 0 15px rgba(245,158,11,0.4); }

@keyframes magical-rise {
  0%   { transform: translateY(0) scale(1) translateX(0); opacity: 0; }
  10%  { opacity: 0.8; }
  50%  { transform: translateY(-50vh) scale(0.8) translateX(20px); opacity: 0.6; }
  90%  { opacity: 0.4; }
  100% { transform: translateY(-100vh) scale(0.4) translateX(-10px); opacity: 0; }
}

/* ─── Loading Spinner ───────────────────────────────────── */
.spinner {
  width: 18px; height: 18px;
  border: 2px solid rgba(255,255,255,0.25);
  border-top-color: white;
  border-radius: 50%;
  animation: spin 0.6s linear infinite;
  flex-shrink: 0;
}
@keyframes spin { to { transform: rotate(360deg); } }

/* ─── Reset Button ──────────────────────────────────────── */
#reset-btn {
  display: none;
  margin: 0 auto 64px;
  padding: 13px 36px;
  background: transparent;
  border: 1px solid var(--border-glow);
  border-radius: 100px;
  color: var(--purple-light);
  font-family: 'Cinzel', serif;
  font-size: 0.9rem;
  cursor: pointer;
  transition: var(--transition);
  letter-spacing: 0.06em;
  position: relative; z-index: 1;
}
#reset-btn:hover {
  background: rgba(168,85,247,0.1);
  box-shadow: 0 0 25px rgba(168,85,247,0.2);
  transform: translateY(-2px);
}

/* ─── Toast Notifications ───────────────────────────────── */
#toast-container {
  position: fixed;
  bottom: 28px; right: 28px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
  pointer-events: none;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  backdrop-filter: blur(24px);
  border: 1px solid var(--border);
  animation: toast-in 0.35s cubic-bezier(0.34,1.56,0.64,1);
  max-width: 320px;
  pointer-events: all;
  font-family: 'Inter', sans-serif;
  line-height: 1.5;
}
.toast.success { background: rgba(16,185,129,0.12); border-color: rgba(16,185,129,0.3); color: #6ee7b7; }
.toast.error   { background: rgba(239,68,68,0.12); border-color: rgba(239,68,68,0.3); color: #fca5a5; }
.toast.warning { background: rgba(245,158,11,0.12); border-color: rgba(245,158,11,0.3); color: var(--gold-light); }

@keyframes toast-in {
  from { transform: translateX(30px) scale(0.95); opacity: 0; }
  to   { transform: translateX(0) scale(1); opacity: 1; }
}

/* ─── Scrollbar ─────────────────────────────────────────── */
::-webkit-scrollbar { width: 5px; }
::-webkit-scrollbar-track { background: var(--bg-deep); }
::-webkit-scrollbar-thumb { background: rgba(168,85,247,0.25); border-radius: 3px; }
::-webkit-scrollbar-thumb:hover { background: rgba(168,85,247,0.45); }

/* ─── Footer ────────────────────────────────────────────── */
footer {
  text-align: center;
  margin-top: 60px;
  padding-bottom: 40px;
  position: relative; z-index: 1;
  border-top: 1px solid rgba(168,85,247,0.08);
  padding-top: 24px;
}
footer a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 12px;
  font-size: 0.82rem;
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.04em;
  transition: var(--transition);
}
footer a:hover { color: var(--gold-light); }
.footer-copy {
  margin-top: 12px;
  font-size: 0.72rem;
  color: rgba(255,255,255,0.2);
  font-family: 'Inter', sans-serif;
}

/* ─── Responsive ────────────────────────────────────────── */
@media (max-width: 600px) {
  header { padding: 48px 16px 32px; }
  .question-card { padding: 22px; }
  .result-card { padding: 24px; }
  .fan-card { width: 58px; height: 93px; }
  .step-line { width: 36px; }
  #toast-container { bottom: 70px; right: 16px; left: 16px; }
  .toast { max-width: 100%; }
  #result-section { padding: 0 12px; }
}

/* ═══════════════════════════════════════════
   CANLI DESTEK (CHAT) WIDGET
   ═══════════════════════════════════════════ */
.chat-toggle-btn {
  position: fixed; bottom: 24px; right: 24px;
  background: linear-gradient(135deg, var(--purple-dark), var(--purple));
  color: #fff;
  border: none; border-radius: 100px;
  padding: 13px 26px;
  font-weight: 600; font-size: 0.95rem;
  box-shadow: 0 4px 20px rgba(168,85,247,0.45);
  cursor: pointer; z-index: 9990;
  transition: var(--transition);
  font-family: 'Inter', sans-serif;
  letter-spacing: 0.03em;
}
.chat-toggle-btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 8px 30px rgba(168,85,247,0.6);
}

.chat-window {
  position: fixed; bottom: 82px; right: 24px;
  width: 330px; height: 420px;
  background: rgba(12,8,24,0.97);
  border: 1px solid rgba(168,85,247,0.2);
  border-radius: var(--radius);
  display: flex; flex-direction: column;
  z-index: 9989;
  backdrop-filter: blur(20px);
  box-shadow: 0 20px 60px rgba(0,0,0,0.7);
  overflow: hidden;
}

.chat-header {
  background: linear-gradient(135deg, rgba(168,85,247,0.15), rgba(124,58,237,0.08));
  padding: 14px 18px;
  display: flex; justify-content: space-between; align-items: center;
  font-weight: 600; font-family: 'Cinzel', serif; font-size: 0.9rem;
  border-bottom: 1px solid rgba(168,85,247,0.15);
  color: var(--purple-light);
  letter-spacing: 0.05em;
}
.chat-close { background: none; border: none; color: var(--text-muted); font-size: 1.4rem; cursor: pointer; transition: var(--transition); line-height: 1; }
.chat-close:hover { color: var(--text-primary); }
.chat-messages { flex: 1; padding: 14px; overflow-y: auto; display: flex; flex-direction: column; gap: 10px; }
.chat-msg { max-width: 82%; padding: 9px 14px; border-radius: 14px; font-size: 0.88rem; line-height: 1.5; word-wrap: break-word; font-family: 'Inter', sans-serif; }
.chat-msg.user  { background: rgba(168,85,247,0.3); align-self: flex-end; border-bottom-right-radius: 3px; }
.chat-msg.admin { background: rgba(245,158,11,0.2); align-self: flex-start; border-bottom-left-radius: 3px; }
.chat-input-area { display: flex; padding: 12px; border-top: 1px solid rgba(168,85,247,0.12); background: rgba(0,0,0,0.2); gap: 8px; }
.chat-input-area input {
  flex: 1; background: rgba(255,255,255,0.05);
  border: 1px solid rgba(255,255,255,0.08); color: #fff;
  padding: 9px 14px; border-radius: 100px; outline: none;
  font-family: 'Inter', sans-serif; font-size: 0.88rem;
  transition: var(--transition);
}
.chat-input-area input:focus { border-color: rgba(168,85,247,0.4); }
.chat-input-area button {
  background: linear-gradient(135deg, var(--gold), #d97706);
  color: #000; border: none; border-radius: 100px;
  padding: 0 18px; font-weight: 700; cursor: pointer;
  font-size: 0.82rem; font-family: 'Inter', sans-serif;
  transition: var(--transition);
}
.chat-input-area button:hover { transform: scale(1.05); }

/* ═══════════════════════════════════════════
   MODALLAR
   ═══════════════════════════════════════════ */
.modal-overlay {
  position: fixed; inset: 0;
  background: rgba(0,0,0,0.82);
  display: flex; align-items: center; justify-content: center;
  z-index: 100000;
  backdrop-filter: blur(8px);
}
.modal-content {
  background: linear-gradient(135deg, rgba(20,12,40,0.98), rgba(10,6,20,0.98));
  width: 90%; max-width: 520px;
  border-radius: var(--radius);
  padding: 32px;
  position: relative;
  border: 1px solid rgba(168,85,247,0.25);
  box-shadow: 0 30px 60px rgba(0,0,0,0.6);
  animation: ban-appear 0.35s ease both;
}
.modal-close {
  position: absolute; top: 14px; right: 18px;
  background: none; border: none; color: var(--text-muted);
  font-size: 1.5rem; cursor: pointer; transition: var(--transition);
  line-height: 1;
}
.modal-close:hover { color: white; }
.modal-content h2 { font-family: 'Cinzel', serif; color: var(--purple-light); margin-bottom: 16px; }
.modal-body { font-size: 0.92rem; line-height: 1.75; color: var(--text-secondary); }
.modal-body p { margin-bottom: 12px; }

/* ═══════════════════════════════════════════
   COOKIE BANNER — Glassmorphism
   ═══════════════════════════════════════════ */
.cookie-banner {
  position: fixed; bottom: 0; left: 0; width: 100%;
  background: rgba(12,8,24,0.92);
  border-top: 1px solid rgba(168,85,247,0.2);
  padding: 18px 28px;
  display: flex; justify-content: space-between; align-items: center;
  z-index: 99999; flex-wrap: wrap; gap: 16px;
  backdrop-filter: blur(20px);
  box-shadow: 0 -4px 30px rgba(0,0,0,0.4);
}
.cookie-content h3 { margin: 0 0 6px; color: var(--gold-light); font-size: 1rem; font-family: 'Cinzel', serif; letter-spacing: 0.05em; }
.cookie-content p  { margin: 0; font-size: 0.84rem; color: var(--text-muted); max-width: 580px; font-family: 'Inter', sans-serif; }
.cookie-buttons { display: flex; gap: 12px; }
.cookie-buttons button { padding: 10px 22px; border-radius: 100px; font-weight: 600; cursor: pointer; border: none; font-family: 'Inter', sans-serif; font-size: 0.85rem; transition: var(--transition); }
.btn-primary { background: linear-gradient(135deg, var(--purple-dark), var(--purple)); color: #fff; box-shadow: 0 2px 12px rgba(124,58,237,0.4); }
.btn-primary:hover { transform: translateY(-1px); box-shadow: 0 4px 20px rgba(124,58,237,0.55); }
.btn-secondary { background: transparent; color: var(--text-muted); border: 1px solid rgba(255,255,255,0.15) !important; }
.btn-secondary:hover { color: white; border-color: rgba(255,255,255,0.3) !important; }
