body{
    width: 1920px; 
    height: 1080px; 
    position: relative; 
    background: radial-gradient(ellipse 149.95% 149.95% at 49.17% 114.44%, #EA00FF 0%, #081046 100%); 
    overflow: hidden;
    margin: 0;
    padding: 0;
    height: 100%;
    background: radial-gradient(ellipse 149.95% 149.95% at 49.17% 114.44%, #EA00FF 0%, #081046 100%);
}

html{
    margin: 0;
    padding: 0;
    height: 100%;
}


.main_container {
    width: 1478px;
    height: 829px;
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    align-items: center;
    justify-content: center;
    background: linear-gradient(156deg, #B104D0 0%, #3B0C70 100%);
    border-radius: 60px;
}

.krona-one-regular {
  font-family: "Krona One", sans-serif;
  font-weight: 400;
  font-style: normal;
}

.main_title{
    width: 1098px; 
    height: 159px; 
    left: 399px; 
    top: 381px; 
    position: absolute; 
    color: #DD00FF; 
    font-size: 128px; 
    font-family: Krona One; 
    font-weight: 400; 
    word-wrap: break-word;
}

.beta_button{
    width: 157px; 
    height: 73px; 
    left: 1469px; 
    top: 467px; 
    position: absolute; 
    background: linear-gradient(141deg, black 0%, #666666 100%); 
    border-radius: 20px;
}

.text_try_out{
    width: 545px; 
    height: 123px; 
    left: 694px; 
    top: 259px; 
    position: absolute; 
    color: white; 
    font-size: 96px; 
    font-family: Krona One; 
    font-weight: 400; 
    word-wrap: break-word;
}

.text_beta{
    width: 130px; 
    height: 41px; 
    left: 1483px; 
    top: 477px; 
    position: absolute; 
    color: white; 
    font-size: 40px; 
    font-family: Lexend Giga; 
    font-weight: 400; 
    word-wrap: break-word;
}

.text_1{
    width: 1019px; 
    height: 40px; 
    left: 450px; 
    top: 540px; 
    position: absolute;
}

.text_span_1{
    color: white; 
    font-size: 36px; 
    font-family: Krona One; 
    font-weight: 400; 
    word-wrap: break-word;
}

.text_2{
    width: 907px; 
    height: 97px; 
    left: 534px; 
    top: 605px; 
    position: absolute; 
    color: white; 
    font-size: 24px; 
    font-family: Krona One; 
    font-weight: 400; 
    word-wrap: break-word;
}

.start_button {
    width: 231px; 
    height: 72px; 
    position: absolute; 
    left: 844px; 
    top: 778px; 
    background: black; 
    border-radius: 30px;
    color: white;
    font-size: 20px;
    font-family: 'Krona One', sans-serif;
    text-align: center;
    line-height: 72px; /* выравнивает текст по центру */
    text-decoration: none;
    cursor: pointer;
    transition: background 0.5s ease;
}

.start_button:hover {
    background: linear-gradient(156deg, #B104D0 0%, #3B0C70 100%);
}

.text_start{
    width: 131px; 
    height: 35px; 
    left: 894px; 
    top: 800px; 
    position: absolute; 
    color: white; 
    font-size: 20px; 
    font-family: Krona One; 
    font-weight: 400; 
    word-wrap: break-word;
}

.container_1{
    position: relative;
    top: -65%;
    left: -65%;
}

.text_start a {
    color: inherit;           /* цвет такой же, как у родителя */
    text-decoration: none;    /* убираем подчеркивание */
    display: inline-block;    /* чтобы кликалась вся область текста */
}

.text_start a:hover {
    color: inherit;           /* чтобы при наведении цвет не менялся */
}

/* === Responsive scaler injection (preserves original design) === */
html, body {
  height: 100%;
}
body {
  margin: 0;
  padding: 0;
  overflow: hidden; /* без прокрутки, всё в масштабе */
  width: auto !important;   /* перекрываем фиксированную ширину */
  height: auto !important;  /* перекрываем фиксированную высоту */
}

/* Сцена фиксированного размера (оригинальный макет 1920x1080) */
#stage {
  position: fixed;          /* удобно центрировать через left/top */
  width: 1920px;
  height: 1080px;
  inset: 0;                 /* для корректного расчёта left/top через JS */
  margin: 0;
  transform-origin: top left;
  overflow: hidden;
}

/* Если у тебя был фон/позиционирование на body — перенёс его на #stage.
   Все абсолютные элементы по-прежнему позиционируются относительно #stage. */


   /* Плавное появление СНИЗУ */
@keyframes fadeInUp {
  0% { transform: translateY(40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.fadeInUp { animation: fadeInUp 2s ease forwards; }

/* Плавное появление СВЕРХУ */
@keyframes fadeInDown {
  0% { transform: translateY(-40px); opacity: 0; }
  100% { transform: translateY(0); opacity: 1; }
}
.fadeInDown { animation: fadeInDown 2s ease forwards; }

/* Плавное появление СЛЕВА */
@keyframes fadeInLeft {
  0% { transform: translateX(-40px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.fadeInLeft { animation: fadeInLeft 2s ease forwards; }

/* Плавное появление СПРАВА */
@keyframes fadeInRight {
  0% { transform: translateX(40px); opacity: 0; }
  100% { transform: translateX(0); opacity: 1; }
}
.fadeInRight { animation: fadeInRight 2s ease forwards; }
/* ====== MOBILE LAYOUT (<= 640px) ====== */
@media (max-width: 640px) {
  :root{
    --pad: 16px;
    --radius: 20px;
  }

  html, body {
    height: auto;
    min-height: 100dvh;
    overflow: auto;
    background: radial-gradient(120% 120% at 50% 0%, #EA00FF 0%, #081046 100%);
  }

  /* Отключаем «сцену 1920×1080» и её масштаб на мобилках */
  #stage{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    min-height: 100dvh;
    transform: none !important;
    left: auto !important;
    top: auto !important;
    inset: auto !important;
    padding: var(--pad);
    box-sizing: border-box;
  }

  .main_container{
    width: 100% !important;
    height: auto !important;
    border-radius: var(--radius);
    padding: calc(var(--pad) * 1.25);
    background: linear-gradient(156deg, #B104D0 0%, #3B0C70 100%);
    display: grid;
    grid-template-columns: 1fr;
    gap: 12px;
    justify-items: center;
    text-align: center;
    box-shadow: 0 8px 24px rgba(0,0,0,.35);
  }

  .container_1{
    position: static;
    top: auto; left: auto;
    width: 100%;
    display: grid;
    gap: 10px;
  }

  /* Заголовок */
  .main_title{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    margin: 0;
    color: #DD00FF;
    font-family: "Krona One", sans-serif;
    font-size: clamp(28px, 8vw, 44px);
    line-height: 1.1;
    letter-spacing: .5px;
    word-wrap: anywhere;
  }

  /* Подзаголовок TRY OUT */
  .text_try_out{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    color: #fff;
    font-family: "Krona One", sans-serif;
    font-size: clamp(16px, 5.5vw, 26px);
    opacity: .95;
  }

  /* BETA-чип */
  .beta_button{ display: none !important; } /* маленький серый прямоугольник прячем — на мобилке лишний */
  .text_beta{
    position: static !important;
    width: auto !important;
    height: auto !important;
    display: inline-block;
    padding: 4px 10px;
    margin: 2px auto 6px;
    color: #fff;
    font-family: "Lexend Giga", sans-serif;
    font-size: clamp(11px, 3.6vw, 14px);
    border: 1px solid #ffffff22;
    border-radius: 999px;
    background: #ffffff14;
    backdrop-filter: blur(4px);
  }

  /* Первая строка текста */
  .text_1{
    position: static !important;
    width: 100% !important;
    height: auto !important;
  }
  .text_span_1{
    display: block;
    color: #fff;
    font-family: "Krona One", sans-serif;
    font-size: clamp(14px, 4.6vw, 18px);
    line-height: 1.35;
  }

  /* Абзац с описанием */
  .text_2{
    position: static !important;
    width: 100% !important;
    height: auto !important;
    color: #eef;
    font-family: "Lexend Giga", sans-serif;
    font-size: clamp(12px, 4.2vw, 16px);
    line-height: 1.5;
    opacity: .92;
  }

  /* Кнопка */
  .start_button{
    position: static !important;
    width: 100% !important;
    max-width: 480px;
    height: auto !important;
    padding: 14px 16px;
    line-height: normal !important;
    border-radius: 14px;
    font-size: clamp(14px, 4.4vw, 18px);
    text-decoration: none;
    text-transform: uppercase;
    background: #000;
    color: #fff;
    border: 1px solid #ffffff22;
    transition: transform .08s ease, background .25s ease, box-shadow .25s ease;
    box-shadow: 0 6px 14px rgba(0,0,0,.35);
  }
  .start_button:hover{ background: #111; box-shadow: 0 8px 18px rgba(0,0,0,.4); }
  .start_button:active{ transform: translateY(1px) scale(.98); }

  /* Скрываем старый .text_start, если вдруг используется */
  .text_start{ display: none !important; }

  /* Анимации помягче на телефонах */
  .fadeInUp, .fadeInDown, .fadeInLeft, .fadeInRight{
    animation-duration: 900ms !important;
    animation-timing-function: cubic-bezier(.22,.61,.36,1);
  }

  /* Учитываем вырезы/жестовую панель iOS */
  .main_container{ padding-bottom: calc(env(safe-area-inset-bottom, 0px) + 18px); }
}

/* Доступность: если у пользователя выключены анимации — уважим */
@media (prefers-reduced-motion: reduce){
  .fadeInUp, .fadeInDown, .fadeInLeft, .fadeInRight{
    animation: none !important;
  }
}
