.game-intro {
    text-align: center;
    margin-bottom: 0px;
}

.game-intro h2 {
    font-family: 'Oswald', sans-serif;
    font-size: 32px;
    color: var(--off-white);
    margin-bottom: 10px;
}

.game-intro p {
    font-size: 16px;
    line-height: 1.6;
    max-width: 800px;
    margin: 0 auto;
    color: var(--light-gray);
}

.games-container {
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 30px;
    margin-top: 30px;
}

.game-image {
    height: 180px;
    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-info {
    padding: 20px;
    text-align: center;
}

.game-info h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 24px;
    margin: 0 0 10px;
    color: var(--off-white);
}

.game-info p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--light-gray);
    margin-bottom: 20px;
}

.game-icon {
    font-size: 24px;
    margin-bottom: 5px;
}

.game-icon img {
    width: 36px; /* Adjust size as needed */
    height: 36px;
    display: inline-block;
}

/* Animation keyframes */
@keyframes fadeIn {
    from { opacity: 0; transform: translateY(20px); }
    to { opacity: 1; transform: translateY(0); }
}

.game-card {
    animation: fadeIn 0.6s ease-out forwards;
    opacity: 0;
}

.game-card:nth-child(1) { animation-delay: 0.1s; }
.game-card:nth-child(2) { animation-delay: 0.2s; }
.game-card:nth-child(3) { animation-delay: 0.3s; }
.game-card:nth-child(4) { animation-delay: 0.4s; }
.game-card:nth-child(5) { animation-delay: 0.5s; }
.game-card:nth-child(6) { animation-delay: 0.5s; }

.feature-section {
    padding: 30px 0;
    background-color: rgba(255, 255, 255, 0.03);
    border-radius: 15px;
    margin-top: 30px;
    box-shadow: 0 -4px 6px rgba(0,0,0,0.1);
}

.feature-content {
    max-width: 1200px;
    margin: 0 auto;
    padding: 0 20px;
}

.feature-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
    gap: 10px;
}

.feature-item {
    text-align: center;
    padding: 10px;
}

.feature-icon {
    font-size: 36px;
    color: var(--primary-light);
    margin-bottom: 15px;
}

.feature-icon img {
    width: 36px; /* Adjust size as needed */
    height: 36px;
    display: inline-block;
}

.feature-item h3 {
    font-family: 'Oswald', sans-serif;
    font-size: 20px;
    margin-bottom: 10px;
    color: var(--off-white);
}

.feature-item p {
    font-size: 14px;
    line-height: 1.5;
    color: var(--light-gray);
}

/* ============================================
   RESPONSIVE DESIGN - MOBILE & TABLET
   ============================================ */

/* Large screens and tablets (landscape) */
@media (max-width: 1200px) {
    .games-container {
        gap: 25px;
        margin-top: 25px;
    }
    
    .game-intro h2 {
        font-size: 28px;
    }
    
    .game-info h3 {
        font-size: 22px;
    }
}

/* Tablets (portrait) and small laptops */
@media (max-width: 1024px) {
    .games-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 20px;
        margin-top: 20px;
    }
    
    .game-intro h2 {
        font-size: 26px;
    }
    
    .game-intro p {
        font-size: 15px;
        max-width: 600px;
    }
    
    .game-image {
        height: 160px;
    }
    
    .game-info {
        padding: 18px;
    }
    
    .game-info h3 {
        font-size: 20px;
    }
    
    .game-info p {
        font-size: 13px;
        margin-bottom: 18px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(auto-fit, minmax(200px, 1fr));
        gap: 15px;
    }
}

/* Mobile devices (large) */
@media (max-width: 768px) {
    .games-container {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
        margin-top: 20px;
    }
    
    .game-intro h2 {
        font-size: 24px;
        margin-bottom: 8px;
    }
    
    .game-intro p {
        font-size: 14px;
        max-width: 500px;
        margin: 0 auto;
    }
    
    .game-image {
        height: 120px;
    }
    
    .game-info {
        padding: 12px;
    }
    
    .game-info h3 {
        font-size: 18px;
        margin: 0 0 8px;
    }
    
    .game-info p {
        font-size: 12px;
        line-height: 1.4;
        margin-bottom: 15px;
    }
    
    .game-icon img {
        width: 28px;
        height: 28px;
    }
    
    .feature-section {
        padding: 15px 0; /* Reduced from 20px */
        margin-top: 15px; /* Reduced from 20px */
    }
    
    .feature-content {
        padding: 0 15px;
    }
    
    .feature-grid {
        grid-template-columns: repeat(2, 1fr);
        gap: 15px;
    }
    
    .feature-icon {
        font-size: 28px;
        margin-bottom: 10px;
    }
    
    .feature-icon img {
        width: 28px;
        height: 28px;
    }
    
    .feature-item h3 {
        font-size: 16px;
        margin-bottom: 8px;
    }
    
    .feature-item p {
        font-size: 12px;
    }
}

/* Mobile devices (small) */
@media (max-width: 480px) {
    .games-container {
        grid-template-columns: 1fr;
        gap: 20px;
        margin-top: 15px;
    }
    
    .game-intro h2 {
        font-size: 22px;
        margin-bottom: 6px;
    }
    
    .game-intro p {
        font-size: 13px;
        max-width: 400px;
        padding: 0 10px;
    }
    
    .game-image {
        height: 140px;
    }
    
    .game-info {
        padding: 15px;
    }
    
    .game-info h3 {
        font-size: 20px;
        margin: 0 0 10px;
    }
    
    .game-info p {
        font-size: 13px;
        line-height: 1.5;
        margin-bottom: 18px;
    }
    
    .game-icon img {
        width: 32px;
        height: 32px;
    }
    
    .feature-section {
        padding: 15px 0; /* Reduced from 20px */
        margin-top: 10px; /* Reduced from 15px */
    }
    
    .feature-content {
        padding: 0 10px;
    }
    
    .feature-grid {
        grid-template-columns: 1fr;
        gap: 15px; /* Reduced from 20px */
    }
    
    .feature-item {
        padding: 12px; /* Reduced from 15px */
    }
    
    .feature-icon {
        font-size: 28px; /* Reduced from 32px */
        margin-bottom: 8px; /* Reduced from 12px */
    }
    
    .feature-icon img {
        width: 28px; /* Reduced from 32px */
        height: 28px;
    }
    
    .feature-item h3 {
        font-size: 16px; /* Reduced from 18px */
        margin-bottom: 6px; /* Reduced from 10px */
    }
    
    .feature-item p {
        font-size: 13px;
        line-height: 1.4; /* Slightly tighter line height */
        margin-bottom: 0; /* Remove bottom margin */
    }
}

