.fp-reels__breadcrumb {
    display: flex;
    align-items: center;
    gap: 10px;
    padding-block: 12px 18px;
    color: var(--fp-text-subtle);
    font-size: 1.25rem;
}

.fp-reels__breadcrumb a { color: var(--fp-text-muted); }
.fp-reels__breadcrumb [aria-current="page"] { color: var(--fp-text); }

.fp-reels.container {
    width: min(calc(100% - 48px), 1360px);
    padding-block: 0 64px;
    color: var(--fp-text);
}

.fp-reels__hero {
    position: relative;
    display: grid;
    grid-template-columns: minmax(0, 1fr) minmax(240px, .62fr);
    min-height: 365px;
    align-items: center;
    gap: 28px;
    overflow: hidden;
    padding: clamp(28px, 4vw, 52px);
    border: 1px solid #ffffff12;
    border-radius: 26px;
    background:
        radial-gradient(ellipse at 8% 12%, #6476d13a, transparent 40%),
        radial-gradient(ellipse at 92% 95%, #865bd42b, transparent 38%),
        linear-gradient(135deg, #191c27 0%, #12141b 58%, #171824 100%);
    box-shadow: 0 22px 60px #00000025, inset 0 1px 0 #ffffff08;
    isolation: isolate;
}

.fp-reels__hero-copy { position: relative; z-index: 2; max-width: 680px; }

.fp-reels__eyebrow {
    display: inline-flex;
    align-items: center;
    gap: 9px;
    margin-block-end: 12px;
    color: #b7c0ff;
    font-size: 1.3rem;
    font-weight: 750;
}

.fp-reels__eyebrow > span {
    width: 8px;
    height: 8px;
    border-radius: 50%;
    background: #8d9aff;
    box-shadow: 0 0 16px #8d9affaa;
}

.fp-reels__hero h1 {
    max-width: 17ch;
    margin: 0 0 12px !important;
    color: #f7f7fb;
    font-size: clamp(3rem, 4.5vw, 5rem) !important;
    font-weight: 850;
    line-height: 1.38;
}

.fp-reels__hero-copy > p {
    max-width: 58ch;
    margin: 0;
    color: #b9bdc9;
    font-size: clamp(1.35rem, 1.5vw, 1.6rem);
    line-height: 2;
}

.fp-reels__hero-action {
    display: inline-flex;
    min-height: 48px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    padding: 10px 19px;
    border: 1px solid #9ca8ff55;
    border-radius: 13px;
    background: linear-gradient(135deg, #7788ee, #586ac8);
    box-shadow: 0 10px 30px #5566c833;
    color: #fff;
    font-size: 1.35rem;
    font-weight: 800;
    margin-block-start: 22px;
    transition: transform var(--fp-motion-base) var(--fp-ease-standard), box-shadow var(--fp-motion-base) var(--fp-ease-standard);
}

.fp-reels__hero-action:hover { color: #fff; transform: translateY(-2px); box-shadow: 0 14px 34px #5566c855; }
.fp-reels__hero-action svg { width: 18px; height: 18px; fill: currentColor; }

.fp-reels__hero-art {
    position: relative;
    z-index: 1;
    display: grid;
    min-height: 305px;
    place-items: center;
    perspective: 700px;
}

.fp-reels__hero-glow {
    position: absolute;
    z-index: 0;
    inset-block-start: 50%;
    inset-inline-start: 50%;
    width: 260px;
    aspect-ratio: 1;
    border-radius: 50%;
    background: #7384ef48;
    filter: blur(55px);
    pointer-events: none;
    transform: translate(-50%, -50%);
}

.fp-reels__hero-poster {
    position: relative;
    display: block;
    width: clamp(170px, 20vw, 225px);
    aspect-ratio: 2 / 3;
    z-index: 1;
    overflow: hidden;
    border: 1px solid #ffffff4a;
    border-radius: 22px;
    background: #242838;
    box-shadow: 0 26px 58px #0008, 0 0 0 8px #ffffff0a;
    transform: rotate(-4deg);
    transition: transform 240ms var(--fp-ease-enter);
}

.fp-reels__hero-poster:hover { color: #fff; transform: rotate(0) scale(1.025); }
.fp-reels__hero-poster::after { position: absolute; inset: 35% 0 0; background: linear-gradient(0deg, #090a10e8, transparent); content: ""; }
.fp-reels__hero-poster img { display: block; width: 100%; height: 100%; object-fit: cover; }

.fp-reels__hero-play,
.fp-reels__hero-empty {
    position: absolute;
    z-index: 1;
    top: 50%;
    left: 50%;
    display: grid;
    width: 62px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid #ffffff70;
    border-radius: 50%;
    background: #0d0e16a8;
    color: #fff;
    backdrop-filter: blur(8px);
    transform: translate(-50%, -50%);
}

.fp-reels__hero-play svg,
.fp-reels__hero-empty svg { width: 25px; height: 25px; fill: currentColor; }
.fp-reels__hero-caption { position: absolute; z-index: 2; inset-inline: 12px; bottom: 12px; color: #fff; text-align: center; font-size: 1.15rem; font-weight: 750; }
.fp-reels__hero-empty { position: relative; top: auto; left: auto; width: 115px; background: #ffffff10; transform: none; }

.fp-reels__hero-orbit {
    position: absolute;
    z-index: 0;
    width: 280px;
    aspect-ratio: 1;
    border: 1px solid #a9b5ff12;
    border-radius: 50%;
    pointer-events: none;
}

.fp-reels__hero-orbit::before,
.fp-reels__hero-orbit::after { position: absolute; inset: 20px; border: 1px solid #a9b5ff0d; border-radius: 50%; content: ""; }
.fp-reels__hero-orbit::after { inset: 44px; }
.fp-reels__hero-orbit--one { inset-inline-start: -155px; inset-block-start: -170px; }
.fp-reels__hero-orbit--two { inset-inline-end: 32%; inset-block-end: -230px; width: 340px; }

.fp-reels__section { margin-block-start: clamp(30px, 4vw, 48px); }

.fp-reels__section-heading {
    display: flex;
    align-items: center;
    gap: 14px;
    margin-block-end: 22px;
}

.fp-reels__section-mark {
    display: grid;
    width: 48px;
    height: 48px;
    flex: 0 0 48px;
    place-items: center;
    border: 1px solid var(--fp-border);
    border-radius: 14px;
    background: var(--fp-card);
    color: #b6c0ff;
}

.fp-reels__section-mark svg { width: 23px; height: 23px; fill: none; stroke: currentColor; stroke-width: 1.7; stroke-linecap: round; stroke-linejoin: round; }
.fp-reels__section-heading h2 { margin: 0 0 3px !important; color: var(--fp-text); font-size: clamp(1.8rem, 2.2vw, 2.35rem) !important; font-weight: 800; }
.fp-reels__section-heading p { margin: 0; color: var(--fp-text-subtle); font-size: 1.2rem; }

.fp-reels__count {
    margin-inline-start: auto;
    padding: 6px 12px;
    border: 1px solid var(--fp-border);
    border-radius: 999px;
    color: var(--fp-text-muted);
    font-size: 1.2rem;
    white-space: nowrap;
}

.fp-reels__grid { display: grid; grid-template-columns: repeat(5, minmax(0, 1fr)); gap: clamp(14px, 1.6vw, 22px); }
.fp-reels__card { display: block; min-width: 0; color: var(--fp-text); }
.fp-reels__card-poster {
    position: relative;
    display: block;
    overflow: hidden;
    aspect-ratio: 2 / 3;
    border: 1px solid #ffffff12;
    border-radius: 17px;
    background: #191c25;
    box-shadow: 0 12px 30px #00000024;
    isolation: isolate;
    transition: border-color var(--fp-motion-base) var(--fp-ease-standard), transform var(--fp-motion-base) var(--fp-ease-enter), box-shadow var(--fp-motion-base) var(--fp-ease-standard);
}

.fp-reels__card-poster::after { position: absolute; z-index: 0; inset: 38% 0 0; background: linear-gradient(0deg, #08090ee8 0%, #08090e88 32%, transparent 100%); content: ""; pointer-events: none; }
.fp-reels__card-poster > img { display: block; width: 100%; height: 100%; object-fit: cover; transition: transform 260ms var(--fp-ease-enter); }

.fp-reels__card-type {
    position: absolute;
    z-index: 1;
    inset-block-start: 11px;
    inset-inline-start: 11px;
    padding: 4px 9px;
    border: 1px solid #ffffff27;
    border-radius: 999px;
    background: #12141bcc;
    color: #fff;
    font-size: 1.05rem;
    font-weight: 700;
    backdrop-filter: blur(8px);
}

.fp-reels__card-play {
    position: absolute;
    z-index: 1;
    top: 43%;
    left: 50%;
    display: grid;
    width: 48px;
    aspect-ratio: 1;
    place-items: center;
    border: 1px solid #ffffff5e;
    border-radius: 50%;
    background: #1011169c;
    color: #fff;
    opacity: .92;
    backdrop-filter: blur(7px);
    transform: translate(-50%, -50%);
    transition: background var(--fp-motion-base) var(--fp-ease-standard), transform var(--fp-motion-base) var(--fp-ease-enter);
}

.fp-reels__card-play svg { width: 20px; height: 20px; fill: currentColor; }
.fp-reels__card-caption { position: absolute; z-index: 1; inset-inline: 13px; bottom: 13px; display: flex; flex-direction: column; gap: 0; color: #fff; }
.fp-reels__card-caption strong { display: -webkit-box; overflow: hidden; color: #fff; font-size: 1.35rem; font-weight: 800; line-height: 1.7; text-overflow: ellipsis; -webkit-line-clamp: 2; -webkit-box-orient: vertical; }

.fp-reels__empty {
    display: flex;
    min-height: 245px;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    padding: 28px;
    border: 1px dashed var(--fp-border-strong);
    border-radius: 20px;
    background: #ffffff04;
    text-align: center;
}

.fp-reels__empty-icon { display: grid; width: 54px; aspect-ratio: 1; place-items: center; border-radius: 18px; background: var(--fp-primary-soft); color: #b7c1ff; }
.fp-reels__empty-icon svg { width: 23px; height: 23px; fill: currentColor; }
.fp-reels__empty h3 { margin: 16px 0 4px; color: var(--fp-text); font-size: 1.8rem; }
.fp-reels__empty p { margin: 0 0 16px; color: var(--fp-text-muted); font-size: 1.25rem; }
.fp-reels__empty a { padding: 9px 15px; border: 1px solid var(--fp-primary-outline); border-radius: 10px; color: #c4ccff; font-size: 1.25rem; font-weight: 750; }

.fp-reels__loading,
.fp-reels__end {
    display: flex;
    min-height: 52px;
    align-items: center;
    justify-content: center;
    gap: 10px;
    margin: 18px 0 0;
    color: var(--fp-text-muted);
    font-size: 1.2rem;
}

.fp-reels__loading[hidden],
.fp-reels__end[hidden],
.fp-reels__more[hidden] { display: none !important; }

.fp-reels__spinner {
    width: 20px;
    height: 20px;
    border: 2px solid #ffffff2a;
    border-block-start-color: #9aa7ff;
    border-radius: 50%;
    animation: fp-reels-spin .8s linear infinite;
}

@keyframes fp-reels-spin { to { transform: rotate(360deg); } }

.fp-reels__more {
    display: flex;
    width: fit-content;
    min-height: 44px;
    align-items: center;
    justify-content: center;
    margin: 20px auto 0;
    padding: 9px 18px;
    border: 1px solid var(--fp-primary-outline);
    border-radius: 12px;
    background: var(--fp-primary-soft);
    color: #c4ccff;
    font-size: 1.2rem;
    font-weight: 750;
}

.fp-reels__more:hover { color: #fff; background: #6274d032; }
.fp-reels__sentinel { height: 1px; }

@media (hover: hover) and (pointer: fine) {
    .fp-reels__card:hover { color: #fff; }
    .fp-reels__card:hover .fp-reels__card-poster { border-color: #8795ff65; box-shadow: 0 18px 38px #0000004c; transform: translateY(-4px); }
    .fp-reels__card:hover .fp-reels__card-poster > img { transform: scale(1.04); }
    .fp-reels__card:hover .fp-reels__card-play { background: #6678d8df; transform: translate(-50%, -50%) scale(1.08); }
}

@media (max-width: 1050px) { .fp-reels__grid { grid-template-columns: repeat(4, minmax(0, 1fr)); } }

@media (max-width: 760px) {
    .fp-reels__breadcrumb { padding-block: 8px 14px; }
    .fp-reels.container { width: calc(100% - 28px); padding-block-end: 42px; }
    .fp-reels__hero { grid-template-columns: minmax(0, 1fr) minmax(112px, 31%); min-height: 0; gap: 12px; padding: 25px 20px; border-radius: 21px; }
    .fp-reels__hero h1 { font-size: clamp(2.35rem, 6vw, 3.2rem) !important; }
    .fp-reels__hero-copy > p { font-size: 1.2rem; }
    .fp-reels__hero-action { min-height: 44px; margin-block-start: 16px; padding: 8px 12px; font-size: 1.15rem; }
    .fp-reels__hero-art { min-height: 230px; }
    .fp-reels__hero-poster { width: clamp(105px, 24vw, 165px); border-radius: 15px; }
    .fp-reels__hero-play { width: 44px; }
    .fp-reels__hero-caption { inset-inline: 6px; bottom: 7px; font-size: .95rem; }
    .fp-reels__hero-orbit--two { inset-inline-end: 20%; }
    .fp-reels__grid { grid-template-columns: repeat(3, minmax(0, 1fr)); gap: 12px; }
    .fp-reels__card-poster { border-radius: 13px; }
    .fp-reels__card-type { inset-block-start: 8px; inset-inline-start: 8px; padding: 3px 7px; font-size: .95rem; }
    .fp-reels__card-caption { inset-inline: 9px; bottom: 9px; gap: 0; }
    .fp-reels__card-caption strong { font-size: 1.12rem; }
    .fp-reels__card-play { width: 40px; }
}

@media (max-width: 520px) {
    .fp-reels__hero { grid-template-columns: minmax(0, 1fr) 105px; padding: 20px 15px; gap: 7px; }
    .fp-reels__eyebrow { margin-block-end: 8px; font-size: 1.05rem; }
    .fp-reels__eyebrow > span { width: 6px; height: 6px; }
    .fp-reels__hero h1 { margin-block-end: 8px !important; font-size: 2.25rem !important; line-height: 1.5; }
    .fp-reels__hero-copy > p { font-size: 1.08rem; line-height: 1.8; }
    .fp-reels__hero-action { min-height: 42px; margin-block-start: 13px; gap: 6px; padding-inline: 10px; font-size: 1.05rem; }
    .fp-reels__hero-action svg { width: 15px; height: 15px; }
    .fp-reels__hero-art { min-height: 185px; }
    .fp-reels__hero-poster { width: 99px; border-radius: 12px; }
    .fp-reels__hero-play { width: 36px; }
    .fp-reels__hero-play svg { width: 17px; height: 17px; }
    .fp-reels__hero-caption { font-size: .8rem; }
    .fp-reels__section-heading { gap: 10px; margin-block-end: 15px; }
    .fp-reels__section-mark { width: 40px; height: 40px; flex-basis: 40px; border-radius: 12px; }
    .fp-reels__section-mark svg { width: 20px; height: 20px; }
    .fp-reels__section-heading h2 { font-size: 1.65rem !important; }
    .fp-reels__section-heading p { max-width: 34ch; font-size: 1rem; }
    .fp-reels__count { padding: 5px 8px; font-size: 1rem; }
    .fp-reels__grid { grid-template-columns: repeat(2, minmax(0, 1fr)); gap: 11px; }
    .fp-reels__card-caption strong { font-size: 1.15rem; }
}

@media (prefers-reduced-motion: reduce) {
    .fp-reels__hero-action,
    .fp-reels__hero-poster,
    .fp-reels__card-poster,
    .fp-reels__card-poster > img,
    .fp-reels__card-play { transition: none; }
}
