/* 基础样式重置 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

:root {
    /* 颜色变量 */
    --primary-color: #f7f3ee;
    --secondary-color: #e6e1d6;
    --text-color: #333333;
    --accent-color: #9c8b7a;
    --light-accent: #d5cdc1;
    --dark-accent: #5d534a;
    --background-color: #fbfaf8;
    
    /* 字体变量 */
    --cn-font: 'Noto Serif SC', serif;
    --en-font: 'Noto Serif', serif;
    
    /* 尺寸变量 */
    --header-height: 80px;
    --content-max-width: 1200px;
    --content-padding: 2rem;
}

/* 暗色模式颜色变量 */
[data-theme="dark"] {
    --primary-color: #2a2826;
    --secondary-color: #383531;
    --text-color: #e6e1d6;
    --accent-color: #b0a190;
    --light-accent: #49443d;
    --dark-accent: #c8c0b8;
    --background-color: #201e1c;
}

html {
    scroll-behavior: smooth;
    font-size: 16px;
}

body {
    font-family: var(--cn-font);
    color: var(--text-color);
    background-color: var(--background-color);
    line-height: 1.6;
    overflow-x: hidden;
    transition: background-color 0.5s ease, color 0.5s ease;
}

.en {
    font-family: var(--en-font);
}

/* 隐藏类 */
.hidden {
    display: none !important;
}

/* 链接样式 */
a {
    text-decoration: none;
    color: var(--text-color);
    transition: color 0.3s ease;
}

a:hover {
    color: var(--accent-color);
}

/* 按钮样式 */
.button {
    display: inline-block;
    padding: 0.8rem 1.8rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 2px;
    font-size: 1rem;
    cursor: pointer;
    transition: all 0.3s ease;
    text-align: center;
    letter-spacing: 0.5px;
}

.button:hover {
    background-color: var(--dark-accent);
    color: white;
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
}

/* 视频背景 */
.video-background {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100vh;
    z-index: -1;
    overflow: hidden;
    opacity: 1;
    transition: opacity 0.6s ease;
}

.video-background.hidden-video {
    opacity: 0;
    pointer-events: none;
}

.video-background:after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(251, 250, 248, 0.2); /* 调整这里的透明度值：0.6表示60%不透明度，值越小越透明 */
}

[data-theme="dark"] .video-background:after {
    background: rgba(32, 30, 28, 0.6); /* 暗色模式下的透明度，也调整为0.6 */
}

.video-background video {
    width: 100%;
    height: 100%;
    object-fit: cover; /* 保持视频比例并填充整个容器 */
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%); /* 确保视频居中 */
    min-width: 100%;
    min-height: 100%;
}

/* 移动端视频背景优化 */
@media (max-width: 768px) {
    .video-background video {
        height: 100%; /* 确保高度100% */
        width: auto; /* 宽度自适应 */
        min-width: 100%; /* 最小宽度100%确保覆盖 */
    }
}

@media (max-aspect-ratio: 16/9) {
    .video-background video {
        width: 100%;
        height: auto;
    }
}

@media (max-width: 480px) {
    .video-background {
        background: url('../../public/images/mobile-fallback.jpg') center center no-repeat;
        background-size: cover;
    }
    
    .video-background video {
        display: none; /* 在特小屏幕上使用背景图片替代视频 */
    }
}

/* 导航栏 */
header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    background-color: rgba(251, 250, 248, 0.95);
    display: flex;
    justify-content: flex-start; /* 改为左对齐，为标题腾出更多右移空间 */
    align-items: center;
    padding: 0 2rem;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    transition: transform 0.4s ease, background-color 0.4s ease, box-shadow 0.4s ease;
}

[data-theme="dark"] header {
    background-color: rgba(32, 30, 28, 0.95);
    backdrop-filter: blur(10px);
}

.header-scrolled {
    background-color: rgba(251, 250, 248, 0.98);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.08);
}

[data-theme="dark"] .header-scrolled {
    background-color: rgba(32, 30, 28, 0.98);
}

.header-hidden {
    transform: translateY(-100%);
}

.logo {
    margin-right: 10rem; /* 增加右侧边距，使标题整体右移 */
}

.logo h1 {
    font-weight: 300;
    font-size: 1.5rem;
    color: var(--dark-accent);
    display: flex;
    align-items: center;
}

/* 导航布局修改 - 菜单更靠右，语言切换按钮更靠左 */
nav {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
}

.nav-container {
    display: flex;
    align-items: center;
    justify-content: flex-end;
    flex-grow: 1;
    margin-left: auto;
    padding-right: 2rem;
    padding-left: 2rem; /* 增加左侧空间 */
}

.nav-links {
    display: flex;
    list-style: none;
    justify-content: flex-end;
}

.nav-links li {
    margin: 0 1.2rem;
}

/* 语言切换样式调整 - 向左移动 */
.language-toggle {
    display: flex;
    border: 1px solid var(--light-accent);
    border-radius: 3px;
    overflow: hidden;
    margin-right: auto; /* 自动靠左 */
    margin-left: 6rem; /* 与logo保持一定距离 */
}

.language-toggle button {
    background: none;
    border: none;
    padding: 0.5rem 0.8rem;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: var(--cn-font);
}

.language-toggle button.active {
    background-color: var(--accent-color);
    color: white;
}

/* 主内容区 */
main {
    padding-top: var(--header-height);
    min-height: 100vh;
}

/* 英雄区 */
.hero {
    height: calc(100vh - var(--header-height));
    display: flex;
    align-items: center;
    justify-content: center;
    text-align: center;
    padding: 0 var(--content-padding);
}

.hero-content {
    max-width: 800px;
    animation: fadeIn 1.5s ease-out;
}

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

.hero h2 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1.5rem;
    line-height: 1.3;
    letter-spacing: 1px;
}

.hero p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    opacity: 0.9;
}

/* 章节标题 */
.section-title {
    text-align: center;
    font-size: 2rem;
    font-weight: 300;
    margin-bottom: 3rem;
    position: relative;
    padding-bottom: 0.8rem;
    letter-spacing: 1px;
}

.section-title:after {
    content: "";
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 1px;
    background-color: var(--accent-color);
}

/* 精选区域 */
.featured {
    padding: 5rem var(--content-padding);
    background-color: var(--primary-color);
}

.featured-item {
    max-width: 800px;
    margin: 0 auto;
    text-align: center;
}

.content-box {
    background-color: white;
    padding: 3rem;
    border-radius: 3px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .content-box {
    background-color: #2a2826;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.content-box:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.content-box h3 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark-accent);
}

.content-box p {
    margin-bottom: 1.5rem;
    line-height: 1.8;
}

.featured-item .content-box p {
    min-height: 80px; /* 恢复原有高度 */
    line-height: 1.8;
    font-size: 1.4rem; /* 增加字体大小 */
}

.author {
    font-style: italic;
    color: var(--accent-color);
    text-align: right;
    margin-bottom: 0.2rem; /* 减少作者与日期之间的距离 */
}

.date {
    font-style: italic;
    color: var(--accent-color);
    text-align: right; /* 确保日期右对齐，与作者名对齐 */
    font-size: 0.9rem;
    opacity: 0.8;
    margin-top: 0; /* 移除上边距 */
}

/* 内容区域 */
.content-section {
    padding: 5rem var(--content-padding);
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.content-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(300px, 1fr));
    gap: 2rem;
    margin-bottom: 3rem;
}

.content-card {
    background-color: var(--primary-color);
    padding: 2rem;
    border-radius: 3px;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .content-card {
    background-color: #2a2826;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.08);
}

.content-card h3 {
    font-size: 1.5rem;
    font-weight: 400;
    margin-bottom: 1rem;
    color: var(--dark-accent);
}

.content-card p {
    line-height: 1.8;
}

.view-more {
    display: block;
    text-align: center;
    margin-top: 1.5rem;
    font-size: 1.1rem;
    color: var(--accent-color);
    position: relative;
    transition: all 0.3s ease;
}

.view-more:after {
    content: '→';
    opacity: 0;
    margin-left: -10px;
    transition: all 0.3s ease;
}

.view-more:hover:after {
    opacity: 1;
    margin-left: 8px;
}

/* 图集区域 */
.gallery-section {
    padding: 5rem var(--content-padding);
    background-color: var(--primary-color);
}

.gallery-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(280px, 1fr));
    gap: 1.5rem;
    max-width: var(--content-max-width);
    margin: 0 auto;
}

.gallery-item {
    position: relative;
    overflow: hidden;
    border-radius: 3px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.08);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    height: 280px;
}

.gallery-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.12);
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

[data-theme="dark"] img {
    filter: brightness(0.9) contrast(1.1);
}

.gallery-item:hover img {
    transform: scale(1.05);
}

.image-caption {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0,0,0,0.7), transparent);
    color: white;
    transform: translateY(100%);
    transition: transform 0.3s ease;
}

.gallery-item:hover .image-caption {
    transform: translateY(0);
}

.image-caption p {
    margin: 0;
    font-size: 1rem;
    font-weight: 300;
}

/* 页面头部 */
.page-header {
    text-align: center;
    padding: 8rem 2rem 4rem;
    background-color: var(--primary-color);
    position: relative;
}

.page-header:after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 100px;
    height: 1px;
    background-color: var(--accent-color);
    opacity: 0.5;
}

.page-header h1 {
    font-size: 2.5rem;
    font-weight: 300;
    margin-bottom: 1rem;
    letter-spacing: 1px;
}

.page-header p {
    font-size: 1.2rem;
    max-width: 700px;
    margin: 0 auto 2rem;
    opacity: 0.8;
}

/* 诗歌集合 */
.poetry-collection {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 4rem var(--content-padding);
}

.poetry-item {
    margin-bottom: 5rem;
    position: relative;
}

.poetry-item:last-child {
    margin-bottom: 0;
}

.poetry-item h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark-accent);
    text-align: center;
}

.poetry-content {
    background-color: white;
    padding: 3rem;
    border-radius: 3px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* 诗歌内容居中，但日期和作者保持右对齐 */
.poetry-content p:not(.author):not(.date) {
    text-align: center;
}

.poetry-content h2 {
    text-align: center;
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark-accent);
}

[data-theme="dark"] .poetry-content {
    background-color: #2a2826;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.poetry-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.poetry-content p {
    margin-bottom: 1.5rem;
}

.poetry-content p:last-child {
    margin-bottom: 0;
}

/* 哲思集合 */
.philosophy-collection {
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding: 4rem var(--content-padding);
}

.philosophy-item {
    margin-bottom: 5rem;
    position: relative;
}

.philosophy-item:last-child {
    margin-bottom: 0;
}

.philosophy-item h2 {
    font-size: 1.8rem;
    font-weight: 400;
    margin-bottom: 1.5rem;
    color: var(--dark-accent);
    text-align: center;
}

.philosophy-content {
    background-color: white;
    padding: 3rem;
    border-radius: 3px;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    line-height: 1.8;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .philosophy-content {
    background-color: #2a2826;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.philosophy-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.philosophy-content p {
    margin-bottom: 1.5rem;
}

.philosophy-content p:last-child {
    margin-bottom: 0;
}

/* 关于我们 */
.about-section {
    padding: 5rem var(--content-padding);
    background-color: white;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
    background-color: var(--primary-color);
    padding: 3rem;
    border-radius: 3px;
    line-height: 1.8;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.06);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

[data-theme="dark"] .about-content {
    background-color: #2a2826;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
}

.about-content:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 40px rgba(0, 0, 0, 0.08);
}

.about-section .section-title:after {
    background-color: rgba(138, 109, 109, 0.5);
}

/* 页脚 */
footer {
    background-color: white;
    padding: 3rem var(--content-padding) 2rem;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.05);
}

[data-theme="dark"] footer {
    background-color: #2a2826;
    box-shadow: 0 -4px 20px rgba(0, 0, 0, 0.15);
}

.footer-content {
    display: flex;
    flex-wrap: wrap;
    justify-content: space-between;
    max-width: var(--content-max-width);
    margin: 0 auto;
    margin-bottom: 2rem;
}

.footer-logo h3 {
    font-size: 1.5rem;
    font-weight: 300;
    display: flex;
    align-items: baseline;
}

.footer-logo h3 .cn, .footer-logo h3 .en {
    margin: 0 0.3rem;
}

.footer-logo h3 .en {
    font-style: italic;
}

.footer-links ul {
    list-style: none;
    display: flex;
}

.footer-links li {
    margin-right: 1.5rem;
}

.social-links a {
    margin-left: 1rem;
    font-size: 1.2rem;
    transition: transform 0.3s ease;
    display: inline-block;
}

.social-links a:hover {
    transform: translateY(-3px);
}

.copyright {
    text-align: center;
    color: var(--dark-accent);
    font-size: 0.9rem;
    max-width: var(--content-max-width);
    margin: 0 auto;
    padding-top: 1.5rem;
    border-top: 1px solid rgba(93, 83, 74, 0.2);
}

/* 澹宁居标题样式 - 简洁斜体版 */
.cn-title {
    font-size: 1.5rem;
    letter-spacing: 0.3em; /* 增加字间距 */
    font-style: italic; /* 添加斜体效果 */
    background: linear-gradient(135deg, var(--dark-accent), var(--accent-color));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0px 1px 1px rgba(255,255,255,0.2);
    position: relative;
    padding: 0.5rem 1.2rem;
    border: none; /* 移除边框 */
    box-shadow: none; /* 移除阴影 */
    margin-right: 0.8rem;
    transition: all 0.6s ease;
    margin-left: 1.5rem; /* 增加左侧边距 */
}

[data-theme="dark"] .cn-title,
[data-theme="dark"] .en-title {
    text-shadow: 0px 1px 3px rgba(0, 0, 0, 0.5);
}

.cn-title:hover {
    letter-spacing: 0.35em; /* 悬停时更大字间距 */
    background: linear-gradient(135deg, #a79585, #6a5f55);
    -webkit-background-clip: text;
    background-clip: text;
}

/* 滚动过渡动画效果 */
.scroll-animate {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.8s cubic-bezier(0.33, 1, 0.68, 1),
                transform 0.8s cubic-bezier(0.33, 1, 0.68, 1);
}

.scroll-animate.visible {
    opacity: 1;
    transform: translateY(0);
}

/* 为不同元素设置不同的延迟 */
.scroll-delay-1 { transition-delay: 0.1s; }
.scroll-delay-2 { transition-delay: 0.2s; }
.scroll-delay-3 { transition-delay: 0.3s; }

/* 每日一句样式 */
.daily-quote {
    margin: 2rem auto;
    max-width: 700px;
    padding: 1.5rem;
    border-radius: 8px;
    background-color: rgba(251, 250, 248, 0.8);
    backdrop-filter: blur(10px);
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

.daily-quote:hover {
    background-color: rgba(251, 250, 248, 0.9);
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.15);
    transform: translateY(-5px);
}

.quote-content {
    position: relative;
    padding: 0 1.5rem;
}

.quote-content::before,
.quote-content::after {
    content: '"';
    font-family: var(--cn-font);
    font-size: 4rem;
    color: var(--accent-color);
    opacity: 0.2;
    position: absolute;
    line-height: 1;
}

.quote-content::before {
    top: -1rem;
    left: -1rem;
}

.quote-content::after {
    content: '"';
    bottom: -3rem;
    right: -1rem;
}

#hitokoto-cn, #hitokoto-en {
    font-size: 1.2rem;
    line-height: 1.7;
    margin-bottom: 1rem;
    font-weight: 300;
    text-align: center;
}

.quote-author {
    font-style: italic;
    color: var(--accent-color);
    text-align: right;
    font-size: 0.95rem;
}

/* 打字机效果样式 - 保持卡片原有大小 */
.typing-animation {
    display: inline-block;
    position: relative;
    font-size: 1.4rem; /* 保持字体大一些 */
    line-height: 1.8;
    font-weight: 300;
}

.typing-animation.typing-done::after {
    content: '|';
    position: absolute;
    right: -4px;
    animation: cursor-blink 1s infinite;
}

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

/* 响应式调整 */
@media (max-width: 900px) {
    :root {
        --content-padding: 1.5rem;
    }
    
    .hero h2 {
        font-size: 2rem;
    }
    
    .content-box {
        padding: 2rem;
    }
    
    .footer-content {
        flex-direction: column;
        align-items: center;
        text-align: center;
    }
    
    .footer-logo, .footer-links, .social-links {
        margin-bottom: 1.5rem;
    }
    
    .footer-links ul {
        justify-content: center;
    }
    
    .gallery-grid {
        grid-template-columns: repeat(auto-fill, minmax(240px, 1fr));
    }
    
    .gallery-item {
        height: 240px;
    }

    .nav-container {
        padding-right: 1.5rem;
    }
    
    .nav-links li {
        margin: 0 0.8rem;
    }
}

@media (max-width: 768px) {
    header {
        padding: 0.8rem 1.5rem;
        height: auto;
        min-height: 60px;
    }
    
    .logo {
        margin-right: 0;
    }
    
    .nav-container {
        width: 100%;
        margin: 0;
        padding: 0;
        justify-content: center;
    }
    
    /* 优化导航栏在移动端的布局 */
    nav {
        flex-wrap: wrap;
        justify-content: space-between;
        width: 100%;
    }
    
    .nav-links {
        margin-top: 1rem;
        width: 100%;
        padding-bottom: 0.5rem;
        flex-wrap: wrap;
        justify-content: center;
    }
    
    .nav-links li {
        margin: 0.3rem 0.8rem;
    }
    
    /* 语言切换按钮位置 */
    .language-toggle {
        margin: 0;
        position: absolute;
        right: 1.5rem;
        top: 1rem;
    }
    
    /* 调整视频背景空间 */
    .video-background {
        top: 0;
        height: 100vh;
    }
    
    /* 确保内容区域正确偏移 */
    main {
        padding-top: 100px; /* 调整为更准确的导航栏高度 */
    }
    
    .hero {
        min-height: calc(100vh - 100px); /* 确保hero区域有足够空间 */
        height: auto;
        margin-top: -20px; /* 减少顶部间距，增加视频可见区域 */
    }
}

@media (max-width: 600px) {
    header {
        padding: 0.8rem 1rem;
    }
    
    .logo h1 {
        font-size: 1.3rem;
    }
    
    .language-toggle {
        right: 1rem;
    }
    
    .hero {
        padding-top: 3rem;
        margin-top: 0;
    }
    
    /* 进一步优化导航链接在超小屏幕上的显示 */
    .nav-links {
        padding: 0.5rem 0;
    }
    
    .nav-links li {
        margin: 0.2rem 0.5rem;
    }
    
    .nav-links a {
        font-size: 0.95rem;
    }
    
    /* 确保视频背景填满整个屏幕 */
    .video-background:after {
        background: rgba(251, 250, 248, 0.4); /* 稍微增加透明度以提高内容可见性 */
    }
}

/* 暗色模式切换按钮 */
.theme-toggle {
    position: fixed;
    bottom: 1.5rem;
    right: 1.5rem;
    background-color: var(--accent-color);
    color: white;
    border: none;
    border-radius: 50%;
    width: 3rem;
    height: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    cursor: pointer;
    z-index: 100;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
}

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

.theme-toggle i {
    font-size: 1.2rem;
}

/* 暗色模式过渡动画 */
.theme-transition {
    transition: background-color 0.5s ease,
                color 0.5s ease,
                border-color 0.5s ease,
                box-shadow 0.5s ease;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    margin-top: 3rem;
    gap: 0.5rem;
}

.page-link {
    display: inline-block;
    width: 2.5rem;
    height: 2.5rem;
    line-height: 2.5rem;
    text-align: center;
    border: 1px solid var(--light-accent);
    border-radius: 50%;
    color: var(--accent-color);
    transition: all 0.3s ease;
    font-family: var(--en-font);
}

.page-link:hover {
    background-color: var(--accent-color);
    color: white;
    transform: translateY(-3px);
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.page-link.active {
    background-color: var(--accent-color);
    color: white;
    border-color: var(--accent-color);
}

[data-theme="dark"] .page-link {
    border-color: var(--light-accent);
}

[data-theme="dark"] .page-link:hover,
[data-theme="dark"] .page-link.active {
    background-color: var(--accent-color);
}