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

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    display: flex;
    flex-direction: column;
    overflow-x: hidden;
}

.navbar {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 3rem;
    background: rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    animation: slideDown 0.5s ease;
    border-bottom: 2px solid rgba(255, 255, 255, 0.2);
}

.nav-brand {
    font-size: 1.5rem;
    font-weight: 700;
    color: #ffffff;
    letter-spacing: 0.1rem;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.3);
    position: relative;
}

.nav-brand::before {
    content: '🎯';
    margin-right: 0.5rem;
}

.nav-links {
    display: flex;
    list-style: none;
    gap: 1rem;
}

.nav-links a {
    color: #ffffff;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    padding: 0.6rem 1.2rem;
    border-radius: 12px;
    position: relative;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.container {
    text-align: center;
    animation: fadeIn 1s ease-in;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    gap: 3rem;
    flex: 1;
}

.footer {
    background: rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(10px);
    padding: 1.5rem 2rem;
    text-align: center;
    color: #ffffff;
    animation: slideUp 0.5s ease;
    border-top: 2px solid rgba(255, 255, 255, 0.2);
    position: relative;
}

.footer::before {
    content: '';
    position: absolute;
    top: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: linear-gradient(90deg, transparent, #ffffff, transparent);
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.5);
}

.footer p {
    margin: 0.3rem 0;
    font-size: 0.9rem;
    text-shadow: 0 2px 5px rgba(0, 0, 0, 0.3);
}

.footer-subtitle {
    font-size: 0.85rem;
    opacity: 0.9;
    margin-top: 0.5rem;
}

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

.footer-links a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.3rem;
    transition: all 0.3s ease;
    display: inline-block;
}

.footer-links a:hover {
    transform: translateY(-3px) scale(1.2);
    filter: drop-shadow(0 5px 10px rgba(255, 255, 255, 0.5));
}

.title {
    font-size: 8rem;
    font-weight: 900;
    color: #ffffff;
    text-shadow: 
        0 0 10px rgba(255, 255, 255, 0.5),
        0 0 20px rgba(255, 255, 255, 0.3),
        0 10px 30px rgba(0, 0, 0, 0.3);
    letter-spacing: 0.5rem;
    animation: glow 2s ease-in-out infinite alternate;
    transition: transform 0.3s ease;
}

.title:hover {
    transform: scale(1.1);
}

#adjective {
    transition: opacity 0.2s ease;
    position: relative;
    display: inline-block;
}

#adjective::after {
    content: '';
    position: absolute;
    bottom: -10px;
    left: 0;
    width: 100%;
    height: 6px;
    background: #ffffff;
    box-shadow: 0 0 10px rgba(255, 255, 255, 0.8);
    animation: blink 1s infinite;
}

@keyframes blink {
    0%, 49% {
        opacity: 1;
    }
    50%, 100% {
        opacity: 0;
    }
}

.switch-btn {
    padding: 1rem 2.5rem;
    font-size: 1.2rem;
    font-weight: 600;
    color: #667eea;
    background: #ffffff;
    border: none;
    border-radius: 50px;
    cursor: pointer;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    letter-spacing: 0.1rem;
}

.switch-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.4);
    background: #f0f0f0;
}

.switch-btn:active {
    transform: translateY(-1px);
}

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

@keyframes slideDown {
    from {
        opacity: 0;
        transform: translateY(-100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideUp {
    from {
        opacity: 0;
        transform: translateY(100%);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes glow {
    from {
        text-shadow: 
            0 0 10px rgba(255, 255, 255, 0.5),
            0 0 20px rgba(255, 255, 255, 0.3),
            0 10px 30px rgba(0, 0, 0, 0.3);
    }
    to {
        text-shadow: 
            0 0 20px rgba(255, 255, 255, 0.8),
            0 0 30px rgba(255, 255, 255, 0.5),
            0 10px 40px rgba(0, 0, 0, 0.4);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 4rem;
        letter-spacing: 0.3rem;
    }
    
    .navbar {
        padding: 1rem 1.5rem;
        flex-direction: column;
        gap: 1rem;
    }
    
    .nav-links {
        gap: 1rem;
    }
    
    .nav-brand {
        font-size: 1.2rem;
    }
    
    .footer p {
        font-size: 0.9rem;
    }
}
