<!DOCTYPE html>
<html lang="ru">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Access Page</title>
    <link id="favicon" rel="icon" href="" type="image/webp">
    <style>
        body {
            margin: 0;
            overflow: hidden;
            font-family: Arial, sans-serif;
            background-color: #121212;
            color: white;
            display: flex;
            justify-content: center;
            align-items: center;
            height: 100vh;
        }

        #emote-container {
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            overflow: hidden;
            z-index: 1;
        }

        .emote {
            position: absolute;
            will-change: transform, top;
            filter: brightness(0.2); /* Darker emotes */
        }

        #content {
            position: absolute;
            z-index: 2;
            background: linear-gradient(145deg, rgba(20, 20, 20, 0.95), rgba(40, 40, 40, 0.95));
            padding: 40px;
            border-radius: 15px;
            text-align: center;
            width: 300px;
            max-width: 400px;
            font-size: 18px;
            color: #e0e0e0;
            box-shadow: 0px 0px 20px rgba(0, 0, 0, 0.8);
        }

        #content input {
            width: 80%;
            padding: 10px;
            margin: 15px 0;
            font-size: 16px;
            border-radius: 5px;
            border: 1px solid #444;
            background-color: #222;
            color: #fff;
            position: relative;
        }

        #typing-emote {
            position: absolute;
            left: -83%;
            top: 50%;
            transform: translateY(-50%);
            width: 200px;
            height: 200px;
            opacity: 0;
            filter: brightness(0.8);
            transition: opacity 0.3s ease, transform 0.3s ease;
        }

        #content input:focus + #typing-emote {
            opacity: 1;
            transform: translateY(-50%) translateX(10px);
        }

        #content button {
            padding: 10px 20px;
            font-size: 16px;
            border: none;
            border-radius: 5px;
            background-color: #5cb85c  ;
            color: white;
            cursor: pointer;
            position: relative;
            overflow: visible;
        }

        #content button img {
            position: absolute;
            top: 40%;
            left: 40%;
            width: 200%;
            height: 200%;
            transform: translate(-50%, -50%);
            opacity: 0;
            transition: opacity 0.3s;
            pointer-events: none;
        }

        #content button:hover img {
            opacity: 1;
        }

        #headline {
            font-size: 24px;
            font-weight: bold;
            margin-bottom: 15px;
            color: #88cc88;
            display: flex;
            align-items: center;
            justify-content: center;
        }

        #headline img {
            margin-left: 10px;
            width: 43px;
            height: 43px;
        }

        #nickname {
          position: absolute;
          bottom: 10px;
          right: 10px;
          font-size: 14px;
          font-weight: bold;
          color: #88cc88;
          display: flex;
          align-items: center;
          justify-content: center;
      }
        #nickname img {
            width: 24px;
            height: 24px;
            margin-left: 5px;
        }
    </style>
</head>
<body>
    <div id="emote-container"></div>

    <div id="content">
        <div id="headline">Код сюда <img src="https://cdn.7tv.app/emote/01FFRN5CQG0007P57XYW0BJCMM/4x.avif" alt="emoji"></div>
        <form id="access-form">
            <div style="position: relative;">
                <input type="text" id="access-code" required>
                <img id="typing-emote" src="https://cdn.7tv.app/emote/01F6R98CR8000ATZXMPM5WJ91A/4x.avif" alt="typing emote">
            </div>
            <button type="submit">
                Тык
                <img src="https://cdn.7tv.app/emote/01FWMJG56R0003G26ZWQ26BF2A/4x.avif" alt="hover emote">
            </button>
        </form>
        <div id="nickname">robich <img id="nickname-emote" src="" alt="nickname emote"></div>
    </div>

    <script>
      const _0x43b704=_0x520e;function _0x520e(_0x146973,_0x1ed866){const _0x18c8a3=_0x18c8();return _0x520e=function(_0x520e7e,_0x4d1e05){_0x520e7e=_0x520e7e-0x1f2;let _0x36fb9d=_0x18c8a3[_0x520e7e];return _0x36fb9d;},_0x520e(_0x146973,_0x1ed866);}function _0x18c8(){const _0x279ae8=['6iXgYFm','img','add','sort','/?code=','find','getElementById','top','submit','https://7tv.io/v3/users/twitch/48189727','classList','forEach','access-form','nickname-emote','emote_set','href','access-code','20546760HOcJHM','preventDefault','/4x.avif','858724WcIUDg','left','emote-container','addEventListener','4882435VDvVUH','https://cdn.7tv.app/emote/','robich20','6346627sFVDas','emotes','6rCwgnv','deg)','7519176GIfLPZ','createElement','favicon','location','3FMhcqn','287121NDmSTZ','innerHeight','name','appendChild','style','innerWidth','4107123bLMANQ','random'];_0x18c8=function(){return _0x279ae8;};return _0x18c8();}(function(_0x2d5575,_0xca45c2){const _0x1d4aa8=_0x520e,_0x27172c=_0x2d5575();while(!![]){try{const _0x285dd4=parseInt(_0x1d4aa8(0x20f))/0x1*(-parseInt(_0x1d4aa8(0x217))/0x2)+parseInt(_0x1d4aa8(0x20e))/0x3*(parseInt(_0x1d4aa8(0x1ff))/0x4)+-parseInt(_0x1d4aa8(0x203))/0x5*(-parseInt(_0x1d4aa8(0x208))/0x6)+parseInt(_0x1d4aa8(0x206))/0x7+parseInt(_0x1d4aa8(0x20a))/0x8+parseInt(_0x1d4aa8(0x215))/0x9+-parseInt(_0x1d4aa8(0x1fc))/0xa;if(_0x285dd4===_0xca45c2)break;else _0x27172c['push'](_0x27172c['shift']());}catch(_0x37d50a){_0x27172c['push'](_0x27172c['shift']());}}}(_0x18c8,0x8d1f2));const container=document[_0x43b704(0x21d)](_0x43b704(0x201)),form=document['getElementById'](_0x43b704(0x1f7)),nicknameEmote=document[_0x43b704(0x21d)](_0x43b704(0x1f8)),favicon=document[_0x43b704(0x21d)](_0x43b704(0x20c));async function fetchEmotes(){const _0xc801e5=_0x43b704,_0x12a8cd=await fetch(_0xc801e5(0x1f4)),_0x4a13a1=await _0x12a8cd['json'](),_0x31921f=_0x4a13a1[_0xc801e5(0x1f9)][_0xc801e5(0x207)][_0xc801e5(0x21c)](_0x34c822=>_0x34c822[_0xc801e5(0x211)]===_0xc801e5(0x205));return _0x31921f&&(nicknameEmote['src']='https://cdn.7tv.app/emote/'+_0x31921f['id']+'/4x.avif',favicon[_0xc801e5(0x1fa)]=_0xc801e5(0x204)+_0x31921f['id']+_0xc801e5(0x1fe)),_0x4a13a1[_0xc801e5(0x1f9)][_0xc801e5(0x207)];}function createEmoteElement(_0x5443b1){const _0x2dd343=_0x43b704,_0x306a9e=document[_0x2dd343(0x20b)](_0x2dd343(0x218));return _0x306a9e['src']=_0x2dd343(0x204)+_0x5443b1['id']+_0x2dd343(0x1fe),_0x306a9e[_0x2dd343(0x1f5)][_0x2dd343(0x219)]('emote'),_0x306a9e['style']['width']=Math['random']()*0x32+0x1e+'px',_0x306a9e[_0x2dd343(0x213)][_0x2dd343(0x200)]=Math[_0x2dd343(0x216)]()*window[_0x2dd343(0x214)]+'px',_0x306a9e[_0x2dd343(0x213)][_0x2dd343(0x1f2)]='-'+Math[_0x2dd343(0x216)]()*0x64+'px',_0x306a9e;}async function createFallingEmotes(){const _0x42888e=_0x43b704,_0x42282c=await fetchEmotes(),_0x4ccde2=_0x42282c[_0x42888e(0x21a)](()=>0.5-Math[_0x42888e(0x216)]())['slice'](0x0,0x14);_0x4ccde2[_0x42888e(0x1f6)](_0x4ddd09=>{const _0x4e9f6b=_0x42888e,_0x34b6db=createEmoteElement(_0x4ddd09);container[_0x4e9f6b(0x212)](_0x34b6db),animateEmote(_0x34b6db);});}function animateEmote(_0x2442a2){const _0x381027=_0x43b704;let _0x134e81=parseFloat(_0x2442a2['style'][_0x381027(0x1f2)]);const _0xb4c529=Math[_0x381027(0x216)]()*0x2+0x2,_0x1849a0=Math['random']()*0x1-0.5;let _0x3a79e5=Math[_0x381027(0x216)]()*0x168;function _0x30e67b(){const _0x24cfe7=_0x381027;_0x134e81+=_0xb4c529,_0x134e81>window[_0x24cfe7(0x210)]&&(_0x134e81=-Math['random']()*0x64,_0x2442a2[_0x24cfe7(0x213)][_0x24cfe7(0x200)]=Math['random']()*window[_0x24cfe7(0x214)]+'px'),_0x2442a2[_0x24cfe7(0x213)][_0x24cfe7(0x1f2)]=_0x134e81+'px',_0x3a79e5+=_0x1849a0,_0x2442a2[_0x24cfe7(0x213)]['transform']='rotate('+_0x3a79e5+_0x24cfe7(0x209),requestAnimationFrame(_0x30e67b);}_0x30e67b();}createFallingEmotes(),form[_0x43b704(0x202)](_0x43b704(0x1f3),_0x20d63a=>{const _0x114c00=_0x43b704;_0x20d63a[_0x114c00(0x1fd)]();const _0x4a778c=document[_0x114c00(0x21d)](_0x114c00(0x1fb))['value'];window[_0x114c00(0x20d)][_0x114c00(0x1fa)]=_0x114c00(0x21b)+_0x4a778c;});
    </script>
</body>
</html>
