.invite-code {
    font-size: 24px;
    font-weight: 800;
    text-align: center;
    margin: 6px 0 0 0;
    cursor: pointer;

    background: linear-gradient(
        270deg, 
        #ff0000, #ff7f00, #ffff00, #00ff00, #0000ff, #8b00ff, #ff00ff
    );
    background-size: 400% 400%;
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;

    animation: rainbowWave 6s ease infinite;
    letter-spacing: 2px;
    text-shadow: 0 1px 4px rgba(0,0,0,0.2);
}

@keyframes rainbowWave {
    0%   { background-position: 0% 50%; }
    50%  { background-position: 100% 50%; }
    100% { background-position: 0% 50%; }
}

.toast {
    position: fixed;
    bottom: 15%;
    left: 50%;
    transform: translateX(-50%);
    background: rgba(0,0,0,0.75);
    color: #fff;
    padding: 10px 18px;
    border-radius: 8px;
    font-size: 14px;
    opacity: 0;
    pointer-events: none;
    transition: opacity 0.3s, bottom 0.3s;
}

.toast.show {
    opacity: 1;
    bottom: 20%;
}

* {
    box-sizing: border-box;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale
}

*,body {
    margin: 0;
    padding: 0
}

body {
    font-family: -apple-system,BlinkMacSystemFont,Segoe UI,Roboto,Oxygen,Ubuntu,Cantarell,Open Sans,Helvetica Neue,sans-serif;
    background-color: #f5f5f7;
    color: #1d1d1f;
    line-height: 1.5
}

.container {
    width: 100%;
    padding: 20px;
    margin: 0 auto;
    max-width: 1200px
}

header {
    text-align: center;
    padding: 30px 0
}

.app-icon {
    width: 120px;
    height: 120px;
    margin: 0 auto 20px;
    border-radius: 24px;
    overflow: hidden;
    box-shadow: 0 4px 20px rgba(0,0,0,.1)
}

.app-icon img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

h1 {
    font-size: 32px;
    font-weight: 600;
    margin-bottom: 8px
}

.subtitle {
    font-size: 17px;
    color: #86868b;
    margin-bottom: 24px
}

.download-btn {
    display: inline-block;
    background-color: #0071e3;
    color: #fff;
    font-size: 17px;
    font-weight: 500;
    padding: 12px 24px;
    border-radius: 20px;
    text-decoration: none;
    margin-bottom: 30px;
    transition: all .2s ease
}

.download-btn:hover {
    background-color: #0077ed;
    transform: translateY(-2px)
}

.section {
    background-color: #fff;
    border-radius: 16px;
    padding: 24px;
    margin-bottom: 24px;
    box-shadow: 0 2px 10px rgba(0,0,0,.05)
}

h2 {
    font-size: 24px;
    font-weight: 600;
    margin-bottom: 16px
}

.features {
    display: grid;
    grid-template-columns: 1fr;
    gap: 16px
}

.feature {
    display: flex;
    align-items: flex-start;
    gap: 16px
}

.feature-icon {
    width: 40px;
    height: 40px;
    background-color: #f5f5f7;
    border-radius: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    flex-shrink: 0
}

.feature-icon svg {
    width: 24px;
    height: 24px;
    fill: #0071e3
}

.feature-text h3 {
    font-size: 17px;
    font-weight: 600;
    margin-bottom: 4px
}

.feature-text p {
    font-size: 15px;
    color: #86868b
}

.screenshots {
    display: flex;
    overflow-x: auto;
    gap: 16px;
    padding: 8px 0;
    scroll-snap-type: x mandatory;
    -webkit-overflow-scrolling: touch
}

.screenshot {
    flex: 0 0 auto;
    width: 200px;
    height: 400px;
    background-color: #f5f5f7;
    border-radius: 16px;
    overflow: hidden;
    scroll-snap-align: start;
    box-shadow: 0 2px 10px rgba(0,0,0,.1)
}

.screenshot img {
    width: 100%;
    height: 100%;
    -o-object-fit: cover;
    object-fit: cover
}

.requirements {
    list-style: none
}

.requirements li {
    padding: 8px 0;
    border-bottom: 1px solid #f5f5f7;
    font-size: 15px
}

.requirements li:last-child {
    border-bottom: none
}

footer {
    text-align: center;
    padding: 30px 0
}

.version,footer {
    font-size: 13px;
    color: #86868b
}

.version {
    margin-top: 8px
}

@media (min-width: 480px) {
    .container {
        padding:24px
    }

    .screenshot {
        width: 220px;
        height: 440px
    }
}

@media (min-width: 768px) {
    .container {
        padding:32px
    }

    .features {
        grid-template-columns: repeat(2,1fr)
    }

    .screenshot {
        width: 240px;
        height: 480px
    }

    h1 {
        font-size: 36px
    }

    h2 {
        font-size: 28px
    }

    .subtitle {
        font-size: 19px
    }
}

@media (min-width: 1024px) {
    .container {
        padding:40px
    }

    .features {
        grid-template-columns: repeat(3,1fr)
    }

    .section {
        padding: 32px
    }

    .app-info {
        display: flex;
        align-items: center;
        justify-content: center;
        gap: 40px;
        margin-bottom: 40px
    }

    .app-details {
        text-align: left
    }

    header {
        padding: 40px 0
    }

    .screenshots-container {
        overflow: hidden
    }

    .screenshots {
        display: grid;
        grid-template-columns: repeat(auto-fit,minmax(200px,1fr));
        gap: 24px;
        overflow: visible
    }

    .screenshot {
        width: 100%;
        height: 0;
        padding-bottom: 200%;
        position: relative
    }

    .screenshot img {
        position: absolute;
        top: 0;
        left: 0;
        width: 100%;
        height: 100%
    }
}

@media (min-width: 1280px) {
    .container {
        padding:48px
    }

    .app-icon {
        width: 140px;
        height: 140px
    }

    h1 {
        font-size: 42px
    }
}

#wechat-mask {
    display: none;
}

.wechat-mask-bg {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0,0,0,.5);
    z-index: 9998;
}

.wechat-mask-pop {
    position: fixed;
    top: 50%;
    left: 50%;
    width: 85%;
    max-width: 320px;
    transform: translate(-50%, -50%);
    background: #fff;
    border-radius: 20px;
    z-index: 9999;
    overflow: hidden;
    padding: 24px;
}

.wechat-mask-header {
    display: flex;
    align-items: center;
    margin-bottom: 20px;
}

.wechat-mask-logo {
    width: 50px;
    height: 50px;
    border-radius: 12px;
}

.wechat-mask-info {
    margin-left: 12px;
}

.wechat-mask-title {
    font-size: 16px;
    font-weight: 600;
    color: #333;
}

.wechat-mask-subtitle {
    font-size: 13px;
    color: #999;
    margin-top: 4px;
}

.wechat-mask-steps {
    background: #f7f8fa;
    border-radius: 12px;
    padding: 16px;
}

.wechat-mask-steps p {
    font-size: 14px;
    color: #333;
    line-height: 2;
    display: flex;
    align-items: center;
}

.wechat-mask-steps b {
    color: #0071e3;
}

.step-num {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    width: 20px;
    height: 20px;
    background: #0071e3;
    color: #fff;
    border-radius: 50%;
    font-size: 12px;
    font-weight: 600;
    margin-right: 8px;
    flex-shrink: 0;
}

.wechat-mask-divider {
    text-align: center;
    margin: 18px 0;
    position: relative;
    font-size: 12px;
    color: #ccc;
}

.wechat-mask-divider::before,
.wechat-mask-divider::after {
    content: '';
    position: absolute;
    top: 50%;
    width: 25%;
    height: 1px;
    background: #e5e5e5;
}

.wechat-mask-divider::before { left: 0; }
.wechat-mask-divider::after { right: 0; }

.wechat-mask-copy {
    position: relative;
    height: 40px;
    background: #f1f6f9;
    border-radius: 20px;
    overflow: hidden;
}

.wechat-mask-copy input {
    width: 100%;
    height: 100%;
    border: none;
    outline: none;
    background: transparent;
    padding: 0 80px 0 16px;
    font-size: 13px;
    color: #999;
}

.wechat-mask-copy button {
    position: absolute;
    right: 0;
    top: 0;
    height: 100%;
    padding: 0 18px;
    background: linear-gradient(90deg, #0071e3, #34aadc);
    color: #fff;
    border: none;
    border-radius: 0 20px 20px 0;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
}
@keyframes fadeIn{from{opacity:0}to{opacity:1}}
@keyframes popIn{from{opacity:0;transform:scale(.85)}to{opacity:1;transform:scale(1)}}
#net-modal-btn:active{transform:scale(.96)}
