/* --- TEMEL AYARLAR VE DEĞİŞKENLER --- */
:root {
  --primary: #a855f7;       /* Mor */
  --primary-gradient: linear-gradient(90deg, #c084fc, #ec4899); /* Görseldeki Gradient */
  --secondary: #ec4899;     /* Pembe */
  --bg-dark: #080810;       /* Görseldeki Derin Siyah */
  --bg-card: rgba(30, 27, 75, 0.4);
  --text-main: #ffffff;
  --text-muted: #94a3b8;
  --border-color: rgba(255, 255, 255, 0.1);
  --glow: 0 0 20px rgba(139, 92, 246, 0.5);
}

* {
  box-sizing: border-box;
}

body {
  margin: 0;
  padding: 0;
  font-family: 'Inter', sans-serif;
  background-color: var(--bg-dark);
  color: var(--text-main);
  overflow-x: hidden;
  min-height: 100vh;
}

/* --- TOP HEADER --- */
.top-header {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1001;
  background: rgba(8, 8, 16, 0.3);
  backdrop-filter: blur(8px);
  padding: 35px 0;
}

.header-container {
  max-width: 1400px;
  margin: 0 auto;
  padding: 0 30px;
  display: flex;
  justify-content: space-between;
  align-items: center;
}

.header-logo {
  display: flex;
  align-items: center;
  user-select: none;
  animation: floatLogo 6s ease-in-out infinite;
}

.header-logo img {
  width: 45px;
  height: 45px;
  object-fit: contain;
  border-radius: 8px;
  filter: drop-shadow(0 0 10px rgba(168, 85, 247, 0.3));
}

@keyframes floatLogo {
  0%, 100% {
    transform: translate(0, 0) rotate(0deg);
  }
  25% {
    transform: translate(10px, -8px) rotate(2deg);
  }
  50% {
    transform: translate(-5px, -12px) rotate(-1deg);
  }
  75% {
    transform: translate(-8px, -5px) rotate(1deg);
  }
}

.header-discord-btn {
  position: absolute;
  top: 50%;
  right: 30px;
  transform: translateY(-50%);
  z-index: 1002;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 10px 20px;
  background: #5865F2;
  color: white;
  text-decoration: none;
  border-radius: 12px;
  font-weight: 600;
  font-size: 0.95rem;
  transition: all 0.3s ease;
  box-shadow: 0 4px 15px rgba(88, 101, 242, 0.3);
  pointer-events: none;
}

.button-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.35);
  backdrop-filter: blur(3px);
  border-radius: 12px;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 2px;
  color: white;
  font-weight: 600;
}

.button-overlay i {
  font-size: 0.85rem;
}

.button-overlay span {
  font-size: 0.55rem;
  letter-spacing: 0.5px;
  text-transform: uppercase;
}

.header-discord-btn:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 20px rgba(88, 101, 242, 0.5);
  background: #4752C4;
}

.header-discord-btn i {
  font-size: 1.2rem;
}

@media (max-width: 768px) {
  .header-container {
    padding: 0 20px;
  }
  
  .logo-text {
    font-size: 1.2rem;
  }
  
  .header-discord-btn span {
    display: none;
  }
  
  .header-discord-btn {
    padding: 10px 15px;
  }
}

/* --- ÖZEL SCROLLBAR STİLLERİ --- */
/* Webkit tarayıcılar için (Chrome, Edge, Safari) */
::-webkit-scrollbar {
  width: 10px;
}

::-webkit-scrollbar-track {
  background: rgba(15, 23, 42, 0.3);
  border-radius: 10px;
  border-left: 1px solid rgba(255, 255, 255, 0.05);
}

::-webkit-scrollbar-thumb {
  background: linear-gradient(180deg, #a855f7 0%, #ec4899 100%);
  border-radius: 10px;
  border: 2px solid rgba(15, 23, 42, 0.3);
  box-shadow: 0 0 10px rgba(168, 85, 247, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
  transition: all 0.3s ease;
}

::-webkit-scrollbar-thumb:hover {
  background: linear-gradient(180deg, #c084fc 0%, #f472b6 100%);
  box-shadow: 0 0 15px rgba(168, 85, 247, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.2);
  transform: scaleX(1.1);
}

::-webkit-scrollbar-thumb:active {
  background: linear-gradient(180deg, #9333ea 0%, #db2777 100%);
  box-shadow: 0 0 20px rgba(168, 85, 247, 1), inset 0 0 20px rgba(255, 255, 255, 0.3);
}

/* Firefox için */
* {
  scrollbar-width: thin;
  scrollbar-color: #a855f7 rgba(15, 23, 42, 0.3);
}

/* Scrollbar için ek animasyon efektleri */
@keyframes scrollbarGlow {
  0%, 100% {
    box-shadow: 0 0 10px rgba(168, 85, 247, 0.5), inset 0 0 10px rgba(255, 255, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 15px rgba(168, 85, 247, 0.8), inset 0 0 15px rgba(255, 255, 255, 0.2);
  }
}

/* Scroll animasyonu için özel efekt */
::-webkit-scrollbar-thumb {
  position: relative;
}

::-webkit-scrollbar-thumb::before {
  content: '';
  position: absolute;
  top: 0;
  left: 50%;
  transform: translateX(-50%);
  width: 4px;
  height: 20px;
  background: rgba(255, 255, 255, 0.3);
  border-radius: 2px;
  opacity: 0;
  transition: opacity 0.3s ease;
}

::-webkit-scrollbar-thumb:hover::before {
  opacity: 1;
  animation: scrollbarShine 1.5s ease infinite;
}

@keyframes scrollbarShine {
  0% {
    top: 0;
    opacity: 0;
  }
  50% {
    opacity: 1;
  }
  100% {
    top: 100%;
    opacity: 0;
  }
}

/* --- ARKA PLAN EFEKTLERİ --- */
.bg-grid {
  position: fixed;
  top: 0; left: 0; width: 100%; height: 100%;
  background-image: 
    linear-gradient(rgba(255, 255, 255, 0.03) 1px, transparent 1px),
    linear-gradient(90deg, rgba(255, 255, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  z-index: -2;
  pointer-events: none;
}

.bg-gradient-orb {
  position: fixed;
  width: 700px;
  height: 700px;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.15) 0%, rgba(0,0,0,0) 70%);
  border-radius: 50%;
  z-index: -1;
  pointer-events: none;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  animation: pulseGlow 5s infinite alternate;
}

/* 2. Orb'u gizleyelim, görselde tek merkez odak var */
.orb-1, .orb-2 { display: none; } 

@keyframes pulseGlow {
  0% { transform: translate(-50%, -50%) scale(1); opacity: 0.8; }
  100% { transform: translate(-50%, -50%) scale(1.1); opacity: 1; }
}

/* --- LOADING SCREEN --- */
#loading {
  position: fixed; inset: 0; background: #000; z-index: 9999;
  display: flex; justify-content: center; align-items: center; transition: opacity 0.5s ease;
}
#loading.hidden { opacity: 0; pointer-events: none; }
.spinner-box { text-align: center; }
.spinner-box p { margin-top: 15px; letter-spacing: 2px; font-size: 0.8rem; color: var(--primary); }
.pulse-container { width: 60px; display: flex; justify-content: space-between; align-items: center; }
.pulse-bubble { width: 15px; height: 15px; border-radius: 50%; background-color: var(--primary); }
.pulse-bubble-1 { animation: pulse .4s ease 0s infinite alternate; }
.pulse-bubble-2 { animation: pulse .4s ease .2s infinite alternate; }
.pulse-bubble-3 { animation: pulse .4s ease .4s infinite alternate; }
@keyframes pulse { from { opacity: 1; transform: scale(1); } to { opacity: .25; transform: scale(.75); } }

/* --- SAĞ MENÜ (NAVBAR) --- */
.floating-menu {
  position: fixed; right: 20px; top: 50%; transform: translateY(-50%);
  background: rgba(15, 23, 42, 0.6); backdrop-filter: blur(12px);
  border: 1px solid var(--border-color); padding: 10px 10px 15px; border-radius: 30px;
  display: flex; flex-direction: column; gap: 20px; z-index: 1000;
  box-shadow: 0 10px 40px rgba(0,0,0,0.3);
}

.menu-logo {
  display: flex;
  justify-content: center;
  align-items: center;
  width: 45px;
  height: 45px;
  border-radius: 50%;
  overflow: hidden;
  margin-bottom: 1px;
  pointer-events: none;
  user-select: none;
}

.menu-logo img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  border-radius: 50%;
  pointer-events: none;
  user-select: none;
}

.menu-divider {
  width: 30px;
  height: 1px;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.4) 50%, transparent 100%);
  margin: 0 auto 10px;
  align-self: center;
}

.menu-brand i { color: var(--primary); font-size: 24px; margin-bottom: 10px; filter: drop-shadow(0 0 10px var(--primary)); }
.menu-item {
  width: 45px; height: 45px; display: flex; justify-content: center; align-items: center;
  border-radius: 50%; color: #ccc; cursor: pointer; position: relative;
  transition: all 0.3s; text-decoration: none;
}
.menu-item:hover, .menu-item.active { background: var(--primary); color: white; box-shadow: 0 0 15px var(--primary); transform: scale(1.1); }
.menu-item .tooltip {
  position: absolute; right: 60px; background: var(--primary); padding: 5px 10px;
  border-radius: 6px; font-size: 12px; opacity: 0; pointer-events: none;
  transition: 0.3s; white-space: nowrap;
}
.menu-item:hover .tooltip { opacity: 1; transform: translateX(-5px); }

/* --- HERO SECTION (ÖZEL TASARIM) --- */
.hero-section {
  min-height: 100vh;
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 100px 20px 20px;
  position: relative;
}

.hero-section::after {
  content: '';
  display: block;
  width: 80%;
  max-width: 600px;
  height: 1px;
  margin: 60px auto 0;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.5) 20%, rgba(236, 72, 153, 0.5) 80%, transparent 100%);
  position: relative;
  z-index: 100;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

.hero-content {
  max-width: 1000px;
  width: 100%;
  animation: fadeInUp 1s ease;
  display: flex;
  flex-direction: column;
  align-items: center;
}

/* BADGE: Görseldeki Kapsül Tasarım */
.badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 8px 25px;
  background: rgba(30, 20, 50, 0.6);
  border: 1px solid rgba(139, 92, 246, 0.5);
  border-radius: 50px;
  color: #c084fc;
  font-size: 0.95rem;
  font-weight: 500;
  margin-bottom: 30px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.15);
}

/* BAŞLIK: Büyük ve Gradient */
h1 {
  font-size: clamp(4rem, 8vw, 7rem);
  font-weight: 900;
  margin: 0;
  line-height: 1.1;
  letter-spacing: -2px;
  color: white; /* CODEX beyaz */
}

.text-gradient {
  background: linear-gradient(90deg, #a78bfa 0%, #ec4899 100%); /* BOTS Mor-Pembe */
  -webkit-background-clip: text;
  background-clip: text;
  color: transparent;
  padding-left: 15px;
  filter: drop-shadow(0 0 30px rgba(236, 72, 153, 0.4));
}

p {
  font-size: 1.2rem;
  color: #94a3b8;
  max-width: 700px;
  margin: 30px auto;
  line-height: 1.6;
}

/* BUTONLAR */
.hero-buttons {
  display: flex;
  gap: 20px;
  justify-content: center;
  margin-bottom: 80px;
}

button { font-family: 'Inter', sans-serif; cursor: pointer; transition: 0.3s; border: none; }

.btn-primary {
  padding: 15px 40px;
  /* Görseldeki parlak pembe/mor buton */
  background: linear-gradient(90deg, #d946ef, #ec4899); 
  color: white;
  font-weight: 700;
  border-radius: 12px;
  font-size: 1rem;
  box-shadow: 0 10px 30px rgba(236, 72, 153, 0.3);
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-primary:hover { transform: translateY(-3px); box-shadow: 0 15px 40px rgba(236, 72, 153, 0.5); }

.btn-secondary {
  padding: 15px 40px;
  background: rgba(30, 30, 40, 0.5);
  color: white;
  border: 1px solid rgba(255,255,255,0.1);
  border-radius: 12px;
  font-weight: 600;
  font-size: 1rem;
  display: flex;
  align-items: center;
  gap: 10px;
}
.btn-secondary:hover { background: rgba(255,255,255,0.1); border-color: rgba(255,255,255,0.3); }

/* STATS GRID (Görseldeki Alt Kartlar) */
.stats-grid {
  display: flex;
  gap: 25px;
  justify-content: center;
  flex-wrap: wrap;
  width: 100%;
}

.stat-card {
  display: flex;
  align-items: center;
  gap: 20px;
  background: #111118; /* Çok koyu kart */
  padding: 20px 35px;
  border-radius: 20px;
  border: 1px solid rgba(255, 255, 255, 0.05);
  min-width: 220px;
  transition: 0.3s;
}

.stat-card:hover { transform: translateY(-5px); border-color: rgba(139, 92, 246, 0.3); }

.stat-card i {
  font-size: 28px;
  color: #c084fc; /* İkon rengi mor */
}

.stat-card div { text-align: left; }

.stat-card h3 {
  margin: 0;
  font-size: 1.8rem;
  font-weight: 800;
  color: white;
}

.stat-card span {
  font-size: 0.8rem;
  color: #94a3b8;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
  display: block;
  margin-top: 2px;
}

@keyframes fadeInUp { from { opacity: 0; transform: translateY(30px); } to { opacity: 1; transform: translateY(0); } }

/* --- CONTENT SECTIONS --- */
section {
  width: 100%; max-width: 1200px; margin: 0 auto; padding: 60px 20px 50px;
  position: relative; z-index: 10;
}

/* Bölümler arası ince ayırıcı çizgiler */
section:not(:last-child)::after {
  content: '';
  display: block;
  width: 80%;
  max-width: 600px;
  height: 1px;
  margin: 40px auto 0;
  background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.5) 20%, rgba(236, 72, 153, 0.5) 80%, transparent 100%);
  position: relative;
  z-index: 100;
  pointer-events: none;
  opacity: 1 !important;
  visibility: visible !important;
  box-shadow: 0 0 8px rgba(168, 85, 247, 0.3);
}

/* Reviews ve FAQ arası daha ince çizgi */
#reviews::after {
  margin: 30px auto 0;
}

.content-section {
  width: 100%; max-width: 1200px;
  margin: 0 auto; padding: 60px 20px 40px;
  opacity: 1;
  overflow: visible;
}
.section-header { text-align: center; margin-bottom: 45px; }
.section-header h2 { font-size: 2.5rem; margin-bottom: 15px; color: white; font-weight: 800; }
.section-header p { color: var(--text-muted); font-size: 1.1rem; }

/* --- EKİP STİLİ --- */
.ekip-listesi { display: flex; justify-content: center; flex-wrap: wrap; gap: 30px; }
.ekip-uye {
  background: var(--bg-card); border: 1px solid var(--border-color);
  padding: 30px; border-radius: 20px; width: 250px; text-align: center;
  cursor: pointer; transition: 0.3s; position: relative; overflow: hidden;
}
.ekip-uye h3 { color: white; font-size: 1.2rem; margin: 15px 0; font-weight: 700; }
.ekip-uye:hover { transform: translateY(-10px); border-color: var(--primary); box-shadow: var(--glow); }
.member-avatar { position: relative; width: 100px; height: 100px; margin: 0 auto 15px; }
.member-avatar img { width: 100%; height: 100%; border-radius: 50%; object-fit: cover; border: 3px solid rgba(255,255,255,0.1); }
.status-indicator { position: absolute; bottom: 5px; right: 5px; width: 15px; height: 15px; border-radius: 50%; border: 2px solid #1e1b4b; }
.status-indicator.online { background-color: #22c55e; box-shadow: 0 0 10px #22c55e; }
.status-indicator.idle { background-color: #eab308; }
.role-tag { display: inline-block; padding: 4px 12px; border-radius: 20px; font-size: 0.75rem; font-weight: 700; margin-bottom: 15px; text-transform: uppercase; }
.role-tag.dev { background: rgba(236, 72, 153, 0.2); color: #f472b6; border: 1px solid rgba(236, 72, 153, 0.3); }
.socials i { color: #ccc; font-size: 1.2rem; transition: 0.3s; margin: 0 5px; }
.socials i:hover { color: #f00; transform: scale(1.2); }

/* --- ÜRÜNLER / PRICING STİLİ --- */
.pricing-container { display: grid; grid-template-columns: repeat(auto-fit, minmax(300px, 1fr)); gap: 30px; justify-content: center; padding: 0 20px; }
.pricing-card {
  background: rgba(17, 24, 39, 0.7); border: 1px solid rgba(255,255,255,0.05);
  border-radius: 24px; padding: 30px; position: relative; transition: 0.3s; display: flex; flex-direction: column;
}
.pricing-card h3 { font-size: 1.5rem; color: white; margin: 15px 0; font-weight: 700; }
.pricing-card.featured {
  background: linear-gradient(180deg, rgba(139, 92, 246, 0.1) 0%, rgba(17, 24, 39, 0.8) 100%);
  border: 1px solid var(--primary); transform: scale(1.05); z-index: 2; box-shadow: 0 0 30px rgba(139, 92, 246, 0.15);
}
.pricing-card:hover { transform: translateY(-5px); border-color: var(--primary); }
.pricing-card.featured:hover { transform: scale(1.05) translateY(-5px); }
.popular-tag { position: absolute; top: -12px; left: 50%; transform: translateX(-50%); background: var(--primary); color: white; padding: 4px 12px; border-radius: 12px; font-size: 0.75rem; font-weight: bold; }
.icon-bg { width: 50px; height: 50px; background: rgba(255,255,255,0.05); border-radius: 12px; display: flex; align-items: center; justify-content: center; font-size: 24px; color: var(--primary); margin-bottom: 15px; }
.price { font-size: 2.5rem; font-weight: 700; margin: 20px 0; color: white; }
.price span { font-size: 1rem; color: var(--text-muted); font-weight: 400; }
.features { list-style: none; padding: 0; margin: 0 0 30px 0; flex-grow: 1; }
.features li { display: flex; align-items: center; margin-bottom: 12px; color: #cbd5e1; font-size: 0.95rem; }
.features li i { color: var(--primary); margin-right: 10px; }
.btn-buy { width: 100%; padding: 12px; border-radius: 10px; font-weight: 600; background: rgba(255,255,255,0.1); color: white; border: 1px solid rgba(255,255,255,0.1); cursor: pointer; transition: 0.3s; }
.btn-buy:hover { background: white; color: black; }
.glow-btn { background: var(--primary); border: none; }
.glow-btn:hover { background: var(--primary); color: white; box-shadow: 0 0 20px var(--primary); }

/* --- MÜŞTERİ YORUMLARI CAROUSEL --- */
.reviews-carousel-container {
    position: relative;
    max-width: 900px;
    margin: 50px auto 0;
    padding: 0 60px;
}

.reviews-carousel {
    position: relative;
    min-height: 400px;
    overflow: hidden;
}

.review-slide {
    display: none;
    opacity: 0;
    transform: translateX(30px);
    transition: all 0.6s cubic-bezier(0.4, 0, 0.2, 1);
}

.review-slide.active {
    display: block;
    opacity: 1;
    transform: translateX(0);
}

.review-card-main {
    background: rgba(30, 27, 75, 0.6);
    border: 1px solid rgba(139, 92, 246, 0.3);
    border-radius: 24px;
    padding: 50px 45px;
    position: relative;
    box-shadow: 0 10px 40px rgba(139, 92, 246, 0.15), 0 0 60px rgba(139, 92, 246, 0.1);
    transition: all 0.3s ease;
}

.review-card-main:hover {
    border-color: rgba(139, 92, 246, 0.5);
    box-shadow: 0 15px 50px rgba(139, 92, 246, 0.25), 0 0 80px rgba(139, 92, 246, 0.15);
}

.quote-icon {
    position: absolute;
    font-size: 3rem;
    color: rgba(168, 85, 247, 0.2);
    opacity: 0.6;
}

.quote-icon.quote-top {
    top: 25px;
    left: 30px;
}

.quote-icon.quote-bottom {
    bottom: 25px;
    right: 30px;
}

.stars {
    color: #fbbf24;
    letter-spacing: 4px;
    margin-bottom: 25px;
    font-size: 1.1rem;
}

.review-text {
    font-size: 1.1rem;
    line-height: 1.8;
    color: #e2e8f0;
    margin: 0 0 30px;
    font-style: italic;
}

.review-divider {
    height: 1px;
    background: linear-gradient(90deg, transparent 0%, rgba(168, 85, 247, 0.3) 50%, transparent 100%);
    margin: 30px 0;
}

.reviewer-main {
    display: flex;
    align-items: center;
    gap: 20px;
}

.reviewer-main img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 2px solid rgba(139, 92, 246, 0.4);
    object-fit: cover;
}

.reviewer-info {
    display: flex;
    flex-direction: column;
    gap: 5px;
}

.reviewer-name {
    font-size: 1.1rem;
    font-weight: 700;
    color: #c084fc;
}

.reviewer-role {
    font-size: 0.9rem;
    color: #94a3b8;
}

.carousel-btn {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background: rgba(30, 27, 75, 0.7);
    border: 1px solid rgba(139, 92, 246, 0.3);
    color: #c084fc;
    font-size: 1.2rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
    z-index: 10;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
}

.carousel-btn:hover {
    background: rgba(139, 92, 246, 0.2);
    border-color: rgba(139, 92, 246, 0.6);
    color: #e9d5ff;
    box-shadow: 0 8px 30px rgba(139, 92, 246, 0.3);
    transform: translateY(-50%) scale(1.1);
}

.carousel-prev {
    left: 0;
}

.carousel-next {
    right: 0;
}

.carousel-dots {
    display: flex;
    justify-content: center;
    gap: 12px;
    margin-top: 40px;
}

.carousel-dots .dot {
    width: 12px;
    height: 12px;
    border-radius: 50%;
    background: rgba(139, 92, 246, 0.3);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid transparent;
}

.carousel-dots .dot:hover {
    background: rgba(139, 92, 246, 0.5);
    transform: scale(1.2);
}

.carousel-dots .dot.active {
    background: #c084fc;
    box-shadow: 0 0 15px rgba(192, 132, 252, 0.6);
    border-color: rgba(192, 132, 252, 0.4);
    transform: scale(1.3);
}

@media (max-width: 768px) {
    .reviews-carousel-container {
        padding: 0 50px;
    }
    
    .review-card-main {
        padding: 35px 30px;
    }
    
    .carousel-btn {
        width: 40px;
        height: 40px;
        font-size: 1rem;
    }
    
    .review-text {
        font-size: 1rem;
    }
}

/* --- MODALLER --- */
#login-modal, #discord-profile-modal { position: fixed; inset: 0; background: rgba(0,0,0,0.8); backdrop-filter: blur(8px); z-index: 10001; display: none; justify-content: center; align-items: center; }
#login-modal.active, #discord-profile-modal[style*="flex"] { display: flex; animation: fadeIn 0.3s; }
@keyframes fadeIn { from { opacity: 0; } to { opacity: 1; } }
.modal-content, .profile-card { background: #1e1b4b; border: 1px solid var(--border-color); padding: 30px; border-radius: 20px; width: 100%; max-width: 400px; position: relative; box-shadow: 0 20px 50px rgba(0,0,0,0.5); }
input { width: 100%; padding: 12px; margin: 10px 0; background: rgba(0,0,0,0.3); border: 1px solid var(--border-color); color: white; border-radius: 8px; outline: none; }
input:focus { border-color: var(--primary); }
.close-btn { position: absolute; top: 15px; right: 15px; background: none; color: #aaa; font-size: 20px; }
.close-btn:hover { color: white; }
.profile-header { display: flex; align-items: center; gap: 15px; margin-bottom: 20px; }
.profile-header img { width: 70px; height: 70px; border-radius: 50%; border: 2px solid var(--primary); }
.profile-roles { display: flex; flex-wrap: wrap; gap: 5px; margin-top: 10px; }
.role-badge { font-size: 0.75rem; padding: 3px 8px; border-radius: 4px; background: #333; border: 1px solid #555; }

#network-canvas {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: -1; /* Yazıların arkasında kalması için */
    background: radial-gradient(circle at center, #11111f 0%, #080810 100%);
}

@media (max-width: 768px) {
  h1 { font-size: 3rem; }
  .stats-grid { flex-direction: column; }
  .floating-menu { top: auto; bottom: 20px; right: 50%; transform: translateX(50%); flex-direction: row; width: auto; }
  .floating-menu .tooltip { display: none; }
}

.codex-footer { background: linear-gradient(180deg, #06060a 0%, #0b0710 100%); color: #cbd5e1; padding: 40px 20px 20px; border-top: 1px solid rgba(255,255,255,0.03); }
.codex-container { max-width: 1200px; margin: 0 auto; display: flex; gap: 30px; justify-content: space-between; align-items: flex-start; flex-wrap: wrap; }
.codex-col { flex: 1 1 220px; min-width: 200px; }
.codex-col h4 { color: #b794f4; margin-bottom: 12px; font-size: 1.05rem; }
.codex-logo { font-weight: 900; color: #b794f4; font-size: 1.6rem; letter-spacing: 2px; margin-bottom: 10px; }
.codex-col p { color: #9aa3b2; font-size: 0.95rem; line-height: 1.5; }
.codex-socials a { display: inline-flex; width: 38px; height: 38px; border-radius: 10px; align-items: center; justify-content: center; margin-right: 8px; background: rgba(183,147,255,0.06); color: #caa7ff; text-decoration: none; border: 1px solid rgba(183,147,255,0.06); }
.codex-socials a:hover { box-shadow: 0 6px 18px rgba(167,139,250,0.12); transform: translateY(-3px); }
.codex-col ul { list-style: none; padding: 0; margin: 0; }
.codex-col ul li { margin-bottom: 10px; }
.codex-col ul li a { color: #9aa3b2; text-decoration: none; transition: color 0.18s; }
.codex-col ul li a:hover { color: #e9d5ff; }
.codex-bottom { max-width: 1200px; margin: 18px auto 0; display: flex; justify-content: space-between; align-items: center; padding-top: 18px; border-top: 1px solid rgba(255,255,255,0.02); }
.codex-buttons { display: flex; gap: 10px; }
.sec-btn { background: transparent; color: #caa7ff; border: 1px solid rgba(183,147,255,0.14); padding: 8px 14px; border-radius: 20px; cursor: pointer; transition: all 0.18s; }
.sec-btn:hover { background: rgba(183,147,255,0.06); transform: translateY(-3px); box-shadow: 0 10px 25px rgba(167,139,250,0.06); }

@media (max-width: 760px) {
  .codex-container { flex-direction: column; gap: 18px; }
  .codex-bottom { flex-direction: column; gap: 10px; align-items: flex-start; }
}
.spinner-box { display:flex; align-items:center; justify-content:center; height:100vh; }
.codex-loader { display:flex; flex-direction:column; align-items:center; gap:12px; }
.codex-ring {
  width: 56px; height: 56px; border-radius: 50%;
  border: 6px solid rgba(168,85,247,0.18);
  border-top-color: var(--primary);
  box-shadow: 0 6px 18px rgba(168,85,247,0.08);
  animation: codex-spin 0.95s linear infinite;
}
/* caption removed per request */
@keyframes codex-spin { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } }

/* When hiding loader, fade out smoothly */
#loading { transition: opacity 0.35s ease, visibility 0.35s ease; }
#loading.hidden { opacity: 0; visibility: hidden; pointer-events: none; }

/* --- FAQ SECTION --- */
.faq-section {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 50px 20px 40px;
    position: relative;
    z-index: 10;
}

.faq-section::after {
    display: none; /* FAQ'dan sonra çizgi yok */
}

.faq-container {
    width: 100%;
}

.faq-header {
    text-align: center;
    margin-bottom: 45px;
}

.faq-title {
    font-size: clamp(2rem, 5vw, 3rem);
    font-weight: 800;
    background: linear-gradient(90deg, #a78bfa 0%, #ec4899 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    margin-bottom: 15px;
    letter-spacing: -1px;
}

.faq-subtitle {
    color: #94a3b8;
    font-size: 1.1rem;
    margin: 0;
}

.faq-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
    max-width: 900px;
    margin: 0 auto;
}

.faq-item {
    background: rgba(17, 24, 39, 0.7);
    border: 1px solid rgba(255, 255, 255, 0.08);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
}

.faq-item:hover {
    border-color: rgba(168, 85, 247, 0.3);
    box-shadow: 0 5px 20px rgba(168, 85, 247, 0.1);
}

.faq-item.active {
    border-color: rgba(168, 85, 247, 0.5);
    box-shadow: 0 8px 30px rgba(168, 85, 247, 0.2);
}

.faq-question {
    width: 100%;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 20px 25px;
    background: transparent;
    border: none;
    color: white;
    font-size: 1.05rem;
    font-weight: 600;
    cursor: pointer;
    text-align: left;
    transition: all 0.3s ease;
    font-family: 'Inter', sans-serif;
}

.faq-question:hover {
    color: #c084fc;
}

.faq-question span {
    flex: 1;
    padding-right: 20px;
}

.faq-question i {
    color: #a855f7;
    font-size: 0.9rem;
    transition: transform 0.3s ease;
    flex-shrink: 0;
}

.faq-item.active .faq-question i {
    transform: rotate(180deg);
}

.faq-answer {
    max-height: 0;
    overflow: hidden;
    transition: max-height 0.4s ease, padding 0.4s ease;
    padding: 0 25px;
}

.faq-item.active .faq-answer {
    max-height: 300px;
    padding: 0 25px 25px;
}

.faq-answer p {
    color: #cbd5e1;
    font-size: 0.95rem;
    line-height: 1.7;
    margin: 0;
    padding-top: 10px;
}

@media (max-width: 768px) {
    .faq-section {
        padding: 60px 15px;
    }
    
    .faq-question {
        padding: 18px 20px;
        font-size: 0.95rem;
    }
    
    .faq-answer {
        padding: 0 20px;
    }
    
    .faq-item.active .faq-answer {
        padding: 0 20px 20px;
    }
}