@import url('https://cdn.jsdelivr.net/npm/tailwindcss@2.2.19/dist/tailwind.min.css');
@import url('https://fonts.googleapis.com/css2?family=Inter:wght@300;400;500;600;700&display=swap');

/* 全局变量和设置 */
:root {
    --primary-blue: #0369a1;
    --secondary-blue: #1e3a8a;
    --accent-yellow: #fcd34d;
    --light-bg: #cfe8f3;
    --text-dark: #1f2937;
}

/* 全局基础样式 */
body {
    background-color: var(--light-bg);
    font-family: 'Inter', Arial, sans-serif;
    color: var(--text-dark);
    line-height: 1.6;
}

/* 强化链接效果 */
a:not(.tailwind) {
    transition: all 0.3s ease;
}

a:hover:not(.tailwind) {
    opacity: 0.85;
}

/* 图片增强效果 */
img:not(.tailwind) {
    max-width: 100%;
    height: auto;
    border-radius: 0.5rem;
    transition: transform 0.3s ease;
}

img:hover:not(.tailwind) {
    transform: scale(1.02);
}

/* 动画效果类 */
.hover-lift {
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.hover-lift:hover {
    transform: translateY(-3px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.1);
}

/* 增强卡片效果 */
.card {
    background: white;
    border-radius: 0.5rem;
    box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.card:hover {
    box-shadow: 0 10px 15px rgba(0, 0, 0, 0.1);
}

/* 定制引用样式 */
blockquote {
    border-left: 4px solid var(--primary-blue);
    padding-left: 1rem;
    font-style: italic;
    margin: 1.5rem 0;
    color: #4b5563;
}

/* 自定义按钮 */
.btn-primary {
    background-color: var(--primary-blue);
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 0.375rem;
    font-weight: 500;
    transition: background-color 0.3s ease;
}

.btn-primary:hover {
    background-color: var(--secondary-blue);
}

/* 内容容器 */
.content-wrapper {
    max-width: 1200px;
    margin: 0 auto;
    padding: 1rem;
}

/* 强化标题样式 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    line-height: 1.3;
    margin-bottom: 0.75rem;
}

/* 自定义强调文本 */
.highlight {
    background-color: rgba(252, 211, 77, 0.2);
    padding: 0.2rem 0.4rem;
    border-radius: 0.25rem;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
}
