.abc-weeztix-modal[hidden] {
  display: none !important;
}

.abc-weeztix-modal {
  position: fixed;
  z-index: 2147483000;
  inset: 0;
  display: grid;
  place-items: center;
  padding: clamp(12px, 3vw, 36px);
  color: #fff;
  font-family: "DM Sans", Arial, sans-serif;
}

.abc-weeztix-backdrop {
  position: absolute;
  inset: 0;
  background: rgba(5, 1, 14, 0.82);
  backdrop-filter: blur(12px);
  animation: abcWeeztixFadeIn 180ms ease-out both;
}

.abc-weeztix-dialog {
  position: relative;
  z-index: 1;
  display: flex;
  flex-direction: column;
  width: min(1080px, 100%);
  height: min(900px, calc(100dvh - 48px));
  min-height: min(500px, calc(100dvh - 24px));
  overflow: hidden;
  border: 1px solid rgba(207, 145, 255, 0.42);
  border-radius: 22px;
  background:
    radial-gradient(ellipse at 15% 0%, rgba(142, 0, 255, 0.23), transparent 45%),
    linear-gradient(145deg, #180b25 0%, #0c0614 80%);
  box-shadow:
    0 32px 110px rgba(0, 0, 0, 0.72),
    0 0 48px rgba(154, 0, 255, 0.2),
    inset 0 1px rgba(255, 255, 255, 0.08);
  animation: abcWeeztixDialogIn 220ms cubic-bezier(0.2, 0.8, 0.2, 1) both;
}

.abc-weeztix-header {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 18px;
  flex: 0 0 auto;
  padding: 18px 24px 15px;
  border-bottom: 1px solid rgba(211, 174, 255, 0.16);
}

.abc-weeztix-brand,
.abc-weeztix-voluum {
  display: flex;
  align-items: center;
}

.abc-weeztix-brand {
  gap: 11px;
  min-width: 0;
}

.abc-weeztix-brand img {
  display: block;
  width: 38px;
  height: 38px;
  object-fit: contain;
}

.abc-weeztix-brand-copy {
  display: grid;
  gap: 3px;
}

.abc-weeztix-brand-copy strong {
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: 19px;
  font-weight: 500;
  letter-spacing: 0.12em;
  line-height: 1;
}

.abc-weeztix-brand-copy span,
.abc-weeztix-voluum span {
  color: #bca5d0;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.14em;
  line-height: 1.3;
  text-transform: uppercase;
}

.abc-weeztix-header-right {
  display: flex;
  align-items: center;
  gap: clamp(12px, 2vw, 24px);
}

.abc-weeztix-voluum {
  flex-direction: column;
  align-items: flex-start;
  gap: 4px;
}

.abc-weeztix-voluum img {
  display: block;
  width: clamp(90px, 10vw, 132px);
  height: 34px;
  object-fit: contain;
  object-position: left center;
}

.abc-weeztix-close {
  display: grid;
  place-items: center;
  flex: 0 0 40px;
  width: 40px;
  height: 40px;
  padding: 0;
  border: 1px solid rgba(211, 174, 255, 0.28);
  border-radius: 50%;
  background: rgba(255, 255, 255, 0.06);
  color: #fff;
  font: 400 25px/1 "DM Sans", Arial, sans-serif;
  cursor: pointer;
  transition: border-color 180ms ease, background 180ms ease, transform 180ms ease;
}

.abc-weeztix-close:hover {
  transform: rotate(90deg);
  border-color: rgba(255, 87, 184, 0.8);
  background: rgba(197, 0, 255, 0.2);
}

.abc-weeztix-intro {
  display: flex;
  align-items: end;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  padding: 17px 24px 15px;
}

.abc-weeztix-intro h2 {
  margin: 0;
  color: #fff;
  font-family: "Bebas Neue", "Arial Narrow", sans-serif;
  font-size: clamp(27px, 4vw, 40px);
  font-weight: 500;
  letter-spacing: 0.075em;
  line-height: 0.95;
  text-transform: uppercase;
}

.abc-weeztix-intro p {
  margin: 7px 0 0;
  color: #c8b6d6;
  font-size: 12px;
  line-height: 1.45;
}

.abc-weeztix-kicker {
  flex: 0 0 auto;
  padding: 8px 11px;
  border: 1px solid rgba(195, 117, 255, 0.35);
  border-radius: 999px;
  background: rgba(153, 0, 255, 0.12);
  color: #d7a8ff;
  font-size: 9px;
  font-weight: 700;
  letter-spacing: 0.12em;
  text-transform: uppercase;
}

.abc-weeztix-frame-wrap {
  position: relative;
  flex: 1 1 auto;
  min-height: 0;
  margin: 0 16px;
  overflow: hidden;
  border: 1px solid rgba(255, 255, 255, 0.11);
  border-radius: 13px;
  background: #fff;
}

.abc-weeztix-frame {
  display: block;
  width: 100%;
  height: 100%;
  min-height: 280px;
  border: 0;
  background: #fff;
}

.abc-weeztix-loading {
  position: absolute;
  z-index: 1;
  inset: 0;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 14px;
  padding: 24px;
  background: rgba(255, 255, 255, 0.97);
  color: #402a53;
  text-align: center;
  transition: opacity 180ms ease, visibility 180ms ease;
}

.abc-weeztix-loading[data-loaded="true"] {
  visibility: hidden;
  opacity: 0;
  pointer-events: none;
}

.abc-weeztix-spinner {
  width: 34px;
  height: 34px;
  border: 3px solid rgba(139, 61, 194, 0.2);
  border-top-color: #b300e8;
  border-radius: 50%;
  animation: abcWeeztixSpin 800ms linear infinite;
}

.abc-weeztix-loading strong {
  font-size: 14px;
}

.abc-weeztix-loading span {
  color: #766580;
  font-size: 12px;
}

.abc-weeztix-footer {
  display: flex;
  align-items: center;
  justify-content: space-between;
  gap: 16px;
  flex: 0 0 auto;
  padding: 13px 24px 16px;
  color: #9b87ab;
  font-size: 10px;
  letter-spacing: 0.09em;
  text-transform: uppercase;
}

.abc-weeztix-direct-link {
  color: #ddb2ff;
  font-size: 11px;
  font-weight: 700;
  letter-spacing: 0;
  text-decoration: none;
  text-transform: none;
}

.abc-weeztix-direct-link:hover {
  color: #fff;
  text-decoration: underline;
  text-underline-offset: 3px;
}

.abc-weeztix-modal :focus-visible {
  outline: 2px solid #ff70c1;
  outline-offset: 3px;
}

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

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

@keyframes abcWeeztixSpin {
  to { transform: rotate(360deg); }
}

@media (max-width: 640px) {
  .abc-weeztix-modal {
    padding: 8px;
  }

  .abc-weeztix-dialog {
    width: 100%;
    height: calc(100dvh - 16px);
    min-height: 0;
    border-radius: 16px;
  }

  .abc-weeztix-header {
    gap: 8px;
    padding: 12px 13px 10px;
  }

  .abc-weeztix-brand {
    gap: 7px;
  }

  .abc-weeztix-brand img {
    width: 31px;
    height: 31px;
  }

  .abc-weeztix-brand-copy strong {
    font-size: 15px;
  }

  .abc-weeztix-brand-copy span,
  .abc-weeztix-voluum span {
    font-size: 7px;
  }

  .abc-weeztix-header-right {
    gap: 9px;
  }

  .abc-weeztix-voluum img {
    width: 76px;
    height: 26px;
  }

  .abc-weeztix-close {
    flex-basis: 34px;
    width: 34px;
    height: 34px;
    font-size: 22px;
  }

  .abc-weeztix-intro {
    align-items: flex-start;
    padding: 14px 14px 12px;
  }

  .abc-weeztix-intro h2 {
    font-size: clamp(25px, 8vw, 34px);
  }

  .abc-weeztix-intro p {
    max-width: 230px;
    font-size: 11px;
  }

  .abc-weeztix-kicker {
    padding: 7px 8px;
    font-size: 7px;
  }

  .abc-weeztix-frame-wrap {
    margin: 0 8px;
    border-radius: 10px;
  }

  .abc-weeztix-frame {
    min-height: 240px;
  }

  .abc-weeztix-footer {
    align-items: flex-start;
    padding: 11px 13px 13px;
    font-size: 8px;
  }

  .abc-weeztix-direct-link {
    font-size: 10px;
    text-align: right;
  }
}

@media (prefers-reduced-motion: reduce) {
  .abc-weeztix-modal *,
  .abc-weeztix-modal *::before,
  .abc-weeztix-modal *::after {
    animation-duration: 0.01ms !important;
    animation-iteration-count: 1 !important;
    transition-duration: 0.01ms !important;
  }
}
