@import url("https://cdn.jsdelivr.net/npm/@fontsource/noto-sans@5.2.5/index.min.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/noto-sans-sc@5.2.5/index.min.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/noto-sans@5.2.5/700.min.css");
@import url("https://cdn.jsdelivr.net/npm/@fontsource/noto-sans-sc@5.2.5/700.min.css");

:root {
    --background-color: #ffffff;
    --text-color: #000000;
    --primary-color: #007bff;
    --secondary-color: #6c757d;
    --success-color: #28a745;
    --danger-color: #dc3545;
    --light-color: #f8f9fa;
    --dark-color: #343a40;
}

/* 暗色主题 */
/* document.documentElement.setAttribute('data-theme', 'dark'); */
[data-theme="dark"] {
    --background-color: #333333;
    --text-color: #ffffff;
}

* {
    box-sizing: border-box;
    font-family: "Noto Sans", "Noto Sans SC", sans-serif;
    font-size: 16px;
    font-weight: 400;
    font-style: normal;
    font-display: swap;
}

html {
    scroll-behavior: smooth;
}

body {
    background-color: var(--background-color);
    color: var(--text-color);
    line-height: 1.5;
}

h1 {
    font-size: 32px;
    font-weight: 700;
    line-height: 1.15;
}

h2 {
    font-size: 24px;
    font-weight: 700;
    line-height: 1.15;
}

h3 {
    font-size: 20px;
    font-weight: 700;
    line-height: 1.15;
}

p {
    font-size: 16px;
    font-weight: 400;
    line-height: 1.5;
}

.bold {
    font-weight: 700;
}

li {
    margin: 10px 0px;
}

a {
    color: #000;
    cursor: pointer;
}

img {
    max-width: 100%;
    height: auto;
    border: none;
}

.flex {
    display: flex;
}

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

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

.flex-column {
    display: flex;
    flex-direction: column;
}

.flex-column-center {
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
}

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

.grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 10px;
}

.hidden {
    display: none !important;
}

.visible {
    display: block !important;
}

@media (max-width: 768px) {
    .hidden-mobile {
        display: none !important;
    }

    .visible-mobile {
        display: block !important;
    }
}

/* 基础按钮样式 */
.btn {
    display: inline-block;
    padding: 0.375rem 0.75rem;
    border: 1px solid transparent;
    border-radius: 0.25rem;
    cursor: pointer;
    line-height: 1.15;
}

/* 基础卡片阴影 */
.card {
    background: #fff;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

/* 动画 */
.fade-in {
    animation: fadeIn 0.3s ease-in;
}

@keyframes fadeIn {
    from {
        opacity: 0;
    }

    to {
        opacity: 1;
    }
}