/* Hero section main styles */
.hero {
  position: relative;
  width: 100%;
  min-height: 400px;
  height: auto;
  background-image: url("/static/img/hero.png");
  background-size: cover;
  background-position: center;
  background-repeat: no-repeat;
  color: var(--primary-color);
  overflow: hidden;
  box-shadow: 0 4px 10px rgba(0, 0, 0, 0.05);
}

.hero-feature h3 {
  color: var(--primary-color);
  font-size: 1.1rem;
  font-weight: 600;
  margin-bottom: 10px;
}

.hero-feature p {
  color: var(--primary-color-80);
  font-size: 0.9rem;
  line-height: 1.4;
  margin: 0;
}

.hero-overlay {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1;
}

.hero .container,
.hero .strobe-light-container {
  position: relative;
  z-index: 2;
}

.hero-container {
  position: relative;
  max-width: 34rem;
  padding: 2rem 0;
}

.hero-container h2 {
  font-size: 2.2rem;
  line-height: 1.2;
  margin-bottom: 0.75rem;
}

.hero p {
  font-size: 0.96rem;
  line-height: 1.5;
  color: var(--primary-color-80);
  margin-bottom: 1.5rem;
}

/* Button styles have been moved to base.css */

.btn {
  padding: 15px 30px;
  font-size: 1.1rem;
  font-weight: 600;
  border-radius: 50px;
  text-decoration: none;
  transition: all 0.3s ease;
  display: inline-block;
  color: var(--gray-200);
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
}

.hero-buttons {
  display: flex;
  gap: 1rem;
  flex-wrap: wrap;
  margin-top: 0;
}
    
/* Strobe light effects */
.strobe-light-container {
  position: absolute;
  top: 20px;
  left: 50%;
  transform: translateX(-50%);
  display: flex;
  gap: 30px;
  justify-content: center;
  align-items: center;
  z-index: 2;
  pointer-events: none;
}

.strobe-light {
  width: 50px;
  height: 50px;
  background-color: var(--gray-10);
  border-radius: 50%;
  border: 1px solid #fff8f8;
  animation: glow 3s infinite alternate;
  pointer-events: none;
  cursor: default;
  position: relative;
  mix-blend-mode: screen;
  z-index: 1;
}

.strobe-light::before {
  content: "";
  position: absolute;
  top: 0;
  bottom: 0;
  left: 0;
  right: 0;
  opacity: 0.7;
  filter: blur(1.5em);
  background: var(--gray-1);
  border-radius: 50%;
  pointer-events: none;
  transform: scale(1.3);
  mix-blend-mode: screen;
}

@keyframes glow {
  0% {
    box-shadow: 0 0 0.5em 0px #fff1e4, 0 0 2em 1.5em #fff1e4;
  }
  50% {
    box-shadow: 0 0 1em 0.5em #fdf6eb, 0 0 4em 3em #fdf6eb;
  }
  100% {
    box-shadow: 0 0 0.5em 0px var(--gray-1), 0 0 2em 1.5em var(--gray-1);
  }
}

/* Livestream Player Styles */
.livestream-player-container {
  position: absolute;
  bottom: 20px;
  right: 20px;
  width: 300px;
  background-color: rgba(0, 0, 0, 0.7);
  border-radius: 8px;
  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.3);
  z-index: 10;
  overflow: hidden;
  transition: all 0.3s ease;
  cursor: move; /* Show move cursor to indicate draggable */
}

.livestream-video-wrapper {
  width: 100%;
  position: relative;
  padding-top: 56.25%; /* 16:9 aspect ratio */
}

#livestream-player {
  position: absolute;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
}

/* VideoJS custom styling */
.vjs-default-skin .vjs-big-play-button {
  top: 50% !important;
  left: 50% !important;
  transform: translate(-50%, -50%) !important;
  font-size: 2em !important;
  line-height: 2em !important;
  height: 2em !important;
  width: 2em !important;
  border-radius: 100% !important;
  border: 0.06666em solid var(--gray-1) !important;
  background-color: rgba(43, 51, 63, 0.7) !important;
}

.vjs-default-skin:hover .vjs-big-play-button,
.vjs-default-skin .vjs-big-play-button:focus {
  background-color: rgba(255, 0, 107, 0.9) !important;
  border-color: var(--gray-1) !important;
}

/* Control bar should not trigger dragging */
.vjs-control-bar {
  cursor: default !important;
}

/* User Counter Styles */
.user-counter {
  position: absolute;
  bottom: 20px;
  right: 20px;
  background: rgba(255, 255, 255, 0.95);
  backdrop-filter: blur(10px);
  border-radius: 12px;
  padding: 16px 20px;
  box-shadow: 0 8px 32px rgba(0, 0, 0, 0.1);
  border: 1px solid rgba(255, 255, 255, 0.2);
  z-index: 5;
  transition: all 0.3s ease;
}

.user-counter:hover {
  transform: translateY(-2px);
  box-shadow: 0 12px 40px rgba(0, 0, 0, 0.15);
}

.counter-content {
  text-align: center;
  min-width: 80px;
}

.counter-number {
  font-size: 2rem;
  font-weight: 700;
  color: var(--primary-color);
  line-height: 1;
  margin-bottom: 4px;
  background: linear-gradient(135deg, var(--primary-color), #2d4a32);
  -webkit-background-clip: text;
  -webkit-text-fill-color: transparent;
  background-clip: text;
}

.counter-label {
  font-size: 0.75rem;
  font-weight: 500;
  color: var(--primary-color);
  opacity: 0.7;
  text-transform: uppercase;
  letter-spacing: 0.5px;
}

/* Responsive styles */
/* Large tablets and small desktops */
@media (max-width: 1199px) {  
  .livestream-player-container {
    width: 250px;
  }
  
  .user-counter {
    padding: 12px 16px;
  }
  
  .counter-number {
    font-size: 1.75rem;
  }
}

/* Medium tablets and large screens */
@media (max-width: 991px) {
  .hero {
    min-height: 380px;
  }

  .hero h2 {
    font-size: 2.2rem;
  }
}

/* Large mobile devices - merged with tablet breakpoint above */

/* Tablets and mobile devices */
@media (max-width: 768px) {
  .hero {
    min-height: 460px;
  }

  .hero-container {
    padding: 1.5rem 1rem;
  }

  .hero h2 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
  
  .hero-buttons {
    flex-direction: column;
    align-items: flex-start;
    gap: 0.5rem;
  }
  
  .livestream-player-container {
    width: 200px;
    bottom: 15px;
    right: 15px;
  }
  
  .user-counter {
    bottom: 25px;
    right: 15px;
    padding: 10px 14px;
  }
  
  .counter-number {
    font-size: 1.5rem;
  }
  
  .counter-label {
    font-size: 0.7rem;
  }
}

/* Medium mobile devices */
@media (max-width: 575px) {
  .hero {
    min-height: 300px;
  }

  .hero h2 {
    font-size: 1.75rem;
  }

  .hero p {
    font-size: 0.8rem;
  }
  
  .livestream-player-container {
    width: 180px;
    bottom: 12px;
    right: 12px;
  }
  
  .user-counter {
    bottom: 12px;
    right: 12px;
    padding: 8px 12px;
  }
  
  .counter-number {
    font-size: 1.3rem;
  }
  
  .counter-label {
    font-size: 0.65rem;
  }
}

/* Small mobile devices */
@media (max-width: 479px) {
  .hero {
    min-height: 280px;
  }

  .hero h2 {
    font-size: 1.5rem;
  }

  .hero p {
    font-size: 0.9rem;
  }
  
  .livestream-player-container {
    width: 160px;
    bottom: 10px;
    right: 10px;
  }
  
  .user-counter {
    bottom: 10px;
    right: 10px;
    padding: 6px 10px;
  }
  
  .counter-number {
    font-size: 1.1rem;
  }
  
  .counter-label {
    font-size: 0.6rem;
  }
}