/* OK.link 自定义样式 - 参考 it.ai 设计风格 */

/* 全局样式优化 - it.ai 极简风格 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'Roboto', 'Oxygen', 'Ubuntu', 'Cantarell', sans-serif;
    line-height: 1.6;
    color: #000000;
    background-color: #ffffff;
    -webkit-font-smoothing: antialiased;
    -moz-osx-font-smoothing: grayscale;
}

/* 页面容器优化 - it.ai 风格 */
.container {
    max-width: 600px;
    padding-left: 24px;
    padding-right: 24px;
    margin: 0 auto;
}

/* 主要区域间距优化 - it.ai 风格 */
main {
    padding-top: 0;
    padding-bottom: 40px;
}

/* 区域间距优化 - 统一 section 样式 */
section {
    max-width: 600px;
    margin: 0 auto;
    padding: 0 24px;
    margin-bottom: 2rem;
}

section.container {
    max-width: 600px !important;
    margin: 0 auto;
    padding: 40px 24px;
}

/* 修复 Bootstrap 的 py-5 类 */
.py-5 {
    padding-top: 40px !important;
    padding-bottom: 40px !important;
}

/* 修复 mb-5 和 mb-3 间距 */
.mb-5 {
    margin-bottom: 48px !important;
}

.mb-3 {
    margin-bottom: 24px !important;
}

/* 文本对齐 - it.ai 风格（左对齐） */
.text-center {
    text-align: left !important;
}

/* Hero 区域样式 - 头像居中 */
.text-center.mb-5 {
    margin-bottom: 60px !important;
    text-align: left;
}

/* 头像容器居中 */
.text-center.mb-5 .mb-4 {
    text-align: center !important;
    display: flex;
    justify-content: center;
    align-items: center;
}

/* 卡片间距优化 - it.ai 风格 */
.row.g-3 > * {
    padding: 0;
    margin-bottom: 32px;
}

.row.g-4 > * {
    padding: 0;
    margin-bottom: 32px;
}

.row.g-3 > *:last-child,
.row.g-4 > *:last-child {
    margin-bottom: 0;
}

/* 导航栏优化 - it.ai 极简风格 */
header {
    background: #ffffff;
    border-bottom: none;
    position: relative;
    padding: 60px 0 40px 0;
    box-shadow: none !important;
}

header .container {
    max-width: 600px;
}

/* 简化 logo */
.logo-main {
    font-size: 2.5rem;
    font-weight: 400;
    color: #000000;
    letter-spacing: -0.03em;
}

.logo-subtitle {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 300;
    margin-top: 4px;
}

/* 隐藏导航链接，简化头部 */
header nav {
    display: none !important;
}

/* 简化语言选择器 */
header .dropdown {
    position: absolute;
    top: 60px;
    right: 80px;
}

header .btn {
    font-size: 0.875rem;
    font-weight: 300;
    border: none;
    background: transparent;
    color: #000000;
    padding: 4px 0;
    text-decoration: underline;
}

header .btn:hover {
    opacity: 0.6;
}

/* 现代化标题样式 - it.ai 风格 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 400;
    letter-spacing: -0.03em;
    color: #000000;
}

h2.h5 {
    font-size: 1.125rem;
    font-weight: 400;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    border-bottom: none;
    padding-bottom: 0;
}

/* 现代化段落样式 - it.ai 风格 */
p {
    color: #333333;
    line-height: 1.7;
    font-size: 1.125rem;
    font-weight: 300;
}

/* 个人简介样式优化 */
.text-muted.mb-3 {
    color: #333333 !important;
    font-size: 1.125rem;
    line-height: 1.8;
    font-weight: 300;
    max-width: 100%;
    margin-bottom: 32px !important;
}

#bio-en,
#bio-jp {
    display: block;
    line-height: 1.8;
    letter-spacing: -0.01em;
}

.text-muted {
    color: #666666 !important;
    font-weight: 300;
}

/* 改进的颜色系统 */
:root {
    --primary-color: #007bff;
    --primary-hover: #0056b3;
    --text-primary: #1a1a1a;
    --text-secondary: #4a4a4a;
    --text-muted: #8e8e93;
    --background-primary: #ffffff;
    --background-secondary: #fafafa;
    --border-color: #e9ecef;
    --shadow-light: rgba(0, 0, 0, 0.04);
    --shadow-medium: rgba(0, 0, 0, 0.08);
    --shadow-heavy: rgba(0, 0, 0, 0.12);
}

/* 改进的链接样式 - it.ai 极简风格 */
a {
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

a:hover {
    color: #000000;
    text-decoration: underline;
    opacity: 0.6;
}

/* 现代化卡片设计 - it.ai 极简风格 */
.card {
    border: none;
    border-radius: 0;
    box-shadow: none;
    transition: opacity 0.2s ease;
    background: #ffffff;
    margin-bottom: 24px;
}

.card:hover {
    box-shadow: none;
    transform: none;
    opacity: 0.8;
}

/* 项目卡片样式 - it.ai 极简风格（优先级最高） */
.project-card {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease;
    background: #ffffff !important;
    overflow: visible;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 32px;
    margin-bottom: 32px;
    height: auto !important;
    position: relative;
    display: flex;
    flex-direction: column;
}

.project-card:hover {
    box-shadow: none !important;
    transform: none !important;
    opacity: 0.8;
}

.project-card:last-child {
    border-bottom: none;
    margin-bottom: 0;
}

.project-card::before {
    display: none !important;
}

.project-card .card-body {
    padding: 0 !important;
    display: flex;
    flex-direction: column;
    flex: 1;
}

.project-card .d-flex.align-items-start.justify-content-between {
    display: none !important;
}

/* 确保项目卡片内容对齐 */
.project-card .project-title {
    margin-top: 0;
    margin-bottom: 12px;
    font-size: 1.125rem;
    font-weight: 400;
    line-height: 1.4;
}

.project-card .project-description {
    margin-bottom: 16px;
    flex: 1;
    min-height: auto;
    line-height: 1.6;
}

.project-card .d-flex.justify-content-between.align-items-center {
    margin-top: 0;
    flex-direction: row;
    align-items: center;
    gap: 0;
    justify-content: flex-start;
}

/* 移除 Bootstrap 的 shadow 类 */
.shadow-sm,
.shadow {
    box-shadow: none !important;
}

/* 移除 h-100 类的影响 */
.h-100 {
    height: auto !important;
}

.project-card .d-flex.justify-content-between {
    flex-direction: row;
    align-items: center;
    gap: 0;
    justify-content: flex-start;
}

/* Projects 模块整体样式 - it.ai 极简风格 */
#projects {
    margin-bottom: 48px;
}

#projects h2.h5 {
    font-size: 1.125rem;
    font-weight: 400;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 32px;
    border-bottom: none;
    padding-bottom: 0;
}

/* Projects 行布局优化 - 确保卡片大小一致 */
#projects .row.g-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
    display: flex;
    flex-wrap: wrap;
    gap: 0;
}

#projects .row.g-3 > .col-12.col-md-6 {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 32px;
    width: 100%;
    display: flex;
}

@media (min-width: 768px) {
    #projects .row.g-3 > .col-12.col-md-6 {
        width: calc(50% - 16px);
        margin-right: 32px;
    }
    
    #projects .row.g-3 > .col-12.col-md-6:nth-child(2n) {
        margin-right: 0;
    }
}

/* 确保项目卡片高度一致 */
#projects .project-card {
    height: 100% !important;
    width: 100%;
    display: flex;
    flex-direction: column;
    margin-bottom: 0;
}

#projects .project-card .card-body {
    display: flex !important;
    flex-direction: column !important;
    flex: 1;
    min-height: 140px;
}

/* 统一项目描述的最小高度，确保卡片高度一致 */
#projects .project-card .project-description {
    min-height: 48px;
    flex: 1;
}

/* 工具卡片样式 */
.realtime-card {
    border: none;
    border-radius: 20px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.06);
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    background: #ffffff;
    overflow: hidden;
    position: relative;
    min-height: 200px;
}

.realtime-card:hover {
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.12);
    transform: translateY(-4px);
}

/* 工具卡片内容优化 */
.realtime-card .card-body {
    padding: 24px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    height: 100%;
}

/* 工具卡片图标优化 */
.realtime-card .card-icon {
    width: 48px;
    height: 48px;
    border-radius: 12px;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 20px;
    margin-bottom: 16px;
    transition: all 0.3s ease;
}

.realtime-card:hover .card-icon {
    transform: scale(1.1);
}

/* Logo和副标题样式 - 改进版 */
.logo-container {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    cursor: pointer;
    transition: all 0.3s ease;
    padding: 8px 12px;
    border-radius: 8px;
    position: relative;
    overflow: hidden;
}

.logo-container::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(135deg, #007bff, #0056b3);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: -1;
}

.logo-container:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.15);
}

.logo-container:hover::before {
    opacity: 0.05;
}

.logo-container:hover .logo-main {
    color: #007bff;
    transform: scale(1.02);
}

.logo-container:hover .logo-subtitle {
    color: #6c757d;
}

.logo-main {
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 0;
    line-height: 1.2;
    transition: all 0.3s ease;
    position: relative;
    font-size: 1.75rem;
    letter-spacing: -0.02em;
}

.logo-main::after {
    content: '';
    position: absolute;
    bottom: -2px;
    left: 0;
    width: 0;
    height: 2px;
    background: linear-gradient(90deg, #007bff, #0056b3);
    transition: width 0.3s ease;
}

.logo-container:hover .logo-main::after {
    width: 100%;
}

.logo-subtitle {
    font-size: 0.75rem;
    color: #8e8e93;
    font-weight: 400;
    margin-top: 2px;
    line-height: 1.2;
    transition: all 0.3s ease;
    letter-spacing: 0.01em;
    letter-spacing: 0.5px;
    text-transform: uppercase;
}

/* 头像样式 - it.ai 极简风格 */
.avatar-profile {
    width: 120px;
    height: 120px;
    object-fit: cover;
    border: none;
    transition: opacity 0.2s ease;
    opacity: 1;
    transform: none;
    cursor: pointer;
    box-shadow: none;
    border-radius: 50%;
    margin: 0 auto 24px auto;
    display: block;
}

.avatar-profile:hover {
    opacity: 0.8;
    transform: none;
    box-shadow: none;
    border-color: transparent;
}

/* 头像脉冲动画 */
@keyframes avatarPulse {
    0%, 100% {
        box-shadow: 0 0 0 0 rgba(0, 123, 255, 0.4);
    }
    50% {
        box-shadow: 0 0 0 10px rgba(0, 123, 255, 0);
    }
}


/* 技能标签样式 - it.ai 极简风格 */
.skill-tag {
    font-size: 0.875rem;
    font-weight: 300;
    transition: opacity 0.2s ease;
    border: none;
    background: transparent !important;
    color: #666666 !important;
    padding: 4px 0;
    margin: 0 8px 8px 0;
    opacity: 1;
    transform: none;
}

.skill-tag:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.skill-tag:nth-child(1) { animation-delay: 0.1s; }
.skill-tag:nth-child(2) { animation-delay: 0.2s; }
.skill-tag:nth-child(3) { animation-delay: 0.3s; }
.skill-tag:nth-child(4) { animation-delay: 0.4s; }
.skill-tag:nth-child(5) { animation-delay: 0.5s; }
.skill-tag:nth-child(6) { animation-delay: 0.6s; }

/* 兴趣爱好标签样式 - it.ai 极简风格 */
.interest-tag {
    font-size: 0.875rem;
    font-weight: 300;
    transition: opacity 0.2s ease;
    border: none;
    background: transparent !important;
    color: #666666 !important;
    padding: 4px 0;
    margin: 0 8px 8px 0;
    opacity: 1;
    transform: none;
}

/* 工具中心分页样式 */
#realtime-container {
    min-height: 200px;
}

.realtime-card {
    border: none;
    box-shadow: 0 2px 4px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    opacity: 1;
    transform: translateY(0);
}

.realtime-card:hover {
    transform: translateY(-3px);
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.15);
}

.realtime-card .card-body {
    padding: 1rem;
}

/* 工具中心网格动画 - 已移除延迟动画 */

/* 工具分页样式 */
/* Tools 板块样式 - it.ai 极简风格 */
#tools {
    margin-bottom: 24px;
}

#tools-container {
    min-height: auto;
}

.tool-card {
    border: none !important;
    box-shadow: none !important;
    transition: opacity 0.2s ease;
    opacity: 1;
    transform: none;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 16px;
    margin-bottom: 24px;
    border-radius: 0 !important;
}

.tool-card:hover {
    transform: none !important;
    box-shadow: none !important;
    opacity: 0.8;
}

.tool-card:last-child {
    border-bottom: none;
}

.tool-card .card-body {
    padding: 0 !important;
}

.tool-card .icon-rotate {
    transition: none;
}

.tool-card:hover .icon-rotate {
    transform: none;
}

/* 分页按钮样式 - it.ai 极简风格（隐藏或简化） */
#tools-pagination-dots {
    gap: 0.5rem;
    display: none; /* 隐藏分页点 */
}

.pagination-dot {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background-color: #dee2e6;
    border: none;
    cursor: pointer;
    transition: opacity 0.2s ease;
}

.pagination-dot.active {
    background-color: #000000;
    transform: none;
}

.pagination-dot:hover {
    background-color: #666666;
    transform: none;
}

/* 分页信息样式 - it.ai 极简风格 */
#tools-pagination-info {
    font-size: 0.875rem;
    color: #666666;
    font-weight: 300;
}

/* 分页按钮组样式 - it.ai 极简风格 */
#tools .btn-group {
    display: flex;
}

#tools .btn-group .btn {
    background: transparent !important;
    border: none !important;
    color: #000000 !important;
    text-decoration: none !important;
    padding: 4px 8px !important;
    font-size: 0.875rem;
    font-weight: 300;
}

#tools .btn-group .btn:hover:not(:disabled) {
    opacity: 0.6;
    background: transparent !important;
}

#tools .btn-group .btn:disabled {
    opacity: 0.3;
    cursor: not-allowed;
}

/* Tools 标题样式 */
#tools h2.h5 {
    font-size: 1.125rem;
    font-weight: 400;
    color: #000000;
    letter-spacing: -0.02em;
    margin-bottom: 24px;
    border-bottom: none;
    padding-bottom: 0;
}

/* Tools 头部容器 */
#tools > .d-flex.justify-content-between {
    flex-direction: row;
    align-items: center;
    gap: 16px;
}

#tools > .d-flex.justify-content-between > .d-flex {
    display: flex; /* 显示分页控件 */
}

/* 工具网格样式 - it.ai 极简风格 */
#tools-grid {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

#tools-grid > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
    margin-bottom: 0;
}

/* 工具卡片链接样式 */
.tool-card a {
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.tool-card a:hover {
    opacity: 0.6;
    color: #000000;
}

/* 分享图片样式 - it.ai 极简风格 */
.share-card {
    border: none;
    box-shadow: none;
    transition: opacity 0.2s ease;
    overflow: visible;
    opacity: 1;
    transform: none;
    margin-bottom: 32px;
    border-bottom: 1px solid #e5e5e5;
    padding-bottom: 24px;
}

.share-card:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.8;
}

.share-card:last-child {
    border-bottom: none;
}

.share-image-container {
    position: relative;
    height: auto;
    overflow: visible;
    cursor: pointer;
    margin-bottom: 16px;
}

.share-image {
    width: 100%;
    height: auto;
    object-fit: cover;
    transition: opacity 0.2s ease;
}

.share-image-container:hover .share-image {
    transform: none;
    opacity: 0.8;
}

.share-overlay {
    display: none;
}


.interest-tag:hover {
    transform: none;
    box-shadow: none;
    opacity: 0.6;
    background-color: transparent !important;
    color: #666666 !important;
}

.interest-tag:nth-child(1) { animation-delay: 0.7s; }
.interest-tag:nth-child(2) { animation-delay: 0.8s; }
.interest-tag:nth-child(3) { animation-delay: 0.9s; }
.interest-tag:nth-child(4) { animation-delay: 1.0s; }
.interest-tag:nth-child(5) { animation-delay: 1.1s; }
.interest-tag:nth-child(6) { animation-delay: 1.2s; }



/* 响应式设计 */
@media (max-width: 768px) {
    .logo-container {
        align-items: flex-start;
    }
    
    .logo-main {
        font-size: 1.1rem;
    }
    
    .logo-subtitle {
        font-size: 0.65rem;
    }
    
    .skill-tag, .interest-tag {
        font-size: 0.75rem;
        padding: 0.4rem 0.8rem !important;
    }
    
    .avatar-profile {
        width: 140px;
        height: 140px;
        border-width: 4px;
    }
}

/* 基础样式 */
body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 'Helvetica Neue', Arial, sans-serif;
    line-height: 1.6;
    color: #333;
}

/* 平滑滚动 */
html {
    scroll-behavior: smooth;
}

/* 卡片悬停效果 */
.card {
    transition: all 0.3s ease;
    border: 1px solid #e9ecef;
    opacity: 0;
    transform: translateY(20px);
}

.card.animate-in {
    opacity: 1;
    transform: translateY(0);
}

.card:hover {
    box-shadow: 0 15px 35px rgba(0,0,0,0.15) !important;
    transform: translateY(-8px) scale(1.02);
}

.card:hover .card-body {
    transform: translateY(-2px);
}

/* 按钮样式增强 */
.btn {
    transition: all 0.3s ease;
    font-weight: 500;
}

.btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0,123,255,0.3);
}

/* 头像样式 */
.rounded-circle {
    border: 3px solid #fff;
    box-shadow: 0 4px 12px rgba(0,0,0,0.15);
    transition: all 0.3s ease;
}

.rounded-circle:hover {
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
}

/* 导航链接样式 */
nav a {
    transition: all 0.3s ease;
    position: relative;
}

nav a:hover {
    color: #007bff !important;
    transform: translateY(-1px);
}

nav a::after {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: -5px;
    left: 50%;
    background-color: #007bff;
    transition: all 0.3s ease;
    transform: translateX(-50%);
}

nav a:hover::after {
    width: 100%;
}

/* 项目卡片特殊样式 - 已被极简风格覆盖 */

/* 项目图标样式 - it.ai 极简风格（隐藏图标） */
.project-icon {
    display: none;
}

/* 项目图标动画效果 */
.project-icon i {
    transition: all 0.3s ease;
}

.project-card:hover .project-icon i {
    animation: iconPulse 0.6s ease-in-out;
}

@keyframes iconPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.2); }
    100% { transform: scale(1); }
}

/* 特殊图标效果 */
.project-card:nth-child(1) .project-icon i {
    animation: brainPulse 2s ease-in-out infinite;
}

.project-card:nth-child(2) .project-icon i {
    animation: globeRotate 3s linear infinite;
}

.project-card:nth-child(3) .project-icon i {
    animation: brushSway 2s ease-in-out infinite;
}

.project-card:nth-child(4) .project-icon i {
    animation: fileBounce 1.5s ease-in-out infinite;
}

@keyframes brainPulse {
    0%, 100% { transform: scale(1); }
    50% { transform: scale(1.1); }
}

@keyframes globeRotate {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes brushSway {
    0%, 100% { transform: rotate(-5deg); }
    50% { transform: rotate(5deg); }
}

@keyframes fileBounce {
    0%, 100% { transform: translateY(0); }
    50% { transform: translateY(-2px); }
}

/* 项目状态徽章 - it.ai 极简风格（隐藏状态徽章） */
.project-status {
    display: none;
}

/* 项目标题 - it.ai 极简风格 */
.project-title {
    color: #000000;
    font-size: 1.125rem;
    line-height: 1.5;
    font-weight: 400;
    margin-bottom: 12px;
}

.project-title a {
    color: #000000;
    text-decoration: underline;
    transition: opacity 0.2s ease;
}

.project-title a:hover {
    color: #000000;
    text-decoration: underline;
    opacity: 0.6;
}

/* 项目描述 - it.ai 极简风格 */
.project-description {
    line-height: 1.6;
    color: #666666;
    font-size: 0.875rem;
    font-weight: 300;
    margin-bottom: 12px;
}

/* 项目按钮 - it.ai 极简风格 */
.project-btn {
    border-radius: 0;
    padding: 0;
    font-weight: 300;
    transition: opacity 0.2s ease;
    border: none;
    background: transparent;
    color: #000000;
    text-decoration: underline;
    font-size: 0.875rem;
    display: inline-block;
}

.project-btn:hover {
    background: transparent;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.project-btn i {
    display: none !important;
}

/* 项目URL - it.ai 极简风格 */
.project-url {
    font-size: 0.875rem;
    color: #666666;
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', sans-serif;
    font-weight: 300;
    margin-left: 8px;
}

/* 项目卡片动画 - 已移除，使用极简风格 */

/* 项目卡片响应式设计 */
@media (max-width: 768px) {
    .project-card {
        margin-bottom: 1rem;
    }
    
    .project-icon {
        width: 35px;
        height: 35px;
        font-size: 1rem;
    }
    
    .project-title {
        font-size: 1rem;
    }
    
    .project-btn {
        padding: 0.4rem 0.8rem;
        font-size: 0.85rem;
    }
    
    .project-url {
        font-size: 0.75rem;
    }
}

/* 项目卡片加载动画 */
@keyframes projectCardLoad {
    0% {
        opacity: 0;
        transform: translateY(30px) scale(0.95);
    }
    100% {
        opacity: 1;
        transform: translateY(0) scale(1);
    }
}

.project-card.loaded {
    animation: projectCardLoad 0.5s ease forwards;
}

/* 语言选择器样式 */
#language-selector {
    min-width: 80px;
    border-radius: 20px;
    transition: all 0.3s ease;
}

#language-selector:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 12px rgba(0, 123, 255, 0.2);
}

.dropdown-menu {
    border-radius: 12px;
    border: none;
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.15);
    padding: 0.5rem 0;
    margin-top: 0.5rem;
}

.dropdown-item {
    padding: 0.75rem 1rem;
    transition: all 0.2s ease;
    border-radius: 0;
}

.dropdown-item:hover {
    background: linear-gradient(135deg, #007bff, #0056b3);
    color: white;
    transform: translateX(4px);
}

.dropdown-item i {
    width: 20px;
    text-align: center;
}

/* 工具卡片特殊样式 */
#tools .card {
    background: linear-gradient(135deg, #fff 0%, #f1f3f4 100%);
    border-top: 3px solid #28a745;
}

#tools .card:hover {
    border-top-color: #1e7e34;
    background: linear-gradient(135deg, #f1f3f4 0%, #e9ecef 100%);
}

/* 更新日志样式 */
.list-group-item {
    border: none;
    border-bottom: 1px solid #e9ecef;
    transition: all 0.3s ease;
}

.list-group-item:hover {
    background-color: #f8f9fa;
    transform: translateX(5px);
}

/* 返回顶部按钮动画 */
.btn.rounded-circle {
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        box-shadow: 0 0 0 0 rgba(0,123,255,0.7);
    }
    70% {
        box-shadow: 0 0 0 10px rgba(0,123,255,0);
    }
    100% {
        box-shadow: 0 0 0 0 rgba(0,123,255,0);
    }
}

/* 响应式设计增强 */
@media (max-width: 768px) {
    .card {
        margin-bottom: 1rem;
    }
    
    .btn {
        font-size: 0.9rem;
        padding: 0.5rem 1rem;
    }
    
    .rounded-circle {
        width: 80px !important;
        height: 80px !important;
    }
}

/* 页面加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes fadeInLeft {
    from {
        opacity: 0;
        transform: translateX(-30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes fadeInRight {
    from {
        opacity: 0;
        transform: translateX(30px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes scaleIn {
    from {
        opacity: 0;
        transform: scale(0.8);
    }
    to {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes slideInDown {
    from {
        opacity: 0;
        transform: translateY(-50px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes bounceIn {
    0% {
        opacity: 0;
        transform: scale(0.3);
    }
    50% {
        opacity: 1;
        transform: scale(1.05);
    }
    70% {
        transform: scale(0.9);
    }
    100% {
        opacity: 1;
        transform: scale(1);
    }
}

@keyframes pulse {
    0% {
        transform: scale(1);
    }
    50% {
        transform: scale(1.05);
    }
    100% {
        transform: scale(1);
    }
}

@keyframes float {
    0%, 100% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
}

@keyframes glow {
    0%, 100% {
        box-shadow: 0 0 5px rgba(0,123,255,0.5);
    }
    50% {
        box-shadow: 0 0 20px rgba(0,123,255,0.8);
    }
}

/* 动画类 */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.fade-in-left {
    animation: fadeInLeft 0.6s ease forwards;
}

.fade-in-right {
    animation: fadeInRight 0.6s ease forwards;
}

.scale-in {
    animation: scaleIn 0.5s ease forwards;
}

.slide-in-down {
    animation: slideInDown 0.6s ease forwards;
}

.bounce-in {
    animation: bounceIn 0.8s ease forwards;
}

.float {
    animation: float 3s ease-in-out infinite;
}

.pulse {
    animation: pulse 2s ease-in-out infinite;
}

.glow {
    animation: glow 2s ease-in-out infinite;
}

/* 延迟动画 */
.delay-1 { animation-delay: 0.1s; }
.delay-2 { animation-delay: 0.2s; }
.delay-3 { animation-delay: 0.3s; }
.delay-4 { animation-delay: 0.4s; }
.delay-5 { animation-delay: 0.5s; }
.delay-6 { animation-delay: 0.6s; }

/* 语言切换按钮样式 */
.btn-group .btn {
    transition: all 0.3s ease;
    border-radius: 0.375rem !important;
    font-weight: 500;
    font-size: 0.875rem;
    padding: 0.375rem 0.75rem;
}

.btn-group .btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 2px 8px rgba(0,123,255,0.3);
}

.btn-group .btn.active {
    background-color: #007bff;
    border-color: #007bff;
    color: white;
    box-shadow: 0 2px 8px rgba(0,123,255,0.4);
}

.btn-group .btn:not(.active) {
    background-color: transparent;
    color: #007bff;
    border-color: #007bff;
}

.btn-group .btn:not(.active):hover {
    background-color: #007bff;
    color: white;
}

/* 语言切换动画 */
[data-en][data-jp] {
    transition: all 0.3s ease;
}

/* 移动端语言切换按钮 */
@media (max-width: 768px) {
    .btn-group {
        margin-bottom: 0.5rem;
    }
    
    .btn-group .btn {
        font-size: 0.8rem;
        padding: 0.25rem 0.5rem;
    }
}

/* 防止扩展冲突的样式 */
body {
    position: relative;
}

/* 确保扩展不会影响我们的布局 */
* {
    box-sizing: border-box;
}

/* 社交媒体图标悬停效果 */
.text-muted:hover {
    color: #007bff !important;
    transform: scale(1.2);
    transition: all 0.3s ease;
}

/* 页脚样式 - it.ai 极简风格 */
footer {
    background: #ffffff !important;
    border-top: none;
    padding: 32px 0 20px 0;
    margin-top: 24px;
}

footer .text-muted {
    color: #666666 !important;
    font-weight: 300;
    font-size: 0.875rem;
}

.disclaimer-en,
.disclaimer-jp {
    color: #666666 !important;
    font-weight: 300;
    font-size: 0.875rem;
}

/* 标题样式增强 */
h1, h2, h3, h4, h5, h6 {
    font-weight: 600;
    color: #2c3e50;
}

/* 文本选择样式 */
::selection {
    background-color: #007bff;
    color: white;
}

/* 滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: #f1f1f1;
}

::-webkit-scrollbar-thumb {
    background: #007bff;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: #0056b3;
}

/* 增强动画效果 */
/* 按钮动画效果 */
.btn {
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.btn::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, transparent, rgba(255,255,255,0.2), transparent);
    transition: left 0.5s;
}

.btn:hover::before {
    left: 100%;
}

.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0,0,0,0.2);
}

/* 头像动画 */
.avatar-animated {
    transition: all 0.3s ease;
}

.avatar-animated:hover {
    transform: scale(1.1) rotate(5deg);
    box-shadow: 0 10px 30px rgba(0,123,255,0.3);
}

/* 文字打字机效果 */
.typewriter {
    overflow: hidden;
    border-right: 2px solid #007bff;
    white-space: nowrap;
    animation: typing 3.5s steps(40, end), blink-caret 0.75s step-end infinite;
}

@keyframes typing {
    from { width: 0 }
    to { width: 100% }
}

@keyframes blink-caret {
    from, to { border-color: transparent }
    50% { border-color: #007bff; }
}

/* 加载动画 */
.loading-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: #fff;
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 1;
    transition: opacity 0.5s ease;
}

.loading-overlay.fade-out {
    opacity: 0;
    pointer-events: none;
}

.loading-spinner {
    width: 50px;
    height: 50px;
    border: 3px solid #f3f3f3;
    border-top: 3px solid #007bff;
    border-radius: 50%;
    animation: spin 1s linear infinite;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

/* 滚动视差效果 */
.parallax-bg {
    background-attachment: fixed;
    background-position: center;
    background-repeat: no-repeat;
    background-size: cover;
}

/* 项目卡片特殊效果 */
#projects .card:hover {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    border-left-color: #0056b3;
}

#tools .card:hover {
    background: linear-gradient(135deg, #e3f2fd 0%, #bbdefb 100%);
    border-top-color: #1e7e34;
}

/* 文字渐入效果 */
.text-fade-in {
    opacity: 0;
    transform: translateY(20px);
    transition: all 0.6s ease;
}

.text-fade-in.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 图标旋转效果 */
.icon-rotate:hover {
    transform: rotate(360deg);
    transition: transform 0.6s ease;
}

/* 波浪动画 */
.wave {
    animation: wave 2s ease-in-out infinite;
}

@keyframes wave {
    0%, 100% { transform: rotate(0deg); }
    25% { transform: rotate(5deg); }
    75% { transform: rotate(-5deg); }
}

/* 闪烁效果 */
.blink {
    animation: blink 1s linear infinite;
}

@keyframes blink {
    0%, 50% { opacity: 1; }
    51%, 100% { opacity: 0; }
}

/* 弹跳效果 */
.bounce {
    animation: bounce 1s ease infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% { transform: translateY(0); }
    40% { transform: translateY(-10px); }
    60% { transform: translateY(-5px); }
}

/* 实时信息栏样式 */
.realtime-info {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    border-radius: 15px;
    box-shadow: 0 8px 32px rgba(0,0,0,0.1);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255,255,255,0.2);
}

.realtime-info .card {
    border-radius: 12px;
    transition: all 0.3s ease;
    position: relative;
    overflow: hidden;
}

.realtime-info .card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(45deg, rgba(255,255,255,0.1), transparent);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.realtime-info .card:hover::before {
    opacity: 1;
}

.realtime-info .card:hover {
    transform: translateY(-3px);
    box-shadow: 0 12px 40px rgba(0,0,0,0.2);
}

/* 时钟动画 */
.clock-digit {
    display: inline-block;
    transition: all 0.3s ease;
}

.clock-digit:hover {
    transform: scale(1.1);
    color: #ffd700 !important;
}

/* 天气图标动画 */
.weather-icon {
    animation: weatherFloat 3s ease-in-out infinite;
}

@keyframes weatherFloat {
    0%, 100% { transform: translateY(0px); }
    50% { transform: translateY(-5px); }
}

/* 世界时间样式 */
.world-time-item {
    transition: all 0.3s ease;
}

.world-time-item:hover {
    transform: translateX(5px);
    color: #ffd700 !important;
}

/* 信息栏响应式 */
@media (max-width: 768px) {
    .realtime-info .card-body {
        padding: 1rem;
    }
    
    .realtime-info .h5 {
        font-size: 1.1rem;
    }
    
    .realtime-info .h6 {
        font-size: 0.9rem;
    }
}

/* 加载动画 */
.loading-dots {
    display: inline-block;
    animation: loadingDots 1.5s infinite;
}

@keyframes loadingDots {
    0%, 20% { content: ''; }
    40% { content: '.'; }
    60% { content: '..'; }
    80%, 100% { content: '...'; }
}


/* 密码生成器样式 */
#password-output {
    font-family: 'Courier New', monospace;
    font-weight: bold;
    transition: all 0.3s ease;
    min-height: 1.5rem;
    line-height: 1.5;
}

#copy-password-btn, #generate-password-btn {
    background: rgba(0,0,0,0.1) !important;
    border: 1px solid rgba(0,0,0,0.2) !important;
    color: #333 !important;
    transition: all 0.3s ease;
}

#copy-password-btn:hover, #generate-password-btn:hover {
    background: rgba(0,0,0,0.2) !important;
    transform: scale(1.05);
}

#copy-password-btn:active, #generate-password-btn:active {
    transform: scale(0.95);
}

/* 密码强度指示器 */
.password-strength-weak {
    color: #dc3545;
}

.password-strength-medium {
    color: #ffc107;
}

.password-strength-strong {
    color: #28a745;
}

.password-strength-very-strong {
    color: #007bff;
}

/* 滑块样式 */
#password-length {
    background: transparent;
    outline: none;
    -webkit-appearance: none;
    appearance: none;
}

#password-length::-webkit-slider-track {
    background: rgba(0,0,0,0.2);
    height: 4px;
    border-radius: 2px;
}

#password-length::-webkit-slider-thumb {
    -webkit-appearance: none;
    appearance: none;
    background: #ffc107;
    height: 16px;
    width: 16px;
    border-radius: 50%;
    cursor: pointer;
    box-shadow: 0 2px 4px rgba(0,0,0,0.2);
}

#password-length::-webkit-slider-thumb:hover {
    background: #e0a800;
    transform: scale(1.1);
}

/* 密码生成器动画 */
.password-generating {
    animation: passwordPulse 0.5s ease-in-out;
}

@keyframes passwordPulse {
    0% { transform: scale(1); }
    50% { transform: scale(1.05); }
    100% { transform: scale(1); }
}

/* 复制成功动画 */
.copy-success {
    animation: copySuccess 0.3s ease-in-out;
}

@keyframes copySuccess {
    0% { background: rgba(40,167,69,0.2); }
    100% { background: rgba(0,0,0,0.1); }
}

/* 实时信息卡片高度一致 */
.realtime-info .card {
    min-height: 200px;
    display: flex;
    flex-direction: column;
}

.realtime-info .card-body {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

/* 响应式密码生成器 */
@media (max-width: 768px) {
    #password-output {
        font-size: 0.8rem;
    }
    
    .btn-sm {
        font-size: 0.7rem;
        padding: 0.25rem 0.5rem;
    }
    
    #password-length {
        height: 16px;
    }
    
    .realtime-info .card {
        min-height: 180px;
    }
}




/* 现代化表单元素 */
.form-control {
    border: 2px solid var(--border-color);
    border-radius: 12px;
    padding: 12px 16px;
    font-size: 16px;
    transition: all 0.3s ease;
    background: var(--background-primary);
}

.form-control:focus {
    border-color: var(--primary-color);
    box-shadow: 0 0 0 3px rgba(0, 123, 255, 0.1);
    outline: none;
}

.form-control::placeholder {
    color: var(--text-muted);
}

/* 现代化按钮样式 - it.ai 极简风格 */
.btn {
    border-radius: 0;
    font-weight: 300;
    transition: opacity 0.2s ease;
    border: none;
    padding: 0;
    font-size: 1rem;
    background: transparent;
    color: #000000;
    text-decoration: underline;
}

.btn-primary,
.btn-outline-primary,
.btn-light {
    background: transparent;
    color: #000000;
    text-decoration: underline;
    border: none;
    box-shadow: none;
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-light:hover {
    background: transparent;
    color: #000000;
    transform: none;
    box-shadow: none;
    opacity: 0.6;
}

.btn-outline-secondary {
    border: 2px solid #e9ecef;
    color: #6c757d;
    background: transparent;
}

.btn-outline-secondary:hover {
    background: #f8f9fa;
    border-color: #dee2e6;
    color: #495057;
    transform: translateY(-1px);
}

/* 微妙的动画效果 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(20px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@keyframes slideInLeft {
    from {
        opacity: 0;
        transform: translateX(-20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

@keyframes slideInRight {
    from {
        opacity: 0;
        transform: translateX(20px);
    }
    to {
        opacity: 1;
        transform: translateX(0);
    }
}

/* 页面加载动画 */
.fade-in-up {
    animation: fadeInUp 0.6s ease forwards;
}

.slide-in-left {
    animation: slideInLeft 0.6s ease forwards;
}

.slide-in-right {
    animation: slideInRight 0.6s ease forwards;
}

/* 网络速度测试样式 */
#start-speed-test {
    transition: all 0.3s ease;
}

#start-speed-test:disabled {
    opacity: 0.6;
    cursor: not-allowed;
}

#start-speed-test:hover:not(:disabled) {
    transform: scale(1.05);
}

/* 颜色选择器样式 */
#color-picker {
    transition: all 0.3s ease;
    box-shadow: 0 2px 8px rgba(0,0,0,0.1);
}

#color-picker:hover {
    transform: scale(1.1);
    box-shadow: 0 4px 12px rgba(0,0,0,0.2);
}

#copy-color-btn {
    transition: all 0.3s ease;
}

#copy-color-btn:hover {
    transform: scale(1.05);
}

#copy-color-btn.copy-success {
    background-color: rgba(40, 167, 69, 0.2) !important;
    border-color: #28a745 !important;
    color: #28a745 !important;
}

/* 实时信息卡片动画 */
.realtime-info .card {
    transition: all 0.3s ease;
}

.realtime-info .card:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(0,0,0,0.15);
}

/* 速度测试结果动画 */
#speed-result {
    font-family: 'Courier New', monospace;
    transition: all 0.3s ease;
}

/* 颜色显示动画 */
#color-hex, #color-rgb {
    transition: all 0.3s ease;
    font-family: 'Courier New', monospace;
}

/* 移动端优化 */
@media (max-width: 768px) {
    /* 触摸优化 */
    .btn, .card, .list-group-item {
        min-height: 44px; /* iOS推荐的最小触摸目标 */
    }
    
    /* 移动端导航 */
    .d-none.d-md-flex {
        display: none !important;
    }
    
    /* 移动端卡片间距 */
    .card {
        margin-bottom: 1rem;
    }
    
    /* 移动端按钮组 */
    .btn-group .btn {
        padding: 0.5rem 0.75rem;
        font-size: 0.875rem;
    }
    
    /* 移动端实时信息卡片 */
    .realtime-info .card {
        margin-bottom: 0.75rem;
    }
    
    /* 移动端密码生成器 */
    .input-group-sm .form-control {
        font-size: 0.875rem;
    }
    
    /* 移动端通知 */
    .position-fixed {
        top: 10px !important;
        right: 10px !important;
        left: 10px !important;
        max-width: none !important;
        min-width: auto !important;
    }
    
    /* 移动端滚动优化 */
    body {
        -webkit-overflow-scrolling: touch;
    }
    
    /* 移动端字体大小调整 */
    .h1 { font-size: 1.75rem; }
    .h2 { font-size: 1.5rem; }
    .h3 { font-size: 1.25rem; }
    .h4 { font-size: 1.1rem; }
    .h5 { font-size: 1rem; }
    .h6 { font-size: 0.9rem; }
}

/* 超小屏幕优化 */
@media (max-width: 576px) {
    .container {
        padding-left: 1rem;
        padding-right: 1rem;
    }
    
    .btn-group .btn {
        padding: 0.375rem 0.5rem;
        font-size: 0.8rem;
    }
    
    /* 移动端头像优化 */
    .avatar-profile {
        width: 80px !important;
        height: 80px !important;
    }
    
    /* 移动端项目卡片优化 */
    .project-card {
        margin-bottom: 1.5rem;
    }
    
    .project-icon {
        width: 40px;
        height: 40px;
        font-size: 1.2rem;
    }
    
    /* 移动端工具卡片优化 */
    .tool-card, .realtime-card {
        margin-bottom: 1rem;
    }
    
    .tool-card .card-body, .realtime-card .card-body {
        padding: 1.25rem;
    }
    
    /* 移动端按钮优化 */
    .btn {
        min-height: 48px;
        font-size: 0.9rem;
        padding: 0.75rem 1.5rem;
    }
    
    .btn-sm {
        min-height: 40px;
        font-size: 0.8rem;
        padding: 0.5rem 1rem;
    }
    
    /* 移动端文字优化 */
    .h1, .h2, .h3, .h4, .h5, .h6 {
        line-height: 1.3;
    }
    
    .h5 {
        font-size: 1.1rem;
    }
    
    .h6 {
        font-size: 1rem;
    }
    
    /* 移动端间距优化 */
    .mb-5 {
        margin-bottom: 2rem !important;
    }
    
    .py-5 {
        padding-top: 2rem !important;
        padding-bottom: 2rem !important;
    }
    
    /* 移动端分页优化 */
    .pagination {
        justify-content: center;
        flex-wrap: wrap;
    }
    
    .pagination .btn {
        min-width: 44px;
        min-height: 44px;
    }
    
    /* 移动端技能标签优化 */
    .skill-tag, .interest-tag {
        font-size: 0.8rem;
        padding: 0.4rem 0.8rem;
        margin: 0.2rem;
    }
    
    /* 移动端分享卡片优化 */
    .share-card {
        margin-bottom: 1.5rem;
    }
    
    .share-image {
        height: 200px;
        object-fit: cover;
    }
    
    /* 移动端模态框优化 */
    .modal-dialog {
        margin: 1rem;
        max-width: calc(100% - 2rem);
    }
    
    /* 移动端表单优化 */
    .form-control, .form-select {
        min-height: 48px;
        font-size: 1rem;
    }
    
    /* 移动端导航优化 */
    .navbar-nav .nav-link {
        padding: 0.75rem 1rem;
        font-size: 1rem;
    }
    
    /* 移动端Tools Hub优化 */
    .realtime-card {
        margin-bottom: 1.5rem;
    }
    
    .realtime-card .card-body {
        padding: 1.5rem;
    }
    
    /* 移动端密码生成器优化 */
    .password-output {
        font-size: 0.9rem;
        word-break: break-all;
        line-height: 1.4;
    }
    
    /* 移动端颜色选择器优化 */
    .color-picker {
        width: 100%;
        height: 48px;
    }
    
    /* 移动端QR码优化 */
    .qr-output img {
        max-width: 100%;
        height: auto;
    }
    
    /* 移动端节假日工具优化 */
    .holidays-output {
        max-height: 300px;
        overflow-y: auto;
    }
    
    /* 移动端天气信息优化 */
    .weather-temp {
        font-size: 1.5rem;
    }
    
    .weather-desc {
        font-size: 0.9rem;
    }
    
    /* 移动端时钟优化 */
    .current-time {
        font-size: 1.3rem;
    }
    
    .current-date {
        font-size: 0.8rem;
    }
}
    
    .card-body {
        padding: 1rem 0.75rem;
    }
    
    .realtime-info .row {
        margin: 0;
    }
    
    .realtime-info .col-12 {
        padding: 0.25rem;
    }
}

/* 触摸设备优化 */
@media (hover: none) and (pointer: coarse) {
    .btn:hover {
        transform: none;
    }
    
    .card:hover {
        transform: none;
    }
    
    /* 增加触摸目标大小 */
    .btn-sm {
        min-height: 44px;
        min-width: 44px;
    }
    
    /* 优化触摸滚动 */
    .card-body {
        -webkit-overflow-scrolling: touch;
    }
}

/* ============================================
   最终覆盖样式 - 确保 it.ai 极简风格正确应用
   ============================================ */

/* 确保项目卡片样式优先级最高 */
.project-card {
    border: none !important;
    border-radius: 0 !important;
    box-shadow: none !important;
    background: #ffffff !important;
    overflow: visible !important;
}

/* Projects 模块卡片高度统一 */
#projects .project-card {
    height: 100% !important;
    display: flex !important;
    flex-direction: column !important;
}

#projects .project-card .card-body {
    padding: 0 !important;
    display: flex !important;
    flex-direction: column !important;
    flex: 1 !important;
}

#projects .row.g-3 > .col-12.col-md-6 {
    display: flex !important;
}

#projects .project-card .project-description {
    min-height: 48px;
}

/* 确保容器宽度一致 */
section.container {
    max-width: 600px !important;
    margin: 0 auto !important;
}

/* 确保行间距正确 */
.row.g-3 {
    margin-left: 0 !important;
    margin-right: 0 !important;
}

.row.g-3 > * {
    padding-left: 0 !important;
    padding-right: 0 !important;
}

/* 移除所有阴影 */
.shadow-sm,
.shadow,
.shadow-lg {
    box-shadow: none !important;
}

/* 确保按钮样式正确 */
.btn-primary,
.btn-outline-primary,
.btn-light {
    background: transparent !important;
    border: none !important;
    color: #000000 !important;
    text-decoration: underline !important;
    padding: 0 !important;
}

.btn-primary:hover,
.btn-outline-primary:hover,
.btn-light:hover {
    background: transparent !important;
    opacity: 0.6 !important;
    transform: none !important;
}

/* 确保工具卡片样式正确 */
.tool-card {
    border: none !important;
    box-shadow: none !important;
    background: #ffffff !important;
    border-bottom: 1px solid #e5e5e5 !important;
    border-radius: 0 !important;
}

.tool-card:hover {
    transform: none !important;
    box-shadow: none !important;
}

/* 工具板块的分页控件样式 */
#tools .btn-group {
    display: flex !important;
}

#tools .d-flex.align-items-center.gap-2 {
    display: flex !important;
}

#tools-pagination-dots {
    display: flex !important;
}