/* Modal Background */
.modal {
  position: fixed;
  inset: 0;
  display: flex;
  justify-content: center;
  align-items: center;
  background: rgba(0, 0, 0, 0.7);
  backdrop-filter: blur(8px);
  opacity: 0;
  visibility: hidden;
  transition: opacity 0.4s ease, visibility 0.4s ease;
  z-index: 9999;
}

/* Active Modal */
.modal.active {
  opacity: 1;
  visibility: visible;
}

/* Modal Content Animation */
.modal-content {
  position: relative;
  width: 85%;
  max-width: 900px;
  transform: scale(0.7);
  opacity: 0;
  transition: transform 0.4s ease, opacity 0.4s ease;
}

/* Animate In */
.modal.active .modal-content {
  transform: scale(1);
  opacity: 1;
}

/* Video Styling */
video {
  width: 100%;
  border-radius: 12px;
  box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
}

/* Close Button */
.close-btn {
  position: absolute;
  top: -35px;
  right: 0;
  font-size: 30px;
  cursor: pointer;
  color: white;
  transition: 0.3s ease;
}

.close-btn:hover {
  color: #ff4d4d;
}





/* TICKER */
.ticker{
background:#ff007e;
color:white;
padding:10px;
overflow:hidden;
white-space:nowrap;
}
.ticker-text{
display:inline-block;
animation:scroll 15s linear infinite;
}
@keyframes scroll{
0%{transform:translateX(100%)}
100%{transform:translateX(-100%)}
}


/* TICKER 2 */
.ticker2 {
    background: #f0ff00;
    color: black;
    padding: 10px;
    overflow: hidden;
    white-space: nowrap;
}

.ticker2-text {
    display:inline-block;
animation:scroll 105s linear infinite;
}
}

/* Stop animation on hover */
.ticker2:hover .ticker2-text {
    animation-play-state: paused;
}

@keyframes scroll{
0%{transform:translateX(100%)}
100%{transform:translateX(-100%)}
}