/* New Game Showcase Styles */

#new-game-showcase-container {
    padding: 60px 20px;
    background-color: #f0f2f5; /* A light background to separate it */
    text-align: center;
}

.showcase-carousel {
    position: relative;
    max-width: 980px;
    margin: 0 auto;
}

.showcase-track {
    display: grid;
    grid-auto-flow: column;
    grid-auto-columns: 100%;
    gap: 16px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    padding: 6px 48px; /* leave room for arrows */
}

.showcase-track::-webkit-scrollbar {
    height: 8px;
}
.showcase-track::-webkit-scrollbar-thumb {
    background: rgba(0,0,0,0.2);
    border-radius: 4px;
}

.showcase-slide {
    scroll-snap-align: start;
    padding: 0 8px; /* small inner padding to show gap */
}

.showcase-slide .showcase-card {
    max-width: 900px;
    margin: 0 auto;
}

.showcase-nav {
    position: absolute;
    top: 50%;
    transform: translateY(-50%);
    width: 36px;
    height: 36px;
    border-radius: 50%;
    border: none;
    background: rgba(0,0,0,0.5);
    color: #fff;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    z-index: 2;
}

.showcase-nav.prev { left: 6px; }
.showcase-nav.next { right: 6px; }

.showcase-title {
    font-size: 2.5rem;
    font-weight: 700;
    color: #333;
    margin-bottom: 40px;
    position: relative;
}

.showcase-title::after {
    content: '';
    display: block;
    width: 80px;
    height: 4px;
    background-color: #007bff;
    margin: 10px auto 0;
    border-radius: 2px;
}

.showcase-card {
    display: flex;
    max-width: 900px;
    margin: 0 auto;
    background: #fff;
    border-radius: 15px;
    box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
    overflow: hidden;
    text-align: left;
    transition: transform 0.3s ease, box-shadow 0.3s ease;
}

.showcase-card:hover {
    transform: translateY(-5px);
    box-shadow: 0 15px 35px rgba(0, 0, 0, 0.15);
}

.showcase-img {
    flex: 0 0 45%;
}

.showcase-img img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
}

.showcase-content {
    padding: 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
}

.showcase-content h3 {
    font-size: 2rem;
    font-weight: 600;
    color: #222;
    margin: 0 0 15px;
}

.showcase-content p {
    font-size: 1rem;
    color: #666;
    line-height: 1.6;
    margin-bottom: 30px;
}

.showcase-cta {
    display: inline-block;
    background-color: #007bff;
    color: #fff;
    padding: 12px 25px;
    border-radius: 50px;
    text-decoration: none;
    font-weight: 600;
    transition: background-color 0.3s ease;
    align-self: flex-start;
}

.showcase-cta:hover {
    background-color: #0056b3;
}

.showcase-dots{
  display:flex; gap:8px; justify-content:center; margin-top:14px;
}
.showcase-dot{
  width:8px; height:8px; border-radius:50%; border:none; background:#c9cdd3; cursor:pointer;
}
.showcase-dot.active{ background:#007bff; }

/* Responsive Styles */
@media (max-width: 768px) {
    .showcase-card {
        flex-direction: column;
    }

    .showcase-img {
        flex: 0 0 250px; /* Fixed height for image on mobile */
    }

    .showcase-content {
        padding: 30px;
    }

    .showcase-cta {
        align-self: center;
    }
}
