#event-banner {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(135deg, #a88b44, #d6b35e);
    color: #fff;
    border-bottom: 1px solid rgba(255,255,255,0.15);
    /* color: #fff; */
    padding: 8px 20px;
    z-index: 10000;
    font-family: 'Poppins', sans-serif;
    box-shadow: 0 2px 8px rgba(0,0,0,0.2);
    display: flex;
    justify-content: center; 
    align-items: center;
}

.event-content {
    display: flex;
    align-items: center; 
    gap: 20px;  
    position: relative;
}

.event-title {
    font-size: 1.3rem;
    font-weight: 600;
}

#countdown-wrapper {
    display: flex;
    gap: 10px;
}

.countdown-box {
    background: rgba(255,255,255,0.2);
    padding: 10px 12px;
    border-radius: 8px;
    text-align: center;
    min-width: 60px;
    transition: transform 0.2s;
}

.countdown-box:hover {
    transform: scale(1.1);
}

.countdown-box span {
    display: block;
    font-size: 1.3rem;
    font-weight: 700;
}

.countdown-box small {
    display: block;
    font-size: 0.7rem;
    text-transform: uppercase;
    opacity: 0.8;
}

#close-banner {
    position: absolute;
    top: 5px;
    right: 10px;
    background: transparent;
    border: none;
    color: #fff;
    font-size: 1.2rem;
    cursor: pointer;
}

.elementor-location-header {
    position: sticky;
    top: 85px; 
    z-index: 9998;
}

@media screen and (max-width: 768px) {

  .elementor-location-header{
    top: 85px; 
  }

}


.event-join-btn {
    background: linear-gradient(135deg, #1a1a1a, #000);
    color: #d1ae5b !important;

    padding: 10px 16px;
    border-radius: 10px;

    font-family: 'Inter', 'Poppins', sans-serif;
    font-weight: 600;
    font-size: 14px;

    margin-left: 20px;

    border: 1px solid rgba(214, 179, 94, 0.35);
    cursor: pointer;

    transition: all 0.25s ease;

    box-shadow: 0 6px 14px rgba(0,0,0,0.25);
}

.event-join-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 22px rgba(212, 175, 55, 0.25),
                0 8px 20px rgba(0,0,0,0.35);
    border-color: rgba(212, 175, 55, 0.5);
}

.event-join-btn:active {
    transform: scale(0.97);
}

.event-join-btn.is-live {
    background: linear-gradient(135deg, #dc2626, #b91c1c);
    color: #fff !important;
    border: none;
    box-shadow: 0 6px 16px rgba(220, 38, 38, 0.4);
    padding: 8px 14px !important;
    font-size: 0.8em !important;
    margin-top: 0 !important;
  
}

.event-join-btn.is-live:hover {
    background: linear-gradient(135deg, #ef4444, #dc2626);
}


.event-join-btn.is-live::before {
    content: '';
    display: inline-block;
    width: 8px;
    height: 8px;
    background: #ff0000;
    border-radius: 50%;
    margin-right: 6px;
    animation: pulse 1.2s infinite;
}

@keyframes pulse {
    0% { transform: scale(1); opacity: 1; }
    70% { transform: scale(1.6); opacity: 0; }
    100% { transform: scale(1); opacity: 0; }
}

@media screen and (max-width: 768px) {

  .event-join-btn{
      padding: 5px 7px;
      font-size: 0.7em;
      margin-top: 35px;
  }

}

@media screen and (max-width: 768px) {
    #event-banner {
        padding: 10px 15px;
    }

    .event-content {
        gap: 12px;
        flex-direction: column; 
    }

    .event-title {
        font-size: 0.9rem; 
        text-align: center;
    }

    #countdown-wrapper {
        gap: 6px; 
    }

    .countdown-box {
        padding: 3px 5px;
        min-width: 40px;
    }

    .countdown-box span {
        font-size: 0.8rem; 
    }

    .countdown-box small {
        font-size: 0.55rem;
    }

    #close-banner {
        top: 1px;
        right: 8px;
        font-size: 1.2rem;
    }
}




.pip {
  position: fixed;
  bottom: 40px;
  right: 20px;
  width: 220px;
  height: 290px;
  background: black;
  border-radius: 12px;
  overflow: hidden;
  z-index: 9999;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  cursor: move;
  transition: all 0.25s ease;
}

.pip:hover {
  transform: translateY(-6px) scale(1.03);
  box-shadow: 0 20px 50px rgba(0,0,0,0.5);
}


.pip video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  transition: transform 0.3s ease;
}

.pip:hover video {
  transform: scale(1.05);
}

.pip-header {
  position: absolute;
  top: 8px;
  left: 8px;
  right: 8px;
  display: flex;
  justify-content: space-between;
  align-items: center;
  z-index: 2;
  opacity: 1;
  transition: opacity 0.2s ease;
}

.live-badge {
  background: red;
  color: white;
  font-size: 12px;
  font-weight: bold;
  padding: 4px 8px;
  border-radius: 6px;
  display: flex;
  align-items: center;
}

.live-badge::before {
  content: '';
  display: inline-block;
  width: 6px;
  height: 6px;
  background: white;
  border-radius: 50%;
  margin-right: 6px;
  animation: pulse 1s infinite;
}

@keyframes pulse {
  0% { opacity: 1; }
  50% { opacity: 0.3; }
  100% { opacity: 1; }
}


#closePip {
  /* background: rgba(0,0,0,0.6); */
  border: none;
  color: white;
  font-size: 14px;
  /* width: 24px; */
  /* height: 24px; */
  border-radius: 50%;
  cursor: pointer;
  transition: background 0.2s ease, transform 0.2s ease;
}

#closePip:hover {
  background: rgba(0,0,0,0.9);
  transform: scale(1.1);
}

.pip.expanded {
  width: 480px;
  height: 270px;
  bottom: 40px;
  right: 40px;
  border-radius: 16px;
  box-shadow: 0 25px 60px rgba(0,0,0,0.6);
}

.join-live {
  position: absolute;
  bottom: 14px;
  left: 50%;
  transform: translateX(-50%);
  background: #ff2d2d;
  color: white;
  font-weight: bold;
  padding: 10px 18px;
  border-radius: 999px;
  font-size: 14px;
  cursor: pointer;
  z-index: 3;
  box-shadow: 0 8px 20px rgba(255, 45, 45, 0.4);
  transition: all 0.25s ease;
}


.join-live:hover {
  background: #ff0000;
  transform: translateX(-50%) scale(1.05);
}

.join-live {
  animation: glow 1.5s infinite;
}

@keyframes glow {
  0% { box-shadow: 0 0 0 rgba(255,45,45,0.4); }
  50% { box-shadow: 0 0 20px rgba(255,45,45,0.7); }
  100% { box-shadow: 0 0 0 rgba(255,45,45,0.4); }
}


.sale-overlay {
  position: absolute;
  bottom: 0;
  left: 0;
  width: 100%;
  height: 50px;

  background: linear-gradient(
    to top,
    rgba(0, 0, 0, 0.8) 0%,
    rgba(0, 0, 0, 0.4) 50%,
    transparent 100%
  );

  display: flex;
  align-items: center;
  justify-content: center;

  z-index: 50;
}

.sale-overlay {
  pointer-events: auto;
}

.join-sale {
  background: none;
  border: none !important;
  color: #ffffff;
  font-size: 12px;
  font-weight: 500;
  padding: 6px 16px;
  border-radius: 8px;
  text-transform: uppercase;
  cursor: pointer;
  transition: all 0.2s ease;
  pointer-events: auto;
  text-decoration: none;
  backdrop-filter: blur(10px);
  -webkit-backdrop-filter: blur(10px);
  max-width: 95%;
  white-space: nowrap;
  text-overflow: clip;
  overflow: hidden;
  color: rgb(255, 255, 255) !important;
  background-color: rgba(255, 255, 255, 0) !important;
  border-radius: 20px !important;
  opacity: 0;


}
.pip:hover .join-sale{
  background: rgba(255, 45, 45, 0.9);
  transform: scale(1.05);
  opacity: 1;
}


@media screen and (max-width: 768px) {
    .pip{
        width: 150px;
        height: 290px;
    }
  
}