@font-face {
  font-family: "tt_bold";
  src:
    url("../fonts/TTNorms-Bold.woff2") format("woff2"),
    url("../fonts/TTNorms-Bold.woff") format("woff");
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "tt_medium";
  src:
    url("../fonts/TTNorms-Medium.woff2") format("woff2"),
    url("../fonts/TTNorms-Medium.woff") format("woff");
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "tt_regular";
  src:
    url("../fonts/TTNorms-Regular.woff2") format("woff2"),
    url("../fonts/TTNorms-Regular.woff") format("woff");
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: "tt_black";
  src:
    url("../fonts/TTNorms-Black.woff2") format("woff2"),
    url("../fonts/TTNorms-Black.woff") format("woff");
  font-weight: 900;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Teko-regular';
  src: url('../fonts/Teko-Regular.woff2') format('woff2'),
  url('../fonts/Teko-Regular.woff') format('woff');
  font-weight: normal;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Teko-semibold';
  src: url('../fonts/Teko-SemiBold.woff2') format('woff2'),
  url('../fonts/Teko-SemiBold.woff') format('woff');
  font-weight: 600;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Teko-medium';
  src: url('../fonts/Teko-Medium.woff2') format('woff2'),
  url('../fonts/Teko-Medium.woff') format('woff');
  font-weight: 500;
  font-style: normal;
  font-display: swap;
}

@font-face {
  font-family: 'Teko-bold';
  src: url('../fonts/Teko-Bold.woff2') format('woff2'),
  url('../fonts/Teko-Bold.woff') format('woff');
  font-weight: bold;
  font-style: normal;
  font-display: swap;
}


:root {
  /*========== Colors ==========*/
  --black-color: #000;
  --bg-color: #000;
  --white-color: #fff;
  --grenn-color: #a7f000;
  --blue-color: #2cc4f4;
  --pink-color: #fd03a5;
}

/*========== Layout ==========*/

body {
  position: relative;
  background: var(--bg-color);
  font-variant-ligatures: none;
  font-feature-settings: "liga" 0, "clig" 0;
  color: var(--white-color);
  font-family: "tt_regular", sans-serif;
}

.tt_bold {
  font-family: "tt_bold", sans-serif;
}

.tt_black {
  font-family: "tt_black", sans-serif;
}

.teko__regular {
  font-family: 'Teko-regular', serif;
}

.teko__bold {
  font-family: 'Teko-bold', serif;
}

.pink__bgcolor {
  background: var(--pink-color);
}

.pink__textcolor {
  color: var(--pink-color);
}

#modelSelector select {
  width: 100%;
  display: block;
  margin: 0 auto;
  padding: 15px 40px 15px 20px;
  color: #000;
  -webkit-appearance: none;
  -moz-appearance: none;
  appearance: none;
  background: url(../img/arrow.webp) 96% / 2.5% no-repeat #fff;
  border-radius: 0;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
}

.bg_nvidia {
  padding: 10px;
  background: #1a1a1a;
}

/*========== Top Header ==========*/

#confetti img {
  transition: transform 0.1s linear;
  will-change: transform;
  position: absolute;
  top: 0;
  left: 0;
}

/*========== Formsection ==========*/

.form-register {
  background: var(--pink-color);
}

.form-register__form {
  width: 100%;
}

/* pola ze ściętym prawym dolnym rogiem */
.form-field {
  display: block;
  width: 100%;
  height: 64px;
  border: 0;
  border-radius: 0;
  background: #4b1f3b;
  padding: 0 30px;
  color: #fff;
  font-family: "tt_medium", sans-serif;
  font-size: 18px;
  outline: none;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 18px), calc(100% - 18px) 100%, 0 100%);
  transition: background 0.18s ease;
}

.form-field::placeholder {
  color: #fff;
  opacity: 1;
}

.form-field:focus {
  background: #5c2848;
}

.form-field--select {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  cursor: pointer;
  padding-right: 64px;
  background-image: url("data:image/svg+xml,%3Csvg width='17' height='12' viewBox='0 0 17 12' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M0 0h17L8.5 12z' fill='%23ffffff'/%3E%3C/svg%3E");
  background-repeat: no-repeat;
  background-position: calc(100% - 38px) 50%;
  background-size: 17px 12px;
}

.form-field--select option,
.form-field--select optgroup {
  color: #171717;
  background: #fff;
}

/* panel załącznika ze ściętym rogiem */
.form-upload {
  display: flex;
  flex-direction: column;
  width: 100%;
  min-height: 100%;
  background: #4b1f3b;
  padding: 26px 30px 30px;
  clip-path: polygon(0 0, 100% 0, 100% calc(100% - 34px), calc(100% - 34px) 100%, 0 100%);
}

.form-upload__title {
  margin: 0;
  color: #fff;
  text-align: center;
  font-family: "tt_bold", sans-serif;
  font-size: 16px;
  line-height: 1.2;
}

.form-upload__drop {
  flex: 1;
  display: flex;
  flex-direction: column;
  align-items: center;
  justify-content: center;
  padding: 20px 0 8px;
  cursor: pointer;
  text-align: center;
}

.form-upload__icon {
  display: block;
  width: 158px;
  height: 158px;
  color: #fff;
}

.form-upload__icon svg {
  display: block;
  width: 100%;
  height: 100%;
}

/* biały przycisk z gradientową obwódką */
.form-upload__button {
  display: inline-flex;
  margin-top: 16px;
  padding: 3px;
  border-radius: 999px;
  background: linear-gradient(105deg, #fd03a5 0%, #8f4bdc 35%, #2cc4f4 70%);
  transition: transform 0.18s ease, box-shadow 0.18s ease;
}

.form-upload__button > span {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-width: 268px;
  min-height: 50px;
  padding: 0 44px;
  border-radius: 999px;
  background: #fff;
  color: #3c1c33;
  font-family: "tt_bold", sans-serif;
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
}

.form-upload__drop:hover .form-upload__button {
  transform: scale(0.97);
  box-shadow: 0 0 24px rgba(44, 196, 244, 0.5);
}

.form-upload__formats {
  display: block;
  max-width: 90%;
  margin-top: 12px;
  overflow: hidden;
  color: #fff;
  font-family: "tt_bold", sans-serif;
  font-size: 11px;
  line-height: 1.2;
  text-overflow: ellipsis;
  white-space: nowrap;
}

/* zgody */
.form-register__checks {
  max-width: 780px;
}

.form-check-line {
  display: flex;
  align-items: flex-start;
  gap: 13px;
  margin-top: 15px;
  color: #fff;
  font-family: "tt_medium", sans-serif;
  font-size: 12px;
  line-height: 1.4;
  text-align: left;
}

.form-check-line:first-child {
  margin-top: 0;
}

.form-check-line a {
  color: inherit;
  text-decoration: underline;
}

.form-check-note {
  color: #fff;
  font-family: "tt_medium", sans-serif;
  font-size: 12px;
  line-height: 1.4;
}

.form-check {
  appearance: none;
  -webkit-appearance: none;
  -moz-appearance: none;
  width: 17px;
  height: 17px;
  min-width: 17px;
  min-height: 17px;
  margin-top: 1px;
  border: 0;
  border-radius: 3px;
  background: #ffffff;
  cursor: pointer;
  position: relative;
}

.form-check:checked::after {
  content: "";
  position: absolute;
  left: 6px;
  top: 3px;
  width: 5px;
  height: 9px;
  border: solid #4b1f3b;
  border-width: 0 2px 2px 0;
  transform: rotate(45deg);
}

/* przyciski */
.form-btn {
  display: inline-flex;
  align-items: center;
  justify-content: center;
  min-height: 64px;
  padding: 0 48px;
  border: 2px solid #fff;
  border-radius: 999px;
  background: transparent;
  color: #fff;
  font-family: "tt_bold", sans-serif;
  font-size: 21px;
  line-height: 1;
  white-space: nowrap;
  cursor: pointer;
  transition: transform 0.18s ease, background 0.18s ease;
}

.form-btn:hover {
  transform: scale(0.96);
}

.form-btn--solid {
  background: #4b1f3b;
}

.form-btn--outline:hover {
  background: rgba(255, 255, 255, 0.16);
}

/*========== Partners ==========*/

.partners__title {
  margin: 0 0 26px;
  color: var(--pink-color);
  font-family: 'Teko-regular', sans-serif;
  font-size: 60px;
  line-height: 0.9;
  text-align: center;
}

.partners__panel {
  background: var(--pink-color);
  padding: 28px 20px 32px;
}

.partners__card {
  display: block;
  width: 100%;
  max-width: 320px;
  margin-left: auto;
  margin-right: auto;
  transition: transform 0.2s ease;
}

.partners__card:hover {
  transform: scale(0.96);
}

.partners__card img {
  display: block;
  width: 100%;
  height: auto;
}

@media screen and (min-width: 1024px) {
  .partners__row {
    padding-left: clamp(56px, 12vw, 210px);
  }

  .partners__title {
    margin-right: -40px;
    writing-mode: vertical-rl;
    transform: rotate(180deg);
    font-size: clamp(130px, 11.5vw, 205px);
    line-height: 0.8;
    white-space: nowrap;
    text-align: center;
  }

  .partners__panel {
    padding: 40px clamp(48px, 8vw, 140px) 46px clamp(36px, 5vw, 95px);
  }
}

/* == LOADER == */

#form .loader {
  display: none;
  padding: 50px 0;
  position: relative;
  color: #fff;
  text-align: center;
  font-size: 24px;
}

#loading-bar-spinner.spinner {
  left: 50%;
  margin-left: -20px;
  top: 50%;
  margin-top: -20px;
  position: absolute;
  z-index: 19 !important;
  animation: loading-bar-spinner 350ms linear infinite;
}

#loading-bar-spinner.spinner .spinner-icon {
  width: 40px;
  height: 40px;
  border: solid 3px transparent;
  border-top-color: #fff !important;
  border-left-color: #fff !important;
  border-radius: 50%;
}

@keyframes loading-bar-spinner {
  0% {
    transform: rotate(0deg);
  }

  100% {
    transform: rotate(360deg);
  }
}

/*========== Responsive ==========*/

@media screen and (max-width: 1023px) {
  .form-upload {
    min-height: 380px;
  }
}

@media screen and (max-width: 767px) {
  #modelSelector select {
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  }

  .form-field {
    height: 54px;
    padding-left: 22px;
    padding-right: 22px;
    font-size: 15px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 15px), calc(100% - 15px) 100%, 0 100%);
  }

  .form-field--select {
    padding-right: 56px;
    background-position: calc(100% - 30px) 50%;
    background-size: 15px 11px;
  }

  .form-upload {
    min-height: 330px;
    padding: 20px 18px 24px;
    clip-path: polygon(0 0, 100% 0, 100% calc(100% - 26px), calc(100% - 26px) 100%, 0 100%);
  }

  .form-upload__title {
    font-size: 13px;
  }

  .form-upload__icon {
    width: 92px;
    height: 92px;
  }

  .form-upload__button > span {
    min-width: 216px;
    min-height: 42px;
    font-size: 17px;
  }

  .form-check-line {
    font-size: 11px;
  }

  .form-btn {
    width: 100%;
    min-height: 56px;
    padding: 0 36px;
    font-size: 17px;
  }
}
