/* Hero Slider - Cinematic HUD Styles */
.hero-slider-container {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  overflow: hidden;
  background: radial-gradient(circle at center, #1a2a4a 0%, #05070a 100%);
}

#heroVideo {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  z-index: 1;
  filter: brightness(0.6) contrast(1.2) saturate(1.1);
  display: block;
}

#heroBgImage {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  object-fit: cover;
  object-position: center;
  z-index: 1;
  filter: brightness(0.9) contrast(1.2) saturate(1.1);
  display: none;
}

#heroCanvas {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 5;
  pointer-events: none;
  display: block;
}



.hero-overlay {
  position: absolute;
  bottom: 15%;
  left: 10%;
  right: 10%;
  z-index: 10;
  pointer-events: none;
  display: flex;
  justify-content: flex-start;
}

.hero-overlay.align-right {
  justify-content: flex-end;
}

.glass-card {
  max-width: 650px;
  background: rgba(255, 255, 255, 0.05);
  backdrop-filter: blur(15px);
  -webkit-backdrop-filter: blur(15px);
  padding: 3rem;
  border-radius: 4px;
  border-left: 5px solid #00d2ff;
  box-shadow: 0 20px 50px rgba(0, 0, 0, 0.5);
  transition: all 0.6s cubic-bezier(0.16, 1, 0.1, 1);
}

.hero-overlay h2 {
  font-size: clamp(2rem, 5vw, 3.5rem);
  margin-bottom: 1rem;
  font-weight: 200;
  letter-spacing: 5px;
  text-transform: uppercase;
  color: #fff;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6), 0 0 20px rgba(0, 210, 255, 0.5);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-overlay p {
  font-size: clamp(1rem, 2vw, 1.2rem);
  line-height: 1.8;
  color: rgba(255, 255, 255, 0.9);
  font-weight: 300;
  letter-spacing: 0.5px;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.8), 0 4px 8px rgba(0, 0, 0, 0.6);
  transition: opacity 0.8s ease, transform 0.8s ease;
}

.hero-nav {
  position: absolute;
  bottom: 5%;
  right: 10%;
  z-index: 20;
}

.hero-dots {
  display: flex;
  gap: 1.5rem;
}

.hero-dot {
  width: 40px;
  height: 2px;
  background: rgba(255, 255, 255, 0.2);
  cursor: pointer;
  transition: all 0.4s ease;
}

.hero-dot.active {
  background: #00d2ff;
  width: 80px;
  box-shadow: 0 0 15px rgba(0, 210, 255, 0.8);
}

@media (max-width: 768px) {
  .hero-overlay {
    bottom: 8%;
    left: 5%;
    right: 5%;
  }
  .glass-card {
    padding: 1.5rem;
    max-width: 100%;
  }
  .hero-overlay h2 {
    font-size: 1.5rem;
    letter-spacing: 2px;
  }
  .hero-overlay p {
    font-size: 0.9rem;
    line-height: 1.5;
  }
  .hero-nav {
    right: 5%;
    bottom: 3%;
  }
  .hero-dots {
    gap: 1rem;
  }
  .hero-dot {
    width: 30px;
  }
  .hero-dot.active {
    width: 60px;
  }
}

@media (min-width: 769px) and (max-width: 1024px) {
  .hero-overlay {
    bottom: 12%;
    left: 8%;
    right: 8%;
  }
  .glass-card {
    padding: 2.5rem;
  }
  .hero-overlay h2 {
    font-size: 2.5rem;
  }
}

/* Earnings Calculator */
.earnings-calculator-overlay {
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 10;
  width: 90%;
  max-width: 500px;
}

.earnings-calculator {
  backdrop-filter: blur(20px);
  padding: 2.5rem;
  border-radius: 16px;
  border: 2px solid rgba(0, 210, 255, 0.3);
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.5);
}

.calc-title {
  font-size: 2rem;
  font-weight: 300;
  color: rgba(10, 20, 40, 0.95);
  margin-bottom: 2rem;
  text-align: center;
  letter-spacing: 2px;
}

.calc-field {
  margin-bottom: 2rem;
}

.calc-field label {
  display: block;
  color: rgba(10, 20, 40, 0.95);
  font-size: 1.1rem;
  margin-bottom: 0.75rem;
  font-weight: 300;
}

.calc-field span {
  font-weight: 500;
  margin-left: 0.5rem;
}

.calc-field input[type="range"] {
  width: 100%;
  height: 6px;
  background: gray;
  border-radius: 3px;
  outline: none;
  -webkit-appearance: none;
}

.calc-field input[type="range"]::-webkit-slider-thumb {
  -webkit-appearance: none;
  width: 20px;
  height: 20px;
  background: gray;
  border-radius: 50%;
  cursor: pointer;
  box-shadow: 0 0 10px rgba(255, 210, 255, 0.5);
}

.calc-field input[type="range"]::-moz-range-thumb {
  width: 20px;
  height: 20px;
  background: gray;
  border-radius: 50%;
  cursor: pointer;
  border: none;
  box-shadow: 0 0 10px rgba(0, 210, 255, 0.5);
}

.calc-result {
  margin-top: 2.5rem;
  padding: 1.5rem;
  text-align: center;
}

.result-label {
  color: black;
  font-size: 0.9rem;
  margin-bottom: 0.5rem;
  text-transform: uppercase;
  letter-spacing: 1px;
}

.result-amount {
  color: black;
  font-size: 2.5rem;
  font-weight: 500;
  
}

.calc-fineprint {
  position: absolute;
  bottom: 5px;
  right: 10px;
  color: rgba(255, 255, 255, 0.5);
  font-size: 0.65rem;
  text-align: right;
}

@media (max-width: 768px) {
  .earnings-calculator-overlay {
    width: 95%;
  }
  
  .earnings-calculator {
    padding: 1.5rem;
  }
  
  .calc-title {
    font-size: 1.5rem;
  }
  
  .calc-field label {
    font-size: 0.95rem;
  }
  
  .result-amount {
    font-size: 2rem;
  }
  
  .calc-fineprint {
    font-size: 0.55rem;
    bottom: 5px;
    right: 5px;
  }
}
