.hero-wrapper {
    width: 100%;
    min-height: 400px;
    padding: 40px 0;
    background: radial-gradient(circle at center, rgba(0,255,120,0.15), rgba(0,0,0,0.95) 100%);
    position: relative;
    overflow: hidden;
    box-shadow: 0 0 150px rgba(0,255,120,0.5);
    display: flex;
    justify-content: center;
    align-items: center;
}

.hero-bg {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-size: cover;
    background-position: center;
    filter: brightness(0.35);
    transform: scale(1.2);
    transition: background-image 0.6s ease, filter 0.6s ease;
    z-index: 0;
}

.hero-wrapper::after {
    content: "";
    position: absolute;
    inset: 0;
    background: linear-gradient(to top, rgba(0,0,0,0.85), rgba(0,0,0,0.2));
    z-index: 1;
}

.hero-slider {
    width: 1200px;  /* 3 cards visible: 300+350+300 + gaps */
    max-width: 100%;
    margin: auto;
    position: relative;
    overflow: hidden;
    z-index: 2;
}

.hero-track {
    display: flex;
    transition: transform 0.6s cubic-bezier(.22,.61,.36,1);
    gap: 20px;
    align-items: center;
}

/* HERO CARD */
.hero-card {
    flex: 0 0 auto;
    border-radius: 12px;
    text-align: center;
    cursor: pointer;
    transition: transform 0.5s ease, opacity 0.5s ease, box-shadow 0.5s ease;
    position: relative;
}

.hero-card .img-wrap {
    border-radius: 12px;
    overflow: hidden;
    width: 100%;
}

.hero-card img {
    display: block;
    width: 100%;
    border-radius: 12px;
}

.hero-card h5 {
    margin-top: 12px;
    color: #fff;
    font-weight: 600;
    font-size: 16px;
    text-shadow: 0 0 5px rgba(0,255,120,0.7);
}

/* LEFT / CENTER / RIGHT */
.hero-card.left,
.hero-card.right {
    width: 300px;
    transform: scale(0.9);
    opacity: 1;
    box-shadow: 0 0 10px rgba(0,255,120,0.3), 0 0 20px rgba(0,255,120,0.2);
    z-index: 2;
}

.hero-card.center {
    width: 350px;
    transform: scale(1);
    opacity: 1;
    box-shadow: 0 0 25px rgba(0,255,120,0.9), 0 0 45px rgba(0,255,120,0.7), 0 0 90px rgba(0,255,120,0.5);
    z-index: 5;
}

/* PLAY BUTTON */
.play-btn {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%) scale(0.7);
    background: rgba(0,0,0,0.6);
    color: #fff;
    font-size: 22px;
    padding: 14px 18px;
    border-radius: 50%;
    opacity: 0;
    transition: all 0.3s ease;
}

.hero-card:hover .play-btn {
    opacity: 1;
    transform: translate(-50%, -50%) scale(1);
}

/* NAVIGATION */
.nav {
    position: absolute;
    top: 45%;
    transform: translateY(-50%);
    background: rgba(0,0,0,0.6);
    border: none;
    color: #fff;
    font-size: 28px;
    padding: 14px 20px;
    cursor: pointer;
    border-radius: 50%;
    z-index: 5;
    transition: all 0.3s ease;
}

.nav.prev { left: 10px; }
.nav.next { right: 10px; }

.nav:hover { background: rgba(0,0,0,0.9); }

/* ===============================
   HERO MOBILE RESPONSIVE
================================ */
@media (max-width: 992px) {
    .hero-slider { width: 90%; }
    .hero-card.left,
    .hero-card.right { width: 120px; transform: scale(0.8); opacity: 0.5; }
    .hero-card.center { width: 200px; transform: scale(1); opacity: 1; }
}

@media (max-width: 768px) {
    .hero-slider { width: 100%; }
    .hero-card { width: 80%; transform: scale(0.85); opacity: 0.6; }
    .hero-card.left,
    .hero-card.right { display: none; } /* hide side cards */
    .hero-card.center { width: 90%; transform: scale(1); opacity: 1; }
    .nav { display: none; } /* hide nav buttons */
}
/* ===============================
   FORCE 5 GRID ITEMS PER ROW
================================ */
.grid {
    display: flex;
    flex-wrap: wrap;
    gap: 16px; /* spacing between boxes */
    justify-content: flex-start;
}

.grid .card {
    flex: 0 0 calc(20% - 12.8px); /* 5 items per row minus gap */
    box-sizing: border-box;
    margin-bottom: 16px;
}

/* MOBILE */
@media (max-width: 1200px) { /* 4 per row */
    .grid .card { flex: 0 0 calc(25% - 12px); }
}
@media (max-width: 992px) { /* 3 per row */
    .grid .card { flex: 0 0 calc(33.33% - 12px); }
}
@media (max-width: 768px) { /* 2 per row */
    .grid .card { flex: 0 0 calc(50% - 12px); }
}
@media (max-width: 480px) { /* 1 per row */
    .grid .card { flex: 0 0 100%; }
}

