@import url('https://fonts.googleapis.com/css2?family=Mulish:ital,wght@0,200..1000;1,200..1000&display=swap');

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Mulish", Arial, Helvetica, sans-serif;
}

html {
    scroll-behavior: smooth;
}

body {
    background: #0f172a;
    color: #e5e7eb;
    line-height: 1.6;
}

.top-header {
    background: #020617;
    padding: 20px 60px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.bottom-footer {
    width: 100%;
    background: #020617;
    padding: 30px 20px;

    display: flex;
    justify-content: center;
    align-items: center;
    text-align: center;
}

.bottom-footer h4 {
    color: #94a3b8;
    font-weight: normal;
}

.scroll-btn {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.scroll-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 30px rgba(56, 189, 248, 0.35);
}

.right-header a {
    position: relative;
    text-decoration: none;
    margin-left: 30px;

    font-size: 16px;
    font-weight: 600;
    letter-spacing: 0.5px;
    color: #e5e7eb;

    padding: 5px 0;
    transition: color 0.3s ease;
}

.right-header a::after {
    content: "";
    position: absolute;
    left: 50%;
    bottom: 0;

    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #38bdf8, #7dd3fc);

    transform: translateX(-50%);
    transition: width 0.35s ease;
}

.right-header a:hover {
    color: #38bdf8;
}

.right-header a:hover::after {
    width: 100%;
}

main {
    max-width: 1200px;
    margin: 0 auto;
}

.main_content {
    position: relative;
    text-align: center;
    padding: 140px 20px;
    overflow: hidden;
}

.main_content::before,
.main_content::after {
    content: "";
    position: absolute;
    top: 65%;
    transform: translateY(-50%);
    width: 500px;
    height: 500px;

    background-size: contain;
    background-repeat: no-repeat;
    opacity: 0.9;
    pointer-events: none;
}

/* Правая картинка */
.main_content::after {
    right: -180px;
    background-image: url("../images/1.png");
}

.main_content h1 {
    font-size: 52px;
    margin-bottom: 20px;
    color: #38bdf8;
}

.main_content p {
    max-width: 650px;
    margin: 0 auto 40px;
    font-size: 18px;
    color: #cbd5f5;
}

.main_content a {
    display: inline-block;
    background: #38bdf8;
    color: #020617;
    padding: 15px 45px;
    font-size: 18px;
    font-weight: bold;
    border-radius: 10px;
    text-decoration: none;
    transition: 0.3s;
}

.main_content a:hover {
    background: #7dd3fc;
}

.description {
    display: flex;
    flex-direction: column;
    gap: 70px;
    padding: 80px 40px;
}

.description > div {
    max-width: 50%;
}

.left-disc {
    align-self: flex-start;
    text-align: left;
}

.right-disc {
    align-self: flex-end;
    text-align: right;
}

.description h2 {
    font-size: 28px;
    font-weight: bold;
    color: #38bdf8;
    position: relative;
    padding-bottom: 15px;
    margin-bottom: 20px;
}

.description h2::after {
    content: "";
    position: absolute;
    left: 0;
    bottom: 0;
    width: 80px;
    height: 3px;
    background: linear-gradient(90deg, #38bdf8, transparent);
    border-radius: 2px;
}

.right-disc h2::after {
    left: auto;
    right: 0;
    background: linear-gradient(270deg, #38bdf8, transparent);
}

.description p {
    font-size: 17px;
    color: #cbd5f5;
    line-height: 1.7;
}

.promo-video {
    text-align: center;
    padding: 60px 20px;
}

.promo-video h2 {
    font-size: 28px;
    color: #38bdf8;
    margin-bottom: 30px;
}

.video-wrapper {
    max-width: 900px;        /* ограничиваем ширину */
    margin: 0 auto;
    aspect-ratio: 16 / 9;    /* правильные пропорции */
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 50px rgba(56, 189, 248, 0.15);
}

.video-wrapper iframe {
    width: 100%;
    height: 100%;
    border: none;
}

.under-development {
    font-size: 48px;
    color: #FFFFFF;
    font-weight: bold;
    text-align: center;
}

.download-game {
    text-align: center;
    padding: 80px 20px;
}

.download-game h3 {
    margin-bottom: 30px;
    font-size: 28px;
}

.download-game a {
    display: inline-block;
    margin: 10px;
    padding: 15px 40px;
    border: 2px solid #38bdf8;
    border-radius: 10px;
    text-decoration: none;
    color: #38bdf8;
    font-weight: bold;
    transition: 0.3s;
    width: 160px;
    text-align: center;
}

.download-game a:hover {
    background: #38bdf8;
    color: #020617;
}

.download-buttons {
    display: flex;
    justify-content: center;
    gap: 20px;
}

/* Кнопка копирования IP */
.copy-ip-btn {
    display: block;
    margin: 25px auto 0;

    width: 360px;

    padding: 16px 0;

    background: transparent;
    border: 2px dashed #38bdf8;
    border-radius: 12px;

    color: #38bdf8;
    font-size: 16px;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 1px;

    cursor: pointer;
    transition: background 0.3s ease, color 0.3s ease, box-shadow 0.3s ease;
}

.copy-ip-btn span {
    transition: opacity 0.3s ease;
}

.copy-ip-btn:hover {
    background: #38bdf8;
    color: #020617;
    box-shadow: 0 12px 30px rgba(56, 189, 248, 0.35);
}

@media (max-width: 500px) {
    .copy-ip-btn {
        width: 100%;
    }
}

@media (max-width: 900px) {
    .main_content::before,
    .main_content::after {
        display: none;
    }
}

@media (max-width: 1024px) {
    .top-header {
        padding: 20px 30px;
    }

    .main_content {
        padding: 100px 20px;
    }

    .main_content h1 {
        font-size: 42px;
    }

    .main_content p {
        font-size: 16px;
    }

    .description {
        padding: 60px 20px;
        gap: 50px;
    }

    .description > div {
        max-width: 60%;
    }

    .promo-video {
        padding: 40px 20px;
    }

    .video-wrapper {
        max-width: 700px;
    }

    .download-game {
        padding: 60px 20px;
    }
}

@media (max-width: 768px) {
    .top-header {
        flex-direction: column;
        text-align: center;
    }

    .right-header a {
        margin: 10px;
    }

    .main_content h1 {
        font-size: 36px;
    }

    .description > div {
        max-width: 100%;
    }

    .left-disc,
    .right-disc {
        text-align: center;
    }

    .description h2::after {
        left: 50%;
        transform: translateX(-50%);
    }

    .right-disc h2::after {
        left: 50%;
        right: auto;
        transform: translateX(-50%);
        background: linear-gradient(90deg, #38bdf8, transparent);
    }

    .download-game h3 {
        font-size: 24px;
    }

    .download-buttons {
        flex-wrap: wrap;
    }
}