/* Featured Gaming Moments Section Styles */
.gaming-moments {
    padding: 4rem 2rem;
    background-color: #121212;
    color: #ffffff;
}

.gaming-moments-container {
    max-width: 1200px;
    margin: 0 auto;
}

.gaming-moments h2 {
    text-align: center;
    font-size: 2.2rem;
    margin-bottom: 2.5rem;
    color: #ffffff;
}

.gaming-grid {
    display: grid;
    grid-template-columns: repeat(12, 1fr);
    grid-template-rows: auto auto;
    gap: 1rem;
}

/* Main featured game (larger) */
.game-card-large {
    grid-column: span 4;
    grid-row: span 2;
    height: 400px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Medium sized game cards */
.game-card-medium {
    grid-column: span 4;
    height: 195px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Small sized game cards */
.game-card-small {
    grid-column: span 2;
    height: 195px;
    border-radius: 8px;
    overflow: hidden;
    position: relative;
    background-color: #1a1a1a;
    box-shadow: 0 4px 15px rgba(0, 0, 0, 0.3);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

/* Game card content */
.game-card-content {
    position: absolute;
    bottom: 0;
    left: 0;
    width: 100%;
    padding: 1rem;
    background: linear-gradient(to top, rgba(0, 0, 0, 0.8), transparent);
    color: #fff;
    transition: background 0.3s ease;
}

.game-card-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.game-card-content p {
    margin: 0;
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Game card background image */
.game-card-bg {
    width: 100%;
    height: 100%;
    object-fit: cover;
    transition: transform 0.3s ease;
    filter: brightness(0.85);
}

/* Play button */
.play-now-btn {
    display: inline-block;
    background-color: #007bff;
    color: white;
    padding: 0.5rem 1rem;
    border-radius: 4px;
    text-decoration: none;
    font-weight: 600;
    font-size: 0.9rem;
    margin-top: 0.5rem;
    transition: background-color 0.3s ease, transform 0.2s ease;
}

.play-now-btn:hover {
    background-color: #0069d9;
    transform: translateY(-2px);
}

/* Game card hover effect */
.game-card-large:hover,
.game-card-medium:hover,
.game-card-small:hover {
    transform: translateY(-8px);
    box-shadow: 0 12px 25px rgba(0, 0, 0, 0.5);
}

.game-card-large:hover .game-card-bg,
.game-card-medium:hover .game-card-bg,
.game-card-small:hover .game-card-bg {
    transform: scale(1.05);
    filter: brightness(1);
}

.game-card-large:hover .game-card-content,
.game-card-medium:hover .game-card-content,
.game-card-small:hover .game-card-content {
    background: linear-gradient(to top, rgba(0, 0, 0, 0.9), rgba(0, 0, 0, 0.5), transparent);
}

/* Score display */
.game-score {
    position: absolute;
    top: 1rem;
    left: 1rem;
    background-color: rgba(0, 0, 0, 0.7);
    color: white;
    padding: 0.3rem 0.6rem;
    border-radius: 4px;
    font-size: 0.9rem;
    font-weight: 600;
    z-index: 2;
}

/* Game console section */
.game-console {
    display: flex;
    flex-direction: column;
    background-color: #1a1a1a;
    border-radius: 8px;
    overflow: hidden;
    height: 100%;
}

.console-images {
    display: flex;
    height: 70%;
}

.console-image {
    width: 50%;
    height: 100%;
    object-fit: cover;
    filter: brightness(0.85);
}

.console-content {
    padding: 1rem;
}

.console-content h3 {
    margin: 0 0 0.5rem;
    font-size: 1.2rem;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.8);
}

.console-content p {
    margin: 0 0 0.5rem;
    font-size: 0.9rem;
    opacity: 0.9;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.7);
}

/* Pagination dots */
.pagination-dots {
    display: flex;
    justify-content: center;
    gap: 0.5rem;
    margin-top: 2rem;
}

.dot {
    width: 10px;
    height: 10px;
    background-color: #555;
    border-radius: 50%;
    cursor: pointer;
    transition: background-color 0.3s ease;
}

.dot.active {
    background-color: #007bff;
}

/* Responsive adjustments */
@media (max-width: 1024px) {
    .gaming-grid {
        grid-template-columns: repeat(8, 1fr);
    }
    
    .game-card-large {
        grid-column: span 4;
    }
    
    .game-card-medium {
        grid-column: span 4;
    }
    
    .game-card-small {
        grid-column: span 2;
    }
}

@media (max-width: 768px) {
    .gaming-grid {
        grid-template-columns: repeat(4, 1fr);
    }
    
    .game-card-large {
        grid-column: span 4;
        height: 300px;
    }
    
    .game-card-medium {
        grid-column: span 4;
    }
    
    .game-card-small {
        grid-column: span 2;
    }
}

@media (max-width: 480px) {
    .gaming-grid {
        grid-template-columns: 1fr;
    }
    
    .game-card-large,
    .game-card-medium,
    .game-card-small {
        grid-column: span 1;
        height: 200px;
    }
}
