/* ==========================================================
   TOYSRH — HOLDERS + TRAITS CINEMATIC BACKGROUND V6.5.6.1
   ========================================================== */

html {
    min-height: 100%;
    background: #05080d;
}

body.toysrh-cinematic-inner {
    min-height: 100vh;
    position: relative;
    isolation: isolate;

    background:
        transparent !important;
}


/* ----------------------------------------------------------
   FULL-SCREEN VIDEO
   ---------------------------------------------------------- */

.toysrh-inner-video-bg {
    position: fixed;

    inset: 0;

    width: 100vw;
    height: 100vh;

    object-fit: cover;
    object-position: center center;

    z-index: -3;

    pointer-events: none;

    opacity: 1;

    filter:
        brightness(0.98)
        saturate(1.10)
        contrast(1.03);

    transform: translateZ(0);
}


/* ----------------------------------------------------------
   VERY LIGHT READABILITY WASH

   Intentionally light so the video stays visible.
   ---------------------------------------------------------- */

.toysrh-inner-video-wash {
    position: fixed;

    inset: 0;

    z-index: -2;

    pointer-events: none;

    background:
        radial-gradient(
            circle at 50% 18%,
            rgba(8, 18, 30, 0.02) 0%,
            rgba(5, 10, 18, 0.08) 45%,
            rgba(3, 7, 13, 0.18) 100%
        ),
        linear-gradient(
            180deg,
            rgba(3, 7, 12, 0.06) 0%,
            rgba(3, 7, 12, 0.12) 55%,
            rgba(3, 7, 12, 0.24) 100%
        );
}


/* ----------------------------------------------------------
   KEEP MAJOR PAGE SHELLS TRANSPARENT

   Cards themselves retain their existing glass surfaces.
   ---------------------------------------------------------- */

body.toysrh-cinematic-inner main,
body.toysrh-cinematic-inner .page,
body.toysrh-cinematic-inner .page-shell,
body.toysrh-cinematic-inner .site-shell,
body.toysrh-cinematic-inner .app-shell,
body.toysrh-cinematic-inner .main-shell,
body.toysrh-cinematic-inner .content-shell {
    background-color:
        transparent !important;
}


/* ----------------------------------------------------------
   ENSURE PAGE CONTENT REMAINS ABOVE VIDEO
   ---------------------------------------------------------- */

body.toysrh-cinematic-inner > header,
body.toysrh-cinematic-inner > nav,
body.toysrh-cinematic-inner > main,
body.toysrh-cinematic-inner > footer {
    position: relative;
    z-index: 1;
}


/* ----------------------------------------------------------
   MOBILE
   ---------------------------------------------------------- */

@media (max-width: 720px) {

    .toysrh-inner-video-bg {
        width: 100%;
        height: 100%;

        object-fit: cover;
        object-position: center center;

        filter:
            brightness(0.96)
            saturate(1.08)
            contrast(1.02);
    }

    .toysrh-inner-video-wash {
        background:
            linear-gradient(
                180deg,
                rgba(3, 7, 12, 0.08),
                rgba(3, 7, 12, 0.22)
            );
    }
}


/* ----------------------------------------------------------
   REDUCED MOTION

   Freeze the video rather than removing the background.
   ---------------------------------------------------------- */

@media (prefers-reduced-motion: reduce) {

    .toysrh-inner-video-bg {
        animation: none !important;
    }
}
