:root {
    --bg: #070710;
    --bg-soft: #0d0d19;
    --panel: #111022;
    --panel-2: #17142d;
    --line: rgba(255, 255, 255, .09);
    --text: #f7f5ff;
    --muted: #a9a3bc;
    --blue: #4f7cff;
    --violet: #8d5cff;
    --magenta: #ea42b3;
    --green: #50dfa0;
    --radius: 22px;
    --shadow: 0 24px 80px rgba(0, 0, 0, .34);
}

* {
    box-sizing: border-box;
}

html {
    background: var(--bg);
    scroll-behavior: smooth;
}

body {
    margin: 0;
    min-width: 320px;
    color: var(--text);
    background:
        radial-gradient(circle at 18% -10%, rgba(79, 124, 255, .16), transparent 34rem),
        radial-gradient(circle at 90% 12%, rgba(234, 66, 179, .09), transparent 30rem),
        var(--bg);
    font-family: Inter, ui-sans-serif, system-ui, -apple-system, BlinkMacSystemFont, "Segoe UI", sans-serif;
    -webkit-font-smoothing: antialiased;
}

a {
    color: inherit;
}

button,
a {
    -webkit-tap-highlight-color: transparent;
}

img {
    display: block;
    max-width: 100%;
}

.site-shell {
    width: min(100%, 1180px);
    margin: 0 auto;
    overflow: hidden;
}

.site-header {
    min-height: 70px;
    padding: 0 18px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: 16px;
    border-bottom: 1px solid var(--line);
}

.brand {
    display: inline-flex;
    align-items: baseline;
    text-decoration: none;
    font-weight: 900;
    letter-spacing: -.04em;
    font-size: 1.12rem;
}

.brand-stack {
    background: linear-gradient(100deg, var(--blue), var(--violet), var(--magenta));
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
}

.brand-br {
    margin-left: 4px;
    color: var(--green);
    font-size: .56em;
    font-weight: 900;
    letter-spacing: .02em;
    transform: translateY(-2px);
}

.header-contact,
.back-link {
    border: 1px solid var(--line);
    border-radius: 999px;
    padding: 9px 13px;
    color: #d9d5e7;
    text-decoration: none;
    font-size: .82rem;
    font-weight: 750;
    background: rgba(255, 255, 255, .025);
}

.hero-copy {
    padding: 48px 18px 32px;
    max-width: 760px;
}

.eyebrow,
.section-kicker {
    display: block;
    color: #9186b5;
    font-size: .68rem;
    font-weight: 850;
    letter-spacing: .16em;
}

.hero-copy h1,
.detail-intro h1,
.not-found h1 {
    margin: 9px 0 13px;
    letter-spacing: -.055em;
    line-height: .99;
}

.hero-copy h1 {
    font-size: clamp(2.15rem, 10vw, 4.7rem);
}

.hero-copy > p:last-child,
.detail-lead,
.rich-text,
.detail-cta p,
.site-footer p,
.not-found p {
    color: var(--muted);
    line-height: 1.68;
}

.catalog-section {
    margin-top: 14px;
    padding: 20px 0 28px;
}

.section-head {
    padding: 0 18px 14px;
    display: flex;
    align-items: end;
    justify-content: space-between;
    gap: 16px;
}

.section-head h2,
.detail-block h2,
.detail-cta h2 {
    margin: 4px 0 0;
    font-size: 1.45rem;
    letter-spacing: -.035em;
}

.section-count {
    min-width: 30px;
    height: 30px;
    display: inline-grid;
    place-items: center;
    border-radius: 999px;
    border: 1px solid var(--line);
    color: #b9b3c9;
    font-size: .78rem;
}

.cards-track {
    display: flex;
    gap: 12px;
    overflow-x: auto;
    overscroll-behavior-inline: contain;
    scroll-snap-type: x mandatory;
    scroll-padding-inline: 18px;
    padding: 0 18px 18px;
    scrollbar-width: none;
    cursor: grab;
    touch-action: auto;
}

.cards-track::-webkit-scrollbar {
    display: none;
}

.cards-track.is-dragging {
    cursor: grabbing;
    scroll-snap-type: none;
    user-select: none;
}

.platform-card {
    flex: 0 0 min(88%, 385px);
    scroll-snap-align: start;
    overflow: hidden;
    border-radius: var(--radius);
    border: 1px solid var(--line);
    background: linear-gradient(180deg, rgba(24, 20, 48, .96), rgba(12, 11, 25, .98));
    box-shadow: var(--shadow);
    outline: none;
    transition: transform .2s ease, border-color .2s ease;
}

.platform-card:focus-visible,
.platform-card:hover {
    border-color: rgba(141, 92, 255, .46);
}

.platform-stage {
    position: relative;
    aspect-ratio: 3 / 4;
    overflow: hidden;
    background:
        radial-gradient(circle at 50% 18%, rgba(141, 92, 255, .18), transparent 45%),
        #0b0a14;
}

.gallery-slides,
.gallery-slide {
    width: 100%;
    height: 100%;
}

.gallery-slide {
    position: absolute;
    inset: 0;
    object-fit: cover;
    opacity: 0;
    pointer-events: none;
    transition: opacity .22s ease;
}

.gallery-slide.is-active {
    opacity: 1;
}

.badge {
    position: absolute;
    z-index: 5;
    top: 14px;
    left: 14px;
    display: inline-flex;
    align-items: center;
    gap: 6px;
    padding: 8px 10px;
    border-radius: 999px;
    border: 1px solid rgba(255,255,255,.15);
    background: rgba(6, 6, 14, .78);
    box-shadow: 0 8px 28px rgba(0,0,0,.25);
    backdrop-filter: blur(12px);
    font-size: .7rem;
    font-weight: 850;
}

.badge--novo { color: #88a8ff; }
.badge--hot { color: #ff9d72; }
.badge--lancamento { color: #d6a7ff; }
.badge--destaque { color: #ffd778; }
.badge--premium { color: #f2a7df; }
.badge--static { position: static; width: fit-content; margin-bottom: 12px; }

.gallery-arrow {
    position: absolute;
    z-index: 6;
    top: 50%;
    width: 38px;
    height: 38px;
    margin-top: -19px;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 999px;
    display: grid;
    place-items: center;
    color: #fff;
    background: rgba(5, 5, 12, .62);
    backdrop-filter: blur(10px);
    font: inherit;
    font-size: 1.55rem;
    line-height: 1;
    cursor: pointer;
}

.gallery-arrow--prev { left: 10px; }
.gallery-arrow--next { right: 10px; }

.gallery-meta {
    position: absolute;
    z-index: 5;
    left: 12px;
    right: 12px;
    bottom: 12px;
    display: flex;
    align-items: center;
    justify-content: space-between;
    pointer-events: none;
}

.gallery-counter {
    padding: 6px 9px;
    border-radius: 999px;
    background: rgba(5, 5, 12, .72);
    color: rgba(255,255,255,.9);
    font-size: .69rem;
    backdrop-filter: blur(10px);
}

.gallery-dots {
    display: flex;
    gap: 5px;
    padding: 7px 9px;
    border-radius: 999px;
    background: rgba(5, 5, 12, .66);
    backdrop-filter: blur(10px);
}

.gallery-dot {
    width: 5px;
    height: 5px;
    border-radius: 50%;
    background: rgba(255,255,255,.35);
}

.gallery-dot.is-active {
    width: 14px;
    border-radius: 999px;
    background: #fff;
}

.stage-empty {
    width: 100%;
    height: 100%;
    display: grid;
    place-content: center;
    gap: 8px;
    text-align: center;
    color: #8b84a1;
}

.stage-empty span {
    color: #e4def7;
    font-size: 1.25rem;
    font-weight: 900;
}

.platform-body {
    padding: 17px;
}

.platform-body h3 {
    margin: 0;
    font-size: 1.15rem;
    letter-spacing: -.025em;
}

.platform-description {
    min-height: 2.8em;
    margin: 8px 0 13px;
    color: var(--muted);
    line-height: 1.45;
    font-size: .88rem;
    display: -webkit-box;
    -webkit-line-clamp: 2;
    -webkit-box-orient: vertical;
    overflow: hidden;
}

.tag-list {
    display: flex;
    flex-wrap: wrap;
    gap: 7px;
}

.tag {
    padding: 6px 9px;
    border: 1px solid var(--line);
    border-radius: 999px;
    background: rgba(255,255,255,.025);
    color: #bbb5ca;
    font-size: .69rem;
    font-weight: 700;
}

.platform-link {
    margin-top: 15px;
    display: inline-flex;
    align-items: center;
    gap: 7px;
    color: #e7ddff;
    text-decoration: none;
    font-size: .83rem;
    font-weight: 850;
}

.empty-state {
    margin: 20px 18px 70px;
    padding: 28px;
    display: grid;
    gap: 8px;
    border: 1px solid var(--line);
    border-radius: var(--radius);
    background: var(--panel);
}

.empty-state span {
    color: var(--muted);
}

.site-footer {
    margin: 34px 18px 0;
    padding: 28px 0 calc(28px + env(safe-area-inset-bottom));
    border-top: 1px solid var(--line);
    display: grid;
    gap: 9px;
}

.site-footer p {
    margin: 0;
    font-size: .85rem;
}

.site-footer > a {
    width: fit-content;
    color: #d9caff;
    text-decoration: none;
    font-weight: 800;
    font-size: .84rem;
}

.site-footer small {
    margin-top: 8px;
    color: #6e687d;
}

/* DETALHE */
.detail-page {
    width: min(100%, 820px);
    margin: 0 auto;
    padding: 0 18px;
}

.detail-intro {
    padding: 48px 0 24px;
}

.detail-intro h1 {
    max-width: 720px;
    font-size: clamp(2.5rem, 12vw, 5.3rem);
}

.detail-lead {
    max-width: 650px;
    margin: 0;
    font-size: 1rem;
}

.detail-tags {
    margin-top: 18px;
}

.detail-actions {
    margin-top: 23px;
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.primary-button,
.secondary-button {
    min-height: 46px;
    padding: 0 16px;
    display: inline-flex;
    align-items: center;
    justify-content: center;
    border-radius: 13px;
    text-decoration: none;
    font-size: .84rem;
    font-weight: 850;
}

.primary-button {
    background: linear-gradient(105deg, var(--blue), var(--violet), var(--magenta));
    color: white;
    box-shadow: 0 12px 36px rgba(109, 79, 255, .22);
}

.secondary-button {
    border: 1px solid var(--line);
    background: var(--panel);
    color: #ddd8e9;
}

.detail-gallery {
    display: grid;
    gap: 15px;
    margin: 20px 0 46px;
}

.detail-image-card {
    margin: 0;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid var(--line);
    background: var(--panel);
    box-shadow: var(--shadow);
}

.detail-image-card img {
    width: 100%;
    height: auto;
}

.detail-image-card figcaption {
    padding: 11px 14px 13px;
    color: var(--muted);
    font-size: .78rem;
}

.detail-block,
.detail-cta {
    margin: 18px 0 30px;
    padding: 24px;
    border: 1px solid var(--line);
    border-radius: 22px;
    background: linear-gradient(180deg, rgba(20, 17, 42, .86), rgba(12, 11, 25, .9));
}

.rich-text {
    margin-top: 14px;
}

.resources-grid {
    margin-top: 16px;
    display: grid;
    grid-template-columns: repeat(2, minmax(0, 1fr));
    gap: 10px;
}

.resource-card {
    min-height: 104px;
    padding: 15px;
    display: flex;
    flex-direction: column;
    justify-content: space-between;
    gap: 14px;
    border: 1px solid var(--line);
    border-radius: 16px;
    background: rgba(255,255,255,.025);
}

.resource-card strong {
    font-size: .84rem;
    line-height: 1.3;
}

.resource-icon {
    font-size: 1.35rem;
}

.detail-cta p {
    margin: 9px 0 0;
}

.not-found {
    min-height: 100dvh;
    padding: 40px 20px;
    display: grid;
    place-content: center;
    justify-items: start;
    max-width: 680px;
    margin: auto;
}

.not-found .eyebrow {
    margin-top: 42px;
}

.not-found h1 {
    font-size: clamp(2.3rem, 11vw, 4.8rem);
}

.not-found .primary-button {
    margin-top: 16px;
}

@media (min-width: 720px) {
    .site-header,
    .hero-copy,
    .section-head {
        padding-left: 28px;
        padding-right: 28px;
    }

    .hero-copy {
        padding-top: 72px;
        padding-bottom: 48px;
    }

    .cards-track {
        padding-left: 28px;
        padding-right: 28px;
        scroll-padding-inline: 28px;
        gap: 16px;
    }

    .platform-card {
        flex-basis: 355px;
    }

    .detail-page {
        padding-left: 28px;
        padding-right: 28px;
    }

    .resources-grid {
        grid-template-columns: repeat(3, minmax(0, 1fr));
    }
}

@media (prefers-reduced-motion: reduce) {
    html { scroll-behavior: auto; }
    *, *::before, *::after { transition: none !important; }
}

/* =========================================================
   Interações + responsividade final do catálogo público
   ========================================================= */
.platform-card,
.gallery-slide,
.gallery-arrow,
.platform-link,
.platform-link span,
.header-contact,
.back-link,
.primary-button,
.secondary-button,
.site-footer > a,
.tag,
.resource-card,
.detail-image-card {
    transition:
        transform .22s ease,
        opacity .22s ease,
        border-color .22s ease,
        background .22s ease,
        color .22s ease,
        box-shadow .22s ease,
        filter .22s ease;
}

.platform-card {
    cursor: pointer;
    transform: translateZ(0);
}

.gallery-slide {
    transform: scale(1.001);
}

.gallery-arrow {
    min-width: 42px;
    min-height: 42px;
}

.platform-link span {
    display: inline-block;
}

.header-contact:focus-visible,
.back-link:focus-visible,
.primary-button:focus-visible,
.secondary-button:focus-visible,
.platform-link:focus-visible,
.platform-card:focus-visible,
.gallery-arrow:focus-visible,
.site-footer a:focus-visible {
    outline: 2px solid rgba(141,92,255,.95);
    outline-offset: 3px;
}

.detail-image-card img {
    transition: transform .32s ease, filter .32s ease;
}

@media (hover: hover) and (pointer: fine) {
    .platform-card:hover {
        transform: translateY(-6px);
        border-color: rgba(141,92,255,.52);
        box-shadow: 0 32px 92px rgba(0,0,0,.46), 0 0 0 1px rgba(141,92,255,.05);
    }

    .platform-card:hover .gallery-slide.is-active {
        transform: scale(1.022);
    }

    .platform-card:hover .platform-link {
        color: #fff;
    }

    .platform-card:hover .platform-link span {
        transform: translateX(4px);
    }

    .gallery-arrow {
        opacity: .78;
    }

    .platform-card:hover .gallery-arrow,
    .gallery-arrow:hover {
        opacity: 1;
    }

    .gallery-arrow:hover {
        transform: scale(1.08);
        border-color: rgba(255,255,255,.28);
        background: rgba(14,12,27,.84);
    }

    .header-contact:hover,
    .back-link:hover,
    .secondary-button:hover {
        transform: translateY(-2px);
        border-color: rgba(141,92,255,.34);
        background: rgba(141,92,255,.075);
        color: #fff;
    }

    .primary-button:hover {
        transform: translateY(-2px);
        filter: brightness(1.08);
        box-shadow: 0 16px 44px rgba(109,79,255,.32);
    }

    .site-footer > a:hover {
        color: #fff;
        transform: translateX(3px);
    }

    .tag:hover {
        border-color: rgba(141,92,255,.28);
        color: #ddd7e9;
    }

    .resource-card:hover {
        transform: translateY(-3px);
        border-color: rgba(141,92,255,.28);
        background: rgba(141,92,255,.045);
    }

    .detail-image-card:hover {
        border-color: rgba(141,92,255,.28);
        box-shadow: 0 30px 86px rgba(0,0,0,.42);
    }

    .detail-image-card:hover img {
        transform: scale(1.008);
    }
}

@media (min-width: 1000px) {
    .site-shell {
        width: min(100%, 1260px);
    }

    .site-header,
    .hero-copy,
    .section-head {
        padding-left: 34px;
        padding-right: 34px;
    }

    .cards-track {
        padding-left: 34px;
        padding-right: 34px;
        scroll-padding-inline: 34px;
        gap: 18px;
    }

    .platform-card {
        flex-basis: 372px;
    }
}

@media (max-width: 560px) {
    .site-header {
        min-height: 64px;
        padding-left: max(14px, env(safe-area-inset-left));
        padding-right: max(14px, env(safe-area-inset-right));
    }

    .brand {
        font-size: 1.06rem;
    }

    .header-contact,
    .back-link {
        min-height: 40px;
        display: inline-flex;
        align-items: center;
        justify-content: center;
        padding: 8px 11px;
        white-space: nowrap;
    }

    .hero-copy {
        padding: 38px 15px 24px;
    }

    .hero-copy h1 {
        font-size: clamp(2.05rem, 11.5vw, 3.25rem);
        line-height: 1.01;
    }

    .hero-copy > p:last-child {
        font-size: .93rem;
    }

    .section-head {
        padding-left: 15px;
        padding-right: 15px;
    }

    .cards-track {
        padding-left: 15px;
        padding-right: 15px;
        scroll-padding-inline: 15px;
        gap: 11px;
    }

    .platform-card {
        flex-basis: min(89%, 370px);
        border-radius: 20px;
    }

    .platform-body {
        padding: 15px;
    }

    .platform-description {
        font-size: .84rem;
    }

    .gallery-arrow {
        width: 44px;
        height: 44px;
        margin-top: -22px;
        background: rgba(5,5,12,.72);
    }

    .detail-page {
        padding-left: 14px;
        padding-right: 14px;
    }

    .detail-intro {
        padding-top: 36px;
        padding-bottom: 20px;
    }

    .detail-intro h1 {
        font-size: clamp(2.15rem, 13vw, 3.6rem);
    }

    .detail-block,
    .detail-cta {
        padding: 19px;
        border-radius: 19px;
    }

    .detail-gallery {
        gap: 12px;
        margin-bottom: 34px;
    }

    .detail-image-card {
        border-radius: 19px;
    }

    .detail-actions {
        display: grid;
        grid-template-columns: 1fr;
    }

    .detail-actions > a {
        width: 100%;
    }

    .site-footer {
        margin-left: 15px;
        margin-right: 15px;
    }
}

@media (max-width: 420px) {
    .resources-grid {
        grid-template-columns: 1fr;
    }

    .resource-card {
        min-height: 88px;
    }

    .section-head h2,
    .detail-block h2,
    .detail-cta h2 {
        font-size: 1.3rem;
    }
}

@media (prefers-reduced-motion: reduce) {
    .platform-card:hover,
    .gallery-slide,
    .gallery-arrow,
    .platform-link span,
    .primary-button,
    .secondary-button,
    .resource-card,
    .detail-image-card img {
        transform: none !important;
    }
}

/* =========================================================
   Acabamento visual final — marca no header + títulos de seção
   ========================================================= */
.header-actions {
    display: inline-flex;
    align-items: center;
    gap: 10px;
}
.header-mark-link {
    width: 34px;
    height: 34px;
    display: inline-grid;
    place-items: center;
    flex: 0 0 34px;
    border: 1px solid rgba(255,255,255,.08);
    border-radius: 12px;
    background: rgba(255,255,255,.025);
    text-decoration: none;
    overflow: hidden;
    transition: transform .2s ease, border-color .2s ease, background .2s ease, box-shadow .2s ease;
}
.header-mark {
    width: 26px;
    height: 26px;
    object-fit: contain;
    filter: saturate(1.04) contrast(1.03);
    transition: transform .22s ease, filter .22s ease;
}
.section-kicker {
    font-size: .75rem;
    letter-spacing: .17em;
}
.section-head h2 {
    font-size: 1.58rem;
}
.section-count {
    min-width: 32px;
    height: 32px;
}

@media (hover: hover) and (pointer: fine) {
    .header-mark-link:hover {
        transform: translateY(-2px);
        border-color: rgba(141,92,255,.32);
        background: rgba(141,92,255,.06);
        box-shadow: 0 10px 28px rgba(0,0,0,.22);
    }
    .header-mark-link:hover .header-mark {
        transform: scale(1.06) rotate(-1deg);
        filter: saturate(1.1) brightness(1.05);
    }
}

@media (max-width: 560px) {
    .header-actions { gap: 8px; }
    .header-mark-link {
        width: 32px;
        height: 32px;
        flex-basis: 32px;
        border-radius: 11px;
    }
    .header-mark { width: 24px; height: 24px; }
    .section-kicker { font-size: .72rem; }
    .section-head h2 { font-size: 1.52rem; }
}

@media (max-width: 420px) {
    .section-head h2 { font-size: 1.44rem; }
}

/* =========================================================
   Página da plataforma — galerias separadas Front / Admin
   ========================================================= */
.detail-showcase {
    margin: 22px 0 30px;
    padding: 20px;
    border: 1px solid rgba(141,92,255,.20);
    border-radius: 24px;
    background:
        radial-gradient(circle at 0 0, rgba(79,124,255,.08), transparent 20rem),
        linear-gradient(180deg, rgba(18,16,38,.92), rgba(10,10,22,.96));
    box-shadow: 0 22px 74px rgba(0,0,0,.26);
}

.detail-showcase--admin {
    border-color: rgba(79,124,255,.19);
    background:
        radial-gradient(circle at 100% 0, rgba(141,92,255,.09), transparent 22rem),
        linear-gradient(180deg, rgba(17,17,37,.94), rgba(9,10,21,.97));
}

.showcase-heading {
    display: grid;
    grid-template-columns: 48px minmax(0,1fr);
    gap: 13px;
    align-items: center;
    margin-bottom: 16px;
}

.showcase-icon {
    width: 48px;
    height: 48px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(141,92,255,.30);
    border-radius: 14px;
    background: linear-gradient(145deg, rgba(79,124,255,.13), rgba(141,92,255,.18));
    color: #a98bff;
    font-size: 1.45rem;
    box-shadow: inset 0 0 24px rgba(141,92,255,.07);
}

.detail-showcase--admin .showcase-icon {
    color: #7fa2ff;
    border-color: rgba(79,124,255,.28);
    background: linear-gradient(145deg, rgba(79,124,255,.17), rgba(141,92,255,.10));
}

.showcase-heading h2 {
    margin: 0;
    font-size: clamp(1.25rem, 4.7vw, 1.72rem);
    line-height: 1.05;
    letter-spacing: -.04em;
}

.showcase-heading p {
    max-width: 760px;
    margin: 6px 0 0;
    color: var(--muted);
    font-size: .86rem;
    line-height: 1.58;
}

.detail-carousel {
    position: relative;
    overflow: hidden;
    border: 1px solid rgba(255,255,255,.09);
    border-radius: 20px;
    background: #0b0a17;
    box-shadow: 0 18px 54px rgba(0,0,0,.34);
}

.detail-carousel-track {
    display: flex;
    overflow-x: auto;
    overflow-y: hidden;
    -webkit-overflow-scrolling: touch;
    scrollbar-width: none;
    overscroll-behavior-x: contain;
    touch-action: auto;
    cursor: grab;
    user-select: none;
}

.detail-carousel-track::-webkit-scrollbar {
    display: none;
}

.detail-carousel-track.is-dragging {
    cursor: grabbing;
}

.detail-carousel-slide {
    flex: 0 0 100%;
    min-width: 100%;
    margin: 0;
    background: linear-gradient(180deg, #0d0c1c, #080812);
}

.detail-carousel-slide img {
    width: 100%;
    height: auto;
    max-height: min(72vh, 760px);
    object-fit: contain;
    margin: 0 auto;
    pointer-events: none;
}

.detail-carousel-arrow {
    position: absolute;
    top: 50%;
    z-index: 4;
    width: 46px;
    height: 46px;
    margin-top: -38px;
    display: grid;
    place-items: center;
    border: 1px solid rgba(255,255,255,.16);
    border-radius: 50%;
    background: rgba(7,7,16,.72);
    color: #f6f2ff;
    font-size: 2rem;
    line-height: 1;
    cursor: pointer;
    backdrop-filter: blur(14px);
    transition: transform .18s ease, opacity .18s ease, background .18s ease, border-color .18s ease;
}

.detail-carousel-arrow--prev { left: 12px; }
.detail-carousel-arrow--next { right: 12px; }

.detail-carousel-arrow:disabled {
    opacity: .25;
    cursor: default;
}

.detail-carousel-footer {
    min-height: 48px;
    padding: 10px 14px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 12px;
    border-top: 1px solid rgba(255,255,255,.07);
    background: rgba(10,9,21,.91);
}

.detail-carousel-dots {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 7px;
}

.detail-carousel-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,.20);
    cursor: pointer;
    transition: width .18s ease, background .18s ease, transform .18s ease;
}

.detail-carousel-dot.is-active {
    width: 22px;
    background: linear-gradient(90deg, var(--blue), var(--violet), var(--magenta));
}

.detail-carousel-counter {
    position: absolute;
    right: 14px;
    bottom: 15px;
    color: #79738d;
    font-size: .68rem;
    font-weight: 800;
}

@media (hover: hover) and (pointer: fine) {
    .detail-showcase {
        transition: border-color .22s ease, transform .22s ease, box-shadow .22s ease;
    }

    .detail-showcase:hover {
        border-color: rgba(141,92,255,.34);
        box-shadow: 0 28px 86px rgba(0,0,0,.34);
    }

    .detail-carousel-arrow:not(:disabled):hover {
        transform: scale(1.08);
        border-color: rgba(141,92,255,.52);
        background: rgba(20,16,43,.88);
    }

    .detail-carousel-dot:hover {
        transform: scale(1.35);
        background: rgba(255,255,255,.38);
    }
}

@media (min-width: 820px) {
    .detail-showcase {
        padding: 24px;
    }

    .showcase-heading {
        grid-template-columns: 54px minmax(0,1fr);
    }

    .showcase-icon {
        width: 54px;
        height: 54px;
        border-radius: 16px;
    }
}

@media (max-width: 560px) {
    .detail-showcase {
        margin: 16px 0 24px;
        padding: 14px;
        border-radius: 20px;
    }

    .showcase-heading {
        grid-template-columns: 42px minmax(0,1fr);
        gap: 11px;
        margin-bottom: 13px;
    }

    .showcase-icon {
        width: 42px;
        height: 42px;
        border-radius: 13px;
        font-size: 1.18rem;
    }

    .showcase-heading h2 {
        font-size: 1.18rem;
    }

    .showcase-heading p {
        font-size: .79rem;
        line-height: 1.5;
    }

    .detail-carousel {
        border-radius: 17px;
    }

    .detail-carousel-slide img {
        max-height: 64vh;
    }

    .detail-carousel-arrow {
        width: 42px;
        height: 42px;
        margin-top: -34px;
        font-size: 1.7rem;
    }

    .detail-carousel-arrow--prev { left: 8px; }
    .detail-carousel-arrow--next { right: 8px; }

    .detail-carousel-footer {
        min-height: 44px;
        padding: 9px 12px;
    }

    .detail-carousel-counter {
        right: 12px;
        bottom: 14px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .detail-showcase,
    .detail-carousel-arrow,
    .detail-carousel-dot {
        transition: none !important;
    }
}
