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

html, body {
    width: 100%;
    height: 100%;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    background-color: #000;
    max-width: 600px;
    margin: 0 auto;
}

.container {
    width: 100%;
    height: 100%;
    background: url('../img/bg.png') no-repeat center center;
    background-size: cover;
    position: relative;
}

.overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.3);
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 10% 5%;
}

.top-section {
    width: 80%;
    display: flex;
    flex-direction: column;
    align-items: center;
    margin-top: 20%;
    margin-bottom: 10%;
}

.logo-img {
    width: 80px;
    height: 80px;
    border-radius: 16px;
    background: #fff;
    object-fit: cover;
    margin-bottom: 16px;
    box-shadow: 0 2px 6px rgba(255, 255, 255, 0.2);
}

.main-title {
    font-size: 2rem;
    color: #fff;
    font-weight: bold;
    text-align: center;
    margin-bottom: 8px;
}

.domain-box {
    border: 1px solid #d3ff00;
    color: #d3ff00;
    padding: 4px 10px;
    font-size: 0.875rem;
    border-radius: 6px;
    text-align: center;
}

.button-group {
    width: 80%;
    display: flex;
    flex-direction: column;
    gap: 16px;
    margin-top: auto;
    margin-bottom: 20px;
}

.btn {
    display: flex;               /* 横向排列 */
    align-items: center;         /* 垂直居中 */
    padding: 14px 20px;
    border-radius: 32px;
    font-size: 1rem;
    font-weight: bold;
    color: #fff;
    text-decoration: none;
    position: relative;
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.3);
    transition: transform 0.2s ease;
}


.btn:hover {
    transform: translateY(-2px);
}

.btn img {
    width: 24px;
    height: 24px;
    margin-right: 12px;          /* 图标和文字间距 */
    flex-shrink: 0;              /* 防止图标缩小 */
}

.label {
    position: absolute;
    top: -10px;
    right: 16px;
    background-color: #ffff00;
    color: #000;
    font-size: 10px;
    padding: 2px 6px;
    border-radius: 6px;
}

.btn-text {
    display: flex;
    flex-direction: column;
    line-height: 1.2;
    justify-content: center;     /* 文字上下居中 */
    align-items: center;         /* 文字左右居中 */
    flex: 1;
}

.main-line {
    font-size: 1rem;
    font-weight: bold;
}

.sub-line {
    font-size: 0.75rem;
    color: #eee;
    margin-top: 2px;
    white-space: nowrap;  /* 不换行，保持一行 */
}



.btn-h5 { background-color: #ff4081; }
.btn-download { background-color: #2196f3; }
.btn-install { background-color: #ff9800; }

@media (min-width: 768px) {
    .logo-icon {
        width: 100px;
        height: 100px;
        font-size: 2.5rem;
    }

    .main-title {
        font-size: 2.5rem;
    }

    .btn {
        font-size: 1.1rem;
        padding: 16px 24px;
    }

    .btn img {
        width: 28px;
        height: 28px;
    }

    .label {
        font-size: 12px;
    }
}
