/* ==========================================================================
   ROXY HUB — Cyberpunk Neon Theme (style.css)
   ========================================================================== */

:root {
  --bg-deep:      #05060a;
  --bg-surface:   #0a0d17;
  --bg-card:      #0f1424;
  --bg-card-hover:#141b30;
  
  --cyan:         #00f0ff;
  --cyan-glow:    rgba(0, 240, 255, 0.45);
  --cyan-dim:     rgba(0, 240, 255, 0.12);
  
  --purple:       #a855f7;
  --purple-glow:  rgba(168, 85, 247, 0.45);
  --purple-dim:   rgba(168, 85, 247, 0.12);
  
  --green:        #10b981;
  --green-glow:   rgba(16, 185, 129, 0.45);
  --green-dim:    rgba(16, 185, 129, 0.12);
  
  --red:          #f43f5e;
  --red-glow:     rgba(244, 63, 94, 0.45);
  
  --gold:         #f59e0b;
  
  --text-primary:   #f8fafc;
  --text-secondary: #94a3b8;
  --text-muted:     #64748b;
  
  --border-subtle:  rgba(255, 255, 255, 0.08);
  --border-glow:    rgba(0, 240, 255, 0.3);
  
  --radius-sm:  8px;
  --radius-md: 14px;
  --radius-lg: 20px;
  
  --font-title: 'Orbitron', sans-serif;
  --font-sub:   'Rajdhani', sans-serif;
  --font-body:  'Inter', sans-serif;
  --font-mono:  'JetBrains Mono', monospace;
  
  --trans: 0.22s cubic-bezier(0.4, 0, 0.2, 1);
}

*, *::before, *::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  background-color: var(--bg-deep);
  color: var(--text-primary);
  font-family: var(--font-body);
  min-height: 100vh;
  overflow-x: hidden;
  position: relative;
  -webkit-font-smoothing: antialiased;
}

/* ─── Cyberpunk Arka Plan Efektleri ─── */
.cyber-grid {
  position: fixed;
  inset: 0;
  z-index: 0;
  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: 48px 48px;
  pointer-events: none;
}

.neon-glow {
  position: fixed;
  border-radius: 50%;
  filter: blur(120px);
  pointer-events: none;
  z-index: 0;
  opacity: 0.28;
  animation: floatGlow 12s ease-in-out infinite alternate;
}

.glow-cyan {
  width: 600px;
  height: 600px;
  top: -150px;
  left: -150px;
  background: radial-gradient(circle, var(--cyan), transparent 70%);
}

.glow-purple {
  width: 500px;
  height: 500px;
  bottom: -100px;
  right: -100px;
  background: radial-gradient(circle, var(--purple), transparent 70%);
}

@keyframes floatGlow {
  0%   { transform: translate(0, 0) scale(1); }
  100% { transform: translate(40px, 30px) scale(1.08); }
}

/* ─── Ana Düzen ─── */
.app-layout {
  position: relative;
  z-index: 1;
  max-width: 1200px;
  margin: 0 auto;
  padding: 24px 24px 80px;
}

/* ─── Top Cyber Header ─── */
.cyber-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding-bottom: 24px;
  border-bottom: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 16px;
}

.brand-zone {
  display: flex;
  align-items: center;
  gap: 16px;
}

.brand-icon {
  width: 48px;
  height: 48px;
  background: linear-gradient(135deg, var(--cyan), var(--purple));
  border-radius: var(--radius-md);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 22px;
  color: #05060a;
  box-shadow: 0 0 24px var(--cyan-glow);
}

.brand-title {
  font-family: var(--font-title);
  font-size: 1.6rem;
  font-weight: 900;
  letter-spacing: 2px;
  background: linear-gradient(90deg, var(--cyan), #fff, var(--purple));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  display: flex;
  align-items: center;
  gap: 10px;
}

.badge-v {
  font-family: var(--font-mono);
  font-size: 0.68rem;
  font-weight: 700;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  padding: 2px 8px;
  border-radius: 6px;
  -webkit-text-fill-color: var(--cyan);
  letter-spacing: 1px;
}

.brand-sub {
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 600;
  color: var(--text-secondary);
  letter-spacing: 3px;
}

.header-widgets {
  display: flex;
  align-items: center;
  gap: 12px;
}

.hud-pill {
  display: flex;
  align-items: center;
  gap: 8px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  padding: 8px 16px;
  border-radius: 100px;
  font-size: 0.78rem;
  font-family: var(--font-mono);
}

.hud-label {
  color: var(--text-muted);
}

.hud-val {
  font-weight: 600;
  color: var(--text-primary);
}

.pulsing-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--cyan);
  box-shadow: 0 0 10px var(--cyan);
  animation: blinkDot 1.8s infinite;
}

.pulsing-dot.green {
  background: var(--green);
  box-shadow: 0 0 10px var(--green);
}

.pulsing-dot.red {
  background: var(--red);
  box-shadow: 0 0 10px var(--red);
  animation: none;
}

@keyframes blinkDot {
  0%, 100% { opacity: 1; transform: scale(1); }
  50%      { opacity: 0.35; transform: scale(0.85); }
}

/* ─── Navigasyon Sekmeleri ─── */
.cyber-nav {
  display: flex;
  gap: 10px;
  margin-bottom: 28px;
  background: var(--bg-surface);
  padding: 6px;
  border-radius: var(--radius-md);
  border: 1px solid var(--border-subtle);
  flex-wrap: wrap;
}

.nav-tab {
  flex: 1;
  min-width: 180px;
  padding: 12px 20px;
  background: transparent;
  border: none;
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 10px;
  transition: all var(--trans);
}

.nav-tab:hover {
  color: var(--text-primary);
  background: rgba(255, 255, 255, 0.03);
}

.nav-tab.active {
  background: linear-gradient(135deg, var(--cyan-dim), var(--purple-dim));
  border: 1px solid var(--border-glow);
  color: var(--cyan);
  box-shadow: 0 0 20px var(--cyan-dim);
}

/* ─── Sekme İçerikleri ─── */
.tab-content {
  display: none;
  animation: tabFadeIn 0.3s ease;
}

.tab-content.active {
  display: block;
}

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

/* ─── Key & Bağlantı Çubuğu ─── */
.controller-key-bar {
  display: flex;
  align-items: center;
  justify-content: space-between;
  padding: 18px 24px;
  border-radius: var(--radius-md);
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  margin-bottom: 24px;
  flex-wrap: wrap;
  gap: 20px;
}

.key-bar-left {
  display: flex;
  align-items: center;
  gap: 14px;
  flex: 1;
  min-width: 320px;
}

.input-icon-wrap {
  position: relative;
  flex: 1;
}

.input-icon-wrap i {
  position: absolute;
  left: 16px;
  top: 50%;
  transform: translateY(-50%);
  color: var(--cyan);
}

.input-icon-wrap input {
  padding-left: 44px;
}

.auto-sync-toggle {
  display: flex;
  align-items: center;
  gap: 14px;
}

.auto-sync-toggle .sync-text .title {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 700;
  color: var(--cyan);
}

.auto-sync-toggle .sync-text .sub {
  display: block;
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── HUD Gauge Cards (3 Kolon) ─── */
.hud-grid-3 {
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 18px;
  margin-bottom: 24px;
}

.hud-stat-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 20px;
  display: flex;
  align-items: center;
  gap: 18px;
  transition: all var(--trans);
}

.hud-stat-card:hover {
  border-color: var(--border-glow);
  transform: translateY(-2px);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.4);
}

.stat-icon {
  width: 52px;
  height: 52px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 24px;
}

.stat-icon.cyan   { background: var(--cyan-dim);   color: var(--cyan);   border: 1px solid var(--cyan);   }
.stat-icon.purple { background: var(--purple-dim); color: var(--purple); border: 1px solid var(--purple); }
.stat-icon.green  { background: var(--green-dim);  color: var(--green);  border: 1px solid var(--green);  }

.stat-meta {
  display: flex;
  flex-direction: column;
}

.stat-name {
  font-family: var(--font-sub);
  font-size: 0.8rem;
  font-weight: 700;
  letter-spacing: 1.5px;
  color: var(--text-secondary);
}

.stat-num {
  font-family: var(--font-title);
  font-size: 1.7rem;
  font-weight: 900;
  color: #fff;
  line-height: 1.2;
}

.stat-desc {
  font-size: 0.72rem;
  color: var(--text-muted);
}

/* ─── Kumanda Ana Grid (2 Sütun) ─── */
.control-main-grid {
  display: grid;
  grid-template-columns: 1.2fr 1fr;
  gap: 24px;
}

.control-column {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

/* ─── Cyber Card ─── */
.cyber-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-lg);
  padding: 24px;
  transition: all var(--trans);
  backdrop-filter: blur(12px);
}

.cyber-card:hover {
  border-color: rgba(255, 255, 255, 0.16);
}

.card-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 20px;
}

.card-title {
  display: flex;
  align-items: center;
  gap: 10px;
  font-family: var(--font-title);
  font-size: 0.9rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-primary);
}

.card-icon {
  font-size: 1.1rem;
}

.card-icon.cyan   { color: var(--cyan);   }
.card-icon.purple { color: var(--purple); }
.card-icon.green  { color: var(--green);  }
.card-icon.gold   { color: var(--gold);   }

.badge-num {
  font-family: var(--font-title);
  font-size: 1.1rem;
  font-weight: 900;
  padding: 4px 14px;
  border-radius: 8px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  color: var(--cyan);
  text-shadow: 0 0 10px var(--cyan-glow);
}

.badge-num.purple-num {
  background: var(--purple-dim);
  border-color: var(--purple);
  color: var(--purple);
  text-shadow: 0 0 10px var(--purple-glow);
}

.badge-num.green-num {
  background: var(--green-dim);
  border-color: var(--green);
  color: var(--green);
  text-shadow: 0 0 10px var(--green-glow);
}

/* ─── Cyber Slider ─── */
.slider-container {
  margin-bottom: 18px;
}

.cyber-slider {
  width: 100%;
  height: 10px;
  border-radius: 10px;
  background: #141b2d;
  outline: none;
  -webkit-appearance: none;
  cursor: pointer;
  transition: all var(--trans);
}

.cyber-slider::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 26px;
  height: 26px;
  border-radius: 50%;
  background: #fff;
  cursor: pointer;
  transition: all var(--trans);
}

/* Slider Renkleri */
.cyan-slider::-webkit-slider-thumb {
  background: var(--cyan);
  box-shadow: 0 0 16px var(--cyan);
}
.cyan-slider:hover::-webkit-slider-thumb {
  transform: scale(1.15);
}

.purple-slider::-webkit-slider-thumb {
  background: var(--purple);
  box-shadow: 0 0 16px var(--purple);
}
.purple-slider:hover::-webkit-slider-thumb {
  transform: scale(1.15);
}

.green-slider::-webkit-slider-thumb {
  background: var(--green);
  box-shadow: 0 0 16px var(--green);
}
.green-slider:hover::-webkit-slider-thumb {
  transform: scale(1.15);
}

.slider-ticks {
  display: flex;
  justify-content: space-between;
  font-family: var(--font-mono);
  font-size: 0.7rem;
  color: var(--text-muted);
  margin-top: 8px;
}

/* ─── Preset Butonları ─── */
.preset-buttons {
  display: flex;
  gap: 8px;
  flex-wrap: wrap;
}

.btn-preset {
  flex: 1;
  min-width: 80px;
  padding: 8px 10px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-secondary);
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  cursor: pointer;
  transition: all var(--trans);
}

.btn-preset:hover {
  border-color: var(--cyan);
  color: #fff;
  background: rgba(0, 240, 255, 0.08);
}

.btn-preset.btn-max {
  border-color: rgba(244, 63, 94, 0.4);
  color: var(--red);
}

.btn-preset.btn-max:hover {
  background: rgba(244, 63, 94, 0.15);
  color: #fff;
}

/* ─── Toggle Switch Listesi ─── */
.toggles-list {
  display: flex;
  flex-direction: column;
  gap: 12px;
  margin-bottom: 20px;
}

.toggle-row {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 14px 18px;
  cursor: pointer;
  transition: all var(--trans);
}

.toggle-row:hover {
  border-color: var(--border-glow);
  background: var(--bg-card-hover);
}

.toggle-info {
  display: flex;
  align-items: center;
  gap: 14px;
}

.toggle-badge-icon {
  width: 40px;
  height: 40px;
  border-radius: var(--radius-sm);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 18px;
}

.toggle-badge-icon.cyan   { background: var(--cyan-dim);   color: var(--cyan);   }
.toggle-badge-icon.purple { background: var(--purple-dim); color: var(--purple); }
.toggle-badge-icon.green  { background: var(--green-dim);  color: var(--green);  }

.toggle-name {
  font-family: var(--font-sub);
  font-size: 1rem;
  font-weight: 700;
  color: var(--text-primary);
}

.toggle-desc {
  font-size: 0.75rem;
  color: var(--text-muted);
}

/* ─── Switch Slider (HTML Checkbox) ─── */
.switch-wrap {
  position: relative;
  display: inline-block;
  width: 48px;
  height: 26px;
  flex-shrink: 0;
}

.switch-wrap input {
  opacity: 0;
  width: 0;
  height: 0;
}

.slider.round {
  position: absolute;
  cursor: pointer;
  inset: 0;
  background-color: #1e293b;
  transition: .24s;
  border-radius: 34px;
  border: 1px solid var(--border-subtle);
}

.slider.round:before {
  position: absolute;
  content: "";
  height: 18px;
  width: 18px;
  left: 3px;
  bottom: 3px;
  background-color: #fff;
  transition: .24s;
  border-radius: 50%;
}

input:checked + .slider.round {
  background-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-glow);
}

input:checked + .slider.round:before {
  transform: translateX(22px);
  background-color: #05060a;
}

/* ─── Aksiyon Butonları ─── */
.action-buttons-row {
  display: flex;
  gap: 12px;
}

.btn-cyber {
  padding: 12px 20px;
  border-radius: var(--radius-sm);
  border: none;
  font-family: var(--font-sub);
  font-size: 0.95rem;
  font-weight: 700;
  letter-spacing: 1px;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 8px;
  transition: all var(--trans);
}

.btn-cyber:hover {
  transform: translateY(-2px);
  filter: brightness(1.1);
}

.btn-cyber:active {
  transform: translateY(0);
}

.btn-cyan {
  background: var(--cyan);
  color: #05060a;
  box-shadow: 0 0 20px var(--cyan-dim);
}

.btn-purple {
  background: var(--purple);
  color: #fff;
  box-shadow: 0 0 20px var(--purple-dim);
}

.btn-green {
  background: var(--green);
  color: #05060a;
  box-shadow: 0 0 20px var(--green-dim);
}

.btn-danger {
  background: rgba(244, 63, 94, 0.15);
  border: 1px solid var(--red);
  color: var(--red);
}

.btn-danger:hover {
  background: var(--red);
  color: #fff;
  box-shadow: 0 0 20px var(--red-glow);
}

.flex-1 { flex: 1; }
.w-full { width: 100%; }

.btn-mini {
  background: transparent;
  border: 1px solid var(--border-subtle);
  color: var(--text-muted);
  border-radius: 6px;
  padding: 4px 10px;
  font-size: 0.72rem;
  font-family: var(--font-mono);
  cursor: pointer;
  transition: all var(--trans);
}

.btn-mini:hover {
  border-color: var(--cyan);
  color: var(--cyan);
}

/* ─── Hack Terminal Log Konsolu ─── */
.terminal-card {
  display: flex;
  flex-direction: column;
}

.console-box {
  background: #040508;
  border: 1px solid rgba(0, 255, 136, 0.2);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  font-family: var(--font-mono);
  font-size: 0.78rem;
  line-height: 1.7;
  max-height: 220px;
  overflow-y: auto;
  display: flex;
  flex-direction: column;
  gap: 4px;
}

.log-line {
  word-break: break-all;
}

.log-line.system { color: var(--cyan); }
.log-line.info   { color: #38bdf8; }
.log-line.tip    { color: var(--purple); }
.log-line.success{ color: var(--green); font-weight: 600; }
.log-line.warn   { color: var(--gold); }
.log-line.error  { color: var(--red); }

/* ─── Form Kontrolleri ─── */
.form-group {
  margin-bottom: 16px;
}

.form-group label {
  display: block;
  font-family: var(--font-sub);
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 1px;
  color: var(--text-secondary);
  margin-bottom: 8px;
}

.cyber-input {
  width: 100%;
  padding: 12px 16px;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  color: var(--text-primary);
  font-family: var(--font-body);
  font-size: 0.92rem;
  transition: all var(--trans);
  outline: none;
}

.cyber-input:focus {
  border-color: var(--cyan);
  box-shadow: 0 0 16px var(--cyan-dim);
}

.cyber-input.key-format {
  font-family: var(--font-mono);
  letter-spacing: 2px;
  font-weight: 600;
}

.text-center { text-align: center; }

/* ─── Grid 2 Kolon ─── */
.grid-2-col {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 24px;
}

.grid-2-col-inner {
  display: grid;
  grid-template-columns: 1fr 1fr;
  gap: 14px;
}

.card-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 18px;
}

.info-alert {
  display: flex;
  align-items: flex-start;
  gap: 12px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-sm);
  padding: 14px 16px;
  color: var(--cyan);
  font-size: 0.82rem;
  line-height: 1.5;
}

.status-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 16px;
  margin-top: 18px;
}

/* ─── Admin Lock Card ─── */
.admin-lock-card {
  text-align: center;
  max-width: 540px;
  margin: 40px auto;
  padding: 48px 32px;
}

.lock-icon-pulse {
  width: 72px;
  height: 72px;
  margin: 0 auto 20px;
  border-radius: 50%;
  background: var(--purple-dim);
  border: 1px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 28px;
  color: var(--purple);
  box-shadow: 0 0 30px var(--purple-glow);
}

.admin-lock-card h2 {
  font-family: var(--font-title);
  font-size: 1.4rem;
  letter-spacing: 2px;
  margin-bottom: 10px;
}

.admin-lock-card p {
  color: var(--text-secondary);
  font-size: 0.9rem;
}

/* ─── Yeni Üretilen Keyler Listesi ─── */
.new-keys-box {
  background: var(--bg-surface);
  border: 1px solid var(--border-glow);
  border-radius: var(--radius-md);
  padding: 16px;
  margin-top: 20px;
}

.keys-box-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  font-family: var(--font-sub);
  font-size: 0.9rem;
  font-weight: 700;
  color: var(--green);
  margin-bottom: 12px;
}

.keys-list-inner {
  display: flex;
  flex-direction: column;
  gap: 8px;
  max-height: 220px;
  overflow-y: auto;
}

.key-row-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: #060912;
  border: 1px solid var(--border-subtle);
  border-radius: 6px;
  padding: 8px 12px;
  font-family: var(--font-mono);
  font-size: 0.85rem;
  color: var(--cyan);
}

/* ─── Toast Bildirimleri ─── */
.toast-container {
  position: fixed;
  top: 24px;
  right: 24px;
  z-index: 9999;
  display: flex;
  flex-direction: column;
  gap: 10px;
}

.toast {
  padding: 14px 20px;
  border-radius: var(--radius-sm);
  font-size: 0.88rem;
  font-weight: 600;
  backdrop-filter: blur(16px);
  animation: toastSlide 0.3s ease;
  max-width: 380px;
  display: flex;
  align-items: center;
  gap: 10px;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.5);
}

.toast-success { background: rgba(16, 185, 129, 0.2); border: 1px solid var(--green); color: var(--green); }
.toast-error   { background: rgba(244, 63, 94, 0.2);  border: 1px solid var(--red);   color: var(--red);   }
.toast-info    { background: rgba(0, 240, 255, 0.2);  border: 1px solid var(--cyan);  color: var(--cyan);  }

@keyframes toastSlide {
  from { transform: translateX(100px); opacity: 0; }
  to   { transform: translateX(0);     opacity: 1; }
}

/* ─── Responsive ─── */
@media (max-width: 900px) {
  .control-main-grid,
  .grid-2-col,
  .hud-grid-3 {
    grid-template-columns: 1fr;
  }

  .controller-key-bar {
    flex-direction: column;
    align-items: stretch;
  }

  .header-widgets {
    flex-wrap: wrap;
  }
}

/* ==========================================================================
   ROXY HUB v3.0 — ÇOKLU TEMA MOTORU (THEME ENGINE)
   ========================================================================== */

/* 1. Midnight OLED Theme */
body.theme-oled {
  --bg-deep:       #000000;
  --bg-surface:    #06080d;
  --bg-card:       #0c1017;
  --bg-card-hover: #141b26;
  --cyan:          #3b82f6;
  --cyan-glow:     rgba(59, 130, 246, 0.4);
  --cyan-dim:      rgba(59, 130, 246, 0.12);
  --purple:        #8b5cf6;
  --purple-glow:   rgba(139, 92, 246, 0.4);
  --purple-dim:    rgba(139, 92, 246, 0.12);
  --border-glow:   rgba(59, 130, 246, 0.35);
}

/* 2. Matrix Terminal Theme */
body.theme-matrix {
  --bg-deep:       #020803;
  --bg-surface:    #051206;
  --bg-card:       #0a1d0d;
  --bg-card-hover: #102d15;
  --cyan:          #00ff66;
  --cyan-glow:     rgba(0, 255, 102, 0.5);
  --cyan-dim:      rgba(0, 255, 102, 0.15);
  --purple:        #10b981;
  --purple-glow:   rgba(16, 185, 129, 0.5);
  --purple-dim:    rgba(16, 185, 129, 0.15);
  --border-glow:   rgba(0, 255, 102, 0.4);
  --font-body:     'JetBrains Mono', monospace;
}

/* 3. Blood Moon / Crimson Theme */
body.theme-crimson {
  --bg-deep:       #080205;
  --bg-surface:    #12050b;
  --bg-card:       #1c0812;
  --bg-card-hover: #2a0c1c;
  --cyan:          #ff0055;
  --cyan-glow:     rgba(255, 0, 85, 0.5);
  --cyan-dim:      rgba(255, 0, 85, 0.15);
  --purple:        #ff6600;
  --purple-glow:   rgba(255, 102, 0, 0.5);
  --purple-dim:    rgba(255, 102, 0, 0.15);
  --border-glow:   rgba(255, 0, 85, 0.4);
}

/* ==========================================================================
   VIP SATIN ALMA BANNER'I (ROXY CONTACT & NOTICE)
   ========================================================================== */
.vip-notice-banner {
  background: linear-gradient(90deg, rgba(168, 85, 247, 0.2) 0%, rgba(0, 240, 255, 0.15) 50%, rgba(168, 85, 247, 0.2) 100%);
  border: 1px solid var(--purple-glow);
  border-radius: var(--radius-sm);
  padding: 12px 20px;
  margin-bottom: 24px;
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15);
  animation: bannerPulse 4s infinite alternate;
}

@keyframes bannerPulse {
  0%   { border-color: var(--purple-glow); box-shadow: 0 4px 20px rgba(168, 85, 247, 0.15); }
  100% { border-color: var(--cyan-glow);   box-shadow: 0 4px 25px rgba(0, 240, 255, 0.25); }
}

.vip-banner-content {
  display: flex;
  align-items: center;
  gap: 14px;
}

.vip-badge {
  background: linear-gradient(135deg, var(--purple), var(--cyan));
  color: #000;
  font-family: var(--font-title);
  font-weight: 900;
  font-size: 0.72rem;
  letter-spacing: 1px;
  padding: 4px 10px;
  border-radius: 4px;
  display: inline-flex;
  align-items: center;
  gap: 5px;
}

.vip-banner-text {
  font-size: 0.9rem;
  color: #f1f5f9;
  font-weight: 500;
}

.vip-banner-text strong {
  color: var(--cyan);
}

/* ==========================================================================
   HEADER EK BUTONLARI: DİL & TEMA & AUTH
   ========================================================================== */
.header-actions {
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-header-action {
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  color: var(--text-primary);
  padding: 7px 14px;
  border-radius: var(--radius-sm);
  font-size: 0.8rem;
  font-weight: 600;
  cursor: pointer;
  display: inline-flex;
  align-items: center;
  gap: 7px;
  transition: var(--trans);
  font-family: var(--font-body);
}

.btn-header-action:hover {
  border-color: var(--cyan);
  color: var(--cyan);
  box-shadow: 0 0 12px var(--cyan-glow);
}

.user-badge-btn {
  background: rgba(168, 85, 247, 0.15);
  border: 1px solid var(--purple);
  color: #fff;
}

.user-badge-btn:hover {
  border-color: var(--cyan);
  box-shadow: 0 0 15px var(--purple-glow);
}

/* ==========================================================================
   OYUN SEÇİM MERKEZİ (GAME HUB) STİLLERİ
   ========================================================================== */
.game-hub-container {
  display: flex;
  flex-direction: column;
  gap: 24px;
}

.games-grid {
  display: grid;
  grid-template-columns: repeat(auto-fit, minmax(320px, 1fr));
  gap: 20px;
}

.game-card {
  background: var(--bg-card);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-md);
  padding: 24px;
  position: relative;
  overflow: hidden;
  transition: transform 0.25s ease, border-color 0.25s ease, box-shadow 0.25s ease;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
}

.game-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 4px;
  background: linear-gradient(90deg, transparent, var(--border-subtle), transparent);
  transition: background 0.3s;
}

.game-card:hover {
  transform: translateY(-4px);
  border-color: var(--cyan);
  box-shadow: 0 12px 35px rgba(0, 240, 255, 0.18);
}

.game-card.active-selected {
  border-color: var(--cyan);
  box-shadow: 0 0 25px var(--cyan-glow);
}

.game-card.active-selected::before {
  background: linear-gradient(90deg, var(--purple), var(--cyan));
}

.game-card-top {
  display: flex;
  align-items: center;
  justify-content: space-between;
  margin-bottom: 16px;
}

.game-icon-wrap {
  width: 48px;
  height: 48px;
  border-radius: 12px;
  background: var(--cyan-dim);
  border: 1px solid var(--cyan-glow);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.5rem;
  color: var(--cyan);
}

.game-badge-tag {
  font-size: 0.72rem;
  font-weight: 700;
  text-transform: uppercase;
  padding: 4px 10px;
  border-radius: 20px;
  background: var(--purple-dim);
  border: 1px solid var(--purple-glow);
  color: var(--purple);
  letter-spacing: 0.8px;
}

.game-title {
  font-family: var(--font-title);
  font-size: 1.25rem;
  font-weight: 700;
  color: #fff;
  margin-bottom: 8px;
}

.game-desc {
  font-size: 0.85rem;
  color: var(--text-secondary);
  line-height: 1.5;
  margin-bottom: 18px;
}

.game-features-list {
  list-style: none;
  display: flex;
  flex-direction: column;
  gap: 8px;
  margin-bottom: 22px;
}

.game-features-list li {
  font-size: 0.82rem;
  color: #cbd5e1;
  display: flex;
  align-items: center;
  gap: 8px;
}

.game-features-list li i {
  color: var(--green);
  font-size: 0.85rem;
}

.game-card-actions {
  display: flex;
  gap: 10px;
}

/* ==========================================================================
   MODAL PENCERELERİ (AUTH, FORGOT, BUY KEY)
   ========================================================================== */
.cyber-modal-overlay {
  position: fixed;
  inset: 0;
  background: rgba(0, 0, 0, 0.78);
  backdrop-filter: blur(10px);
  z-index: 9990;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.2s ease;
}

.cyber-modal {
  background: var(--bg-card);
  border: 1px solid var(--cyan);
  border-radius: var(--radius-md);
  width: 100%;
  max-width: 480px;
  box-shadow: 0 0 40px var(--cyan-glow);
  position: relative;
  overflow: hidden;
  animation: modalPop 0.25s cubic-bezier(0.16, 1, 0.3, 1);
}

@keyframes modalPop {
  from { transform: scale(0.92); opacity: 0; }
  to   { transform: scale(1);    opacity: 1; }
}

@keyframes fadeIn {
  from { opacity: 0; }
  to   { opacity: 1; }
}

.modal-header {
  padding: 18px 24px;
  background: var(--bg-surface);
  border-bottom: 1px solid var(--border-subtle);
  display: flex;
  align-items: center;
  justify-content: space-between;
}

.modal-header h3 {
  font-family: var(--font-title);
  font-size: 1.05rem;
  color: var(--cyan);
  display: flex;
  align-items: center;
  gap: 10px;
}

.btn-modal-close {
  background: transparent;
  border: none;
  color: var(--text-muted);
  font-size: 1.25rem;
  cursor: pointer;
  transition: color 0.2s;
}

.btn-modal-close:hover {
  color: var(--red);
}

.modal-tabs {
  display: flex;
  border-bottom: 1px solid var(--border-subtle);
  background: rgba(0, 0, 0, 0.2);
}

.modal-tab-btn {
  flex: 1;
  padding: 12px 16px;
  background: transparent;
  border: none;
  color: var(--text-secondary);
  font-size: 0.85rem;
  font-weight: 600;
  cursor: pointer;
  transition: var(--trans);
  border-bottom: 2px solid transparent;
  font-family: var(--font-body);
}

.modal-tab-btn.active {
  color: var(--cyan);
  border-bottom-color: var(--cyan);
  background: var(--cyan-dim);
}

.modal-body {
  padding: 24px;
}

.auth-form {
  display: flex;
  flex-direction: column;
  gap: 16px;
}

.auth-alert-box {
  padding: 12px 16px;
  border-radius: var(--radius-sm);
  font-size: 0.85rem;
  display: flex;
  align-items: center;
  gap: 10px;
  margin-bottom: 12px;
}

.auth-alert-box.info {
  background: rgba(0, 240, 255, 0.1);
  border: 1px solid var(--cyan);
  color: var(--cyan);
}

.auth-alert-box.success {
  background: rgba(16, 185, 129, 0.1);
  border: 1px solid var(--green);
  color: var(--green);
}

.auth-link-text {
  font-size: 0.82rem;
  color: var(--text-secondary);
  text-align: center;
  margin-top: 8px;
}

.auth-link-text a {
  color: var(--cyan);
  text-decoration: none;
  font-weight: 600;
  cursor: pointer;
}

.auth-link-text a:hover {
  text-decoration: underline;
}

.contact-card-box {
  display: flex;
  flex-direction: column;
  gap: 14px;
}

.contact-item {
  display: flex;
  align-items: center;
  justify-content: space-between;
  background: var(--bg-surface);
  border: 1px solid var(--border-subtle);
  border-radius: var(--radius-sm);
  padding: 12px 16px;
}

.contact-item-left {
  display: flex;
  align-items: center;
  gap: 12px;
}

.contact-item-icon {
  width: 36px;
  height: 36px;
  border-radius: 8px;
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
}

.contact-discord { background: #5865F2; color: #fff; }
.contact-telegram { background: #229ED9; color: #fff; }

/* ==========================================================================
   VIP ERİŞİM KİLİDİ (SITE ACCESS LOCK / PAYWALL OVERLAY)
   ========================================================================== */
.site-access-lock {
  position: fixed;
  inset: 0;
  background: rgba(5, 6, 10, 0.94);
  backdrop-filter: blur(20px);
  z-index: 9980;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 20px;
  animation: fadeIn 0.3s ease;
}

.access-lock-card {
  background: var(--bg-card);
  border: 1px solid var(--purple-glow);
  border-radius: var(--radius-lg);
  max-width: 520px;
  width: 100%;
  padding: 36px 28px;
  text-align: center;
  box-shadow: 0 0 60px rgba(168, 85, 247, 0.25), inset 0 0 30px rgba(0, 240, 255, 0.04);
  animation: modalPop 0.3s cubic-bezier(0.16, 1, 0.3, 1);
  position: relative;
}

.lock-pulse-circle {
  width: 68px;
  height: 68px;
  border-radius: 50%;
  background: var(--purple-dim);
  border: 2px solid var(--purple);
  display: flex;
  align-items: center;
  justify-content: center;
  font-size: 1.8rem;
  color: var(--purple);
  margin: 0 auto 16px;
  box-shadow: 0 0 25px var(--purple-glow);
  animation: lockGlow 2.5s infinite alternate;
}

@keyframes lockGlow {
  from { box-shadow: 0 0 15px var(--purple-glow); transform: scale(1); }
  to   { box-shadow: 0 0 30px var(--cyan-glow);   transform: scale(1.05); }
}

.lock-badge {
  display: inline-block;
  background: linear-gradient(135deg, var(--red), var(--purple));
  color: #fff;
  font-family: var(--font-title);
  font-size: 0.72rem;
  font-weight: 800;
  letter-spacing: 1px;
  padding: 4px 12px;
  border-radius: 20px;
  margin-bottom: 12px;
}

.access-lock-card h2 {
  font-family: var(--font-title);
  font-size: 1.35rem;
  color: #fff;
  margin-bottom: 10px;
  letter-spacing: 1px;
}

.access-lock-card p {
  font-size: 0.88rem;
  color: var(--text-secondary);
  line-height: 1.6;
  margin-bottom: 22px;
}

.lock-input-group {
  display: flex;
  flex-direction: column;
  gap: 10px;
  margin-bottom: 18px;
}

.lock-actions {
  display: flex;
  gap: 10px;
  justify-content: center;
  flex-wrap: wrap;
}

/* ─── Streamer Mode / Key Mask Toggle ─── */
.btn-toggle-key-mask {
  position: absolute;
  right: 12px;
  background: transparent;
  border: none;
  color: var(--text-muted);
  cursor: pointer;
  font-size: 1rem;
  padding: 6px;
  display: flex;
  align-items: center;
  justify-content: center;
  transition: all var(--trans);
  z-index: 5;
}

.btn-toggle-key-mask:hover {
  color: var(--cyan);
  transform: scale(1.15);
}

