/* ===== VARIABLES CSS - Paleta Blanco, Negro y Verde ===== */
:root {
  --primary-color: #1a1a1a;
  --primary-dark: #000000;
  --secondary-color: #2ecc71;
  --accent-color: #27ae60;
  --dark-color: #111111;
  --light-color: #f8f8f8;
  --text-primary: #1a1a1a;
  --text-secondary: #555555;
  --text-light: #888888;
  --gradient-primary: linear-gradient(135deg, #1a1a1a 0%, #333333 100%);
  --gradient-secondary: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  --gradient-dark: linear-gradient(135deg, #111111 0%, #222222 100%);
  --gradient-green: linear-gradient(135deg, #2ecc71 0%, #1abc9c 100%);
  --shadow-sm: 0 1px 2px 0 rgba(0, 0, 0, 0.08);
  --shadow-md: 0 4px 6px -1px rgba(0, 0, 0, 0.15), 0 2px 4px -1px rgba(0, 0, 0, 0.1);
  --shadow-lg: 0 10px 15px -3px rgba(0, 0, 0, 0.15), 0 4px 6px -2px rgba(0, 0, 0, 0.08);
  --shadow-xl: 0 20px 25px -5px rgba(0, 0, 0, 0.15), 0 10px 10px -5px rgba(0, 0, 0, 0.07);
  --shadow-green: 0 8px 20px rgba(46, 204, 113, 0.3);
  --border-radius: 12px;
  --transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
}

/* ===== RESET Y BASE ===== */
* {
  margin: 0;
  padding: 0;
  box-sizing: border-box;
}

body {
  font-family: 'Poppins', sans-serif;
  line-height: 1.6;
  color: var(--text-primary);
  background-color: #ffffff;
  overflow-x: hidden;
  top: 0 !important;
  position: static !important;
}

/* ===== TIPOGRAFÍA ===== */
h1, h2, h3, h4, h5, h6 {
  font-weight: 600;
  line-height: 1.2;
  margin-bottom: 1rem;
}

.section-title {
  font-size: 2.5rem;
  font-weight: 700;
  color: var(--text-primary);
  margin-bottom: 1.5rem;
  position: relative;
  display: inline-block;
}

.section-title::after {
  content: '';
  position: absolute;
  bottom: -8px;
  left: 0;
  width: 60px;
  height: 4px;
  background: var(--gradient-secondary);
  border-radius: 2px;
}

.text-center .section-title::after {
  left: 50%;
  transform: translateX(-50%);
}

.lead {
  font-size: 1.25rem;
  font-weight: 400;
  color: var(--text-secondary);
  margin-bottom: 2rem;
}

/* ===== NAVEGACIÓN ===== */
#mainNav {
  background: rgba(17, 17, 17, 0.97);
  backdrop-filter: blur(10px);
  transition: var(--transition);
  padding: 1rem 0;
  z-index: 1000;
  border-bottom: 1px solid rgba(46, 204, 113, 0.15);
}

#mainNav.scrolled {
  background: rgba(10, 10, 10, 0.99);
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.4);
  border-bottom: 1px solid rgba(46, 204, 113, 0.3);
}

.navbar-brand {
  display: flex;
  align-items: center;
  gap: 0.75rem;
  text-decoration: none;
}

.brand-logo {
  transition: var(--transition);
  border-radius: 50%;
  box-shadow: 0 0 0 2px rgba(46, 204, 113, 0.4);
}

.brand-logo:hover {
  box-shadow: 0 0 0 3px rgba(46, 204, 113, 0.7);
}

.brand-text {
  font-size: 1.5rem;
  font-weight: 700;
  color: white;
  letter-spacing: 0.02em;
}

.brand-text span {
  color: var(--secondary-color);
}

.navbar-nav .nav-link {
  color: rgba(255, 255, 255, 0.85) !important;
  font-weight: 500;
  padding: 0.75rem 1rem !important;
  margin: 0 0.25rem;
  border-radius: var(--border-radius);
  transition: var(--transition);
  position: relative;
}

.navbar-nav .nav-link:hover {
  color: white !important;
  background: rgba(46, 204, 113, 0.12);
}

.navbar-nav .nav-link::after {
  content: '';
  position: absolute;
  bottom: 4px;
  left: 50%;
  width: 0;
  height: 2px;
  background: var(--secondary-color);
  transition: var(--transition);
  transform: translateX(-50%);
  border-radius: 1px;
}

.navbar-nav .nav-link:hover::after {
  width: 70%;
}

/* Language selector in navbar */
.lang-selector {
  display: flex;
  align-items: center;
  gap: 0.5rem;
  margin-left: 1rem;
  padding: 0.4rem 0.75rem;
  background: rgba(46, 204, 113, 0.15);
  border: 1px solid rgba(46, 204, 113, 0.3);
  border-radius: 20px;
  color: white;
  font-size: 0.85rem;
  cursor: pointer;
  transition: var(--transition);
  position: relative;
  user-select: none;
}

.lang-selector:hover {
  background: rgba(46, 204, 113, 0.25);
  border-color: rgba(46, 204, 113, 0.5);
}

.lang-selector i {
  color: var(--secondary-color);
}

.lang-dropdown {
  display: none;
  position: absolute;
  top: calc(100% + 10px);
  right: 0;
  background: #1a1a1a;
  border: 1px solid rgba(46, 204, 113, 0.2);
  border-radius: 10px;
  padding: 0.5rem;
  min-width: 200px;
  z-index: 99999;
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.6);
  grid-template-columns: 1fr 1fr;
  gap: 2px;
}

.lang-dropdown.show {
  display: grid;
}

.lang-option {
  padding: 0.4rem 0.6rem;
  color: rgba(255,255,255,0.8);
  font-size: 0.8rem;
  cursor: pointer;
  border-radius: 6px;
  transition: var(--transition);
  display: flex;
  align-items: center;
  gap: 0.4rem;
  white-space: nowrap;
}

.lang-option:hover {
  background: rgba(46, 204, 113, 0.15);
  color: var(--secondary-color);
}

.lang-option.active {
  background: rgba(46, 204, 113, 0.2);
  color: var(--secondary-color);
  font-weight: 600;
}

/* ===== HERO SECTION ===== */
.hero-section {
  position: relative;
  min-height: 100vh;
  overflow: hidden;
}

.carousel {
  height: 100vh;
}

.carousel-inner {
  height: 100%;
}

.carousel-item {
  height: 100vh;
}

.carousel-image-container {
  position: relative;
  height: 100%;
  overflow: hidden;
}

.carousel-image-container img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.carousel-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(75deg, rgba(10, 10, 10, 0.92) 0%, rgba(10, 10, 10, 0.6) 50%, transparent 100%);
  display: flex;
  align-items: center;
  padding: 4rem;
}

.carousel-title {
  font-size: 4rem;
  font-weight: 800;
  color: white;
  margin-bottom: 1.5rem;
  text-shadow: 0 4px 15px rgba(0, 0, 0, 0.4);
  letter-spacing: -1px;
}

.carousel-description {
  font-size: 1.4rem;
  color: rgba(255, 255, 255, 0.9);
  margin-bottom: 2.5rem;
  max-width: 500px;
  line-height: 1.6;
}

.carousel-control-prev,
.carousel-control-next {
  width: 55px;
  height: 55px;
  background: rgba(46, 204, 113, 0.1);
  border-radius: 50%;
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
  top: 50%;
  transform: translateY(-50%);
  border: 1px solid rgba(46, 204, 113, 0.3);
  opacity: 0.7;
}

.carousel-control-prev:hover,
.carousel-control-next:hover {
  background: var(--secondary-color);
  border-color: var(--secondary-color);
  transform: translateY(-50%) scale(1.1);
  opacity: 1;
}

.carousel-control-prev-icon,
.carousel-control-next-icon {
  width: 25px;
  height: 25px;
}

.carousel-indicators {
  bottom: 40px;
  gap: 8px;
}

.carousel-indicators button {
  width: 35px;
  height: 5px;
  border-radius: 10px;
  margin: 0;
  background: rgba(255, 255, 255, 0.2);
  border: none;
  transition: all 0.4s ease;
  position: relative;
}

.carousel-indicators button::after {
  display: none;
}

.carousel-indicators button.active {
  width: 60px;
  background: var(--secondary-color);
  box-shadow: 0 0 15px rgba(46, 204, 113, 0.4);
}

.carousel-item .btn {
  border-radius: 50px;
  padding: 0.9rem 2.2rem;
  font-weight: 600;
  font-size: 1.05rem;
  text-transform: none;
  transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
  display: inline-flex;
  align-items: center;
  justify-content: center;
  border: none;
  box-shadow: 0 4px 15px rgba(0,0,0,0.3);
}

.carousel-item .btn-primary {
  background: linear-gradient(135deg, #2ecc71 0%, #27ae60 100%);
  color: white;
}

.carousel-item .btn-primary:hover {
  transform: translateY(-3px) scale(1.05);
  box-shadow: 0 8px 25px rgba(46, 204, 113, 0.5);
  filter: brightness(1.1);
}

.carousel-item .btn-dark, 
.carousel-item .btn-lg[style*="background:#111"] {
  background: rgba(255, 255, 255, 0.08) !important;
  backdrop-filter: blur(10px) !important;
  -webkit-backdrop-filter: blur(10px) !important;
  border: 1px solid rgba(255, 255, 255, 0.15) !important;
  color: white !important;
}

.carousel-item .btn-dark:hover, 
.carousel-item .btn-lg[style*="background:#111"]:hover {
  background: rgba(255, 255, 255, 0.15) !important;
  transform: translateY(-3px) scale(1.05);
  border-color: rgba(255, 255, 255, 0.3) !important;
}

.carousel-item .btn-primary i,
.carousel-item .btn-dark i {
  font-size: 1.2rem;
}

/* ===== SECCIONES ===== */
.about-section {
  padding: 6rem 0;
  background: var(--light-color);
  position: relative;
}

.about-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: url('data:image/svg+xml,<svg xmlns="http://www.w3.org/2000/svg" viewBox="0 0 100 100"><defs><pattern id="grain" width="100" height="100" patternUnits="userSpaceOnUse"><circle cx="50" cy="50" r="1" fill="%23cccccc" opacity="0.05"/></pattern></defs><rect width="100" height="100" fill="url(%23grain)"/></svg>');
  pointer-events: none;
}

.about-content {
  position: relative;
  z-index: 2;
}

.about-image {
  position: relative;
  display: inline-block;
}

.floating-elements {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  pointer-events: none;
}

.floating-icon {
  position: absolute;
  width: 60px;
  height: 60px;
  background: var(--gradient-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: var(--secondary-color);
  font-size: 1.5rem;
  box-shadow: var(--shadow-lg);
  animation: float 3s ease-in-out infinite;
  border: 2px solid rgba(46, 204, 113, 0.3);
}

.floating-icon.icon-1 {
  top: 10%;
  right: -10%;
  animation-delay: 0s;
}

.floating-icon.icon-2 {
  bottom: 20%;
  left: -15%;
  animation-delay: 1s;
}

.floating-icon.icon-3 {
  top: 60%;
  right: -5%;
  animation-delay: 2s;
}

@keyframes float {
  0%, 100% { transform: translateY(0px); }
  50% { transform: translateY(-20px); }
}

.stats-container {
  display: flex;
  gap: 2rem;
  margin-top: 3rem;
}

.stat-item {
  text-align: center;
  padding: 1.5rem;
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  border-bottom: 3px solid var(--secondary-color);
}

.stat-item:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-xl);
  border-bottom-color: var(--accent-color);
}

.stat-number {
  font-size: 3rem;
  font-weight: 800;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
}

.stat-label {
  color: var(--text-secondary);
  font-weight: 500;
  margin: 0;
}

/* ===== MISIÓN Y VISIÓN ===== */
.mission-vision-section {
  padding: 6rem 0;
  background: white;
}

.mission-card,
.vision-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-lg);
  transition: var(--transition);
  height: 100%;
  text-align: center;
  position: relative;
  overflow: hidden;
  border: 1px solid #eeeeee;
}

.mission-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.vision-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-primary);
}

.mission-card:hover,
.vision-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: #dddddd;
}

.card-icon {
  margin-bottom: 2rem;
}

.card-title {
  font-size: 1.75rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: var(--text-primary);
}

.card-description {
  color: var(--text-secondary);
  line-height: 1.8;
}

/* ===== SERVICIOS ===== */
.services-section {
  padding: 6rem 0;
  background: var(--light-color);
  position: relative;
}

.service-card {
  background: white;
  padding: 3rem 2rem;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  text-align: center;
  height: 100%;
  position: relative;
  overflow: hidden;
  border: 1px solid #eeeeee;
}

.service-card::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: var(--gradient-secondary);
  opacity: 0;
  transition: var(--transition);
}

.service-card:hover::before {
  opacity: 0.04;
}

.service-card:hover {
  transform: translateY(-10px);
  box-shadow: var(--shadow-xl);
  border-color: rgba(46, 204, 113, 0.3);
}

.service-icon {
  width: 80px;
  height: 80px;
  background: var(--gradient-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 2rem;
  color: var(--secondary-color);
  font-size: 2rem;
  transition: var(--transition);
  border: 2px solid rgba(46, 204, 113, 0.2);
}

.service-card:hover .service-icon {
  transform: scale(1.1) rotate(5deg);
  background: var(--gradient-secondary);
  color: white;
  border-color: transparent;
  box-shadow: var(--shadow-green);
}

.service-card h4 {
  font-size: 1.5rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

.service-card p {
  color: var(--text-secondary);
  line-height: 1.7;
}

/* ===== CONTACTO ===== */
.contact-section {
  padding: 6rem 0;
  background: white;
}

.contact-card {
  background: white;
  border-radius: var(--border-radius);
  box-shadow: var(--shadow-xl);
  overflow: hidden;
  transition: var(--transition);
  border: 1px solid #eeeeee;
}

.contact-card:hover {
  box-shadow: 0 25px 50px -12px rgba(0, 0, 0, 0.2);
}

.contact-image {
  position: relative;
  height: 100%;
  min-height: 500px;
  overflow: hidden;
}

.contact-image img {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: var(--transition);
}

.contact-overlay {
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: linear-gradient(135deg, rgba(10, 10, 10, 0.92) 0%, rgba(27, 27, 27, 0.88) 100%);
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  text-align: center;
  padding: 2rem;
  color: white;
}

.contact-overlay h4 {
  font-size: 2rem;
  font-weight: 700;
  margin-bottom: 1rem;
  color: white;
}

.contact-overlay p {
  font-size: 1.1rem;
  opacity: 0.85;
  color: rgba(255,255,255,0.85);
}

.contact-overlay::before {
  content: '';
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 4px;
  background: var(--gradient-secondary);
}

.contact-form-container {
  padding: 3rem;
}

.form-group {
  margin-bottom: 1.5rem;
}

.form-label {
  font-weight: 600;
  color: var(--text-primary);
  margin-bottom: 0.5rem;
  display: block;
}

.input-group {
  position: relative;
}

.input-group-text {
  background: #f0f0f0;
  border: 2px solid #e0e0e0;
  border-right: none;
  color: var(--text-secondary);
  transition: var(--transition);
}

.form-control {
  border: 2px solid #e0e0e0;
  border-left: none;
  border-radius: 0 var(--border-radius) var(--border-radius) 0;
  padding: 0.875rem 1rem;
  font-size: 1rem;
  transition: var(--transition);
  background: white;
}

.form-control:focus {
  border-color: var(--secondary-color);
  box-shadow: 0 0 0 0.2rem rgba(46, 204, 113, 0.2);
}

.input-group:focus-within .input-group-text {
  border-color: var(--secondary-color);
  background: var(--secondary-color);
  color: white;
}

/* ===== BOTONES ===== */
.btn {
  border-radius: var(--border-radius);
  font-weight: 600;
  padding: 0.875rem 2rem;
  transition: var(--transition);
  border: none;
  position: relative;
  overflow: hidden;
}

.btn::before {
  content: '';
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(255, 255, 255, 0.15), transparent);
  transition: var(--transition);
}

.btn:hover::before {
  left: 100%;
}

.btn-primary {
  background: var(--gradient-secondary);
  color: white;
  box-shadow: var(--shadow-green);
}

.btn-primary:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 25px rgba(46, 204, 113, 0.4);
  color: white;
}

.btn-contactanos {
  background: var(--gradient-dark);
  color: white;
  box-shadow: var(--shadow-md);
  border: 1px solid rgba(46, 204, 113, 0.2);
}

.btn-contactanos:hover {
  transform: translateY(-2px);
  box-shadow: var(--shadow-lg);
  background: var(--gradient-secondary);
  color: white;
  border-color: transparent;
}

/* ===== FOOTER ===== */
.footer-section {
  background: #0d0d0d;
  color: white;
  padding: 4rem 0 2rem;
  position: relative;
}

.footer-section::before {
  content: '';
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: var(--gradient-secondary);
}

.footer-title {
  font-size: 1.25rem;
  font-weight: 700;
  margin-bottom: 1.5rem;
  color: white;
  display: flex;
  align-items: center;
  gap: 0.5rem;
}

.footer-title::after {
  content: '';
  display: inline-block;
  width: 30px;
  height: 2px;
  background: var(--secondary-color);
  border-radius: 1px;
}

.footer-description {
  color: rgba(255, 255, 255, 0.7);
  line-height: 1.7;
}

.footer-links {
  list-style: none;
  padding: 0;
}

.footer-links li {
  margin-bottom: 0.75rem;
}

.footer-links a {
  color: rgba(255, 255, 255, 0.7);
  text-decoration: none;
  transition: var(--transition);
  position: relative;
}

.footer-links a:hover {
  color: var(--secondary-color);
  padding-left: 1rem;
}

.footer-links a::before {
  content: '→';
  position: absolute;
  left: -1rem;
  opacity: 0;
  transition: var(--transition);
  color: var(--secondary-color);
}

.footer-links a:hover::before {
  opacity: 1;
  left: 0;
}

.social-links {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
}

.social-link {
  width: 50px;
  height: 50px;
  background: rgba(255, 255, 255, 0.07);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  color: rgba(255,255,255,0.8);
  font-size: 1.25rem;
  text-decoration: none;
  transition: var(--transition);
  backdrop-filter: blur(10px);
  border: 1px solid rgba(255, 255, 255, 0.1);
}

.social-link:hover {
  background: var(--secondary-color);
  transform: translateY(-3px);
  box-shadow: var(--shadow-green);
  color: white;
  border-color: transparent;
}

.footer-divider {
  border: none;
  height: 1px;
  background: rgba(255, 255, 255, 0.08);
  margin: 2rem 0;
}

.footer-copyright,
.footer-made {
  color: rgba(255, 255, 255, 0.5);
  margin: 0;
}

/* ===== MODAL ===== */
.modal-content {
  border-radius: var(--border-radius);
  border: 1px solid #e5e7eb;
  box-shadow: var(--shadow-xl);
}

.modal-header {
  border-bottom: 1px solid #e5e7eb;
  padding: 2rem;
  background: #f8f8f8;
}

.modal-title {
  font-size: 1.5rem;
  font-weight: 700;
  color: var(--text-primary);
}

.game-card {
  background: white;
  border-radius: var(--border-radius);
  padding: 2rem;
  text-align: center;
  box-shadow: var(--shadow-md);
  transition: var(--transition);
  height: 100%;
  border: 2px solid transparent;
}

.game-card:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
  border-color: var(--secondary-color);
}

.game-icon {
  width: 60px;
  height: 60px;
  background: var(--gradient-dark);
  border-radius: 50%;
  display: flex;
  align-items: center;
  justify-content: center;
  margin: 0 auto 1.5rem;
  color: var(--secondary-color);
  font-size: 1.5rem;
  border: 2px solid rgba(46, 204, 113, 0.25);
}

.game-title {
  font-size: 1.25rem;
  font-weight: 600;
  margin-bottom: 1rem;
  color: var(--text-primary);
}

/* ===== RESPONSIVE ===== */
@media (max-width: 768px) {
  .section-title {
    font-size: 2rem;
  }
  
  .carousel-title {
    font-size: 2.5rem;
  }
  
  .carousel-description {
    font-size: 1.25rem;
  }
  
  .stats-container {
    flex-direction: column;
    gap: 1rem;
  }
  
  .floating-icon {
    display: none;
  }
  
  .contact-form-container {
    padding: 2rem;
  }
  
  .navbar-brand .brand-text {
    display: none;
  }
}

@media (max-width: 576px) {
  .section-title {
    font-size: 1.75rem;
  }
  
  .carousel-title {
    font-size: 2rem;
  }
  
  .service-card,
  .mission-card,
  .vision-card {
    padding: 2rem 1.5rem;
  }
  
  .contact-form-container {
    padding: 1.5rem;
  }
}

/* ===== UTILIDADES ===== */
.text-gradient {
  background: var(--gradient-secondary);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.shadow-custom {
  box-shadow: var(--shadow-xl);
}

.border-gradient {
  border: 2px solid transparent;
  background: linear-gradient(white, white) padding-box,
              var(--gradient-secondary) border-box;
}

/* ===== ANIMACIONES PERSONALIZADAS ===== */
@keyframes fadeInUp {
  from {
    opacity: 0;
    transform: translateY(30px);
  }
  to {
    opacity: 1;
    transform: translateY(0);
  }
}

@keyframes fadeInLeft {
  from {
    opacity: 0;
    transform: translateX(-30px);
  }
  to {
    opacity: 1;
    transform: translateX(0);
  }
}

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

@keyframes pulse {
  0%, 100% {
    transform: scale(1);
  }
  50% {
    transform: scale(1.05);
  }
}

.animate-pulse {
  animation: pulse 2s infinite;
}

/* ===== SCROLLBAR PERSONALIZADA ===== */
::-webkit-scrollbar {
  width: 8px;
}

::-webkit-scrollbar-track {
  background: #f0f0f0;
}

::-webkit-scrollbar-thumb {
  background: var(--gradient-secondary);
  border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
  background: var(--accent-color);
}

/* ===== LOADING Y ESTADOS ===== */
.loading {
  opacity: 0.6;
  pointer-events: none;
}

.fade-in {
  animation: fadeInUp 0.6s ease-out;
}

/* ===== EFECTOS DE HOVER MEJORADOS ===== */
.hover-lift {
  transition: var(--transition);
}

.hover-lift:hover {
  transform: translateY(-5px);
  box-shadow: var(--shadow-lg);
}

.hover-scale {
  transition: var(--transition);
}

.hover-scale:hover {
  transform: scale(1.05);
}

/* ===== EFECTOS DE FOCO PARA ACCESIBILIDAD ===== */
.btn:focus,
.form-control:focus,
.nav-link:focus {
  outline: 2px solid var(--secondary-color);
  outline-offset: 2px;
}

/* ===== GREEN ACCENT HELPERS ===== */
.green-dot {
  width: 8px;
  height: 8px;
  border-radius: 50%;
  background: var(--secondary-color);
  display: inline-block;
  box-shadow: 0 0 6px rgba(46, 204, 113, 0.5);
}

/* ===== AEO STRUCTURED DATA VISUAL HINTS ===== */
[data-aeo-entity] {
  position: relative;
}