/* Reset & Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    height: 100%;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif;
    line-height: 1.6;
    color: #333;
    background: #f5f7fa;
    min-height: 100%;
    display: flex;
    flex-direction: column;
    zoom: 0.8;
}

main {
    flex: 1;
}

/* Site Header */
.site-header {
    background: #3d4f5f;
    padding: 20px 0;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

.header-container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 0 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.header-left {
    display: flex;
    align-items: center;
    gap: 20px;
}

.site-avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    border: 3px solid white;
}

.site-info h1 {
    font-size: 24px;
    font-weight: 700;
    margin-bottom: 2px;
}

.site-info h1 a {
    color: white;
    text-decoration: none;
}

.site-info h1 a:hover {
    color: #b8c5d0;
}

.site-tagline {
    font-size: 14px;
    color: #b8c5d0;
    font-weight: 500;
}

/* Main Navigation */
.main-nav {
    display: flex;
    gap: 30px;
    align-items: center;
}

.main-nav a {
    color: #b8c5d0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    padding-bottom: 5px;
    border-bottom: 2px solid transparent;
    transition: all 0.2s;
}

.main-nav a:hover,
.main-nav a.active {
    color: white;
    border-bottom: 2px solid white;
}

/* Container */
.container {
    max-width: 1400px;
    margin: 0 auto;
    padding: 60px 40px;
}

/* Footer */
.site-footer {
    background: #3d4f5f;
    color: white;
    padding: 50px 0 30px;
    text-align: center;
}

.footer-links {
    display: flex;
    justify-content: center;
    gap: 30px;
    margin-bottom: 20px;
}

.footer-links a {
    color: #b8c5d0;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    transition: color 0.2s;
}

.footer-links a:hover {
    color: white;
}

.copyright {
    font-size: 14px;
    color: #b8c5d0;
}

/* Responsive */
@media (max-width: 968px) {
    .header-container {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .header-left {
        flex-direction: column;
    }

    .main-nav {
        flex-wrap: wrap;
        justify-content: center;
    }

    .container {
        padding: 40px 20px;
    }
}

@media (max-width: 768px) {
    .main-nav {
        gap: 15px;
        font-size: 14px;
    }

    .site-info h1 {
        font-size: 20px;
    }

    .header-container {
        padding: 0 20px;
    }
}
