* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "PingFang SC", "Helvetica Neue", Arial, sans-serif;
}

body {
    background: linear-gradient(135deg, #FFE5EC 0%, #F8F8F8 100%);
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    overflow: hidden;
}

/* iPhone 15 Pro Max 样式 */
.iphone-container {
    position: relative;
    width: 430px;
    height: 932px;
    background-color: #1A1A1A;
    border-radius: 55px;
    box-shadow: 0 50px 100px rgba(0, 0, 0, 0.25);
    padding: 12px;
    overflow: hidden;
    transform-origin: center center;
    margin: auto;
}

.iphone-notch {
    position: absolute;
    width: 160px;
    height: 34px;
    background-color: #1A1A1A;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    border-bottom-left-radius: 18px;
    border-bottom-right-radius: 18px;
    z-index: 10;
}

.iphone-screen {
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, #FFE5EC 0%, #F8F8F8 100%);
    border-radius: 45px;
    overflow: hidden;
    position: relative;
}

.status-bar {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 44px;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    z-index: 5;
}

.time {
    font-weight: 600;
    font-size: 16px;
    color: #333;
}

.status-icons {
    display: flex;
    gap: 5px;
}

.status-icons svg {
    height: 16px;
}

.home-indicator {
    position: absolute;
    bottom: 8px;
    left: 50%;
    transform: translateX(-50%);
    width: 140px;
    height: 5px;
    background-color: #333;
    border-radius: 3px;
    z-index: 50;
}

/* 登录页样式 */
.login-container {
    position: relative;
    height: 100%;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    padding: 40px 30px 30px;
    z-index: 1;
}

.bg-dance-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
    opacity: 0.15;
    pointer-events: none;
    transform-origin: center center;
}

.bg-dance-element {
    position: absolute;
    width: 180px;
    height: 180px;
    background-color: #FFD1DC;
    border-radius: 50%;
    filter: blur(40px);
    transform-origin: center center;
}

.bg-dance-element:nth-child(1) {
    top: 10%;
    left: -50px;
    animation: float 8s infinite ease-in-out;
}

.bg-dance-element:nth-child(2) {
    top: 40%;
    right: -80px;
    width: 220px;
    height: 220px;
    background-color: #FF8BA7;
    animation: float 10s infinite ease-in-out 1s;
}

.bg-dance-element:nth-child(3) {
    bottom: 15%;
    left: 10%;
    width: 150px;
    height: 150px;
    background-color: #FFC2D1;
    animation: float 7s infinite ease-in-out 0.5s;
}

.logo-container {
    margin-top: 120px;
    text-align: center;
    animation: fadeInDown 1s ease-out;
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    transform-origin: center center;
}

.logo {
    width: 120px;
    height: 120px;
    margin-bottom: 20px;
    background-color: white;
    border-radius: 30px;
    box-shadow: 0 15px 35px rgba(255, 139, 167, 0.2);
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
    transform-origin: center center;
}

.logo::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 30%, rgba(255, 255, 255, 0.9), transparent 70%);
    z-index: 1;
}

.logo svg {
    width: 70px;
    height: 70px;
    z-index: 2;
    fill: #FF8BA7;
}

.app-name {
    font-size: 28px;
    font-weight: 700;
    color: #333;
    margin-bottom: 10px;
    position: relative;
}

.app-slogan {
    font-size: 16px;
    color: #666;
    margin-bottom: 20px;
}

.login-form {
    width: 280px;
    display: flex;
    flex-direction: column;
    align-items: center;
    animation: fadeInUp 1s ease-out 0.3s both;
    position: relative;
    z-index: 2;
    transform-origin: center center;
    margin-bottom: 30px;
    padding-top: 10px;
}

.glass-morphism {
    position: absolute;
    bottom: 40px;
    left: 50%;
    transform: translateX(-50%);
    width: 270px;
    height: 110px;
    background: rgba(255, 255, 255, 0.4);
    backdrop-filter: blur(15px);
    -webkit-backdrop-filter: blur(15px);
    border-radius: 35px;
    border: 1px solid rgba(255, 255, 255, 0.5);
    z-index: 0;
    display: flex;
    justify-content: center;
    align-items: center;
    transform-origin: center center;
}

.wechat-login-btn {
    width: 280px;
    height: 50px;
    background-color: #FF8BA7;
    color: white;
    border: none;
    border-radius: 25px;
    font-size: 16px;
    font-weight: 600;
    cursor: pointer;
    display: flex;
    justify-content: center;
    align-items: center;
    margin-bottom: 20px;
    box-shadow: 0 10px 20px rgba(255, 139, 167, 0.3);
    transition: transform 0.2s, box-shadow 0.2s;
    position: relative;
    overflow: hidden;
    transform-origin: center center;
    z-index: 3;
}

.wechat-login-btn:hover, .wechat-login-btn:active {
    transform: translateY(-2px);
    box-shadow: 0 15px 25px rgba(255, 139, 167, 0.4);
}

.wechat-login-btn:active {
    transform: translateY(1px);
    box-shadow: 0 5px 15px rgba(255, 139, 167, 0.4);
}

.wechat-login-btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.2) 0%, transparent 50%);
}

.wechat-login-btn .icon {
    margin-right: 10px;
}

.privacy-policy {
    font-size: 5px;
    color: #666;
    text-align: center;
    width: 280px;
    margin: 0;
    white-space: nowrap;
    line-height: 1.2;
    letter-spacing: -1px;
    position: relative;
    z-index: 3;
    box-sizing: border-box;
    padding: 0;
    margin-bottom: 8px;
}

.privacy-policy a {
    color: #FF8BA7;
    text-decoration: none;
    display: inline;
    font-size: 5px;
    letter-spacing: -1px;
    margin: 0;
    padding: 0;
}

@keyframes float {
    0%, 100% {
        transform: translateY(0) rotate(0deg);
    }
    50% {
        transform: translateY(-20px) rotate(5deg);
    }
}

@keyframes fadeInDown {
    from {
        opacity: 0;
        transform: translateY(-30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes logoGlow {
    0%, 100% {
        box-shadow: 0 15px 35px rgba(255, 139, 167, 0.2);
    }
    50% {
        box-shadow: 0 15px 35px rgba(255, 139, 167, 0.4);
    }
}

.logo {
    animation: logoGlow 3s infinite ease-in-out;
}

/* 响应式设计 */
@media screen and (max-width: 480px) {
    .iphone-container {
        width: 100%;
        height: 100vh;
        border-radius: 0;
        padding: 0;
    }

    .iphone-screen {
        border-radius: 0;
    }

    .iphone-notch, .home-indicator {
        display: none;
    }

    .login-container {
        padding: 40px 30px 30px;
        height: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }

    .logo-container {
        margin-top: 120px;
    }

    .logo {
        width: 100px;
        height: 100px;
    }

    .logo svg {
        width: 60px;
        height: 60px;
    }

    .app-name {
        font-size: 24px;
    }

    .app-slogan {
        font-size: 14px;
    }

    .login-form {
        width: 280px;
        margin-bottom: 30px;
        position: relative;
        bottom: 0;
    }

    .wechat-login-btn {
        width: 280px;
        height: 50px;
        font-size: 15px;
    }

    .glass-morphism {
        width: 270px;
        height: 110px;
        bottom: 40px;
    }
}

@media screen and (max-width: 320px) {
    .login-container {
        padding: 20px 10px 10px;
    }

    .logo {
        width: 80px;
        height: 80px;
    }

    .logo svg {
        width: 50px;
        height: 50px;
    }

    .app-name {
        font-size: 20px;
    }

    .app-slogan {
        font-size: 12px;
    }

    .wechat-login-btn {
        height: 40px;
        font-size: 13px;
    }
}

/* 横屏适配 */
@media screen and (orientation: landscape) {
    .iphone-container {
        width: 430px;
        height: 932px;
    }

    .login-container {
        flex-direction: column;
        justify-content: space-between;
        padding: 60px 30px 40px;
    }

    .logo-container {
        margin-top: 80px;
    }

    .login-form {
        margin-bottom: 30px;
    }

    .glass-morphism {
        bottom: 40px;
        height: 110px;
        width: 270px;
    }
} 