﻿*,
*::before,
*::after {
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    font-size: calc(100vw / 3.75);
    -webkit-text-size-adjust: 100%;
}

body {
    font-family: "PingFang SC", "Microsoft YaHei", "Helvetica Neue", sans-serif;
    background: #060a14;
    color: #fff;
    min-height: 100dvh;
    overflow-x: hidden;
}

img {
    display: block;
    max-width: 100%;
    height: auto;
}

.page {
    position: relative;
    width: 100vw;
    min-height: 100dvh;
    margin: 0 auto;
    overflow-x: hidden;
    background:
        radial-gradient(ellipse 80% 40% at 50% 0%, rgba(90, 40, 180, 0.22), transparent),
        radial-gradient(ellipse 60% 30% at 100% 30%, rgba(0, 140, 255, 0.12), transparent),
        linear-gradient(180deg, #0a0f1f 0%, #060a14 100%);
}

.landing {
    width: 100%;
    padding-bottom: calc(1.1rem + env(safe-area-inset-bottom, 0px));
}

.landing-visual {
    width: 100%;
    height: auto;
}

.footer {
    position: fixed;
    left: 0;
    right: 0;
    bottom: calc(0.24rem + env(safe-area-inset-bottom, 0px));
    z-index: 20;
    padding: 0 0.28rem;
    pointer-events: none;
}

.btn-download {
    display: block;
    width: 71%;
    margin: 0 auto;
    padding: 0.13rem 0;
    text-align: center;
    text-decoration: none;
    font-size: 0.19rem;
    font-weight: 700;
    line-height: 1.25;
    color: #fff;
    letter-spacing: 0.03rem;
    border-radius: 999px;
    background: linear-gradient(90deg, #00b4ff 0%, #5b6fe8 52%, #a855f7 100%);
    box-shadow:
        0 0.04rem 0.2rem rgba(0, 180, 255, 0.45),
        0 0 0.36rem rgba(139, 92, 246, 0.3);
    pointer-events: auto;
    transition: transform 0.15s ease;
}

.btn-download:active {
    transform: scale(0.98);
}

@media (min-width: 431px) {
    html {
        font-size: calc(430px / 3.75);
    }

    body {
        background: #04060c;
        padding: 0.12rem 0;
    }

    .page {
        width: 100%;
        max-width: 430px;
        box-shadow: 0 0 0.5rem rgba(0, 0, 0, 0.6);
        border-radius: 0.06rem;
    }

    .footer {
        max-width: 430px;
        left: 50%;
        right: auto;
        transform: translateX(-50%);
    }
}

@media (max-height: 700px) {
    .landing {
        padding-bottom: calc(0.95rem + env(safe-area-inset-bottom, 0px));
    }

    .footer {
        bottom: calc(0.16rem + env(safe-area-inset-bottom, 0px));
    }

    .btn-download {
        padding: 0.11rem 0;
        font-size: 0.17rem;
    }
}
