.ffg-hero {
    --ffg-orange: #ff5a14;
    --ffg-border: rgba(255, 107, 32, 0.45);
    --ffg-panel: rgba(10, 10, 10, 0.78);

    position: relative;
    overflow: hidden;
    isolation: isolate;
    color: #fff;
    background: #030303;
    padding: clamp(32px, 6vw, 86px) 0 48px;
    font-family: inherit;
}

.ffg-hero__background {
    position: absolute;
    inset: 0;
    z-index: -2;
    background:
        radial-gradient(circle at 50% 20%, rgba(255, 90, 20, 0.22), transparent 34%),
        linear-gradient(180deg, rgba(0, 0, 0, 0.1), #000 85%),
        url("bg-event.webp") center / cover no-repeat;
    opacity: 0.9;
}

.ffg-hero::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: -1;
    background:
        linear-gradient(90deg, rgba(0, 0, 0, 0.9), transparent 28%, transparent 72%, rgba(0, 0, 0, 0.9)),
        linear-gradient(180deg, transparent, rgba(0, 0, 0, 0.9));
    pointer-events: none;
}

.ffg-slider {
    position: relative;
    max-width: 1180px;
    margin: 0 auto;
    padding: 0 56px;
}

.ffg-track {
    display: flex;
    gap: 24px;
    overflow-x: auto;
    scroll-snap-type: x mandatory;
    scroll-behavior: smooth;
    scrollbar-width: none;
    padding: 8px 0 22px;
}

.ffg-track::-webkit-scrollbar {
    display: none;
}

.ffg-slide {
    flex: 0 0 min(78vw, 880px);
    min-height: 340px;
    display: grid;
    grid-template-columns: minmax(250px, 0.9fr) minmax(300px, 1.1fr);
    align-items: center;
    gap: clamp(20px, 3vw, 42px);
    scroll-snap-align: center;
    padding: clamp(24px, 3.4vw, 46px);
    border: 1px solid var(--ffg-border);
    border-radius: 24px;
    background:
        linear-gradient(135deg, rgba(255, 90, 20, 0.1), transparent 42%),
        linear-gradient(180deg, rgba(18, 18, 18, 0.92), rgba(2, 2, 2, 0.9));
    box-shadow:
        0 0 28px rgba(255, 90, 20, 0.22),
        0 24px 80px rgba(0, 0, 0, 0.6);
    opacity: 0.56;
    transform: scale(0.94);
    transition: opacity 220ms ease, transform 220ms ease;
}

.ffg-slide.is-active {
    opacity: 1;
    transform: scale(1);
}

.ffg-eyebrow {
    margin: 0 0 10px;
    color: var(--ffg-orange);
    font-size: 0.82rem;
    font-weight: 800;
    letter-spacing: 0.08em;
    text-transform: uppercase;
}

.ffg-title {
    margin: 0;
    font-size: clamp(3rem, 6vw, 5.2rem);
    line-height: 0.9;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: -0.05em;
}

.ffg-body {
    max-width: 360px;
    margin: 18px 0 28px;
    color: rgba(255, 255, 255, 0.82);
    font-size: clamp(1rem, 1.3vw, 1.25rem);
    line-height: 1.4;
}

.ffg-button {
    display: inline-flex;
    align-items: center;
    gap: 14px;
    min-height: 52px;
    padding: 0 28px;
    border-radius: 999px;
    color: #fff;
    background: linear-gradient(180deg, #ff7a24, #f04a0c);
    text-decoration: none;
    font-weight: 800;
    box-shadow: 0 10px 30px rgba(255, 90, 20, 0.35);
}

.ffg-button:hover,
.ffg-button:focus-visible {
    transform: translateY(-1px);
    outline: 2px solid rgba(255, 255, 255, 0.85);
    outline-offset: 3px;
}

.ffg-slide__media img {
    display: block;
    width: 100%;
    aspect-ratio: 16 / 9;
    object-fit: cover;
    border-radius: 18px;
    background: #111;
    border: 1px solid rgba(255, 255, 255, 0.12);
}

.ffg-arrow {
    position: absolute;
    top: 44%;
    z-index: 2;
    width: 54px;
    height: 54px;
    border-radius: 50%;
    border: 1px solid rgba(255, 255, 255, 0.5);
    color: #fff;
    background: rgba(0, 0, 0, 0.78);
    font-size: 42px;
    line-height: 1;
    cursor: pointer;
}

.ffg-arrow--prev {
    left: 18px;
}

.ffg-arrow--next {
    right: 18px;
}

.ffg-arrow:hover,
.ffg-arrow:focus-visible {
    border-color: var(--ffg-orange);
    outline: none;
}

.ffg-dots {
    display: flex;
    justify-content: center;
    gap: 9px;
    margin-top: 4px;
}

.ffg-dot {
    width: 20px;
    height: 5px;
    border: 0;
    border-radius: 999px;
    background: rgba(255, 255, 255, 0.25);
    cursor: pointer;
}

.ffg-dot.is-active {
    width: 28px;
    background: var(--ffg-orange);
}

.ffg-info-strip {
    max-width: 1040px;
    margin: 28px auto 0;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 1px;
    padding: 18px;
    border: 1px solid rgba(255, 107, 32, 0.22);
    border-radius: 18px;
    background: rgba(12, 12, 12, 0.78);
    backdrop-filter: blur(8px);
}

.ffg-info-item {
    padding: 10px 24px;
}

.ffg-info-item strong {
    display: block;
    margin-bottom: 6px;
    color: var(--ffg-orange);
    font-size: 0.84rem;
    text-transform: uppercase;
    letter-spacing: 0.06em;
}

.ffg-info-item span {
    color: rgba(255, 255, 255, 0.78);
}

.ffg-booth {
    color: #fff !important;
    font-size: 1.8rem;
    font-weight: 900;
}

@media (max-width: 760px) {
    .ffg-hero {
        padding: 28px 0 32px;
    }

    .ffg-slider {
        padding: 0 0 0 16px;
    }

    .ffg-track {
        gap: 14px;
        padding-right: 16px;
        scroll-padding-left: 16px;
    }

    .ffg-slide {
        flex-basis: 86vw;
        grid-template-columns: 1fr;
        min-height: auto;
        padding: 20px;
        opacity: 1;
        transform: none;
        border-radius: 18px;
    }

    .ffg-slide__media {
        order: -1;
    }

    .ffg-slide__media img {
        aspect-ratio: 4 / 3;
        border-radius: 14px;
    }

    .ffg-title {
        font-size: clamp(2.7rem, 14vw, 4.2rem);
    }

    .ffg-body {
        margin: 14px 0 22px;
    }

    .ffg-button {
        width: 100%;
        justify-content: center;
    }

    .ffg-arrow {
        display: none;
    }

    .ffg-info-strip {
        margin: 20px 16px 0;
        grid-template-columns: 1fr;
        padding: 12px;
    }

    .ffg-info-item {
        padding: 14px;
        border-bottom: 1px solid rgba(255, 255, 255, 0.08);
    }

    .ffg-info-item:last-child {
        border-bottom: 0;
    }
}

@media (prefers-reduced-motion: reduce) {
    .ffg-track {
        scroll-behavior: auto;
    }

    .ffg-slide,
    .ffg-button {
        transition: none;
    }
}