body {
    margin: 0;
    padding: 0;
    min-height: 100vh;
    background: #0a192f;
    color: #8892b0;
    font-family: 'Roboto', sans-serif;
    min-width: 1024px;
    overflow-x: auto;
}

/* 添加科技感网格背景 */
body::before {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: 
        linear-gradient(rgba(18, 30, 56, 0.8) 1px, transparent 1px),
        linear-gradient(90deg, rgba(18, 30, 56, 0.8) 1px, transparent 1px);
    background-size: 30px 30px;
    z-index: -1;
}

/* 添加科技感光线效果 */
body::after {
    content: '';
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(45deg, 
        rgba(100, 255, 218, 0.03) 0%,
        rgba(0, 0, 0, 0) 70%);
    pointer-events: none;
    z-index: -1;
}

header {
    background: rgba(10, 25, 47, 0.85);
    padding: 20px;
    position: relative;
    border-bottom: 1px solid rgba(100, 255, 218, 0.1);
    width: 100%;
    box-sizing: border-box;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 20px;
    min-width: 1024px;
}

.avatar {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    overflow: hidden;
    border: 2px solid rgba(100, 255, 218, 0.3);
}

.avatar img {
    width: 60px;
    height: 60px;
    border-radius: 50%;
    margin-right: 15px;
    border: 2px solid rgba(100, 255, 218, 0.3);
    box-shadow: 0 0 15px rgba(100, 255, 218, 0.2);
    transition: all 0.3s ease;
    object-fit: cover;
    object-position: center;
}

.avatar img:hover {
    transform: scale(1.05);
    border-color: rgba(100, 255, 218, 0.6);
    box-shadow: 0 0 20px rgba(100, 255, 218, 0.4);
}

.logo {
    margin: 0;
    flex-grow: 1;
}

.logo h1 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 2px;
    margin: 0;
    padding: 0;
    font-size: 24px;
    position: relative;
    display: inline-block;
    text-transform: uppercase;
}

.logo h1::before {
    content: attr(data-text);
    position: absolute;
    top: 0;
    left: 0;
    width: 0;
    color: #64ffda;
    overflow: hidden;
    white-space: nowrap;
    animation: typing 8s steps(30) infinite;
}

@keyframes typing {
    0%, 90%, 100% { width: 0; }
    30%, 60% { width: 100%; }
}

nav {
    margin-left: auto;
}

nav ul {
    list-style-type: none;
    margin: 0;
    padding: 0;
    display: flex;
    gap: 20px;
}

nav ul li {
    margin: 0;
}

nav ul li a {
    font-family: 'Playfair Display', serif;
    color: #64ffda;
    text-decoration: none;
    font-size: 18px;
    transition: color 0.3s ease;
    position: relative;
    padding-bottom: 5px;
    text-shadow: 0 0 8px rgba(100, 255, 218, 0.3);
}

nav ul li a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background-color: #64ffda;
    transition: width 0.3s ease;
}

nav ul li a:hover::after {
    width: 100%;
}

nav ul li a:hover {
    text-shadow: 0 0 12px rgba(100, 255, 218, 0.6);
}

main {
    padding: 40px;
}

section {
    margin-bottom: 40px;
}

.card {
    background-color: rgba(17, 34, 64, 0.95);
    border: 1px solid rgba(100, 255, 218, 0.1);
    backdrop-filter: blur(5px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
    border-radius: 10px;
    padding: 30px;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    position: relative;
    overflow: hidden;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.3);
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(100, 255, 218, 0.1),
        transparent
    );
    transition: 0.5s;
}

.card:hover::before {
    left: 100%;
}

.article-list {
    margin-top: 20px;
}

.article-list ul {
    list-style: none;
    padding: 0;
    margin: 0;
    max-width: 800px;
}

.article-list .card {
    width: 100%;
    margin-bottom: 10px;
    text-align: left;
    padding: 15px 20px;
    border-left: 3px solid transparent;
    background: linear-gradient(
        90deg,
        rgba(17, 34, 64, 0.95) 0%,
        rgba(10, 25, 47, 0.95) 100%
    );
    position: relative;
}

.article-list .card::before {
    content: '';
    position: absolute;
    left: -3px;
    top: 0;
    width: 3px;
    height: 100%;
    background: linear-gradient(
        to bottom,
        #64ffda,
        rgba(100, 255, 218, 0.5)
    );
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.article-list .card:hover::before {
    transform: scaleY(1);
}

.article-list .card a {
    font-family: 'Playfair Display', serif;
    color: #ccd6f6;
    text-decoration: none;
    font-size: 16px;
    font-weight: 500;
    display: block;
    transition: color 0.3s ease;
}

.article-list .card a:hover {
    color: #64ffda;
}

footer {
    background-color: transparent;
    color: #8892b0;
    text-align: center;
    padding: 20px;
}

/* 添加科技感动画效果 */
@keyframes glow {
    0% { box-shadow: 0 0 5px rgba(100, 255, 218, 0.2); }
    50% { box-shadow: 0 0 20px rgba(100, 255, 218, 0.4); }
    100% { box-shadow: 0 0 5px rgba(100, 255, 218, 0.2); }
}

.card {
    animation: glow 3s infinite;
}

.time-display {
    color: #64ffda;
    font-family: 'Cinzel', serif;
    font-size: 0.9em;
    width: 100%;
    text-align: left;
    padding-left: 20px;
}

/* 添加响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        text-align: center;
        padding: 15px;
    }

    nav {
        position: static;
        margin-top: 15px;
    }

    .time-display {
        position: static;
        margin-top: 15px;
    }
}

/* 添加滚动条样式 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: rgba(10, 25, 47, 0.95);
}

::-webkit-scrollbar-thumb {
    background: #64ffda;
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: rgba(100, 255, 218, 0.8);
}

/* 添加选中文本样式 */
::selection {
    background: rgba(100, 255, 218, 0.3);
    color: #64ffda;
}

.card h2 {
    font-family: 'Cinzel', serif;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 20px;
    color: #64ffda;
}

.card p {
    font-family: 'Poiret One', cursive;
    font-size: 18px;
    line-height: 1.6;
}

section h2 {
    font-family: 'Cinzel', serif;
    color: #64ffda;
    font-size: 28px;
    margin-bottom: 25px;
    letter-spacing: 2px;
}

.about-me h3 {
    font-family: 'Cinzel', serif;
    color: #64ffda;
    font-size: 20px;
    margin-top: 25px;
    margin-bottom: 15px;
    letter-spacing: 1px;
}

.about-me p {
    margin-bottom: 15px;
    line-height: 1.8;
    font-size: 16px;
    text-align: justify;
}

.about-me .card {
    max-width: 800px;
    margin: 0 auto;
}

/* 关于页面样式 */
.main-intro {
    max-width: 800px;
    margin: 0 auto 40px;
    text-align: center;
    background: linear-gradient(
        145deg,
        rgba(17, 34, 64, 0.95),
        rgba(10, 25, 47, 0.95)
    );
    border: 1px solid rgba(100, 255, 218, 0.2);
}

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.achievement-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
    padding: 40px 30px;
    background: linear-gradient(
        145deg,
        rgba(17, 34, 64, 0.95),
        rgba(10, 25, 47, 0.95)
    );
    border: 1px solid rgba(100, 255, 218, 0.1);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.achievement-card:hover {
    transform: translateY(-10px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
}

.achievement-icon {
    font-size: 40px;
    margin-bottom: 20px;
    position: relative;
}

.achievement-icon::after {
    content: '';
    position: absolute;
    width: 50px;
    height: 50px;
    background: rgba(100, 255, 218, 0.1);
    border-radius: 50%;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    z-index: -1;
    animation: pulse 2s infinite;
}

@keyframes pulse {
    0% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
    50% {
        transform: translate(-50%, -50%) scale(1.2);
        opacity: 0.2;
    }
    100% {
        transform: translate(-50%, -50%) scale(1);
        opacity: 0.5;
    }
}

.achievement-card h3 {
    color: #64ffda;
    margin-bottom: 20px;
    position: relative;
    padding-bottom: 15px;
}

.achievement-card h3::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 50px;
    height: 2px;
    background: linear-gradient(
        90deg,
        transparent,
        #64ffda,
        transparent
    );
}

.achievement-card p {
    color: #8892b0;
    line-height: 1.8;
    margin: 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .achievements-grid {
        grid-template-columns: 1fr;
        padding: 0 20px;
    }

    .main-intro {
        margin: 20px;
    }
}

/* 文章导航按钮样式 */
.article-navigation {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-top: 40px;
    padding: 0 20px;
    width: 100%;
    max-width: 1200px;
    margin-left: auto;
    margin-right: auto;
}

.nav-btn {
    display: flex;
    align-items: center;
    padding: 8px 16px;
    border-radius: 6px;
    background: linear-gradient(
        145deg,
        rgba(17, 34, 64, 0.95),
        rgba(10, 25, 47, 0.95)
    );
    border: 1px solid rgba(100, 255, 218, 0.1);
    color: #64ffda;
    text-decoration: none;
    transition: all 0.3s ease;
    backdrop-filter: blur(5px);
    font-size: 14px;
    width: 25%;
    min-width: 80px;
    max-width: 100px;
    justify-content: center;
}

.nav-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(100, 255, 218, 0.2);
    border-color: rgba(100, 255, 218, 0.3);
}

.nav-icon {
    font-size: 16px;
    margin: 0 6px;
}

.nav-text {
    font-family: 'Cinzel', serif;
    font-size: 14px;
    letter-spacing: 1px;
}

.prev-btn, .next-btn, .home-btn {
    flex-shrink: 0;
}

.prev-btn {
    justify-self: flex-end;
}

.next-btn {
    justify-self: flex-start;
}

.home-btn {
    position: relative;
    overflow: hidden;
    justify-self: center;
    min-width: 80px;
    max-width: 100px;
}

.home-btn::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(45deg, 
        rgba(100, 255, 218, 0.1),
        transparent,
        rgba(100, 255, 218, 0.1)
    );
    z-index: -1;
    animation: borderGlow 2s linear infinite;
    border-radius: 8px;
}

@keyframes borderGlow {
    0% {
        transform: rotate(0deg);
    }
    100% {
        transform: rotate(360deg);
    }
}

/* 响应式调整 */
@media (max-width: 768px) {
    .article-navigation {
        padding: 0 10px;
    }

    .nav-btn {
        padding: 6px 12px;
        font-size: 12px;
    }

    .nav-icon {
        font-size: 14px;
    }
}

/* 主内容区布局 */
.main-content {
    display: flex;
    gap: 30px;
    padding: 30px;
    min-width: 1024px;
    box-sizing: border-box;
}

.left-content {
    width: 100%;
    max-width: 800px;
}

/* 游戏列表样式 */
.games-section {
    position: sticky;
    top: 20px;  /* 固定在顶部 */
}

.game-list {
    display: flex;
    flex-direction: column;
    gap: 15px;
}

.game-card {
    display: flex;
    flex-direction: column;
    align-items: center;
    padding: 25px;  /* 增加内边距 */
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(100, 255, 218, 0.1);
    background: linear-gradient(
        145deg,
        rgba(17, 34, 64, 0.98),
        rgba(10, 25, 47, 0.98)
    );
}

.game-icon {
    font-size: 28px;  /* 增大图标 */
    margin-bottom: 15px;
    background: rgba(100, 255, 218, 0.1);
    width: 60px;  /* 增大图标容器 */
    height: 60px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: rgba(100, 255, 218, 0.3);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.4);
}

.game-card a {
    font-size: 20px;  /* 增大标题字体 */
    margin: 12px 0;
}

.game-card p {
    font-size: 15px;  /* 增大描述字体 */
}

/* 响应式布局 */
@media (max-width: 968px) {
    .main-content {
        grid-template-columns: 1fr;  /* 单列布局 */
    }

    .games-section {
        position: static;
    }

    .game-list {
        display: grid;
        grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
        gap: 20px;
    }
}

/* 响应式布局 */
@media (max-width: 768px) {
    .main-content {
        padding: 15px;
        gap: 15px;
    }

    .left-content,
    .right-content {
        width: 100%;
    }

    header {
        padding: 10px;
    }

    .logo h1 {
        font-size: 1.5em;
    }

    nav ul {
        gap: 15px;
    }

    .game-card {
        margin: 10px 0;
    }
}

@media (max-width: 480px) {
    .logo h1 {
        font-size: 1.2em;
    }

    nav ul {
        gap: 10px;
    }

    .welcome h2 {
        font-size: 1.3em;
    }

    .article-list li {
        padding: 10px;
    }
}

/* 头像和标题容器 */
.header-content {
    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 20px;
    width: 100%;
    padding: 0 20px;
    box-sizing: border-box;
}