/* 详情页样式 */

/* 英雄区域 */
.game-detail-hero {
    position: relative;
    height: 500px;
    overflow: hidden;
    margin-bottom: 50px;
    border-radius: 0 0 30px 30px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.2);
}

.hero-background {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: blur(5px) brightness(0.6);
    transform: scale(1.05);
}

.hero-overlay {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(90deg, rgba(0, 0, 0, 0.8) 0%, rgba(0, 0, 0, 0.4) 60%, rgba(0, 0, 0, 0.8) 100%);
}

.hero-content {
    position: relative;
    height: 100%;
    display: flex;
    align-items: center;
    justify-content: space-between;
    z-index: 2;
    color: white;
}

.hero-text {
    flex: 1;
    max-width: 600px;
    padding-right: 30px;
}

.hero-title {
    font-size: 3rem;
    font-weight: 800;
    margin-bottom: 20px;
    font-family: 'Orbitron', sans-serif;
    text-shadow: 0 2px 10px rgba(0, 0, 0, 0.5);
    line-height: 1.2;
}

.hero-meta {
    margin-bottom: 25px;
}

.meta-item {
    display: flex;
    margin-bottom: 10px;
}

.meta-label {
    font-weight: 600;
    margin-right: 10px;
    color: #ff9a9e;
}

.meta-value {
    font-weight: 500;
}

.rating {
    display: flex;
    align-items: center;
    gap: 3px;
}

.rating-star {
    color: rgba(255, 255, 255, 0.3);
}

.rating-star.filled {
    color: #ffc107;
}

.rating-text {
    margin-left: 10px;
    font-weight: 600;
}

.hero-description {
    font-size: 1.1rem;
    line-height: 1.6;
    margin-bottom: 30px;
    opacity: 0.9;
}

.hero-actions {
    display: flex;
    gap: 15px;
}

.btn {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 15px 30px;
    border-radius: 50px;
    font-weight: 600;
    font-size: 1rem;
    text-decoration: none;
    border: none;
    cursor: pointer;
    transition: all 0.3s ease;
    font-family: 'Poppins', sans-serif;
}

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

.btn:active {
    transform: translateY(-1px) scale(0.98);
}

.btn-primary {
    background: linear-gradient(135deg, #ff9a9e 0%, #fad0c4 100%);
    color: #6a5acd;
    box-shadow: 0 5px 15px rgba(255, 154, 158, 0.4);
}

.btn-primary:hover {
    background: linear-gradient(135deg, #ff6b6b 0%, #ff9a9e 100%);
    box-shadow: 0 8px 25px rgba(255, 107, 107, 0.6);
}

.btn-secondary {
    background: rgba(255, 255, 255, 0.1);
    color: white;
    border: 2px solid rgba(255, 255, 255, 0.3);
    backdrop-filter: blur(10px);
}

.btn-secondary:hover {
    background: rgba(255, 255, 255, 0.2);
    border-color: rgba(255, 255, 255, 0.5);
}

.btn-lg {
    padding: 15px 35px;
    font-size: 1.1rem;
}

.hero-image {
    flex: 1;
    max-width: 350px;
    display: flex;
    justify-content: flex-end;
}

.hero-image img {
    width: 100%;
    border-radius: 20px;
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border: 5px solid rgba(255, 255, 255, 0.1);
    transform: rotate(5deg);
    transition: transform 0.5s ease;
}

.hero-image img:hover {
    transform: rotate(0deg) scale(1.05);
}

/* 内容区域 */
.game-detail-content {
    margin-bottom: 50px;
}

.content-grid {
    display: grid;
    grid-template-columns: 2fr 1fr;
    gap: 40px;
}

.content-main {
    display: flex;
    flex-direction: column;
    gap: 40px;
}

.game-section {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 30px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.game-section:hover {
    transform: translateY(-5px);
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
}

.section-title {
    font-size: 1.8rem;
    margin-bottom: 20px;
    padding-bottom: 15px;
    border-bottom: 3px solid #ff9a9e;
    color: #6a5acd;
    font-family: 'Orbitron', sans-serif;
}

.section-content p {
    line-height: 1.8;
    color: #333;
    font-size: 1.1rem;
}

/* 侧边栏 */
.content-sidebar {
    display: flex;
    flex-direction: column;
    gap: 30px;
}

.sidebar-widget {
    background: rgba(255, 255, 255, 0.9);
    border-radius: 20px;
    padding: 25px;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.05);
    backdrop-filter: blur(10px);
    border: 1px solid rgba(255, 255, 255, 0.5);
}

.widget-title {
    font-size: 1.5rem;
    margin-bottom: 20px;
    padding-bottom: 10px;
    border-bottom: 2px solid #ff9a9e;
    color: #6a5acd;
    font-family: 'Orbitron', sans-serif;
}

.info-list {
    list-style: none;
}

.info-list li {
    display: flex;
    justify-content: space-between;
    padding: 12px 0;
    border-bottom: 1px solid rgba(0, 0, 0, 0.05);
}

.info-list li:last-child {
    border-bottom: none;
}

.info-label {
    font-weight: 600;
    color: #666;
}

.info-value {
    color: #6a5acd;
    font-weight: 500;
}

/* 推荐游戏 */
.recommended-games {
    display: flex;
    flex-direction: column;
    gap: 20px;
}

.recommended-game {
    display: flex;
    gap: 15px;
    padding: 15px;
    border-radius: 15px;
    background: rgba(106, 92, 205, 0.05);
    transition: all 0.3s ease;
}

.recommended-game:hover {
    background: rgba(106, 92, 205, 0.1);
    transform: translateX(5px);
}

.recommended-game-image {
    width: 80px;
    height: 80px;
    border-radius: 10px;
    object-fit: cover;
    box-shadow: 0 3px 10px rgba(0, 0, 0, 0.1);
}

.recommended-game-info {
    flex: 1;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
}

.recommended-game-title {
    font-size: 1.1rem;
    margin-bottom: 8px;
    color: #333;
    font-weight: 600;
}

.recommended-game-meta {
    display: flex;
    justify-content: space-between;
    margin-bottom: 10px;
    align-items: center;
}

.recommended-game-category {
    background: rgba(255, 154, 158, 0.2);
    color: #6a5acd;
    padding: 3px 10px;
    border-radius: 15px;
    font-size: 0.8rem;
    font-weight: 500;
}

.recommended-game-rating {
    display: flex;
    align-items: center;
    gap: 3px;
    font-size: 0.8rem;
}

.recommended-game-rating .filled {
    color: #ffc107;
}

.recommended-game-rating .far.fa-star {
    color: #ddd;
}

.rating-number {
    margin-left: 5px;
    font-weight: 600;
}

.btn-small {
    padding: 8px 15px;
    font-size: 0.9rem;
    border-radius: 20px;
    width: fit-content;
    align-self: flex-end;
}

.no-recommendations {
    text-align: center;
    color: #666;
    font-style: italic;
    padding: 20px;
}

/* 响应式设计 */
@media (max-width: 992px) {
    .game-detail-hero {
        height: auto;
        padding: 50px 0;
    }
    
    .hero-content {
        flex-direction: column;
        text-align: center;
        gap: 30px;
    }
    
    .hero-text {
        padding-right: 0;
        max-width: 100%;
    }
    
    .hero-meta {
        display: flex;
        flex-wrap: wrap;
        justify-content: center;
        gap: 20px;
    }
    
    .hero-actions {
        justify-content: center;
    }
    
    .hero-image {
        max-width: 100%;
        justify-content: center;
    }
    
    .content-grid {
        grid-template-columns: 1fr;
    }
    
    .recommended-game-meta {
        flex-direction: column;
        align-items: flex-start;
        gap: 5px;
    }
}

@media (max-width: 768px) {
    .hero-title {
        font-size: 2.5rem;
    }
    
    .btn {
        padding: 12px 25px;
    }
    
    .btn-lg {
        padding: 12px 25px;
    }
    
    .game-section,
    .sidebar-widget {
        padding: 20px;
    }
    
    .section-title,
    .widget-title {
        font-size: 1.5rem;
    }
}

@media (max-width: 576px) {
    .game-detail-hero {
        border-radius: 0 0 20px 20px;
    }
    
    .hero-title {
        font-size: 2rem;
    }
    
    .hero-meta {
        flex-direction: column;
        gap: 10px;
    }
    
    .hero-actions {
        flex-direction: column;
    }
    
    .btn {
        width: 100%;
    }
    
    .recommended-game {
        flex-direction: column;
        text-align: center;
    }
    
    .recommended-game-info {
        align-items: center;
    }
    
    .recommended-game-meta {
        align-items: center;
    }
    
    .btn-small {
        align-self: center;
    }
}