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

html {
    scroll-behavior: smooth;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', 'PingFang SC', 'Hiragino Sans GB', 'Microsoft YaHei', 'WenQuanYi Micro Hei', sans-serif;
    background-color: #1a1a1a;
    color: #ffffff;
    line-height: 1.6;
    overflow-x: hidden;
}

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


/* 按钮样式 */
.btn {
    display: inline-block;
    padding: 12px 24px;
    border-radius: 8px;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    border: none;
    cursor: pointer;
    font-size: 16px;
    text-align: center;
}

.btn-text {
    display: block;
    line-height: 1.2;
    text-align: center;
}

.btn-subtext {
    display: block;
    font-size: 12px;
    opacity: 0.9;
    margin-top: 2px;
    line-height: 1.2;
    text-align: center;
}

.btn-primary {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff7700, #ff9500);
    transform: translateY(-2px);
    box-shadow: 0 6px 20px rgba(255, 140, 0, 0.4);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: #ffffff;
    border: 1px solid rgba(255, 255, 255, 0.2);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    transform: translateY(-2px);
}

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    width: 100%;
    background: rgba(26, 26, 26, 0.95);
    backdrop-filter: blur(10px);
    z-index: 1000;
    padding: 15px 0;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.nav-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.nav-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.logo-icon {
    width: 40px;
    height: 40px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.logo-icon::before {
    content: '';
    width: 22px;
    height: 22px;
    background: url('../images/bottle-icon.png') no-repeat center center;
    background-size: contain;
    position: relative;
}

.logo-text {
    font-size: 20px;
    font-weight: 600;
    color: #ffffff;
}

.huya-branding-icon {
    display: flex;
    flex-direction: column;
    align-items: flex-start;
    gap: 4px;
    padding: 4px 4px;
    border-radius: 4px;
    border: 0px solid rgba(255, 255, 255, 0.1);
}

.huya-branding-icon .huya-icon {
    width: 20px;
    height: 20px;
    object-fit: contain;
}

.huya-branding-icon .huya-text {
    font-size: 10px;
    color: #cccccc;
    font-weight: 400;
    line-height: 1;
    white-space: nowrap;
}

.nav-menu {
    display: flex;
    list-style: none;
    gap: 30px;
}

.nav-link {
    color: #cccccc;
    text-decoration: none;
    font-weight: 500;
    transition: all 0.3s ease;
    position: relative;
}

.nav-link:hover,
.nav-link.active {
    color: #ffa500;
}

.nav-link.active::after {
    content: '';
    position: absolute;
    bottom: -5px;
    left: 0;
    width: 100%;
    height: 2px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 1px;
}

.nav-toggle {
    display: none;
    flex-direction: column;
    cursor: pointer;
}

.nav-toggle span {
    width: 25px;
    height: 3px;
    background: #ffffff;
    margin: 3px 0;
    transition: 0.3s;
    border-radius: 2px;
}

/* 首屏区域 */
.banner {
    min-height: 100vh;
    display: flex;
    align-items: center;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
    overflow: hidden;
}

.banner::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 20% 80%, rgba(255, 140, 0, 0.1) 0%, transparent 50%),
                radial-gradient(circle at 80% 20%, rgba(255, 165, 0, 0.1) 0%, transparent 50%);
}

.banner-container {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
    display: grid;
    grid-template-columns: 1fr 1fr;
    gap: 60px;
    align-items: center;
    position: relative;
    z-index: 1;
}

.banner-title {
    font-size: 3.5rem;
    font-weight: 700;
    margin-top: 10px;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.banner-subtitle {
    font-size: 1.5rem;
    color: #ffa500;
    margin-bottom: 20px;
    font-weight: 600;
}

.banner-description {
    font-size: 1.2rem;
    color: #cccccc;
    margin-bottom: 20px;
    line-height: 1.8;
}

/* 突出显示三大卖点的样式 */
.banner-description .key-features {
    display: inline-block;
    font-size: 1.8rem;
    font-weight: 800;
    background: linear-gradient(135deg, #ffffff, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    margin-top: 15px;
    letter-spacing: 4px;
    animation: glow-pulse 2s ease-in-out infinite;
    text-shadow: 0 0 20px rgba(255, 165, 0, 0.3);
}

/* 发光脉冲动画 */
@keyframes glow-pulse {
    0%, 100% {
        filter: brightness(1) drop-shadow(0 0 5px rgba(255, 165, 0, 0.3));
        transform: scale(1);
    }
    50% {
        filter: brightness(1.2) drop-shadow(0 0 15px rgba(255, 165, 0, 0.6));
        transform: scale(1.02);
    }
}

.highlight-text {
    color: #ffa500;
    font-weight: 600;
}

.banner-buttons {
    display: flex;
    gap: 20px;
    flex-wrap: wrap;
}

.banner-visual {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    justify-content: center;
}

.banner-visual-mobile {
    display: none;
    flex-direction: column;
    align-items: center;
    gap: 10px;
    margin: 20px 0;
}

.beta-badge {
    background: linear-gradient(135deg, #ff6b6b, #ff8e53);
    color: #ffffff;
    padding: 8px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    text-align: center;
    box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    animation: pulse 2s ease-in-out infinite;
    border: 2px solid rgba(255, 255, 255, 0.2);
}

@keyframes pulse {
    0%, 100% { 
        transform: scale(1);
        box-shadow: 0 4px 15px rgba(255, 107, 107, 0.3);
    }
    50% { 
        transform: scale(1.05);
        box-shadow: 0 6px 20px rgba(255, 107, 107, 0.5);
    }
}

/* 游戏封面轮播样式 */
.game-carousel {
    width: 320px;
    height: 180px;
    margin-top: 10px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.carousel-container {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-track {
    width: 100%;
    height: 100%;
    position: relative;
}

.carousel-slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 0.8s ease-in-out;
    border-radius: 16px;
    overflow: hidden;
}

.carousel-slide.active {
    opacity: 1;
}

.game-cover {
    width: 100%;
    height: 100%;
    object-fit: cover;
    border-radius: 16px;
    transition: transform 0.3s ease;
}

.game-cover:hover {
    transform: scale(1.05);
}

.carousel-dots {
    position: absolute;
    bottom: 20px;
    left: 50%;
    transform: translateX(-50%);
    display: flex;
    gap: 8px;
    z-index: 10;
}

.dot {
    width: 10px;
    height: 10px;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
    transition: all 0.3s ease;
    border: 2px solid rgba(255, 255, 255, 0.3);
}

.dot.active {
    background: #ffa500;
    border-color: #ffa500;
    transform: scale(1.2);
    box-shadow: 0 0 10px rgba(255, 165, 0, 0.5);
}

.dot:hover {
    background: rgba(255, 165, 0, 0.8);
    border-color: rgba(255, 165, 0, 0.8);
}

/* 轮播导航箭头样式 */
.carousel-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    background: rgba(0, 0, 0, 0.5);
    color: #ffffff;
    border: none;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    font-size: 20px;
    font-weight: bold;
    cursor: pointer;
    z-index: 10;
    transition: all 0.3s ease;
    display: flex;
    align-items: center;
    justify-content: center;
    opacity: 0.7;
    backdrop-filter: blur(5px);
    user-select: none;
}

.carousel-nav:hover {
    background: rgba(255, 165, 0, 0.8);
    opacity: 1;
    transform: translateY(-50%) scale(1.1);
    box-shadow: 0 4px 15px rgba(255, 165, 0, 0.4);
}

.carousel-nav:active {
    transform: translateY(-50%) scale(0.95);
}

.carousel-prev {
    left: -15px;
}

.carousel-next {
    right: -15px;
}

/* 移动端箭头样式调整 */
.carousel-nav.mobile {
    width: 44px;
    height: 44px;
    font-size: 22px;
    opacity: 0.8;
    background: rgba(0, 0, 0, 0.6);
}

.carousel-nav.mobile.carousel-prev {
    left: 10px;
}

.carousel-nav.mobile.carousel-next {
    right: 10px;
}

.carousel-nav.mobile:hover {
    opacity: 1;
    background: rgba(255, 165, 0, 0.9);
}

/* 轮播容器悬停时显示箭头 */
.game-carousel .carousel-container:hover .carousel-nav:not(.mobile) {
    opacity: 1;
}

/* PC端箭头默认显示，便于用户发现 */
.game-carousel .carousel-nav:not(.mobile) {
    opacity: 0.6;
}

/* 确保轮播容器有足够的空间显示箭头 */
.game-carousel {
    margin: 10px 30px;
    position: relative;
}

/* 确保banner-visual有足够空间容纳箭头 */
.banner-visual {
    padding: 0 20px;
}

/* 保留原有的 banner-icon 样式用于移动端 */
.banner-icon {
    width: 160px;
    height: 160px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    padding: 40px;
    border-radius: 50%;
    box-shadow: 0 20px 40px rgba(255, 140, 0, 0.3);
    animation: float 3s ease-in-out infinite;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
}

.banner-icon::before {
    content: '';
    width: 80px;
    height: 80px;
    background: url('../images/bottle-icon.png') no-repeat center center;
    background-size: contain;
    position: relative;
}

.speed-indicator {
    position: relative;
    width: 120px;
    height: 120px;
    display: flex;
    align-items: center;
    justify-content: center;
}

.speed-ring {
    position: absolute;
    width: 100%;
    height: 100%;
    border: 3px solid rgba(255, 165, 0, 0.3);
    border-top: 3px solid #ffa500;
    border-radius: 50%;
    animation: spin 2s linear infinite;
}

.speed-text {
    color: #ffa500;
    font-weight: 600;
    font-size: 14px;
}

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

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

/* 移动端统计信息 */
.mobile-stats {
    display: none; /* PC端隐藏 */
    flex-direction: column;
    gap: 15px;
    margin: 10px 0;
    width: 100%;
}

.mobile-stat-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 10px 10px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
}

.mobile-stat-item:hover {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
    transform: translateY(-2px);
}

.mobile-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 6px;
    line-height: 1.2;
}

.mobile-stat-label {
    font-size: 0.8rem;
    color: #cccccc;
    font-weight: 500;
    line-height: 1.2;
}

/* 首屏统计信息 */
.banner-stats {
    display: flex;
    gap: 20px;
    margin-top: 20px;
    justify-content: center;
    flex-wrap: wrap;
}

.banner-stat-item {
    background: rgba(255, 255, 255, 0.08);
    padding: 20px 25px;
    border-radius: 12px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.15);
    backdrop-filter: blur(10px);
    transition: all 0.3s ease;
    min-width: 140px;
}

.banner-stat-item:hover {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
    transform: translateY(-2px);
}

.banner-stat-number {
    font-size: 1.8rem;
    font-weight: 700;
    color: #ffa500;
    margin-bottom: 5px;
    line-height: 1.2;
}

.banner-stat-label {
    font-size: 0.9rem;
    color: #cccccc;
    font-weight: 500;
    line-height: 1.2;
}

/* 区域标题 */
.section-title {
    font-size: 2.5rem;
    font-weight: 700;
    text-align: center;
    margin-bottom: 60px;
    background: linear-gradient(135deg, #ffffff, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

/* 功能特性 */
.features {
    padding: 100px 0;
    background: #2d2d2d;
}

.features-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 30px;
}

.feature-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px 30px;
    border-radius: 16px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.feature-card:hover {
    transform: translateY(-10px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
}

.feature-card h3 {
    font-size: 1.5rem;
    font-weight: 600;
    margin-bottom: 15px;
    color: #ffffff;
}

.feature-card p {
    color: #cccccc;
    line-height: 1.6;
}

/* 支持的游戏 */
.games {
    padding: 100px 0;
    background: #1a1a1a;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(4, 1fr);
    gap: 25px;
}

.game-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 12px;
    text-align: center;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.game-card:hover {
    transform: translateY(-5px);
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
}

.game-card h4 {
    font-size: 1.2rem;
    font-weight: 600;
    margin-bottom: 8px;
    color: #ffffff;
}

.game-card p {
    color: #999999;
    font-size: 0.9rem;
}

/* 下载区域 */
.download {
    padding: 100px 0;
    background: #2d2d2d;
}

.download-content {
    margin-bottom: 60px;
}

.download-main-only {
    display: flex;
    justify-content: center;
}

.download-card {
    background: rgba(255, 255, 255, 0.05);
    padding: 30px 20px;
    border-radius: 16px;
    text-align: center;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.download-card.active {
    background: rgba(255, 165, 0, 0.1);
    border-color: rgba(255, 165, 0, 0.3);
    transform: scale(1.05);
}

.download-card.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

.download-card:not(.disabled):hover {
    transform: translateY(-5px);
    background: rgba(255, 255, 255, 0.08);
}

.platform-icon {
    font-size: 3rem;
    margin-bottom: 20px;
}

.download-card h3 {
    font-size: 1.3rem;
    font-weight: 600;
    margin-bottom: 10px;
    color: #ffffff;
}

.version {
    color: #ffa500;
    font-weight: 600;
    font-size: 1.1rem;
    margin-bottom: 10px;
}

.requirements {
    color: #cccccc;
    margin-bottom: 20px;
}

.status {
    color: #999999;
    font-style: italic;
}

.download-btn {
    margin-top: 10px;
}

.download-info {
    background: rgba(255, 255, 255, 0.05);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.download-info h3 {
    font-size: 1.5rem;
    margin-bottom: 20px;
    color: #ffa500;
}

.download-info ol {
    color: #cccccc;
    padding-left: 20px;
}

.download-info li {
    margin-bottom: 10px;
    line-height: 1.6;
}

/* 关于区域 */
.about {
    padding: 100px 0;
    background: #1a1a1a;
}

.about-content {
    max-width: 800px;
    margin: 0 auto;
}

.about-text h2 {
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 30px;
    background: linear-gradient(135deg, #ffffff, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    text-align: center;
}

.about-text p {
    color: #cccccc;
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 20px;
    text-align: left;
}


/* 页脚 */
.footer {
    background: #0d0d0d;
    padding: 40px 0;
    border-top: 1px solid rgba(255, 255, 255, 0.1);
}

.footer-content {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

.footer-logo {
    display: flex;
    align-items: center;
    gap: 10px;
}

.footer-logo .logo-icon {
    width: 32px;
    height: 32px;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    position: relative;
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.footer-logo .logo-icon::before {
    content: '';
    width: 18px;
    height: 18px;
    background: url('../images/bottle-icon.png') no-repeat center center;
    background-size: contain;
    position: relative;
}

.footer-logo .huya-logo {
    height: 32px;
    width: auto;
    margin-left: 15px;
    object-fit: contain;
    transition: opacity 0.3s ease;
}

.footer-logo .huya-logo:hover {
    opacity: 0.8;
}

.footer-text {
    text-align: right;
}

.footer-text p {
    color: #999999;
    margin-bottom: 5px;
}

/* 移动端游戏轮播样式 */
.game-carousel-mobile {
    width: 200px;
    height: 120px;
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.3);
    margin: 0 auto;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .logo-icon {
        width: 32px;
        height: 32px;
    }

    .logo-icon::before {
        width: 18px;
        height: 18px;
    }

    .logo-text {
        font-size: 18px;
    }

    .huya-branding-icon {
        margin-right: 2px;
        padding: 2px 2px;
    }

    .huya-branding-icon .huya-icon {
        width: 20px;
        height: 20px;
    }

    .huya-branding-icon .huya-text {
        font-size: 10px;
    }

    .nav-menu {
        position: fixed;
        left: -100%;
        top: 70px;
        flex-direction: column;
        background-color: rgba(26, 26, 26, 0.98);
        width: 100%;
        text-align: center;
        transition: 0.3s;
        padding: 30px 0;
        backdrop-filter: blur(10px);
    }

    .nav-menu.active {
        left: 0;
    }

    .nav-toggle {
        display: flex;
    }

    .banner-container {
        grid-template-columns: 1fr;
        text-align: center;
        gap: 40px;
    }

    .banner-content {
        display: flex;
        flex-direction: column;
        align-items: center;
    }

    .banner-title {
        font-size: 2.5rem;
    }

    /* 移动端三大卖点样式调整 */
    .banner-description .key-features {
        font-size: 1.4rem;
        letter-spacing: 3px;
        display: block;
        text-align: center;
        margin-top: 20px;
    }

    /* 隐藏桌面版的banner-visual */
    .banner-visual {
        display: none;
    }

    /* 显示移动版的banner-visual-mobile */
    .banner-visual-mobile {
        display: flex;
    }

    /* 移动端轮播样式调整 - 保持横向比例 */
    .game-carousel-mobile {
        width: 280px;
        height: 160px;
    }

    .features-grid {
        grid-template-columns: 1fr;
    }

    .games-grid {
        grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    }

    .about-content {
        text-align: left;
    }

    .footer-content {
        flex-direction: column;
        gap: 20px;
        text-align: center;
    }

    .footer-text {
        text-align: center;
    }

    .footer-logo .huya-logo {
        height: 32px;
        margin-left: 12px;
    }

    .banner-buttons {
        justify-content: center;
        width: 100%;
    }

    /* 移动端隐藏了解更多按钮 */
    .btn-secondary {
        display: none;
    }

    /* 移动端显示统计信息 */
    .mobile-stats {
        display: flex;
    }

    /* 移动端下载按钮宽度与统计卡片一致 */
    .banner-buttons .btn-primary {
        width: 100% !important;
        max-width: none !important;
        display: block;
    }

    /* 移动端统计信息样式 - 匹配about-stats的表现 */
    .banner-visual-mobile .banner-stats {
        flex-direction: column;
        gap: 15px;
        margin-top: 25px;
        width: 100%;
    }

    .banner-visual-mobile .banner-stat-item {
        padding: 20px;
        min-width: auto;
        width: 100%;
        border-radius: 16px;
    }

    .banner-visual-mobile .banner-stat-number {
        font-size: 2rem;
        margin-bottom: 8px;
    }

    .banner-visual-mobile .banner-stat-label {
        font-size: 1rem;
    }
}

@media (max-width: 480px) {
    .container {
        padding: 0 15px;
    }

    .banner-title {
        font-size: 2rem;
    }

    .section-title {
        font-size: 2rem;
    }

    /* 小屏幕三大卖点样式调整 */
    .banner-description .key-features {
        font-size: 1.2rem;
        letter-spacing: 2px;
    }

    /* 小屏幕统计信息样式 - 匹配about-stats的表现 */
    .banner-visual-mobile .banner-stats {
        flex-direction: column;
        gap: 12px;
        margin-top: 20px;
        width: 100%;
    }

    .banner-visual-mobile .banner-stat-item {
        padding: 18px 16px;
        min-width: auto;
        width: 100%;
        border-radius: 16px;
    }

    .banner-visual-mobile .banner-stat-number {
        font-size: 1.8rem;
        margin-bottom: 6px;
    }

    .banner-visual-mobile .banner-stat-label {
        font-size: 0.9rem;
        line-height: 1.2;
    }
}

/* 游戏资讯页面样式 */
.news-main {
    padding-top: 80px;
    min-height: 100vh;
    background: #1a1a1a;
}

.news-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    text-align: center;
    position: relative;
}

.news-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 140, 0, 0.08) 0%, transparent 50%);
}

.news-title {
    font-size: 3rem;
    font-weight: 700;
    margin-bottom: 20px;
    background: linear-gradient(135deg, #ffffff, #ffa500);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    position: relative;
    z-index: 1;
}

.news-subtitle {
    font-size: 1.2rem;
    color: #cccccc;
    position: relative;
    z-index: 1;
}

.news-categories {
    padding: 40px 0;
    background: #2d2d2d;
    border-bottom: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tabs {
    display: flex;
    justify-content: center;
    gap: 30px;
    flex-wrap: wrap;
}

.category-tab {
    padding: 12px 24px;
    background: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    text-decoration: none;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.category-tab:hover,
.category-tab.active {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #ffffff;
    border-color: transparent;
    transform: translateY(-2px);
    box-shadow: 0 4px 15px rgba(255, 140, 0, 0.3);
}

.news-content {
    padding: 60px 0;
}

.news-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(350px, 1fr));
    gap: 30px;
    margin-bottom: 60px;
}

.news-card {
    background: rgba(255, 255, 255, 0.05);
    border-radius: 16px;
    overflow: hidden;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
    display: flex;
    flex-direction: column;
}

.news-card:hover {
    transform: translateY(-8px);
    background: rgba(255, 255, 255, 0.08);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 165, 0, 0.2);
}

.news-category-badge {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #ffffff;
    padding: 6px 12px;
    border-radius: 15px;
    font-size: 12px;
    font-weight: 600;
    width: fit-content;
}

.news-content-wrapper {
    padding: 25px;
    flex: 1;
    display: flex;
    flex-direction: column;
}

.news-card-title {
    margin-bottom: 15px;
    flex-shrink: 0;
}

.news-card-title a {
    color: #ffffff;
    text-decoration: none;
    font-size: 1.2rem;
    font-weight: 600;
    line-height: 1.4;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-card-title a:hover {
    color: #ffa500;
}

.news-excerpt {
    color: #cccccc;
    line-height: 1.6;
    margin-bottom: 20px;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 3;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.news-meta {
    display: flex;
    justify-content: space-between;
    align-items: center;
    font-size: 14px;
    color: #999999;
    margin-top: auto;
}

.news-meta-right {
    display: flex;
    align-items: center;
    gap: 10px;
}

.news-date {
    color: #ffa500;
}

.news-views {
    color: #999999;
}

/* 分页样式 */
.pagination {
    display: flex;
    justify-content: center;
    gap: 10px;
    margin-top: 40px;
}

.pagination-btn {
    padding: 10px 16px;
    background: rgba(255, 255, 255, 0.05);
    color: #cccccc;
    text-decoration: none;
    border-radius: 8px;
    font-weight: 500;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.pagination-btn:hover:not(.disabled) {
    background: rgba(255, 165, 0, 0.1);
    color: #ffa500;
    border-color: rgba(255, 165, 0, 0.3);
}

.pagination-btn.active {
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #ffffff;
    border-color: transparent;
}

.pagination-btn.disabled {
    opacity: 0.5;
    cursor: not-allowed;
}

/* 文章详情页样式 */
.article-main {
    padding-top: 80px;
    min-height: 100vh;
    background: #1a1a1a;
}

.article-header {
    padding: 60px 0;
    background: linear-gradient(135deg, #1a1a1a 0%, #2d2d2d 100%);
    position: relative;
}

.article-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: radial-gradient(circle at 30% 70%, rgba(255, 140, 0, 0.08) 0%, transparent 50%);
}

.article-container {
    max-width: 800px;
    margin: 0 auto;
    padding: 0 20px;
    position: relative;
    z-index: 1;
}

.article-category {
    display: inline-block;
    background: linear-gradient(135deg, #ff8c00, #ffa500);
    color: #ffffff;
    padding: 8px 16px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 600;
    margin-bottom: 20px;
}

.article-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #ffffff;
    margin-bottom: 20px;
    line-height: 1.3;
}

.article-meta {
    display: flex;
    gap: 30px;
    color: #cccccc;
    font-size: 14px;
    margin-bottom: 40px;
}

.article-meta span {
    display: flex;
    align-items: center;
    gap: 8px;
}

.article-content {
    padding: 60px 0;
}

.article-body {
    background: rgba(255, 255, 255, 0.03);
    padding: 40px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.1);
    line-height: 1.8;
    color: #cccccc;
}

.article-body h2 {
    color: #ffffff;
    font-size: 1.8rem;
    font-weight: 600;
    margin: 30px 0 20px 0;
    padding-bottom: 10px;
    border-bottom: 2px solid rgba(255, 165, 0, 0.3);
}

.article-body h3 {
    color: #ffa500;
    font-size: 1.4rem;
    font-weight: 600;
    margin: 25px 0 15px 0;
}

.article-body p {
    margin-bottom: 20px;
}

.article-body ul,
.article-body ol {
    margin: 20px 0;
    padding-left: 30px;
}

.article-body li {
    margin-bottom: 10px;
}

.article-body strong {
    color: #ffa500;
    font-weight: 600;
}

.article-body blockquote {
    background: rgba(255, 165, 0, 0.1);
    border-left: 4px solid #ffa500;
    padding: 20px;
    margin: 20px 0;
    border-radius: 0 8px 8px 0;
    font-style: italic;
}

.back-to-list {
    display: inline-flex;
    align-items: center;
    gap: 8px;
    color: #ffa500;
    text-decoration: none;
    font-weight: 500;
    margin-bottom: 30px;
    transition: color 0.3s ease;
}

.back-to-list:hover {
    color: #ff8c00;
}

/* 响应式设计 - 资讯页面 */
@media (max-width: 768px) {
    .news-title {
        font-size: 2.2rem;
    }
    
    .category-tabs {
        gap: 15px;
    }
    
    .category-tab {
        padding: 10px 18px;
        font-size: 14px;
    }
    
    .news-grid {
        grid-template-columns: 1fr;
        gap: 20px;
    }
    
    .news-card {
        margin: 0 10px;
    }
    
    .article-title {
        font-size: 2rem;
    }
    
    .article-body {
        padding: 25px 20px;
    }
    
    .article-meta {
        flex-direction: column;
        gap: 10px;
    }
}

@media (max-width: 480px) {
    .news-title {
        font-size: 1.8rem;
    }
    
    .category-tabs {
        justify-content: flex-start;
        overflow-x: auto;
        padding-bottom: 10px;
    }
    
    .category-tab {
        white-space: nowrap;
        flex-shrink: 0;
    }
    
    .news-card {
        margin: 0 5px;
    }
    
    .article-title {
        font-size: 1.6rem;
    }
    
    .article-body {
        padding: 20px 15px;
    }
    
    .pagination {
        flex-wrap: wrap;
        gap: 8px;
    }
    
    .pagination-btn {
        padding: 8px 12px;
        font-size: 14px;
    }
}
