﻿/* === 全局样式 === */
:root {
    --primary-color: #00c4cc;
    --primary-dark: #00a0a8;
    --secondary-color: #7d26cd;
    --text-light: #ffffff;
    --text-dark: #1a1a2e;
    --text-gray: #888888;
    --background-dark: #12151e;
    --background-card: #1a1e2c;
    --background-light: #242937;
    --border-color: #313654;
    --gradient-primary: linear-gradient(135deg, #00c4cc 0%, #7d26cd 100%);
    --shadow-soft: 0 4px 10px rgba(0, 0, 0, 0.15);
    --shadow-strong: 0 8px 20px rgba(0, 0, 0, 0.25);
    --radius-small: 6px;
    --radius-medium: 10px;
    --radius-large: 16px;
    --transition-fast: 0.2s ease;
    --transition-medium: 0.3s ease;
    --transition-slow: 0.5s ease;
    --font-sans: 'Noto Sans SC', -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, sans-serif;
    --font-display: 'Press Start 2P', monospace;
    --container-width: 1200px;
    --header-height: 80px;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

html {
    scroll-behavior: smooth;
}

body {
    font-family: var(--font-sans);
    font-size: 16px;
    line-height: 1.6;
    color: var(--text-light);
    background-color: var(--background-dark);
    overflow-x: hidden;
}

a {
    color: var(--text-light);
    text-decoration: none;
    transition: color var(--transition-fast);
}

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

ul, ol {
    list-style: none;
}

img {
    max-width: 100%;
    height: auto;
    display: block;
}

button {
    cursor: pointer;
    font-family: var(--font-sans);
    border: none;
    outline: none;
    background: none;
}

.container {
    width: 100%;
    max-width: var(--container-width);
    margin: 0 auto;
    padding: 0 1rem;
}

.page-wrapper {
    display: flex;
    flex-direction: column;
    min-height: 100vh;
}

main {
    flex: 1;
}

/* === 头部样式 === */
.site-header {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: var(--header-height);
    z-index: 1000;
    background: rgba(18, 21, 30, 0.9);
    backdrop-filter: blur(10px);
    -webkit-backdrop-filter: blur(10px);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all var(--transition-medium);
}

.site-header .container {
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
}

.site-logo {
    font-family: var(--font-display);
    font-size: 1.8rem;
    margin: 0;
}

.site-logo a {
    color: var(--primary-color);
    letter-spacing: 2px;
    display: block;
    padding: 5px 0;
}

.main-nav ul {
    display: flex;
    gap: 1.5rem;
}

.main-nav a {
    position: relative;
    font-weight: 500;
    letter-spacing: 0.5px;
    padding: 10px 0;
    color: var(--text-light);
}

.main-nav a::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 0;
    height: 2px;
    background: var(--primary-color);
    transition: width var(--transition-medium);
}

.main-nav a:hover::after,
.main-nav a.active::after {
    width: 100%;
}

.main-nav a.active {
    color: var(--primary-color);
}

.mobile-menu-toggle {
    display: none;
    color: var(--text-light);
    font-size: 1.5rem;
    transition: color var(--transition-fast);
}

.mobile-menu-toggle:hover {
    color: var(--primary-color);
}

/* === 通用部分样式 === */
.section-title {
    font-family: var(--font-sans);
    font-size: 2rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-align: center;
    color: var(--text-light);
    position: relative;
    padding-bottom: 1rem;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 3px;
    background: var(--primary-color);
}

.section-title i {
    margin-right: 10px;
    color: var(--primary-color);
}

/* === 英雄区域 === */
.hero-section {
    position: relative;
    min-height: 90vh;
    background: url('../image/bg.webp') no-repeat center/cover;
    display: flex;
    align-items: center;
    padding: 4rem 0;
    margin-bottom: 3rem;
    overflow: hidden;
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(18, 21, 30, 0.8), rgba(18, 21, 30, 0.95));
    z-index: 1;
}

.hero-flex {
    position: relative;
    z-index: 2;
    width: 100%;
    max-width: 800px;
}

.hero-content {
    width: 100%;
}

.hero-header {
    margin-bottom: 2rem;
}

.hero-title {
    font-family: var(--font-display);
    font-size: 2.3rem;
    margin-bottom: 0.7rem;
    line-height: 1.2;
    text-shadow: 0 2px 8px rgba(0, 0, 0, 0.3);
}

.version-highlight {
    display: inline-block;
    background: var(--primary-color);
    color: var(--text-dark);
    padding: 0.2rem 0.8rem;
    margin-left: 0.5rem;
    border-radius: var(--radius-small);
    font-size: 1.8rem;
    vertical-align: middle;
}

.hero-subtitle {
    font-size: 1.3rem;
    font-weight: 400;
    color: var(--text-light);
    letter-spacing: 1px;
    margin-bottom: 1.2rem;
}

.hero-desc {
    font-size: 1.05rem;
    line-height: 1.6;
    max-width: 700px;
    margin-bottom: 1.5rem;
    color: rgba(255, 255, 255, 0.9);
}

.hero-features-wrap {
    margin-bottom: 2rem;
}

.hero-features {
    display: flex;
    flex-wrap: wrap;
    gap: 1rem;
}

.feature-item {
    display: flex;
    align-items: center;
    gap: 8px;
    padding: 6px 12px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: var(--radius-small);
    backdrop-filter: blur(5px);
    -webkit-backdrop-filter: blur(5px);
}

.feature-item i {
    color: var(--primary-color);
}

.download-container {
    margin-top: 1rem;
}

.download-btn {
    display: flex;
    align-items: center;
    padding: 0;
    background: var(--gradient-primary);
    border-radius: var(--radius-medium);
    overflow: hidden;
    transition: all var(--transition-fast);
    box-shadow: var(--shadow-soft);
    max-width: 280px;
}

.download-btn:hover {
    transform: translateY(-3px);
    box-shadow: var(--shadow-strong);
}

.btn-content {
    display: flex;
    align-items: center;
    padding: 0.8rem 1.5rem;
    width: 100%;
}

.download-btn i {
    font-size: 1.5rem;
    margin-right: 1rem;
}

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

.main-text {
    font-size: 1.1rem;
    font-weight: 700;
}

.version-text {
    font-size: 0.8rem;
    opacity: 0.9;
}

.version-details {
    display: flex;
    align-items: center;
    margin-top: 0.8rem;
    font-size: 0.85rem;
    color: var(--text-gray);
}

.version-details span {
    display: flex;
    align-items: center;
}

.version-details i {
    margin-right: 5px;
}

.dot {
    display: inline-block;
    width: 4px;
    height: 4px;
    border-radius: 50%;
    background-color: var(--text-gray);
    margin: 0 10px;
}

/* === 最新动态 === */
.news-section {
    padding: 5rem 0;
}

.news-container {
    max-width: 1000px;
    margin: 0 auto;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.5rem;
}

.news-item {
    background-color: var(--background-card);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid var(--border-color);
    padding: 1.5rem;
    height: 100%;
    display: flex;
    flex-direction: column;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.news-meta {
    display: flex;
    align-items: center;
    gap: 1rem;
    margin-bottom: 1rem;
}

.news-date {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.news-category {
    display: inline-block;
    padding: 3px 10px;
    border-radius: var(--radius-small);
    font-size: 0.8rem;
    font-weight: 500;
    text-transform: uppercase;
}

.update {
    background-color: #2e7d32;
    color: white;
}

.notice {
    background-color: #0277bd;
    color: white;
}

.bugfix {
    background-color: #d32f2f;
    color: white;
}

.news-title {
    font-size: 1.2rem;
    margin-bottom: 0.8rem;
    line-height: 1.4;
}

.news-title a {
    color: var(--text-light);
    transition: color var(--transition-fast);
}

.news-title a:hover {
    color: var(--primary-color);
}

.news-excerpt {
    font-size: 0.9rem;
    line-height: 1.6;
    color: var(--text-gray);
    flex-grow: 1;
}

/* === 游戏截图展示 === */
.gallery-section {
    padding: 2.5rem 0;
    background-color: var(--background-light);
}

.gallery-section .section-title {
    margin-bottom: 1.2rem;
}

.gallery-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gallery-masonry {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 0.8rem;
}

.gallery-item {
    position: relative;
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium);
}

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

.item-inner {
    position: relative;
    width: 100%;
    height: 100%;
}

.gallery-item img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform var(--transition-slow);
}

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

.item-overlay {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    padding: 1rem;
    opacity: 0;
    transform: translateY(20px);
    transition: all var(--transition-medium);
}

.gallery-item:hover .item-overlay {
    opacity: 1;
    transform: translateY(0);
}

.item-info h3 {
    font-size: 1.1rem;
    margin-bottom: 0.4rem;
    color: var(--text-light);
}

.item-info p {
    font-size: 0.85rem;
    color: rgba(255, 255, 255, 0.8);
}

/* === 用户点评 === */
.reviews-section {
    padding: 5rem 0;
}

.reviews-container {
    max-width: 1200px;
    margin: 0 auto;
}

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

.review-card {
    background-color: var(--background-card);
    border-radius: var(--radius-medium);
    padding: 1.5rem;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid var(--border-color);
}

.review-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.review-top {
    display: flex;
    align-items: center;
    margin-bottom: 1rem;
}

.review-avatar {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: var(--primary-dark);
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 1rem;
}

.review-avatar i {
    font-size: 1.5rem;
    color: white;
}

.review-user {
    flex: 1;
}

.user-name {
    font-size: 1.1rem;
    margin-bottom: 0.3rem;
}

.review-rating {
    color: #f9a825;
    font-size: 0.9rem;
}

.review-content {
    font-size: 0.95rem;
    line-height: 1.7;
    color: var(--text-gray);
}

/* === 版本更新记录 === */
.version-section {
    padding: 5rem 0;
    background-color: var(--background-light);
}

.version-grid {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1.5rem;
    max-width: 1200px;
    margin: 0 auto;
}

.version-card {
    background-color: var(--background-card);
    border-radius: var(--radius-medium);
    overflow: hidden;
    box-shadow: var(--shadow-soft);
    transition: transform var(--transition-medium), box-shadow var(--transition-medium);
    border: 1px solid var(--border-color);
    height: 100%;
    display: flex;
    flex-direction: column;
}

.version-card:hover {
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

.version-top {
    display: flex;
    justify-content: space-between;
    align-items: center;
    padding: 1.2rem 1.5rem;
    background-color: rgba(0, 0, 0, 0.2);
    border-bottom: 1px solid var(--border-color);
    flex-wrap: wrap;
    gap: 0.5rem;
}

.version-tag-container {
    display: flex;
    align-items: center;
    gap: 1rem;
    flex-wrap: wrap;
}

.version-tag {
    display: inline-block;
    background-color: var(--secondary-color);
    color: white;
    padding: 5px 10px;
    border-radius: var(--radius-small);
    font-weight: 700;
    font-size: 0.9rem;
}

.version-date {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.version-info {
    display: flex;
    gap: 1rem;
    font-size: 0.9rem;
    color: var(--text-gray);
    flex-wrap: wrap;
}

.version-content {
    padding: 1.5rem;
    flex: 1;
}

.version-content h3 {
    font-size: 1.1rem;
    margin-bottom: 1rem;
    font-weight: 500;
}

.update-list {
    display: grid;
    gap: 0.8rem;
}

.update-item {
    display: flex;
    align-items: flex-start;
    gap: 10px;
    font-size: 0.95rem;
    line-height: 1.5;
}

.update-item i {
    margin-top: 3px;
}

.update-item.new i {
    color: #4caf50;
}

.update-item.fix i {
    color: #f44336;
}

.update-item.optimize i {
    color: #2196f3;
}

.version-action {
    padding: 0 1.5rem 1.5rem;
}

.version-btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 8px;
    background-color: var(--background-dark);
    color: var(--text-light);
    padding: 0.6rem 1.2rem;
    border-radius: var(--radius-small);
    font-weight: 500;
    transition: all var(--transition-fast);
    border: 1px solid var(--border-color);
    width: 100%;
}

.version-btn:hover {
    background-color: var(--secondary-color);
    color: var(--text-light);
    transform: translateY(-2px);
}

.version-btn i {
    color: var(--primary-color);
}

.version-btn:hover i {
    color: var(--text-light);
}

/* === 页脚 === */
.site-footer {
    background-color: var(--background-dark);
    padding: 4rem 0 2rem;
    border-top: 1px solid var(--border-color);
}

.footer-main {
    padding-bottom: 2rem;
}

.footer-columns {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
    margin-bottom: 2rem;
}

.footer-logo {
    margin-bottom: 1.5rem;
}

.footer-logo .logo-text {
    font-family: var(--font-display);
    font-size: 1.8rem;
    color: var(--primary-color);
    letter-spacing: 2px;
}

.footer-social {
    display: flex;
    gap: 1rem;
    margin-top: 1.5rem;
}

.social-link {
    display: flex;
    align-items: center;
    justify-content: center;
    width: 40px;
    height: 40px;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    font-size: 1.1rem;
    transition: all var(--transition-fast);
}

.social-link:hover {
    background-color: var(--primary-color);
    color: white;
    transform: translateY(-3px);
}

.footer-title {
    font-size: 1.2rem;
    margin-bottom: 1.5rem;
    font-weight: 700;
    position: relative;
    padding-bottom: 0.5rem;
    color: var(--text-light);
}

.footer-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 0;
    width: 40px;
    height: 2px;
    background-color: var(--primary-color);
}

.footer-desc {
    font-size: 0.95rem;
    line-height: 1.6;
    color: var(--text-gray);
    margin-bottom: 1.5rem;
}

.footer-links li {
    margin-bottom: 1rem;
}

.footer-links a {
    font-size: 0.95rem;
    color: var(--text-gray);
    transition: all var(--transition-fast);
    display: flex;
    align-items: center;
}

.footer-links a i {
    margin-right: 8px;
    color: var(--primary-color);
    font-size: 0.9rem;
    width: 20px;
    text-align: center;
}

.footer-links a:hover {
    color: var(--primary-color);
    padding-left: 5px;
}

.footer-bottom {
    padding-top: 2rem;
    border-top: 1px solid var(--border-color);
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 1rem;
}

.copyright {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-legal {
    display: flex;
    gap: 1rem;
    align-items: center;
}

.footer-legal a {
    font-size: 0.9rem;
    color: var(--text-gray);
}

.footer-legal a:hover {
    color: var(--primary-color);
}

.divider {
    color: var(--border-color);
}

/* 响应式调整 */
@media (max-width: 768px) {
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .footer-legal {
        justify-content: center;
    }
}

@media (max-width: 576px) {
    .footer-columns {
        grid-template-columns: 1fr;
    }
    
    .footer-title {
        text-align: center;
    }
    
    .footer-title::after {
        left: 50%;
        transform: translateX(-50%);
    }
    
    .footer-social {
        justify-content: center;
    }
    
    .footer-logo {
        text-align: center;
    }
}

/* 返回顶部按钮 */
.back-to-top-btn {
    position: fixed;
    bottom: 30px;
    right: 30px;
    width: 50px;
    height: 50px;
    background-color: var(--primary-color);
    color: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: var(--shadow-soft);
    transition: all var(--transition-fast);
    z-index: 999;
    opacity: 0;
    visibility: hidden;
    transform: translateY(20px);
}

.back-to-top-btn.show {
    opacity: 1;
    visibility: visible;
    transform: translateY(0);
}

.back-to-top-btn:hover {
    background-color: var(--primary-dark);
    transform: translateY(-5px);
    box-shadow: var(--shadow-strong);
}

/* === 动画效果 === */
.animate-element {
    opacity: 0;
    transform: translateY(30px);
    transition: opacity 0.6s ease, transform 0.6s ease;
}

.animate-element.show {
    opacity: 1;
    transform: translateY(0);
}

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

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

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

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

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

.hero-title, .hero-subtitle {
    animation: fadeIn 1s ease-out both;
}

.hero-desc {
    animation: fadeIn 1.2s ease-out 0.2s both;
}

.hero-features {
    animation: fadeIn 1.4s ease-out 0.4s both;
}

.download-container {
    animation: fadeIn 1.6s ease-out 0.6s both;
}

.mobile-menu-toggle.active {
    color: var(--primary-color);
    transform: rotate(90deg);
}

.staggered-animation > * {
    opacity: 0;
    animation: fadeIn 0.8s ease-out forwards;
}

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

/* 定义悬停过渡效果 */
.hover-effect {
    transition: all var(--transition-medium);
}

.hover-effect:hover {
    transform: translateY(-5px);
}

/* 定义脉冲效果 */
.pulse-effect {
    animation: pulse 3s infinite;
}

/* === 响应式设计 === */
@media (max-width: 1024px) {
    .hero-title {
        font-size: 2.2rem;
    }
    
    .hero-subtitle {
        font-size: 1.2rem;
    }
    
    .section-title {
        font-size: 1.8rem;
    }
}

@media (max-width: 768px) {
    .site-header {
        height: 70px;
    }
    
    .main-nav {
        position: fixed;
        top: 70px;
        left: -100%;
        width: 100%;
        height: calc(100vh - 70px);
        background-color: var(--background-dark);
        padding: 2rem;
        flex-direction: column;
        transition: left var(--transition-medium);
    }
    
    .main-nav.show {
        left: 0;
    }
    
    .main-nav ul {
        flex-direction: column;
        gap: 1rem;
    }
    
    .main-nav ul li {
        width: 100%;
    }
    
    .main-nav ul li a {
        display: block;
        padding: 1rem;
        border-radius: var(--radius-small);
        background-color: var(--background-card);
    }
    
    .mobile-menu-toggle {
        display: block;
    }
    
    .hero-title {
        font-size: 1.7rem;
    }
    
    .hero-subtitle {
        font-size: 0.95rem;
    }
    
    .hero-section {
        min-height: 80vh;
        padding: 5rem 0 3rem;
    }
    
    .review-card, 
    .news-item,
    .version-card {
        padding: 1.2rem;
    }
    
    .footer-bottom {
        flex-direction: column;
        text-align: center;
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.7rem;
    }
    
    /* 优化移动端图片悬停效果 */
    .gallery-item:hover {
        transform: scale(1.05);
    }
    
    .gallery-item:hover img {
        transform: scale(1.05);
    }
    
    .item-overlay {
        padding: 0.8rem;
        opacity: 1; /* 默认显示覆盖层 */
        transform: translateY(0); /* 无需动画 */
        background: linear-gradient(to top, rgba(0, 0, 0, 0.85), rgba(0, 0, 0, 0.4), transparent); /* 加深渐变 */
    }
    
    .gallery-item:hover .item-overlay {
        opacity: 1;
    }
    
    .item-info h3 {
        font-size: 0.9rem;
        margin-bottom: 0.3rem;
    }
    
    .item-info p {
        font-size: 0.75rem;
        line-height: 1.3;
    }
    
    .hero-info-compact {
        gap: 1rem;
    }
    
    .hero-features {
        gap: 0.7rem;
    }
    
    .feature-item {
        padding: 5px 10px;
        font-size: 0.9rem;
    }
    
    .download-btn .btn-content {
        padding: 0.7rem 1.2rem;
    }
    
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        height: auto;
    }
    
    .section-title {
        font-size: 1.7rem;
        margin-bottom: 1.2rem;
    }
}

@media (min-width: 769px) and (max-width: 992px) {
    .news-list {
        grid-template-columns: repeat(2, 1fr);
        gap: 1.2rem;
    }
}

@media (max-width: 576px) {
    .section-title {
        font-size: 1.5rem;
    }
    
    .hero-features {
        flex-direction: column;
        gap: 0.8rem;
    }
    
    .reviews-grid {
        grid-template-columns: 1fr;
    }
    
    /* 游戏截图区域在超小屏幕上显示三列 */
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr);
        gap: 0.4rem;
    }
    
    /* 简化图片卡片内容，提高可用性 */
    .item-overlay {
        padding: 0.4rem;
    }
    
    .item-info h3 {
        font-size: 0.8rem;
        margin-bottom: 0;
    }
    
    .item-info p {
        display: none; /* 在超小屏幕上隐藏描述文本 */
    }
    
    .version-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
    
    .back-to-top-btn {
        right: 20px;
        bottom: 20px;
        width: 40px;
        height: 40px;
    }
}

/* 新增的紧凑型英雄信息区样式 */
.hero-info-compact {
    display: flex;
    flex-direction: column;
    gap: 1.2rem;
}

.hero-action {
    margin-top: 0.5rem;
}

/* 响应式调整 */
@media (max-width: 992px) {
    .version-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .gallery-masonry {
        grid-template-columns: repeat(3, 1fr); /* 中等屏幕显示3列 */
    }
}

@media (max-width: 576px) {
    .version-grid {
        grid-template-columns: 1fr;
    }
    
    .version-top {
        flex-direction: column;
        align-items: flex-start;
        gap: 0.8rem;
    }
} 