/* =============================================
   ELECTROTECH JC - HERO BANNER SLIDER CSS
   Cinematic Gaming Slider — Gold | Violet | Blue
   ============================================= */

/* ── BANNER SECTION ── */
.banner-section {
  position: relative;
  width: 100%;
  height: 100vh;
  min-height: 600px;
  max-height: 900px;
  overflow: hidden;
  background: #06060F;
}

/* ── SLIDE BASE ── */
.bslide {
  position: absolute;
  inset: 0;
  display: flex;
  align-items: center;
  opacity: 0;
  pointer-events: none;
  transition: opacity 0.8s cubic-bezier(0.4,0,0.2,1);
  overflow: hidden;
}
.bslide.active {
  opacity: 1;
  pointer-events: all;
}
.bslide.exiting {
  opacity: 0;
}

/* ── SLIDE THEMES — dark backgrounds per color ── */
.bslide-gold {
  background:
    radial-gradient(ellipse at 65% 50%, #F5C51812 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, #FF8F0010 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, #FFD70010 0%, transparent 40%),
    linear-gradient(160deg, #0C0A04 0%, #06060F 50%, #0A0804 100%);
}
.bslide-violet {
  background:
    radial-gradient(ellipse at 65% 50%, #8B3FD815 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, #E040FB10 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, #6B21A810 0%, transparent 40%),
    linear-gradient(160deg, #08060F 0%, #06060F 50%, #080410 100%);
}
.bslide-blue {
  background:
    radial-gradient(ellipse at 65% 50%, #3D5AFE14 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, #60A5FA10 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, #1D4ED810 0%, transparent 40%),
    linear-gradient(160deg, #050810 0%, #06060F 50%, #050710 100%);
}

/* ── WATERMARK BACKGROUND TEXT ── */
.bslide-watermark {
  position: absolute;
  right: -5%;
  top: 50%;
  transform: translateY(-50%);
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(100px, 18vw, 240px);
  font-weight: 900;
  letter-spacing: -0.02em;
  line-height: 1;
  pointer-events: none;
  user-select: none;
  opacity: 0;
  transition: opacity 0.6s ease 0.3s;
}
.bslide.active .bslide-watermark { opacity: 1; }
.bslide-gold .bslide-watermark    { color: #F5C51808; }
.bslide-violet .bslide-watermark  { color: #8B3FD808; }
.bslide-blue .bslide-watermark    { color: #3D5AFE08; }

/* ── GROUND ROCKS ── */
.bground {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 28%;
  pointer-events: none;
  z-index: 1;
}
.bground::before {
  content: '';
  position: absolute;
  inset: 0;
  /* Jagged mountain/rock silhouette using clip-path */
  clip-path: polygon(
    0% 100%, 0% 55%,
    4% 70%, 8% 45%,  12% 60%, 16% 38%,
    20% 55%, 25% 30%, 30% 50%, 34% 25%,
    38% 45%, 43% 20%, 48% 42%, 52% 18%,
    56% 38%, 61% 22%, 66% 44%, 70% 28%,
    74% 48%, 78% 35%, 82% 52%, 86% 40%,
    90% 58%, 94% 45%, 98% 60%, 100% 50%,
    100% 100%
  );
  background: #08070A;
}
.bground::after {
  content: '';
  position: absolute;
  inset: 0;
  clip-path: polygon(
    0% 100%, 0% 70%,
    3% 80%, 7% 65%, 11% 78%, 15% 62%,
    22% 75%, 28% 58%, 32% 70%, 38% 52%,
    43% 65%, 50% 48%, 54% 62%, 60% 46%,
    65% 60%, 71% 50%, 76% 65%, 80% 55%,
    85% 68%, 88% 58%, 92% 70%, 96% 62%,
    100% 72%, 100% 100%
  );
  background: #0A090C;
  opacity: 0.8;
}
.bslide-gold    .bground::before { background: #0C0A06; }
.bslide-gold    .bground::after  { background: #0E0B07; }
.bslide-violet  .bground::before { background: #08060E; }
.bslide-violet  .bground::after  { background: #0A070F; }
.bslide-blue    .bground::before { background: #06080E; }
.bslide-blue    .bground::after  { background: #07090F; }

/* ── FLOATING CRYSTALS ── */
.bcrystals { position: absolute; inset: 0; pointer-events: none; z-index: 2; }
.bcrystal {
  position: absolute;
  left: var(--bc-x);
  top: var(--bc-y);
  width: var(--bc-size);
  height: var(--bc-size);
  background: var(--bc-color);
  opacity: 0;
  clip-path: polygon(50% 0%, 85% 30%, 100% 70%, 70% 100%, 30% 100%, 0% 70%, 15% 30%);
  filter: drop-shadow(0 0 6px var(--bc-color));
  animation: crystal-float 6s ease-in-out infinite var(--bc-d);
  transition: opacity 0.5s ease;
}
.bslide.active .bcrystal { opacity: 0.7; }

/* Different crystal shapes */
.bcrystal.bc-1 { clip-path: polygon(50% 0%, 90% 25%, 100% 65%, 75% 100%, 25% 100%, 0% 65%, 10% 25%); }
.bcrystal.bc-2 { clip-path: polygon(50% 0%, 100% 38%, 82% 100%, 18% 100%, 0% 38%); transform: rotate(15deg); }
.bcrystal.bc-3 { clip-path: polygon(30% 0%, 70% 0%, 100% 50%, 70% 100%, 30% 100%, 0% 50%); }
.bcrystal.bc-4 { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); transform: rotate(30deg); }
.bcrystal.bc-5 { clip-path: polygon(50% 0%, 85% 20%, 100% 60%, 80% 100%, 20% 100%, 0% 60%, 15% 20%); }
.bcrystal.bc-6 { clip-path: polygon(50% 0%, 100% 50%, 50% 100%, 0% 50%); transform: rotate(-20deg); }

@keyframes crystal-float {
  0%, 100% {
    transform: translateY(0px) rotate(0deg) scale(1);
    filter: drop-shadow(0 0 6px var(--bc-color)) brightness(1);
  }
  25% {
    transform: translateY(-18px) rotate(8deg) scale(1.05);
    filter: drop-shadow(0 0 12px var(--bc-color)) brightness(1.3);
  }
  50% {
    transform: translateY(-8px) rotate(-5deg) scale(0.97);
    filter: drop-shadow(0 0 8px var(--bc-color)) brightness(1.1);
  }
  75% {
    transform: translateY(-24px) rotate(12deg) scale(1.08);
    filter: drop-shadow(0 0 14px var(--bc-color)) brightness(1.4);
  }
}

/* ── SLIDE INNER LAYOUT ── */
.bslide-inner {
  position: relative;
  z-index: 10;
  display: grid;
  grid-template-columns: 1fr 1fr;
  align-items: center;
  gap: 40px;
  height: 100%;
  padding: 80px 0 60px;
}

/* ── SLIDE TEXT (LEFT) ── */
.bslide-text {
  position: relative;
  z-index: 5;
  opacity: 0;
  transform: translateX(-40px);
  transition: opacity 0.7s ease 0.2s, transform 0.7s ease 0.2s;
}
.bslide.active .bslide-text {
  opacity: 1;
  transform: translateX(0);
}

.bseries {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.78rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  color: #888;
  margin-bottom: 12px;
}
.bslide-gold   .bseries { color: #F5C51899; }
.bslide-violet .bseries { color: #8B3FD899; }
.bslide-blue   .bseries { color: #3D5AFE99; }

.bslide-name {
  font-family: 'Orbitron', sans-serif;
  font-size: clamp(2.8rem, 6vw, 5.5rem);
  font-weight: 900;
  line-height: 1;
  margin: 0 0 20px;
  color: #fff;
  letter-spacing: -0.02em;
}
.bname-accent {
  display: block;
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}
.bslide-gold   .bname-accent { background-image: linear-gradient(135deg, #FFD700, #F5C518, #FF8F00); }
.bslide-violet .bname-accent { background-image: linear-gradient(135deg, #C084FC, #8B3FD8, #E040FB); }
.bslide-blue   .bname-accent { background-image: linear-gradient(135deg, #60A5FA, #3D5AFE, #1D4ED8); }

.bslide-desc {
  font-size: 0.88rem;
  line-height: 1.8;
  color: #9EA8C8;
  margin-bottom: 24px;
  max-width: 400px;
}

/* ── ANIMATED ARROWS ── */
.bslide-arrows {
  display: flex;
  gap: 2px;
  margin-bottom: 28px;
}
.barrow {
  font-size: 1.4rem;
  opacity: 0.2;
  font-weight: 300;
  animation: arrow-pulse 1.6s ease-in-out infinite;
}
.barrow.ba-1 { animation-delay: 0s; }
.barrow.ba-2 { animation-delay: 0.15s; }
.barrow.ba-3 { animation-delay: 0.3s; }
.barrow.ba-4 { animation-delay: 0.45s; }
.barrow.ba-5 { animation-delay: 0.6s; }

.bslide-gold   .barrow { color: #F5C518; }
.bslide-violet .barrow { color: #8B3FD8; }
.bslide-blue   .barrow { color: #3D5AFE; }

@keyframes arrow-pulse {
  0%, 100% { opacity: 0.15; transform: translateX(0); }
  50% { opacity: 1; transform: translateX(4px); }
}

/* ── COTIZAR BUTTON ── */
.btn-banner {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  font-family: 'Orbitron', sans-serif;
  font-size: 0.85rem;
  font-weight: 700;
  letter-spacing: 0.2em;
  text-transform: uppercase;
  padding: 12px 36px;
  border: 2px solid;
  cursor: pointer;
  transition: all 0.3s ease;
  position: relative;
  overflow: hidden;
  text-decoration: none;
  background: transparent;
}
.btn-banner::before {
  content: '';
  position: absolute;
  inset: 0;
  opacity: 0;
  transition: opacity 0.3s ease;
}
.btn-banner:hover::before { opacity: 1; }
.btn-banner:hover { transform: translateY(-2px); }

.bslide-gold   .btn-banner { border-color: #F5C518; color: #F5C518; box-shadow: 0 0 20px #F5C51830; }
.bslide-gold   .btn-banner::before { background: #F5C51815; }
.bslide-gold   .btn-banner:hover { color: #000; background: #F5C518; box-shadow: 0 0 40px #F5C51866; }

.bslide-violet .btn-banner { border-color: #8B3FD8; color: #8B3FD8; box-shadow: 0 0 20px #8B3FD830; }
.bslide-violet .btn-banner::before { background: #8B3FD815; }
.bslide-violet .btn-banner:hover { color: #fff; background: #8B3FD8; box-shadow: 0 0 40px #8B3FD866; }

.bslide-blue   .btn-banner { border-color: #3D5AFE; color: #3D5AFE; box-shadow: 0 0 20px #3D5AFE30; }
.bslide-blue   .btn-banner::before { background: #3D5AFE15; }
.bslide-blue   .btn-banner:hover { color: #fff; background: #3D5AFE; box-shadow: 0 0 40px #3D5AFE66; }

/* ── PC SVG (RIGHT) ── */
.bslide-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  opacity: 0;
  transform: translateX(50px) scale(0.95);
  transition: opacity 0.8s ease 0.15s, transform 0.8s ease 0.15s;
}
.bslide.active .bslide-visual {
  opacity: 1;
  transform: translateX(0) scale(1);
}

.bpc-img {
  width: clamp(260px, 32vw, 420px);
  height: auto;
  filter: drop-shadow(0 20px 60px rgba(0,0,0,0.6));
  animation: pc-float 4.5s ease-in-out infinite;
  position: relative;
  z-index: 3;
  border-radius: 12px;
}
@keyframes pc-float {
  0%, 100% { transform: translateY(0); }
  50% { transform: translateY(-18px); }
}

.bpc-glow {
  position: absolute;
  bottom: -20px;
  left: 50%;
  transform: translateX(-50%);
  width: 80%;
  height: 80px;
  filter: blur(20px);
  border-radius: 50%;
  z-index: 1;
  animation: glow-pulse 3s ease-in-out infinite;
}
@keyframes glow-pulse {
  0%, 100% { opacity: 0.4; transform: translateX(-50%) scaleX(1); }
  50% { opacity: 0.7; transform: translateX(-50%) scaleX(1.1); }
}

/* ── NAVIGATION ARROWS ── */
.banner-arrow {
  position: absolute;
  top: 50%;
  transform: translateY(-50%);
  z-index: 20;
  width: 48px;
  height: 48px;
  background: rgba(255,255,255,0.06);
  border: 1px solid rgba(255,255,255,0.12);
  border-radius: 50%;
  color: #fff;
  font-size: 1.8rem;
  display: flex;
  align-items: center;
  justify-content: center;
  cursor: pointer;
  transition: all 0.3s ease;
  backdrop-filter: blur(8px);
  line-height: 1;
}
.banner-arrow:hover {
  background: rgba(255,255,255,0.14);
  border-color: rgba(255,255,255,0.3);
  transform: translateY(-50%) scale(1.1);
}
.banner-prev { left: 24px; }
.banner-next { right: 24px; }

/* ── SLIDE DOTS / NAMES ── */
.banner-dots-wrap {
  position: absolute;
  bottom: 36px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 20;
  display: flex;
  gap: 28px;
}
.bdot {
  font-family: 'Rajdhani', sans-serif;
  font-size: 0.75rem;
  font-weight: 700;
  letter-spacing: 0.15em;
  text-transform: uppercase;
  color: #555;
  background: none;
  border: none;
  cursor: pointer;
  padding: 4px 0;
  border-bottom: 2px solid transparent;
  transition: all 0.3s ease;
  position: relative;
}
.bdot::after {
  content: '';
  position: absolute;
  bottom: -2px;
  left: 0;
  width: 0;
  height: 2px;
  transition: width 0.4s ease;
  background: currentColor;
}
.bdot.active::after { width: 100%; }
.bdot.active { color: #EEF0FF; }
.bdot:hover:not(.active) { color: #888; }

/* ── PROGRESS BAR ── */
.banner-progress {
  position: absolute;
  bottom: 0;
  left: 0;
  right: 0;
  height: 3px;
  background: rgba(255,255,255,0.06);
  z-index: 20;
}
.banner-progress-fill {
  height: 100%;
  width: 0%;
  background: linear-gradient(90deg, #F5C518, #8B3FD8, #3D5AFE);
  transition: background 0.5s ease;
}

/* ── RESPONSIVE ── */
@media (max-width: 900px) {
  .banner-section { height: 100vh; min-height: 650px; max-height: 850px; }
  .bslide-inner {
    grid-template-columns: 1fr;
    grid-template-rows: auto auto;
    text-align: center;
    padding: 70px 0 80px;
    gap: 15px;
  }
  .bslide-text { transform: translateY(-20px); }
  .bslide.active .bslide-text { transform: translateY(0); }
  .bslide-arrows { justify-content: center; margin-bottom: 15px; }
  .bslide-desc { margin-left: auto; margin-right: auto; margin-bottom: 16px; }
  .bslide-visual {
    transform: translateY(20px) scale(0.9);
    justify-content: center;
  }
  .bslide.active .bslide-visual { transform: translateY(0) scale(1); }
  .bpc-img { width: clamp(160px, 35vw, 240px); }
  .bslide-watermark { font-size: clamp(70px, 14vw, 120px); right: -2%; }
  .banner-prev { left: 12px; }
  .banner-next { right: 12px; }
  .banner-arrow { width: 40px; height: 40px; font-size: 1.5rem; }
  .bslide-name { font-size: clamp(2.2rem, 7vw, 3.2rem); }
}

@media (max-width: 640px) {
  .banner-section { height: 100vh; min-height: 580px; max-height: 720px; }
  .bslide-inner { padding: 60px 0 80px; gap: 10px; }
  .bslide-visual {
    display: flex;
    transform: translateY(15px) scale(0.9);
    justify-content: center;
  }
  .bslide.active .bslide-visual { transform: translateY(0) scale(1); }
  .bpc-img { width: clamp(130px, 38vw, 180px); }
  .bslide-name { font-size: clamp(1.8rem, 8vw, 2.4rem); margin: 0 0 10px; }
  .bslide-desc { font-size: 0.8rem; margin-left: auto; margin-right: auto; margin-bottom: 12px; line-height: 1.5; }
  .btn-banner { padding: 10px 24px; font-size: 0.8rem; }
  .bslide-arrows { display: none; }
  .bslide-watermark { display: none; }
  .banner-dots-wrap { bottom: 15px; gap: 12px; }
  .banner-arrow { display: none; }
}

/* ── ADDITIONAL THEMES (RED/GREEN) ── */
.bslide-red {
  background:
    radial-gradient(ellipse at 65% 50%, #FF3D0014 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, #FF8A6510 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, #D5000010 0%, transparent 40%),
    linear-gradient(160deg, #100505 0%, #06060F 50%, #100303 100%);
}
.bslide-red .bslide-watermark { color: #FF3D0008; }
.bslide-red .bground::before { background: #0E0404; }
.bslide-red .bground::after { background: #0F0505; }
.bslide-red .bseries { color: #FF3D0099; }
.bslide-red .bname-accent { background-image: linear-gradient(135deg, #FF8A65, #FF3D00, #D50000); }
.bslide-red .barrow { color: #FF3D00; }
.bslide-red .btn-banner { border-color: #FF3D00; color: #FF3D00; box-shadow: 0 0 20px #FF3D0030; }
.bslide-red .btn-banner::before { background: #FF3D0015; }
.bslide-red .btn-banner:hover { color: #fff; background: #FF3D00; box-shadow: 0 0 40px #FF3D0066; }

.bslide-green {
  background:
    radial-gradient(ellipse at 65% 50%, #00E67614 0%, transparent 55%),
    radial-gradient(ellipse at 20% 80%, #69F0AE10 0%, transparent 45%),
    radial-gradient(ellipse at 90% 10%, #00C85310 0%, transparent 40%),
    linear-gradient(160deg, #051007 0%, #06060F 50%, #040F06 100%);
}
.bslide-green .bslide-watermark { color: #00E67608; }
.bslide-green .bground::before { background: #040E06; }
.bslide-green .bground::after { background: #050F07; }
.bslide-green .bseries { color: #00E67699; }
.bslide-green .bname-accent { background-image: linear-gradient(135deg, #69F0AE, #00E676, #00C853); }
.bslide-green .barrow { color: #00E676; }
.bslide-green .btn-banner { border-color: #00E676; color: #00E676; box-shadow: 0 0 20px #00E67630; }
.bslide-green .btn-banner::before { background: #00E67615; }
.bslide-green .btn-banner:hover { color: #111; background: #00E676; box-shadow: 0 0 40px #00E67666; }
