/* Full-screen Modal */
.takeover-modal {
  position: fixed;
  bottom: -100vh; /* Start off-screen */
  left: 0;
  width: 100vw;
  height: 100vh;
  background: #000;
  z-index: 9999;
  transition: transform 1s cubic-bezier(0.23, 1, 0.32, 1);
}

.takeover-modal.active {
  transform: translateY(-100vh);
}

.modal-content {
  height: 100%;
  max-height: 100%;
}

.modal-close {
  position: fixed;
  top: 20px;
  right: 20px;
  width: 40px;
  height: 40px;
  background: rgba(255, 255, 255, 0.9);
  color: #000;
  border: none;
  border-radius: 50%;
  font-size: 24px;
  font-weight: bold;
  line-height: 40px;
  text-align: center;
  cursor: pointer;
  z-index: 10000; 
  display: flex;
  align-items: center;
  justify-content: center;
  box-shadow: 0 2px 5px rgba(0, 0, 0, 0.2);
}

.modal-close:hover {
  background: rgba(255, 255, 255, 1);
  transform: scale(1.05);
}

.lottie-background {
  height: 100%;
}

lottie-player {
  position: fixed;
  width: auto;
  left: 50%;
  translate: -50% 0;
  aspect-ratio: 3840 / 2160;
  height: calc(-75.71px + 100vh) !important;
}

/* Banner Styles */
.takeover-banner {
  max-width: 1200px;
  position: fixed;
  bottom: 20px;
  left: 0;
  z-index: 9998;
  transition: left 0.25s ease-in-out;
  display: flex;
  align-items: center;
  cursor: pointer;
  min-height: 290px;
  background-color: #ec008c;
  box-shadow: 2px 2px 12px rgba(0, 0, 0, 0.2);
  @media(max-width: 1280px) {
    border-radius: 0 8px 8px 0;
  }
  @media(max-width: 768px) {
    max-width: 95%;
  }
}

.takeover-banner.collapsed {
  left: -1200px;
  @media(max-width: 768px) {
    left: -95%;
  }
}

.takeover-banner.expanded {
  width: 100%;
  left: 0;
}

.banner-chevron {
  position: absolute;
  right: 0;
  color: white;
  font-size: 18px;
  font-weight: bold;
  width: 32px;
  background-color: #ec008c;
  border-radius: 0 8px 8px 0;
  min-height: 290px;
  z-index: 20;
  transition: height 0.50s ease-in-out;
  @media(min-width: 1280px) {
    border-radius: 0 8px 8px 0;
  }
}

.banner-chevron svg {
  position: absolute;
  top: 50%;
  transform: translate3d(-50%, -50%, 0px);
  left: 40%;
}

.takeover-banner.expanded .banner-chevron {
  height: 100%;
  top: 50%;
  transform: translateY(-50%);
  @media(min-width: 1280px) {
    border-radius: 0 8px 8px 0;
    left: 100%;
  }
}

.takeover-banner.collapsed .banner-chevron {
  left: 100%;
  bottom: 0;
  @media(max-width: 768px) {
    height: 100px;
    min-height: auto;
  }
}

.takeover-banner.expanded .banner-chevron svg {
  transform: translateY(-50%) rotate(180deg);
}

.banner-content {
  opacity: 0;
  padding: 20px 40px 20px 15px;
  color: white;
  width: 100%;
  height: 100%;
  transition: opacity 2s ease 0.2s;
  display: flex;
  align-items: center;
  gap: 24px;
  @media(max-width: 768px) {
    display: block;
  }
}

.banner-content img {
  @media (max-width: 768px) {
    width: 100%;
    margin-bottom: 10px;
  }
}

.banner-button-text {
  font-size: 12px;
  font-weight: 900;
  text-transform: uppercase;
  color: #fff;
  border: 1px solid #fff;
  padding: 15px 20px;
  margin-top: 20px;
  display: table;
  &:hover {
    color: #fff;
  }
}

.takeover-banner.expanded .banner-content {
  opacity: 1;
}

.banner-image {
  width: 100%;
  height: 180px;
  object-fit: cover;
  border-radius: 4px;
  margin-bottom: 12px;
}

.banner-text {
  font-size: 14px;
  line-height: 1.4;
  flex-basis: 40%;
}

.banner-title {
  font-weight: 700;
  font-size: 44px;
  line-height: 50px;
  margin-bottom: 8px;
}

.modal-banner-text {
  position: absolute;
  bottom: 0;
  width: 100%;
  padding: 10px 20px;
  background: #EC008C;
  color: #fff;
  text-align: center;
  font-size: 32px;
  font-weight: bold;
  text-transform: uppercase;
  letter-spacing: 1px;
  a {
    color: #fff;
    text-decoration: underline;
    &:hover {
      color: #fff;
    }
  }
}

/* Responsive adjustments */
@media (max-width: 768px) {
  .modal-close {
    top: 10px;
    right: 10px;
    width: 30px;
    height: 30px;
    font-size: 1.2rem;
  }
}
