* {
    margin: 0px;
}

html,
body {
    min-height: 100vh;
    padding: 0px;
    background: linear-gradient(135deg, #4facfe 0%, #00f2fe 100%);
    background-attachment: fixed;
    font-family: 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', Arial, sans-serif;
    color: #fff;
    transition: background 0.6s;
}

#binglengdexiwang_logo {
    width: 500px;
    max-width: 90vw;
    padding: 70px 0 40px 0;
    opacity: 0;
    transform: translateY(-30px);
    animation: logoFadeIn 1.2s 0.2s cubic-bezier(.4, 1.4, .6, 1) forwards;
    display: block;
    margin: 0 auto;
    transition: all 0.3s ease;
    height: auto;
    object-fit: contain;
}

@keyframes logoFadeIn {
    to {
        opacity: 1;
        transform: none;
    }
}

/* 超宽屏幕优化 */
@media (min-width: 1400px) {
    #binglengdexiwang_logo {
        width: min(600px, 40vw);
        padding: 80px 0 50px 0;
    }
}

.righttoplink {
    line-height: 24px;
    font-size: 15px;
    color: #333;
    font-weight: 700;
    margin-left: 20px;
    text-align: right;
    text-decoration: none;
}

.myblog {
    display: inline;
    text-align: right;
}

.beian {
    position: fixed;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    text-align: center;
    font-size: 13px;
    color: #718096;
    margin: 0 0 18px 0;
    z-index: 10;
    background: none;
    border-radius: 0;
    padding: 0;
    box-shadow: none;
    transition: none;
    width: 100vw;
    max-width: 100vw;
}

.beian img {
    height: 18px;
    margin-right: 6px;
}

.beian span,
.beian a {
    color: #718096 !important;
    font-size: 13px;
    margin: 0;
    line-height: 20px;
}

.beian div {
    display: inline;
}

footer {
    clear: both;
    display: block;
    position: absolute;
    bottom: 100px;
}

.parentWrap {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    align-items: flex-start;
    gap: 32px;
    width: 90%;
    max-width: 1100px;
    margin: 0 auto;
    padding-bottom: 220px;
    min-height: 320px;
    animation: fadeInUp 1.2s 0.5s cubic-bezier(.4, 1.4, .6, 1) both;
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(40px);
    }

    to {
        opacity: 1;
        transform: none;
    }
}

.child {
    background: linear-gradient(120deg, #43e97b 0%, #38f9d7 100%);
    border-radius: 18px;
    box-shadow: 0 4px 24px 0 rgba(60, 80, 120, 0.10), 0 1.5px 4px 0 rgba(60, 80, 120, 0.04);
    color: #fff;
    font-size: 1.18rem;
    font-weight: 500;
    min-width: 160px;
    min-height: 80px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    transition: box-shadow 0.3s, transform 0.22s, color 0.22s, background 0.22s;
    user-select: none;
    outline: none;
    border: none;
    position: relative;
    overflow: hidden;
    will-change: transform, box-shadow;
    background-size: 200% 200%;
    flex: 1 1 220px;
    max-width: 320px;
    margin: 0;
    opacity: 0;
    transform: scale(0.3) translateX(-100px) translateY(-100px);
    animation: cardConverge 1.2s cubic-bezier(0.25, 0.46, 0.45, 0.94) forwards;
}

.child:nth-child(1) {
    animation-delay: 0.1s;
}

.child:nth-child(2) {
    animation-delay: 0.2s;
}

.child:nth-child(3) {
    animation-delay: 0.3s;
}

.child:nth-child(4) {
    animation-delay: 0.4s;
}

.child:nth-child(5) {
    animation-delay: 0.5s;
}

.child:nth-child(6) {
    animation-delay: 0.6s;
}

.child:nth-child(7) {
    animation-delay: 0.7s;
}

.child:nth-child(8) {
    animation-delay: 0.8s;
}

.child:nth-child(9) {
    animation-delay: 0.9s;
}

.child:nth-child(10) {
    animation-delay: 1.0s;
}

.child:nth-child(11) {
    animation-delay: 1.1s;
}

.child:nth-child(12) {
    animation-delay: 1.2s;
}

@keyframes cardConverge {
    0% {
        opacity: 0;
        transform: scale(0.3) translateX(-100px) translateY(-100px);
    }

    50% {
        opacity: 0.7;
        transform: scale(1.1) translateX(0) translateY(0);
    }

    100% {
        opacity: 1;
        transform: scale(1) translateX(0) translateY(0);
    }
}

.child:not(:empty):hover {
    box-shadow: 0 8px 32px 0 rgba(60, 80, 120, 0.16), 0 2px 8px 0 rgba(60, 80, 120, 0.08);
    color: #fff;
    background-position: 100% 0;
    background: linear-gradient(120deg, #38f9d7 0%, #43e97b 100%);
    transform: translateY(-4px) scale(1.045);
}

.child:active {
    transform: scale(0.97);
    background: linear-gradient(120deg, #43e97b 60%, #38f9d7 100%);
}

/* 平板横屏 */
@media (max-width: 1024px) and (min-width: 769px) {
    .parentWrap {
        gap: 24px;
        width: 95%;
        padding-bottom: 160px;
    }

    .child {
        flex: 1 1 200px;
        max-width: 280px;
        min-width: 180px;
        font-size: 1.1rem;
        min-height: 75px;
    }

    #binglengdexiwang_logo {
        width: min(400px, 85vw);
        padding: 60px 0 35px 0;
    }
}

/* 平板竖屏 */
@media (max-width: 768px) and (min-width: 601px) {
    .parentWrap {
        gap: 20px;
        width: 96%;
        padding-bottom: 140px;
    }

    .child {
        flex: 1 1 calc(50% - 10px);
        max-width: calc(50% - 10px);
        min-width: 160px;
        font-size: 1.05rem;
        min-height: 70px;
        padding: 0 12px;
    }

    #binglengdexiwang_logo {
        width: min(320px, 80vw);
        padding: 50px 0 30px 0;
    }
}

/* 大屏手机横屏 */
@media (max-width: 900px) and (min-width: 601px) and (orientation: landscape) {
    .parentWrap {
        gap: 16px;
        width: 98%;
        padding-bottom: 100px;
    }

    .child {
        flex: 1 1 calc(33.333% - 11px);
        max-width: calc(33.333% - 11px);
        min-width: 140px;
        font-size: 0.95rem;
        min-height: 65px;
        padding: 0 8px;
    }

    #binglengdexiwang_logo {
        width: min(320px, 75vw);
        padding: 35px 0 25px 0;
    }
}

/* 手机竖屏 */
@media (max-width: 600px) {
    body {
        font-size: 15px;
    }

    .parentWrap {
        gap: 16px;
        width: 92%;
        padding-bottom: 100px;
        align-items: stretch;
    }

    .child {
        flex: 1 1 calc(50% - 8px);
        max-width: calc(50% - 8px);
        min-width: calc(50% - 8px);
        font-size: 1rem;
        min-height: 60px;
        padding: 12px 8px;
        margin: 0;
        text-align: center;
        line-height: 1.3;
    }

    #binglengdexiwang_logo {
        width: min(320px, 70vw);
        padding: 40px 0 30px 0;
    }

    .beian {
        font-size: 12px;
        padding: 0 2vw;
        line-height: 18px;
    }

    .beian img {
        height: 14px;
    }
}

/* 小屏手机 */
@media (max-width: 480px) {
    .parentWrap {
        gap: 14px;
        width: 90%;
        padding-bottom: 90px;
    }

    .child {
        flex: 1 1 calc(50% - 7px);
        max-width: calc(50% - 7px);
        min-width: calc(50% - 7px);
        font-size: 0.9rem;
        min-height: 60px;
        padding: 10px 6px;
    }

    #binglengdexiwang_logo {
        width: min(320px, 65vw);
        padding: 35px 0 25px 0;
    }
}

/* 超小屏手机 - 单列布局 */
@media (max-width: 360px) {
    .parentWrap {
        flex-direction: column;
        align-items: center;
        gap: 12px;
        width: 88%;
        padding-bottom: 80px;
    }

    .child {
        flex: none;
        width: 85vw;
        max-width: 85vw;
        min-width: 85vw;
        font-size: 0.95rem;
        min-height: 60px;
        padding: 12px 8px;
    }

    #binglengdexiwang_logo {
        width: min(320px, 90vw);
        padding: 30px 0 20px 0;
    }

    .beian {
        font-size: 11px;
    }
}