/**
 * Hero Slider — Game On home section 0. Live values: 562px tall at desktop,
 * Signika 700 80px/1 white headline, 6.4px rgba(0,0,0,.4) text shadow,
 * headline block ~1008px wide, 7px dots 20px from the bottom.
 */
.heroslider {
    position: relative;
    height: 562px;
    overflow: hidden;
    background: var(--brand-900, #07112d);
}

.heroslider-slide {
    position: absolute;
    inset: 0;
    display: flex;
    align-items: center;
    justify-content: center;
    padding: 0 6%;
    opacity: 0;
    visibility: hidden;
    transition: opacity 0.6s ease, visibility 0s linear 0.6s;
}

.heroslider-slide.is-active {
    opacity: 1;
    visibility: visible;
    transition: opacity 0.6s ease;
}

.heroslider-image {
    position: absolute;
    inset: 0;
    width: 100%;
    height: 100%;
    object-fit: cover;
    object-position: center 62%; /* live crop: the ball and racquets, not the fence */
}

.heroslider-heading {
    position: relative;
    max-width: 1008px;
    margin: 0;
    font-family: var(--font-display, "Signika", ui-sans-serif, system-ui, -apple-system, "Segoe UI", Helvetica, Arial, sans-serif);
    font-weight: 700;
    font-size: 80px;
    line-height: 1;
    text-align: center;
    text-wrap: balance;
    color: #ffffff;
    text-shadow: 6.4px 6.4px 6.4px rgba(0, 0, 0, 0.4);
}

.heroslider-dots {
    position: absolute;
    left: 0;
    right: 0;
    bottom: 20px;
    display: flex;
    justify-content: center;
    gap: 10px;
}

.heroslider-dot {
    width: 7px;
    height: 7px;
    padding: 0;
    border: 0;
    border-radius: 50%;
    background: rgba(255, 255, 255, 0.5);
    cursor: pointer;
}

.heroslider-dot.is-active { background: #ffffff; }
.heroslider-dot:focus-visible { outline: 2px solid #ffffff; outline-offset: 3px; }

@media (max-width: 980px) {
    .heroslider { height: 420px; }
    .heroslider-heading { font-size: 56px; }
}

@media (max-width: 767px) {
    .heroslider { height: 300px; }
    .heroslider-heading { font-size: 34px; }
}

@media (prefers-reduced-motion: reduce) {
    .heroslider-slide, .heroslider-slide.is-active { transition: none; }
}
