html,
body,
div,
span,
applet,
object,
iframe,
h1,
h2,
h3,
h4,
h5,
h6,
p,
blockquote,
pre,
a,
abbr,
acronym,
address,
big,
cite,
code,
del,
dfn,
em,
img,
ins,
kbd,
q,
s,
samp,
small,
strike,
strong,
sub,
sup,
tt,
var,
dl,
dt,
dd,
ol,
ul,
li,
fieldset,
form,
label,
legend,
table,
caption,
tbody,
tfoot,
thead,
tr,
th,
td {
  margin: 0;
  padding: 0;
  border: 0;
  outline: 0;
  font-weight: inherit;
  font-style: inherit;
  font-family: inherit;
  font-size: 100%;
  vertical-align: baseline;
}
body {
  line-height: 1;
  color: #222;
  background: #fff;
}
ol,
ul {
  list-style: none;
}
table {
  border-collapse: separate;
  border-spacing: 0;
  vertical-align: middle;
}
caption,
th,
td {
  text-align: left;
  font-weight: normal;
  vertical-align: middle;
}
a img {
  border: none;
}
.safe {
  width: 1660px;
  height: 1146px;
}
.coin-1 {
  background: url("../images/coin-1.png") no-repeat;
  width: 135px;
  height: 107px;
}
.coin-2 {
  background: url("../images/coin-2.png") no-repeat;
  width: 79px;
  height: 57px;
}
.coin-3 {
  background: url("../images/coin-3.png") no-repeat;
  width: 34px;
  height: 49px;
}
.coin-4 {
  background: url("../images/coin-4.png") no-repeat;
  width: 83px;
  height: 47px;
}
.coin-5 {
  background: url("../images/coin-5.png") no-repeat;
  width: 73px;
  height: 55px;
}
body {
  font-family: -apple-system, system-ui, BlinkMacSystemFont, "Segoe UI", Roboto,
    "Helvetica Neue", Arial, sans-serif;
  font-family: "Roboto", sans-serif;
  -webkit-font-smoothing: antialiased;
  -moz-osx-font-smoothing: grayscale;
  background: #12151d;
}
.wrapper {
  position: relative;
  width: 100vw;
  height: 100vh;
  overflow: hidden;
  -webkit-overflow-scrolling: touch;
  background: url("../images/safe-pers-portal.png") no-repeat;
  background-size: cover;
  background-position: center bottom;
}

@media (orientation: portrait) {
  .wrapper {
    height: 100vh;
    height: calc(var(--vh, 1vh) * 100);
    background-position: 40% bottom;
  }
}
.container {
  width: 1530px;
  height: 800px;
  position: absolute;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
}
@media (orientation: portrait) {
  .container {
    width: 750px;
    height: 1530px;
  }
}

@media (orientation: portrait) {
  .safe {
    top: 430px;
    left: -500px;
    transform-origin: 50% 0;
    transform: scale(0.87);
  }
}
.text-content {
  width: 500px;
  position: absolute;
  top: 30px;
  left: 30px;
  display: flex;
  flex-direction: column;
  justify-content: flex-start;
}
@media (orientation: portrait) {
  .text-content {
    left: 50%;
    transform: translateX(-50%);
  }
}
.logo {
  position: absolute;
  top: 16px;
  left: 50%;
  transform: translateX(-50%);
  height: 180px;
  width: auto;
  object-fit: contain;
}
.text-get {
  font-family: Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px #ea29e2;
  text-stroke: 2px #ea29e2;
  text-align: center;
  margin-bottom: 48px;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
}
@media (orientation: portrait) {
  .text-get {
    top: 110px;
    font-size: 60px;
  }
}
.promo-text {
  display: flex;
  flex-direction: column;
  gap: 0;
}
.text-50k {
  font-family: Arial, sans-serif;
  font-size: 60px;
  font-weight: 700;
  color: #ea29e2;
  text-align: center;
  margin-bottom: 48px;
  letter-spacing: 2px;
  line-height: 1;
}
@media (orientation: portrait) {
  .text-50k {
    top: 276px;
    font-size: 60px;
  }
}
.text-500fs {
  font-family: Arial, sans-serif;
  font-size: 42px;
  font-weight: 700;
  color: transparent;
  -webkit-text-stroke: 2px #ea29e2;
  text-stroke: 2px #ea29e2;
  text-align: center;
  margin-bottom: 0;
  text-transform: uppercase;
  letter-spacing: 2px;
  line-height: 1;
}
@media (orientation: portrait) {
  .text-500fs {
    top: 430px;
    font-size: 60px;
  }
}
.btn {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  max-width: 416px;
  height: 80px;
  margin: 40px auto 0 auto;
  background: #f5c026;
  color: #fff;
  font-family: Arial, sans-serif;
  font-size: 25px;
  font-weight: 700;
  border-radius: 40px;
  border: 2px solid #ffe07a;
  text-align: center;
  text-decoration: none;
  transition: filter 0.2s;
  letter-spacing: 1px;
  cursor: pointer;
  animation: glow 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgba(255, 184, 0, 0.7));
}

@media (orientation: portrait) {
  .btn {
    height: 114px;
    border-radius: 60px;
    position: absolute;
    top: 835px;
    left: 50%;
    transform: translateX(-50%);
    font-size: 38px;
    padding: 0 95px;
  }
}
.btn:hover {
  animation-play-state: paused;
}
.btn-n,
.btn-a {
  position: absolute;
  top: 0;
  left: 0;
}
.btn-n {
  animation: glow 1.5s ease-in-out infinite;
  filter: drop-shadow(0 0 0 rgba(255, 184, 0, 0.7));
}
.btn-a {
  opacity: 0;
}
.coins {
  position: absolute;
  top: 0;
  left: 0;
}
@media (orientation: portrait) {
  .coins {
    top: 680px;
    left: -730px;
    transform: scale(0.87);
  }
}
.coin-1 {
  position: absolute;
  top: -180px;
  left: 1360px;
}
@media (orientation: portrait) {
  .coin-1 {
    top: -180px;
    left: 1360px;
  }
}
.coin-2 {
  position: absolute;
  top: 100px;
  left: 540px;
}
@media (orientation: portrait) {
  .coin-2 {
    top: 100px;
    left: 680px;
  }
}
.coin-3 {
  position: absolute;
  top: 130px;
  left: 1100px;
}
@media (orientation: portrait) {
  .coin-3 {
    top: 130px;
    left: 1100px;
  }
}
.coin-4 {
  position: absolute;
  top: 670px;
  left: 20px;
}
@media (orientation: portrait) {
  .coin-4 {
    top: 670px;
    left: 640px;
  }
}
.coin-5 {
  position: absolute;
  top: 700px;
  left: 1350px;
}
@media (orientation: portrait) {
  .coin-5 {
    top: 458px;
    left: 1436px;
  }
}
@-moz-keyframes glow {
  50% {
    filter: drop-shadow(0 0 28px #ffb800);
  }
}
@-webkit-keyframes glow {
  50% {
    filter: drop-shadow(0 0 28px #ffb800);
  }
}
@-o-keyframes glow {
  50% {
    filter: drop-shadow(0 0 28px #ffb800);
  }
}
@keyframes glow {
  50% {
    filter: drop-shadow(0 0 28px #ffb800);
  }
}
.promo-text .text-get,
.promo-text .text-50k,
.promo-text .text-500fs {
  letter-spacing: -2px;
}
.promo-text .text-get,
.promo-text .text-50k {
  margin-bottom: 24px;
}
.promo-text .text-500fs {
  margin-bottom: 0;
}
.spacer {
  height: 185px;
  flex-shrink: 0;
}
.modal {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}
.modal.show {
  display: block;
}
.modal-form {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2d1850;
  border-radius: 24px;
  padding: 32px 24px;
  width: 320px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 16px;
  z-index: 1001;
}
.modal-close {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 28px;
  cursor: pointer;
}
.modal-title {
  text-align: center;
  font-weight: bold;
  font-size: 22px;
  margin-bottom: 8px;
}
.modal-input {
  background: #24113d;
  border: none;
  border-radius: 24px;
  padding: 14px 20px;
  color: #bfaaff;
  font-size: 16px;
}
.modal-btn {
  background: linear-gradient(90deg, #a259ff 0%, #6a11cb 100%);
  border: none;
  border-radius: 24px;
  padding: 14px 0;
  color: #fff;
  font-size: 18px;
  font-weight: bold;
  cursor: pointer;
}
@media (orientation: portrait) {
  .spacer {
    height: 185px;
    flex-shrink: 0;
  }
}
@media (orientation: portrait) {
  .promo-text .text-get,
  .promo-text .text-50k {
    margin-bottom: 16px;
  }
  .promo-text {
    margin-top: 70px;
  }
}

@media (orientation: portrait) {
  .modal-form {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    background: #2d1850;
    border-radius: 40px;
    padding: 189px 176px;
    width: 426px;
    height: 694px;
    max-width: 640px;
    max-height: 920px;
    color: #fff;
    position: fixed;
    top: 124%;
    left: 50%;
    transform: translate(-50%, -50%);
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    gap: 48px;
  }

  .modal-title {
    font-size: 54px;
    font-weight: 900;
    text-transform: uppercase;
    text-align: center;
    margin-top: 0;
    letter-spacing: 2px;
    margin-bottom: 20px;
  }

  .input-group {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 32px;
    margin-top: auto;
    margin-right: 106px;
  }

  .modal-input {
    width: 100%;
    padding: 28px 70px;
    font-size: 40px;
    border-radius: 18px;
    border: 3px solid #44286b;
    background-color: #1e1033;
    color: #fff;
    transition: border-color 0.2s ease, box-shadow 0.2s ease;
  }

  .modal-input::placeholder {
    color: #c8bde0;
    font-size: 40px;
  }

  .modal-input:focus {
    outline: none;
    border-color: #a259ff;
    box-shadow: 0 0 0 5px rgba(162, 89, 255, 0.3);
  }

  .modal-btn {
    width: 100%;
    padding: 28px;
    font-size: 46px;
    font-weight: 900;
    background: linear-gradient(to right, #a259ff, #6a11cb);
    color: #fff;
    border: none;
    border-radius: 18px;
    cursor: pointer;
    transition: 0.3s ease;
    letter-spacing: 1.5px;
    margin-top: auto;
  }

  .modal-btn:hover {
    background: linear-gradient(to right, #6a11cb, #4a0e9b);
  }

  .modal-close {
    font-size: 60px;
    position: absolute;
    top: 30px;
    right: 30px;
    cursor: pointer;
    color: #fff;
    transition: color 0.2s;
  }

  .modal-close:hover {
    color: #ff7f50;
  }
}

.modal-thanks {
  display: none;
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 1000;
}

.modal-thanks.show {
  display: block;
}

.modal-thanks-content {
  position: fixed;
  top: 50%;
  left: 50%;
  transform: translate(-50%, -50%);
  background: #2d1850;
  border-radius: 32px;
  padding: 50px 40px;
  width: 500px;
  color: #fff;
  display: flex;
  flex-direction: column;
  gap: 20px;
  text-align: center;
  z-index: 1001;
  box-shadow: 0 4px 20px rgba(0, 0, 0, 0.5);
}

.modal-thanks-title {
  font-weight: bold;
  font-size: 42px;
  margin-bottom: 8px;
  color: #fff;
  text-align: center;
  display: flex;
  align-items: center;
  justify-content: center;
  height: 100%;
  margin: 0;
  text-shadow: 0 2px 4px rgba(0, 0, 0, 0.3);
}

.modal-thanks-close {
  position: absolute;
  right: 20px;
  top: 16px;
  font-size: 28px;
  cursor: pointer;
  color: #fff;
}

@media (orientation: portrait) {
  .modal-thanks-content {
    position: fixed;
    top: 141%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 653px;
    height: 600px;
    max-width: 640px;
    max-height: 480px;
    background: #2d1850;
    border-radius: 36px;
    padding: 58px 40px;
    box-shadow: 0 20px 60px rgba(0, 0, 0, 0.6);
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    gap: 32px;
    text-align: center;
  }

  .modal-thanks-title {
    font-size: 48px;
    font-weight: 800;
    line-height: 1.2;
    text-shadow: 0 2px 6px rgba(0, 0, 0, 0.4);
  }

  .modal-thanks-close {
    font-size: 48px;
    position: absolute;
    top: 24px;
    right: 24px;
    color: #fff;
    cursor: pointer;
    transition: color 0.2s ease;
  }

  .modal-thanks-close:hover {
    color: #ff7f50;
  }
}

@media (orientation: portrait) {
  .logo {
    width: auto;
    height: 185px;
    object-fit: contain;
  }
}
@media (orientation: portrait) {
  .modal.show ~ .coins .coin-3 {
    display: none;
  }
}
@media (orientation: portrait) {
  .modal-thanks.show ~ .coins .coin-3 {
    display: none;
  }
}

.modal-form .input-group input,
.modal-form .input-group .modal-input {
  margin-bottom: 8px;
  width: 90%;
  max-width: 400px;
  margin: 0 auto 8px auto;
  display: block;
}

@media (orientation: portrait) {
  .modal-backdrop {
    display: none;
    position: fixed;
    top: -93px;
    left: -526px;
    bottom: 0;
    width: 329vw;
    height: 382vh;
    background: rgba(0, 0, 0, 0.6);
    z-index: 1000;
  }
  .modal.show .modal-backdrop {
    display: block;
  }
}
