/* --- TEMA RENK PALETLERİ --- */
body.theme-cyan {
  --accent: #00d2ff;
  --accent-glow: rgba(0, 210, 255, 0.35);
  --cyan: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.35);
}

body.theme-purple {
  --accent: #b026ff;
  --accent-glow: rgba(176, 38, 255, 0.35);
  --cyan: #b026ff;
  --cyan-glow: rgba(176, 38, 255, 0.35);
}

body.theme-red {
  --accent: #ff334b;
  --accent-glow: rgba(255, 51, 75, 0.35);
  --cyan: #ff334b;
  --cyan-glow: rgba(255, 51, 75, 0.35);
}

body.theme-green {
  --accent: #00ff88;
  --accent-glow: rgba(0, 255, 136, 0.35);
  --cyan: #00ff88;
  --cyan-glow: rgba(0, 255, 136, 0.35);
}

:root {
  --bg-deep: #05070b;
  --bg-surface: rgba(13, 18, 28, 0.7);
  --bg-card: rgba(18, 24, 38, 0.6);
  --border-subtle: rgba(255, 255, 255, 0.07);
  --border-glow: rgba(0, 210, 255, 0.4);
  --cyan: #00d2ff;
  --cyan-glow: rgba(0, 210, 255, 0.35);
  --blue: #0066ff;
  --purple: #8a2be2;
  --text-main: #f3f6fc;
  --text-muted: #8492a6;
  --discord: #5865F2;
}

* { margin: 0; padding: 0; box-sizing: border-box; font-family: 'Inter', sans-serif; }
body {
  background-color: var(--bg-deep);
  color: var(--text-main);
  overflow-x: hidden;
  position: relative;
}

/* Siber Izgara & Arka Plan Işıkları */
.bg-grid {
  position: fixed;
  top: 0; left: 0; width: 100vw; height: 100vh;
  background-size: 50px 50px;
  background-image: 
    linear-gradient(to right, rgba(255, 255, 255, 0.02) 1px, transparent 1px),
    linear-gradient(to bottom, rgba(255, 255, 255, 0.02) 1px, transparent 1px);
  z-index: -2;
  pointer-events: none;
}

.ambient-light-1 {
  position: absolute;
  top: -100px;
  left: 20%;
  width: 500px;
  height: 500px;
  background: radial-gradient(circle, rgba(0, 210, 255, 0.12) 0%, transparent 70%);
  filter: blur(80px);
  z-index: -1;
  pointer-events: none;
}
.ambient-light-2 {
  position: absolute;
  top: 400px;
  right: 15%;
  width: 450px;
  height: 450px;
  background: radial-gradient(circle, rgba(138, 43, 226, 0.1) 0%, transparent 70%);
  filter: blur(90px);
  z-index: -1;
  pointer-events: none;
}

/* Header / Navbar */
header {
  position: sticky;
  top: 0;
  background: rgba(5, 7, 11, 0.75);
  backdrop-filter: blur(16px);
  -webkit-backdrop-filter: blur(16px);
  border-bottom: 1px solid var(--border-subtle);
  z-index: 1000;
}
.nav-wrap {
  max-width: 1240px;
  margin: auto;
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 18px 24px;
}
.brand {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  font-weight: 700;
  letter-spacing: 3px;
  color: #fff;
  text-decoration: none;
}
.brand span {
  color: var(--cyan);
  text-shadow: 0 0 15px var(--cyan-glow);
}
.nav-links a {
  color: var(--text-muted);
  text-decoration: none;
  margin: 0 16px;
  font-size: 14px;
  font-weight: 500;
  transition: 0.25s ease;
}
.nav-links a:hover { color: var(--cyan); text-shadow: 0 0 10px var(--cyan-glow); }

/* Butonlar */
.btn {
  padding: 10px 22px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  text-decoration: none;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  cursor: pointer;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  border: 1px solid transparent;
}
.btn-discord {
  background: rgba(88, 101, 242, 0.15);
  border-color: rgba(88, 101, 242, 0.4);
  color: #fff;
}
.btn-discord:hover {
  background: #5865F2;
  box-shadow: 0 0 20px rgba(88, 101, 242, 0.5);
  transform: translateY(-2px);
}
.btn-primary {
  background: linear-gradient(135deg, var(--cyan), var(--blue));
  color: #05070b;
  font-weight: 700;
  box-shadow: 0 4px 20px var(--cyan-glow);
}
.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 6px 30px rgba(0, 210, 255, 0.6);
}
.btn-outline {
  background: var(--bg-surface);
  border-color: var(--border-subtle);
  color: #fff;
  backdrop-filter: blur(10px);
}
.btn-outline:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Hero Bölümü */
.hero {
  text-align: center;
  padding: 110px 20px 70px;
  max-width: 900px;
  margin: auto;
}
.hero-badge {
  display: inline-flex;
  align-items: center;
  gap: 8px;
  padding: 6px 16px;
  border-radius: 30px;
  background: rgba(0, 210, 255, 0.05);
  border: 1px solid rgba(0, 210, 255, 0.25);
  color: var(--cyan);
  font-size: 13px;
  font-weight: 600;
  letter-spacing: 0.5px;
  margin-bottom: 24px;
  box-shadow: 0 0 20px rgba(0, 210, 255, 0.1);
}
.hero h1 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 60px;
  line-height: 1.1;
  font-weight: 700;
  letter-spacing: 1.5px;
  margin-bottom: 20px;
}
.hero h1 span {
  background: linear-gradient(90deg, #fff, var(--cyan));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  text-shadow: 0 0 30px var(--cyan-glow);
}
.hero p {
  color: var(--text-muted);
  font-size: 16px;
  line-height: 1.7;
  max-width: 700px;
  margin: 0 auto 36px;
}
.hero-btns { display: flex; justify-content: center; gap: 16px; }

/* Güven & İstatistik Bandı */
.stats-strip {
  max-width: 1200px;
  margin: 0 auto 90px;
  padding: 0 20px;
}
.stats-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
  gap: 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: 12px;
  padding: 24px;
  backdrop-filter: blur(12px);
}
.stat-item {
  text-align: center;
  padding: 10px;
  border-right: 1px solid var(--border-subtle);
}
.stat-item:last-child { border-right: none; }
.stat-num {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}
.stat-label {
  font-size: 13px;
  color: var(--text-muted);
  margin-top: 4px;
  text-transform: uppercase;
  letter-spacing: 1px;
}

/* Vitrin Bölümü */
.container { max-width: 1240px; margin: 0 auto 100px; padding: 0 24px; }
.section-title { text-align: center; margin-bottom: 40px; }
.section-title h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 38px;
  font-weight: 700;
  letter-spacing: 2px;
}
.section-title p { color: var(--text-muted); font-size: 15px; margin-top: 6px; }

/* Filtreler */
.filters { display: flex; justify-content: center; gap: 10px; margin-bottom: 40px; flex-wrap: wrap; }
.filter-btn {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  padding: 10px 20px;
  border-radius: 8px;
  font-size: 14px;
  font-weight: 600;
  cursor: pointer;
  transition: all 0.25s ease;
  backdrop-filter: blur(8px);
}
.filter-btn.active, .filter-btn:hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(0, 210, 255, 0.1);
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.2);
}

/* Sistem Kartları (mr-3dwork & bvural41 tarzı) */
.systems-grid {
  display: grid;
  grid-template-columns: repeat(auto-fill, minmax(350px, 1fr));
  gap: 26px;
}
.card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
  transition: all 0.35s cubic-bezier(0.4, 0, 0.2, 1);
  position: relative;
}
.card::before {
  content: '';
  position: absolute;
  top: 0; left: 0; right: 0; height: 1px;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  pointer-events: none;
}
.card:hover {
  transform: translateY(-6px);
  border-color: var(--border-glow);
  box-shadow: 0 14px 35px rgba(0, 0, 0, 0.6), 0 0 25px rgba(0, 210, 255, 0.15);
}

/* Kartın Görsel Alanı */
.card-top {
  height: 190px;
  background: radial-gradient(circle at center, #162032 0%, #0c111a 100%);
  display: flex;
  align-items: center;
  justify-content: center;
  position: relative;
  border-bottom: 1px solid var(--border-subtle);
  overflow: hidden;
}
.card-top i.preview-icon {
  font-size: 54px;
  color: rgba(255, 255, 255, 0.12);
  transition: 0.35s ease;
}
.card:hover .card-top i.preview-icon {
  color: var(--cyan);
  transform: scale(1.1);
  text-shadow: 0 0 25px var(--cyan-glow);
}

.badge {
  position: absolute;
  top: 12px;
  right: 12px;
  font-size: 11px;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  padding: 4px 10px;
  border-radius: 6px;
  background: rgba(0, 210, 255, 0.15);
  color: var(--cyan);
  border: 1px solid rgba(0, 210, 255, 0.35);
  backdrop-filter: blur(8px);
}

/* Kart İçeriği */
.card-body { padding: 22px; flex-grow: 1; display: flex; flex-direction: column; }
.tags { display: flex; gap: 6px; margin-bottom: 12px; flex-wrap: wrap; }
.tag {
  font-size: 11px;
  font-weight: 700;
  padding: 3px 8px;
  border-radius: 4px;
  background: rgba(255, 255, 255, 0.05);
  border: 1px solid var(--border-subtle);
  color: #a0aec0;
}
.card h3 {
  font-size: 19px;
  font-weight: 600;
  margin-bottom: 8px;
  color: #fff;
}
.card p {
  font-size: 13.5px;
  color: var(--text-muted);
  line-height: 1.6;
  flex-grow: 1;
  margin-bottom: 20px;
}
.card-bottom {
  display: flex;
  justify-content: space-between;
  align-items: center;
  border-top: 1px solid var(--border-subtle);
  padding-top: 16px;
}
.price {
  font-size: 18px;
  font-weight: 700;
  color: #fff;
  font-family: 'Rajdhani', sans-serif;
  letter-spacing: 0.5px;
}
.card-link {
  font-size: 13px;
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  display: inline-flex;
  align-items: center;
  gap: 6px;
  transition: 0.2s;
}
.card-link:hover {
  transform: translateX(3px);
  text-shadow: 0 0 10px var(--cyan-glow);
}

/* Footer */
footer {
  border-top: 1px solid var(--border-subtle);
  padding: 45px 20px 30px;
  text-align: center;
  font-size: 13px;
  color: var(--text-muted);
  background: #030407;
}
footer .sub { font-size: 11px; margin-top: 8px; color: #4a5568; }

/* Sistem Detay Sayfası Stilleri */
.detail-container {
  max-width: 1240px;
  margin: 40px auto 100px;
  padding: 0 24px;
}
.breadcrumb {
  margin-bottom: 25px;
}
.breadcrumb a {
  color: var(--text-muted);
  text-decoration: none;
  font-size: 14px;
  font-weight: 500;
  display: inline-flex;
  align-items: center;
  gap: 8px;
  transition: 0.2s;
}
.breadcrumb a:hover {
  color: var(--cyan);
}

.detail-grid {
  display: grid;
  grid-template-columns: 1.8fr 1fr;
  gap: 32px;
  align-items: start;
}

/* Sol Alan: Medya ve Açıklama */
.preview-box {
  background: radial-gradient(circle at center, #162032 0%, #0c111a 100%);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  height: 380px;
  display: flex;
  align-items: center;
  justify-content: center;
  overflow: hidden;
  margin-bottom: 30px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
}
.preview-placeholder {
  text-align: center;
  color: var(--text-muted);
}
.preview-placeholder i {
  font-size: 64px;
  color: var(--cyan);
  display: block;
  margin-bottom: 12px;
  text-shadow: 0 0 20px var(--cyan-glow);
}

.content-box {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 30px;
  backdrop-filter: blur(14px);
}
.content-box h2 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 26px;
  margin-bottom: 14px;
}
.long-desc {
  color: var(--text-muted);
  font-size: 15px;
  line-height: 1.7;
  margin-bottom: 30px;
}
.content-box h3 {
  font-family: 'Rajdhani', sans-serif;
  font-size: 20px;
  margin-bottom: 16px;
}
.specs-grid {
  display: grid;
  grid-template-columns: repeat(2, 1fr);
  gap: 16px;
}
.spec-card {
  background: rgba(255, 255, 255, 0.02);
  border: 1px solid var(--border-subtle);
  padding: 14px;
  border-radius: 8px;
}
.spec-label {
  display: block;
  font-size: 12px;
  color: var(--text-muted);
  text-transform: uppercase;
  margin-bottom: 4px;
}
.spec-value {
  font-size: 14px;
  font-weight: 600;
  color: var(--cyan);
}

/* Sağ Alan: Sipariş Kartı */
.checkout-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  padding: 30px;
  backdrop-filter: blur(14px);
  position: sticky;
  top: 90px;
}
.checkout-header {
  display: flex;
  justify-content: space-between;
  align-items: center;
  margin-bottom: 16px;
}
.detail-price {
  font-family: 'Rajdhani', sans-serif;
  font-size: 32px;
  font-weight: 700;
  color: #fff;
  text-shadow: 0 0 15px var(--cyan-glow);
}
.system-title {
  font-family: 'Rajdhani', sans-serif;
  font-size: 28px;
  line-height: 1.2;
  margin-bottom: 12px;
}
.tags-row {
  display: flex;
  gap: 6px;
  flex-wrap: wrap;
  margin-bottom: 20px;
}
.card-divider {
  border: none;
  border-top: 1px solid var(--border-subtle);
  margin: 20px 0;
}
.perks-list {
  list-style: none;
  margin-bottom: 26px;
}
.perks-list li {
  font-size: 14px;
  color: var(--text-muted);
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}
.perks-list li i {
  color: var(--cyan);
  font-size: 12px;
}
.btn-block {
  width: 100%;
  justify-content: center;
  margin-bottom: 10px;
}

/* Responsive */
@media (max-width: 900px) {
  .detail-grid { grid-template-columns: 1fr; }
  .specs-grid { grid-template-columns: 1fr; }
}

/* Ana Sayfa Kart Görseli - Resmi Ezmeden Şık Gösterir */
.card-top {
  height: 200px;
  background: #090e17;
  position: relative;
  overflow: hidden;
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: center;
}

.card-top img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Görseli kesip bozmaz, kutunun içine tam sığdırır */
  background-color: #080c14;
  transition: transform 0.3s ease;
}

.card:hover .card-top img {
  transform: scale(1.05);
}

/* Detay Sayfası Medya Alanı - Kırık Resim ve Boşluk Sorununu Çözer */
.preview-box {
  width: 100%;
  height: 440px;
  background: #090e17;
  border: 1px solid var(--border-subtle);
  border-radius: 14px;
  overflow: hidden;
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
  margin-bottom: 30px;
}

.preview-box img.detail-full-img {
  width: 100%;
  height: 100%;
  object-fit: contain; /* Detay sayfasında görselin tamamı net görünür */
  background: #060910;
  display: block;
}

.preview-box iframe {
  width: 100%;
  height: 100%;
  border: none;
}

/* Header Kontrol Alanı */
.header-controls {
  display: flex;
  align-items: center;
  gap: 14px;
}

/* Görseldeki Kapsül Dil Switcher */
.lang-switch-capsule {
  position: relative;
  display: flex;
  align-items: center;
  background: #090c13;
  border: 1.5px solid rgba(255, 255, 255, 0.1);
  border-radius: 40px;
  padding: 3px;
  width: 96px;
  height: 38px;
  box-shadow: inset 0 2px 6px rgba(0, 0, 0, 0.7);
  user-select: none;
}

/* Arkadaki Turuncu Kayan Yuvarlak/Hap Parıltı */
.lang-thumb {
  position: absolute;
  top: 3px;
  left: 3px;
  width: 44px;
  height: 30px;
  border-radius: 20px;
  background: linear-gradient(135deg, #ff9e00, #ff5100);
  box-shadow: 0 0 16px rgba(255, 100, 0, 0.65), 0 0 4px rgba(255, 160, 0, 0.8);
  transition: transform 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1;
  pointer-events: none;
}

/* İngilizce seçilince sağa kaysın */
.lang-switch-capsule.en-active .lang-thumb {
  transform: translateX(44px);
}

/* Bayrak Butonları */
.lang-pill-btn {
  flex: 1;
  height: 100%;
  background: transparent;
  border: none;
  cursor: pointer;
  z-index: 2;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  transition: opacity 0.25s ease, filter 0.25s ease;
}

/* Bayrak SVG Ölçüleri */
.flag-icon {
  width: 22px;
  height: 15px;
  border-radius: 3px;
  display: block;
  transition: all 0.25s ease;
}

/* Aktif Olmayan Bayrak: Sönük ve Monokrom */
.lang-pill-btn:not(.active) .flag-icon {
  opacity: 0.35;
  filter: grayscale(100%) brightness(1.2);
}

.lang-pill-btn:not(.active):hover .flag-icon {
  opacity: 0.65;
}

/* Aktif Bayrak: Canlı ve Net */
.lang-pill-btn.active .flag-icon {
  opacity: 1;
  filter: drop-shadow(0 1px 2px rgba(0,0,0,0.4));
}

.lang-btn.active {
  background: linear-gradient(135deg, #ff9900, #ff5500);
  box-shadow: 0 0 12px rgba(255, 120, 0, 0.5);
}

/* Müzik Çalar Butonu */
.music-btn {
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(14, 18, 27, 0.85);
  border: 1.5px solid rgba(255, 255, 255, 0.15);
  color: var(--text-muted);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  position: relative;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  backdrop-filter: blur(10px);
}
.music-btn:hover {
  border-color: var(--accent);
  color: #fff;
  box-shadow: 0 0 15px var(--accent-glow);
}
.music-btn.playing {
  border-color: var(--accent);
  color: var(--accent);
  box-shadow: 0 0 18px var(--accent-glow);
}

/* Çalarken Çıkan Ses Dalgası Efekti */
.music-waves {
  display: none;
  align-items: flex-end;
  gap: 2px;
  height: 12px;
  position: absolute;
  bottom: 6px;
}
.music-btn.playing .music-waves {
  display: flex;
}
.music-btn.playing #musicIcon {
  margin-bottom: 5px;
  font-size: 12px;
}
.music-waves span {
  width: 2px;
  background: var(--accent);
  border-radius: 2px;
  animation: wavePulse 1s ease-in-out infinite;
}
.music-waves span:nth-child(1) { height: 4px; animation-delay: 0.1s; }
.music-waves span:nth-child(2) { height: 10px; animation-delay: 0.3s; }
.music-waves span:nth-child(3) { height: 6px; animation-delay: 0.2s; }

@keyframes wavePulse {
  0%, 100% { transform: scaleY(0.4); }
  50% { transform: scaleY(1.2); }
}

/* Ses Butonu ve Açılır Slider Kapsayıcısı */
.music-control-wrap {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Hover olunca butonun altında beliren slider kutusu */
.volume-slider-box {
  position: absolute;
  top: 48px;
  left: 50%;
  transform: translateX(-50%) translateY(-10px);
  background: rgba(14, 18, 27, 0.95);
  border: 1px solid var(--border-subtle);
  border-radius: 20px;
  padding: 12px 6px;
  backdrop-filter: blur(12px);
  box-shadow: 0 10px 25px rgba(0, 0, 0, 0.6);
  opacity: 0;
  visibility: hidden;
  transition: all 0.25s cubic-bezier(0.4, 0, 0.2, 1);
  z-index: 1000;
  display: flex;
  align-items: center;
  justify-content: center;
}

/* Üzerine gelindiğinde veya kutudayken görünür yap */
.music-control-wrap:hover .volume-slider-box {
  opacity: 1;
  visibility: visible;
  transform: translateX(-50%) translateY(0);
}

/* Dikey Ses Kaydırma Çubuğu */
.volume-slider-box input[type="range"] {
  -webkit-appearance: slider-vertical;
  appearance: slider-vertical;
  width: 6px;
  height: 80px;
  background: rgba(255, 255, 255, 0.15);
  border-radius: 4px;
  cursor: pointer;
  accent-color: var(--cyan);
}