/*
Theme Name: Jeremy Portfolio
Theme URI: 
Author: Jeremy Garcia
Author URI: 
Description: Custom WordPress Theme for Jeremy's Portfolio
Version: 1.0.0
Text Domain: jeremy-portfolio
*/
/* variables y utilidades base */
:root {
  --primary: #6366f1;
  /* Indigo 500 */
  --primary-hover: #4f46e5;
  /* Indigo 600 */
  --bg-light: #ffffff;
  --text-light: #1f2937;
  --bg-dark: #09090b;
  /* Zinc 950 */
  --text-dark: #f3f4f6;
  scroll-behavior: smooth;
}

body {
  font-family: 'Inter', sans-serif;
  transition: background-color 0.3s ease, color 0.3s ease;
}

/* Scrollbar personalizado */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: transparent;
}

::-webkit-scrollbar-thumb {
  background: #4b5563;
  border-radius: 4px;
}

.dark ::-webkit-scrollbar-thumb {
  background: #374151;
}

/* Utilidades Glassmorphism */
.glass {
  background: rgba(255, 255, 255, 0.7);
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.2);
}

.dark .glass {
  background: rgba(24, 24, 27, 0.7);
  /* Zinc 900 con opacidad */
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.05);
}

/* Gradientes de Texto Animados */
.text-gradient {
  background: linear-gradient(to right, #6366f1, #a855f7, #ec4899);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  color: transparent;
  background-size: 200% auto;
  animation: shine 3s linear infinite;
}

@keyframes shine {
  to {
    background-position: 200% center;
  }
}

/* Animaciones Custom para el Juego */
.bug {
  position: absolute;
  font-size: 2rem;
  cursor: pointer;
  user-select: none;
  transition: transform 0.2s;
}

.bug:active {
  transform: scale(0.8);
}

.game-container {
  position: relative;
  overflow: hidden;
  border-radius: 1rem;
  background-size: cover;
  background-position: center;
}

.dark .game-container {
  background-color: #18181b;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.5);
}

.light .game-container {
  background-color: #f3f4f6;
  box-shadow: inset 0 0 50px rgba(0, 0, 0, 0.1);
}

/* Background Blobs (efecto moderno de fondo) */
.bg-blob {
  position: absolute;
  filter: blur(80px);
  z-index: -1;
  opacity: 0.5;
  border-radius: 50%;
  animation: float 10s infinite alternate;
}

.dark .bg-blob {
  opacity: 0.3;
}

@keyframes float {
  0% {
    transform: translate(0, 0) scale(1);
  }

  100% {
    transform: translate(30px, -30px) scale(1.1);
  }
}

/* Custom scrollbar para contenedores tipo div */
.custom-scrollbar::-webkit-scrollbar {
  width: 6px;
}

.custom-scrollbar::-webkit-scrollbar-track {
  background: transparent;
}

.custom-scrollbar::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.3);
  border-radius: 3px;
}

.custom-scrollbar:hover::-webkit-scrollbar-thumb {
  background: rgba(99, 102, 241, 0.6);
}
