/* 内页通用样式 - 与首页配色一致 */

/* 英雄区域增强样式 */
.hero-section {
    background: rgba(26, 35, 50, 0.4);
    padding: 2.5rem 0;
    margin: 1rem 0;
    border-radius: 20px;
    position: relative;
    overflow: hidden;
    border: 2px solid rgba(0, 217, 255, 0.3);
    box-shadow: 0 8px 32px rgba(0, 217, 255, 0.2);
    backdrop-filter: blur(10px);
}

.hero-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 217, 255, 0.05);
    animation: shimmer 4s ease-in-out infinite;
}

@keyframes shimmer {
    0%, 100% { transform: translateX(-100%); }
    50% { transform: translateX(100%); }
}

.hero-section h1 {
    color: #ffffff;
    font-size: 2.5rem;
    font-weight: 700;
    margin-bottom: 1.5rem;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
    position: relative;
    z-index: 1;
}

.hero-section p {
    color: #e9ecef;
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 2rem;
    position: relative;
    z-index: 1;
}

.hero-section .btn {
    font-size: 1.1rem;
    padding: 0.8rem 2rem;
    text-transform: uppercase;
    font-weight: 600;
    letter-spacing: 1px;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
    position: relative;
    z-index: 1;
}

/* 内页网格布局 */
.inner-page-grid {
    margin-top: 2rem;
    gap: 1rem;
}

/* PC端横向显示 */
@media (min-width: 992px) {
    .inner-page-grid {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        align-items: stretch;
        gap: 1.5rem;
    }
    
    .inner-page-grid .col-12.col-lg-6 {
        flex: 0 0 calc(50% - 0.75rem);
        max-width: calc(50% - 0.75rem);
        display: flex;
    }
    
    .inner-page-grid .content-card {
        width: 100%;
        display: flex;
        flex-direction: column;
        justify-content: space-between;
    }
}

/* 大屏幕横向显示 */
@media (min-width: 1200px) {
    .inner-page-grid {
        gap: 2rem;
    }
    
    .inner-page-grid .col-12.col-lg-6 {
        flex: 0 0 calc(50% - 1rem);
        max-width: calc(50% - 1rem);
    }
}

/* 超大屏幕横向显示 */
@media (min-width: 1400px) {
    .inner-page-grid {
        gap: 2.5rem;
    }
    
    .inner-page-grid .col-12.col-lg-6 {
        flex: 0 0 calc(50% - 1.25rem);
        max-width: calc(50% - 1.25rem);
    }
}

/* 内页卡片样式 */
.content-card {
    background: rgba(26, 35, 50, 0.8);
    border: 2px solid rgba(0, 217, 255, 0.3);
    border-radius: 16px;
    padding: 2rem;
    text-align: center;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    margin-bottom: 1rem;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.content-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(255, 255, 255, 0.1);
    transition: left 0.6s ease;
}

.content-card:hover::before {
    left: 100%;
}

.content-card:hover {
    transform: translateY(-8px) scale(1.02);
    border-color: #00d9ff;
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.4);
    background: rgba(26, 35, 50, 0.9);
}

.content-card h3 {
    color: #ffffff;
    font-size: 1.3rem;
    margin-bottom: 1rem;
}

.highlight-text {
    font-size: 3rem;
    font-weight: bold;
    color: #ffffff;
    margin: 1rem 0;
    text-shadow: 0 2px 4px rgba(0, 0, 0, 0.5);
}

.content-card p {
    color: #e9ecef;
    margin-bottom: 1.5rem;
    line-height: 1.5;
}

.content-card .btn {
    background: linear-gradient(135deg, #00d9ff 0%, #00bcd4 100%);
    color: #0a192f;
    font-weight: bold;
    border: none;
    transition: all 0.3s ease;
    box-shadow: 0 4px 15px rgba(0, 217, 255, 0.3);
}

.content-card .btn:hover {
    background: linear-gradient(135deg, #00bcd4 0%, #00a8cc 100%);
    transform: scale(1.05);
    box-shadow: 0 6px 20px rgba(0, 217, 255, 0.4);
}

/* 特色内容区域 */
.featured-content {
    background: rgba(26, 35, 50, 0.3);
    border-radius: 18px;
    padding: 2.5rem;
    margin: 2.5rem 0;
    border: 1px solid rgba(0, 217, 255, 0.2);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.featured-content::before {
    content: '';
    position: absolute;
    top: -2px;
    left: -2px;
    right: -2px;
    bottom: -2px;
    background: linear-gradient(135deg, #00d9ff 0%, #00bcd4 100%);
    border-radius: 20px;
    z-index: -1;
    opacity: 0.2;
}

.featured-content h2 {
    color: #00d9ff;
    text-align: center;
    margin-bottom: 1.5rem;
    position: relative;
    z-index: 1;
    font-weight: bold;
    text-shadow: 0 2px 4px rgba(0, 217, 255, 0.4);
}

.featured-content p {
    color: #e9ecef;
    text-align: center;
    margin-bottom: 1rem;
    position: relative;
    z-index: 1;
}

/* 信息列表样式 */
.info-list {
    list-style: none;
    padding: 0;
    margin: 1.5rem 0;
}

.info-list li {
    background: rgba(0, 217, 255, 0.05);
    margin: 0.75rem 0;
    padding: 1.25rem;
    border-radius: 12px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    color: #e9ecef;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
}

.info-list li::before {
    content: '';
    position: absolute;
    left: 0;
    top: 0;
    bottom: 0;
    width: 4px;
    background: #00d9ff;
    border-radius: 0 2px 2px 0;
    transform: scaleY(0);
    transition: transform 0.3s ease;
}

.info-list li:hover {
    background: rgba(0, 217, 255, 0.1);
    transform: translateX(8px) scale(1.02);
    border-color: rgba(0, 217, 255, 0.4);
    box-shadow: 0 5px 15px rgba(0, 217, 255, 0.2);
}

.info-list li:hover::before {
    transform: scaleY(1);
}

/* 步骤指示器 */
.step-indicator {
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 2.5rem 0;
    gap: 1.5rem;
    padding: 2rem;
    background: rgba(26, 35, 50, 0.2);
    border-radius: 16px;
    border: 1px solid rgba(0, 217, 255, 0.2);
    backdrop-filter: blur(10px);
}

.step {
    background: rgba(26, 35, 50, 0.8);
    border: 2px solid #00d9ff;
    border-radius: 50%;
    width: 60px;
    height: 60px;
    display: flex;
    align-items: center;
    justify-content: center;
    color: #00d9ff;
    font-weight: bold;
    font-size: 1.3rem;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
}

.step::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(255, 255, 255, 0.1);
    border-radius: 50%;
    transform: scale(0);
    transition: transform 0.3s ease;
}

.step:hover::before {
    transform: scale(1);
}

.step:hover {
    transform: scale(1.15) rotate(5deg);
    box-shadow: 0 8px 25px rgba(0, 217, 255, 0.5);
    border-color: #00d9ff;
    background: rgba(0, 217, 255, 0.1);
}

/* 导航菜单当前页面高亮 - 已禁用 */
/* .nav-menu a[href*=".html"] {
    background: linear-gradient(135deg, rgba(255, 255, 255, 0.15) 0%, rgba(255, 255, 255, 0.25) 100%);
    color: #ffffff;
    box-shadow: 0 4px 15px rgba(156, 39, 176, 0.3);
    transform: translateY(-2px);
} */

/* 响应式调整 */
@media (max-width: 768px) {
    .hero-section {
        padding: 1.5rem 0;
        border-radius: 15px;
        margin: 0.5rem 0;
    }
    
    .hero-section h1 {
        font-size: 1.75rem;
    }
    
    .content-card {
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .highlight-text {
        font-size: 2rem;
    }
    
    .featured-content {
        padding: 1.5rem;
        border-radius: 15px;
        margin: 1.5rem 0;
    }
    
    .featured-content::before {
        border-radius: 17px;
    }
    
    .info-list li {
        padding: 1rem;
        border-radius: 10px;
    }
    
    .step-indicator {
        flex-direction: column;
        gap: 0.5rem;
        padding: 1.5rem;
        border-radius: 12px;
    }
    
    .step {
        width: 45px;
        height: 45px;
        font-size: 1.1rem;
    }
}

/* 游戏文章卡片样式 */
.game-article-card {
    background: rgba(26, 35, 50, 0.8);
    border: 1px solid rgba(0, 217, 255, 0.3);
    border-radius: 12px;
    overflow: hidden;
    transition: all 0.4s cubic-bezier(0.4, 0, 0.2, 1);
    height: 100%;
    display: flex;
    flex-direction: column;
    backdrop-filter: blur(10px);
    position: relative;
    width: 100%;
    max-width: 100%;
    box-sizing: border-box;
}

.game-article-card::before {
    content: '';
    position: absolute;
    top: 0;
    left: -100%;
    width: 100%;
    height: 100%;
    background: rgba(0, 217, 255, 0.1);
    transition: left 0.6s ease;
    z-index: 1;
}

.game-article-card:hover::before {
    left: 100%;
}

.game-article-card:hover {
    transform: translateY(-8px);
    border-color: rgba(0, 217, 255, 0.5);
    box-shadow: 0 15px 40px rgba(0, 217, 255, 0.3);
}

.article-link {
    text-decoration: none;
    color: inherit;
    display: flex;
    flex-direction: column;
    height: 100%;
    position: relative;
    z-index: 2;
}

.article-image-wrapper {
    position: relative;
    width: 100%;
    padding-top: 56.25%;
    overflow: hidden;
    background: rgba(0, 217, 255, 0.1);
}

.article-image {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-article-card:hover .article-image {
    transform: scale(1.1);
}

.article-overlay {
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 217, 255, 0.1) 100%);
    transition: background 0.3s ease;
}

.game-article-card:hover .article-overlay {
    background: linear-gradient(to bottom, transparent 0%, rgba(0, 217, 255, 0.2) 100%);
}

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

.article-time {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    margin-bottom: 0.5rem;
    font-size: 0.8rem;
    color: rgba(255, 255, 255, 0.7);
}

.time-icon {
    font-size: 0.9rem;
}

.article-time time {
    color: rgba(255, 255, 255, 0.7);
}

.article-title {
    color: #00d9ff;
    font-size: 1rem;
    font-weight: 600;
    margin-bottom: 0.5rem;
    line-height: 1.3;
    transition: color 0.3s ease;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.game-article-card:hover .article-title {
    color: #00bcd4;
}

.article-description {
    color: rgba(255, 255, 255, 0.85);
    font-size: 0.85rem;
    line-height: 1.5;
    margin-bottom: 0;
    flex: 1;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 游戏文章卡片响应式设计 */
@media (max-width: 768px) {
    .game-article-card {
        margin-bottom: 1.5rem;
    }
    
    .article-content {
        padding: 0.875rem 1rem;
    }
    
    .article-title {
        font-size: 0.95rem;
        -webkit-line-clamp: 2;
    }
    
    .article-description {
        font-size: 0.8rem;
        -webkit-line-clamp: 2;
    }
    
    .article-image-wrapper {
        padding-top: 56.25%;
    }
}

/* 确保游戏文章区域正确布局 */
#game-articles {
    display: flex;
    flex-wrap: wrap;
}

#game-articles .col-12,
#game-articles .col-md-6,
#game-articles .col-lg-4 {
    display: flex;
}
