/* Animated Scroll Scene v4 */
.ass {
    --ass-bg: #0b5331;
    --ass-accent: #FDD719;
    --ass-rail-w: 300px;
    --ass-sbw: 0px;
    --ass-heading: 'Anton', Impact, sans-serif;
    --ass-body: 'Manrope', system-ui, sans-serif;
    position: relative;
    /* Elementor boxed container ke andar bhi edge-to-edge (white patti nahi aayegi) */
    width: calc(100vw - var(--ass-sbw));
    margin-left: calc(50% - (100vw - var(--ass-sbw)) / 2);
    background: var(--ass-bg);
    color: #fff;
    font-family: var(--ass-body);
    isolation: isolate;
}
.ass *, .ass *::before, .ass *::after { box-sizing: border-box; }

.ass-pin {
    position: relative;
    width: 100%;
    height: 100vh;
    height: 100svh;
    overflow: hidden;
    background: var(--ass-bg);
}

/* Soft light + vignette */
.ass-glow {
    position: absolute; inset: 0;
    background:
        radial-gradient(60% 55% at 45% 50%, rgba(255,255,255,0.10), rgba(255,255,255,0) 70%),
        radial-gradient(120% 90% at 50% 50%, rgba(0,0,0,0) 55%, rgba(0,0,0,0.35) 100%);
    pointer-events: none;
    z-index: 0;
}

/* ---------- Intro ---------- */
.ass-intro {
    position: absolute;
    left: 50%; top: 50%;
    width: min(980px, calc(100% - 40px));
    transform: translate(-50%, -50%);
    text-align: center;
    z-index: 4;
}
.ass .ass-eyebrow {
    display: inline-flex; align-items: center; gap: 12px;
    margin: 0 0 22px !important;
    font-family: var(--ass-body) !important;
    font-size: 13px !important; font-weight: 700 !important;
    letter-spacing: .28em; text-transform: uppercase;
    color: var(--ass-accent) !important;
}
.ass .ass-eyebrow::before, .ass .ass-eyebrow::after {
    content: ''; width: 34px; height: 1px; background: currentColor; opacity: .6;
}
.ass .ass-title {
    margin: 0 !important;
    font-family: var(--ass-heading) !important;
    font-weight: 400 !important;
    font-size: clamp(36px, 6vw, 84px) !important;
    line-height: 1.02 !important;
    letter-spacing: .005em;
    text-transform: uppercase;
    color: #fff !important;
}
.ass-word { color: rgba(255,255,255,.22); display: inline-block; }

/* ---------- Stage (video) ---------- */
.ass-stage {
    position: absolute;
    top: 50%;
    left: calc((100% - var(--ass-rail-w)) / 2 + 12px);
    width: min(calc(100% - var(--ass-rail-w) - 40px), calc((100svh - 150px) * 16 / 9));
    aspect-ratio: 16 / 9;
    transform: translate(-50%, -50%);
    z-index: 3;
    opacity: 0;
    will-change: transform, opacity;
}
.ass-canvas {
    position: absolute; inset: 0;
    width: 100% !important; height: 100% !important;
    display: block;
    /* video frame ki edges soft, koi hard cut nazar nahi aayega */
    -webkit-mask-image:
        linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
    -webkit-mask-composite: source-in;
    mask-image:
        linear-gradient(to right, transparent 0, #000 4%, #000 96%, transparent 100%),
        linear-gradient(to bottom, transparent 0, #000 5%, #000 95%, transparent 100%);
    mask-composite: intersect;
}
.ass-floor {
    position: absolute;
    left: 15%; right: 15%; bottom: 4%;
    height: 18%;
    background: radial-gradient(50% 50% at 50% 50%, rgba(0,0,0,.35), rgba(0,0,0,0) 70%);
    filter: blur(8px);
    pointer-events: none;
}
.ass-loader {
    position: absolute; left: 50%; top: 50%;
    transform: translate(-50%, -50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font: 600 12px/1 var(--ass-body); letter-spacing: .15em;
    color: rgba(255,255,255,.7);
    transition: opacity .4s ease;
    pointer-events: none;
}
.ass-loader-ring {
    width: 34px; height: 34px; border-radius: 50%;
    border: 2px solid rgba(255,255,255,.15);
    border-top-color: var(--ass-accent);
    animation: ass-spin .8s linear infinite;
}
.ass.is-ready .ass-loader { opacity: 0; }
@keyframes ass-spin { to { transform: rotate(360deg); } }

/* ---------- Step rail (desktop) ---------- */
.ass-rail {
    position: absolute;
    right: 40px; top: 50%;
    width: calc(var(--ass-rail-w) - 70px);
    transform: translateY(-50%);
    margin: 0 !important; padding: 0 0 0 26px !important;
    list-style: none !important;
    z-index: 5;
    opacity: 0;
}
.ass-rail-line {
    position: absolute; left: 4px; top: 10px; bottom: 10px;
    width: 2px; background: rgba(255,255,255,.12); border-radius: 2px;
}
.ass-rail-fill {
    position: absolute; left: 0; top: 0; width: 100%; height: 100%;
    background: var(--ass-accent);
    transform-origin: top; transform: scaleY(0);
    border-radius: 2px;
}
.ass-rail-item { position: relative; margin: 0 !important; padding: 0 !important; }
.ass-rail-item::before {
    content: '';
    position: absolute; left: -26px; top: 50%;
    width: 10px; height: 10px; margin-top: -5px;
    border-radius: 50%;
    background: var(--ass-bg);
    border: 2px solid rgba(255,255,255,.3);
    transition: all .35s ease;
}
.ass-rail-item button {
    all: unset;
    display: flex; align-items: baseline; gap: 12px;
    width: 100%;
    padding: 10px 0;
    cursor: pointer;
    opacity: .38;
    transition: opacity .35s ease, transform .35s ease;
}
.ass-rail-item button:focus-visible { outline: 2px solid var(--ass-accent); outline-offset: 4px; }
.ass-rail-num {
    font-family: var(--ass-heading); font-size: 15px; letter-spacing: .05em;
    color: #fff; min-width: 22px;
    transition: color .35s ease;
}
.ass-rail-label {
    font-family: var(--ass-body); font-size: 15px; font-weight: 600;
    color: #fff; line-height: 1.3;
}
.ass-rail-item.is-done button { opacity: .6; }
.ass-rail-item.is-done::before { background: var(--ass-accent); border-color: var(--ass-accent); }
.ass-rail-item.is-active button { opacity: 1; transform: translateX(6px); }
.ass-rail-item.is-active .ass-rail-num { color: var(--ass-accent); }
.ass-rail-item.is-active::before {
    background: var(--ass-accent); border-color: var(--ass-accent);
    box-shadow: 0 0 0 5px rgba(253,215,25,.18);
}

/* ---------- HUD (bottom progress) ---------- */
.ass-hud {
    position: absolute;
    left: 40px; right: 40px; bottom: 26px;
    z-index: 5;
    opacity: 0;
}
.ass .ass-hud-step {
    display: none;
    margin: 0 0 10px !important;
    font-family: var(--ass-body) !important;
    font-size: 14px !important; font-weight: 600;
    color: #fff !important;
}
.ass-hud-num { font-family: var(--ass-heading); font-size: 18px; color: var(--ass-accent); }
.ass-hud-total { opacity: .5; margin-right: 10px; }
.ass-bar { height: 2px; background: rgba(255,255,255,.14); border-radius: 2px; overflow: hidden; }
.ass-bar-fill {
    display: block; height: 100%; width: 100%;
    background: var(--ass-accent);
    transform-origin: left; transform: scaleX(0);
}

/* ---------- Scroll hint ---------- */
.ass-hint {
    position: absolute; left: 50%; bottom: 30px;
    transform: translateX(-50%);
    display: flex; flex-direction: column; align-items: center; gap: 10px;
    font: 600 11px/1 var(--ass-body); letter-spacing: .3em; text-transform: uppercase;
    color: rgba(255,255,255,.6);
    z-index: 5;
}
.ass-hint i {
    display: block; width: 1px; height: 38px;
    background: linear-gradient(var(--ass-accent), rgba(253,215,25,0));
    animation: ass-hint 1.6s ease-in-out infinite;
    transform-origin: top;
}
@keyframes ass-hint {
    0% { transform: scaleY(0); opacity: 1; }
    60% { transform: scaleY(1); opacity: 1; }
    100% { transform: scaleY(1); opacity: 0; }
}

/* ---------- Outro ---------- */
.ass-outro {
    position: absolute;
    top: 50%;
    left: max(40px, calc((100% - 1240px) / 2));
    width: min(500px, 40%);
    transform: translateY(-50%);
    z-index: 6;
    opacity: 0;
    visibility: hidden;
}
.ass .ass-heading {
    margin: 0 0 16px !important;
    font-family: var(--ass-heading) !important;
    font-weight: 400 !important;
    font-size: clamp(40px, 5vw, 72px) !important;
    line-height: 1 !important;
    text-transform: uppercase;
    color: var(--ass-accent) !important;
}
.ass .ass-text {
    margin: 0 0 26px !important;
    font-family: var(--ass-body) !important;
    font-size: 18px !important; line-height: 1.55 !important;
    color: rgba(255,255,255,.85) !important;
}
.ass .ass-list { list-style: none !important; margin: 0 0 30px !important; padding: 0 !important; }
.ass .ass-list li {
    position: relative;
    margin: 0 !important;
    padding: 12px 0 12px 38px !important;
    font-family: var(--ass-body) !important;
    font-size: 17px !important; font-weight: 600;
    color: #fff !important;
    border-top: 1px solid rgba(255,255,255,.1);
}
.ass .ass-list li:last-child { border-bottom: 1px solid rgba(255,255,255,.1); }
.ass .ass-list li::before {
    content: '';
    position: absolute; left: 0; top: 50%;
    width: 22px; height: 22px; margin-top: -11px;
    border-radius: 50%;
    background: var(--ass-accent);
    -webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24'%3E%3Ccircle cx='12' cy='12' r='12'/%3E%3C/svg%3E");
}
.ass .ass-list li::after {
    content: '';
    position: absolute; left: 7px; top: 50%;
    width: 8px; height: 4px; margin-top: -4px;
    border-left: 2px solid var(--ass-bg); border-bottom: 2px solid var(--ass-bg);
    transform: rotate(-45deg);
}
.ass .ass-btn {
    display: inline-block;
    padding: 15px 30px;
    border-radius: 999px;
    background: var(--ass-accent);
    color: #111 !important;
    font: 700 15px/1 var(--ass-body);
    letter-spacing: .04em;
    text-decoration: none !important;
    transition: transform .25s ease, box-shadow .25s ease;
}
.ass .ass-btn:hover { transform: translateY(-2px); box-shadow: 0 10px 30px rgba(0,0,0,.25); }

/* ---------- Tablet ---------- */
@media (max-width: 1199px) {
    .ass { --ass-rail-w: 90px; }
    .ass-rail { right: 24px; width: 50px; }
    .ass-rail-label { display: none; }
    .ass-hud { left: 24px; right: 24px; }
    .ass .ass-hud-step { display: block; }
}

/* ---------- Mobile ---------- */
@media (max-width: 767px) {
    .ass { --ass-rail-w: 0px; }
    .ass-rail { display: none; }
    .ass-stage {
        left: 50%;
        width: calc(100% - 16px);
        top: 46%;
    }
    .ass-hud { left: 20px; right: 20px; bottom: 22px; }
    .ass .ass-hud-step { font-size: 13px !important; }
    .ass .ass-eyebrow { font-size: 11px !important; margin-bottom: 16px !important; }
    .ass-outro {
        top: auto; bottom: 7%;
        left: 20px; right: 20px; width: auto;
        transform: none;
        text-align: left;
    }
    .ass .ass-heading { font-size: 38px !important; margin-bottom: 10px !important; }
    .ass .ass-text { font-size: 15px !important; margin-bottom: 14px !important; }
    .ass .ass-list { margin-bottom: 18px !important; }
    .ass .ass-list li { font-size: 14px !important; padding: 8px 0 8px 32px !important; }
    .ass .ass-list li::before { width: 18px; height: 18px; margin-top: -9px; }
    .ass .ass-list li::after { left: 5px; width: 7px; height: 3.5px; margin-top: -3px; }
}
