
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Consolas', 'Comic Neue', '圆体', 'Yuanti SC', 'YouYuan', 'Microsoft YaHei', cursive, sans-serif;
    background: linear-gradient(145deg, #f0f9ff 0%, #e6f4fa 100%);
    color: #1a2c3e;
    scroll-behavior: smooth;
    line-height: 1.5;
    min-height: 100vh;
}

.navbar {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    height: 60px;
    background: #0856a9;
    backdrop-filter: blur(10px);
    display: flex;
    align-items: center;
    padding: 0 24px;
    z-index: 1000;
    box-shadow: 0 2px 20px rgba(0, 0, 0, 0.15);
}

.nav-brand {
    display: flex;
    align-items: center;
    gap: 12px;
    color: white;
    font-size: 1.3rem;
    font-weight: 600;
}

.nav-brand i {
    font-size: 1.5rem;
}

.nav-links {
    margin-left: auto;
    display: flex;
    gap: 24px;
}

.nav-links a {
    color: rgba(255, 255, 255, 0.85);
    text-decoration: none;
    font-weight: 500;
    transition: 0.2s;
    background: rgba(255, 255, 255, 0.1);
    padding: 6px 16px;
    border-radius: 40px;
    cursor: pointer;
}

.nav-links a:hover {
    background: rgba(255, 255, 255, 0.25);
    color: white;
}

.side-menu {
    position: fixed;
    top: 0;
    left: -320px;
    width: 300px;
    height: 100vh;
    background: linear-gradient(180deg, #1e4468 0%, #256293 100%);
    backdrop-filter: blur(20px);
    z-index: 1001;
    transition: left 0.3s cubic-bezier(0.34, 1.2, 0.64, 1);
    box-shadow: 2px 0 20px rgba(0, 0, 0, 0.2);
    display: flex;
    flex-direction: column;
    overflow-y: auto;
}

.side-menu.open {
    left: 0;
}

.menu-header {
    padding: 24px 20px;
    border-bottom: 1px solid rgba(255, 255, 255, 0.15);
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.menu-header h3 {
    color: white;
    font-size: 1.2rem;
    font-weight: 600;
}

.close-menu {
    background: rgba(255, 255, 255, 0.15);
    border: none;
    color: white;
    width: 36px;
    height: 36px;
    border-radius: 10px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.2s ease;
}

.close-menu:hover {
    background: rgba(255, 255, 255, 0.3);
    transform: scale(1.02);
}

.menu-items {
    flex: 1;
    padding: 16px 12px;
}

.menu-item {
    display: flex;
    align-items: center;
    gap: 14px;
    padding: 14px 16px;
    margin-bottom: 8px;
    background: rgba(255, 255, 255, 0.08);
    border-radius: 14px;
    color: #e8f0f8;
    cursor: pointer;
    transition: all 0.2s ease;
    font-size: 1rem;
    font-weight: 500;
}

.menu-item i {
    width: 28px;
    font-size: 1.2rem;
    color: #8fcbff;
}

.menu-item:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateX(5px);
}

.menu-overlay {
    position: fixed;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.4);
    backdrop-filter: blur(4px);
    z-index: 1000;
    opacity: 0;
    visibility: hidden;
    transition: all 0.3s ease;
}

.menu-overlay.active {
    opacity: 1;
    visibility: visible;
}

.btn {
    border: none;
    padding: 0.6rem 1.5rem;
    border-radius: 40px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.2s ease;
    font-family: inherit;
    display: inline-flex;
    align-items: center;
    gap: 8px;
}

.btn-primary {
    background: #2c7da0;
    color: white;
    box-shadow: 0 2px 6px rgba(44, 125, 160, 0.3);
}

.btn-primary:hover:not(:disabled) {
    background: #1f6685;
    transform: translateY(-2px);
}

.btn-secondary {
    background: #e0f0f8;
    color: #1f5570;
    border: 1px solid #8fcbff;
}

.btn-secondary:hover {
    background: #cbe5f0;
    transform: translateY(-1px);
}

.card-block {
    background: rgba(255, 255, 255, 0.82);
    backdrop-filter: blur(2px);
    border-radius: 2rem;
    padding: 1.8rem 2rem;
    box-shadow: 0 10px 22px -8px rgba(70, 130, 160, 0.12);
    border: 1px solid rgba(255, 255, 255, 0.7);
    transition: all 0.3s;
    scroll-margin-top: 80px;
}

.card-block:hover {
    background: rgba(255, 255, 255, 0.92);
    box-shadow: 0 20px 28px -12px rgba(52, 114, 142, 0.2);
    border-color: #cae3ef;
}

.toast-msg, .toast-notification {
    position: fixed;
    bottom: 30px;
    left: 50%;
    transform: translateX(-50%) translateY(100px);
    background: #1e2f3a;
    backdrop-filter: blur(12px);
    color: white;
    padding: 12px 24px;
    border-radius: 60px;
    font-size: 0.9rem;
    z-index: 1100;
    transition: all 0.25s ease;
    opacity: 0;
    pointer-events: none;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.2);
}

.toast-msg.show, .toast-notification.show {
    transform: translateX(-50%) translateY(0);
    opacity: 1;
}

::-webkit-scrollbar {
    width: 8px;
}
::-webkit-scrollbar-track {
    background: #d9eaf5;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb {
    background: #7bb3c9;
    border-radius: 10px;
}
::-webkit-scrollbar-thumb:hover {
    background: #5290b0;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem 1.5rem 4rem;
}

@keyframes fadeInDown {
    0% { opacity: 0; transform: translateY(-30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes fadeInUp {
    0% { opacity: 0; transform: translateY(30px); }
    100% { opacity: 1; transform: translateY(0); }
}

@keyframes pulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.02); }
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

.text-center { text-align: center; }
.mt-1 { margin-top: 0.5rem; }
.mt-2 { margin-top: 1rem; }
.mt-3 { margin-top: 1.5rem; }
.mb-1 { margin-bottom: 0.5rem; }
.mb-2 { margin-bottom: 1rem; }
.mb-3 { margin-bottom: 1.5rem; }

@media (max-width: 680px) {
    .container {
        padding: 1.5rem 1.2rem 2.5rem;
    }
    .card-block {
        padding: 1.4rem 1.2rem;
    }
    .side-menu {
        width: 280px;
        left: -280px;
    }
}