/* ===== Güneş Uygarlığı — Lite Mode (animations + glass blur OFF) =====
 * Activated by <html data-lite="on"> (set by js/animations.js).
 * Kills animations, hover transitions, backdrop-filter blur; swaps glass
 * backgrounds to solid — maximum speed on slow devices.
 */

/* Fallbacks for pages whose :root lacks --bg-glass-solid.
 * Scoped to lite mode so normal pages are untouched. */
html[data-lite="on"] {
  --bg-glass-solid: rgba(255, 255, 255, 0.92);
}
html[data-lite="on"][data-theme="dark"] {
  --bg-glass-solid: rgba(20, 24, 56, 0.96);
}

/* Kill all animations and transitions */
html[data-lite="on"] *,
html[data-lite="on"] *::before,
html[data-lite="on"] *::after {
  animation: none !important;
  transition: none !important;
}

/* Kill glass blur on the six known glass classes */
html[data-lite="on"] .glass-header,
html[data-lite="on"] .glass-card,
html[data-lite="on"] .quick-grid a,
html[data-lite="on"] .hero-badge,
html[data-lite="on"] footer,
html[data-lite="on"] .glass-btn {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}
html[data-lite="on"] .glass-header,
html[data-lite="on"] .glass-card,
html[data-lite="on"] .quick-grid a,
html[data-lite="on"] footer,
html[data-lite="on"] .hero-badge {
  background: var(--bg-glass-solid, rgba(255, 255, 255, 0.92));
}

/* Catch-all blur kill — any element with blur, page-owned or widget-injected */
html[data-lite="on"] * {
  backdrop-filter: none !important;
  -webkit-backdrop-filter: none !important;
}

/* Floating lite button (bottom-left; chat widget is bottom-right) */
#gunesLiteBtn {
  position: fixed;
  bottom: 20px;
  left: 20px;
  width: 52px;
  height: 52px;
  border-radius: 50%;
  border: var(--border-glass, 1px solid rgba(255, 255, 255, 0.4));
  background: var(--bg-glass-solid, rgba(255, 255, 255, 0.92));
  color: var(--text-primary, #2D2D2D);
  font-size: 1.4rem;
  cursor: pointer;
  z-index: 9999;
  box-shadow: var(--shadow-glass, 0 8px 32px rgba(0, 0, 0, 0.08));
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
}
#gunesLiteBtn:active { transform: scale(0.94); }
@media (max-width: 768px) {
  #gunesLiteBtn { width: 46px; height: 46px; font-size: 1.2rem; }
}