:root {
  --cta-widget-right: 20px;
  --color-cta-button-bg: rgba(85, 171, 255, 1);
  --color-cta-button: rgba(255, 255, 255, 1);
}

.cta-video-widget-container {
  position: fixed;
  bottom: 150px;
  right: var(--cta-widget-right);
  z-index: 1040;
  font-family: Arial, sans-serif;
}

.cta-widget-bubble {
    width: 180px;
    aspect-ratio: 1.4;
    border-radius: 18px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    cursor: pointer;
    border: 3px solid #fff;
    transition: transform 0.3s ease;
}
.cta-widget-bubble:hover {
  transform: scale(1.08);
}
.bubble-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
  display: block;
}

.cta-widget-modal {
  display: none;
  position: absolute;
  bottom: 95px;
  right: 0;
  width: 548px;
  background: #fff;
  border-radius: 12px;
  overflow: hidden;
  box-shadow: 0 10px 30px rgba(0,0,0,0.3);
  animation: slideUp 0.4s ease-out;
}
.cta-video-container {
  width: 100%;
  height: 380px;
  background: #000;
}
.main-video {
  width: 100%;
  height: 100%;
  object-fit: cover;
}

.close-btn {
  position: absolute;
  top: 10px;
  right: 10px;
  background: rgba(0,0,0,0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
}

.widget-cta-area {
  text-align: center;
  background: #fff;
}
.cta-button {
    display: block;
    padding: 5px;
    box-sizing: content-box;
    border-radius: 20px;
    text-decoration: none;
    font-weight: bold;
    font-size: 14px;
    background-color: var(--color-cta-button-bg);
    color: var(--color-cta-button);
    box-shadow: rgb(85, 171, 255) 0px 14px 21px 0px;
    position: absolute;
    left: 50%;
    translate: -50%;
    bottom: 38px;
    width: 213px;
    height: 46px;
    line-height: 46px;
    border-color: transparent;
    text-align: center;
    text-transform: none !important;
    cursor: pointer;
    -webkit-transition: box-shadow 0.3s ease-out;
    transition: box-shadow 0.3s ease-out;
}
.cta-button:hover {
    box-shadow: 0 10px 15px 0 rgba(85, 171, 255, 0.50);
    text-decoration: none;
    color: var(--color-cta-button);
}

.cta-widget-bubble {
  position: relative;
  width: 180px;
  aspect-ratio: 1.4;
  border-radius: 18px;
  overflow: hidden;
  box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
  cursor: pointer;
  border: 3px solid #fff;
  transition: transform 0.3s ease;
}

.close-bubble-btn {
  position: absolute;
  top: 8px;
  right: 8px;
  background: rgba(0, 0, 0, 0.5);
  color: #fff;
  border: none;
  border-radius: 50%;
  width: 25px;
  height: 25px;
  font-size: 16px;
  cursor: pointer;
  z-index: 10;
  display: flex;
  align-items: center;
  justify-content: center;
  line-height: 1;
  transition: background 0.2s;
}

.close-bubble-btn:hover {
  background: rgba(0, 0, 0, 0.8);
}

@keyframes slideUp {
  from { opacity: 0; transform: translateY(20px); }
  to { opacity: 1; transform: translateY(0); }
}
@media (max-width: 768px) {
  :root {
    --cta-widget-right: 5px;
  }

  .cta-widget-modal {
      width: calc(100vw - 2 * var(--cta-widget-right));
  }
}