/* Game Cards Styling - Based on Team Sermath Design */
.games-section {
    background-color: #0a0a14;
    position: relative;
    overflow: hidden;
    padding: 80px 0;
    color: var(--text-color);
    border-top: 1px solid rgba(255, 123, 0, 0.2);
}

/* Space-themed background for Games section */
.games-section::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    right: 0;
    bottom: 0;
    background-image: 
        radial-gradient(circle at 90% 20%, rgba(255, 123, 0, 0.03) 0%, transparent 20%),
        radial-gradient(circle at 10% 80%, rgba(255, 123, 0, 0.03) 0%, transparent 20%),
        url('data:image/svg+xml;utf8,<svg xmlns="http://www.w3.org/2000/svg" width="100" height="100" viewBox="0 0 100 100"><circle cx="50" cy="50" r="1" fill="rgba(255,255,255,0.1)"/></svg>');
    background-size: 100% 100%, 100% 100%, 200px 200px;
    opacity: 1;
    z-index: 0;
    pointer-events: none;
}

/* Games container */
.games-container {
    display: flex;
    flex-direction: column;
    gap: 30px;
    margin-top: 30px;
    position: relative;
    z-index: 1;
}

/* Game card styling */
.game-card {
    display: flex;
    background-color: rgba(30, 30, 40, 0.5);
    border-radius: 10px;
    overflow: hidden;
    border: 1px solid rgba(255, 255, 255, 0.05);
    transition: all 0.3s ease;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(5px);
}

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

.game-card .game-img {
    width: 300px;
    flex-shrink: 0;
    position: relative;
    overflow: hidden;
}

.game-card .game-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.5s ease;
}

.game-card:hover .game-img img {
    transform: scale(1.05);
}

.game-card .game-info {
    padding: 25px;
    flex-grow: 1;
    display: flex;
    flex-direction: column;
}

.game-card .game-info h3 {
    font-size: 1.5rem;
    color: var(--primary-color);
    margin-bottom: 10px;
}

.game-card .game-meta {
    display: flex;
    gap: 20px;
    margin-bottom: 15px;
}

.game-card .game-platform, 
.game-card .game-tech {
    font-size: 0.85rem;
    color: var(--text-muted);
    display: flex;
    align-items: center;
}

.game-card .game-platform::before {
    content: '\f390'; /* Computer symbol */
    font-family: 'Font Awesome 5 Free';
    margin-right: 5px;
    color: var(--primary-color);
}

.game-card .game-tech::before {
    content: '\f121'; /* Code symbol */
    font-family: 'Font Awesome 5 Free';
    font-weight: 900;
    margin-right: 5px;
    color: var(--primary-color);
}

.game-card .game-info p {
    margin-bottom: 20px;
    flex-grow: 1;
    color: var(--text-muted);
    line-height: 1.6;
}

.game-card .game-links {
    display: flex;
    gap: 10px;
    margin-top: auto;
}

.game-card .game-links a.btn {
    transition: all 0.3s ease;
}

.game-card .game-links a.btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 4px 8px rgba(0, 0, 0, 0.2);
}

.game-card .tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
    margin-top: 15px;
}

.game-card .tag {
    font-size: 0.75rem;
    background-color: rgba(255, 123, 0, 0.1);
    color: var(--text-muted);
    padding: 3px 10px;
    border-radius: 15px;
    display: inline-flex;
    align-items: center;
    border: 1px solid rgba(255, 123, 0, 0.2);
}

.games-section h2 {
    color: var(--text-color);
    text-align: center;
    margin-bottom: 40px;
    position: relative;
    z-index: 1;
}

.games-section h2::after {
    content: '';
    display: block;
    width: 60px;
    height: 3px;
    background-color: var(--primary-color);
    margin: 15px auto 0;
    box-shadow: 0 0 10px var(--primary-color);
}

/* Responsive styles */
@media (max-width: 768px) {
    .games-container {
        gap: 20px;
    }
    
    .game-card {
        flex-direction: column;
    }
    
    .game-card .game-img {
        width: 100%;
        height: 200px;
    }
}
