@import 'https://gw.alipayobjects.com/os/k/jinkai/style.css';

:root {
    --theme-bg: #21262b;
    --theme-header-bg: transparent;
    --theme-text: #e7e9ea;
    --theme-meta: #7f8c8d;
    --theme-width: 1200px;
    --theme-block-bg: #2d333b;
    --theme-highlight: #ab7df8;
    font-size: 14px;
}

/* Reset and base styls */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

a {
    color: inherit;
    text-decoration: none;
}


/* styles */
body {
    font-family: TsangerJinKai02, -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji";
    line-height: 1.6;
    color: var(--theme-text);
    background-color: var(--theme-bg);
}

.container {
    max-width: var(--theme-width);
    margin: 0 auto;
}

/* Header styles */
.header {
    position: sticky;
    top: 0;
    z-index: 100;
    background: var(--theme-header-bg);
    background: rgba(0, 0, 0, 0);
    backdrop-filter: blur(5px);
}

.header-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1rem 0;
}

.site-title {
    font-size: 1.8rem;
    font-weight: bold;
}

.nav {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-right {
    display: flex;
    gap: 1.5rem;
    align-items: center;
}

.nav-link {
    text-decoration: none;
    font-weight: 500;
    transition: color 0.3s;
}

.nav-link.active, .nav-link:hover {
    color: var(--theme-highlight);
}

/* Main content styles */
.main {
    padding: 2rem;
}

.global-bg {
    object-fit: cover;
    pointer-events: none;
    left: 0;
    top: 0;
    width: 100vw;
    height: 100dvh;
    position: fixed;
    z-index: -1;
    filter: brightness(0.3) blur(10px);
}

/* Responsive design */
@media (max-width: 768px) {
    .header-content {
        padding: 1rem;
        gap: 1rem;
    }

    .site-title {
        font-size: 1.5rem;
    }

    .nav {
        gap: 1rem;
    }

    .nav-right {
        justify-content: center;
        gap: 1rem;
    }

    .main {
        padding: 1rem;
    }
}