:root {
  --pink: #e0c8ff;
  --purple: #6f8fff;
  --blue: #0038ff;
}

@font-face {
  font-family: "Oddval";
  src: url(Oddval-SemiBold.ttf);
}

body {
  overflow-x: hidden;
  padding: 0;
  margin: 0;
  background: #000000;
  font-family: "Oddval";
  color: white;
  font-size: 16px;
}

html {
  overflow-x: hidden;
}

a,
button {
  all: unset;
  cursor: pointer;
  transition: all ease 0.15s;
}

input {
  all: unset;
}

.wrapper {
  width: 100%;
  max-width: 1200px;
  margin: 0 auto;
}

h1,
h2,
h3,
h4,
h5,
h6 {
  padding: 0;
  margin: 0;
}

.row {
  display: flex;
  flex-direction: row;
}

.col {
  display: flex;
  flex-direction: column;
}

.center {
  align-items: center;
}

.sb {
  justify-content: space-between;
}

.g8 {
  gap: 8px;
}
.g24 {
  gap: 24px;
}
.g36 {
  gap: 36px;
}
.g48 {
  gap: 48px;
}
.g96 {
  gap: 96px;
}

.menu a {
  opacity: 0.6;
}

.menu a:hover {
  opacity: 1;
}

.btn {
  width: fit-content;
  padding: 18px 64px;
  border-radius: 20px;
  font-size: 16px;
  background: linear-gradient(to right, var(--purple), var(--blue));
}

.btn:hover {
  transform: scale(1.1);
}

.btn__small {
  width: fit-content;
  font-size: 14px;
  padding: 8px 24px;
  background: white;
  color: black;
  border-radius: 20px;
}

.btn__small:hover {
  background: #030510;
  color: white;
}

.header {
  padding: 18px 0;
}

h1 {
  font-size: 72px;
  line-height: 100%;
}

#h1-1 {
  width: 100%;
  text-align: left;
  opacity: 0.4;
}

#h1-2 {
  width: 100%;
  text-align: right;
  opacity: 0.4;
  margin-bottom: 96px;
}

section {
  padding: 130px 0;
}

.mainscreen {
  background: url(../img/bg.png) no-repeat bottom center;
  background-size: cover;
  padding: 0;
}

.mainscreen .wrapper {
  position: relative;
}

.mainscreen__content {
  width: min-content;
  padding: 140px 0;
}

mark {
  all: unset;
}

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

h2 {
  font-size: 42px;
  text-align: center;
  margin-bottom: 36px;
}

.mibbo__img {
  position: absolute;
  right: -20px;
  top: 150px;
  width: 497px;
}

.cave {
  background: url(../img/cave-bg.png) no-repeat center center;
  background-size: contain;
}

.cave__content {
  max-width: 580px;
}

.cave__content h2 {
  text-align: left;
}

.dragons__content {
  display: grid;
  grid-template-columns: repeat(4, 1fr);
}

.race {
  position: relative;
}

.race__icon {
  width: 88px;
  position: absolute;
}

.reach__content {
  display: grid;
  gap: 24px;
  align-items: center;
  grid-template-columns: repeat(5, 1fr);
}

.reach__content img {
  width: 100%;
}

.mibbo-link:hover {
  transform: scale(1.1);
}

.roadmap {
  background: url(../img/roadmap-bg.png) no-repeat center center;
  background-size: cover;
}

.join {
  padding: 48px 0;
}

.join a {
  opacity: 0.7;
}

.join a:hover {
  opacity: 1;
}

input {
  background: #131313;
  padding: 20px;
  border-radius: 20px;
  width: 100%;
  box-sizing: border-box;
}

form {
  width: 100%;
  max-width: 380px;
}

.footer {
  font-size: 14px;
  margin-top: 96px;
}

.timeline {
  position: relative;
  width: 100%;
  max-width: 1000px;
  margin: 0 auto;
  padding: 100px 0;
}

.timeline-line {
  position: absolute;
  top: 0;
  left: 50%;
  width: 1px;
  height: 100%;
  background: white;
  transform: translateX(-50%);
  z-index: 1;
}

.rocket {
  position: absolute;
  width: 33px;
  top: 18%;
  left: 50%;
  transform: translate(-50%, -50%);
  z-index: 2;
}

/* Общий стиль для блоков */
.timeline-item {
  position: relative;
  width: 45%;
  padding: 20px;
  margin: 40px 0;
  z-index: 2;
}

.timeline-item.left {
  left: 0;
  text-align: right;
}

.timeline-item.right {
  left: 50%;
  text-align: left;
}

h3 {
  font-size: 24px;
  margin-bottom: 10px;
}

.timeline-item ul {
  padding-left: 0;
  list-style: none;
}

.timeline-item ul li::before {
  content: "– ";
  color: #fff;
}

#responseMessage.success {
  color: #5fffa3; /* Мятно-зеленый, яркий на темном фоне */
}

#responseMessage.error {
  color: #ff7070; /* Насыщенный красный */
}

@media screen and (max-width: 1240px) {
  .wrapper {
    max-width: 1040px;
  }

  h1 {
    font-size: 76px;
    line-height: 100%;
  }
}

@media screen and (max-width: 1060px) {
  .wrapper {
    max-width: 920px;
  }

  .mibbo__img {
    position: absolute;
    right: -20px;
    top: 150px;
    width: 400px;
  }

  .mainscreen__content {
    width: min-content;
    padding: 110px 0;
  }

  h1 {
    font-size: 56px;
    line-height: 100%;
  }

  h2 {
    font-size: 36px;
  }

  .cave {
    background-position: center right;
    background-position-x: 80%;
  }

  .dragons__content {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
  }

  .join__content {
    flex-direction: column;
    align-items: center;
    text-align: center;
    gap: 36px;
  }

  .contacts {
    align-items: center;
  }

  .footer {
    align-items: center;
    flex-direction: column;
    gap: 25px;
  }
}

@media screen and (max-width: 940px) {
  .wrapper {
    max-width: 750px;
  }
}

@media screen and (max-width: 770px) {
  .wrapper {
    max-width: 520px;
  }

  .menu {
    display: none;
  }

  body {
    text-align: center;
    font-size: 16px;
  }

  .reach__content {
    transform: scale(1.3) translateY(40px);
  }

  .mainscreen__content {
    width: 100%;
    padding: 110px 0;
    padding-top: 10px;
  }

  .mibbo__img {
    top: 230px;
    right: 50%;
    transform: translateX(50%) !important;
  }

  .btn {
    z-index: 99;
  }

  #h1-2 {
    margin-bottom: 400px;
  }
}

@media screen and (max-width: 540px) {
  .wrapper {
    max-width: 360px;
  }

  .logo {
    width: 42px;
  }

  h1 {
    font-size: 42px;
  }

  .cave__content {
    align-items: center;
  }

  .cave__content h2 {
    text-align: center;
  }

  .cave__content h2.pink {
    transform: translateY(-120%) !important;
    margin-bottom: 96px;
  }

  .race img {
    width: 100%;
  }

  .race__icon {
    width: 50px !important;
  }

  .reach__content {
    gap: 8px;
  }

  .btn {
    font-size: 14px;
  }

  .form {
    width: 100%;
    max-width: unset;
  }

  .timeline-line {
    position: absolute;
    top: 0;
    left: 0%;
    width: 1px;
    height: 100%;
    background: white;
    transform: translateX(-50%);
    z-index: 1;
  }

  .rocket {
    position: absolute;
    width: 33px;
    top: 18%;
    left: 0%;
    transform: translate(-50%, -50%);
    z-index: 2;
  }

  /* Общий стиль для блоков */
  .timeline-item {
    position: relative;
    width: auto;
    padding: 20px;
    margin: 40px 0;
    z-index: 2;
  }

  .timeline-item.left {
    left: 10px;
    text-align: left;
  }

  .timeline-item.right {
    left: 10px;
    text-align: left;
  }

  .mibbo__img {
    top: 200px;
    width: 300px;
  }

  #h1-2 {
    margin-bottom: 300px;
  }

  section {
    padding: 70px 0;
  }

  h2 {
    font-size: 24px;
  }
}

@media screen and (max-width: 365px) {
  .wrapper {
    max-width: 300px;
  }
}
