@charset "UTF-8";

/* 全局样式 */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    line-height: 1.6;
    color: #333;
    overflow-x: hidden;
}

/* 背景样式 */
.bg-image {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: url('../images/bz.jpg');
    background-size: cover;
    background-position: center;
    filter: brightness(0.3);
    z-index: -1;
}

/* 容器样式 */
.container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

/* 头部样式 */
header {
    padding: 15px 0;
    position: relative;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

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

.logo {
    display: flex;
    align-items: center;
    text-decoration: none;
}

.logo img {
    width: 50px;
    height: 50px;
    margin-right: 15px;
    border-radius: 10px;
}

.logo h1,
.logo div {
    font-size: 30px;
    color: #fff;
    text-shadow: 3px 3px 5px rgba(0, 0, 0, 0.5);
    letter-spacing: 2px;
    animation: glow 2s ease-in-out infinite alternate;
    font-weight: normal;
    font-family: 'Microsoft YaHei', 'PingFang SC', sans-serif;
    margin: 0;
    padding: 0;
    line-height: 1;
    display: inline;
}

@keyframes glow {
    from {
        text-shadow: 0 0 10px #fff, 0 0 20px #fff, 0 0 30px #ff6b6b, 0 0 40px #ff6b6b;
    }
    to {
        text-shadow: 0 0 20px #fff, 0 0 30px #ff9a9e, 0 0 40px #ff9a9e, 0 0 50px #ff9a9e;
    }
}

/* PC端导航样式 */
.desktop-nav {
    display: flex;
    background: transparent;
}

.desktop-nav ul {
    display: flex;
    list-style: none;
    margin: 0;
    padding: 0;
    align-items: center;
}

.desktop-nav li {
    margin-left: 30px;
}

.desktop-nav a {
    color: #fff;
    text-decoration: none;
    font-size: 18px;
    font-weight: 500;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    outline: none;
    background: none;
    border: none;
    padding: 0;
    margin: 0;
}

.desktop-nav a:hover,
.desktop-nav a:focus,
.desktop-nav a:active {
    background-color: transparent;
    background: none;
    outline: none;
    color: #fff;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    transform: none;
}

/* 移动端导航样式 */
.mobile-nav {
    background-color: rgba(0, 0, 0, 0.9);
    padding: 15px 0;
    position: fixed;
    bottom: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    display: none;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .desktop-nav {
        display: none;
    }
    
    .mobile-nav {
        display: block;
    }
    
    /* 移动端logo居中 */
    header .container {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
}

/* 移除a标签的白色过渡动画效果 */
a {
    -webkit-tap-highlight-color: transparent;
}

.nav-links {
    display: flex;
    justify-content: space-around;
    align-items: center;
    list-style: none;
    margin: 0;
    padding: 0;
    width: 100%;
}

.nav-links li {
    flex: 1;
    text-align: center;
    margin: 0;
}

.nav-links a {
    color: #fff;
    text-decoration: none;
    font-size: 14px;
    padding: 8px 12px;
    border-radius: 20px;
    transition: all 0.3s ease;
    display: block;
    white-space: nowrap;
    overflow: hidden;
    text-overflow: ellipsis;
}

.nav-links a:hover {
    background-color: #ff6b6b;
    transform: translateY(-3px);
}

/* 英雄区域样式 */
.hero {
    padding: 50px 20px;
    color: #fff;
    position: relative;
}

.hero-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
    gap: 40px;
}

.hero-text {
    flex: 1;
    max-width: 50%;
    background-color: #5654544f;
    padding: 30px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.hero-text h2,
.hero-text h1 {
    font-size: 30px;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.hero-text p {
    font-size: 16px;
    margin-bottom: 30px;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
}

.cta-button {
    display: block;
    background-color: #ff6b6b;
    color: #fff;
    padding: 10px 20px;
    font-size: 1.2rem;
    text-decoration: none;
    border-radius: 5px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.4);
    margin: 0 auto;
    width: fit-content;
}

.cta-button:hover {
    background-color: #ff5252;
    transform: translateY(-5px);
    box-shadow: 0 6px 20px rgba(255, 107, 107, 0.6);
}

.hero-screenshots {
    flex: 1;
    max-width: 50%;
}

.hero-screenshots h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
    color: #fff;
}

.screenshots-container {
    display: flex;
    /* gap: 15px; */
    overflow-x: auto;
    padding: 10px 0;
    scroll-behavior: smooth;
}

.screenshots-container::-webkit-scrollbar {
    height: 8px;
}

.screenshots-container::-webkit-scrollbar-track {
    background: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
}

.screenshots-container::-webkit-scrollbar-thumb {
    background: rgba(255, 107, 107, 0.7);
    border-radius: 10px;
}

.screenshots-container::-webkit-scrollbar-thumb:hover {
    background: rgba(255, 107, 107, 0.9);
}

.screenshot-item {
    flex: 0 0 auto;
    width: 150px;
    height: 250px;
    border-radius: 10px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
}

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

.screenshot-item img {
    max-width: 100%;
    max-height: 100%;
    display: block;
    object-fit: contain;
}

/* 下载说明样式 */
.features {
    padding: 50px 20px;
}

.features h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.download-guide {
    background-color: #5654544f;
    border-radius: 5px;
    padding: 20px;
    color: #fff;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.3);
}

.download-guide h3 {
    font-size: 1.2rem;
    margin-bottom: 15px;
    color: #fff;
}

.download-guide p {
    margin-bottom: 10px;
    line-height: 1.5;
}

.highlight {
    background-color: #ffff00;
    color: #000;
    font-weight: bold;
}

/* 下载中心样式 */
.popular-comics {
    padding: 50px 20px;
}

.popular-comics h2 {
    text-align: center;
    font-size: 2.2rem;
    color: #fff;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.download-center {
    background-color: #5654544f;
    border-radius: 15px;
    padding: 20px;
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.download-options {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
    list-style: none;
    padding: 0;
    margin: 0;
}

.download-item {
    background-color: #f8f9fa;
    border-radius: 10px;
    padding: 20px;
    display: flex;
    align-items: center;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
}

.download-item:hover {
    transform: translateY(-2px);
}

.download-icon {
    width: 50px;
    height: 50px;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-right: 20px;
    font-size: 1.5rem;
    text-decoration: none;
    color: inherit;
}

.download-icon img {
    width: 40px;
    height: 40px;
    border-radius: 8px;
}

.icon-emoji {
    font-size: 1.5rem;
}

.download-info {
    flex: 1;
}

.download-info h3 {
    font-size: 1rem;
    margin-bottom: 5px;
    color: #333;
}

.download-info h3 a {
    color: #2c1f39;
    text-decoration: none;
}

.download-info p {
    color: #666;
    font-size: 0.9rem;
    margin: 0;
}

.delay {
    color: #374a5a;
    /* font-weight: bold; */
}

.download-btn {
    display: inline-block;
    padding: 8px 20px;
    background-color: #ffeb3b;
    color: #333;
    text-decoration: none;
    border-radius: 5px;
    font-weight: bold;
}

/* 用户评论样式 */
.download-section {
    padding: 50px 20px;
    color: #fff;
    position: relative;
}

.download-section h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 40px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.5);
}

.comments-container {
    display: flex;
    gap: 30px;
    max-width: 1200px;
    margin: 0 auto;
}

.comments-grid {
    flex: 1;
    max-width: 60%;
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 20px;
}

.comment-item {
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 15px;
    position: relative;
}

.comment-stars {
    font-size: 1.2rem;
    margin-bottom: 10px;
}

.like-button {
    position: absolute;
    top: 15px;
    right: 15px;
    font-size: 1.2rem;
    cursor: pointer;
}

.comment-text {
    margin-bottom: 15px;
    line-height: 1.4;
    font-size: 14px;
}

.comment-time {
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.comment-header {
    display: flex;
    align-items: center;
}

.footer-link {
    text-decoration: none;
    color: inherit;
}

.comment-form {
    flex: 1;
    max-width: 40%;
    background-color: rgba(255, 255, 255, 0.1);
    border-radius: 10px;
    padding: 25px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.comment-form h3 {
    color: #fff;
    margin-bottom: 20px;
}

.form-group {
    margin-bottom: 20px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    color: #fff;
    font-weight: bold;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 10px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
}

.form-group textarea {
    resize: vertical;
}

.form-group input::placeholder,
.form-group textarea::placeholder {
    color: rgba(255, 255, 255, 0.6);
}

.submit-btn {
    background-color: rgba(255, 255, 255, 0.2);
    color: #fff;
    padding: 12px 24px;
    border: 1px solid rgba(255, 255, 255, 0.3);
    border-radius: 5px;
    font-size: 1rem;
    font-weight: bold;
    cursor: pointer;
    transition: background-color 0.3s ease;
    display: block;
    margin: 0 auto;
}

.submit-btn:hover {
    background-color: rgba(255, 255, 255, 0.3);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .comments-container {
        flex-direction: column;
    }
    
    .comments-grid,
    .comment-form {
        max-width: 100%;
    }
    
    .comments-grid {
        grid-template-columns: 1fr;
    }
}

/* 页码样式 */
section.page {
    color: #fff;
    text-align: center;
    margin: 20px 0;
}

section.page a {
    color: #fff;
    text-decoration: none;
    margin: 0 5px;
}

section.page a:hover {
    color: #ff6b6b;
    text-decoration: underline;
}

/* 页脚样式 */
footer {
    background-color: rgba(0, 0, 0, 0.8);
    color: #fff;
    padding: 20px 0;
    text-align: center;
}

/* 移动端页脚样式 */
@media (max-width: 768px) {
    footer {
        padding: 20px 0 80px;
    }
}

.copyright {
    color: #ccc;
}

/* 响应式设计 */
@media (max-width: 768px) {
    header {
        flex-direction: column;
        align-items: center;
    }
    
    .logo {
        margin-bottom: 15px;
    }
    
    .logo h1,
    .logo div {
        font-size: 2rem;
    }
    
    .logo img {
        width: 50px;
        height: 50px;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
    }
    
    .hero-text,
    .hero-screenshots {
        max-width: 100%;
        width: 100%;
    }
    
    .hero-text {
        padding: 20px;
    }
    
    .hero-text h2,
    .hero-text h1 {
        font-size: 2rem;
    }
    
    .hero-text p {
        font-size: 1rem;
    }
    
    .hero-screenshots {
        margin-top: 30px;
    }
    
    .screenshot-item {
        width: 150px;
        height: 250px;
    }
    
    .features h2,
    .popular-comics h2,
    .download-section h2 {
        font-size: 1.8rem;
    }
    
    .download-guide {
        padding: 15px;
    }
    
    .download-guide h3 {
        font-size: 1.1rem;
    }
    
    .download-buttons {
        flex-direction: column;
        align-items: center;
    }
    
    /* 下载中心移动端样式 */
    .download-center {
        padding: 0;
    }
    
    .download-options {
        grid-template-columns: 1fr;
    }
    
    .download-item {
        padding: 15px;
    }
    
    .download-icon {
        width: 40px;
        height: 40px;
        margin-right: 15px;
    }
    
    .download-info h3 {
        font-size: 0.9rem;
    }
    
    .download-info p {
        font-size: 0.8rem;
    }
    
    .download-btn {
        padding: 6px 15px;
        font-size: 0.9rem;
    }
}

/* 返回顶部按钮样式 */
.back-to-top {
    position: fixed;
    bottom: 100px;
    right: 100px;
    width: 50px;
    height: 50px;
    border-radius: 50%;
    background-color: rgba(255, 107, 107, 0.8);
    color: white;
    border: none;
    font-size: 24px;
    cursor: pointer;
    display: none;
    transition: all 0.3s ease;
    z-index: 1000;
}

.back-to-top:hover {
    background-color: rgba(255, 82, 82, 1);
    transform: translateY(-5px);
}

/* 响应式设计 */
@media (max-width: 768px) {
    .back-to-top {
        display: none !important;
    }
}