.p8-hero-layout {
    min-height: calc(100vh - 86px);
    padding: 34px;
    display: grid;
    grid-template-columns: 1fr 360px;
    gap: 26px;
    align-items: stretch;
}

.p8-hero-visual {
    min-height: 620px;
    border-radius: 32px;
    overflow: hidden;
    position: relative;
    background: rgba(7,17,31,0.88);
    border: 1px solid rgba(0,157,255,0.25);
    box-shadow:
        0 0 45px rgba(0,157,255,0.20),
        inset 0 0 80px rgba(0,0,0,0.35);
}

.p8-hero-visual > img,
.p8-slide img {
    width: 100%;
    height: 100%;
    object-fit: cover;
    display: block;
    position: absolute;
    inset: 0;
}

.p8-hero-visual::after {
    content: "";
    position: absolute;
    inset: 0;
    background:
        linear-gradient(90deg, rgba(0,0,0,0.78), rgba(0,0,0,0.25), rgba(0,0,0,0.65)),
        radial-gradient(circle at 20% 20%, rgba(0,157,255,0.25), transparent 35%),
        radial-gradient(circle at 80% 80%, rgba(255,122,0,0.20), transparent 35%);
    z-index: 2;
}

.p8-hero-overlay {
    position: absolute;
    left: 42px;
    bottom: 42px;
    right: 42px;
    z-index: 5;
    max-width: 620px;
}

.p8-hero-overlay span {
    display: inline-flex;
    padding: 10px 15px;
    border-radius: 999px;
    background: rgba(255,122,0,0.14);
    border: 1px solid rgba(255,122,0,0.32);
    color: #ffe3c4;
    font-weight: 900;
    margin-bottom: 18px;
}

.p8-hero-overlay h1 {
    font-size: clamp(44px, 6vw, 88px);
    line-height: 0.95;
    margin-bottom: 18px;
    color: white;
    text-shadow: 0 4px 28px rgba(0,0,0,0.55);
}

.p8-hero-overlay p {
    font-size: clamp(18px, 2vw, 30px);
    color: #dff4ff;
    font-weight: 800;
    margin-bottom: 24px;
    text-shadow: 0 4px 20px rgba(0,0,0,0.45);
}

.p8-hero-overlay a {
    display: inline-flex;
    align-items: center;
    justify-content: center;
    padding: 17px 28px;
    border-radius: 16px;
    background: linear-gradient(135deg, var(--orange), #ffb000);
    color: white;
    font-weight: 900;
    text-decoration: none;
    box-shadow: 0 0 30px rgba(255,122,0,0.38);
}

.p8-slider {
    background: #05070d;
}

.p8-slide {
    position: absolute;
    inset: 0;
    opacity: 0;
    transition: opacity 0.8s ease;
}

.p8-slide.active {
    opacity: 1;
}

.p8-slider-dots {
    position: absolute;
    left: 42px;
    bottom: 22px;
    z-index: 10;
    display: flex;
    gap: 8px;
}

.p8-slider-dots button {
    width: 13px;
    height: 13px;
    border: 0;
    border-radius: 999px;
    background: rgba(255,255,255,0.35);
    cursor: pointer;
}

.p8-slider-dots button.active {
    width: 34px;
    background: var(--orange);
}

.trend-link {
    color: inherit;
    text-decoration: none;
    cursor: pointer;
    transition: 0.25s;
}

.trend-link:hover {
    transform: translateX(5px);
    background: rgba(255, 122, 0, 0.06);
}

@media (max-width: 1150px) {
    .p8-hero-layout {
        grid-template-columns: 1fr;
    }

    .p8-hero-visual {
        min-height: 520px;
    }
}

@media (max-width: 700px) {
    .p8-hero-layout {
        padding: 18px;
    }

    .p8-hero-visual {
        min-height: 420px;
        border-radius: 22px;
    }

    .p8-hero-overlay {
        left: 22px;
        right: 22px;
        bottom: 32px;
    }

    .p8-hero-overlay h1 {
        font-size: 42px;
    }

    .p8-hero-overlay p {
        font-size: 18px;
    }

    .p8-slider-dots {
        left: 22px;
    }
}