.hero-mockup {
    position: relative;
    aspect-ratio: 16 / 9;
}

.hero-demo-play {
    position: absolute;
    inset: 50% auto auto 50%;
    transform: translate(-50%, -50%);
    display: inline-flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
    min-height: 48px;
    padding: 10px 18px;
    border: 1px solid rgba(255, 255, 255, 0.34);
    border-radius: 999px;
    background: rgba(8, 10, 17, 0.9);
    color: var(--landing-text);
    font: inherit;
    font-weight: 700;
    cursor: pointer;
    touch-action: manipulation;
    box-shadow: 0 12px 34px rgba(0, 0, 0, 0.45);
}

.hero-demo-play svg {
    width: 22px;
    height: 22px;
    fill: currentColor;
}

.hero-demo-play:hover {
    background: rgba(26, 31, 56, 0.96);
}

.hero-demo-play:focus-visible {
    outline: 3px solid #ffffff;
    outline-offset: 3px;
}

.hero-mockup.is-playing .hero-demo-play {
    opacity: 0;
    pointer-events: none;
}

@media (max-width: 520px) {
    .hero-demo-play {
        width: calc(100% - 32px);
        max-width: 250px;
    }
}

@media (prefers-reduced-motion: reduce) {
    .hero-demo-play {
        transition: none;
    }
}
