/* 详情页样式扩展 */

/* 详情页主容器 */
.detail-main {
    max-width: 1200px;
    margin: 0 auto;
    padding: 2rem;
    min-height: calc(100vh - 200px);
}

.detail-container {
    animation: fadeInUp 0.6s ease;
}

/* 返回按钮 */
.back-button {
    display: inline-flex;
    align-items: center;
    gap: 0.5rem;
    padding: 0.8rem 1.5rem;
    background: rgba(0, 245, 255, 0.1);
    border: 1px solid rgba(0, 245, 255, 0.3);
    border-radius: 10px;
    color: var(--primary-color);
    font-size: 1rem;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 2rem;
    backdrop-filter: blur(10px);
}

.back-button:hover {
    background: rgba(0, 245, 255, 0.2);
    border-color: var(--primary-color);
    transform: translateX(-5px);
    box-shadow: 0 0 20px rgba(0, 245, 255, 0.3);
}

.back-icon {
    font-size: 1.2rem;
    transition: transform 0.3s ease;
}

.back-button:hover .back-icon {
    transform: translateX(-3px);
}

/* 游戏详情区域 */
.game-detail-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(0, 245, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
    margin-bottom: 3rem;
}

.game-header {
    display: grid;
    grid-template-columns: 1fr 1.5fr;
    gap: 2.5rem;
    align-items: start;
}

.game-thumbnail {
    position: relative;
    border-radius: 16px;
    overflow: hidden;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.5);
}

.detail-game-thumb {
    width: 100%;
    height: auto;
    display: block;
    transition: transform 0.4s ease;
}

.game-thumbnail:hover .detail-game-thumb {
    transform: scale(1.05);
}

.game-header-info {
    display: flex;
    flex-direction: column;
    gap: 1.5rem;
}

.detail-game-title {
    font-size: 2.5rem;
    font-weight: 800;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
    line-height: 1.2;
}

.detail-game-description {
    font-size: 1.1rem;
    color: var(--text-secondary);
    line-height: 1.8;
}

/* Play按钮 */
.play-button {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 0.8rem;
    padding: 1rem 2.5rem;
    background: var(--gradient-1);
    border: none;
    border-radius: 12px;
    color: #000;
    font-size: 1.2rem;
    font-weight: 700;
    cursor: pointer;
    text-decoration: none;
    transition: all 0.3s ease;
    box-shadow: 0 8px 25px rgba(0, 245, 255, 0.4);
    align-self: flex-start;
}

.play-button:hover {
    transform: translateY(-3px) scale(1.02);
    box-shadow: 0 12px 35px rgba(0, 245, 255, 0.6);
}

.play-icon {
    font-size: 1.4rem;
}

/* 相关游戏区域 */
.related-games-section {
    background: var(--bg-card);
    border-radius: 20px;
    padding: 2.5rem;
    border: 1px solid rgba(255, 0, 255, 0.1);
    backdrop-filter: blur(10px);
    box-shadow: var(--shadow-card);
}

.related-title {
    font-size: 2rem;
    font-weight: 800;
    margin-bottom: 2rem;
    display: flex;
    align-items: center;
    gap: 0.8rem;
    background: var(--gradient-2);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.related-icon {
    font-size: 2.2rem;
    animation: bounce 2s ease-in-out infinite;
}

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

.related-games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
    gap: 1.5rem;
}

/* 相关游戏卡片 */
.related-game-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    transition: all 0.3s ease;
    border: 1px solid rgba(255, 0, 255, 0.1);
}

.related-game-card:hover {
    transform: translateY(-5px);
    border-color: var(--secondary-color);
    box-shadow: 0 10px 30px rgba(255, 0, 255, 0.3);
}

.related-game-thumb {
    width: 100%;
    height: 140px;
    object-fit: cover;
    display: block;
}

.related-game-info {
    padding: 1rem;
}

.related-game-title {
    font-size: 1rem;
    font-weight: 600;
    color: var(--text-primary);
    margin: 0;
    line-height: 1.4;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

/* 响应式设计 */
@media (max-width: 768px) {
    .detail-main {
        padding: 1.5rem;
    }

    .game-header {
        grid-template-columns: 1fr;
        gap: 1.5rem;
    }

    .detail-game-title {
        font-size: 2rem;
    }

    .detail-game-description {
        font-size: 1rem;
    }

    .play-button {
        width: 100%;
        justify-content: center;
    }

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

    .related-game-thumb {
        height: 100px;
    }
}

@media (max-width: 480px) {
    .detail-main {
        padding: 1rem;
    }

    .game-detail-section,
    .related-games-section {
        padding: 1.5rem;
        border-radius: 16px;
    }

    .detail-game-title {
        font-size: 1.6rem;
    }

    .related-title {
        font-size: 1.5rem;
    }

    .back-button {
        padding: 0.6rem 1.2rem;
        font-size: 0.9rem;
    }
}

/* 加载动画 */
@keyframes fadeInUp {
    from {
        opacity: 0;
        transform: translateY(30px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* 页面标题样式 */
.page-title {
    font-size: 2.5rem;
    font-weight: 800;
    text-align: center;
    margin-bottom: 3rem;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1rem;
    background: var(--gradient-1);
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.page-title-icon {
    font-size: 2.8rem;
    animation: pulse 2s ease-in-out infinite;
}

/* 内容区块 */
.content-section {
    background: var(--bg-card);
    border-radius: 16px;
    padding: 2rem;
    margin-bottom: 2rem;
    border: 1px solid rgba(0, 245, 255, 0.1);
    backdrop-filter: blur(10px);
}

.section-heading {
    font-size: 1.8rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: var(--primary-color);
}

.content-text {
    font-size: 1.05rem;
    color: var(--text-secondary);
    line-height: 1.8;
    margin-bottom: 1rem;
}

/* 特性网格 */
.features-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(250px, 1fr));
    gap: 1.5rem;
    margin-top: 1.5rem;
}

.feature-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 1.5rem;
    border: 1px solid rgba(0, 245, 255, 0.1);
    transition: all 0.3s ease;
}

.feature-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.feature-icon {
    font-size: 2.5rem;
    display: block;
    margin-bottom: 1rem;
}

.feature-title {
    font-size: 1.3rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.feature-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    line-height: 1.6;
}

/* 联系信息网格 */
.contact-info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 1.5rem;
    margin: 2rem 0;
}

.contact-card {
    background: rgba(0, 0, 0, 0.3);
    border-radius: 12px;
    padding: 2rem;
    border: 1px solid rgba(0, 245, 255, 0.1);
    text-align: center;
    transition: all 0.3s ease;
}

.contact-card:hover {
    transform: translateY(-5px);
    border-color: var(--primary-color);
    box-shadow: 0 10px 30px rgba(0, 245, 255, 0.2);
}

.contact-icon {
    font-size: 3rem;
    display: block;
    margin-bottom: 1rem;
}

.contact-title {
    font-size: 1.4rem;
    font-weight: 700;
    color: var(--text-primary);
    margin-bottom: 0.5rem;
}

.contact-description {
    font-size: 0.95rem;
    color: var(--text-secondary);
    margin-bottom: 1rem;
}

.contact-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    font-size: 1rem;
    transition: all 0.3s ease;
}

.contact-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 检查列表 */
.check-list {
    list-style: none;
    padding: 0;
    margin: 1rem 0;
}

.check-list li {
    padding: 0.8rem 0;
    color: var(--text-secondary);
    line-height: 1.6;
    font-size: 1rem;
}

/* 内联链接 */
.inline-link {
    color: var(--primary-color);
    text-decoration: none;
    font-weight: 600;
    transition: all 0.3s ease;
}

.inline-link:hover {
    color: var(--secondary-color);
    text-decoration: underline;
}

/* 响应式设计扩展 */
@media (max-width: 768px) {
    .page-title {
        font-size: 2rem;
        flex-direction: column;
        gap: 0.5rem;
    }

    .page-title-icon {
        font-size: 2.2rem;
    }

    .section-heading {
        font-size: 1.5rem;
    }

    .content-section {
        padding: 1.5rem;
    }

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

    .contact-info-grid {
        grid-template-columns: 1fr;
    }
}

@media (max-width: 480px) {
    .page-title {
        font-size: 1.6rem;
    }

    .section-heading {
        font-size: 1.3rem;
    }

    .content-text {
        font-size: 0.95rem;
    }

    .contact-card {
        padding: 1.5rem;
    }
}