/* ============================================================================
   GAMER THEME - ABChess
   Estilo gaming/cyberpunk para atraer audiencia joven
   Para ACTIVAR: descomentar link en index.php
   Para DESACTIVAR: comentar link en index.php
   ============================================================================ */

/* Variables de colores gaming */
:root {
  --gamer-cyan: #00f0ff;
  --gamer-magenta: #ff00ff;
  --gamer-purple: #8b5cf6;
  --gamer-green: #00ff41;
  --gamer-yellow: #ffea00;
  --gamer-dark: #0a0e27;
  --gamer-darker: #050814;
  /* Nuevos: colores de texto para mejor legibilidad */
  --gamer-text: #e6e9ff;         /* texto principal claro */
  --gamer-text-dim: #c8cff8;     /* texto secundario */
}

/* Animaciones gaming */
@keyframes neon-pulse {
  0%, 100% {
    text-shadow: 0 0 10px var(--gamer-cyan), 0 0 20px var(--gamer-cyan), 0 0 30px var(--gamer-cyan);
  }
  50% {
    text-shadow: 0 0 20px var(--gamer-cyan), 0 0 40px var(--gamer-cyan), 0 0 60px var(--gamer-cyan);
  }
}

@keyframes glow-border {
  0%, 100% {
    box-shadow: 0 0 15px var(--gamer-cyan), inset 0 0 15px rgba(0, 240, 255, 0.1);
  }
  50% {
    box-shadow: 0 0 30px var(--gamer-cyan), inset 0 0 25px rgba(0, 240, 255, 0.2);
  }
}

@keyframes glitch {
  0% {
    transform: translate(0);
  }
  20% {
    transform: translate(-2px, 2px);
  }
  40% {
    transform: translate(-2px, -2px);
  }
  60% {
    transform: translate(2px, 2px);
  }
  80% {
    transform: translate(2px, -2px);
  }
  100% {
    transform: translate(0);
  }
}

@keyframes scan-line {
  0% {
    transform: translateY(-100%);
  }
  100% {
    transform: translateY(100%);
  }
}

/* Fondo gaming con grid */
body {
  background: var(--gamer-darker);
  position: relative;
  overflow-x: hidden;
}

body::before {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: 
    linear-gradient(90deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px),
    linear-gradient(0deg, rgba(0, 240, 255, 0.03) 1px, transparent 1px);
  background-size: 50px 50px;
  pointer-events: none;
  z-index: 0;
}

/* Header gaming */
.header {
  background: transparent !important;
  border-bottom: 2px solid transparent !important;
  box-shadow: none !important;
}

.header.header-transparent {
  background: transparent !important;
  border-bottom-color: transparent !important;
  box-shadow: none !important;
}

.header.header-scrolled {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(87, 45, 211, 0.95) 100%) !important;
  border-bottom: 2px solid var(--gamer-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.3) !important;
}

.nav-link {
  position: relative;
  color: var(--gamer-cyan) !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1px;
  transition: all 0.3s ease;
}

.nav-link::before {
  content: "";
  position: absolute;
  bottom: -5px;
  left: 0;
  width: 0;
  height: 2px;
  background: linear-gradient(90deg, var(--gamer-cyan), var(--gamer-magenta));
  transition: width 0.3s ease;
}

.nav-link:hover {
  color: var(--gamer-magenta) !important;
  text-shadow: 0 0 10px var(--gamer-magenta);
}

.nav-link:hover::before {
  width: 100%;
}

/* Hero gaming */
.hero .hero-content .info {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(50, 20, 80, 0.85) 100%) !important;
  border: 2px solid var(--gamer-cyan) !important;
  border-radius: 16px !important;
  box-shadow: 
    0 0 40px rgba(0, 240, 255, 0.1),
    inset 0 0 40px rgba(139, 92, 246, 0.2) !important;
  animation: glow-border 3s ease-in-out infinite;
  position: relative;
  overflow: hidden;
}

.hero .hero-content .info::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gamer-cyan), transparent);
  animation: scan-line 3s linear infinite;
}

.hero .hero-content .info .title {
  font-weight: 900 !important;
  background: linear-gradient(135deg, var(--gamer-cyan) 0%, var(--gamer-magenta) 10%, var(--gamer-purple) 10%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 2px;
  animation: neon-pulse 2s ease-in-out infinite;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.1));
}

.hero .hero-content .info .text {
  color: #e0e0ff !important;
  text-shadow: 0 0 10px rgba(139, 92, 246, 0.5);
  font-weight: 500;
}

.hero .btn {
  background: linear-gradient(135deg, var(--gamer-cyan) 0%, var(--gamer-purple) 100%) !important;
  border: 2px solid var(--gamer-cyan) !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 2.5rem !important;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.hero .btn::before {
  content: "";
  position: absolute;
  top: 50%;
  left: 50%;
  width: 0;
  height: 0;
  background: rgba(255, 255, 255, 0.2);
  border-radius: 50%;
  transform: translate(-50%, -50%);
  transition: width 0.6s, height 0.6s;
}

.hero .btn:hover::before {
  width: 300px;
  height: 300px;
}

.hero .btn:hover {
  transform: translateY(-3px);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.8), 0 0 20px rgba(255, 0, 255, 0.5);
  animation: glitch 0.3s ease;
}

/* Contadores gaming */
.counting-info .counts {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(50, 20, 80, 0.7) 100%) !important;
  border: 2px solid var(--gamer-purple) !important;
  border-radius: 12px;
  padding: 2rem;
  position: relative;
  overflow: hidden;
  transition: all 0.3s ease;
}

.counting-info .counts::before {
  content: "";
  position: absolute;
  top: -50%;
  left: -50%;
  width: 200%;
  height: 200%;
  background: radial-gradient(circle, rgba(139, 92, 246, 0.1) 0%, transparent 70%);
  opacity: 0;
  transition: opacity 0.3s ease;
}

.counting-info .counts:hover::before {
  opacity: 1;
}

.counting-info .counts:hover {
  border-color: var(--gamer-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  transform: translateY(-5px);
}

.counting-info .number {
  background: linear-gradient(135deg, var(--gamer-cyan), var(--gamer-green));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900 !important;
  font-size: 2.5rem !important;
  filter: drop-shadow(0 0 15px rgba(0, 255, 65, 0.5));
}

.counting-info .label {
  color: var(--gamer-cyan) !important;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-weight: 600;
}

/* Tarjetas de planes gaming */
.prices .price {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(30, 20, 60, 0.85) 100%) !important;
  border: 2px solid var(--gamer-purple) !important;
  border-radius: 16px;
  position: relative;
  overflow: hidden;
  transition: all 0.4s ease;
}

.prices .price::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 100%;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.1), transparent);
  transition: left 0.6s ease;
}

.prices .price:hover::before {
  left: 100%;
}

.prices .price:hover {
  border-color: var(--gamer-cyan);
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.6);
  transform: translateY(-10px) scale(1.02);
}

.prices .price.most-popular {
  border: 3px solid var(--gamer-cyan) !important;
  box-shadow: 0 0 50px rgba(0, 240, 255, 0.5);
}

.prices .price.most-popular::after {
  content: "POPULAR";
  position: absolute;
  top: 20px;
  right: -35px;
  background: linear-gradient(135deg, var(--gamer-cyan), var(--gamer-magenta));
  color: #fff;
  padding: 5px 40px;
  font-weight: 700;
  font-size: 12px;
  letter-spacing: 1px;
  transform: rotate(45deg);
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.7);
}

.prices .value {
  background: linear-gradient(135deg, var(--gamer-cyan), var(--gamer-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  font-weight: 900 !important;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
}

/* Ajustes de legibilidad dentro de cada tarjeta */
.prices .value .period {
  background: none !important;
  -webkit-text-fill-color: var(--gamer-text) !important;
  color: var(--gamer-text) !important;
  filter: none !important;
  opacity: 0.9;
}

.prices .price .description {
  color: var(--gamer-text) !important;
  line-height: 1.6;
}

.prices .price .benefits-list {
  margin-top: 1rem;
}

.prices .price .benefits-list .benefit-item {
  color: var(--gamer-text-dim) !important; /* para el guion y texto base */
  display: flex;
  align-items: center;
  gap: .5rem;
}

.prices .price .benefits-list .benefit-icon {
  width: 26px;
  height: 26px;
  color: var(--gamer-cyan);
  fill: currentColor;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-size: 1.2rem;
  filter: drop-shadow(0 0 6px rgba(0, 240, 255, 0.5));
}

/* Pawn variant usando símbolo ♙ */
.prices .price .benefits-list .benefit-icon.benefit-pawn {
  width: 30px;
  height: 30px;
  font-size: 1.6rem;
  color: var(--gamer-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.85);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

/* Knight variant para el plan intermedio (texto ♞) */
.prices .price .benefits-list .benefit-icon.benefit-knight {
  width: 30px;
  height: 30px;
  font-size: 1.6rem;
  color: var(--gamer-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.85);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}

/* King variant para el plan avanzado */
.prices .price .benefits-list .benefit-icon.benefit-king {
  width: 30px;
  height: 30px;
  font-size: 1.6rem;
  color: var(--gamer-cyan) !important;
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.85);
  filter: drop-shadow(0 0 8px rgba(0, 240, 255, 0.6));
}
.prices .type {
  color: var(--gamer-cyan) !important;
  text-transform: uppercase;
  font-weight: 700;
  letter-spacing: 2px;
}

.prices .btn-buy {
  background: linear-gradient(135deg, var(--gamer-purple) 0%, var(--gamer-cyan) 100%) !important;
  border: 2px solid var(--gamer-cyan) !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 2rem !important;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(139, 92, 246, 0.5);
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
}

.prices .btn-buy:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
  transform: translateY(-3px);
}

/* Headings gaming */
.heading-lg {
  font-weight: 900 !important;
  background: linear-gradient(135deg, var(--gamer-cyan) 0%, var(--gamer-magenta) 100%);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  text-transform: uppercase;
  letter-spacing: 3px;
  filter: drop-shadow(0 0 20px rgba(0, 240, 255, 0.5));
  position: relative;
}

.heading-lg::after {
  content: "";
  position: absolute;
  bottom: -10px;
  left: 50%;
  transform: translateX(-50%);
  width: 100px;
  height: 3px;
  background: linear-gradient(90deg, transparent, var(--gamer-cyan), transparent);
  box-shadow: 0 0 10px var(--gamer-cyan);
}

/* FAQ gaming */
.faq-item {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.8) 0%, rgba(30, 20, 60, 0.7) 100%) !important;
  border: 2px solid var(--gamer-purple) !important;
  border-radius: 12px;
  transition: all 0.3s ease;
}

.faq-item:hover {
  border-color: var(--gamer-cyan) !important;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.4);
}

.faq-item.active {
  border-color: var(--gamer-cyan) !important;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
}

.faq-question h3 span:last-child {
  color: var(--gamer-cyan) !important;
  text-transform: uppercase;
  font-weight: 700;
}

/* Testimonios gaming */
.testimonials .testimonial-bg-info {
  display: none !important;
}

.testimonials .testimonial-content .testimonial-box-items {
  gap: 2rem;
}

.testimonials .testimonial-item-bg {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 20, 60, 0.9) 100%) !important;
  border: 3px solid var(--gamer-cyan) !important;
  border-radius: 14px;
  padding: 2rem 2rem 2.5rem;
  box-shadow:
    0 0 55px rgba(0, 240, 255, 0.35),
    inset 0 0 30px rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
  width: 340px;
  height: 560px !important;
}

.testimonials .testimonial-item-bg::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 18px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  pointer-events: none;
}

.testimonials .testimonial-item-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 120%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.7), rgba(255, 0, 255, 0.7), transparent);
  animation: scan-line 6s linear infinite;
}

.testimonials .testimonial-item-bg .image-box {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

/* Videos section uses testimonial layout; adjust image-box to 16:9 */
.videos .testimonial-item-bg .image-box,
.videos .testimonial-item-sm .image-box {
  aspect-ratio: 16 / 9;
  height: auto;
}
.videos .testimonial-item-bg { width: 640px; }
.videos .testimonial-item-sm { width: 300px; }

/* Mirror testimonial card styles for videos section */
.videos .testimonial-content .testimonial-box-items { gap: 2rem; }

.videos .testimonial-item-bg {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 20, 60, 0.9) 100%) !important;
  border: 3px solid var(--gamer-cyan) !important;
  border-radius: 14px;
  padding: 2rem 2rem 2.5rem;
  box-shadow:
    0 0 55px rgba(0, 240, 255, 0.35),
    inset 0 0 30px rgba(139, 92, 246, 0.2);
  position: relative;
  overflow: hidden;
  height: 560px !important;
}

.videos .testimonial-item-bg::before {
  content: "";
  position: absolute;
  inset: 1px;
  border-radius: 18px;
  border: 1px solid rgba(0, 240, 255, 0.35);
  pointer-events: none;
}

.videos .testimonial-item-bg::after {
  content: "";
  position: absolute;
  top: 0;
  left: -60%;
  width: 120%;
  height: 4px;
  background: linear-gradient(90deg, transparent, rgba(0, 240, 255, 0.7), rgba(255, 0, 255, 0.7), transparent);
  animation: scan-line 6s linear infinite;
}

.videos .testimonial-item-bg .image-box {
  border-radius: 18px;
  overflow: hidden;
  border: 2px solid rgba(0, 240, 255, 0.35);
  box-shadow: 0 10px 30px rgba(0, 0, 0, 0.45);
}

.videos .testimonial-item-bg .name {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0rem;
  margin-bottom: 0.5rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gamer-cyan), var(--gamer-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));  
}

.videos .testimonial-item-sm {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 20, 60, 0.9) 100%) !important;
  border: 3px solid var(--gamer-cyan) !important;
  border-radius: 14px;
  padding: 1rem 1rem 1.25rem;
  box-shadow:
    0 0 35px rgba(0, 240, 255, 0.25),
    inset 0 0 20px rgba(139, 92, 246, 0.15);
  position: relative;
  overflow: hidden;
}

.videos .testimonial-item-sm .name {
  display: flex;
  justify-content: center;
  align-items: center;
  font-size: 0.95rem;
  text-transform: uppercase;
  letter-spacing: 0.5px;
  background: linear-gradient(90deg, var(--gamer-cyan), var(--gamer-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.videos .carousel-btn {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  width: 40px;
  height: 40px;
  border-radius: 50%;
  background: rgba(255,255,255,0.08);
  border: 1px solid rgba(0,240,255,0.4);
  color: var(--gamer-text);
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  backdrop-filter: blur(2px);
}
.videos .carousel-btn.prev { left: -20px; }
.videos .carousel-btn.next { right: -20px; }

@media (max-width: 992px) {
  .videos .testimonial-item-bg { height: auto !important; }
}

.testimonials .testimonial-item-bg .name {
  display: flex;
  justify-content: center;
  align-items: center;
  padding-bottom: 0rem;
  margin-bottom: 0rem;
  font-size: 1.1rem;
  text-transform: uppercase;
  letter-spacing: 1px;
  background: linear-gradient(90deg, var(--gamer-cyan), var(--gamer-magenta));
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
  filter: drop-shadow(0 0 12px rgba(0, 240, 255, 0.5));  
}

.testimonials .testimonial-item-bg .testimony {
  color: var(--gamer-text);
  line-height: 1.6;
  font-size: 0.95rem;
  height: auto !important;
  max-width: none !important;
  display: block !important;
  -webkit-line-clamp: unset !important;
  line-clamp: unset !important;
  -webkit-box-orient: initial !important;
}

/* ================================
   Videos section - mirror testimonials
   ================================ */
.videos .videos-content .videos-box-items { gap: 2rem; display: flex; justify-content: center; align-items: stretch; }

.videos .video-item-bg,
.videos .video-item-sm {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(30, 20, 60, 0.9) 100%) !important;
  border: 3px solid var(--gamer-cyan) !important;
  border-radius: 14px;
  padding: 1.25rem 1.25rem 1.5rem;
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.25), inset 0 0 20px rgba(139, 92, 246, 0.18);
  position: relative;
  overflow: hidden;
}

.videos .video-item-bg { width: 540px; height: 360px; display: flex; flex-direction: column; gap: .75rem; }
.videos .video-item-sm { width: 280px; height: 220px; display: flex; flex-direction: column; gap: .5rem; }

.videos .name { 
  display: flex; justify-content: center; align-items: center; 
  font-size: 1rem; text-transform: uppercase; letter-spacing: .5px; 
  background: linear-gradient(90deg, var(--gamer-cyan), var(--gamer-magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
}

.videos .video-box { width: 100%; aspect-ratio: 16 / 9; border-radius: 12px; overflow: hidden; border: 2px solid rgba(0,240,255,.35); }
.videos .video-box iframe, .videos .video-box img { width: 100%; height: 100%; display: block; object-fit: cover; }

@media (max-width: 992px) {
  .videos .video-item-bg { width: 460px; height: 300px; }
  .videos .video-item-sm { width: 220px; height: 180px; }
}

@media (max-width: 768px) {
  .videos .videos-content .videos-box-items { gap: 1rem; }
  .videos .video-item-bg { width: 100%; height: auto; }
}

/* Formulario gaming */
.contact .form input,
.contact .form select,
.contact .form textarea {
  background: rgba(10, 14, 39, 0.8) !important;
  border: 2px solid var(--gamer-purple) !important;
  color: #e0e0ff !important;
  transition: all 0.3s ease;
}

.contact .form input:focus,
.contact .form select:focus,
.contact .form textarea:focus {
  border-color: var(--gamer-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.4);
  background: rgba(20, 24, 49, 0.9) !important;
}

.contact .form label {
  color: var(--gamer-cyan) !important;
  font-weight: 600;
  text-transform: uppercase;
  letter-spacing: 1px;
  font-size: 0.9rem;
}

.form-submit-btn {
  background: linear-gradient(135deg, var(--gamer-cyan) 0%, var(--gamer-purple) 100%) !important;
  border: 2px solid var(--gamer-cyan) !important;
  color: #fff !important;
  font-weight: 700;
  text-transform: uppercase;
  letter-spacing: 1.5px;
  padding: 1rem 3rem !important;
  border-radius: 8px;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
  transition: all 0.3s ease;
}

.form-submit-btn:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
  transform: translateY(-3px);
}

/* Footer gaming */
.footer {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.95) 0%, rgba(20, 15, 40, 0.95) 100%) !important;
  border-top: 2px solid var(--gamer-cyan);
  box-shadow: 0 -10px 30px rgba(0, 240, 255, 0.2);
}

.footer-title {
  color: var(--gamer-cyan) !important;
  text-transform: uppercase;
  letter-spacing: 2px;
  font-weight: 700;
}

.footer-links a {
  color: #b0b0ff !important;
  transition: all 0.3s ease;
}

.footer-links a:hover {
  color: var(--gamer-cyan) !important;
  text-shadow: 0 0 10px var(--gamer-cyan);
  transform: translateX(5px);
}

/* Botón scroll to top gaming */
.scroll-to-top {
  background: linear-gradient(135deg, var(--gamer-cyan) 0%, var(--gamer-purple) 100%) !important;
  border: 2px solid var(--gamer-cyan) !important;
  box-shadow: 0 0 20px rgba(0, 240, 255, 0.5);
}

.scroll-to-top:hover {
  box-shadow: 0 0 40px rgba(0, 240, 255, 0.8);
  animation: glitch 0.3s ease;
}

/* WhatsApp button gaming */
.whatsapp-float {
  background: linear-gradient(135deg, var(--gamer-green) 0%, #00d936 100%) !important;
  border: 2px solid var(--gamer-green) !important;
  box-shadow: 0 0 20px rgba(0, 255, 65, 0.5);
}

.whatsapp-float:hover {
  box-shadow: 0 0 40px rgba(0, 255, 65, 0.8);
  animation: neon-pulse 0.5s ease;
}

/* Efectos adicionales para elementos interactivos */
button, .btn, a.btn, .btn-buy, .btn-primary {
  position: relative;
  cursor: pointer;
}

button:active, .btn:active, a.btn:active, .btn-buy:active {
  animation: glitch 0.2s ease;
}

/* Hover effects para imágenes */
.gallery-item img,
.master-photo img,
.about-image img {
  transition: all 0.3s ease;
  border: 2px solid transparent;
}

.gallery-item:hover img,
.master-photo:hover img,
.about-image:hover img {
  border-color: var(--gamer-cyan);
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.5);
  transform: scale(1.05);
}

/* Scanline effect (opcional, puede ser intenso) */
body::after {
  content: "";
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  background: repeating-linear-gradient(
    0deg,
    rgba(0, 0, 0, 0.15) 0px,
    transparent 1px,
    transparent 2px,
    rgba(0, 0, 0, 0.15) 3px
  );
  pointer-events: none;
  z-index: 9999;
  opacity: 0.3;
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .hero .hero-content .info .title {
    font-size: 2rem !important;
  }
  
  .counting-info .number {
    font-size: 2rem !important;
  }
  
  .heading-lg {
    font-size: 2rem !important;
  }
}

/* ================================
   Enfoque Personalizado (Highlights)
   ================================ */
#enfoque.enfoque-section { position: relative; }

.enfoque-card {
  background: linear-gradient(135deg, rgba(10, 14, 39, 0.9) 0%, rgba(30, 20, 60, 0.88) 100%) !important;
  border: 2px solid var(--gamer-cyan) !important;
  border-radius: 18px !important;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.25), inset 0 0 22px rgba(139, 92, 246, 0.18) !important;
  padding: 2rem;
}

.enfoque-quote {
  color: var(--gamer-text);
  font-size: 1.125rem;
  line-height: 1.9;
  margin: 0 0 1.5rem 0;
  border-left: 4px solid var(--color-primary);
  padding-left: 1rem;
}

.enfoque-title { color: var(--gamer-text-dim); margin-bottom: 1rem; }

.enfoque-list { list-style: none; margin: 0; padding: 0; display: grid; gap: 0.75rem; }
.enfoque-list li { position: relative; padding-left: 2.25rem; color: var(--gamer-text-dim); line-height: 1.7; }
.enfoque-list .item-title { font-weight: 800; color: var(--gamer-text); }

.enfoque-list li::before {
  position: absolute;
  left: 0.5rem;
  top: 0.05rem;
  font-size: 1.25rem;
  color: var(--gamer-cyan);
  text-shadow: 0 0 8px rgba(0, 240, 255, 0.7);
}
.enfoque-list li.bullet-pawn::before { content: "♙"; }
.enfoque-list li.bullet-knight::before { content: "♞"; }
.enfoque-list li.bullet-bishop::before { content: "♝"; }
.enfoque-list li.bullet-rook::before { content: "♜"; }
.enfoque-list li.bullet-queen::before { content: "♛"; }

@media (max-width: 768px) {
  .enfoque-card { padding: 1.25rem; }
  .enfoque-quote { font-size: 1.05rem; }
}

/* ================================
   Videos Gallery (New)
   ================================ */
.videos-gallery .subtitle { color: var(--gamer-text-dim) !important; }
.videos-gallery .videos-grid {
  display: grid;
  grid-template-columns: repeat(3, minmax(0, 1fr));
  gap: 1.5rem;
}

.videos-gallery .video-card {
  background: linear-gradient(135deg, rgba(10,14,39,0.92) 0%, rgba(50,20,80,0.88) 100%);
  border: 2px solid var(--gamer-cyan);
  border-radius: 14px;
  box-shadow: 0 0 28px rgba(0, 240, 255, 0.25), inset 0 0 20px rgba(139, 92, 246, 0.18);
  overflow: hidden;
}

.videos-gallery .video-card .thumb { position: relative; aspect-ratio: 16 / 9; overflow: hidden; }
.videos-gallery .video-card .thumb img { width: 100%; height: 100%; object-fit: cover; display: block; }
.videos-gallery .video-card .thumb .play-btn {
  position: absolute; left: 50%; top: 50%; transform: translate(-50%, -50%);
  width: 56px; height: 56px; border-radius: 50%;
  background: rgba(0, 240, 255, 0.2);
  border: 2px solid var(--gamer-cyan);
  color: #fff; font-weight: 900; font-size: 1rem;
  box-shadow: 0 0 18px rgba(0, 240, 255, 0.5);
}
.videos-gallery .video-card .thumb .play-btn:hover { transform: translate(-50%, -50%) scale(1.05); }

.videos-gallery .video-card .meta { padding: .75rem 1rem; }
.videos-gallery .video-card .title { 
  background: linear-gradient(90deg, var(--gamer-cyan), var(--gamer-magenta));
  -webkit-background-clip: text; -webkit-text-fill-color: transparent; background-clip: text;
  text-transform: uppercase; letter-spacing: .5px; font-weight: 700;
}

/* Modal Player */
.video-modal { position: fixed; inset: 0; display: none; z-index: 9999; }
.video-modal.active { display: block; }
.video-modal-backdrop { position: absolute; inset: 0; background: rgba(0,0,0,0.7); }
.video-modal-dialog { position: relative; max-width: 960px; margin: 5vh auto; background: transparent; }
.video-modal-content { position: relative; border: 2px solid var(--gamer-cyan); border-radius: 14px; overflow: hidden; box-shadow: 0 0 28px rgba(0, 240, 255, 0.4), inset 0 0 22px rgba(139, 92, 246, 0.18); }
.video-modal-content iframe { width: 100%; aspect-ratio: 16 / 9; display: block; }
.video-modal-close { position: absolute; top: -36px; right: 0; background: rgba(255,255,255,0.08); border: 1px solid rgba(0,240,255,0.4); color: var(--gamer-text); width: 36px; height: 36px; border-radius: 50%; }

@media (max-width: 992px) {
  .videos-gallery .videos-grid { grid-template-columns: repeat(2, minmax(0, 1fr)); }
}
@media (max-width: 640px) {
  .videos-gallery .videos-grid { grid-template-columns: 1fr; }
}
/* ================================
   Contact form - Gamer panel
   ================================ */
.main .main-content .contact .subtitle {
  color: var(--gamer-text-dim) !important;
}

.main .main-content .contact .contact-form {
  background: linear-gradient(135deg, rgba(10,14,39,0.92) 0%, rgba(50,20,80,0.88) 100%) !important;
  border: 2px solid var(--gamer-cyan) !important;
  border-radius: 16px !important;
  box-shadow: 0 0 30px rgba(0, 240, 255, 0.25), inset 0 0 25px rgba(139, 92, 246, 0.15) !important;
  backdrop-filter: blur(6px);
  position: relative;
  overflow: hidden;
}

.main .main-content .contact .contact-form::before {
  content: "";
  position: absolute;
  top: 0;
  left: -100%;
  width: 100%;
  height: 2px;
  background: linear-gradient(90deg, transparent, var(--gamer-cyan), transparent);
  animation: scan-line 4s linear infinite;
}

.main .main-content .contact .contact-form .form .form-group label {
  color: var(--gamer-text-dim) !important;
}

.main .main-content .contact .contact-form .form .form-error {
  color: #ff6b6b !important;
}
