@charset "UTF-8";
.row {
  margin-top: 10px;
  display: flex;
  width: 100%;
  gap: 15px;
}
.row__left-section, .row__right-section {
  display: flex;
  flex-direction: column;
  width: 100%;
}

.editor-title {
  margin: 0 auto;
  text-align: center;
  max-width: 500px;
  font-weight: 500;
}
.editor-title_price {
  margin-top: 10px;
  font-size: 1.25em;
  color: #E270BB;
  font-weight: 600;
}
.editor-title__balance-icon {
  max-width: 25px;
}

.upload-file {
  display: flex;
  width: 100%;
  background-color: #252525;
  height: 100%;
  align-items: center;
  justify-content: center;
  padding: 40px;
  border-radius: 12px;
  border: #2d2d2d 1px solid;
  transition: border-color 0.5s;
}
.upload-file-input {
  display: none;
}
.upload-file--drag {
  border: #E270BB 2px solid;
}
.upload-file__content {
  display: flex;
  flex-direction: column;
  align-items: center;
}
.upload-file__icon {
  object-fit: contain;
  border-radius: 12px;
  max-height: 250px;
}
.upload-file__text {
  margin-top: 15px;
  font-weight: 600;
  color: #E270BB;
}
.upload-file__format {
  color: #848282;
  font-weight: 500;
}
.upload-file__guide {
  display: flex;
  gap: 5px;
  align-items: center;
  margin-top: 20px;
  color: #848282;
  font-weight: 600;
}

.loader {
  display: block;
  position: relative;
  height: 12px;
  width: 80%;
  border: 1px solid #848282;
  border-radius: 10px;
  overflow: hidden;
}

.loader::after {
  content: "";
  width: 40%;
  height: 100%;
  background: #E270BB;
  position: absolute;
  top: 0;
  left: 0;
  box-sizing: border-box;
  animation: animloader 2s linear infinite;
}

@keyframes animloader {
  0% {
    left: 0;
    transform: translateX(-100%);
  }
  100% {
    left: 100%;
    transform: translateX(0%);
  }
}
.loading-screen {
  display: none;
  flex-direction: column;
  gap: 20px;
  width: 100%;
  margin-top: 60px;
  justify-content: center;
  align-items: center;
  text-align: center;
}
.loading-screen__title {
  font-size: 1.125em;
  font-weight: 500;
}
.loading-screen__icon {
  width: 250px;
  height: 250px;
}
.loading-screen__link {
  color: #E270BB;
  font-weight: 600;
}
.loading-screen__link:hover {
  border-bottom: #E270BB 2px solid;
}

.result {
  display: flex;
  flex-direction: column;
  justify-content: center;
  align-items: center;
  gap: 20px;
  margin-top: 10px;
}
.result__title {
  font-size: 1.5em;
  font-weight: 500;
}
.result__icon {
  max-height: 210px;
  object-fit: contain;
}
.result__field {
  display: flex;
  flex-wrap: wrap;
  gap: 15px;
  justify-content: center;
}
.result__content {
  height: 300px;
  object-fit: cover;
  border: #2d2d2d 2px solid;
  border-radius: 12px;
}
.result__btns {
  display: flex;
  width: 100%;
  justify-content: center;
  gap: 15px;
}
.result__btn {
  display: flex;
  justify-content: center;
  border-radius: 12px;
  color: #FFF;
}
.result__btn--download {
  max-width: 190px;
}
.result__btn--back {
  background-color: #252525;
  color: #FFF;
  border-radius: 12px;
  max-width: 90px;
}
.result__text {
  text-align: center;
}

.people-settings {
  display: flex;
  gap: 10px;
  flex-wrap: wrap;
}
.people-settings__section {
  display: flex;
  gap: 10px;
  width: 100%;
}
.people-settings__name {
  font-weight: 600;
}
.people-settings__radio {
  margin-top: 10px;
  display: inline-flex;
  padding: 6px;
  border-radius: 12px;
  background-color: #32323D;
}
.people-settings__radio-item {
  position: relative;
  height: 45px;
  width: 125px;
}
.people-settings__radio-label {
  position: relative;
  z-index: 2;
  display: flex;
  height: 100%;
  align-items: center;
  justify-content: center;
  font-size: 1.125em;
}
.people-settings__radio-marker {
  position: absolute;
  z-index: 1;
  top: 0;
  left: -100%;
  border-radius: 12px;
  background-color: #E270BB;
  height: 45px;
  width: 125px;
  transition: transform 0.3s;
}
.people-settings__radio-input:checked ~ .people-settings__radio-marker {
  transform: translateX(100%);
}
.people-settings__selector {
  margin-top: 10px;
  position: relative;
  display: flex;
  width: 250px;
  height: 45px;
  line-height: 2.65;
  background: #252525;
  overflow: hidden;
  border-radius: 12px;
  border: #75747A 1px solid;
}
.people-settings__selector:after {
  content: "▼";
  position: absolute;
  top: 0;
  right: 0;
  padding: 0 16px;
  background: #E270BB;
  cursor: pointer;
  pointer-events: none;
}
.people-settings__selector select {
  appearance: none;
  outline: 0;
  box-shadow: none;
  border: 0;
  background: #1E1E1E;
  flex: 1;
  padding: 0 15px;
  color: #FFF;
  cursor: pointer;
}

.people-setting {
  padding-block: 15px;
  background-color: #252525;
  border: #2d2d2d 1px solid;
  transition: border-color 0.5s;
  border-radius: 12px;
  flex-grow: 1;
}
.people-setting_selected {
  border: #E270BB 2px solid;
}
.people-setting__text {
  display: block;
  color: #848282;
}
.people-setting__icon {
  max-width: 160px;
  width: 100%;
}

.download__btns {
  display: flex;
  gap: 10px;
  margin: 20px 0 30px 0;
  padding: 0 50px;
  justify-content: center;
}
.download__btn {
  color: #FFF;
  border-radius: 12px;
}
.download__btn_main {
  font-weight: 600;
  flex-grow: 1;
}

.start-processing {
  margin-top: 20px;
}
.start-processing--only {
  margin-top: 50px;
}
.start-processing__token-balance {
  font-size: 1.25em;
  font-weight: 500;
}
.start-processing__start-btn {
  display: flex;
  border-radius: 12px;
  font-weight: 500;
}
.start-processing__start-btn-text {
  margin: 0 auto;
}
.start-processing__price {
  display: flex;
  gap: 5px;
}

.agreement {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
  margin-top: 30px;
  padding: 0 20px;
  gap: 30px;
}
.agreement__text {
  font-size: 0.875em;
  line-height: 1.5;
  color: #FFF;
}
.agreement__text-header {
  font-size: 1.625em;
  font-weight: 600;
}
.agreement__btn {
  padding: 20px 0;
  max-width: 335px;
}

.slider {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #252525;
  border-radius: 999px;
  transition: width 0.5s, background-color 0.5s;
}
.slider_active {
  width: 24px;
  background-color: #E270BB;
}

.settings {
  margin-top: 30px;
}
.settings__header {
  display: flex;
  justify-content: space-between;
  align-items: center;
}
.settings__header__text {
  font-weight: 500;
}
.settings__items {
  font-size: 0.875em;
}
.settings__items-title {
  color: #848282;
  margin: 30px 0;
}
.settings__item {
  display: flex;
  justify-content: space-between;
  align-items: center;
  padding: 15px 0;
  border-bottom: #252525 1px solid;
}
.settings__item-name {
  color: #FFF;
}
.settings__item-value {
  display: flex;
  align-items: center;
  gap: 20px;
  color: #848282;
}

.conditions {
  margin-top: 30px;
}
.conditions__header {
  display: flex;
  align-items: center;
}
.conditions__header-title {
  margin: 0 auto;
  position: relative;
  right: 20px;
  font-weight: 500;
}
.conditions__text {
  font-size: 0.875em;
  margin: 0 auto 0 auto;
  color: #848282;
  line-height: 1.8em;
}
.conditions__text-title {
  margin: 30px 0 30px;
  font-weight: 600;
  color: #848282;
}

.manual__content {
  display: flex;
  justify-content: center;
  align-items: center;
  flex-direction: column;
  text-align: center;
  gap: 20px;
  margin-top: 20px;
}
.manual__title {
  font-weight: 600;
}
.manual__image {
  border-radius: 12px;
  height: 100%;
  object-fit: contain;
}
.manual__text {
  font-size: 0.875em;
}
.manual__sliders {
  display: flex;
  gap: 5px;
}
.manual__btn {
  display: flex;
  justify-content: center;
  border-radius: 12px;
  max-width: 190px;
  width: 100%;
  color: #FFF;
}
.manual__sliders {
  display: flex;
  gap: 5px;
}
.manual__slider {
  display: inline-block;
  width: 8px;
  height: 8px;
  background-color: #252525;
  border-radius: 999px;
  transition: width 0.5s, background-color 0.5s;
}
.manual__slider_active {
  width: 24px;
  background-color: #E270BB;
}

.gallery__title {
  margin-top: 20px;
  font-weight: 600;
  font-size: 1.5em;
}
.gallery__title-search {
  font-weight: 600;
  font-size: 1.125em;
}
.gallery__search {
  display: flex;
  flex-wrap: wrap;
  margin-top: 10px;
  border: #2d2d2d 2px solid;
  border-radius: 12px;
  color: #848282;
  padding: 5px;
  min-height: 47px;
  background-color: #252525;
  width: 100%;
  transition: border-color 0.5s;
}
.gallery__search:focus {
  border-color: #E270BB;
}
.gallery__tags {
  margin-top: 10px;
  display: flex;
  flex-wrap: wrap;
  gap: 5px;
}
.gallery__tag {
  border: #2d2d2d 2px solid;
  border-radius: 12px;
  background-color: #1E1E1E;
  color: #848282;
  padding: 5px 10px;
}
.gallery__description {
  color: #848282;
}
.gallery__images {
  margin-top: 10px;
  display: flex;
  justify-content: center;
  flex-wrap: wrap;
  gap: 10px;
}
.gallery__image {
  border-radius: 12px;
  object-fit: cover;
  background-color: #75747A;
  width: 180px;
  height: 180px;
  cursor: pointer;
}

.knowledge {
  margin-top: 10px;
}
.knowledge__title {
  font-size: 1.25em;
  font-weight: 600;
}
.knowledge__description {
  color: #848282;
}
.knowledge__items {
  justify-content: center;
  display: flex;
  flex-wrap: wrap;
  gap: 10px;
}
.knowledge__item {
  margin-top: 10px;
  padding: 15px;
  display: flex;
  flex-direction: column;
  justify-content: space-between;
  width: 380px;
  height: 220px;
  border-radius: 12px;
}
.knowledge__item:nth-child(1) {
  background: url("../images/faq-1.3c9c0b924564.png") no-repeat center center #252525;
}
.knowledge__item:nth-child(2) {
  background: url("../images/faq-2.cf6fa8f55b10.png") no-repeat center center #252525;
}
.knowledge__item-tags {
  display: flex;
  gap: 10px;
}
.knowledge__item-tag {
  background-color: #E270BB;
  font-weight: 500;
  text-align: center;
  font-size: 0.85em;
  width: 100px;
  padding: 2px 0;
  border-radius: 999px;
}
.knowledge__item-title {
  font-weight: 600;
  font-size: 1.25em;
}

.deepfake__error-text {
  margin: 5px 0 15px;
  text-align: center;
  font-size: 1.125em;
  font-weight: 600;
  color: #E270BB;
}
.deepfake__btn-start {
  display: flex;
  justify-content: center;
  font-weight: 500;
  padding: 15px;
  width: 100%;
  border-radius: 0 0 12px 12px;
  background-color: #E270BB;
}
.deepfake__btn-start:disabled {
  background-color: #2d2d2d;
}

.df-head {
  text-align: center;
  margin: 28px auto 24px;
}
.df-head h1 {
  font-family: "Montserrat", sans-serif;
  font-size: 1.6em;
  font-weight: 700;
  color: #FFF;
}
.df-head p {
  color: #848282;
  font-size: 0.95em;
  line-height: 1.5;
  max-width: 540px;
  margin: 10px auto 0;
}

.df-slots {
  display: flex;
  gap: 20px;
  margin-bottom: 20px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}

.df-slot {
  flex: 1;
  min-height: 380px;
  position: relative;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  padding: 24px;
  background-color: #252525;
  border: #2d2d2d 2px dashed;
  border-radius: 12px;
  text-align: center;
  cursor: pointer;
  color: #848282;
  transition: border-color 0.2s;
}
.df-slot_drag, .df-slot:hover {
  border-color: #E270BB;
}
.df-slot_filled {
  border-style: solid;
}
.df-slot__num {
  position: absolute;
  top: 14px;
  left: 14px;
  width: 28px;
  height: 28px;
  border-radius: 50%;
  background-color: #E270BB;
  color: #FFF;
  font-weight: 600;
  font-size: 0.9em;
  display: flex;
  align-items: center;
  justify-content: center;
}
.df-slot__icon {
  font-size: 3em;
  font-weight: 600;
  line-height: 1;
  color: #E270BB;
}
.df-slot__title {
  color: #FFF;
  font-weight: 600;
  font-size: 1.125em;
}
.df-slot__hint {
  font-size: 0.85em;
}
.df-slot__change {
  font-size: 0.85em;
  color: #E270BB;
  text-decoration: underline;
}
.df-slot__preview, .df-slot__preview-video {
  max-width: 100%;
  max-height: 320px;
  border-radius: 12px;
  object-fit: cover;
}

#df-form .deepfake__btn-start {
  max-width: 900px;
  margin: 0 auto;
  font-size: 1.05em;
}

.df-editor-foot {
  max-width: 900px;
  margin: 20px auto 40px;
  text-align: center;
}
.df-editor-foot__balance {
  display: flex;
  align-items: center;
  justify-content: center;
  gap: 7px;
  color: #FFF;
  font-weight: 500;
}
.df-editor-foot__balance img {
  max-width: 18px;
}
.df-editor-foot__rules {
  margin-top: 12px;
  color: #848282;
  font-size: 0.8em;
  line-height: 1.6;
}

.df-panel {
  background-color: #252525;
  border-radius: 12px;
  padding: 32px;
  margin-bottom: 15px;
  max-width: 900px;
  margin-left: auto;
  margin-right: auto;
}
.df-panel h3 {
  color: #FFF;
  font-weight: 700;
  text-align: center;
  margin-bottom: 8px;
}
.df-panel p {
  color: #848282;
  font-size: 0.9em;
  text-align: center;
  line-height: 1.5;
}

.df-result-note {
  margin-top: 10px;
}

#df-result .result__field {
  margin-top: 16px;
  justify-content: center;
}
#df-result .result__field img, #df-result .result__field video {
  height: auto;
  max-height: 460px;
  max-width: 100%;
  width: auto;
  border: #2d2d2d 2px solid;
  border-radius: 12px;
}
#df-result .result__btns {
  margin-top: 20px;
}
#df-result .result__btn {
  max-width: 260px;
}
#df-result .result__btn--back {
  max-width: 64px;
  flex-shrink: 0;
}

.df-link {
  color: #E270BB;
}

.df-waiting-inner {
  text-align: center;
}

.df-spinner {
  width: 56px;
  height: 56px;
  margin: 0 auto 16px;
}
.df-spinner svg {
  width: 100%;
  height: 100%;
  animation: df-spin 1.4s linear infinite;
}
.df-spinner svg circle {
  stroke: #E270BB;
  stroke-dasharray: 80, 150;
  stroke-dashoffset: 0;
  animation: df-dash 1.4s ease-in-out infinite;
}

@keyframes df-spin {
  100% {
    transform: rotate(360deg);
  }
}
@keyframes df-dash {
  0% {
    stroke-dashoffset: 0;
  }
  50% {
    stroke-dashoffset: -35;
  }
  100% {
    stroke-dashoffset: -125;
  }
}
.result__item--pending {
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  gap: 10px;
  min-height: 120px;
  background-color: #252525;
  border-radius: 12px;
  color: #848282;
}
.result__item--pending .result__pending-spinner {
  width: 28px;
  height: 28px;
  border: 3px solid #2d2d2d;
  border-top-color: #E270BB;
  border-radius: 50%;
  animation: df-spin 1s linear infinite;
}

.preview {
  display: flex;
  flex-direction: column;
  justify-content: center;
}
.preview__content img, .preview__content video {
  border-radius: 12px;
  width: 100%;
}
.preview__btn-download {
  margin-top: 20px;
  color: #FFF;
  text-align: center;
  font-weight: 600;
}

/* utility classes */
.ri5-sr-only {
  position: absolute;
  clip: rect(1px, 1px, 1px, 1px);
  clip-path: inset(50%);
}

@media (max-width: 768px) {
  .row {
    flex-direction: column;
  }
  .row__right-section {
    min-width: 0;
    padding: 0;
  }
  .upload-file {
    height: 100%;
  }
  .df-slots {
    flex-direction: column;
    max-width: none;
  }
  .df-slot {
    min-height: 240px;
  }
  .start-processing--only {
    margin-top: 20px;
  }
  .start-processing__start-btn {
    max-width: none;
  }
}
