/* ====================================================================
 *  Ad slider background fallback placeholders
 *  ----------------------------------------------
 *  When the real gym photos are not yet placed in
 *  kiosk-frontend/assets/images/NN-*.jpg, each slide shows a
 *  hand-crafted SVG placeholder (gradient + emoji icon) so the
 *  home screen is never black.
 *
 *  Once you drop real JPGs into the folder, the real photo will
 *  automatically overlay the placeholder because the
 *  background-image rule in index.html comes first and uses
 *  `background-color: transparent` here.
 * ==================================================================== */

/* 1. ROWING / CARDIO MACHINE - silver/white tones with orange accents */
.ad-slide[data-slide="cardio-rowing"] {
    background-color: #1a1d24;
    background-image:
        radial-gradient(circle at 30% 50%, rgba(255,140,0,0.18), transparent 50%),
        linear-gradient(135deg, #2a2f3a 0%, #1a1d24 50%, #0d1117 100%);
}

/* 2. DUMBBELL RACK - black with multi-color accents */
.ad-slide[data-slide="dumbbells-weights"] {
    background-color: #0a0a0a;
    background-image:
        radial-gradient(circle at 70% 30%, rgba(0,200,83,0.20), transparent 45%),
        radial-gradient(circle at 30% 70%, rgba(229,9,20,0.18), transparent 50%),
        linear-gradient(135deg, #1a1a1a 0%, #0a0a0a 100%);
}

/* 3. BOXING / MMA - red with comic mural vibe */
.ad-slide[data-slide="boxing-mural"] {
    background-color: #1a0a0a;
    background-image:
        radial-gradient(circle at 50% 40%, rgba(229,9,20,0.35), transparent 55%),
        linear-gradient(135deg, #2a1010 0%, #1a0505 50%, #000000 100%);
}

/* 4. POWER RACK - dark industrial */
.ad-slide[data-slide="power-rack"] {
    background-color: #0d0d0d;
    background-image:
        radial-gradient(circle at 40% 60%, rgba(180,180,180,0.10), transparent 50%),
        linear-gradient(135deg, #202024 0%, #0a0a0a 100%);
}

/* 5. YOGA STUDIO - warm wood-tones, orange carpet */
.ad-slide[data-slide="yoga-studio"] {
    background-color: #2a1f15;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255,179,77,0.30), transparent 55%),
        linear-gradient(135deg, #3d2b1f 0%, #1f1610 100%);
}

/* 6. WOMEN CARDIO - black + purple wall, orange TVs */
.ad-slide[data-slide="cardio-women-area"] {
    background-color: #14141f;
    background-image:
        radial-gradient(circle at 60% 50%, rgba(156,39,176,0.25), transparent 55%),
        radial-gradient(circle at 25% 30%, rgba(255,140,0,0.18), transparent 50%),
        linear-gradient(135deg, #1f1a2e 0%, #0a0a14 100%);
}

/* 7. MIRROR WEIGHTS - blue tones with mirror reflection feel */
.ad-slide[data-slide="mirror-weights"] {
    background-color: #0c1a2e;
    background-image:
        radial-gradient(circle at 50% 40%, rgba(33,150,243,0.30), transparent 55%),
        linear-gradient(135deg, #1a2840 0%, #0a1424 100%);
}

/* 8. POWER RACK WITH MIRROR - black + yellow accent */
.ad-slide[data-slide="power-rack-mirror"] {
    background-color: #141414;
    background-image:
        radial-gradient(circle at 65% 50%, rgba(255,193,7,0.18), transparent 50%),
        linear-gradient(135deg, #1f1f1f 0%, #0a0a0a 100%);
}

/* 9. HD LOBBY - warm yellow walls, welcoming */
.ad-slide[data-slide="hd-lobby"] {
    background-color: #2a1a05;
    background-image:
        radial-gradient(circle at 50% 50%, rgba(255,179,0,0.35), transparent 55%),
        linear-gradient(135deg, #3d2a10 0%, #1a0f05 100%);
}

/* ====================================================================
 *  SVG icon overlay (rendered via ::before with a data: URL)
 *  Each slide shows a large emoji-styled icon centered
 * ==================================================================== */

.ad-slide[data-slide]::before {
    content: attr(data-icon);
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    font-size: 240px;
    line-height: 1;
    color: rgba(255, 255, 255, 0.10);
    text-shadow: 0 8px 32px rgba(0,0,0,0.3);
    pointer-events: none;
    z-index: 0;
    user-select: none;
}

.ad-slide[data-slide="cardio-rowing"]::before       { content: '🏃'; }
.ad-slide[data-slide="dumbbells-weights"]::before   { content: '🏋️'; }
.ad-slide[data-slide="boxing-mural"]::before       { content: '🥊'; }
.ad-slide[data-slide="power-rack"]::before         { content: '💪'; }
.ad-slide[data-slide="yoga-studio"]::before        { content: '🧘'; }
.ad-slide[data-slide="cardio-women-area"]::before  { content: '🏃‍♀️'; }
.ad-slide[data-slide="mirror-weights"]::before     { content: '🔥'; }
.ad-slide[data-slide="power-rack-mirror"]::before  { content: '⭐'; }
.ad-slide[data-slide="hd-lobby"]::before           { content: '👋'; }

/* Real photo, when present, hides the placeholder */
.ad-slide.has-photo {
    background-image: var(--real-bg);
}

.ad-slide.has-photo::before {
    display: none;
}
