:root {
    --page-bg: #07040f;
    --card-bg: rgba(28, 16, 48, .78);
    --line: rgba(255, 255, 255, .1);
    --text: #fff;
    --muted: #9b93ad;
    --purple: #a855f7;
    --purple-deep: #7c3aed;
    --pink: #ff3d8d;
}

* { box-sizing: border-box; }

html { background: var(--page-bg); }

body {
    margin: 0;
    overflow-x: hidden;
    color: var(--text);
    background:
        radial-gradient(ellipse 55% 45% at 78% 42%, rgba(124, 58, 237, .22), transparent 70%),
        radial-gradient(ellipse 45% 40% at 18% 55%, rgba(255, 61, 141, .12), transparent 72%),
        radial-gradient(circle at 50% 0%, rgba(168, 85, 247, .08), transparent 42%),
        var(--page-bg);
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", "PingFang SC",
        "Hiragino Sans GB", "Microsoft YaHei", sans-serif;
    -webkit-font-smoothing: antialiased;
}

@keyframes floatY {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-14px); }
}

@keyframes floatYTilt {
    0%, 100% { transform: translateY(0) rotate(-4deg); }
    50% { transform: translateY(-14px) rotate(-4deg); }
}

@keyframes glowPulse {
    0%, 100% { opacity: .55; transform: scale(1); }
    50% { opacity: .85; transform: scale(1.06); }
}

#pc {
    min-height: 100vh;
    height: auto;
}

#pc .background,
#phone .background {
    min-height: 100vh;
    height: auto;
}

#pc .backgroundimg,
#phone .backgroundimg {
    display: none;
}

#pc .main {
    position: static;
    min-height: 100vh;
    justify-content: flex-start;
}

#pc .header {
    position: fixed;
    z-index: 50;
    top: 0;
    left: 0;
    width: 100%;
    height: 84px;
    padding: 0 max(48px, calc((100vw - 1180px) / 2));
    border-bottom: 1px solid rgba(255, 255, 255, .06);
    background: linear-gradient(180deg, rgba(10, 6, 20, .88), rgba(10, 6, 20, .62));
    backdrop-filter: blur(22px) saturate(1.35);
    -webkit-backdrop-filter: blur(22px) saturate(1.35);
}

#pc .logo {
    gap: 0;
    color: #fff;
    font-size: 22px;
    font-weight: 800;
    letter-spacing: 5px;
    text-shadow: 0 0 24px rgba(168, 85, 247, .35);
}

#pc .logo img {
    width: 54px;
    height: 54px;
    margin-right: 14px;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 14px;
    box-shadow:
        0 0 0 4px rgba(168, 85, 247, .12),
        0 10px 28px rgba(168, 85, 247, .35);
}

#pc .tap {
    gap: 6px;
    align-items: center;
    padding: 6px;
    border: 1px solid rgba(255, 255, 255, .1);
    border-radius: 999px;
    background: rgba(255, 255, 255, .04);
    box-shadow: inset 0 1px 0 rgba(255, 255, 255, .06);
}

#pc .tap a {
    color: rgba(255, 255, 255, .58);
    text-decoration: none;
    transition: color .25s ease;
}

#pc .tap a:hover { color: #fff; }

#pc .tap-item {
    position: relative;
    padding: 10px 20px;
    border-radius: 999px;
    font-size: 14px;
    font-weight: 500;
    letter-spacing: .4px;
    transition: background .25s ease, color .25s ease, box-shadow .25s ease;
}

#pc .tap a:hover .tap-item {
    background: rgba(255, 255, 255, .08);
    color: #fff;
}

#pc .tap a:first-child .tap-item {
    color: #fff;
    background: linear-gradient(135deg, rgba(168, 85, 247, .95), rgba(124, 58, 237, .95));
    box-shadow: 0 8px 20px rgba(124, 58, 237, .4);
}

#pc .tap a:first-child:hover .tap-item {
    background: linear-gradient(135deg, #c084fc, #7c3aed);
    box-shadow: 0 10px 24px rgba(124, 58, 237, .5);
}

#pc .con {
    width: min(1180px, 100%);
    min-height: calc(100vh - 150px);
    margin: 0 auto;
    padding: 136px 48px 56px;
    gap: 48px;
    align-items: center;
    justify-content: space-between;
}

#pc .concent {
    order: 1;
    position: relative;
    flex: 0 1 560px;
    max-width: 560px;
    margin: 0;
    padding: 8px 20px 8px 0;
}

#pc .concent::after {
    content: "";
    position: absolute;
    z-index: -1;
    left: -60px;
    top: 10%;
    width: 420px;
    height: 420px;
    border-radius: 50%;
    background: radial-gradient(circle, rgba(168, 85, 247, .22), transparent 68%);
    pointer-events: none;
}

#pc .phone {
    order: 2;
    position: relative;
    flex: 1 1 360px;
    display: flex;
    justify-content: center;
    align-items: center;
    min-height: 480px;
}

#pc .phone::before {
    content: "";
    position: absolute;
    width: 340px;
    height: 340px;
    border-radius: 50%;
    background: radial-gradient(circle,
        rgba(168, 85, 247, .38) 0%,
        rgba(255, 61, 141, .12) 42%,
        transparent 70%);
    filter: blur(8px);
    animation: glowPulse 5.5s ease-in-out infinite;
    pointer-events: none;
}

#pc .phone img {
    position: relative;
    z-index: 1;
    width: min(270px, 26vw);
    filter: drop-shadow(0 36px 48px rgba(0, 0, 0, .55));
    animation: floatYTilt 5.5s ease-in-out infinite;
    transition: filter .35s ease;
}

#pc .phone img:hover {
    filter: drop-shadow(0 42px 56px rgba(124, 58, 237, .35));
}

#pc .concent::before {
    content: "●  同城高品质兴趣交友平台";
    display: inline-flex;
    align-items: center;
    margin-bottom: 26px;
    padding: 9px 18px;
    color: #e9d5ff;
    border: 1px solid rgba(216, 180, 254, .28);
    border-radius: 999px;
    background: linear-gradient(135deg, rgba(168, 85, 247, .2), rgba(255, 61, 141, .1));
    font-size: 13px;
    font-weight: 600;
    letter-spacing: 1.2px;
    box-shadow: 0 0 28px rgba(168, 85, 247, .16);
}

#pc .concent-title {
    margin-bottom: 22px;
    color: #fff;
    font-size: clamp(60px, 6.5vw, 84px);
    line-height: 1;
    font-weight: 800;
    letter-spacing: 10px;
    text-shadow: 0 12px 40px rgba(0, 0, 0, .35);
}

#pc .concent-title::after {
    content: "遇见同城附近人";
    display: block;
    margin-top: 18px;
    font-size: clamp(30px, 3.4vw, 44px);
    font-weight: 800;
    letter-spacing: 2px;
    background: linear-gradient(100deg, #ff5aa8 0%, #f472b6 35%, #c084fc 70%, #8b5cf6 100%);
    -webkit-background-clip: text;
    background-clip: text;
    -webkit-text-fill-color: transparent;
    filter: drop-shadow(0 10px 24px rgba(255, 61, 141, .28));
}

#pc .concent-tip {
    position: relative;
    width: auto;
    max-width: 460px;
    height: auto;
    margin-bottom: 42px;
    padding-left: 16px;
    border-left: 2px solid rgba(168, 85, 247, .55);
    color: #b7aec9;
    font-size: 16px;
    line-height: 1.95;
    overflow: visible;
    -webkit-line-clamp: unset;
}

#pc .concent-bottom {
    gap: 16px;
    flex-wrap: wrap;
}

#pc .concent-bottom .btn {
    width: 188px;
    height: 56px;
    margin: 0;
    color: #fff;
    border: 1px solid rgba(255, 255, 255, .16);
    border-radius: 16px;
    background: linear-gradient(180deg, rgba(255, 255, 255, .1), rgba(255, 255, 255, .04));
    box-shadow: 0 10px 24px rgba(0, 0, 0, .22);
    font-size: 15px;
    font-weight: 600;
    letter-spacing: .3px;
    transition: transform .25s ease, border-color .25s ease, box-shadow .25s ease, background .25s ease;
    backdrop-filter: blur(12px);
}

#pc #iosload img {
    filter: brightness(0) invert(1);
    opacity: .95;
}

#pc #iosload {
    border-color: transparent;
    background: linear-gradient(135deg, #d8b4fe 0%, #a855f7 42%, #7c3aed 100%);
    box-shadow:
        0 14px 34px rgba(168, 85, 247, .42),
        inset 0 1px 0 rgba(255, 255, 255, .28);
}

#pc #androidload {
    border-color: rgba(192, 132, 252, .35);
    background: linear-gradient(180deg, rgba(88, 48, 140, .45), rgba(28, 16, 48, .85));
    box-shadow: 0 10px 28px rgba(88, 28, 135, .28);
}

#pc #androidload:hover {
    border-color: rgba(216, 180, 254, .55);
    background: linear-gradient(180deg, rgba(108, 58, 170, .55), rgba(40, 22, 70, .9));
}

#pc .concent-bottom .btn:hover {
    transform: translateY(-4px);
}

#pc #iosload:hover {
    box-shadow:
        0 18px 42px rgba(168, 85, 247, .55),
        inset 0 1px 0 rgba(255, 255, 255, .32);
}

#pc .ioscode,
#pc .androidcode {
    top: 68px;
    z-index: 10;
    padding: 8px;
    border: 1px solid rgba(255, 255, 255, .12);
    border-radius: 12px;
    background: #fff;
    box-shadow: 0 20px 48px rgba(0, 0, 0, .45);
    transition: opacity .2s ease, transform .2s ease;
}

#pc .ioscode { left: 0; }
#pc .androidcode { left: 204px; }

#pc .main-bottom {
    width: min(1180px, calc(100% - 64px));
    margin: 0 auto;
    padding: 28px 0 36px;
    color: rgba(255, 255, 255, .38);
    border-top: 1px solid rgba(255, 255, 255, .06);
    background: transparent;
    font-size: 13px;
    line-height: 1.7;
}

#pc .main-bottom .bottom-top {
    display: flex;
    flex-wrap: wrap;
    justify-content: center;
    gap: 8px 24px;
    margin-bottom: 6px;
}

#pc .main-bottom a {
    color: rgba(255, 255, 255, .38);
    transition: color .2s ease;
}

#pc .main-bottom a:hover { color: rgba(255, 255, 255, .85); }

#phone { display: none; }

@media (max-width: 1100px) {
    #pc .con {
        gap: 28px;
        padding: 120px 32px 48px;
    }

    #pc .phone img { width: min(240px, 28vw); }
}

@media (max-width: 900px) {
    #pc .con {
        flex-direction: column;
        min-height: auto;
        text-align: center;
    }

    #pc .concent {
        order: 1;
        max-width: 100%;
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    #pc .phone {
        order: 2;
        min-height: 480px;
        width: 100%;
    }

    #pc .concent-tip { max-width: 520px; }

    #pc .concent-bottom { justify-content: center; }
}

@media (max-width: 768px) {
    #pc { display: none; }
    #phone { display: block; }

    #phone .main {
        position: static;
        min-height: 100vh;
        justify-content: flex-start;
        padding-bottom: 8px;
    }

    #phone .phone {
        position: relative;
        width: 100%;
        padding-top: 20px;
    }

    #phone .phone::before {
        content: "";
        position: absolute;
        width: min(320px, 86vw);
        height: min(320px, 86vw);
        left: 50%;
        top: 46%;
        transform: translate(-50%, -50%);
        border-radius: 50%;
        background: radial-gradient(circle, rgba(168, 85, 247, .38), rgba(255, 61, 141, .08) 45%, transparent 72%);
        pointer-events: none;
    }

    #phone .phone img {
        position: relative;
        z-index: 1;
        width: min(268px, 72vw);
        height: auto;
        filter: drop-shadow(0 28px 40px rgba(0, 0, 0, .55));
        animation: floatY 5.5s ease-in-out infinite;
    }

    #phone .btns {
        position: relative;
        z-index: 2;
        gap: 14px;
        padding: 22px 20px 0;
        flex-wrap: nowrap;
        justify-content: center !important;
    }

    #phone .btn {
        flex: 1 1 0;
        width: auto;
        max-width: 168px;
        height: 52px;
        color: #fff;
        border: none;
        border-radius: 14px;
        background: linear-gradient(135deg, #c084fc, var(--purple), var(--purple-deep));
        box-shadow:
            0 12px 28px rgba(168, 85, 247, .36),
            inset 0 1px 0 rgba(255, 255, 255, .22);
        font-size: 14px;
        font-weight: 700;
        letter-spacing: .3px;
    }

    #phone .btn img {
        width: 22px;
        height: 22px;
        margin-right: 8px;
    }

    #phone #iosbtn img,
    #phone #iosbtn2 img {
        filter: brightness(0) invert(1);
    }

    #phone .tip {
        width: min(520px, calc(100% - 48px));
        margin: 28px auto 0;
        padding: 14px 16px;
        color: rgba(255, 255, 255, .72);
        border: 1px solid rgba(255, 255, 255, .06);
        border-radius: 14px;
        background: rgba(255, 255, 255, .04);
        font-size: 14px;
        line-height: 1.75;
        text-align: center;
    }

    #phone .main-bottom {
        margin-top: 28px;
        padding: 22px 16px 28px;
        color: rgba(255, 255, 255, .38);
        border-top: 1px solid rgba(255, 255, 255, .06);
        background: transparent;
        font-size: 12px;
        line-height: 1.7;
    }

    #phone .main-bottom a { color: rgba(255, 255, 255, .38); }
}

@media (prefers-reduced-motion: reduce) {
    #pc .phone img,
    #phone .phone img,
    #pc .phone::before {
        animation: none;
    }
}
