body{
    margin:0;
    font-family:Arial, Helvetica, sans-serif;
    background:url(images/bg.jpg) center/cover no-repeat fixed;
    min-height:100vh;
    display:flex;
    justify-content:center;
    align-items:center;
    padding: 20px;
    box-sizing: border-box;
}

.lang{
    position:absolute;
    top:20px;
    right:20px;
    z-index: 10;
}
.lang img{
    width:36px;
    cursor:pointer;
}

/* 核心修改：缩小卡片默认尺寸 */
.card{
    width: 80%; /* 从90%改为80%，整体更窄 */
    max-width: 360px; /* 从400px改为360px，限制最大宽度 */
    background:rgba(101, 101, 101, 0.101);
    border:1px solid rgba(112, 112, 112, 0.286);
    border-radius:40px;
    padding:22px 30px; /* 从28px 40px改为22px 30px，减少内边距 */
    box-shadow:0 10px 30px rgba(0,0,0,0.08);
    position: relative;
}

.logo{
    width:130px; /* 从150px改为130px，缩小logo */
    display: block;
    margin: 0 auto 10px;
}

.title-row{
    display:flex;
    justify-content:space-between;
    margin-bottom:10px;
}
.title-row h3{
    color:#4b4cff;
    font-weight:600;
    font-size:17px; /* 从18px改为17px，微调标题大小 */
}

.description {
    font-size: 12px;
    line-height: 1.4;
    color: #0000FF;
    text-align: justify;
    text-justify: inter-word;
    margin-top: 0;
    margin-bottom: 20px;
    font-family: Arial, Helvetica, sans-serif;
    font-weight: 400;
    letter-spacing: 0;
    word-spacing: 0;
}

.buttons{
    display: flex;
    flex-direction: column;
    gap: 15px;
    width: 100%;
    align-items: flex-start;
}

.row{
    display: flex;
    align-items: center;
    width: fit-content;
}

.row:nth-child(3),
.row:nth-child(5){
    margin-left: 45px; /* 从50px改为45px，缩小偏移量 */
}

.btn{
    display: flex;
    align-items: center;
    padding:7px 12px;
    border-radius:50px;
    color:white;
    font-size:13px;
    text-decoration: none;
    background:linear-gradient(90deg,#4b43ff 0%,#6d7bff28 100%);
    flex: 1;
    min-width: 200px; /* 从230px改为200px，缩小按钮最小宽度 */
}

.row:nth-child(2) .btn,
.row:nth-child(4) .btn{
    min-width: 160px; /* 从180px改为160px，同步缩小 */
}

.circle{
    margin: 0 12px 0 0;
    width:36px; /* 从40px改为36px，缩小圆形图标 */
    height: 36px; /* 同步缩小高度 */
    animation:spin 12s linear infinite;
    flex-shrink: 0;
}

.right-icon{
    width: 26px; /* 从30px改为26px，缩小右侧图标 */
    margin-left: 8px;
    flex-shrink: 0;
    cursor: pointer;
}

.copy-btn {
    flex: 1;
    background: none;
    border: none;
    color: #ffffff;
    font-size: 12px;
    font-weight: 500;
    text-align: center;
    cursor: pointer;
    padding: 0;
    font-family: 'Arial', 'Helvetica', sans-serif;
    letter-spacing: 0.3px;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

@keyframes spin{
    from{transform:rotate(0deg);}
    to{transform:rotate(360deg);}
}

/* 手机端进一步优化（核心修改） */
@media (max-width: 768px) {
    body {
        /* 1. 增加页面和卡片的缝隙 */
        padding: 25px;
        min-height: 100vh;
        overflow: hidden;
        display: flex;
        justify-content: center;
        align-items: center;
    }

    .card {
        width: 85%;
        max-width: 360px;
        /* 2. 增加内容和卡片边框的距离 */
        padding: 28px 26px;
        border-radius: 30px;
        margin: 0;
        /* 3. 轻微上移，解决偏下问题 */
        margin-top: -80px;
    }

    .lang {
        top: 15px;
        right: 15px;
    }
    .lang img {
        width: 30px;
    }

    .logo {
        width: 110px;
        margin-bottom: 8px;
    }

    .title-row h3 {
        font-size: 15px;
        margin-top: 0;
        margin-bottom: 10px;
    }

    .description {
        font-size: 11px;
        line-height: 1.4;
        margin-bottom: 20px;
    }

    .buttons {
        display: flex;
        flex-direction: column;
        gap: 10px;
        width: 100%;
        align-items: flex-start;
        padding-left: 5px;
    }

    .row {
        display: flex;
        align-items: center;
        width: fit-content;
    }

    .row:nth-child(3),
    .row:nth-child(5) {
        margin-left: 35px;
    }

    .circle {
        width: 32px;
        height: 32px;
        margin-right: 8px;
        flex-shrink: 0;
    }

    .row:nth-child(1) .btn,
    .row:nth-child(3) .btn,
    .row:nth-child(5) .btn {
        width: 190px;
        padding: 6px 10px;
        font-size: 11px;
    }

    .row:nth-child(2) .btn {
        width: calc(190px - 28px);
        padding: 6px 10px;
        font-size: 11px;
    }

    .row:nth-child(4) .btn {
        width: calc(190px - 56px);
        padding: 6px 10px;
        font-size: 11px;
    }

    .right-icon {
        width: 22px;
        margin-left: 6px;
        flex-shrink: 0;
    }

    .copy-btn {
        font-size: 10px;
    }
}