/* Homepage Features section. Scoped so the rest of the homepage is unchanged. */

.home-features {
    padding-top: 28px;
    padding-bottom: 28px;
}

.home-features .section-subtitle {
    max-width: 46rem;
}

.home-feat-hero {
    display: grid;
    grid-template-columns: minmax(0, 1.05fr) minmax(0, 0.95fr);
    margin: 28px 0 22px;
    overflow: hidden;
    border-radius: 22px;
    border: 1px solid rgba(0, 206, 209, 0.35);
    background: var(--bg-card);
}

.home-feat-copy {
    padding: 36px 36px 32px;
}

.home-feat-copy h3 {
    font-size: clamp(26px, 3vw, 34px);
    letter-spacing: -0.03em;
    line-height: 1.15;
    margin: 8px 0 12px;
}

.home-feat-copy p,
.home-feat-card p,
.home-feat-band p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.home-feat-copy ul {
    list-style: none;
    margin: 14px 0 18px;
    padding: 0;
}

.home-feat-copy li {
    margin: 8px 0;
    color: var(--text-secondary);
    line-height: 1.5;
}

.home-feat-copy li::before {
    content: "✓ ";
    color: var(--cyan);
    font-weight: 800;
}

.home-feat-note {
    margin-top: 14px;
    font-size: 13px;
    color: var(--text-muted);
    line-height: 1.5;
}

.home-feat-fan {
    position: relative;
    min-height: 420px;
    background: #0e0e16;
}

.home-feat-fan img {
    position: absolute;
    width: 46%;
    height: auto;
    border-radius: 8px;
    box-shadow: 0 16px 40px rgba(0, 0, 0, 0.55);
    object-fit: cover;
    object-position: top center;
    aspect-ratio: 3 / 4;
}

.home-feat-fan img:nth-of-type(1) {
    left: 6%;
    top: 48px;
    transform: rotate(-7deg);
}

.home-feat-fan img:nth-of-type(2) {
    left: 28%;
    top: 22px;
    transform: rotate(1deg);
    z-index: 2;
}

.home-feat-fan img:nth-of-type(3) {
    left: 50%;
    top: 56px;
    transform: rotate(7deg);
}

.home-feat-row {
    display: grid;
    grid-template-columns: repeat(4, minmax(0, 1fr));
    gap: 12px;
}

.home-feat-item {
    display: flex;
    gap: 12px;
    align-items: flex-start;
    padding: 12px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background: transparent;
    text-decoration: none;
    color: inherit;
    min-width: 0;
}

.home-feat-item:hover {
    border-color: rgba(0, 206, 209, 0.45);
}

.home-feat-item img {
    width: 96px;
    height: 96px;
    object-fit: cover;
    border-radius: 10px;
    flex: 0 0 auto;
}

.home-feat-item h3 {
    font-size: 15px;
    margin: 0 0 4px;
    letter-spacing: -0.02em;
}

.home-feat-item p {
    font-size: 13px;
    line-height: 1.45;
    margin: 0;
    color: var(--text-secondary);
}

.home-comic {
    padding-top: 12px;
    padding-bottom: 56px;
}

.home-looks {
    margin-top: 28px;
}

.home-looks h2 {
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
    margin: 0 0 8px;
    text-align: center;
}

.home-looks > p {
    text-align: center;
    color: var(--text-secondary);
    margin: 0 auto 18px;
    max-width: 36rem;
}

.home-looks-grid {
    display: grid;
    grid-template-columns: repeat(3, minmax(0, 1fr));
    gap: 14px;
}

.home-looks-grid figure {
    margin: 0;
}

.home-looks-grid img {
    width: 100%;
    height: auto;
    aspect-ratio: 3 / 4;
    object-fit: cover;
    object-position: top center;
    border-radius: 12px;
    display: block;
    border: 1px solid rgba(255, 255, 255, 0.08);
}

.home-looks-grid figcaption {
    margin-top: 6px;
    font-size: 13px;
    color: var(--text-muted);
    text-align: center;
}

.home-feat-card {
    background: var(--bg-card);
    border: 1px solid var(--border);
    border-radius: 18px;
    padding: 20px 18px 18px;
    min-height: 100%;
}

.home-feat-card h3 {
    font-size: 18px;
    letter-spacing: -0.02em;
    margin: 0 0 8px;
}

.home-feat-card p {
    font-size: 14.5px;
    margin: 0 0 12px;
}

.home-feat-card .home-feat-note {
    margin: 0 0 12px;
}

.home-feat-links {
    display: flex;
    flex-wrap: wrap;
    gap: 8px 14px;
    align-items: center;
}

.home-feat-links .btn {
    text-decoration: none;
}

.home-feat-textlink {
    color: var(--text-secondary);
    font-weight: 600;
    font-size: 14px;
    text-decoration: underline;
    text-underline-offset: 3px;
}

.home-feat-textlink:hover {
    color: var(--cyan);
}

.home-feat-cutout {
    position: relative;
    height: 168px;
    margin: -4px -4px 14px;
    border-radius: 12px;
    border: 1px solid rgba(255, 255, 255, 0.08);
    background:
        conic-gradient(#2a2a3a 25%, #1c1c28 0 50%, #2a2a3a 0 75%, #1c1c28 0) 0 0 / 22px 22px;
    display: flex;
    align-items: flex-end;
    justify-content: center;
    overflow: hidden;
}

.home-feat-silhouette {
    width: 62px;
    height: 118px;
    margin-bottom: 10px;
    border-radius: 34px 34px 10px 10px;
    background: linear-gradient(#5ff0f2, #00797b);
}

.home-feat-pill {
    display: inline-flex;
    align-items: center;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    text-transform: uppercase;
    padding: 3px 8px;
    border-radius: 999px;
    background: rgba(0, 206, 209, 0.14);
    color: var(--cyan);
    border: 1px solid rgba(0, 206, 209, 0.28);
}

.home-feat-pill--soon {
    background: rgba(212, 160, 23, 0.14);
    color: #e0b84a;
    border-color: rgba(212, 160, 23, 0.35);
}

.home-feat-band {
    margin-top: 22px;
    text-align: center;
    padding: 40px 24px;
    border-radius: 22px;
    border: 1px solid rgba(0, 206, 209, 0.18);
    background:
        radial-gradient(520px 160px at 50% 0%, rgba(0, 206, 209, 0.16), transparent 70%),
        var(--bg-card);
}

.home-feat-band h3 {
    font-size: clamp(26px, 3vw, 36px);
    letter-spacing: -0.03em;
    margin: 0 0 10px;
}

.home-feat-band p {
    max-width: 38rem;
    margin: 0 auto 18px;
}

.home-feat-band-actions {
    display: flex;
    flex-wrap: wrap;
    gap: 12px 18px;
    justify-content: center;
    align-items: center;
}

.home-feat-band-actions .btn {
    text-decoration: none;
}

@media (max-width: 1100px) {
    .home-feat-row {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 800px) {
    .home-feat-hero {
        grid-template-columns: 1fr;
    }

    .home-feat-copy {
        padding: 24px 20px 8px;
    }

    .home-feat-fan {
        min-height: 0;
        display: flex;
        align-items: flex-start;
        justify-content: center;
        gap: 8px;
        padding: 16px 10px 14px;
    }

    .home-feat-fan img,
    .home-feat-fan img:nth-of-type(1),
    .home-feat-fan img:nth-of-type(2),
    .home-feat-fan img:nth-of-type(3) {
        position: static;
        width: 31%;
        height: auto;
        aspect-ratio: 3 / 4;
        object-fit: cover;
        object-position: top center;
        transform: none;
    }

    .home-feat-row {
        grid-template-columns: 1fr;
    }

    .home-looks-grid {
        grid-template-columns: repeat(2, minmax(0, 1fr));
    }
}

@media (max-width: 390px) {
    .home-features {
        padding-left: 0;
        padding-right: 0;
    }

    .home-feat-copy h3,
    .home-feat-band h3 {
        font-size: 26px;
    }

    .home-feat-band-actions,
    .home-feat-links {
        flex-direction: column;
        align-items: stretch;
    }

    .home-feat-band-actions .btn,
    .home-feat-links .btn {
        width: 100%;
        text-align: center;
    }
}

.home-features .guide-preview-badge {
    position: absolute;
    top: 10px;
    left: 10px;
    z-index: 2;
    font-size: 11px;
    font-weight: 700;
    letter-spacing: 0.04em;
    background: rgba(0, 0, 0, 0.72);
    color: #fff;
    padding: 3px 8px;
    border-radius: 6px;
}
