.hero-3d-section {
    position: relative;
    min-height: max(760px, calc(100vh - 82px));
    overflow: hidden;
    display: flex;
    align-items: center;
    padding: 72px 24px 84px;
    background:
        radial-gradient(circle at 66% 46%, rgba(217, 120, 43, 0.28), transparent 24%),
        radial-gradient(circle at 72% 42%, rgba(56, 189, 248, 0.32), transparent 34%),
        radial-gradient(circle at 54% 76%, rgba(16, 185, 129, 0.24), transparent 36%),
        radial-gradient(circle at 86% 20%, rgba(167, 139, 250, 0.16), transparent 27%),
        linear-gradient(135deg, #082033 0%, #0b2e3d 36%, #0d4650 68%, #09283a 100%);
}

.hero-3d-section::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(90deg, rgba(3, 12, 24, 0.76) 0%, rgba(3, 18, 31, 0.48) 36%, rgba(3, 18, 31, 0.05) 74%),
        linear-gradient(180deg, rgba(255, 255, 255, 0.08), transparent 38%, rgba(2, 6, 23, 0.06));
}

.hero-3d-section::after {
    content: "";
    position: absolute;
    inset: auto 0 0;
    height: 190px;
    z-index: 2;
    pointer-events: none;
    background: linear-gradient(180deg, transparent, rgba(2, 6, 23, 0.82));
}

.hero-readable-glow {
    position: absolute;
    left: -10%;
    top: 12%;
    width: min(720px, 70vw);
    height: 70%;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 28% 34%, rgba(14, 165, 233, 0.24), transparent 36%),
        radial-gradient(circle at 18% 68%, rgba(16, 185, 129, 0.2), transparent 42%),
        radial-gradient(circle at 44% 52%, rgba(217, 120, 43, 0.08), transparent 44%);
    filter: blur(1px);
}

.hero-overlay .inline-flex,
.hero-content h1,
.hero-content p,
.landing-tech-tags,
.hero-content .flex {
    animation: heroRise 0.9s cubic-bezier(.2, .8, .2, 1) both;
}

.hero-content h1 { animation-delay: 0.08s; }
.hero-content p { animation-delay: 0.16s; }
.landing-tech-tags { animation-delay: 0.24s; }
.hero-content .flex { animation-delay: 0.32s; }

@keyframes heroRise {
    from {
        opacity: 0;
        transform: translateY(18px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

.hero-overlay {
    position: relative;
    z-index: 3;
    width: 100%;
    min-height: 560px;
    display: flex;
    align-items: center;
    pointer-events: none;
}

.hero-content {
    width: min(710px, 52%);
    min-width: 0;
    text-align: left;
    pointer-events: auto;
}

.hero-content .text-gradient {
    background: linear-gradient(135deg, #ffffff 0%, #a7f3d0 34%, #7dd3fc 72%, #dbeafe 100%);
    -webkit-background-clip: text;
    background-clip: text;
    color: transparent;
    text-shadow: 0 20px 70px rgba(45, 212, 191, 0.2);
}

.hero-content p {
    text-shadow: 0 14px 34px rgba(2, 6, 23, 0.42);
}

.landing-tech-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 10px;
}

.landing-tech-tags span {
    display: inline-flex;
    align-items: center;
    min-height: 36px;
    padding: 8px 12px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.28);
    background: rgba(8, 47, 73, 0.42);
    color: #d1fae5;
    box-shadow: 0 10px 26px rgba(8, 145, 178, 0.1);
    backdrop-filter: blur(8px);
    font-size: 13px;
    font-weight: 900;
    line-height: 1.3;
}

.hero-content button {
    box-shadow: 0 18px 52px rgba(16, 185, 129, 0.1);
}

.hero-content button:hover {
    box-shadow: 0 22px 70px rgba(45, 212, 191, 0.18);
}

.nba-hero3d-background-root {
    position: absolute;
    inset: 0;
    z-index: 0;
    pointer-events: auto;
    overflow: hidden;
}

.nba-hero3d-background-root::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
    background:
        linear-gradient(120deg, transparent 0 46%, rgba(125, 211, 252, 0.08) 50%, transparent 54%),
        repeating-linear-gradient(180deg, rgba(255,255,255,0.025) 0 1px, transparent 1px 7px);
    mix-blend-mode: screen;
    opacity: 0.3;
    animation: heroScan 12s ease-in-out infinite alternate;
}

@keyframes heroScan {
    from { transform: translateX(-3%) translateY(-1%); opacity: 0.34; }
    to { transform: translateX(4%) translateY(1%); opacity: 0.56; }
}

.nba-hero3d-background {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 63% 46%, rgba(242, 166, 90, 0.24), transparent 26%),
        radial-gradient(circle at 72% 42%, rgba(52, 211, 153, 0.16), transparent 32%),
        radial-gradient(circle at 86% 18%, rgba(125, 211, 252, 0.22), transparent 25%),
        radial-gradient(circle at 76% 58%, rgba(167, 139, 250, 0.13), transparent 30%);
}

.nba-hero3d-canvas-layer {
    position: absolute;
    inset: 0;
    pointer-events: none;
}

.nba-hero3d-canvas-layer canvas {
    display: block;
    width: 100% !important;
    height: 100% !important;
}

.nba-hero3d-interaction-zone {
    position: absolute;
    right: 0;
    top: 0;
    z-index: 4;
    width: min(56vw, 900px);
    height: 100%;
    border: 0;
    padding: 0;
    margin: 0;
    appearance: none;
    background: transparent;
    cursor: pointer;
    pointer-events: auto;
}

.nba-hero3d-interaction-zone:focus-visible {
    outline: 1px solid rgba(103, 232, 249, 0.55);
    outline-offset: -28px;
    border-radius: 32px;
}

.nba-hero3d-background::before {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        linear-gradient(rgba(125, 211, 252, 0.055) 1px, transparent 1px),
        linear-gradient(90deg, rgba(52, 211, 153, 0.045) 1px, transparent 1px);
    background-size: 72px 72px;
    mask-image: linear-gradient(90deg, transparent 0%, black 36%, black 100%);
    opacity: 0.55;
}

.nba-hero3d-background::after {
    content: "";
    position: absolute;
    inset: 0;
    z-index: 1;
    pointer-events: none;
    background:
        radial-gradient(circle at 66% 48%, transparent 0 32%, rgba(7, 24, 39, 0.04) 50%, rgba(7, 17, 31, 0.18) 100%),
        linear-gradient(180deg, rgba(255,255,255,0.08), transparent 42%);
}

.nba-hero3d-hud {
    position: absolute;
    right: clamp(18px, 4.2vw, 72px);
    bottom: clamp(28px, 6vh, 82px);
    z-index: 2;
    display: grid;
    gap: 12px;
    width: min(320px, 30vw);
    opacity: 0.62;
    transition: opacity 0.28s ease, filter 0.28s ease, transform 0.28s ease;
}

.nba-hero3d-hud-panel {
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.18);
    background: rgba(3, 20, 32, 0.22);
    box-shadow: 0 18px 42px rgba(2, 6, 23, 0.2);
    backdrop-filter: blur(10px);
    transition: border-color 0.28s ease, background 0.28s ease, box-shadow 0.28s ease;
}

.nba-hero3d-hud.is-synced {
    opacity: 0.88;
    filter: saturate(1.18);
    transform: translateY(-2px);
}

.nba-hero3d-hud.is-synced .nba-hero3d-hud-panel {
    border-color: rgba(52, 211, 153, 0.34);
    background: rgba(4, 47, 46, 0.32);
    box-shadow: 0 24px 78px rgba(45, 212, 191, 0.18);
}

.nba-hero3d-hud-panel span,
.nba-hero3d-static-copy span {
    display: block;
    color: #67e8f9;
    font-size: 11px;
    font-weight: 900;
    text-transform: uppercase;
    letter-spacing: 0;
}

.nba-hero3d-hud-panel strong,
.nba-hero3d-static-copy strong {
    display: block;
    margin-top: 6px;
    color: #f8fafc;
    font-size: 18px;
    line-height: 1.3;
    font-weight: 950;
}

.nba-hero3d-hud-panel small,
.nba-hero3d-static-copy p {
    display: block;
    margin-top: 5px;
    color: #bfdbfe;
    font-size: 12px;
    line-height: 1.55;
}

.nba-hero3d-hud-tags,
.nba-hero3d-static-tags {
    display: flex;
    flex-wrap: wrap;
    gap: 8px;
}

.nba-hero3d-hud-tags span,
.nba-hero3d-static-tags span {
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(52, 211, 153, 0.16);
    background: rgba(15, 118, 110, 0.1);
    color: #d1fae5;
    font-size: 11px;
    line-height: 1.2;
    font-weight: 900;
    backdrop-filter: blur(8px);
}

.nba-hero3d-floating-tags {
    position: absolute;
    inset: 0;
    z-index: 2;
    pointer-events: none;
}

.nba-hero3d-floating-tags span {
    position: absolute;
    display: inline-flex;
    align-items: center;
    min-height: 30px;
    padding: 7px 10px;
    border-radius: 999px;
    border: 1px solid rgba(125, 211, 252, 0.16);
    background: rgba(3, 20, 32, 0.18);
    color: rgba(209, 250, 229, 0.62);
    font-size: 10px;
    line-height: 1.1;
    font-weight: 950;
    letter-spacing: 0;
    box-shadow: 0 12px 30px rgba(2, 6, 23, 0.16);
    backdrop-filter: blur(8px);
    opacity: 0.34;
    transform: translate3d(0, 8px, 0);
    transition: opacity 0.34s ease, color 0.34s ease, border-color 0.34s ease, background 0.34s ease, transform 0.34s ease;
}

.nba-hero3d-floating-tags .tag-a {
    right: clamp(280px, 28vw, 520px);
    top: 28%;
}

.nba-hero3d-floating-tags .tag-b {
    right: clamp(48px, 9vw, 170px);
    top: 37%;
}

.nba-hero3d-floating-tags .tag-c {
    right: clamp(220px, 24vw, 430px);
    top: 64%;
}

.nba-hero3d-floating-tags.is-active span,
.nba-hero3d-background.is-hovered .nba-hero3d-floating-tags span {
    opacity: 0.82;
    color: #d1fae5;
    border-color: rgba(52, 211, 153, 0.32);
    background: rgba(15, 118, 110, 0.18);
    transform: translate3d(0, 0, 0);
}

.nba-hero3d-floating-tags.is-active .tag-a { transition-delay: 0.02s; }
.nba-hero3d-floating-tags.is-active .tag-b { transition-delay: 0.08s; }
.nba-hero3d-floating-tags.is-active .tag-c { transition-delay: 0.14s; }

.nba-hero3d-model-error {
    position: absolute;
    right: clamp(20px, 6vw, 96px);
    top: clamp(110px, 18vh, 180px);
    z-index: 3;
    max-width: min(360px, 34vw);
    padding: 12px 14px;
    border-radius: 16px;
    border: 1px solid rgba(248, 113, 113, 0.22);
    background: rgba(69, 10, 10, 0.26);
    color: #fecaca;
    font-size: 13px;
    line-height: 1.6;
    font-weight: 800;
    box-shadow: 0 18px 44px rgba(2, 6, 23, 0.28);
    backdrop-filter: blur(10px);
}

.nba-hero3d-static-fallback {
    position: absolute;
    inset: 0;
    overflow: hidden;
    background:
        radial-gradient(circle at 64% 44%, rgba(242, 166, 90, 0.34), transparent 26%),
        radial-gradient(circle at 72% 42%, rgba(56, 189, 248, 0.24), transparent 30%),
        radial-gradient(circle at 68% 54%, rgba(52, 211, 153, 0.16), transparent 34%),
        radial-gradient(circle at 84% 22%, rgba(167, 139, 250, 0.16), transparent 28%),
        linear-gradient(135deg, #082033, #0d4650 68%, #09283a);
}

.nba-hero3d-static-copy {
    position: absolute;
    right: clamp(18px, 6vw, 96px);
    bottom: clamp(44px, 9vh, 112px);
    width: min(340px, 40vw);
    padding: 16px 18px;
    border-radius: 18px;
    border: 1px solid rgba(125, 211, 252, 0.22);
    background: rgba(3, 20, 32, 0.34);
    backdrop-filter: blur(10px);
}

.nba-hero3d-static-tags {
    position: absolute;
    right: clamp(18px, 6vw, 96px);
    bottom: clamp(14px, 5vh, 62px);
    width: min(340px, 40vw);
}

.predict-analysis-full {
    width: 100%;
    max-width: 1180px;
    margin-left: auto;
    margin-right: auto;
}

@media (max-width: 1024px) {
    .hero-3d-section {
        min-height: 820px;
        align-items: flex-start;
        padding-top: 88px;
    }

    .hero-3d-section::before {
        background:
            linear-gradient(180deg, rgba(3, 7, 18, 0.82) 0%, rgba(3, 7, 18, 0.46) 52%, rgba(3, 7, 18, 0.26) 100%);
    }

    .hero-overlay {
        min-height: 560px;
        align-items: flex-start;
    }

    .nba-hero3d-hud {
        right: 24px;
        bottom: 44px;
        width: min(330px, calc(100vw - 48px));
    }

    .nba-hero3d-interaction-zone {
        width: 58vw;
    }

    .nba-hero3d-floating-tags .tag-a {
        right: 38vw;
        top: 34%;
    }

    .nba-hero3d-floating-tags .tag-b {
        right: 7vw;
        top: 46%;
    }

    .nba-hero3d-floating-tags .tag-c {
        right: 30vw;
        top: 70%;
    }

    .nba-hero3d-model-error {
        right: 24px;
        top: auto;
        bottom: 142px;
        max-width: min(330px, calc(100vw - 48px));
    }

    .hero-content {
        width: min(760px, 100%);
    }
}

@media (max-width: 640px) {
    .hero-3d-section {
        min-height: 760px;
        padding: 58px 18px 72px;
    }

    .hero-overlay {
        min-height: 520px;
    }

    .hero-content {
        width: 100%;
        padding-top: 8px;
    }

    .landing-tech-tags {
        gap: 8px;
    }

    .landing-tech-tags span {
        min-height: 32px;
        padding: 7px 10px;
        font-size: 12px;
    }

    .nba-hero3d-background {
        opacity: 0.72;
    }

    .nba-hero3d-background::before {
        background-size: 46px 46px;
        mask-image: linear-gradient(180deg, transparent 0%, black 32%, black 100%);
    }

    .nba-hero3d-hud {
        display: none;
    }

    .nba-hero3d-interaction-zone,
    .nba-hero3d-floating-tags {
        display: none;
    }

    .nba-hero3d-model-error {
        left: 18px;
        right: 18px;
        bottom: 92px;
        max-width: none;
        font-size: 12px;
    }

    .nba-hero3d-static-copy,
    .nba-hero3d-static-tags {
        display: none;
    }
}

@media (prefers-reduced-motion: reduce) {
    .nba-hero3d-background-root::before,
    .hero-overlay .inline-flex,
    .hero-content h1,
    .hero-content p,
    .landing-tech-tags,
    .hero-content .flex {
        animation: none !important;
    }

    .nba-hero3d-hud,
    .nba-hero3d-floating-tags span {
        transition-duration: 0.01ms !important;
    }
}
