﻿:root {
  --purple: #5c3fef;
  --purple-dark: #2c1b78;
  --purple-soft: #7f6af8;
  --green: #0ccf87;
  --green-dark: #0fa06c;
  --orange: #ff8b3d;
  --text: #22163f;
  --muted: #706b86;
  --light: #f6f7fb;
}

* { box-sizing: border-box; }

body {
  font-family: 'Nunito', system-ui, -apple-system, ;
  color: var(--text);
  background: #fff;
}

h1, h2, h3, h4, h5, h6 {
  font-family: 'Nunito',;
}

.topbar {
  background: linear-gradient(90deg, var(--purple), #5128c9);
  font-size: 0.95rem;
}

.navbar .brand {
  font-weight: 800;
  color: var(--purple);
  letter-spacing: -0.5px;
}

.brand .dot { color: var(--green); }

.nav-link { color: var(--text); font-weight: 600; }
.nav-link:hover, .nav-link.active { color: var(--purple); }

.btn-gradient {
  background: linear-gradient(120deg, var(--green), var(--purple));
  color: #fff;
  border: none;
  box-shadow: 0 10px 30px rgba(92,63,239,0.25);
}

.btn-gradient:hover { color: #fff; opacity: 0.92; }

.hero {
  min-height: 90vh;
  background: radial-gradient(120% 120% at 80% 0%, #6b4cf6 0%, #3f21c4 45%, #2a1468 100%);
  position: relative;
  overflow: hidden;
}

.hero-wave {
  position: absolute;
  bottom: -1px;
  left: 0;
  right: 0;
  height: 160px;
  background: #f3f6fb;
  clip-path: ellipse(70% 70% at 50% 70%);
}

.hero-visual { width: 360px; height: 360px; }

.deer-visual {
  display: grid;
  place-items: center;
  position: relative;
  isolation: isolate;
}
.deer-visual::before {
  content: '';
  position: absolute;
  inset: 10%;
  border-radius: 24px;
  background: radial-gradient(circle at 30% 30%, rgba(255,255,255,0.14), transparent 65%),
    radial-gradient(circle at 70% 70%, rgba(12,207,135,0.18), transparent 70%);
  filter: blur(6px);
  z-index: 0;
}
.deer-logo {
  width: 90%;
  max-width: 950px;
 
 
  position: relative;
  z-index: 1;
}

.section-padding { padding: 5rem 0; }

.kicker { color: var(--purple); letter-spacing: 0.05em; font-weight: 700; text-transform: uppercase; font-size: 0.9rem; }

.check-icon {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(12,207,135,0.12);
  color: var(--green); display: inline-flex; align-items: center; justify-content: center; font-weight: 700;
}

.service-card { padding: 1.5rem; border: none; border-radius: 16px; }
.service-card.highlight { background: #f1edff; }
.service-card-softheight { min-height: 620px; }
.service-card-creators { min-height: 680px; }
.icon-badge {
  width: 48px; height: 48px; border-radius: 12px;
  background: rgba(92,63,239,0.1);
  color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
  font-size: 1.25rem; margin-bottom: 1rem;
}

.feature-card { padding: 1.5rem; border: none; border-radius: 16px; background: #fff; }
.paper-card { background: #fff; padding: 2rem; border-radius: 20px; }

.accordion-button { font-weight: 700; }
.accordion-button:not(.collapsed) { background: rgba(92,63,239,0.06); color: var(--purple); }

.illustration-card {  border-radius: 22px; min-height: 200px; position: relative; overflow: hidden; }

.stat-card { background: #fff; padding: 1rem; border-radius: 16px; box-shadow: 0 20px 50px rgba(0,0,0,0.03); }
.stat-circle {
  width: 120px; height: 120px;
  border-radius: 50%; margin: 0 auto;
  background: conic-gradient(var(--green) calc(var(--value) * 1%), #e8eaf5 0);
  position: relative;
}
.stat-circle::after {
  content: attr(data-value);
  position: absolute; inset: 12px;
  background: #fff; border-radius: 50%;
  display: flex; align-items: center; justify-content: center;
  color: var(--purple); font-weight: 800; font-size: 1.4rem;
}

.brand-card { background: #fff; border-radius: 16px; padding: 1.25rem; text-align: center; border: 1px solid #eef0f5; }
.brand-logo { width: 60px; height: 60px; border-radius: 16px; color: #fff; font-weight: 800; display: grid; place-items: center; margin: 0 auto 10px; }
.brand-logo--image { background: #fff; border: 1px solid #eef0f5; }
.brand-logo--image img { width: 80%; height: 80%; object-fit: contain; display: block; }
.bg-orange { background: #ff8b3d; }
.bg-amber { background: #f5b731; }
.bg-pink { background: #e65cff; }

.grayscale-logos span { color: #a7a7a7; font-weight: 700; letter-spacing: 0.02em; }

.team-card, .creator-card { background: #fff; border-radius: 16px; padding: 1.5rem; text-align: center; border: 1px solid #eff1f6; }
.team-avatar, .creator-avatar { padding: 5px; border-radius: 12px; background-size: cover; background-position: center; box-shadow: inset 0 0 0 6px rgba(255,255,255,0.35); }
.creator-avatar { padding: 0; background: transparent; box-shadow: none; }
.creator-social { margin-top: 1rem; display: flex; gap: 10px; justify-content: center; align-items: center; flex-wrap: wrap; }
.creator-social a { display: inline-flex; align-items: center; justify-content: center; }
.creator-social img { width: 28px; height: 28px; display: block; }

.gallery-tile { padding-top: 160%; border-radius: 18px; background-size: cover; background-position: center; box-shadow: 0 10px 30px rgba(0,0,0,0.08); }

.video-frame { border-radius: 20px; overflow: hidden; background: #0b0d21; }
.video-frame iframe { border: 0; }

.icon-circle {
  width: 42px; height: 42px; border-radius: 50%; background: rgba(92,63,239,0.1); color: var(--purple);
  display: inline-flex; align-items: center; justify-content: center;
}

.pill { background: rgba(92,63,239,0.1); color: var(--purple); padding: 0.4rem 0.9rem; border-radius: 999px; font-weight: 700; }

.footer { background: #f4f5f8; margin-top: 2rem; }
.footer-link { color: inherit; text-decoration: none; }
.footer-link:hover { color: var(--purple); }
.footer-bottom { border-top: 1px solid #e3e6ef; }

.discord-card {
  background: linear-gradient(145deg, #111327, #0c1023);
  color: #e9edff;
  border-radius: 16px;
  padding: 1.25rem;
  border: 1px solid rgba(255,255,255,0.06);
  box-shadow: 0 20px 50px rgba(0,0,0,0.15);
  position: relative;
}
.discord-label { text-transform: uppercase; letter-spacing: 0.04em; font-size: 0.8rem; color: #7e8bb6; font-weight: 700; }
.discord-name { font-weight: 800; color: #fff; }
.discord-stats { gap: 0.75rem; }
.discord-stats small { color: #9aa6d7; display: block; }
.discord-dot {
  display: inline-block;
  width: 10px; height: 10px;
  border-radius: 50%;
  margin-right: 6px;
}
.discord-dot.live { background: #43ff94; box-shadow: 0 0 0 6px rgba(67,255,148,0.15); }
.discord-dot.idle { background: #9aa6d7; box-shadow: 0 0 0 6px rgba(154,166,215,0.15); }
.btn-discord {
  background: linear-gradient(120deg, #5865f2, #3c47c8);
  color: #fff;
  border: none;
  font-weight: 700;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  width: 100%;
}
.btn-discord:hover { color: #fff; opacity: 0.92; }

.hero::before {
  content: '';
  position: absolute;
  inset: 0;
  background-image: radial-gradient(2px 2px at 20% 30%, rgba(255,255,255,0.4) 0 50%, transparent 50%),
    radial-gradient(2px 2px at 70% 40%, rgba(255,255,255,0.3) 0 50%, transparent 50%),
    radial-gradient(2px 2px at 50% 70%, rgba(255,255,255,0.3) 0 50%, transparent 50%);
  pointer-events: none;
}

.page-hero {
  position: relative;
  padding: 6rem 0;
  background: linear-gradient(180deg, #f5f7fb 0%, #f9fafc 70%, #ffffff 100%);
  overflow: hidden;
}
.page-hero::after {
  content: '';
  position: absolute;
  top: -120px;
  right: -160px;
  width: 420px;
  height: 420px;
  background: radial-gradient(circle at 30% 30%, rgba(92,63,239,0.12), rgba(92,63,239,0));
  transform: rotate(-10deg);
}
.page-hero .badge {
  background: rgba(92,63,239,0.12);
  color: var(--purple);
}

@keyframes spin { to { transform: rotate(360deg); } }
@keyframes pulse { 0%,100% { transform: translateY(0) scale(1); } 50% { transform: translateY(6px) scale(1.04); } }
@media (max-width: 991px) {
  .hero { padding-top: 2rem; }
  .hero-visual { width: 280px; height: 280px; }
  .topbar { display: none; }
  .service-card-softheight { min-height: auto; }
  .service-card-creators { min-height: auto; }
}

.gallery-carousel {
  position: relative;
  padding: 2.5rem 0 2rem;
}
#galeri {
  position: relative;
  z-index: 3;
  padding-bottom: 6.5rem;
}
.gallery-window {
  overflow-x: hidden;
  overflow-y: visible;
  padding: 50px 50px 40px;
}
.gallery-track {
  display: flex;
  align-items: stretch;
  gap: 18px;
  transition: transform 0.6s ease;
  will-change: transform;
}
.gallery-card {
  min-width: 220px;
  flex: 0 0 auto;
  aspect-ratio: 3 / 4;
  border-radius: 18px;
  background-size: cover;
  background-position: center;
  box-shadow: 0 14px 32px rgba(0,0,0,0.12);
  transition: transform 0.35s ease;
}
.gallery-card.is-active {
  transform: scale(1.25);
  border-radius: 22px;
  z-index: 2;
  transform-origin: center center;
  margin: 0 18px;
}

@media (max-width: 768px) {
  .gallery-window {
    padding: 20px 16px 36px;
  }
  .gallery-track {
    gap: 12px;
  }
  .gallery-card {
    min-width: 170px;
  }
  .gallery-card.is-active {
    transform: scale(1.12);
  }
}
.gallery-nav {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  background: #fff;
  border: 1px solid #e9ebf3;
  width: 44px;
  height: 44px;
  border-radius: 50%;
  display: grid;
  place-items: center;
  color: var(--purple);
  box-shadow: 0 10px 30px rgba(0,0,0,0.08);
}
.gallery-nav:hover { background: var(--purple); color: #fff; }
.gallery-nav.prev { left: 6px; }
.gallery-nav.next { right: 6px; }

.brand-marquee {
  overflow: hidden;
  position: relative;
  padding: 1rem 0;
}
.brand-marquee::before,
.brand-marquee::after {
  content: '';
  position: absolute;
  top: 0;
  width: 120px;
  height: 100%;
  z-index: 2;
  pointer-events: none;
}
.brand-marquee::before {
  left: 0;
  background: linear-gradient(90deg, #fff, rgba(255,255,255,0));
}
.brand-marquee::after {
  right: 0;
  background: linear-gradient(270deg, #fff, rgba(255,255,255,0));
}
.brand-marquee .marquee-track {
  display: flex;
  align-items: center;
  gap: 18px;
  animation: none;
  will-change: transform;
}
.brand-marquee:hover .marquee-track { animation-play-state: running; }
.brand-marquee .brand-card {
  min-width: 190px;
  padding: 1rem;
  border-radius: 14px;
  box-shadow: 0 10px 26px rgba(0,0,0,0.05);
}

@keyframes marquee {
  0% { transform: translateX(0); }
  100% { transform: translateX(calc(-1 * var(--marquee-distance, 50%))); }
}

.fade-in {
  opacity: 0;
  animation: fadeInUp 0.9s ease forwards;
}
.delay-1 { animation-delay: 0.15s; }
.delay-2 { animation-delay: 0.3s; }
.delay-3 { animation-delay: 0.45s; }
.delay-4 { animation-delay: 0.6s; }

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

/* =========================
   DARK MODE
========================= */
body.dark-mode {
  background-color: #101010;
  color: #e5e7eb;
}

body.dark-mode .bg-light {
  background-color: #14182f !important;
}

body.dark-mode .navbar,
body.dark-mode .footer,
body.dark-mode .card,
body.dark-mode .creator-card,
body.dark-mode .brand-card {
  background-color: #14182f !important;
  color: #e5e7eb;
}

body.dark-mode .text-muted {
  color: #9ca3af !important;
}

body.dark-mode .nav-link {
  color: #e5e7eb !important;
}

body.dark-mode .nav-link:hover {
  color: #a78bfa !important;
}

/* =========================
   TOGGLE BUTTON
========================= */
.theme-toggle {
  position: fixed;
  bottom: 24px;
  right: 24px;
  width: 56px;
  height: 56px;
  border-radius: 50%;
  border: none;
  background: linear-gradient(135deg, #7c3aed, #9333ea);
  color: #fff;
  font-size: 22px;
  cursor: pointer;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
  display: flex;
  align-items: center;
  justify-content: center;
  transition: transform .2s ease, box-shadow .2s ease;
}

.theme-toggle:hover {
  transform: scale(1.08);
  box-shadow: 0 15px 40px rgba(0,0,0,.45);
}

/* =========================
   THEME VARIABLES
========================= */
:root{
  --bg: #ffffff;
  --surface: #ffffff;
  --surface-2: #f7f7fb;
  --text: #0f172a;
  --muted: #64748b;
  --border: rgba(15, 23, 42, .12);

  --shadow: 0 10px 30px rgba(0,0,0,.12);
}

/* Dark theme (screenshot tadında) */
body.dark-mode{
  --bg: #1d1c22;          /* ana zemin */
  --surface: #1b1511;     /* kartlar */
  --surface-2: #202020;   /* section, footer */
  --text: #eef2ff;        /* ana yazı */
  --muted: rgba(238,242,255,.65);
  --border: rgba(255,255,255,.08);

  --shadow: 0 18px 60px rgba(0,0,0,.55);
}

/* =========================
   GLOBAL APPLY
========================= */
body{
  background: var(--bg);
  color: var(--text);
}

p, .lead, .text-muted, small{
  color: var(--muted) !important;
}

/* Bootstrap bg-white / bg-light fix */
body.dark-mode .bg-white,
body.dark-mode .navbar.bg-white{
  background: rgba(17,20,27,.92) !important;
  backdrop-filter: blur(12px);
  border-bottom: 1px solid var(--border);
}

body.dark-mode .bg-light{
  background: var(--surface-2) !important;
}

/* Sectionlar */
body.dark-mode .section-padding{
  background: transparent;
}

/* Kartlar */
body.dark-mode .card,
body.dark-mode .creator-card,
body.dark-mode .brand-card,
body.dark-mode .discord-card{
  background: #101010 !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
}
body.dark-mode .paper-card,
body.dark-mode .service-card{
  background: #101010 !important;
  color: var(--text) !important;
  border: 1px solid var(--border) !important;
  box-shadow: var(--shadow);
}
body.dark-mode .accordion-item{
  background: #101010 !important;
  border: 1px solid var(--border) !important;
}
body.dark-mode .accordion-button{
  background: #101010 !important;
  color: var(--text) !important;
  box-shadow: none !important;
}
body.dark-mode .accordion-button:not(.collapsed){
  background: #151515 !important;
  color: #a78bfa !important;
}
body.dark-mode .accordion-button::after{
  filter: invert(1) brightness(1.2);
}
body.dark-mode .accordion-body{
  background: #101010 !important;
  color: var(--muted) !important;
}

/* Navbar linkler */
body.dark-mode .nav-link{
  color: rgba(238,242,255,.86) !important;
}
body.dark-mode .nav-link:hover{
  color: #a78bfa !important;
}

/* Footer */
body.dark-mode .footer{
  background: var(--surface-2) !important;
  border-top: 1px solid var(--border);
}

/* Hero alanı (screenshot gibi mor gradient kalsın ama metinler soft) */
body.dark-mode .hero{
  color: #fff;
}
body.dark-mode .hero .text-white-50{
  color: rgba(255,255,255,.65) !important;
}

/* Page hero dark styling (team header) */
body.dark-mode .page-hero{
  background: linear-gradient(180deg, #1c1d22 0%, #18191d 55%, #141519 100%);
}
body.dark-mode .page-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(circle at 20% 10%, rgba(255,255,255,0.06), transparent 45%);
  pointer-events: none;
}
body.dark-mode .page-hero::after{
  background: radial-gradient(circle at 30% 20%, rgba(124,58,237,0.18), rgba(124,58,237,0));
}
body.dark-mode .page-hero h1{
  color: #fff;
}
body.dark-mode .page-hero .badge{
  background: linear-gradient(135deg, #6d28d9, #8b5cf6);
  color: #f4f0ff;
  border: 1px solid rgba(139,92,246,0.35);
  box-shadow: 0 8px 24px rgba(0,0,0,0.35), 0 0 22px rgba(139,92,246,0.55);
}

/* Galeri ok butonları gibi yuvarlak kontroller */
body.dark-mode .gallery-nav{
  background: rgba(0,0,0,.35) !important;
  border: 1px solid var(--border) !important;
  color: #fff !important;
}
/* Dark modda wave beyaz kalmasın */
body.dark-mode .hero-wave{
  background: var(--bg) !important;   /* sayfanın koyu rengi neyse ona uyar */
}

/* Eğer wave pseudo element ile çizildiyse */
body.dark-mode .hero-wave::before,
body.dark-mode .hero-wave::after{
  background: var(--bg) !important;
}
/* Brand marquee kenar beyaz fade'leri tamamen kaldır */
.brand-marquee::before,
.brand-marquee::after{
  content: none !important;
  display: none !important;
  background: none !important;
}
/* PRIMARY CTA BUTTON FIX */
.hero .btn-light{
  background: linear-gradient(135deg,#22d3ee,#6366f1);
  color: #fff !important;
  border: none;
  box-shadow: 0 10px 30px rgba(0,0,0,.35);
}

.hero .btn-light:hover{
  transform: translateY(-2px);
  box-shadow: 0 15px 40px rgba(0,0,0,.45);
}

/* Dark mode override */
body.dark-mode .hero .btn-light{
  background: linear-gradient(135deg,#181f21,#181f21);
  color: #fff !important;
}


/* HERO BADGE - screenshot gibi siyah pill */
.hero .badge{
  background: #181f21 !important;
  color: #fff !important;
  border: 1px solid rgba(255,255,255,.18) !important;
  box-shadow: 0 10px 25px rgba(0,0,0,.35);
  backdrop-filter: blur(10px);
  font-weight: 600;
}

/* İçindeki yazı rengi garanti */
.hero .badge *{
  color: #fff !important;
}

/* =========================
   TEAM CARDS – DARK MODE
========================= */
body.dark-mode .team-card{
  background: #121212 !important;
  border: 1px solid rgba(255,255,255,.08);
  box-shadow: 0 18px 50px rgba(0,0,0,.6);
  color: #eef2ff;
}

/* Kart içindeki isim */
body.dark-mode .team-card h5{
  color: #fff !important;
}

/* Ünvan yazısı */
body.dark-mode .team-card p{
  color: rgba(238,242,255,.7) !important;
}

/* Kart içindeki RESİM KUTUSU (beyaz iç çerçeve kapansın) */
body.dark-mode .team-card > div:first-child{
  box-shadow: none !important;
  padding: 8px;
  border-radius: 14px;
}

/* Dark mode: page hero should be clean, no purple wedge or gradient */
body.dark-mode .page-hero{
  background: linear-gradient(180deg, #2a2a2c 0%, #1f1f20 45%, #121212 100%) !important;
}
body.dark-mode .page-hero::after{
  content: none !important;
  display: none !important;
}
body.dark-mode .page-hero::before{
  content: '';
  position: absolute;
  inset: 0;
  background: radial-gradient(120% 80% at 50% -10%, rgba(255,255,255,0.08), rgba(0,0,0,0) 55%);
  pointer-events: none;
}
body.dark-mode .page-hero + .section-padding{
  background: #121212 !important;
  border-top: none !important;
  box-shadow: none !important;
}
body.dark-mode .page-hero{
  border-bottom: none !important;
  box-shadow: none !important;
}
