*,
*::before,
*::after {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
  border: 0;
  -webkit-tap-highlight-color: transparent;
}

html {
  font-size: 16px;
  scroll-behavior: smooth;
  width: 100%;
  height: 100dvh;
  /* Dinamik viewport height */
  background-color: #000000;
  overflow: hidden;

  /* YENİ: Global Scroll Performansı */
  overscroll-behavior: none;
  /* Sayfa esnemesini engelle (Lag azaltır) */
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  background-color: #000000;
  width: 100%;
  height: 100%;
  margin: 0;
  padding: 0;
  display: flex;
  flex-direction: column;
  overflow: hidden;
  /* Body kendi içinde kaymamalı, ana konteyner kaymalı */
  position: fixed;
  /* Mobilde bounce efektini ve kaymayı engellemek için */
  inset: 0;
  -webkit-font-smoothing: antialiased;
}

/* YENİ: Sabit Arka Plan Katmanı (Zoom'dan etkilenmez) */
/* YENİ: Sabit Arka Plan Katmanı (Zoom & Gap Fix) */
#global-background-layer {
  position: fixed;
  inset: 0;
  /* Top, Right, Bottom, Left: 0 - Ekrana Çivile */
  width: 100%;
  height: 100%;

  background-color: var(--bg-main);
  background-image: var(--bg-image-current, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -100;
  transition: background 0.5s ease;
  pointer-events: none;
  transform: translateZ(0);
  /* GPU Hızlandırma */
}


/* YENİ: Sabit Arka Plan Katmanı (Zoom & Gap Fix) */
#global-background-layer {
  position: fixed;
  inset: 0;
  /* Top, Right, Bottom, Left: 0 - Ekrana Çivile */
  width: 100%;
  height: 100%;

  background-color: var(--bg-main);
  background-image: var(--bg-image-current, none);
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;

  z-index: -100;
  transition: background 0.5s ease;
  pointer-events: none;
  transform: translateZ(0);
  /* GPU Hızlandırma */
}

body {
  font-family: var(--font-primary);
  font-size: var(--font-size-base);
  line-height: var(--line-height-base);
  background-color: transparent;
  min-height: 100dvh;
  width: 100%;
  color: var(--text-primary);
  display: flex;
  flex-direction: column;
  transition: color 0.3s ease;
  overflow-x: hidden;
  overflow-y: auto;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  z-index: 0;
  margin: 0;
  padding: 0;
}

/* HRT Tema Arka Plan Efekti */
body.hrt-theme::before {
  content: '';
  position: fixed;
  inset: 0;
  width: 100%;
  height: 100%;
}

/* YENİ: Ryuko Tema Kalp Animasyonu */
#hearts-container {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  pointer-events: none;
  overflow: hidden;
  z-index: -1;
  /* İçeriğin arkasında kalması için */
  display: none;
  /* Varsayılan olarak gizli */
}

body.ryuko-theme #hearts-container {
  display: block;
  /* Sadece Ryuko temasında görünür */
}

.heart {
  position: absolute;
  color: var(--accent-primary-ryuko);
  font-size: 2rem;
  opacity: 0;
  animation: fall 10s linear infinite;
  text-shadow: 0 0 5px var(--accent-primary-ryuko), 0 0 15px var(--accent-primary-ryuko);
}

@keyframes fall {
  0% {
    transform: translateY(-10vh) rotate(0deg);
    opacity: 1;
  }

  100% {
    transform: translateY(110vh) rotate(360deg);
    opacity: 0;
  }
}

/* Farklı kalp animasyonları için rastgelelik */
.heart:nth-child(1) {
  left: 10%;
  animation-duration: 12s;
  animation-delay: 0s;
  font-size: 1.5rem;
}

.heart:nth-child(2) {
  left: 20%;
  animation-duration: 8s;
  animation-delay: 2s;
  font-size: 2.2rem;
}

.heart:nth-child(3) {
  left: 30%;
  animation-duration: 15s;
  animation-delay: 4s;
}

.heart:nth-child(4) {
  left: 40%;
  animation-duration: 9s;
  animation-delay: 1s;
  font-size: 1.8rem;
}

.heart:nth-child(5) {
  left: 50%;
  animation-duration: 13s;
  animation-delay: 3s;
}

.heart:nth-child(6) {
  left: 60%;
  animation-duration: 7s;
  animation-delay: 0.5s;
  font-size: 2.5rem;
}

.heart:nth-child(7) {
  left: 70%;
  animation-duration: 11s;
  animation-delay: 5s;
}

.heart:nth-child(8) {
  left: 80%;
  animation-duration: 14s;
  animation-delay: 2.5s;
  font-size: 1.6rem;
}

.heart:nth-child(9) {
  left: 90%;
  animation-duration: 10s;
  animation-delay: 6s;
}

.heart:nth-child(10) {
  left: 5%;
  animation-duration: 16s;
  animation-delay: 7s;
  font-size: 2.3rem;
}

/* Her temanın kendi efekti bağımsız olmalı */
.theme-effect-base {
  content: '';
  position: fixed;
  inset: 0;
  pointer-events: none;
  z-index: -1;
  display: none;
}

body.hrt-theme::before {
  display: block;
  background: radial-gradient(circle at top left, var(--hrt-effect-color) 0%, transparent 28%),
    radial-gradient(circle at bottom right, var(--hrt-effect-color) 0%, transparent 28%);
  animation: hrtPulse_v10 18s ease-in-out infinite alternate;
  opacity: 0.4;
}

body.ryuko-theme::before {
  display: block;
  background-image: url("data:image/svg+xml,%3Csvg width='40' height='40' viewBox='0 0 20 20' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M10 3.22l-.61-.6a5.5 5.5 0 0 0-7.78 7.77L10 18.78l8.39-8.4a5.5 5.5 0 0 0-7.78-7.77l-.61.61z' fill='%23b31237' fill-opacity='0.1'/%3E%3C/svg%3E");
  animation: heartsFlow 30s linear infinite;
}


/* Odak Stilleri */
*:focus-visible {
  outline: 2px solid var(--accent-primary);
  outline-offset: 2.5px;
  border-radius: var(--radius-sm);
  box-shadow: 0 0 0 3.5px color-mix(in srgb, var(--accent-primary) 18%, transparent);
}

*:focus:not(:focus-visible) {
  outline: none;
}

/* Scrollbar */
::-webkit-scrollbar {
  width: 7px;
  height: 7px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background-color: var(--text-tertiary);
  border-radius: var(--radius-full);
  border: 1.5px solid var(--bg-main);
}

::-webkit-scrollbar-thumb:hover {
  background-color: var(--text-secondary);
}

html {
  scrollbar-color: var(--text-tertiary) transparent;
  scrollbar-width: thin;
}

/* Hide scrollbar on specific elements but allow scrolling */
.no-scrollbar::-webkit-scrollbar {
  display: none;
}

.no-scrollbar {
  -ms-overflow-style: none;
  scrollbar-width: none;
}


/* --- Gelişmiş CSS Animasyonları --- */

/* Temel Fade Animasyonları */
@keyframes fadeIn_v10 {
  from {
    opacity: 0;
  }

  to {
    opacity: 1;
  }
}

@keyframes fadeOut_v10 {
  to {
    opacity: 0;
    visibility: hidden;
  }
}

@keyframes fadeInUp_v10 {
  from {
    opacity: 0;
    transform: translateY(30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInDown_v10 {
  from {
    opacity: 0;
    transform: translateY(-30px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft_v10 {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes fadeInRight_v10 {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* ================================================================== */
/* === PHAURA AI LOGIN (COSMIC BLUE & GLASS - 2025) === */
/* ================================================================== */

.native-login-container {
  position: fixed;
  inset: 0;
  z-index: 100000;
  /* GPT Grisi yerine Derin Mavi/Mor geçişi */
  background: radial-gradient(circle at top right, #1e1b4b 0%, #000000 80%);
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.5s ease;
  font-family: -apple-system, BlinkMacSystemFont, "SF Pro Text", "Segoe UI", Roboto, Helvetica, Arial, sans-serif;
  /* Phaura Fontu */
  overflow: hidden;
}

.native-login-container.show {
  opacity: 1;
  visibility: visible;
}

/* Dinamik Arka Plan (Hareketli Orb'lar) */
.phaura-login-bg {
  position: absolute;
  inset: 0;
  pointer-events: none;
  z-index: 0;
  overflow: hidden;
}

.phaura-orb {
  position: absolute;
  border-radius: 50%;
  filter: blur(80px);
  opacity: 0.6;
  animation: floatOrb 10s infinite alternate ease-in-out;
}

/* Mavi Orb */
.phaura-orb.orb-1 {
  top: -10%;
  left: -10%;
  width: 300px;
  height: 300px;
  background: #3b82f6;
}

/* Mor Orb */
.phaura-orb.orb-2 {
  bottom: 20%;
  right: -20%;
  width: 250px;
  height: 250px;
  background: #8b5cf6;
  animation-delay: -5s;
}

@keyframes floatOrb {
  0% {
    transform: translate(0, 0);
  }

  100% {
    transform: translate(30px, 50px);
  }
}

/* Header */
.native-login-header {
  position: relative;
  z-index: 2;
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px;
  text-align: center;
}

/* Logo (Parlayan) */
.native-logo-wrapper.phaura-glow {
  width: 90px;
  height: 90px;
  margin-bottom: 20px;
  border-radius: 28px;
  background: rgba(255, 255, 255, 0.1);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
  box-shadow: 0 0 30px rgba(59, 130, 246, 0.3);
  /* Mavi Glow */
  padding: 0;
  overflow: hidden;
  animation: logoFloat 6s ease-in-out infinite;
}

@keyframes logoFloat {

  0%,
  100% {
    transform: translateY(0);
  }

  50% {
    transform: translateY(-10px);
  }
}

.native-app-logo {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

/* Animasyonlu Yazı (Phaura Stili) */
.phaura-text-anim {
  font-size: 2.5rem;
  font-weight: 800;
  line-height: 1.1;
  margin: 0 0 10px 0;
  background: linear-gradient(120deg, #fff 0%, #38bdf8 50%, #fff 100%);
  background-size: 200% auto;
  -webkit-background-clip: text;
  background-clip: text;
  -webkit-text-fill-color: transparent;
  animation: shineText 4s linear infinite;
}

@keyframes shineText {
  to {
    background-position: 200% center;
  }
}

.phaura-subtitle {
  color: rgba(255, 255, 255, 0.6);
  font-size: 0.95rem;
  font-weight: 500;
  max-width: 280px;
  line-height: 1.5;
}

/* Bottom Sheet (Glassmorphism - Buzlu Cam) */
.native-login-bottom-sheet.glass-panel {
  position: relative;
  z-index: 10;
  /* Buzlu Cam Efekti */
  background: rgba(18, 18, 18, 0.75);
  backdrop-filter: blur(25px);
  -webkit-backdrop-filter: blur(25px);
  border-top: 1px solid rgba(255, 255, 255, 0.1);

  border-top-left-radius: 36px;
  border-top-right-radius: 36px;
  padding: 35px 24px calc(30px + env(safe-area-inset-bottom)) 24px;
  display: flex;
  flex-direction: column;
  gap: 16px;
  box-shadow: 0 -20px 50px rgba(0, 0, 0, 0.4);
  animation: slideUpNative 0.5s cubic-bezier(0.19, 1, 0.22, 1);
}

@keyframes slideUpNative {
  from {
    transform: translateY(100%);
  }

  to {
    transform: translateY(0);
  }
}

/* Butonlar */
.native-auth-btn {
  width: 100%;
  height: 56px;
  border-radius: 28px;
  /* Hap Şekli */
  border: none;
  font-size: 1rem;
  font-weight: 600;
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  cursor: pointer;
  transition: transform 0.1s, background 0.2s;
  position: relative;
  overflow: hidden;
}

.native-auth-btn:active {
  transform: scale(0.98);
}

.native-auth-btn.google {
  background-color: #ffffff;
  color: #1f1f1f;
}

.native-auth-btn.google img {
  width: 24px;
  height: 24px;
}

.native-auth-btn.guest {
  background-color: #333333;
  color: #ffffff;
  border: 1px solid #444;
}

/* Linkler */
.native-migration-link {
  text-align: center;
  color: #aaa;
  font-size: 0.9rem;
  padding: 10px;
  cursor: pointer;
  text-decoration: underline;
  text-underline-offset: 4px;
}

.native-terms {
  text-align: center;
  font-size: 0.75rem;
  color: #666;
  margin-top: 10px;
}

.native-terms a {
  color: var(--accent-primary);
  text-decoration: none;
  font-weight: 600;
}

/* Daktilo İmleci Efekti */
.type-cursor {
  display: inline-block;
  color: var(--accent-primary);
  animation: blinkCursor 0.8s infinite;
  font-weight: 100;
  margin-left: 2px;
}

@keyframes blinkCursor {

  0%,
  100% {
    opacity: 1;
  }

  50% {
    opacity: 0;
  }
}

/* Loading Spinner */
.native-loading-overlay {
  position: absolute;
  inset: 0;
  background: rgba(0, 0, 0, 0.7);
  display: flex;
  align-items: center;
  justify-content: center;
  z-index: 10;
}

.native-loading-overlay.hidden {
  display: none;
}

.native-spinner {
  width: 40px;
  height: 40px;
  border: 4px solid rgba(255, 255, 255, 0.1);
  border-left-color: #fff;
  border-radius: 50%;
  animation: spin 1s linear infinite;
}

/* === YENİ NESİL SPLASH EKRANI (NETFLIX STYLE) === */
@keyframes revealApp {
  0% {
    clip-path: circle(0% at 50% 50%);
  }

  100% {
    clip-path: circle(150% at 50% 50%);
  }
}

@keyframes logoLaunch {
  0% {
    transform: scale(1);
    opacity: 1;
  }

  40% {
    transform: scale(0.9);
    opacity: 1;
  }

  100% {
    transform: scale(30);
    opacity: 0;
  }

  /* Logoyu ekrandan taşacak kadar büyütüp yok et */
}

#splashScreenContainer {
  position: fixed;
  inset: 0;
  background-color: #000000;
  z-index: var(--z-splash);
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
}

/* Yıldızların Kayma Animasyonu */
@keyframes spacePan {
  0% {
    background-position: 0% 0%;
  }

  100% {
    background-position: 100% 100%;
  }
}

#splashScreenContainer.launching .logo-wrapper {
  animation: logoLaunch 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

#splashScreenContainer.launching {
  pointer-events: none;
}

/* Logonun etrafına hafif mor/mavi bir "Nebula" parlaması */
#splashScreenContainer::before {
  content: '';
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  width: 300px;
  height: 300px;
  background: radial-gradient(circle, rgba(106, 151, 201, 0.15) 0%, transparent 70%);
  pointer-events: none;
  z-index: -1;
}

/* Ana uygulamanın açılış efekti için sınıf */
.app-container.reveal {
  animation: revealApp 0.8s cubic-bezier(0.7, 0, 0.3, 1) forwards;
}

/* Pop/Scale Animasyonları */
@keyframes popIn_v10 {
  from {
    opacity: 0;
    transform: scale(0.93);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes popOut_v10 {
  to {
    opacity: 0;
    transform: scale(0.93);
    visibility: hidden;
  }
}

@keyframes popInBounce_v10 {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes scaleUp_v10 {
  from {
    transform: scale(0.95);
  }

  to {
    transform: scale(1);
  }
}

@keyframes scaleDown_v10 {
  from {
    transform: scale(1);
  }

  to {
    transform: scale(0.95);
  }
}

/* Slide Animasyonları */
@keyframes slideUp_v10 {
  from {
    opacity: 0;
    transform: translateY(18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideDown_v10 {
  from {
    opacity: 0;
    transform: translateY(-18px);
  }

  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes slideLeft_v10 {
  from {
    opacity: 0;
    transform: translateX(30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

@keyframes slideRight_v10 {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }

  to {
    opacity: 1;
    transform: translateX(0);
  }
}

/* Rotation Animasyonları */
@keyframes spin_v10 {
  to {
    transform: rotate(360deg);
  }
}

@keyframes spinSlow_v10 {
  to {
    transform: rotate(360deg);
  }
}

@keyframes flipX_v10 {
  from {
    transform: perspective(400px) rotateX(-90deg);
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotateX(-10deg);
  }

  70% {
    transform: perspective(400px) rotateX(10deg);
  }

  to {
    transform: perspective(400px) rotateX(0deg);
    opacity: 1;
  }
}

@keyframes flipY_v10 {
  from {
    transform: perspective(400px) rotateY(-90deg);
    opacity: 0;
  }

  40% {
    transform: perspective(400px) rotateY(-10deg);
  }

  70% {
    transform: perspective(400px) rotateY(10deg);
  }

  to {
    transform: perspective(400px) rotateY(0deg);
    opacity: 1;
  }
}

/* Bounce Animasyonları */
@keyframes bounceIn_v10 {
  0% {
    opacity: 0;
    transform: scale(0.3);
  }

  50% {
    opacity: 1;
    transform: scale(1.05);
  }

  70% {
    transform: scale(0.9);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes bounceOut_v10 {
  20% {
    transform: scale(0.9);
  }

  50%,
  55% {
    opacity: 1;
    transform: scale(1.1);
  }

  100% {
    opacity: 0;
    transform: scale(0.3);
  }
}

@keyframes bounce_v10 {

  0%,
  20%,
  53%,
  80%,
  100% {
    transform: translateY(0);
  }

  40%,
  43% {
    transform: translateY(-30px);
  }

  70% {
    transform: translateY(-15px);
  }

  90% {
    transform: translateY(-4px);
  }
}

/* Shake ve Wobble Animasyonları */
@keyframes shake_v10 {

  0%,
  100% {
    transform: translateX(0);
  }

  10%,
  30%,
  50%,
  70%,
  90% {
    transform: translateX(-10px);
  }

  20%,
  40%,
  60%,
  80% {
    transform: translateX(10px);
  }
}

@keyframes wobble_v10 {
  0% {
    transform: translateX(0%);
  }

  15% {
    transform: translateX(-25%) rotate(-5deg);
  }

  30% {
    transform: translateX(20%) rotate(3deg);
  }

  45% {
    transform: translateX(-15%) rotate(-3deg);
  }

  60% {
    transform: translateX(10%) rotate(2deg);
  }

  75% {
    transform: translateX(-5%) rotate(-1deg);
  }

  100% {
    transform: translateX(0%);
  }
}

/* Pulse ve Glow Animasyonları */
@keyframes pulse_v10 {
  0% {
    transform: scale(1);
  }

  50% {
    transform: scale(1.05);
  }

  100% {
    transform: scale(1);
  }
}

@keyframes glow_v10 {

  0%,
  100% {
    box-shadow: 0 0 5px currentColor;
  }

  50% {
    box-shadow: 0 0 20px currentColor, 0 0 30px currentColor;
  }
}

@keyframes heartbeat_v10 {
  0% {
    transform: scale(1);
  }

  14% {
    transform: scale(1.3);
  }

  28% {
    transform: scale(1);
  }

  42% {
    transform: scale(1.3);
  }

  70% {
    transform: scale(1);
  }
}

/* Highlight ve Background Animasyonları */
@keyframes highlightMessage {
  0% {
    background-color: color-mix(in srgb, var(--accent-primary) 18%, transparent);
  }

  100% {
    background-color: transparent;
  }
}

@keyframes gradientShift_v10 {
  0% {
    background-position: 0% 50%;
  }

  50% {
    background-position: 100% 50%;
  }

  100% {
    background-position: 0% 50%;
  }
}

@keyframes colorCycle_v10 {
  0% {
    color: var(--accent-primary);
  }

  25% {
    color: var(--accent-secondary);
  }

  50% {
    color: var(--accent-tertiary);
  }

  75% {
    color: var(--accent-secondary);
  }

  100% {
    color: var(--accent-primary);
  }
}

/* Typing ve Loading Animasyonları */
@keyframes typing_v10 {

  0%,
  100% {
    width: 0;
  }

  50% {
    width: 100%;
  }
}

@keyframes blink_v10 {

  0%,
  50% {
    opacity: 1;
  }

  51%,
  100% {
    opacity: 0;
  }
}

@keyframes loadingDots_v10 {

  0%,
  80%,
  100% {
    opacity: 0;
  }

  40% {
    opacity: 1;
  }
}

/* Slide In/Out Animasyonları */
@keyframes slideInFromTop_v10 {
  from {
    transform: translateY(-100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutToTop_v10 {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(-100%);
    opacity: 0;
  }
}

@keyframes slideInFromBottom_v10 {
  from {
    transform: translateY(100%);
    opacity: 0;
  }

  to {
    transform: translateY(0);
    opacity: 1;
  }
}

@keyframes slideOutToBottom_v10 {
  from {
    transform: translateY(0);
    opacity: 1;
  }

  to {
    transform: translateY(100%);
    opacity: 0;
  }
}

/* Zoom Animasyonları */
@keyframes zoomIn_v10 {
  from {
    opacity: 0;
    transform: scale(0.5);
  }

  to {
    opacity: 1;
    transform: scale(1);
  }
}

@keyframes zoomOut_v10 {
  from {
    opacity: 1;
    transform: scale(1);
  }

  to {
    opacity: 0;
    transform: scale(0.5);
  }
}

/* Utility Classes */

/* ... var olan .animate-fade-in vb. sınıfların yanına ekleyin ... */
.animate-stagger-in {
  animation: fadeInUp_v10 0.4s both;
  /* 'both' animasyonun son halinde kalmasını sağlar */
}

.animate-fade-in {
  animation: fadeIn_v10 0.3s ease-out;
}

.animate-fade-out {
  animation: fadeOut_v10 0.3s ease-in;
}

.animate-pop-in {
  animation: popIn_v10 0.3s cubic-bezier(0.68, -0.55, 0.265, 1.55);
}

.animate-pop-out {
  animation: popOut_v10 0.3s ease-in;
}

.animate-slide-up {
  animation: slideUp_v10 0.3s ease-out;
}

.animate-slide-down {
  animation: slideDown_v10 0.3s ease-out;
}

.animate-spin {
  animation: spin_v10 1s linear infinite;
}

.animate-spin-slow {
  animation: spinSlow_v10 3s linear infinite;
}

.animate-pulse {
  animation: pulse_v10 2s ease-in-out infinite;
}

.animate-bounce {
  animation: bounce_v10 1s ease-in-out infinite;
}

.animate-shake {
  animation: shake_v10 0.5s ease-in-out;
}

.animate-wobble {
  animation: wobble_v10 1s ease-in-out;
}

.animate-glow {
  animation: glow_v10 2s ease-in-out infinite;
}

.animate-heartbeat {
  animation: heartbeat_v10 1.5s ease-in-out infinite;
}

/* Hover Effects */
.hover-scale:hover {
  transform: scale(1.05);
  transition: transform 0.2s ease;
}

.hover-lift:hover {
  transform: translateY(-2px);
  transition: transform 0.2s ease;
}

.hover-glow:hover {
  box-shadow: 0 0 20px currentColor;
  transition: box-shadow 0.3s ease;
}

.hover-rotate:hover {
  transform: rotate(5deg);
  transition: transform 0.2s ease;
}

/* Staggered Animation Delays */
.animate-delay-100 {
  animation-delay: 0.1s;
}

.animate-delay-200 {
  animation-delay: 0.2s;
}

.animate-delay-300 {
  animation-delay: 0.3s;
}

.animate-delay-500 {
  animation-delay: 0.5s;
}

.animate-delay-700 {
  animation-delay: 0.7s;
}

.animate-delay-1000 {
  animation-delay: 1s;
}

/* CHANGE: 11 - Error Toast Styling */
#toastNotificationPopup.error-type {
  background-color: var(--accent-red);
  /* Keep accent red */
  color: var(--text-on-accent);
  border: 1px solid var(--accent-red);
  /* Thicker border */
  box-shadow: 0 4.5px 14px color-mix(in srgb, var(--accent-red) 35%, transparent);
  position: relative;
  /* For the red line effect */
}

#toastNotificationPopup.error-type::before {
  content: '';
  position: absolute;
  left: 0;
  top: 0;
  bottom: 0;
  width: 4px;
  /* Red line thickness */
  background-color: color-mix(in srgb, var(--accent-red) 100%, black);
  /* Deeper red for the line */
  border-radius: var(--radius-sm) 0 0 var(--radius-sm);
  /* Rounded only on left side */
}

#toastNotificationPopup.error-type.info-type {
  /* Should not happen due to JS logic, but defensive */
  background-color: var(--accent-red);
  /* Force red */
  color: var(--text-on-accent);
  border-color: var(--accent-red);
}

/* End CHANGE: 11 */

/* ======================================================= */

