dialog {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%) scale(0.96);
  margin: 0;
  border: none;
  border-radius: 24px;
  background: var(--theme-surface);
  color: var(--theme-text);
  max-width: 720px;
  width: 90%;
  padding: 0;
  box-shadow: var(--theme-shadow);
  opacity: 0;
  transition: opacity 0.3s ease, transform 0.3s ease;
  z-index: var(--z-modal);
  max-height: 90vh;
  overflow-y: auto;
  overflow-x: hidden;
  border: none;
}

dialog[open] {
  opacity: 1;
  transform: translate(-50%, -50%) scale(1);
}

dialog::backdrop {
  background: rgba(0, 0, 0, 0.55);
  backdrop-filter: blur(14px);
  -webkit-backdrop-filter: blur(14px);
}

@keyframes site-popup-overlay-in {
  from {
    opacity: 0;
  }
  to {
    opacity: 1;
  }
}

@keyframes site-popup-content-in {
  from {
    opacity: 0;
    transform: translateY(10px) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translateY(0) scale(1);
  }
}

@keyframes site-dialog-content-in {
  from {
    opacity: 0;
    transform: translate(-50%, -47%) scale(0.985);
  }
  to {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
  }
}

@keyframes site-cookie-in {
  from {
    opacity: 0;
    transform: translate(-50%, 12px);
  }
  to {
    opacity: 1;
    transform: translate(-50%, 0);
  }
}

.dialog__content {
  position: relative;
  padding: 32px;
}

.dialog__close {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 44px;
  height: 44px;
  font-size: 28px;
  background: none;
  border: none;
  color: var(--theme-text);
  cursor: pointer;
  opacity: 0.6;
  transition: opacity 0.2s;
}

.dialog__close:hover {
  opacity: 1;
}

.pop-up-remodal {
  background:
    radial-gradient(circle at top left, color-mix(in srgb, var(--theme-main) 20%, transparent), transparent 34%),
    radial-gradient(circle at bottom right, color-mix(in srgb, var(--theme-accent) 18%, transparent), transparent 28%),
    linear-gradient(180deg, var(--theme-surface-2), var(--theme-surface));
  color: var(--theme-text);
  flex-flow: column;
  justify-content: center;
  align-items: center;
  max-width: 720px;
  width: 100%;
  min-height: 460px;
  padding: 92px 36px 36px;
  display: flex;
  position: relative;
  border-radius: 24px;
  overflow: hidden;
}

.pop-up-remodal::before {
  content: "";
  position: absolute;
  inset: 0 0 auto 0;
  height: 4px;
  background: linear-gradient(90deg, var(--theme-main), var(--theme-accent));
}

.title-modal {
  max-width: 540px;
  font-family: var(--font-family);
  color: var(--theme-text);
  text-align: center;
  letter-spacing: 0.02em;
  text-transform: none;
  margin-top: 0;
  margin-left: 0;
  margin-bottom: 28px;
  font-size: clamp(28px, 4vw, 48px);
  font-weight: var(--fw-semibold);
  line-height: 1.04;
}

.title-modal__lead,
.title-modal__accent,
.title-modal__mark {
  display: inline;
}

.title-modal__accent {
  color: var(--theme-main);
  text-shadow: 0 8px 24px color-mix(in srgb, var(--theme-main) 24%, transparent);
}

.title-modal__accent[hidden] {
  display: none;
}

.title-modal__lead + .title-modal__accent {
  margin-left: 0.18em;
}

.title-modal__mark {
  color: var(--theme-main);
}

.title-modal__accent,
.title-modal__mark {
  font-weight: var(--fw-semibold);
}

.form-wrapper {
  flex-flow: column;
  width: 100%;
  max-width: 460px;
  display: flex;
  overflow: hidden;
}

.field {
  transform-origin: 0 100%;
  color: var(--theme-text);
  letter-spacing: 0.02em;
  border: 1px solid var(--theme-control-border);
  background: var(--theme-control-bg);
  border-radius: 16px;
  width: 100%;
  height: 64px;
  margin-top: 16px;
  margin-bottom: 0;
  font-size: 16px;
  transition: all 0.25s ease;
  font-family: var(--font-family);
  padding: 0 18px;
}

.field:focus {
  border-color: var(--theme-main);
  outline: none;
  box-shadow: 0 0 0 4px color-mix(in srgb, var(--theme-main) 20%, transparent);
}

.field.mask-phone {
  text-align: center;
  height: 64px;
  font-size: 18px;
}

.checkbox-politic-2 {
  opacity: 0.95;
  margin-top: 14px;
  display: flex;
  align-items: flex-start;
}

.checkbox-2 {
  cursor: pointer;
  flex: none;
  width: 18px;
  height: 18px;
  margin-top: 0;
  transition: background-color var(--transition-duration) var(--transition-ease);
}

.checkbox-2.w--redirected-checked {
  cursor: pointer;
  background-color: var(--theme-main);
  background-size: 10px 10px;
  border-color: var(--theme-main);
  flex: none;
  width: 16px;
  height: 16px;
  margin-top: 0;
}

.field-label-2 {
  color: var(--theme-text);
  text-align: left;
  margin-left: 9px;
  font-size: 12px;
  line-height: 1.45;
  font-family: var(--font-family);
}

.link-6 {
  color: var(--theme-main);
  text-decoration: underline;
}

.popup18 {
  z-index: var(--z-modal-overlay);
  -webkit-backdrop-filter: blur(10px);
  backdrop-filter: blur(10px);
  background-color: rgba(10, 10, 10, 0.72);
  justify-content: center;
  align-items: center;
  width: 100%;
  min-height: 100vh;
  display: none;
  position: fixed;
  inset: 0%;
}

html.has-age-gate,
html.has-age-gate body {
  overflow: hidden;
}

.popup18.is-visible,
.cockie-blok.is-visible {
  display: flex;
}

.div-block-1629 {
  grid-column-gap: 14px;
  grid-row-gap: 14px;
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--theme-main) 18%, transparent), transparent 42%),
    linear-gradient(180deg, var(--theme-surface-2), var(--theme-surface));
  text-align: center;
  flex-flow: column;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 640px;
  min-height: 0;
  margin: 24px;
  padding: 28px 24px;
  display: flex;
  border: none;
  border-radius: 24px;
  box-shadow: var(--theme-shadow);
}

.text-block-333 {
  color: var(--theme-main);
  font-family: var(--font-family);
  font-size: clamp(24px, 4vw, 38px);
  font-weight: var(--fw-semibold);
  line-height: 120%;
}

.text-block-334 {
  max-width: none;
  font-family: var(--font-family);
  color: var(--theme-text-soft);
  font-size: 15px;
  line-height: 1.5;
}

#ps-ov {
  display: none;
  position: fixed;
  inset: 0;
  z-index: var(--z-modal);
  background: color-mix(in srgb, var(--theme-bg) 60%, transparent);
  backdrop-filter: blur(10px);
  align-items: center;
  justify-content: center;
  padding: 20px;
}

#ps-ov.on {
  display: flex;
}

@media (prefers-reduced-motion: no-preference) {
  dialog[open] {
    animation: site-dialog-content-in 190ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
  }

  dialog[open]::backdrop {
    animation: site-popup-overlay-in 170ms ease-out both;
  }

  .popup18.is-visible {
    animation: site-popup-overlay-in 170ms ease-out both;
  }

  .popup18.is-visible .div-block-1629,
  #ps-ov.on #ps-modal {
    animation: site-popup-content-in 190ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
  }

  #ps-ov.on {
    animation: site-popup-overlay-in 170ms ease-out both;
  }

  .cockie-blok.is-visible {
    animation: site-cookie-in 190ms cubic-bezier(0.22, 0.8, 0.3, 1) both;
  }
}

#ps-modal {
  position: relative;
  background:
    radial-gradient(circle at top, color-mix(in srgb, var(--theme-main) 12%, transparent), transparent 36%),
    linear-gradient(180deg, var(--theme-surface-2), var(--theme-surface));
  border-radius: 24px;
  padding: 66px 30px 30px;
  max-width: 480px;
  width: 100%;
  text-align: center;
  box-shadow: var(--theme-shadow);
  border: none;
}

.ps-label {
  font-family: var(--font-family);
  font-size: 12px;
  letter-spacing: 0.2em;
  color: var(--theme-muted);
  text-transform: uppercase;
  margin-bottom: 10px;
}

.ps-title {
  font-family: var(--font-family-display);
  font-size: 26px;
  font-weight: 800;
  letter-spacing: -0.03em;
  color: var(--theme-text);
  margin-bottom: 10px;
}

.ps-sub {
  font-family: var(--font-family);
  font-size: 16px;
  color: var(--theme-text-soft);
  margin-bottom: 28px;
  line-height: 1.5;
}

.ps-note {
  font-size: 12px;
  color: var(--theme-muted);
  margin-top: 16px;
}

#ps-bar {
  position: fixed;
  top: 0;
  left: 0;
  right: 0;
  z-index: 1002;
  width: 100%;
  height: 34px;
  overflow: hidden;
  cursor: pointer;
  background: linear-gradient(90deg, var(--theme-accent-strong) 0%, var(--theme-accent) 32%, var(--theme-main) 50%, var(--theme-accent) 68%, var(--theme-accent-strong) 100%);
  box-shadow: 0 8px 24px rgba(0, 0, 0, 0.25);
}

#ps-inner {
  width: 100%;
  height: 100%;
  display: flex;
  align-items: center;
  overflow: hidden;
  padding-left: 18px;
  padding-right: 18px;
  box-sizing: border-box;
}

#ps-track {
  display: inline-flex;
  align-items: center;
  width: max-content;
  white-space: nowrap;
  min-width: max-content;
  animation: ps-marquee 648s linear infinite;
  will-change: transform;
}

.ps-track-group {
  display: inline-flex;
  align-items: center;
  gap: 18px;
  white-space: nowrap;
  flex: 0 0 auto;
  padding-right: 18px;
}

.ps-t {
  font-family: var(--font-family);
  font-size: 12px;
  font-weight: var(--fw-semibold);
  letter-spacing: 0.1em;
  text-transform: uppercase;
  color: var(--theme-text);
}

.ps-dot {
  width: 6px;
  height: 6px;
  border-radius: 50%;
  background: var(--theme-text);
  flex: none;
  box-shadow: 0 0 0 6px color-mix(in srgb, var(--theme-text) 8%, transparent);
}

@keyframes ps-marquee {
  from {
    transform: translateX(0);
  }
  to {
    transform: translateX(-33.3333%);
  }
}

#ps-x {
  position: absolute;
  top: 16px;
  right: 16px;
  width: 32px;
  height: 32px;
  min-height: 32px;
  min-width: 32px;
  border-radius: 0;
  background: transparent;
  border: none;
  cursor: pointer;
  font-size: 26px;
  color: var(--theme-muted);
  padding: 0;
  display: inline-flex;
  align-items: center;
  justify-content: center;
  transition: color 0.2s ease, transform 0.2s ease;
  box-shadow: none;
  backdrop-filter: none;
  -webkit-backdrop-filter: none;
  line-height: 1;
}

#ps-x:hover {
  color: var(--theme-main);
  background: transparent;
  transform: translateY(-1px);
}

.ps-btn {
  border-radius: 16px;
  font-family: var(--font-family);
  font-weight: var(--fw-semibold);
  box-shadow: var(--theme-shadow-soft);
}

.ps-btn-tg {
  background: linear-gradient(135deg, color-mix(in srgb, var(--theme-main) 35%, #5caad6), color-mix(in srgb, var(--theme-main) 20%, #3b88d2));
  color: var(--theme-text);
}

.ps-btn-card {
  background: var(--theme-control-bg);
  border: 1px solid var(--theme-control-border);
  color: var(--theme-text);
}

.cockie-blok {
  position: fixed;
  bottom: 20px;
  left: 50%;
  transform: translateX(-50%);
  z-index: 1301;
  border: none;
  background: var(--theme-surface);
  border-radius: 18px;
  justify-content: center;
  align-items: center;
  width: 100%;
  max-width: 600px;
  padding: 20px;
  display: none;
  gap: 15px;
  box-shadow: var(--theme-shadow);
}

@media screen and (max-width: 767px) {
  .pop-up-remodal {
    width: min(90vw, 540px);
    min-height: 0;
    padding: 76px 22px 30px;
    justify-content: center;
  }

  .title-modal {
    width: 100%;
    max-width: 100%;
    font-family: var(--font-family-display);
    font-size: clamp(28px, 5.4vw, 34px);
    line-height: 1.06;
    letter-spacing: -0.03em;
    margin-bottom: 28px;
    text-wrap: balance;
  }

  .title-modal__lead,
  .title-modal__accent,
  .title-modal__mark {
    display: inline;
  }

  .title-modal__accent {
    text-shadow: 0 10px 28px color-mix(in srgb, var(--theme-main) 26%, transparent);
  }

  .cockie-blok {
    width: 90%;
    flex-direction: column;
    text-align: center;
  }

  #ps-bar {
    height: 30px;
  }

  #ps-track {
    gap: 14px;
    animation-duration: 162s;
  }

  .ps-t {
    font-size: 11px;
  }

  .div-block-1629 {
    margin: 16px;
  }
}

@media screen and (max-width: 479px) {
  .pop-up-remodal {
    width: min(90vw, 540px);
    min-height: 0;
    padding: 82px 16px 34px;
  }

  .title-modal {
    max-width: 100%;
    font-size: clamp(26px, 7vw, 31px);
    line-height: 1.08;
    margin-bottom: 26px;
  }

  #ps-modal {
    padding: 56px 18px 20px;
  }

  #ps-x {
    top: 12px;
    right: 12px;
    width: 30px;
    height: 30px;
    min-width: 30px;
    min-height: 30px;
    font-size: 24px;
  }

  .ps-title {
    font-size: 22px;
  }

  .ps-sub {
    font-size: 14px;
  }

  .div-block-1629 {
    padding: 22px 16px;
  }
}

@media screen and (max-width: 991px) {
  #ps-bar {
    height: 30px;
  }
}

/* Text-based close controls use one optical center instead of browser-specific
   glyph baselines. Their accessible name remains on the button itself. */
.dialog__close,
.close-remodal,
#ps-x {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  padding: 0;
  font-size: 0;
  line-height: 0;
}

.dialog__close::before,
.close-remodal::before,
#ps-x::before {
  content: '\00d7';
  display: block;
  font-size: 26px;
  font-weight: 400;
  line-height: 1;
  transform: translateY(-1px);
}
