/* Detail Page Styles */
* { margin: 0; padding: 0; }
body { 
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, sans-serif; 
    background: #f8f9fa; 
    min-height: 100vh;
    overflow-x: hidden;
}


/* Game Header */
.game-header {
    background: white;
    padding: 30px 20px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-align: center;
}

.game-cover {
    width: 140px;
    height: 140px;
    border-radius: 12px;
    margin: 0 auto 20px;
    box-shadow: 0 8px 24px rgba(0,0,0,0.15);
    object-fit: cover;
}

.game-title {
    font-size: 28px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 10px;
}

.game-category {
    font-size: 16px;
    color: #5f6368;
    margin-bottom: 25px;
    font-weight: 500;
}

.play-button {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 15px 40px;
    border-radius: 25px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s ease;
    margin-bottom: 20px;
    box-shadow: 0 6px 20px rgba(102, 126, 234, 0.3);
    display: inline-block;
}

.play-button:hover {
    transform: translateY(-2px);
    box-shadow: 0 8px 25px rgba(102, 126, 234, 0.4);
}

.game-info {
    display: flex;
    justify-content: center;
    gap: 25px;
    flex-wrap: wrap;
}

.info-item {
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 100%);
    padding: 12px 20px;
    border-radius: 25px;
    font-size: 14px;
    color: #5f6368;
    border: 1px solid #dee2e6;
    font-weight: 500;
}

/* Game Description */
.game-description {
    background: white;
    padding: 30px;
    margin: 20px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.description-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 20px;
    text-align: center;
}

.description-text {
    font-size: 16px;
    line-height: 1.7;
    color: #5f6368;
    text-align: center;
    max-width: 800px;
    margin: 0 auto;
}

/* Related Games */
.related-games {
    background: white;
    padding: 30px;
    margin: 20px 0 40px 0;
    border-radius: 12px;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
}

.related-title {
    font-size: 22px;
    font-weight: 700;
    color: #1a1a1a;
    margin-bottom: 25px;
    text-align: center;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
    gap: 20px;
}

.game-card {
    background: white;
    border-radius: 12px;
    overflow: hidden;
    box-shadow: 0 4px 12px rgba(0,0,0,0.08);
    text-decoration: none;
    color: inherit;
    transition: all 0.3s ease;
    border: 1px solid #f0f0f0;
}

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

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

.game-card-content {
    padding: 20px;
}

.game-card-title {
    font-size: 16px;
    font-weight: 600;
    color: #1a1a1a;
    margin-bottom: 8px;
}

.game-card-category {
    font-size: 14px;
    color: #5f6368;
    margin-bottom: 15px;
}

.game-card .play-btn {
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    border: none;
    padding: 10px 20px;
    border-radius: 20px;
    font-size: 14px;
    font-weight: 500;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s ease;
    display: inline-block;
}

.game-card .play-btn:hover {
    transform: translateY(-1px);
    box-shadow: 0 4px 15px rgba(102, 126, 234, 0.3);
}



/* Responsive Design */
@media (max-width: 768px) {
    
    .game-header, .game-description, .related-games {
        padding: 20px;
        margin: 15px 0;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .game-cover {
        width: 120px;
        height: 120px;
    }
    
    .game-title {
        font-size: 24px;
    }
    
    .description-title, .related-title {
        font-size: 20px;
    }
    
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-info {
        gap: 15px;
    }
    
    .info-item {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .game-header, .game-description, .related-games {
        padding: 15px;
    }
    
    
}



/* Responsive Design */
@media (max-width: 768px) {
    
    .game-header, .game-description, .related-games {
        padding: 20px;
        margin: 15px 0;
    }
    
    .games-grid {
        grid-template-columns: repeat(auto-fill, minmax(200px, 1fr));
        gap: 15px;
    }
    
    .game-cover {
        width: 120px;
        height: 120px;
    }
    
    .game-title {
        font-size: 24px;
    }
    
    .description-title, .related-title {
        font-size: 20px;
    }
    
    
}

@media (max-width: 480px) {
    .games-grid {
        grid-template-columns: repeat(2, 1fr);
    }
    
    .game-info {
        gap: 15px;
    }
    
    .info-item {
        padding: 10px 16px;
        font-size: 12px;
    }
    
    .game-header, .game-description, .related-games {
        padding: 15px;
    }
    
}
