.hero {
    background: #1a9eb3;
} 

.feature-cards {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(380px, 1fr));
    gap: 2rem;
    padding: 2rem;
    max-width: 1200px;
    margin: 0 auto;
}

.card {
    background: white;
    padding: 2rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
}

.card:hover {
    transform: translateY(-5px);
}

.card-icon {
    font-size: 2.5rem;
    color: #376ecb;
    margin-bottom: 1rem;
}

.card h3 {
    margin: 0.5rem 0;
    color: #2c3e50;
}

.card p {
    color: #666;
    margin-bottom: 1.5rem;
}

.game-card {
    background: white;
    padding: 1.5rem;
    border-radius: 12px;
    box-shadow: 0 4px 16px rgba(0,0,0,0.1);
    text-align: center;
    transition: transform 0.3s;
    display: flex;
    flex-direction: column;
    gap: 1rem;
}

.game-card-header {
    display: flex;
    gap: 2rem;
    align-items: center;
}
.game-card-header .game-header-text {
    flex: 1;  
}

/* .game-card-header .game-details {
    flex: 1;  
} */
.game-card-header .game-image {
    flex: 1;  /* Take up half the space */
    max-width: 50%;
}
/* .game-image {
    margin-bottom: 1rem;
   
} */

.game-image img {
    width: 100%;
    max-width: 600px;
    height: auto;
    border-radius: 8px;
}

.game-description {
    color: #666;
    margin-bottom: 1rem;
}

.additional-games-section .game-details {
    display: grid;
    grid-template-columns: repeat(2, 1fr);
    gap: 1.2rem;
    margin: 1rem 0;
}

.main-game-section .game-details {
    /* display: grid;
    grid-template-columns:repeat(4, 1fr); */

    display: flex;
    flex-direction: row;
    align-items: center;
    gap: 1.5rem;
    margin: 1rem auto;
}

.detail-item {
    display: flex;
    align-items: center;
    gap: 0.5rem;
    color: #2c3e50;
}

.detail-item i {
    color: #376ecb;
}

.game-actions {
    display: flex;
    gap: 1rem;
    justify-content: center;
    margin-top: auto;
}

.game-actions .cta-button {
    min-width: 120px;
}

@media (max-width: 768px) {
    .feature-cards {
        grid-template-columns: 1fr;
        padding: 1rem;
    }
    
    .game-details {
        grid-template-columns: 1fr;
        gap: 0.75rem;
    }

    .additional-games-section .game-details,  .main-game-section .game-details{
        display: grid;
        grid-template-columns: 1fr;
        gap: 0.75rem;
        margin-right: 0;
    }
    

    .game-actions {
        flex-direction: column;
        gap: 0.75rem;
    }
    
    .game-actions .cta-button {
        width: 100%;
    }

    .game-card-header {
        flex-direction: column;
        gap: 1rem;
    }

    .game-card-header .game-image {
        max-width: 100%;
    }
}