 

* {
    box-sizing: border-box;
    -webkit-tap-highlight-color: transparent;
}

html, body {
    margin: 0;
    padding: 0;
    height: 100%;
    background: #0a0d12;
    color: #fff;
    font-family: -apple-system, BlinkMacSystemFont, "PingFang SC", "Helvetica Neue",
        Helvetica, "Microsoft YaHei", Arial, sans-serif;
    overflow: hidden;
    overscroll-behavior: none;
}

img {
    display: block;
    user-select: none;
    -webkit-user-drag: none;
}

a {
    text-decoration: none;
    color: inherit;
}

/* ---------- 页面容器 ---------- */
.page {
    position: relative;
    width: 100%;
    max-width: 540px;
    margin: 0 auto;
    height: var(--app-height, 100vh);
    height: var(--app-height, 100dvh);
    min-height: -webkit-fill-available;
    background: #0a0d12;
    display: flex;
    flex-direction: column;
    padding-top: env(safe-area-inset-top);
    padding-bottom: env(safe-area-inset-bottom);
}

/* ---------- 轮播容器 ---------- */
.carousel {
    position: relative;
    width: 100%;
    overflow: hidden;
    flex: 1 1 0;
    min-height: 0;
}

.swiper {
    width: 100%;
    height: 100%;
}

.swiper-slide {
    position: relative;
    overflow: hidden;
}

.slide__media {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.slide__img {
    width: 100%;
    flex: 1 1 50%;
    object-fit: cover;
    object-position: center top;
}

.slide__img--top {
    object-position: center bottom;
}

.slide__img--bottom {
    object-position: center top;
}

.slide__caption {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 1.6rem;                 /* 60px */
    padding: 0 0.64rem;             /* 0 24px */
    text-align: center;
    font-size: 0.42rem;           /* 16px */
    font-weight: 500;
    line-height: 1.5;
    color: #fff;
    letter-spacing: 0.0133rem;      /* 0.5px */
    text-shadow: 0 0.0533rem 0.2133rem rgba(0, 0, 0, 0.6); /* 0 2px 8px */
    z-index: 2;
}

.brand {
    position: absolute;
    top: 0.5rem;                 /* 71px */
    left: 0.6133rem;                /* 23px */
    width: 5.2267rem;               /* 196px */
    z-index: 10;
    pointer-events: none;
}

.brand img {
    display: block;
    width: 100%;
    height: auto;
    filter: drop-shadow(0 0.0533rem 0.16rem rgba(0, 0, 0, 0.5));
}

.swiper-pagination {
    bottom: 0.5867rem !important;   /* 22px */
}

.swiper-pagination-bullet {
    width: 0.1867rem;               /* 7px */
    height: 0.1867rem;
    margin: 0 0.1067rem !important; /* 间距 4px → gap ≈ 8px */
    background: rgba(255, 255, 255, 0.35);
    opacity: 1;
    transition: background 0.3s, transform 0.3s;
}

.swiper-pagination-bullet-active {
    background: #1ec28a;
    transform: scale(1.15);
}

.actions {
    flex: 0 0 auto;
    display: flex;
    justify-content: center;
    align-items: center;
    gap: 0.32rem;                   /* 12px */
    padding: 0.5333rem 0.5333rem 0.32rem; /* 20px 20px 12px */
    background: #000000;
}

.btn {
    flex: 0 0 auto;
    width: 2.9333rem;               /* 110px */
    height: 1.0667rem;              /* 40px */
    display: block;
    transition: transform 0.15s ease, opacity 0.15s ease;
}

.btn img {
    width: 100%;
    height: 100%;
    object-fit: contain;
}

.btn:active {
    transform: scale(0.96);
    opacity: 0.9;
}

body.is-android .btn--ios {
    display: none;
}

body.is-ios .btn--android {
    display: none;
}

.footer {
    flex: 0 0 auto;
    text-align: center;
    /*padding: 0.8733rem 0.5333rem 0.5867rem; */
    background: #000000;
    font-size: 0.32rem;             /* 12px */
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.55);
}

.footer__links a {
    color: rgba(255, 255, 255, 0.75);
    transition: color 0.2s;
}

.footer__links a:hover {
    color: #1ec28a;
}

.footer__sep {
    margin: 0 0.16rem;              /* 6px */
    color: rgba(255, 255, 255, 0.35);
}

.footer__copy {
    margin-top: 0.1067rem;          /* 4px */
    color: rgba(255, 255, 255, 0.45);
}


/* 小屏调整 */
@media (max-width: 360px) {
    .slide__caption {
        font-size: 0.3733rem;       /* 14px */
        bottom: 1.4933rem;          /* 56px */
    }
    .actions {
        gap: 0.2133rem;             /* 8px */
        padding: 0.4267rem 0.3733rem 0.2667rem; /* 16px 14px 10px */
    }
}


@media (min-width: 768px) {
    html {
        font-size: 42px !important;
    }
    body {
        background: #06080b;
    }
    .page {
        max-width: 420px;
        height: var(--app-height, 100vh);
        height: var(--app-height, 100dvh);
        box-shadow: 0 30px 80px rgba(0, 0, 0, 0.6);
    }
    .slide__caption {
        font-size: 0.3733rem;
    }
}

@media (min-width: 1200px) {
    .page {
        max-width: 460px;
    }
}
