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

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

@keyframes fadeIn {
    from {
        opacity: 0;
    }
    to {
        opacity: 1;
    }
}

.page-animate {
    opacity: 0;
    animation: fadeInUp 1.5s ease-out forwards;
}

.page-animate-delay-1 {
    animation-delay: 0.1s;
}

.page-animate-delay-2 {
    animation-delay: 0.2s;
}

.page-animate-delay-3 {
    animation-delay: 0.3s;
}

.page-animate-delay-4 {
    animation-delay: 0.4s;
}

.page-animate-delay-5 {
    animation-delay: 0.5s;
}

.page-animate-delay-6 {
    animation-delay: 0.6s;
}

.page-animate-delay-7 {
    animation-delay: 0.7s;
}

.page-animate-delay-8 {
    animation-delay: 0.8s;
}

:root {
    --liquid-glass-bg: rgba(255, 255, 255, 0.25);
    --liquid-glass-border: rgba(255, 255, 255, 0.4);
    --liquid-glass-blur: 20px;
    --liquid-glass-shadow: 
        0 4px 24px rgba(0, 0, 0, 0.04),
        inset 0 1px 0 rgba(255, 255, 255, 0.6),
        inset 0 -1px 0 rgba(255, 255, 255, 0.3);
}

.top-nav {
    position: fixed;
    top: 12px;
    left: 50%;
    transform: translateX(-50%);
    width: calc(100% - 24px);
    max-width: 1400px;
    z-index: 9999;
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 12px 32px;
    background: var(--liquid-glass-bg);
    backdrop-filter: blur(var(--liquid-glass-blur)) saturate(200%);
    -webkit-backdrop-filter: blur(var(--liquid-glass-blur)) saturate(200%);
    border: 1px solid var(--liquid-glass-border);
    border-radius: 20px;
    box-shadow: var(--liquid-glass-shadow);
    transition: all 0.5s cubic-bezier(0.25, 0.46, 0.45, 0.94);
}

.top-nav.scrolled {
    padding: 8px 28px;
    background: rgba(255, 255, 255, 0.45);
    backdrop-filter: blur(35px) saturate(200%);
    -webkit-backdrop-filter: blur(35px) saturate(200%);
    border-color: rgba(255, 255, 255, 0.5);
    box-shadow: 
        0 8px 32px rgba(0, 0, 0, 0.08),
        inset 0 1px 0 rgba(255, 255, 255, 0.8),
        inset 0 -1px 0 rgba(255, 255, 255, 0.4);
}

.top-nav.small {
    padding: 6px 24px;
    backdrop-filter: blur(40px) saturate(200%);
    -webkit-backdrop-filter: blur(40px) saturate(200%);
    background: rgba(255, 255, 255, 0.55);
    border-color: rgba(255, 255, 255, 0.6);
    box-shadow: 
        0 6px 24px rgba(0, 0, 0, 0.06),
        inset 0 1px 0 rgba(255, 255, 255, 0.9),
        inset 0 -1px 0 rgba(255, 255, 255, 0.5);
}

.top-nav.small .logo {
    font-size: 22px;
    letter-spacing: 1px;
    text-shadow: 0 2px 8px rgba(46, 125, 50, 0.15);
}

.top-nav.small .nav-menu {
    gap: 24px;
}

.top-nav.small .nav-menu a {
    font-size: 13px;
}

.top-nav.small .user-section {
    gap: 8px;
}

.top-nav.small .user-avatar {
    width: 30px;
    height: 30px;
    font-size: 14px;
    border: 1.5px solid rgba(255, 255, 255, 0.6);
    box-shadow: 0 2px 6px rgba(76, 175, 80, 0.15);
}

.top-nav.small .user-name {
    font-size: 12px;
    max-width: 60px;
}

.logo {
    font-family: 'Brush Script MT', cursive;
    font-size: 26px;
    font-weight: 300;
    color: #2e7d32;
    letter-spacing: 2px;
    text-shadow: 0 2px 10px rgba(46, 125, 50, 0.15);
    text-decoration: none;
    transition: all 0.3s ease;
}

.logo:hover {
    transform: scale(1.05);
}

.nav-menu {
    display: flex;
    gap: 32px;
    align-items: center;
}

.nav-menu a {
    text-decoration: none;
    color: #388e3c;
    font-size: 14px;
    font-weight: 400;
    opacity: 0.85;
    transition: all 0.3s ease;
}

.nav-menu a:hover {
    opacity: 1;
    color: #2e7d32;
}

.user-section {
    display: flex;
    align-items: center;
    gap: 16px;
}

.login-btn {
    padding: 8px 24px;
    background: rgba(76, 175, 80, 0.6);
    backdrop-filter: blur(10px) saturate(180%);
    -webkit-backdrop-filter: blur(10px) saturate(180%);
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 20px;
    color: white;
    font-size: 13px;
    font-weight: 400;
    text-decoration: none;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(76, 175, 80, 0.25);
}

.login-btn:hover {
    background: rgba(76, 175, 80, 0.8);
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(76, 175, 80, 0.35);
}