/* 浏览器兼容性前缀和全局兼容设置 */
* {
    -webkit-box-sizing: border-box;
    -moz-box-sizing: border-box;
    box-sizing: border-box;
    margin: 0;
    padding: 0;
}

html {
    -webkit-text-size-adjust: 100%;
    -ms-text-size-adjust: 100%;
}

/* 新增CSS样式 */
.news-list {
    max-width: 1000px;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    display: flex;
    flex-direction: column;
    height: 100%;
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
}

.news-image {
    position: relative;
    overflow: hidden;
    height: 200px;
    width: 100%;
}

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

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

.news-content {
    padding: 1.25rem;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.news-tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    color: #fff;
    font-size: 0.75rem;
    font-weight: 700;
    padding: 0.25rem 0.75rem;
    border-radius: 20px;
    z-index: 1;
}

.news-item h3 {
    font-size: 1.25rem;
    margin: 0 0 0.75rem;
    color: #333;
    font-weight: 600;
}

.icon-fire, .icon-trophy {
    font-size: 1.2rem;
    color: #333;
    filter: none;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.red-text {
    color: #000;
    font-weight: 600;
}

.news-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 1rem;
}

.news-features li {
    background: rgba(255, 71, 87, 0.05);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.news-features li:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: translateX(5px);
}

.news-features li span.red-text {
    color: #000;
    margin-right: 5px;
}

/* 移动端优化 */
@media (max-width: 768px) {
    .news-list {
        grid-template-columns: 1fr;
    }
    
    .news-item {
        margin-bottom: 1.5rem;
    }
    
    .news-image {
        height: 180px;
    }
}
/* 基础样式 */
:root {
    --primary-color: #ff6b6b;
    --primary-gradient: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    --accent-color: #ff8e8e;
    --bg-color: #f8f9fa;
    --card-bg: #ffffff;
    --dark-text: #2c3e50;
    --light-text: #4a5568;
    --lighter-text: #718096;
    --border-color: rgba(0, 0, 0, 0.1);
    --shadow-color: rgba(255, 107, 107, 0.15);
    --hover-bg: rgba(255, 107, 107, 0.05);
}

body {
    padding-top: 70px;
    margin: 0;
    font-family: 'SF Pro Text', 'SF Pro Icons', 'PingFang SC', 'Helvetica Neue', 'Helvetica', 'Arial', sans-serif;
    line-height: 1.6;
    color: #333;
    background-color: #f8f9fa;
}

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

/* 导航栏 */
.navbar {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    z-index: 1000;
    background-color: rgba(255, 255, 255, 0.95);
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: all 0.3s ease;
    padding: 0.5rem 0;
}

.navbar.scrolled {
    background-color: rgba(255, 255, 255, 0.98);
    box-shadow: 0 2px 15px rgba(0, 0, 0, 0.1);
}

.navbar .container {
    display: flex;
    justify-content: space-between;
    align-items: center;
    height: 60px;
}

.logo {
    color: #333;
    font-size: 1.5rem;
    font-weight: 700;
    text-decoration: none;
    display: flex;
    align-items: center;
    position: relative;
}

.logo-dot {
    display: inline-block;
    width: 8px;
    height: 8px;
    background-color: #333;
    border-radius: 50%;
    margin-left: 5px;
}

.logo::after {
    content: '';
    position: absolute;
    width: 24px;
    height: 3px;
    border-radius: 3px;
    background: linear-gradient(to right, #ff6b6b, #ff8e8e);
    bottom: 0;
    left: 0;
    transition: width 0.5s cubic-bezier(0.16, 1, 0.3, 1);
}

.logo:hover::after {
    width: 100%;
}

.nav-links {
    list-style: none;
    display: flex;
    margin: 0;
    padding: 0;
    height: 100%;
    align-items: center;
}

.nav-links li {
    height: 100%;
    position: relative;
    display: flex;
    align-items: center;
}

.nav-links a {
    color: #333;
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    position: relative;
    transition: all 0.3s;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    display: flex;
    align-items: center;
    height: 100%;
}

.nav-links a::before {
    content: '';
    position: absolute;
    width: 0;
    height: 2px;
    bottom: 25px;
    left: 50%;
    transform: translateX(-50%);
    background: #333;
    transition: width 0.3s ease;
    opacity: 0;
}

.nav-links a:hover {
    color: #333;
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-links a:hover::before {
    width: 24px;
    opacity: 1;
}

.nav-links a.active {
    color: #333;
    font-weight: 600;
    background-color: rgba(0, 0, 0, 0.05);
}

.nav-links a.active::after {
    content: '';
    position: absolute;
    width: 50%;
    height: 2px;
    bottom: 0;
    left: 25%;
    background: #333;
    border-radius: 1px;
}

/* 移动端导航 */
.mobile-menu-toggle {
    display: none;
    flex-direction: column;
    justify-content: space-between;
    width: 30px;
    height: 20px;
    cursor: pointer;
    z-index: 1010;
}

.mobile-menu-toggle span {
    display: block;
    height: 3px;
    width: 100%;
    background-color: #333;
    border-radius: 3px;
    transition: all 0.3s ease;
}

.mobile-menu-toggle.active span:nth-child(1) {
    transform: rotate(45deg) translate(5px, 5px);
    background-color: #333;
}

.mobile-menu-toggle.active span:nth-child(2) {
    opacity: 0;
}

.mobile-menu-toggle.active span:nth-child(3) {
    transform: rotate(-45deg) translate(5px, -5px);
    background-color: #333;
}

@media (max-width: 768px) {
    .navbar {
        background-color: rgba(255, 255, 255, 0.98);
    }
    
    .navbar .container {
        padding: 0 1rem;
    }

    .nav-links {
        position: fixed;
        top: 60px;
        left: 0;
        width: 100%;
        height: calc(100vh - 60px);
        background-color: rgba(255, 255, 255, 0.98);
        flex-direction: column;
        transform: translateX(-100%);
        transition: transform 0.3s ease;
        padding: 1rem;
        overflow-y: auto;
    }

    .nav-links.active {
        transform: translateX(0);
    }
    
    .mobile-menu-toggle {
        display: flex;
    }
}

/* 首页布局调整 */
.hero-section {
    position: relative;
    height: 100vh;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    text-align: center;
    padding: 0;
    margin: 0;
    overflow: hidden;
}

.slideshow-container {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 0;
}

.slide {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    opacity: 0;
    transition: opacity 1s ease;
}

.slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
}

.slide.active {
    opacity: 1;
}

.hero-section .container {
    position: relative;
    z-index: 1;
    max-width: 800px;
    padding: 0 20px;
}

.hero-section h1 {
    color: #fff;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.hero-section p {
    color: #fff;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    line-height: 1.6;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.3);
}

/* 新闻部分调整 */
.news-section {
    position: relative;
    z-index: 2;
    background-color: #fff;
    padding: 4rem 0;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
}

/* 其他部分 */
.section {
    padding: 3rem 0;
    position: relative;
}

.section h2 {
    font-size: 2.5rem;
    margin-bottom: 2rem;
    text-align: center;
}

/* 英雄网格 */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 2rem;
}

.hero-card {
    background: var(--card-bg);
    padding: 1rem;
    border-radius: 5px;
    text-align: center;
}

.hero-card img {
    width: 100%;
    border-radius: 5px;
    margin-bottom: 1rem;
}

/* 页脚优化 */
footer {
    background: var(--card-bg);
    border-top: 1px solid var(--border-color);
    padding: 2rem 0;
    margin-top: 4rem;
    color: var(--light-text);
}

footer p {
    color: var(--light-text);
    text-align: center;
}

.news-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.news-item {
    background-color: #fff;
    border-radius: 8px;
    overflow: hidden;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.05);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

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

.news-item h3 {
    color: #333;
    margin-bottom: 0.5rem;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

/* 游戏模式样式 */
.mode-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
}

.mode-card {
    background: var(--card-bg);
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.1);
    transition: all 0.4s ease;
    cursor: pointer;
    position: relative;
}

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

.mode-card img {
    width: 100%;
    height: 150px;
    object-fit: cover;
    transition: transform 0.4s ease;
}

.mode-card:hover img {
    transform: scale(1.05);
}

.mode-card h3 {
    color: var(--dark-text);
    font-size: 1.3rem;
    margin: 0.8rem 0 0.4rem;
    padding: 0 1rem;
}

.mode-card p {
    color: var(--light-text);
    font-size: 0.9rem;
    margin-bottom: 0.8rem;
    padding: 0 1rem;
}

/* 攻略样式 */
.guide-content {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
    margin-top: 2rem;
}

.guide-item {
    background: var(--card-bg);
    border-radius: 15px;
    padding: 2rem;
    cursor: pointer;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    border: 1px solid var(--border-color);
}

.guide-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 20px rgba(0, 0, 0, 0.2);
}

.guide-item h3 {
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-size: 1.5rem;
}

.guide-item p {
    color: var(--light-text);
    line-height: 1.6;
}

/* 联系我们样式 */
.contact-content {
    display: grid;
    grid-template-columns: 1fr 2fr;
    gap: 3rem;
    max-width: 1200px;
    margin: 0 auto;
}

.contact-info {
    background: #fff;
    padding: 2rem;
    border-radius: 8px;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
}

.contact-form {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.contact-form input,
.contact-form textarea {
    padding: 0.8rem;
    border: 1px solid #ddd;
    border-radius: 5px;
    font-size: 1rem;
}

.contact-form button {
    background-color: #ff4757;
    color: #fff;
    padding: 0.8rem 2rem;
    border: none;
    border-radius: 5px;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.contact-form button:hover {
    background-color: #ff6b81;
}

/* 英雄分类筛选器样式 */
.hero-filter {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
    margin-bottom: 2rem;
    justify-content: center;
}

.filter-btn {
    padding: 0.8rem 1.5rem;
    border: 2px solid #333;
    border-radius: 25px;
    background-color: transparent;
    color: #333;
    cursor: pointer;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    font-weight: 500;
}

.filter-btn:hover {
    background-color: #333;
    color: #fff;
    transform: translateY(-2px);
}

.filter-btn.active {
    background-color: #333;
    color: #fff;
}

/* 英雄网格样式 */
.hero-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
    margin-top: 2rem;
}

.hero-card {
    background: var(--card-bg);
    border-radius: 10px;
    overflow: hidden;
    box-shadow: 0 2px 10px rgba(0, 0, 0, 0.1);
    transition: transform 0.3s ease;
    position: relative;
}

.hero-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.2);
}

.hero-card img {
    width: 100%;
    height: 200px;
    object-fit: cover;
}

.hero-card h3 {
    padding: 1rem;
    text-align: center;
    color: var(--dark-text);
    font-size: 1.1rem;
    margin: 0;
}

/* 英雄卡片类型标签 */
.hero-card::after {
    content: attr(data-type);
    position: absolute;
    top: 10px;
    right: 10px;
    padding: 4px 8px;
    border-radius: 12px;
    background-color: rgba(255, 71, 87, 0.9);
    color: white;
    font-size: 0.8rem;
    text-transform: capitalize;
}

/* 响应式布局 */
@media (max-width: 768px) {
    .hero-grid {
        grid-template-columns: repeat(auto-fill, minmax(150px, 1fr));
    }
    
    .hero-card img {
        height: 150px;
    }
}

/* 新闻资讯高级样式 */
.section-title {
    font-size: 2.5rem;
    text-align: center;
    margin-bottom: 3rem;
    color: #333;
    position: relative;
    padding-bottom: 1rem;
    font-weight: 700;
    letter-spacing: -0.5px;
}

.section-title::after {
    content: '';
    position: absolute;
    bottom: 0;
    left: 50%;
    transform: translateX(-50%);
    width: 60px;
    height: 4px;
    background: #666;
    border-radius: 2px;
}

.news-item {
    display: flex;
    gap: 2rem;
    margin-bottom: 2rem;
    background: var(--card-bg);
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
    transition: all 0.4s ease;
    position: relative;
    border: 1px solid var(--border-color);
}

.news-item:hover {
    transform: translateY(-5px);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
    border-color: var(--accent-color);
}

.news-image {
    flex: 0 0 40%;
    position: relative;
    overflow: hidden;
}

.news-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    min-height: 300px;
    transition: transform 0.4s ease;
}

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

.news-content {
    flex: 1;
    padding: 2rem;
}

.news-tag {
    position: absolute;
    top: 15px;
    left: 15px;
    padding: 6px 18px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    text-transform: uppercase;
    letter-spacing: 1px;
}

.news-item h3 {
    font-size: 1.8rem;
    color: var(--dark-text);
    margin-bottom: 1rem;
    font-weight: 700;
}

.icon-fire, .icon-trophy {
    font-size: 1.2rem;
    color: #333;
    filter: none;
}

.date {
    color: #666;
    font-size: 0.9rem;
    margin-bottom: 1rem;
}

.highlight {
    color: var(--light-text);
    font-size: 1.1rem;
    line-height: 1.7;
    margin-bottom: 1.5rem;
}

.red-text {
    color: #000;
    font-weight: 600;
}

.news-features {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
    display: grid;
    gap: 1rem;
}

.news-features li {
    background: rgba(255, 71, 87, 0.05);
    padding: 0.8rem 1.2rem;
    border-radius: 8px;
    display: flex;
    align-items: center;
    gap: 10px;
    transition: all 0.3s ease;
}

.news-features li:hover {
    background: rgba(255, 71, 87, 0.1);
    transform: translateX(5px);
}

/* 响应式布局 */
@media (max-width: 768px) {
    .news-item {
        flex-direction: column;
    }
    
    .news-image {
        flex: 1;
        height: 200px;
    }
    
    .news-content {
        padding: 1.5rem;
    }
    
    .news-item h3 {
        font-size: 1.5rem;
    }
}

/* 英雄详情模态窗口 */
.modal {
    display: none;
    position: fixed;
    z-index: 1100;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
    backdrop-filter: blur(5px);
}

.modal-content {
    background: var(--card-bg);
    margin: 8% auto;
    padding: 2.5rem;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    width: 90%;
    max-width: 700px;
    position: relative;
    animation: slideIn 0.4s;
    border: 1px solid var(--border-color);
}

.close-btn {
    position: absolute;
    top: 15px;
    right: 20px;
    color: var(--lighter-text);
    font-size: 28px;
    font-weight: bold;
    cursor: pointer;
    transition: 0.3s;
}

.close-btn:hover {
    color: var(--primary-color);
}

#modal-hero-name {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 700;
}

.hero-type-badge {
    display: inline-block;
    padding: 5px 15px;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    margin-bottom: 20px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.1);
}

.hero-type-badge.raider {
    background-color: #333;
}

.hero-type-badge.controller {
    background-color: #2e86de;
}

.hero-type-badge.gunner {
    background-color: #ff9f43;
}

.hero-type-badge.support {
    background-color: #1dd1a1;
}

.hero-type-badge.shooter {
    background-color: #5f27cd;
}

.hero-type-badge.tank {
    background-color: #54a0ff;
}

.hero-type-badge.bomber {
    background-color: #ee5253;
}

#modal-hero-desc {
    font-size: 1.1rem;
    line-height: 1.7;
    color: var(--light-text);
}

/* 动画效果优化 */
@-webkit-keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@keyframes fadeIn {
    from { opacity: 0; }
    to { opacity: 1; }
}

@-webkit-keyframes slideIn {
    from { transform: translateY(30px); opacity: 0; }
    to { transform: translateY(0); opacity: 1; }
}

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

/* 响应式布局 */
@media (max-width: 768px) {
    .modal-content {
        width: 90%;
        margin: 20% auto;
        padding: 20px;
    }
    
    #modal-hero-name {
        font-size: 1.8rem;
    }
    
    #modal-hero-desc {
        font-size: 1rem;
    }
}

/* 英雄卡片光标样式 */
.hero-card {
    cursor: pointer;
}

.hero-card:hover::before {
    content: '点击查看详情';
    position: absolute;
    bottom: 0;
    left: 0;
    right: 0;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 8px;
    font-size: 0.9rem;
    text-align: center;
    transition: all 0.3s ease;
}

/* 游戏模式详情模态窗口修复 */
.mode-detail-container {
    display: flex;
    flex-direction: row;
    height: 100%;
}

@media (max-width: 768px) {
    .mode-detail-container {
        flex-direction: column;
        height: auto;
    }
    
    .mode-map, .mode-info {
        flex: 1;
        height: auto;
    }
    
    .mode-map {
        height: 250px;
    }
    
    .mode-modal-content {
        height: auto;
    }
    
    #modal-mode-title {
        font-size: 1.8rem;
    }
}

/* 游戏模式详情模态窗口 */
.mode-modal {
    display: none;
    position: fixed;
    z-index: 1200;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0, 0, 0, 0.2);
    animation: fadeIn 0.3s;
    backdrop-filter: blur(5px);
}

.mode-modal-content {
    background: var(--card-bg);
    margin: 5% auto;
    width: 90%;
    max-width: 900px;
    border-radius: 20px;
    overflow: hidden;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.1);
    animation: slideIn 0.4s;
    position: relative;
    height: 600px;
    border: 1px solid var(--border-color);
}

.mode-map {
    flex: 0 0 50%;
    height: 600px;
    overflow: hidden;
    position: relative;
}

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

.mode-map:hover img {
    transform: scale(1.03);
}

.mode-info {
    flex: 0 0 50%;
    padding: 2.5rem;
    background: var(--card-bg);
    height: 600px;
    overflow-y: auto;
    box-sizing: border-box;
}

#modal-mode-title {
    font-size: 2.2rem;
    color: var(--dark-text);
    margin-bottom: 0.5rem;
    font-weight: 700;
    line-height: 1.2;
    letter-spacing: -0.5px;
}

.mode-tag {
    display: inline-block;
    padding: 0.4rem 1.2rem;
    border-radius: 20px;
    font-size: 0.9rem;
    font-weight: 600;
    color: white;
    background: #666;
    margin-bottom: 1.5rem;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
}

.mode-description h3, 
.mode-tips h3, 
.mode-heroes h3 {
    font-size: 1.3rem;
    color: var(--dark-text);
    margin: 1.5rem 0 1rem;
    padding-bottom: 0.5rem;
    border-bottom: 2px solid rgba(255, 107, 107, 0.15);
    font-weight: 600;
    letter-spacing: -0.3px;
}

#modal-mode-desc {
    font-size: 1rem;
    line-height: 1.7;
    color: var(--light-text);
}

#modal-mode-tips {
    padding-left: 1.2rem;
}

#modal-mode-tips li {
    margin-bottom: 0.8rem;
    color: var(--light-text);
    font-size: 1rem;
    position: relative;
}

#modal-mode-tips li::before {
    content: "•";
    color: var(--primary-color);
    position: absolute;
    left: -1.2rem;
    font-size: 1.2rem;
}

.recommended-hero {
    display: inline-block;
    padding: 0.5rem 1rem;
    margin: 0.4rem;
    border-radius: 15px;
    background-color: rgba(0, 0, 0, 0.08);
    color: #333;
    font-weight: 500;
    transition: all 0.3s ease;
    font-size: 0.9rem;
    border: 1px solid rgba(0, 0, 0, 0.15);
}

.recommended-hero:hover {
    background-color: rgba(0, 0, 0, 0.12);
    transform: translateY(-2px);
    color: #333;
}

/* 攻略模态窗口样式优化 */
.guide-modal {
    display: none;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.2);
    z-index: 1000;
    overflow-y: auto;
    backdrop-filter: blur(5px);
    animation: fadeIn 0.3s;
}

.guide-modal-content {
    position: relative;
    background: var(--card-bg);
    margin: 2rem auto;
    padding: 2.5rem;
    width: 90%;
    max-width: 1000px;
    border-radius: 20px;
    box-shadow: 0 15px 50px rgba(0, 0, 0, 0.08);
    border: 1px solid var(--border-color);
    animation: slideIn 0.4s;
}

.guide-header {
    margin-bottom: 2.5rem;
    padding-bottom: 1rem;
    border-bottom: 1px solid var(--border-color);
}

.guide-header h2 {
    color: var(--dark-text);
    font-size: 2.2rem;
    margin-bottom: 0.8rem;
    font-weight: 700;
    letter-spacing: -0.5px;
    line-height: 1.2;
}

.guide-section {
    margin-bottom: 2.5rem;
    padding: 1.8rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 15px;
    border: 1px solid var(--border-color);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.guide-section:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.04);
    border-color: rgba(255, 107, 107, 0.2);
}

.guide-section h3 {
    color: var(--dark-text);
    font-size: 1.4rem;
    margin-bottom: 1.2rem;
    font-weight: 600;
    letter-spacing: -0.3px;
}

.comp-role, .duo-item, .tactic-item {
    background: rgba(255, 107, 107, 0.03);
    padding: 1.2rem;
    border-radius: 10px;
    border: 1px solid rgba(255, 107, 107, 0.1);
    transition: all 0.3s ease;
}

.comp-role:hover, .duo-item:hover, .tactic-item:hover {
    background: rgba(255, 107, 107, 0.05);
    transform: translateY(-3px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.03);
}

.comp-role h4, .duo-item h4, .tactic-item h4 {
    color: var(--primary-color);
    margin-bottom: 0.8rem;
    font-weight: 600;
}

/* 特殊样式 */
.tip-box {
    background: rgba(255, 68, 68, 0.1);
    border-left: 4px solid #ff4444;
    padding: 1rem;
    margin: 1rem 0;
}

.trophy-list, .basic-tips, .advanced-tactics, .mind-games, .data-points {
    list-style: none;
    padding: 0;
}

.trophy-list li, .basic-tips li, .advanced-tactics li, .mind-games li, .data-points li {
    color: var(--text-secondary);
    margin-bottom: 0.5rem;
    padding-left: 1.5rem;
    position: relative;
}

.trophy-list li:before, .basic-tips li:before, .advanced-tactics li:before, .mind-games li:before, .data-points li:before {
    content: "•";
    color: #ff4444;
    position: absolute;
    left: 0;
}

.composition, .duo-comp, .team-tactics {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1rem;
}

.comp-role, .duo-item, .tactic-item {
    background: rgba(255, 255, 255, 0.05);
    padding: 1rem;
    border-radius: 10px;
}

.synergy-list {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
    gap: 1rem;
}

.synergy-list li {
    background: rgba(255, 255, 255, 0.05);
    padding: 0.8rem;
    border-radius: 8px;
    text-align: center;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .guide-modal-content {
        margin: 1rem;
        padding: 1.5rem;
    }

    .guide-header h2 {
        font-size: 1.5rem;
    }

    .guide-section {
        padding: 1rem;
    }

    .composition, .duo-comp, .team-tactics {
        grid-template-columns: 1fr;
    }

    .synergy-list {
        grid-template-columns: 1fr;
    }
}

/* 滚动条美化 */
::-webkit-scrollbar {
    width: 8px;
}

::-webkit-scrollbar-track {
    background: var(--dark-bg);
}

::-webkit-scrollbar-thumb {
    background: var(--primary-gradient);
    border-radius: 4px;
}

::-webkit-scrollbar-thumb:hover {
    background: var(--accent-color);
}

/* 卡片悬浮效果优化 */
.hero-card, .mode-card, .guide-item {
    position: relative;
    overflow: hidden;
}

.hero-card::before, .mode-card::before, .guide-item::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: var(--primary-gradient);
    opacity: 0;
    transition: opacity 0.3s ease;
    z-index: 1;
}

.hero-card:hover::before, .mode-card:hover::before, .guide-item:hover::before {
    opacity: 0.1;
}

/* 图片容器优化 */
.image-container {
    position: relative;
    overflow: hidden;
    border-radius: 10px;
    aspect-ratio: 16/9;
}

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

.image-container:hover img {
    transform: scale(1.1);
}

/* 标签样式优化 */
.tag {
    position: absolute;
    top: 1rem;
    right: 1rem;
    padding: 0.5rem 1rem;
    background: #666;
    color: #fff;
    border-radius: 20px;
    font-size: 0.8rem;
    font-weight: 500;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    z-index: 2;
}

/* 内容卡片优化 */
.content-card {
    background: var(--dark-card);
    border-radius: 15px;
    padding: 1.5rem;
    margin: 1rem 0;
    border: 1px solid rgba(255, 255, 255, 0.1);
    transition: all 0.3s ease;
}

.content-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 8px 25px rgba(0, 0, 0, 0.3);
    border-color: rgba(255, 71, 87, 0.3);
}

/* 列表样式优化 */
.feature-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.feature-list li {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem;
    background: rgba(255, 255, 255, 0.05);
    border-radius: 8px;
    margin-bottom: 0.5rem;
    transition: all 0.3s ease;
}

.feature-list li:hover {
    background: rgba(255, 255, 255, 0.1);
    transform: translateX(5px);
}

.feature-list li::before {
    content: '•';
    color: var(--primary-color);
    font-size: 1.2rem;
}

/* 按钮组样式 */
.button-group {
    display: flex;
    gap: 1rem;
    margin: 1.5rem 0;
}

.button-group .btn {
    flex: 1;
    text-align: center;
}

/* 加载动画 */
.loading {
    position: relative;
    overflow: hidden;
}

.loading::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg,
        transparent,
        rgba(255, 255, 255, 0.1),
        transparent
    );
    animation: loading 1.5s infinite;
}

@keyframes loading {
    0% { transform: translateX(-100%); }
    100% { transform: translateX(100%); }
}

/* 模态窗口动画优化 */
.modal {
    animation: modalFadeIn 0.3s ease;
}

@keyframes modalFadeIn {
    from {
        opacity: 0;
        backdrop-filter: blur(0);
    }
    to {
        opacity: 1;
        backdrop-filter: blur(5px);
    }
}

.modal-content {
    animation: modalSlideIn 0.4s ease;
}

@keyframes modalSlideIn {
    from {
        transform: translateY(-40px);
        opacity: 0;
    }
    to {
        transform: translateY(0);
        opacity: 1;
    }
}

/* 响应式优化补充 */
@media (max-width: 768px) {
    .button-group {
        flex-direction: column;
    }
    
    .content-card {
        padding: 1rem;
    }
    
    .feature-list li {
        padding: 0.6rem;
    }
    
    .tag {
        font-size: 0.7rem;
        padding: 0.4rem 0.8rem;
    }
}

/* 深色模式优化 */
@media (prefers-color-scheme: dark) {
    :root {
        --bg-color: #f8f9fa;
        --card-bg: #ffffff;
        --dark-text: #2c3e50;
        --light-text: #4a5568;
        --lighter-text: #718096;
        --border-color: rgba(0, 0, 0, 0.1);
    }
}

/* 雅致装饰元素 */
.section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-image: radial-gradient(rgba(255, 107, 107, 0.03) 1px, transparent 1px);
    background-size: 25px 25px;
    pointer-events: none;
    z-index: -1;
}

.hero-section {
    padding: 9rem 0;
    position: relative;
    overflow: hidden;
}

.hero-section::after {
    content: '';
    position: absolute;
    bottom: -25px;
    left: 0;
    width: 100%;
    height: 60px;
    background: linear-gradient(to top, var(--bg-color), transparent);
    z-index: 1;
}

.hero-section .container {
    position: relative;
    z-index: 2;
}

.hero-section h1 {
    color: #333;
    font-size: 4rem;
    margin-bottom: 1.5rem;
    font-weight: 800;
    line-height: 1.2;
    letter-spacing: -1px;
}

.hero-section p {
    color: #555;
    font-size: 1.4rem;
    margin-bottom: 2.5rem;
    max-width: 700px;
    margin-left: auto;
    margin-right: auto;
    line-height: 1.6;
}

/* 卡片装饰 */
.hero-card, .mode-card, .guide-item {
    position: relative;
}

.hero-card::after, .mode-card::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(to bottom, rgba(255, 255, 255, 0.1), transparent 50%, rgba(0, 0, 0, 0.05));
    pointer-events: none;
    z-index: 2;
    border-radius: 16px;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.hero-card:hover::after, .mode-card:hover::after {
    opacity: 1;
}

/* 精致标题 */
.section-title {
    position: relative;
    margin-bottom: 4rem;
}

.section-title span {
    color: var(--primary-color);
}

.section-title::before {
    content: '';
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 40px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='%23ff6b6b' width='24px' height='24px'%3E%3Cpath d='M0 0h24v24H0z' fill='none'/%3E%3Cpath d='M12 17.27L18.18 21l-1.64-7.03L22 9.24l-7.19-.61L12 2 9.19 8.63 2 9.24l5.46 4.73L5.82 21z'/%3E%3C/svg%3E");
    background-size: contain;
    background-repeat: no-repeat;
    background-position: center;
    opacity: 0.2;
}

/* 内容精细处理 */
p, li {
    color: var(--light-text);
}

strong, h1, h2, h3, h4, h5, h6 {
    color: var(--dark-text);
    font-weight: 600;
}

a {
    color: var(--primary-color);
    text-decoration: none;
    transition: all 0.3s ease;
}

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

/* 加载动画优化 */
@keyframes shine {
    0% {
        background-position: -100% 0;
    }
    100% {
        background-position: 100% 0;
    }
}

.shine-effect {
    position: relative;
    overflow: hidden;
}

.shine-effect::after {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(
        90deg, 
        rgba(255, 255, 255, 0) 0%, 
        rgba(255, 255, 255, 0.2) 50%, 
        rgba(255, 255, 255, 0) 100%
    );
    background-size: 200% 100%;
    animation: shine 2s infinite linear;
    pointer-events: none;
}

/* 高级悬浮卡片 */
.premium-card {
    background: white;
    border-radius: 20px;
    padding: 2.5rem;
    position: relative;
    border: 1px solid rgba(0, 0, 0, 0.05);
    box-shadow: 
        0 10px 30px rgba(0, 0, 0, 0.05),
        0 1px 3px rgba(0, 0, 0, 0.03);
    transition: all 0.4s cubic-bezier(0.165, 0.84, 0.44, 1);
    overflow: hidden;
}

.premium-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    height: 5px;
    background: var(--primary-gradient);
}

.premium-card:hover {
    transform: translateY(-10px);
    box-shadow: 
        0 20px 40px rgba(0, 0, 0, 0.08),
        0 1px 5px rgba(0, 0, 0, 0.03);
}

/* 页脚精致样式 */
footer {
    background: white;
    padding: 4rem 0 2rem;
    position: relative;
    margin-top: 6rem;
}

footer::before {
    content: '';
    position: absolute;
    top: -50px;
    left: 0;
    width: 100%;
    height: 50px;
    background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 1440 100'%3E%3Cpath fill='%23FFFFFF' fill-opacity='1' d='M0,32L80,42.7C160,53,320,75,480,69.3C640,64,800,32,960,26.7C1120,21,1280,43,1360,53.3L1440,64L1440,100L1360,100C1280,100,1120,100,960,100C800,100,640,100,480,100C320,100,160,100,80,100L0,100Z'%3E%3C/path%3E%3C/svg%3E");
    background-size: cover;
}

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section h1 {
        font-size: 2.5rem;
    }
    
    .hero-section p {
        font-size: 1.1rem;
    }
    
    .section {
        padding: 2rem 0;
    }
    
    .section-title {
        font-size: 2rem;
    }
    
    .premium-card {
        padding: 1.5rem;
    }
}

/* 新闻资讯精致风格 */
.news-item {
    border-radius: 20px;
    background: white;
    overflow: hidden;
}

.news-content {
    padding: 2.5rem;
}

.news-item h3 {
    font-size: 1.8rem;
    margin-bottom: 1.2rem;
    line-height: 1.3;
    font-weight: 700;
    color: var(--dark-text);
}

.news-tag {
    background: var(--primary-gradient);
    color: white;
    font-weight: 600;
    top: 20px;
    left: 20px;
    box-shadow: 0 3px 10px var(--shadow-color);
}

.date {
    display: inline-flex;
    align-items: center;
    padding: 0.4rem 0.8rem;
    background: rgba(0, 0, 0, 0.02);
    border-radius: 20px;
    font-size: 0.85rem;
    color: var(--lighter-text);
    margin-bottom: 1.5rem;
    border: 1px solid rgba(0, 0, 0, 0.05);
}

.highlight {
    font-size: 1.1rem;
    line-height: 1.8;
    margin-bottom: 2rem;
    color: var(--light-text);
}

/* 精致动画 */
@keyframes float {
    0% {
        transform: translateY(0px);
    }
    50% {
        transform: translateY(-10px);
    }
    100% {
        transform: translateY(0px);
    }
}

.float-animation {
    animation: float 5s ease-in-out infinite;
}

.logo-dot {
    display: inline-block;
    width: 6px;
    height: 6px;
    border-radius: 50%;
    background: linear-gradient(135deg, #ff6b6b, #ff8e8e);
    margin-left: 6px;
    position: relative;
    top: -18px;
}

/* 添加一些额外的细节来增强导航栏的高级感 */
.navbar::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 107, 107, 0), 
        rgba(255, 107, 107, 0.3), 
        rgba(255, 107, 107, 0));
    z-index: 2;
}

.navbar .container::after {
    content: '';
    position: absolute;
    bottom: -1px;
    left: 40%;
    width: 20%;
    height: 1px;
    background: linear-gradient(to right, 
        rgba(255, 107, 107, 0), 
        rgba(255, 107, 107, 0.5), 
        rgba(255, 107, 107, 0));
}

/* 添加更全面的响应式布局支持 */
@media (min-width: 769px) and (max-width: 1024px) {
    .container {
        width: 95%;
    }
    
    .news-item {
        gap: 1.5rem;
    }
    
    .news-image {
        flex: 0 0 35%;
    }
    
    .hero-grid,
    .mode-grid {
        grid-template-columns: repeat(3, 1fr);
        gap: 1.5rem;
    }
    
    .section {
        padding: 60px 0;
    }
}

@media (min-width: 1025px) and (max-width: 1440px) {
    .container {
        width: 90%;
    }
    
    .hero-grid,
    .mode-grid {
        grid-template-columns: repeat(4, 1fr);
    }
}

@media (min-width: 1441px) {
    .container {
        max-width: 1400px;
    }
    
    .hero-grid,
    .mode-grid {
        grid-template-columns: repeat(5, 1fr);
    }
}

/* 确保图片正确加载和显示 */
img {
    max-width: 100%;
    height: auto;
    display: block;
    vertical-align: middle;
}

/* 修复IE和旧版Edge浏览器中的flex布局问题 */
.news-item,
.navbar .container,
.hero-grid,
.mode-grid,
.guide-content {
    display: -webkit-box;
    display: -ms-flexbox;
    display: flex;
}

.hero-grid,
.mode-grid {
    display: -ms-grid;
    display: grid;
}

/* 修复Safari中的圆角和溢出问题 */
.news-item,
.hero-card,
.mode-card,
.guide-item {
    -webkit-mask-image: -webkit-radial-gradient(white, black);
}

/* 修复Firefox中的一些渐变和动画问题 */
@-moz-document url-prefix() {
    .logo {
        background: #ff6b6b;
    }
    
    .slide {
        transition: opacity 0.5s ease;
    }
} 