* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

.main-bg {
    background-image: url("./static/bg.png");
    background-size: cover;
    background-repeat: repeat;
    background-position: center;
}

.content-container {
    display: flex;
    flex-direction: column;
    margin: 0 auto;
    padding: 0 20px;
    max-width: 1200px;
    width: 100%;
}

.ChangeLeader {
    display: flex;
    align-items: center;
    gap: 20px;
    padding-top: 10px;
    width: 100%;
    flex-wrap: wrap;
}

.li {
    color: gray;
    cursor: pointer;
}

.bold{
    color: black;
    font-weight: bold;
}

.content {
    display: flex;
    align-items: center;
    justify-content: space-around;
    gap: 30px;
    flex-wrap: wrap;
    padding: 50px 0;
    min-height: 80vh;
}

.column-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    animation: fadein 2s linear backwards;
    flex: 1;
    min-width: 300px;
    max-width: 450px;
}

.title {
    max-width: 450px;
    width: 100%;
    padding-bottom: 20px;
    border-bottom: 1px solid black;
}

.image {
    max-width: 250px;
    width: 100%;
    height: auto;
}

.text-img {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.download-container {
    display: flex;
    align-items: center;
    gap: 20px;
}

.download {
    max-width: 230px;
    width: 100%;
    height: auto;
    min-width: 150px;
}

.phone-container {
    display: flex;
    gap: 20px;
    flex: 1;
    justify-content: center;
    align-items: center;
    position: relative;
    max-width: 600px;
}

.phone {
    max-width: 280px;
    width: 100%;
    height: auto;
    min-width: 200px;
    filter: drop-shadow(0 10px 20px rgba(0,0,0,0.1));
}

.movedown {
    transform: translateY(100px);
    z-index: 1;
}

@keyframes fadein {
    from {
        transform: translateY(-100px);
        opacity: 0;
    }

    to {
        transform: scaleY(200px);
        opacity: 1;
    }
}

.second-row {
    display: flex;
    align-items: center;
    gap: 30px;
    margin-top: 200px;
    flex-wrap: wrap;
}

.Example {
    max-width: 400px;
    width: 100%;
    height: auto;
    flex: 1;
    min-width: 250px;
}

.text-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    min-width: 300px;
}

.H1 {
    max-width: 400px;
    width: 100%;
    height: auto;
}

.content-text {
    color: #666;
    font-family: "Source Han Sans CN";
    font-size: clamp(16px, 2.5vw, 20px);
    line-height: 1.6;
}

.normal {
    font-size: 16px;
}

.third {
    display: flex;
    gap: 30px;
    margin-top: 200px;
    flex-wrap: wrap;
}

.left {
    display: flex;
    flex-direction: column;
    gap: 30px;
    flex: 1;
    min-width: 300px;
}

.grid-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 20px;
}

.grid {
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.grid-icon {
    width: 60px;
    height: 60px;
}

.Example1 {
    max-width: 500px;
    width: 100%;
    height: auto;
    flex: 1;
    min-width: 250px;
}

.art-text {
    display: flex;
    align-items: center;
    justify-content: center;
    margin-top: 150px;
    padding-bottom: 50px;
    border-bottom: 1px solid #E1E1E1;
}

.art {
    max-height: 100px;
    width: 100%;
    height: auto;
}

.message-address {
    padding: 50px 0;
}

.message {
    display: flex;
    flex-direction: column;
    gap: 20px;
    margin: auto;
    align-items: center;
    color: #666;
    font-family: "Source Han Sans CN";
}

.record {
    display: flex;
    align-items: center;
}

.number {
    color: #4876FF;
    text-decoration: none;
}

.top {
    float: right;
    cursor: pointer;
}

.moveToR {
    animation: rtl 3s linear backwards;
    opacity: 1;
}

.removeToL {
    animation: ltr 3s linear backwards;
    opacity: 0;
}

@keyframes rtl {
    from {
        transform: translatex(100px);
        opacity: 0;
    }

    to {
        transform: translatex(0px);
        opacity: 1;
    }
}

@keyframes ltr {
    from {
        transform: translatex(0px);
        opacity: 1;
    }

    to {
        transform: translatex(100px);
        opacity: 0;
    }
}

.moveToUp {
    animation: dtu 3s linear backwards;
    opacity: 1;
}

.removeToDown {
    animation: utd 3s linear backwards;
    opacity: 0;
}

@keyframes dtu {
    from {
        transform: translateY(100px);
        opacity: 0;
    }

    to {
        transform: translateY(0px);
        opacity: 1;
    }
}

@keyframes utd {
    from {
        transform: translateY(0px);
        opacity: 0;
    }

    to {
        transform: translateY(100px);
        opacity: 1;
    }
}

/* 媒体查询 - 响应式设计 */

/* 平板设备 */
@media screen and (max-width: 768px) {
    .content-container {
        padding: 0 15px;
    }
    
    .ChangeLeader {
        gap: 15px;
        justify-content: center;
        text-align: center;
    }
    
    .li {
        font-size: 14px;
        padding: 5px 10px;
    }
    
    .content {
        flex-direction: column;
        gap: 40px;
        text-align: center;
        padding: 30px 0;
        min-height: auto;
    }
    
    .column-container {
        align-items: center;
        min-width: auto;
        max-width: 100%;
        order: 1;
    }
    
    .phone-container {
        order: 2;
        gap: 15px;
        max-width: 100%;
    }
    
    .phone {
        max-width: 220px;
        min-width: 160px;
    }
    
    .movedown {
        transform: translateY(30px);
    }
    
    .second-row {
        flex-direction: column;
        margin-top: 100px;
        text-align: center;
    }
    
    .third {
        flex-direction: column;
        margin-top: 100px;
    }
    
    .grid-list {
        grid-template-columns: 1fr;
    }
    
    .art-text {
        margin-top: 80px;
        padding-bottom: 30px;
    }
    
    .message {
        text-align: center;
        font-size: 14px;
    }
    
    .record {
        flex-direction: column;
        gap: 10px;
    }
}

/* 手机设备 */
@media screen and (max-width: 480px) {
    .content-container {
        padding: 0 10px;
    }
    
    .ChangeLeader {
        gap: 10px;
        flex-direction: row;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .li {
        font-size: 12px;
        padding: 8px 15px;
        border: 1px solid #ddd;
        border-radius: 20px;
        background: rgba(255, 255, 255, 0.8);
    }
    
    .content {
        gap: 30px;
        padding: 20px 0;
    }
    
    .column-container {
        gap: 20px;
        order: 1;
    }
    
    .phone-container {
        order: 2;
        gap: 10px;
    }
    
    .download-container {
        gap: 15px;
        align-items: center;
    }
    
    .download {
        min-width: 120px;
        max-width: 180px;
    }
    
    .phone {
        max-width: 160px;
        min-width: 120px;
    }
    
    .movedown {
        transform: translateY(20px);
    }
    
    .second-row {
        margin-top: 80px;
        gap: 20px;
    }
    
    .third {
        margin-top: 80px;
        gap: 20px;
    }
    
    .content-text {
        font-size: 14px;
    }
    
    .normal {
        font-size: 12px;
    }
    
    .grid {
        gap: 10px;
    }
    
    .grid-icon {
        width: 50px;
        height: 50px;
    }
    
    .art-text {
        margin-top: 60px;
        padding-bottom: 20px;
    }
    
    .art {
        max-height: 60px;
        width: 100%;
    }
    
    .message-address {
        padding: 30px 0;
    }
    
    .message {
        font-size: 12px;
        gap: 15px;
    }
    
    .top {
        width: 40px;
        height: auto;
    }
}

/* 超小屏幕设备 */
@media screen and (max-width: 320px) {
    .content-container {
        padding: 0 5px;
    }
    
    .column-container {
        gap: 15px;
    }
    
    .phone {
        max-width: 150px;
        min-width: 120px;
    }
    
    .download {
        min-width: 100px;
        max-width: 140px;
    }
    
    .content-text {
        font-size: 12px;
    }
    
    .normal {
        font-size: 11px;
    }
    
    .grid-icon {
        width: 40px;
        height: 40px;
    }
    
    .art {
        max-height: 50px;
    }
    
    .message {
        font-size: 10px;
    }
}
