﻿.merch-hero {
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 1.25rem;
    margin: 1rem 0;
}

.merch-video {
    width: clamp(280px, 20vw, 720px);
    height: auto;
    border-radius: 12px;
    box-shadow: 0 8px 20px rgba(0,0,0,.35);
}

.store-link {
    color: var(--accent);
    position: relative;
    overflow: hidden;
    isolation: isolate;
    display: inline-block;
    margin-top: .25rem;
    padding: 1rem 2rem;
    border: 2px solid var(--accent);
    border-radius: 10px;
    text-align: center;
    background: transparent;
    transition: border-color .2s ease, color .2s ease, transform .1s ease;
    text-decoration: none;
}
    .store-link::before {
        content: "";
        position: absolute;
        inset: -15px;
        background: var(--accent);
        transform: scaleX(0.001);
        transform-origin: left;
        transition: transform .25s ease;
        z-index: -1;
        border-radius: inherit;
    }

    .store-link:hover,
    .store-link:focus-visible {
        color: #000;
        border-color: var(--accent);
    }

        .store-link:hover::before,
        .store-link:focus-visible::before {
            transform: scaleX(1);
        }

    .store-link:active {
        transform: translateY(1px);
    }

.merch-showcase {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 1.25rem;
    width: 100%;
    margin-top: 1rem;
}

.merch-item {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: .5rem;
    justify-content: center;
}

.merch-shot {
    width: 100%;
    aspect-ratio: 1/1;
    object-fit: cover;
    border-radius: 12px;
    background: rgba(255,255,255,.04);
    border: 1px solid rgba(255,255,255,.12);
}

.merch-item h3 {
    margin: .25rem 0 0;
    text-align: center;
    margin-top: .5rem;
}

@media (max-width: 800px) {
    .merch-hero {
        flex-direction: column;
        text-align: center;
    }
}
