* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.5;
    color: #333;
}

main {
    position: relative;
}

.hero-section {
    position: relative;
    width: 100%;
    min-height: 100vh;
    display: flex;
    flex-wrap: wrap;
    align-items: center;
    overflow: hidden;
}

/* 添加浮动图形 */
.hero-section::before,
.hero-section::after {
    content: '';
    position: absolute;
    pointer-events: none;
}

/* 创建多个浮动元素 */
.floating-shape {
    position: absolute;
    backdrop-filter: blur(5px);
    animation: float 20s infinite linear;
    border-radius: 50%;
}

/* 玻璃态圆形 */
.shape-1 {
    width: 250px;
    height: 250px;
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.1), rgba(158, 60, 4, 0.123));
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.2);
    top: 15%;
    left: 5%;
    animation-delay: -3s;
    transform-origin: center;
    border: 1px solid rgba(255, 255, 255, 0.18);
}

/* 模糊渐变球 */
.shape-2 {
    width: 180px;
    height: 180px;
    background: linear-gradient(45deg, rgba(255, 107, 107, 0.4), rgba(255, 107, 107, 0.1));
    filter: blur(20px);
    bottom: 25%;
    right: 15%;
    animation-delay: -7s;
    mix-blend-mode: screen;
}

/* 光晕效果 */
.shape-3 {
    width: 200px;
    height: 200px;
    background: radial-gradient(circle at 30% 30%, rgba(76, 175, 80, 0.3), rgba(76, 175, 80, 0.1));
    filter: blur(15px);
    top: 40%;
    left: 40%;
    animation-delay: -5s;
    mix-blend-mode: lighten;
}

.shape-4 {
    width: 150px;
    height: 150px;
    border-color: #FFC107;
    top: 30%;
    left: 50%;
    clip-path: polygon(20% 0%, 80% 0%, 100% 20%, 100% 80%, 80% 100%, 20% 100%, 0% 80%, 0% 20%);
    animation-delay: -11s;
}

/* 漂浮动画 - 更平滑的移动 */
@keyframes float {
    0% {
        transform: translate(0, 0) rotate(0deg) scale(1);
        opacity: 0.8;
    }
    25% {
        transform: translate(20px, -20px) rotate(90deg) scale(1.1);
        opacity: 0.6;
    }
    50% {
        transform: translate(-15px, 25px) rotate(180deg) scale(0.9);
        opacity: 0.8;
    }
    75% {
        transform: translate(-20px, -15px) rotate(270deg) scale(1.1);
        opacity: 0.6;
    }
    100% {
        transform: translate(0, 0) rotate(360deg) scale(1);
        opacity: 0.8;
    }
}

/* 登录入口样式 */
.login-entry {
    position: relative;
    margin-left: auto;
    margin-right: 280px;
    width: 400px;
    padding: 30px;
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(20px);
    border-radius: 30px;
    box-shadow: 
        0 20px 40px rgba(255, 122, 0, 0.1),
        0 5px 15px rgba(255, 122, 0, 0.05);
    z-index: 2;
}

.login-header {
    position: relative;
    text-align: center;
    padding: 15px 0;
    margin-bottom: 20px;
}

.header-bg {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    overflow: hidden;
    z-index: 0;
}

.circle-effect {
    position: absolute;
    width: 150px;
    height: 150px;
    background: linear-gradient(45deg, #FF7A00, #FFA149);
    border-radius: 50%;
    filter: blur(35px);
    opacity: 0.12;
    animation: float 6s ease-in-out infinite;
}

.glow-effect {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 120px;
    height: 120px;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.2) 0%, rgba(255, 161, 73, 0) 70%);
    animation: pulse 3s ease-in-out infinite;
}

.icon-secure img {
    width: 28px;
    height: 28px;
}

.login-entry h1 {
    position: relative;
    font-size: 24px;
    font-weight: 700;
    background: linear-gradient(45deg, #FF7A00, #FFA149);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    margin-bottom: 3px;
    z-index: 1;
}

.feature-tags {
    display: flex;
    justify-content: center;
    gap: 8px;
    margin-bottom: 25px;
}

.tag {
    display: flex;
    align-items: center;
    gap: 5px;
    padding: 4px 10px;
    background: rgba(255, 255, 255, 0.95);
    border-radius: 20px;
    font-size: 12px;
    color: #FF7A00;
    box-shadow: 
        0 2px 4px rgba(255, 122, 0, 0.1),
        inset 0 1px 1px rgba(255, 255, 255, 0.9);
}

.tag-icon {
    font-size: 14px;
}

.login-buttons {
    display: flex;
    flex-direction: column;
    gap: 12px;
    margin-bottom: 20px;
}

.btn {
    position: relative;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 12px 16px;
    border-radius: 25px;
    font-size: 15px;
    font-weight: 600;
    text-decoration: none;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn-login {
    background: linear-gradient(45deg, #FF7A00, #FFA149);
    color: white;
    box-shadow: 0 4px 15px rgba(255, 122, 0, 0.3);
}

.btn-login:hover {
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 122, 0, 0.4);
}

.btn-register {
    background: white;
    color: #FF7A00;
    border: 2px solid rgba(255, 122, 0, 0.2);
}

.btn-register:hover {
    background: rgba(255, 122, 0, 0.05);
    border-color: #FF7A00;
    transform: translateY(-2px);
}

.btn-content {
    display: flex;
    align-items: center;
    gap: 8px;
    z-index: 1;
}

.quick-actions {
    padding: 15px 0;
    border-top: 1px solid rgba(255, 122, 0, 0.1);
}

.action-group {
    display: flex;
    justify-content: center;
    gap: 15px;
}

.action-link {
    display: flex;
    align-items: center;
    gap: 5px;
    color: #6B7280;
    text-decoration: none;
    font-size: 13px;
    transition: color 0.3s ease;
}

.action-link:hover {
    color: #FF7A00;
}

.security-badge {
    margin-top: 15px;
    text-align: center;
}

.badge-content {
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 6px 12px;
    background: rgba(255, 122, 0, 0.05);
    border-radius: 20px;
}

.badge-text {
    font-size: 11px;
    color: #6B7280;
}

@keyframes pulse {
    0%, 100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.15;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.1);
        opacity: 0.25;
    }
}

@keyframes float {
    0%, 100% {
        transform: translate(0, 0);
    }
    50% {
        transform: translate(-10px, -10px);
    }
}

/* 左侧图标样式 */
.hero-icon {
    position: relative;
    flex: 1;
    min-width: 300px;
    padding-left: calc((100% - 1400px) / 2 + 40px);
    max-width: 900px;
    margin-right: auto;
}

.icon-wrapper {
    position: relative;
    width: 100%;
    height: 100%;
}

.main-icon {
    width: 750px;
    height: auto;
    object-fit: contain;
    display: block;
}

.icon-glow {
    position: absolute;
    width: 130%;
    height: 130%;
    top: -15%;
    left: -15%;
    background: radial-gradient(circle, rgba(255, 122, 0, 0.2) 0%, rgba(255, 161, 73, 0) 70%);
    filter: blur(35px);
    animation: glowPulse 4s ease-in-out infinite;
}

.icon-particles span {
    position: absolute;
    width: 20px;
    height: 20px;
    background: linear-gradient(45deg, #FF7A00, #FFA149);
    border-radius: 50%;
    filter: blur(4px);
    opacity: 0.6;
}

.icon-particles span:nth-child(1) {
    top: 20%;
    left: 20%;
    animation: particleFloat 8s ease-in-out infinite;
}

.icon-particles span:nth-child(2) {
    top: 60%;
    right: 25%;
    animation: particleFloat 7s ease-in-out infinite 1s;
}

.icon-particles span:nth-child(3) {
    bottom: 30%;
    left: 30%;
    animation: particleFloat 9s ease-in-out infinite 2s;
}

@keyframes glowPulse {
    0%, 100% {
        opacity: 0.3;
        transform: scale(1);
    }
    50% {
        opacity: 0.5;
        transform: scale(1.1);
    }
}

@keyframes particleFloat {
    0%, 100% {
        transform: translate(0, 0);
    }
    25% {
        transform: translate(15px, -15px);
    }
    50% {
        transform: translate(0, -30px);
    }
    75% {
        transform: translate(-15px, -15px);
    }
}

/* 响应式设计 */
@media screen and (max-width: 1600px) {
    .hero-icon {
        padding-left: 40px;
    }
    
    .main-icon {
        width: 650px;
    }
}

@media screen and (max-width: 1200px) {
    .main-icon {
        width: 100%;
        max-width: 600px;
    }
}

@media screen and (max-width: 768px) {
    .hero-section {
        flex-direction: column;
    }

    .hero-icon {
        width: 100%;
        padding: 20px;
        margin-top: 60px;
    }

    .main-icon {
        width: 100%;
        max-width: 100%;
        margin: 0 auto;
    }
}

@media screen and (max-width: 1600px) {
    .login-entry {
        margin-right: 120px;
    }
}

@media screen and (max-width: 1400px) {
    .hero-section {
        justify-content: center;
        padding: 80px 20px;
    }

    .login-entry {
        margin: 40px auto 0;
        order: 2;
    }

    .hero-icon {
        order: 1;
    }
}

@media screen and (max-width: 768px) {
    .login-entry {
        width: 100%;
        max-width: 400px;
        margin: 30px 20px;
    }
}

/* 漂浮效果 */
.floating-elements {
    position: absolute;
    top: 0;
    right: 0;
    width: 45%;
    height: 100%;
    pointer-events: none;
    z-index: 1;
    overflow: hidden;
}

.float-item {
    position: absolute;
    opacity: 0.35;
}

.float-1 {
    top: 8%;
    right: 28%;
    animation: floatUpDown 9.3s ease-in-out infinite;
}

.float-2 {
    top: 42%;
    right: 12%;
    animation: floatLeftRight 8.7s ease-in-out infinite;
}

.float-3 {
    top: 73%;
    right: 35%;
    animation: floatRotate 11.5s linear infinite;
}

.float-4 {
    top: 31%;
    right: 38%;
    animation: floatScale 7.8s ease-in-out infinite;
}

.float-5 {
    top: 88%;
    right: 22%;
    animation: floatDiagonal 10.2s ease-in-out infinite;
}

.float-6 {
    top: 58%;
    right: 8%;
    animation: floatZigzag 12.4s ease-in-out infinite;
}

/* 调整SVG尺寸，更小更随机 */
.float-1 svg {
    transform: scale(0.9);
}

.float-2 svg {
    transform: scale(0.7);
}

.float-3 svg {
    transform: scale(1.1);
}

.float-4 svg {
    transform: scale(0.8);
}

.float-5 svg {
    transform: scale(0.6);
}

.float-6 svg {
    transform: scale(1.0);
}

/* 漂浮动画 */
@keyframes floatUpDown {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-45px); }
}

@keyframes floatLeftRight {
    0%, 100% { transform: translateX(0); }
    50% { transform: translateX(-35px); }
}

@keyframes floatRotate {
    0% { transform: rotate(0) translateX(25px) rotate(0); }
    100% { transform: rotate(360deg) translateX(25px) rotate(-360deg); }
}

@keyframes floatScale {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.3); }
}

@keyframes floatDiagonal {
    0%, 100% { transform: translate(0, 0); }
    50% { transform: translate(-30px, -30px); }
}

@keyframes floatZigzag {
    0% { transform: translate(0, 0); }
    25% { transform: translate(-25px, 25px); }
    50% { transform: translate(0, -25px); }
    75% { transform: translate(25px, 25px); }
    100% { transform: translate(0, 0); }
}

/* 确保登录区域在漂浮元素上层 */
.login-entry {
    position: relative;
    z-index: 2;
} 