/* Game Detail Page Styles */

.game-detail {
    padding: 2rem 0;
    min-height: calc(100vh - 400px);
}

.breadcrumb {
    padding: 1rem 0;
    color: var(--text-secondary);
    font-size: 0.95rem;
}

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

.breadcrumb a:hover {
    color: var(--primary-dark);
    text-decoration: underline;
}

.game-detail-wrapper {
    background: var(--surface);
    border-radius: 20px;
    overflow: hidden;
    border: 1px solid var(--border-color);
}

/* Game Header */
.game-header {
    background: var(--gradient-1);
    padding: 3rem 2rem;
    position: relative;
}

.game-header::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background: rgba(0, 0, 0, 0.2);
}

.game-header-content {
    position: relative;
    z-index: 1;
    display: flex;
    gap: 2rem;
    align-items: center;
    flex-wrap: wrap;
}

.game-logo {
    flex-shrink: 0;
}

.game-logo img {
    width: 150px;
    height: 150px;
    object-fit: cover;
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    border: 3px solid rgba(255, 255, 255, 0.2);
}

.game-header-text {
    flex: 1;
    min-width: 300px;
}

.game-detail-title {
    font-size: 3rem;
    margin-bottom: 1rem;
    font-weight: 800;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.3);
}

.game-category {
    margin-bottom: 1rem;
}

.category-badge {
    display: inline-block;
    background: rgba(255, 255, 255, 0.2);
    backdrop-filter: blur(10px);
    padding: 0.5rem 1.25rem;
    border-radius: 20px;
    font-weight: 600;
    font-size: 0.95rem;
    border: 1px solid rgba(255, 255, 255, 0.3);
}

.game-short-desc {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    line-height: 1.6;
    color: rgba(255, 255, 255, 0.95);
}

.play-game-btn {
    display: inline-block;
    background: var(--background);
    color: var(--text-primary);
    padding: 1rem 2.5rem;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 700;
    font-size: 1.1rem;
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.4);
    border: 2px solid transparent;
}

.play-game-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 15px 40px rgba(0, 0, 0, 0.5);
    border-color: var(--secondary-color);
}

.play-game-btn.large {
    padding: 1.25rem 3rem;
    font-size: 1.3rem;
}

/* Game Description */
.game-description {
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.game-description h2 {
    font-size: 2rem;
    margin-bottom: 1.5rem;
    color: var(--text-primary);
}

.description-content {
    font-size: 1.1rem;
    line-height: 1.8;
    color: var(--text-secondary);
    max-width: 900px;
}

/* Screenshots */
.game-screenshots {
    padding: 3rem 2rem;
    border-bottom: 1px solid var(--border-color);
}

.game-screenshots h2 {
    font-size: 2rem;
    margin-bottom: 2rem;
    color: var(--text-primary);
}

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

.screenshot-item {
    border-radius: 15px;
    overflow: hidden;
    box-shadow: 0 5px 20px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    border: 1px solid var(--border-color);
}

.screenshot-item:hover {
    transform: scale(1.05);
    box-shadow: 0 10px 40px rgba(108, 92, 231, 0.4);
}

.screenshot-item img {
    width: 100%;
    height: auto;
    display: block;
}

/* Call to Action */
.game-cta {
    padding: 3rem 2rem;
}

.cta-box {
    text-align: center;
    padding: 3rem;
    background: var(--gradient-2);
    border-radius: 20px;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.3);
}

.cta-box h2 {
    font-size: 2.5rem;
    margin-bottom: 1rem;
}

.cta-box p {
    font-size: 1.2rem;
    margin-bottom: 2rem;
    color: rgba(255, 255, 255, 0.95);
}

/* Responsive Design */
@media (max-width: 768px) {
    .game-header-content {
        flex-direction: column;
        text-align: center;
    }
    
    .game-detail-title {
        font-size: 2rem;
    }
    
    .game-short-desc {
        font-size: 1rem;
    }
    
    .screenshots-grid {
        grid-template-columns: 1fr;
    }
    
    .cta-box {
        padding: 2rem 1rem;
    }
    
    .cta-box h2 {
        font-size: 1.8rem;
    }
}
