
    #rk-intro {
        position: fixed;
        inset: 0;
        z-index: 1000000;
        background: #ffffff;
        display: flex;
        align-items: center;
        justify-content: center;
        transition: opacity .7s ease, visibility .7s;
        cursor: default;
    }
    #rk-intro.rk-out { opacity: 0; visibility: hidden; pointer-events: none; }
    #rk-sound-hint {
        position: absolute;
        left: 0; right: 0;
        bottom: max(22px, env(safe-area-inset-bottom));
        text-align: center;
        font: 600 13px "Hind Siliguri", sans-serif;
        color: #64748b;
        opacity: 0;
        transition: opacity .5s ease;
        pointer-events: none;
    }
    #rk-sound-hint.rk-show { opacity: 1; }

    #rk-svg { width: min(94vw, 62vh * 0.9, 480px); height: auto; max-height: 92vh; overflow: visible; }

    /* ধাপ ১: লাল রিং আঁকা (আসল লোগোর পিক্সেল) */
    #rk-svg .rk-l-rings { transform-origin: 270px 270px; animation: rkRingGrow 1.2s cubic-bezier(.22,.9,.3,1) both; }
    #rk-svg .rk-mr, #rk-svg .rk-ma { stroke-dasharray: 1; stroke-dashoffset: 1; }
    #rk-svg .rk-mr1 { animation: rkDraw 1.1s ease-out .05s forwards; }
    #rk-svg .rk-mr2 { animation: rkDraw 1.1s ease-out .25s forwards; }

    /* ধাপ ২: সবুজ ও হলুদ অংশ ভরাট হওয়া */
    #rk-svg .rk-ma1 { animation: rkDraw .9s ease-in-out 1.0s forwards; }
    #rk-svg .rk-ma2 { animation: rkDraw .9s ease-in-out 1.6s forwards; }

    /* ধাপ ৩: তারা */
    #rk-svg .rk-l-star { opacity: 0; transform: scale(0) rotate(-120deg); animation: rkStar .6s cubic-bezier(.3,1.6,.5,1) 2.4s forwards; }
    #rk-svg .rk-l-star2 { animation-delay: 2.55s; }

    /* ধাপ ৪: বই, মোমবাতি ও অক */
    #rk-svg .rk-l-emblem { transform-origin: 270px 270px; transform: scale(.25); opacity: 0; animation: rkEmblem .9s cubic-bezier(.25,1.2,.4,1) 2.7s forwards; }

    /* ধাপ ৫: নীল ফিতা ও দুই প্রান্ত */
    #rk-svg .rk-l-ribbon { transform-origin: 270px 500px; opacity: 0; animation: rkBand .9s cubic-bezier(.25,1,.4,1) 3.6s forwards; }

    /* ধাপ ৬: রিংয়ের লেখা, তারপর ফিতার স্লোগান */
    #rk-svg .rk-l-text { opacity: 0; animation: rkFade .9s ease-out 4.5s forwards; }
    #rk-svg .rk-l-all { opacity: 0; animation: rkFade .8s ease-out 5.4s forwards; }

    /* ধাপ ৭: উজ্জ্বল ঝলক */
    #rk-svg #rk-logo { animation: rkGlow 1.3s ease-in-out 6.2s 2; }

    @keyframes rkDraw { to { stroke-dashoffset: 0; } }
    @keyframes rkRingGrow { from { transform: scale(.4); opacity: 0; } 40% { opacity: 1; } to { transform: scale(1); opacity: 1; } }
    @keyframes rkStar { to { transform: scale(1) rotate(0); opacity: 1; } }
    @keyframes rkEmblem { to { transform: scale(1); opacity: 1; } }
    @keyframes rkBand { from { opacity: 0; transform: translateY(26px) scaleX(.7); } to { opacity: 1; transform: translateY(0) scaleX(1); } }
    @keyframes rkFade { to { opacity: 1; } }
    @keyframes rkGlow {
        0%, 100% { filter: brightness(1) drop-shadow(0 0 0 rgba(255,255,255,0)); }
        50% { filter: brightness(1.14) drop-shadow(0 0 16px rgba(255,255,255,.95)) drop-shadow(0 0 28px rgba(255,236,130,.65)); }
    }
    @media (prefers-reduced-motion: reduce) {
        #rk-svg * { animation-duration: .01s !important; animation-delay: 0s !important; }
    }
