/* ═══════════════════════════════════════════════
   FluffySquad Stories v2.1
   ═══════════════════════════════════════════════ */

.fss-stories {
    max-width: 1200px;
    margin: 0 auto;
    padding: 20px;
}


/* ─── Kapitel Header (AUSSERHALB Container) ───── */

.fss-kap-header {
    text-align: center;
    padding: 48px 0 24px;
}

.fss-kap-line {
    height: 2px;
    background: linear-gradient(90deg, transparent, #c7c2ff 20%, #bb55dd 50%, #c7c2ff 80%, transparent);
    margin-bottom: 28px;
    border-radius: 2px;
}

/* Erstes Kapitel — kein Strich oben */
.fss-kap-header:first-child .fss-kap-line {
    display: none;
}

.fss-kap-label {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    margin-bottom: 6px;
}

.fss-kap-nr {
    font-size: 1.8rem;
    font-weight: 800;
    color: #cf1259;
    letter-spacing: 0.5px;
}

.fss-sparkle {
    font-size: 1rem;
    color: #bb55dd;
    animation: fss-sparkle 2s ease-in-out infinite;
}
.fss-sparkle:last-child {
    animation-delay: 0.5s;
}
@keyframes fss-sparkle {
    0%, 100% { opacity: 0.4; transform: scale(0.8) rotate(0deg); }
    50%      { opacity: 1; transform: scale(1.2) rotate(15deg); }
}

.fss-kap-sub {
    font-size: 1.05rem;
    font-weight: 600;
    color: #3c0f4b;
    margin: 0;
    opacity: 0.85;
}


/* ─── Stage: Bild-Container ───────────────────── */

.fss-chapter {
    margin-bottom: 20px;
}

.fss-stage {
    position: relative;
    width: 100%;
    min-height: 50vh;
    border-radius: 20px;
    overflow: hidden;
    background-size: cover;
    background-position: center;
    background-repeat: no-repeat;
    display: flex;
    flex-direction: column;
    justify-content: flex-end;
    transition: background-image 0.5s ease;
}

.fss-stage-overlay {
    position: absolute;
    inset: 0;
    background: linear-gradient(
        90deg,
        rgba(20, 5, 30, 0.92) 0%,
        rgba(20, 5, 30, 0.7) 35%,
        rgba(20, 5, 30, 0.15) 65%,
        transparent 100%
    );
    pointer-events: none;
    z-index: 1;
}


/* ─── Text (links) ────────────────────────────── */

.fss-stage-content {
    position: absolute;
    top: 0;
    left: 0;
    bottom: 0;
    width: 45%;
    max-width: 480px;
    padding: 48px 40px;
    display: flex;
    flex-direction: column;
    justify-content: center;
    z-index: 2;
}

.fss-stage-label {
    font-size: 0.78rem;
    font-weight: 700;
    text-transform: uppercase;
    letter-spacing: 2px;
    color: #cf1259;
    margin-bottom: 12px;
    opacity: 0;
    transform: translateY(10px);
    animation: fss-fadeUp 0.5s 0.1s forwards;
}

.fss-stage-title {
    font-size: 1.8rem;
    font-weight: 800;
    color: #fff;
    margin: 0 0 16px;
    line-height: 1.15;
    opacity: 0;
    transform: translateY(10px);
    animation: fss-fadeUp 0.5s 0.2s forwards;
}

.fss-stage-text {
    font-size: 0.9rem;
    line-height: 1.7;
    color: rgba(255, 255, 255, 0.78);
    opacity: 0;
    transform: translateY(10px);
    animation: fss-fadeUp 0.5s 0.35s forwards;
}
.fss-stage-text p { margin: 0 0 10px; }

@keyframes fss-fadeUp {
    to { opacity: 1; transform: translateY(0); }
}


/* ─── Thumbnail Strip (bottom, z-index oben) ──── */

.fss-thumbstrip {
    position: relative;
    z-index: 3;
    padding: 0 20px 24px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
}

.fss-strip-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    scrollbar-width: none;
    -ms-overflow-style: none;
    padding: 6px 2px;
    scroll-behavior: smooth;
}
.fss-strip-track::-webkit-scrollbar { display: none; }

/* Thumbnail */
.fss-strip-item {
    flex: 0 0 130px;
    height: 80px;
    border-radius: 12px;
    overflow: hidden;
    cursor: pointer;
    border: 2px solid transparent;
    opacity: 0.5;
    transform: scale(0.95);
    transition: all 0.35s cubic-bezier(0.22, 1, 0.36, 1);
    box-shadow: 0 4px 16px rgba(0, 0, 0, 0.3);
}

.fss-strip-item:hover {
    opacity: 0.8;
    transform: scale(1);
    border-color: rgba(255, 255, 255, 0.4);
}

.fss-strip-item.active {
    opacity: 1;
    transform: scale(1.08);
    border-color: #fff;
    box-shadow: 0 4px 24px rgba(255, 255, 255, 0.15), 0 4px 16px rgba(0, 0, 0, 0.4);
}

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


/* ─── Runde Pfeile links/rechts ───────────────── */

.fss-strip-arrow {
    flex-shrink: 0;
    width: 40px;
    height: 40px;
    border-radius: 50%;
    border: 2px solid rgba(255, 255, 255, 0.25);
    background: rgba(0, 0, 0, 0.35);
    backdrop-filter: blur(6px);
    -webkit-backdrop-filter: blur(6px);
    color: #fff;
    font-size: 1.4rem;
    cursor: pointer;
    display: flex;
    align-items: center;
    justify-content: center;
    transition: all 0.25s ease;
    line-height: 1;
    padding: 0;
}

.fss-strip-arrow:hover {
    background: rgba(187, 85, 221, 0.5);
    border-color: rgba(255, 255, 255, 0.5);
    transform: scale(1.1);
}

.fss-strip-arrow:active {
    transform: scale(0.95);
}


/* ═══════════════════════════════════════════════
   RESPONSIVE
   ═══════════════════════════════════════════════ */

@media (max-width: 900px) {
    .fss-stage-content {
        width: 55%;
        padding: 28px 24px;
    }
    .fss-stage-title { font-size: 1.4rem; }

    .fss-strip-item { flex: 0 0 110px; height: 68px; }
    .fss-strip-arrow { width: 36px; height: 36px; font-size: 1.2rem; }

    .fss-kap-nr { font-size: 1.4rem; }
}

@media (max-width: 600px) {
    .fss-stories { padding: 12px; }

    .fss-stage { border-radius: 14px; }

    .fss-stage-overlay {
        background: linear-gradient(
            0deg,
            rgba(20, 5, 30, 0.95) 0%,
            rgba(20, 5, 30, 0.55) 45%,
            rgba(20, 5, 30, 0.1) 100%
        );
    }

    .fss-stage-content {
        width: 100%;
        max-width: 100%;
        top: auto;
        bottom: 0;
        padding: 0 20px 96px;
        justify-content: flex-end;
    }
    .fss-stage-title { font-size: 1.2rem; }
    .fss-stage-text {
        font-size: 0.8rem;
        display: -webkit-box;
        -webkit-line-clamp: 4;
        -webkit-box-orient: vertical;
        overflow: hidden;
    }

    .fss-thumbstrip { padding: 0 12px 16px; gap: 8px; }
    .fss-strip-item { flex: 0 0 90px; height: 58px; border-radius: 8px; }
    .fss-strip-arrow { width: 32px; height: 32px; font-size: 1rem; }

    .fss-kap-header { padding: 32px 0 16px; }
    .fss-kap-nr { font-size: 1.2rem; }
    .fss-kap-sub { font-size: 0.9rem; }
}