@font-face {
  font-family: 'Bicubik';
  src: url('{% static "fonts/Bicubik.otf" %}') format('opentype');
  font-weight: normal;
  font-style: normal;
}

html {
  overflow-x: hidden;
}

* {
  box-sizing: border-box;
  margin: 0;
  padding: 0;
}

body {
  font-family: 'Orbitron', sans-serif;
  background: linear-gradient(to bottom right, #011f4b, #090a2d);
  color: white;
  height: 100vh;
  overflow-x: hidden;
  display: block;
  /* display: flex;
    align-items: flex-start;
    justify-content: space-between; */
  padding: 40px;
  position: relative;
}

.corner-gradient {
  position: absolute;
  top: 0;
  left: 0;
  z-index: 0;
  /* ниже основного контента */
}

.corner-gradient img {
  width: auto;
  max-height: 300px;
  /* или нужная тебе высота */
  display: block;
}


.left-panel {
  max-width: 400px;
  border: 2px solid #e644ff;
  padding: 30px;
  border-radius: 12px;
  background-color: rgba(255, 255, 255, 0.05);
  z-index: 2;
  margin-top: 20px;
  /* margin-left: 220px; */
  margin: 20px auto;
  min-height: 200px;
}

.left-panel h1 {
  font-size: 32px;
  color: #f536ff;
  margin-bottom: 10px;
}

.left-panel h1 span {
  display: block;
  font-size: 18px;
  color: #ffffff;
  margin-top: 4px;
}

.left-panel .unlock-code {
  margin: 20px 0;
  font-size: 18px;
  color: white;
}

.left-panel input[type="text"] {
  width: 100%;
  padding: 12px;
  font-size: 16px;
  border-radius: 20px;
  border: none;
  margin-top: 15px;
  margin-bottom: 20px;
  background-color: #746E83;
  color: white;
}

.left-panel input[type="text"]::placeholder {
  color: #ffffff;
}

.left-panel button {
  max-width: 60%;
  align-content: center;
  padding: 12px;
  font-size: 16px;
  border-color: #f536ff;
  border-radius: 50px;
  background-color: #1c1e5500;
  color: white;
  cursor: pointer;
  transition: background 0.3s;
  margin-top: 10px;
}

.left-panel button:hover {
  background-color: #2e2f73;
}

.info {
  display: flex;
  flex-direction: column;
  align-items: center;
  text-align: center;
}


.right-panel {
  position: absolute;
  bottom: 0;
  right: 0;
  z-index: 1;
}

.right-panel img {
  height: auto;
  max-height: 100vh;
  min-height: 80vh;
}

.fintech {
  position: absolute;
  top: 5px;
  right: 40px;
}


.logo-text {
  position: absolute;
  top: 5px;
  right: 40px;
  font-size: 42px;
  color: #f536ff;
  z-index: 2;
}

.logo-text span {
  color: #aaa;
  font-weight: 400;
}

.bg-elements {
  position: absolute;
  bottom: 0;
  left: 0;
  z-index: 5;
}

.bg-elements img {
  display: block;
  width: auto;
  height: auto;
  max-width: 100%;
  max-height: 50vh;
  z-index: 5;

}

.gradients {
  position: fixed;
  top: 0;
  left: 0;
  width: 100%;
  height: 100%;
  z-index: 0;
  pointer-events: none; /* чтобы они не перекрывали клики */
}

.gradients .left-gradient {
  position: absolute;
  top: 0;
  left: 0;
  width: 400px;
  height: 400px;
  background: url('top-left-gradient.png') no-repeat;
  background-size: cover;
}

.gradients .right-gradient {
  position: absolute;
  bottom: 0;
  right: 0;
  width: 600px;
  height: 600px;
  background: url('robot-gradient.png') no-repeat;
  background-size: cover;
}


.block-image {
  text-align: center;
  margin-bottom: 0px;
  max-width: 100%;
}

.block-image img {
  max-width: 250px;
  width: 100%;
  height: auto;
  display: block;
  margin: 0 auto;
  transform: translateX(25%);
  /* смещаем на четверть */
  transition: transform 0.3s ease-in-out;
}

.left-section {
  display: flex;
  flex-direction: column;
  align-items: flex-start;
  /* выравниваем всё влево */
  padding-left: 40px;
  /* регулируй отступ от левого края */
  gap: 20px;
  /* расстояние между приветствием и панелью */
  margin-left: 170px;
}

.left-panel {
  margin: 0;
}




@media (max-width: 768px) {

  .left-section {
    padding-left: 0px;
    /* регулируй отступ от левого края */
    gap: 20px;
    /* расстояние между приветствием и панелью */
    margin-left: 0px;
  }

  .block-image {
    text-align: center;
    margin: 0px;
    max-width: 100%;
  }

  .block-image img {
    max-width: 250px;
    width: 100%;
    height: auto;
    display: block;
    margin: 0;
    margin-top: 25px;
    transform: translateX(10%);
    /* смещаем на четверть */
    transition: transform 0.3s ease-in-out;

  }

  .left-section {
    position: relative;
    z-index: 2;


  }

  .left-panel {
    max-width: 400px;
    border: 2px solid #e644ff;
    padding: 10px;
    border-radius: 12px;
    background-color: rgba(255, 255, 255, 0.05);
    z-index: 2;
    margin-top: 0px;
    margin-left: 0px;
    min-height: 200px;
    position: relative;
  }

  .fintech {
    position: absolute;
    top: 5px;
    left: 20px;
    font-size: 42px;
    color: #f536ff;
    z-index: 2;
  }

  .fintech img {
    max-width: 150px;
  }

  .block-header {
    position: absolute;
    top: 5px;
    right: 20px;
    font-size: 42px;
    color: #f536ff;
    z-index: 2;
  }

  .block-header img {
    max-width: 150px;
  }

  .info {
    margin-top: 10px;
    z-index: 2;
  }

  .info button {
    margin-top: 15px;
    margin-bottom: 20px;
    position: relative;
    z-index: 100;
  }

  .right-panel {
    z-index: 5;
    pointer-events: none;
  }

  .right-panel img {
    height: auto;
    max-height: 50vh;
    min-height: 15vh;
    z-index: 5;
    pointer-events: none;
  }

  .bg-elements img {
    max-width: 100%;
    max-height: 18vh;
  }
}

@media (max-height: 926px) {
  .right-panel {
    z-index: 5;
  }

  .right-panel img {
    height: auto;
    max-height: 55vh;
    min-height: 15vh;
    z-index: 5;
  }
}

@media (max-height: 896px) {
  .right-panel {
    z-index: 5;
  }

  .right-panel img {
    height: auto;
    max-height: 50vh;
    min-height: 15vh;
    z-index: 5;
  }
}

@media (max-height: 830px) {
  .right-panel {
    z-index: 5;
  }

  .right-panel img {
    height: auto;
    max-height: 45vh;
    min-height: 15vh;
    z-index: 5;
  }
}