:root {
  --ttvdo-navy: #00101f;
  --ttvdo-blue: #064a78;
  --ttvdo-cyan: #12c8f4;
  --ttvdo-text: #ffffff;
  --ttvdo-muted: #c8d9e9;
  --ttvdo-line: rgba(141, 210, 255, 0.42);
}

html.ttvdo-lock,
body.ttvdo-lock {
  overflow: hidden !important;
}

.ttvdo-overlay[hidden],
.ttvdo-modal[hidden] {
  display: none !important;
}

.ttvdo-overlay {
  position: fixed;
  inset: 0;
  z-index: 999999;
  display: flex;
  align-items: center;
  justify-content: center;
  padding: 28px;
  color: var(--ttvdo-text);
  font-family: Inter, Arial, sans-serif;
}

.ttvdo-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(0, 10, 20, 0.78);
  backdrop-filter: blur(8px);
  -webkit-backdrop-filter: blur(8px);
  cursor: default;
}

.ttvdo-modal {
  position: relative;
  width: min(1100px, 94vw);
  max-height: min(820px, 92vh);
  overflow: auto;
  border: 1px solid var(--ttvdo-line);
  border-radius: 22px;
  background:
    radial-gradient(circle at 74% 45%, rgba(0, 145, 230, 0.31), transparent 35%),
    linear-gradient(135deg, #00111f 0%, #022542 52%, #00101e 100%);
  box-shadow: 0 26px 90px rgba(0, 0, 0, 0.68), 0 0 0 1px rgba(255, 255, 255, 0.04) inset;
  scrollbar-width: thin;
  scrollbar-color: rgba(18, 200, 244, 0.5) transparent;
}

.ttvdo-modal::before {
  content: "";
  position: absolute;
  inset: 0;
  border-radius: 22px;
  pointer-events: none;
  background:
    linear-gradient(90deg, transparent 0, rgba(19, 200, 244, 0.05) 58%, transparent 100%),
    radial-gradient(circle at 83% 16%, rgba(19, 200, 244, 0.18), transparent 20%);
}

.ttvdo-modal::after {
  content: "";
  position: absolute;
  right: 0;
  top: 0;
  width: 44%;
  height: 62%;
  opacity: 0.24;
  pointer-events: none;
  background-image:
    linear-gradient(90deg, rgba(19, 200, 244, 0.12) 1px, transparent 1px),
    linear-gradient(0deg, rgba(19, 200, 244, 0.08) 1px, transparent 1px);
  background-size: 34px 34px;
  -webkit-mask-image: radial-gradient(circle, #000 12%, transparent 72%);
  mask-image: radial-gradient(circle, #000 12%, transparent 72%);
}

.ttvdo-close {
  position: absolute;
  top: 18px;
  right: 18px;
  z-index: 10;
  display: grid;
  place-items: center;
  width: 44px;
  height: 44px;
  margin: 0;
  padding: 0;
  border: 1px solid rgba(168, 220, 255, 0.34);
  border-radius: 50%;
  background: rgba(0, 17, 33, 0.78);
  color: #ffffff;
  box-shadow: 0 8px 22px rgba(0, 0, 0, 0.22), inset 0 0 0 1px rgba(255, 255, 255, 0.025);
  cursor: pointer;
  transition: transform 0.18s ease, border-color 0.18s ease, color 0.18s ease, background 0.18s ease;
  -webkit-appearance: none;
  appearance: none;
}

.ttvdo-close svg {
  width: 20px;
  height: 20px;
  fill: none;
  stroke: currentColor;
  stroke-width: 2.4;
  stroke-linecap: round;
}

.ttvdo-close:hover,
.ttvdo-close:focus-visible {
  color: var(--ttvdo-cyan);
  border-color: rgba(18, 200, 244, 0.9);
  background: rgba(3, 48, 75, 0.92);
  transform: rotate(4deg) scale(1.04);
  outline: none;
}

.ttvdo-logo-wrap {
  position: relative;
  z-index: 2;
  padding: 30px 44px 0;
}

.ttvdo-logo {
  display: block;
  width: 132px;
  height: auto;
  border-radius: 3px;
}

.ttvdo-grid {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: minmax(0, 1fr) minmax(360px, 0.94fr);
  gap: 30px;
  align-items: center;
  padding: 28px 44px 18px;
}

.ttvdo-grid-starter {
  grid-template-columns: minmax(0, 1fr) minmax(400px, 0.98fr);
}

.ttvdo-eyebrow {
  margin: 0 0 8px;
  color: #75dcff;
  font-size: 12px;
  font-weight: 800;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.ttvdo-copy h2 {
  margin: 0 0 12px;
  color: #ffffff;
  font-size: clamp(42px, 5vw, 68px);
  font-weight: 900;
  letter-spacing: -0.055em;
  line-height: 0.98;
}

.ttvdo-copy h2 span {
  color: #16aef4;
}

.ttvdo-subtitle {
  max-width: 610px;
  margin: 0 0 18px;
  color: #e8f4ff;
  font-size: clamp(18px, 2vw, 24px);
  line-height: 1.25;
}

.ttvdo-badge {
  display: inline-flex;
  align-items: center;
  gap: 11px;
  margin: 0 0 16px;
  padding: 11px 17px;
  border: 1px solid rgba(19, 200, 244, 0.46);
  border-radius: 12px;
  background: linear-gradient(180deg, rgba(14, 179, 234, 0.17), rgba(6, 73, 112, 0.2));
  color: #17d8ff;
  font-size: 22px;
  font-weight: 900;
  box-shadow: inset 0 0 24px rgba(18, 200, 244, 0.04);
}

.ttvdo-badge-icon {
  display: grid;
  place-items: center;
  width: 29px;
  height: 29px;
  color: var(--ttvdo-cyan);
}

.ttvdo-badge-icon svg,
.ttvdo-icon svg {
  width: 100%;
  height: 100%;
  fill: none;
  stroke: currentColor;
  stroke-width: 1.8;
  stroke-linecap: round;
  stroke-linejoin: round;
}

.ttvdo-text {
  max-width: 560px;
  margin: 0 0 16px;
  color: #f1f8ff;
  font-size: 16px;
  line-height: 1.55;
}

.ttvdo-checks {
  display: grid;
  gap: 9px;
  margin: 0 0 22px;
  padding: 0;
  list-style: none;
}

.ttvdo-checks li {
  position: relative;
  padding-left: 32px;
  color: #ffffff;
  font-size: 16px;
  line-height: 1.35;
}

.ttvdo-checks li::before {
  content: "✓";
  position: absolute;
  top: -1px;
  left: 0;
  display: grid;
  place-items: center;
  width: 20px;
  height: 20px;
  border-radius: 50%;
  background: #12bff0;
  color: #001320;
  font-size: 14px;
  font-weight: 900;
}

.ttvdo-actions {
  display: flex;
  flex-wrap: wrap;
  gap: 14px;
}

.ttvdo-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  gap: 18px;
  min-width: 166px;
  padding: 15px 26px;
  border-radius: 9px;
  font-size: 17px;
  font-weight: 900;
  text-decoration: none !important;
  transition: transform 0.18s ease, box-shadow 0.18s ease, border-color 0.18s ease;
}

.ttvdo-btn-primary {
  background: linear-gradient(180deg, #1ddbff, #0398dd);
  color: #001320 !important;
  box-shadow: 0 8px 26px rgba(0, 183, 235, 0.28);
}

.ttvdo-btn-outline {
  border: 1px solid rgba(90, 189, 255, 0.54);
  background: rgba(0, 12, 27, 0.42);
  color: #ffffff !important;
}

.ttvdo-btn:hover,
.ttvdo-btn:focus-visible {
  transform: translateY(-2px);
  outline: none;
}

.ttvdo-btn-primary:hover,
.ttvdo-btn-primary:focus-visible {
  box-shadow: 0 12px 30px rgba(0, 183, 235, 0.42);
}

.ttvdo-btn-outline:hover,
.ttvdo-btn-outline:focus-visible {
  border-color: var(--ttvdo-cyan);
}

.ttvdo-visual {
  position: relative;
  display: flex;
  align-items: center;
  justify-content: center;
  min-height: 360px;
}

.ttvdo-glow {
  position: absolute;
  width: 92%;
  height: 60%;
  border-radius: 50%;
  background: radial-gradient(circle, rgba(0, 183, 255, 0.5), transparent 67%);
  filter: blur(18px);
  opacity: 0.92;
}

.ttvdo-visual img {
  position: relative;
  z-index: 2;
  display: block;
  max-width: 100%;
  height: auto;
  filter: drop-shadow(0 24px 32px rgba(0, 0, 0, 0.52));
}

.ttvdo-visual-link img {
  width: min(520px, 104%);
  transform: rotate(-7deg) translateY(2px);
}

.ttvdo-visual-starter {
  min-height: 390px;
}

.ttvdo-visual-starter img {
  width: min(520px, 108%);
  max-height: 430px;
  object-fit: contain;
  transform: translateY(6px) scale(1.05);
  filter: drop-shadow(0 28px 34px rgba(0, 0, 0, 0.5));
}

.ttvdo-benefits {
  position: relative;
  z-index: 2;
  display: grid;
  grid-template-columns: repeat(3, 1fr);
  gap: 16px;
  margin-top: 2px;
  padding: 20px 42px 24px;
  border-top: 1px solid rgba(168, 220, 255, 0.2);
}

.ttvdo-benefits > div {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 12px;
  border-right: 1px solid rgba(255, 255, 255, 0.18);
  color: #f1f8ff;
  font-size: 16px;
  font-weight: 700;
}

.ttvdo-benefits > div:last-child {
  border-right: 0;
}

.ttvdo-icon {
  display: inline-grid;
  place-items: center;
  width: 27px;
  height: 27px;
  color: #13d9ff;
  flex: 0 0 27px;
}

.ttvdo-actions-single .ttvdo-btn {
  min-width: 240px;
}

.ttvdo-modal.ttvdo-show {
  animation: ttvdoIn 0.35s ease both;
}

.ttvdo-overlay.ttvdo-show .ttvdo-backdrop {
  animation: ttvdoFade 0.25s ease both;
}

@keyframes ttvdoIn {
  from {
    opacity: 0;
    transform: translateY(18px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes ttvdoFade {
  from { opacity: 0; }
  to { opacity: 1; }
}

@media (max-width: 860px) {
  .ttvdo-overlay {
    align-items: flex-start;
    overflow: auto;
    padding: 10px;
  }

  .ttvdo-modal {
    width: 100%;
    max-height: none;
    border-radius: 18px;
  }

  .ttvdo-logo-wrap {
    padding: 22px 22px 0;
  }

  .ttvdo-logo {
    width: 116px;
  }

  .ttvdo-grid,
  .ttvdo-grid-starter {
    grid-template-columns: 1fr;
    gap: 10px;
    padding: 22px;
  }

  .ttvdo-copy h2 {
    padding-right: 42px;
    font-size: 42px;
  }

  .ttvdo-subtitle {
    font-size: 18px;
  }

  .ttvdo-badge {
    font-size: 18px;
  }

  .ttvdo-visual,
  .ttvdo-visual-starter {
    min-height: 220px;
  }

  .ttvdo-visual-link img {
    width: min(430px, 84%);
  }

  .ttvdo-visual-starter img {
    width: min(500px, 94%);
    max-height: 290px;
    transform: none;
  }

  .ttvdo-benefits {
    grid-template-columns: 1fr;
    padding: 16px 22px;
  }

  .ttvdo-benefits > div {
    justify-content: flex-start;
    padding: 4px 0 12px;
    border-right: 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.12);
  }

  .ttvdo-benefits > div:last-child {
    border-bottom: 0;
  }

  .ttvdo-close {
    top: 12px;
    right: 12px;
    width: 42px;
    height: 42px;
  }

  .ttvdo-btn {
    width: 100%;
  }
}

@media (prefers-reduced-motion: reduce) {
  .ttvdo-modal.ttvdo-show,
  .ttvdo-overlay.ttvdo-show .ttvdo-backdrop {
    animation: none;
  }

  .ttvdo-close,
  .ttvdo-btn {
    transition: none;
  }
}
