/* styles/game-projects.css */
.game-projects {
    position: relative;
    min-height: 100vh;
    padding: 6rem 2rem;
    background-color: var(--jet-black);
    overflow: hidden;
}

.games-container {
    max-width: 1400px;
    margin: 0 auto;
    position: relative;
    z-index: 1;
}

.games-grid {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 2rem;
    padding: 1rem 0;
}

.game-card {
    background: rgba(26, 26, 26, 0.8);
    border-radius: 12px;
    overflow: hidden;
    border: 1px solid rgba(57, 255, 20, 0.1);
    transition: transform 0.3s ease;
}

.game-card:hover {
    transform: translateY(-5px);
    border-color: var(--neon-green);
    box-shadow: 0 5px 15px rgba(57, 255, 20, 0.1);
}

.game-image {
    position: relative;
    width: 100%;
    height: 300px;
    overflow: hidden;
}

.game-image img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-image img {
    transform: scale(1.05);
}

.game-overlay {
    position: absolute;
    inset: 0;
    background: rgba(10, 10, 10, 0.85);
    display: flex;
    justify-content: center;
    align-items: center;
    opacity: 0;
    transition: opacity 0.3s ease;
}

.game-card:hover .game-overlay {
    opacity: 1;
}

.play-btn {
    display: inline-flex;
    align-items: center;
    gap: 1rem;
    padding: 1rem 2rem;
    background: transparent;
    border: 1px solid var(--neon-green);
    color: var(--neon-green);
    text-decoration: none;
    font-size: 1rem;
    letter-spacing: 1px;
    border-radius: 4px;
    transition: all 0.3s ease;
}

.play-btn:hover {
    background: var(--neon-green);
    color: var(--jet-black);
    transform: scale(1.05);
}

.btn-icon {
    font-size: 1.2rem;
}

.game-info {
    padding: 2rem;
}

.game-info h3 {
    color: var(--light-gray);
    font-size: 1.5rem;
    margin-bottom: 1rem;
}

.game-description {
    color: var(--light-gray);
    opacity: 0.8;
    font-size: 1rem;
    line-height: 1.6;
    margin-bottom: 1.5rem;
}

.game-details {
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.tech-tags {
    display: flex;
    gap: 0.8rem;
    flex-wrap: wrap;
}

.tech-tags span {
    padding: 0.4rem 1rem;
    background: rgba(57, 255, 20, 0.05);
    border: 1px solid rgba(57, 255, 20, 0.1);
    color: var(--neon-green);
    border-radius: 4px;
    font-size: 0.9rem;
    transition: all 0.3s ease;
}

.tech-tags span:hover {
    background: rgba(57, 255, 20, 0.1);
    transform: translateY(-2px);
}

@media (max-width: 1200px) {
    .games-grid {
        gap: 1.5rem;
    }
}

@media (max-width: 768px) {
    .game-projects {
        padding: 4rem 1rem;
    }
    
    .games-grid {
        grid-template-columns: 1fr;
    }
    
    .game-image {
        height: 250px;
    }
}