body, html {
    height: 100%;
    margin: 0;
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
}

.body-background {
    background: linear-gradient(-45deg, #ee7752, #e73c7e, #23a6d5, #23d5ab);
    background-size: 400% 400%;
    animation: gradient 15s ease infinite;
    min-height: 100vh;
}

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


/* Glassmorphism Card Effect */
.glass-card {
    background: rgba(255, 255, 255, 0.85);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    border-radius: 15px;
    box-shadow: 0 8px 32px 0 rgba(31, 38, 135, 0.15);
    border: 1px solid rgba(255, 255, 255, 0.18);
    padding: 2rem;
    margin-top: 5vh;
    transition: transform 0.3s ease;
}

.glass-card:hover {
    transform: translateY(-5px);
}

.welcome-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 1.5rem;
    text-align: center;
}

.nav-links {
    display: flex;
    justify-content: center;
    gap: 1rem;
    list-style: none;
    padding: 0;
    margin: 0;
}

.custom-btn {
    display: inline-block;
    padding: 12px 24px;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
    transition: all 0.3s ease;
}

.custom-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.25);
    color: white;
    text-decoration: none;
}

.company {
    width: 100%;
    padding: 20px 0;
    text-align: center;
    color: rgba(255, 255, 255, 0.8);
    font-size: 14px;
    margin-top: auto; /* Push to bottom if using flex column */
}

.company a {
    color: inherit;
    text-decoration: none;
    transition: color 0.3s;
}

.company a:hover {
    color: white;
}

/* ========== 移动端优化 ========== */

/* 小屏幕优化 */
@media (max-width: 768px) {
    .glass-card {
        padding: 1.5rem;
        margin-top: 3vh;
    }
    
    .welcome-title {
        font-size: 1.8rem;
        margin-bottom: 1rem;
    }
    
    .nav-links {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .custom-btn {
        padding: 10px 20px;
        font-size: 1rem;
        width: 100%;
        text-align: center;
    }
    
    .company {
        padding: 15px 0;
        font-size: 12px;
    }
}

/* 超小屏幕优化 */
@media (max-width: 576px) {
    .glass-card {
        padding: 1rem;
        border-radius: 12px;
    }
    
    .welcome-title {
        font-size: 1.5rem;
    }
    
    .text-muted {
        font-size: 0.9rem;
    }
}

/* 优化图片显示 */
img {
    max-width: 100%;
    height: auto;
}

/* 优化按钮点击区域 */
@media (hover: none) and (pointer: coarse) {
    .custom-btn {
        min-height: 44px;
        display: flex;
        align-items: center;
        justify-content: center;
    }
}
