/* Anime detail – upcoming feature cards */
.anime-roadmap-stack {
    display: grid;
    gap: .7rem;
}

.anime-roadmap-card {
    position: relative;
    display: flex;
    align-items: flex-start;
    gap: .85rem;
    padding: .95rem 1rem;
    border: 1px solid rgba(126, 145, 166, .18);
    border-radius: 12px;
    background:
        linear-gradient(135deg, rgba(255,255,255,.022), rgba(255,255,255,.008)),
        rgba(8, 11, 15, .58);
    box-shadow: 0 6px 22px rgba(0, 0, 0, .12);
    overflow: hidden;
    transform: translateZ(0) scale(1);
    transition:
        border-color 240ms cubic-bezier(.25,.1,.25,1),
        box-shadow 240ms cubic-bezier(.25,.1,.25,1),
        background-color 240ms cubic-bezier(.25,.1,.25,1),
        transform 240ms cubic-bezier(.25,.1,.25,1);
}

.anime-roadmap-card::after {
    content: "";
    position: absolute;
    inset: 0;
    pointer-events: none;
    background: radial-gradient(circle at 12% 18%, rgba(255,255,255,.055), transparent 42%);
    opacity: .55;
    transition: opacity 240ms cubic-bezier(.25,.1,.25,1);
}

.anime-roadmap-icon {
    position: relative;
    z-index: 1;
    flex: 0 0 34px;
    width: 34px;
    height: 34px;
    display: grid;
    place-items: center;
    border-radius: 50%;
    border: 1px solid rgba(236, 43, 54, .32);
    background: rgba(236, 43, 54, .055);
    color: #ec2b36;
}

.anime-roadmap-icon svg {
    width: 17px;
    height: 17px;
    fill: none;
    stroke: currentColor;
    stroke-width: 1.7;
    stroke-linecap: round;
    stroke-linejoin: round;
}

.anime-roadmap-icon svg path[d*="m10 8"] {
    fill: currentColor;
    stroke: none;
}

.anime-roadmap-body {
    position: relative;
    z-index: 1;
    min-width: 0;
    flex: 1 1 auto;
}

.anime-roadmap-heading {
    display: flex;
    align-items: center;
    justify-content: space-between;
    gap: .6rem;
    margin-bottom: .35rem;
}

.anime-roadmap-heading h2 {
    margin: 0;
    color: #f2f5f8;
    font-size: .84rem;
    line-height: 1.15;
    font-weight: 600;
    letter-spacing: .015em;
}

.anime-roadmap-badge {
    flex: 0 0 auto;
    display: inline-flex;
    align-items: center;
    min-height: 20px;
    padding: .2rem .45rem;
    border: 1px solid rgba(147, 164, 184, .2);
    border-radius: 999px;
    background: rgba(147, 164, 184, .055);
    color: #8795a6;
    font-size: .55rem;
    font-weight: 600;
    line-height: 1;
    letter-spacing: .08em;
    text-transform: uppercase;
    white-space: nowrap;
}

.anime-roadmap-card p {
    margin: 0;
    color: #7f8c9b;
    font-size: .74rem;
    line-height: 1.45;
}

@media (hover: hover) and (pointer: fine) {
    .anime-roadmap-card:hover {
        transform: translateZ(0) scale(1.008);
        border-color: rgba(154, 171, 191, .3);
        box-shadow: 0 10px 28px rgba(0, 0, 0, .18), 0 0 22px rgba(200, 210, 220, .025);
    }

    .anime-roadmap-card:hover::after {
        opacity: .78;
    }
}

@media (prefers-reduced-motion: reduce) {
    .anime-roadmap-card,
    .anime-roadmap-card::after {
        transition: none;
    }
}

@media (max-width: 1199.98px) {
    .anime-roadmap-stack {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 767.98px) {
    .anime-roadmap-stack {
        grid-template-columns: 1fr;
    }
}
