@font-face {
    font-family: "Minecraft";
    src: url("../img/minecraft.ttf") format("truetype");
}

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

/* ====== Первый экран ====== */
.welcom {
    background: url("../img/bg.jpg") no-repeat center center/cover;
    min-height: 100vh;
    position: relative;
    color: #fff;
}

.container {
    width: 100%;
    height: 100%;
    position: absolute;
}

a {
    text-decoration: none;
}

.welcome_content {
    text-align: center;
    padding-top: 100px;
}

.main_title {
    font-family: "Minecraft", sans-serif;
    font-size: 6vw;
    line-height: 1.2;
    color: #9747FF;
    text-shadow: 0px 3px 0 #FFEB3B;
}

.small_text {
    font-size: 1.5vw;
    font-family: "Minecraft";
    background-color: #7D29EA;
    max-width: fit-content;
    margin-left: auto;
    margin-right: auto;
    border-radius: 10px;
    padding: 5px;
}

.bottom_left {
    margin-top: 8vw;
    margin-left: 9vw;
    color: #fff;
}

.info_text {
    background-color: #2f2e2e;
    padding: 3vw 2vw;
    font-size: 1.5vw;
    font-family: "Minecraft";
    color: #ffff;
    margin-bottom: 15px;
    max-width: 704px;
    font-weight: 200;
    border-radius: 10px;
    box-shadow: 2px 3px #9747FF;
}

.info_text .highlighted {
    color: #FFEB3B;
}

.download_btn {
    position: absolute;
    margin-top: 50px;
    color: #fff;
    background: #651BC5;
    font-size: 42px;
    border: none;
    max-width: 440px;
    max-height: 130px;
    padding: 20px 30px;
    font-family: "Minecraft";
    cursor: pointer;
}

/* ====== Второй экран (видеофон + гифка) ====== */
.video_section {
    position: relative;
    min-height: 100vh;
    overflow: hidden;
}

.bg_video {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    z-index: -4;
}

.dark_overlay {
    position: absolute;
    top: 0; 
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.7);
    z-index: -3;
}

.gif_overlay {
    position: absolute;
    top: 50%;
    left: 0;
    transform: translateY(-50%);
    margin-left: 20%;
    aspect-ratio: 344 / 596;
    width: clamp(150px, 20vw, 344px);
    background: url("../video/left-2.gif") center / cover;
    z-index: -2;
}

.video_container {
    position: absolute;
    width: 100%;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: flex-end; 
}

.right_content {
    display: flex;
    flex-direction: column;
    width: 50vw;
    margin-right: 3.5vw;
}

.title_second {
    font-family: "Minecraft";
    font-size: 5vw;
    color: #fff;
    width: 100%;
    margin-bottom: 20px;
}

.info_text2 {
    background-color: rgba(255, 255, 255, 0.2);
    padding: 2vw 2vw;
    border-radius: 10px;
    font-family: "Minecraft";
    font-size: 1.5vw;
    color: #fff;
    margin-bottom: 20px;
}

.yellow_word {
    color: #FFEB3B;
}

.download_btn2 {
    background: #651BC5;
    color: #fff;
    font-size: 2.5vw;
    border: none;
    width: 20vw;
    padding: 2vw 2vw;
    align-items: center;
    font-family: "Minecraft";
    cursor: pointer;
    border-radius: 10px;
}

/* ====== Третий экран ====== */
.third_section {
    position: relative;
    min-height: 100vh;
    background: url("../img/third_bg.jpg") no-repeat center center/cover;
}

.third_container {
    width: 100%;
    height: 100%;
    position: relative;
    padding: 60px 30px; 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
}

.third_heading {
    font-family: "Minecraft", sans-serif;
    font-size: 5.5vw;
    margin-top: 2vw;
    color: #fff;
    margin-bottom: 3vw;
    font-weight: 100;
    text-align: center;
}

.third_content {
    display: flex;
    justify-content: center; 
    align-items: flex-start; 
    gap: 20px; 
    flex-wrap: wrap; 
    margin-bottom: 30px; 
}

.info_text3 {
    background-color: rgba(255, 255, 255, 0.4); 
    padding: 2vw 2vw;
    border-radius: 10px;
    max-width: 40vw;
    box-shadow: 2px 3px #DDB099;
    position: relative;
    z-index: 1;
}

.features_list {
    list-style: none; 
    margin: 0;
    padding: 0 0 20px 0; 
}

.features_list li {
    position: relative;
    padding-left: 2vw;
    margin-bottom: 15px;
    font-family: "Minecraft";
    font-size: 24px;
    color: #fff;
}

.features_list li::before {
    content: "";
    position: absolute;
    left: 0;
    top: 0.4em;
    width: 12px;
    height: 12px;
    background-color: #fff; 
    border: 2px solid #9747FF; 
    border-radius: 2px;
}

.video_box {
    width: 518px; 
    height: 291px; 
    background-color: rgba(255,255,255,0.2); 
    border: 2px solid #DDB099; 
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 2px 3px #DDB099;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    margin-top: 50px;
    margin-left: -35px;
    z-index: 2;
}

.third_btn {
    display: inline-block;
    background: #651BC5;
    color: #fff;
    font-size: 32px;
    font-family: "Minecraft";
    padding: 20px 30px;
    border: none;
    border-radius: 8px;
    cursor: pointer;
    margin-bottom: 50px;
    margin-right: 30vw;
}

/* ====== Четвёртый экран ====== */
.fourth_section {
    min-height: 100vh;
    background: url("../img/fourth_bg.jpg") center center / cover no-repeat;
    display: flex; 
    justify-content: center; 
    position: relative;
    color: #fff;
}

.fourth_container {
    width: 100%;
    max-width: 1200px;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center; 
}

.fourth_heading {
    font-family: "Minecraft", sans-serif;
    font-size: 64px;
    margin-bottom: 40px;
    color: #fff;
    text-shadow: 2px 3px 0 #9747FF;
    background-color: rgba(255, 255, 255, 0.1);
    padding: 30px;
    border-radius: 10px;
}

.info_text4 {
    font-family: "Minecraft", sans-serif;
    font-size: 24px;
    line-height: 1.4;
    max-width: 1100px;
    margin: 0 auto;
}

.info_text4 .highlighted {
    color: #FFEB3B;
}

/* ====== Пятый экран ====== */
.fifth_section {
    min-height: 100vh;
    background: url("../img/fifth_bg.jpg") center center/cover no-repeat;
}

/* ====== Шестой экран (карусель) ====== */
.sixth_section {
    min-height: 100vh;
    /* Вместо фоновой картинки — или уберите вовсе:
       background: url("../img/sixth_bg.jpg") center/cover no-repeat; */
    display: flex;
    justify-content: center;
    position: relative;
    color: #fff;
    text-align: center;
    background-color: #171615; /* Тёмный фон */
  }
  
  .sixth_container {
    width: 100%;
    max-width: 80vw;
    margin: 0 auto;
    padding: 60px 30px;
    text-align: center;
  }
  
  .small_top_text {
    font-family: "Minecraft", sans-serif;
    font-size: 24px;
    margin-bottom: 40px;
  }
  
  .small_top_text .highlighted {
    color: #FFEB3B;
  }
  
  .slider_wrap {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 30px;
    gap: 0;
  }
  
  /* Большой прямоугольник фиксирован (800×500) */
  .slider_big_rect {
    width: 40vw;
    height: 23vw;
    background-color: rgba(255,255,255,0.2);
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    overflow: hidden;
    position: relative;
  }
  
  .main_slide {
    width: 100%;
    height: 100%;
    object-fit: cover; /* сохраняем пропорции, заполняя блок */
  }
  
  /* Стрелки */
  .arrow_btn {
    position: relative;
    background-color: rgba(255,255,255,0.2);
    border: none;
    border-radius: 8px;
    width: 80px;
    height: 80px;
    cursor: pointer;
    z-index: 2;
  }
  
  .arrow_btn span {
    color: #fff;
    font-size: 42px;
    font-family: "Minecraft";
    position: relative;
    z-index: 3;
  }
  
  /* Половина ширины — заход на слайд */
  .arrow_left {
    margin-right: -40px;
  }
  .arrow_right {
    margin-left: -40px;
  }
  
  /* Превьюшки снизу */
  .thumbnails {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
  }
  
  /* Фиксированный размер для всех превью */
  .thumb_item {
    width: 15vw;
    height: 10vw;
    border-radius: 8px;
    box-shadow: 0 0 5px rgba(0,0,0,0.4);
    overflow: hidden;
    cursor: pointer;
    opacity: 0.7;
    transition: 0.3s;
  }
  
  .thumb_item:hover {
    opacity: 1;
  }
  
  .thumb_item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
  }
  
  .thumb_item.active {
    opacity: 1;
    box-shadow: 0 0 10px #FFEB3B;
  }
  
  /* Кнопка под каруселью, отцентрованная */
  .center_btn {
    display: block;
    margin: 0 auto; /* по горизонтали в центр */
    margin-top: 46vw;
  }
  
  /* ====== Седьмой экран (цвет + отдельная картинка) ====== */
  .banner_small {
    min-height: 25vh; 
    background-color: #171615; /* просто цвет */
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
  }
  
  /* Картинка поверх */
  .banner_small img {
    /* Например, помещаем по центру. Меняйте под задачу */
    width: 100%;
    height: auto;
  }
  
.thank-you-page {
  background: url('../img/wallpaper_minecraft_caves_cliffs(part2)_1920x1080.png') no-repeat center center;
  background-size: cover;
  width: 100%;
  height: 100%;
  display: flex;
  justify-content: center;
  align-items: center;
}

.custom-text-5 {
  font-family: 'Minecraft Rus', sans-serif;
  font-size: 2vw;
  color: #ffffff;
  text-align: center;
  text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.7);
  max-width: 80%;
  padding: 2rem 4rem;
  background: rgba(23, 22, 21, 0.8);
}

/* ====== Адаптив ====== */
@media (max-width: 768px) {
    .main_title {
        font-size: 60px;
    }
    .download_btn {
        font-size: 28px;
        max-width: 300px;
        max-height: 90px;
    }
    .info_text2 {
        font-size: 20px;
        padding: 20px;
    }
    .download_btn2 {
        font-size: 24px;
    }
    .title_second {
        font-size: 40px;
    }
    .gif_overlay {
        width: 200px;
    }
    .right_content {
        width: 80%;
        margin-right: 20px;
    }
    .third_heading {
        font-size: 48px;
    }
    .arrow_btn {
        width: 50px;
        height: 50px;
        font-size: 24px;
    }
    .slider_big_rect {
        width: 300px;
        height: 200px;
    }
    .thumb_item {
        width: 60px;
        height: 40px;
    }
    .thumb_item img {
        object-fit: cover;
    }
    .fourth_heading {
        font-size: 36px;
        padding: 20px;
    }
}
