<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8" />
  <meta name="viewport" content="width=device-width, initial-scale=1.0"/>
  <title>The Gingerbread Man's Secret Recipe</title>
  <style>
    body {
      font-family: 'Comic Sans MS', Arial, sans-serif;
      background: linear-gradient(to bottom, #f0f8ff, #87ceeb);
      text-align: center;
      padding: 20px;
      overflow: hidden;
      color: #333;
    }
    .container {
      background-color: rgba(255, 255, 255, 0.9);
      border-radius: 10px;
      box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
      padding: 20px;
      width: 80%;
      max-width: 600px;
      margin: auto;
    }
    h1 {
      color: #ff6347;
      font-size: 2.5em;
    }
    .hint {
      background-color: #ffebcd;
      padding: 10px;
      border-radius: 5px;
      margin: 20px 0;
      font-size: 1.1em;
    }
    input {
      padding: 10px;
      font-size: 16px;
      width: 80%;
      max-width: 400px;
      margin: 10px 0;
      border: 2px solid #ff6347;
      border-radius: 5px;
    }
    button {
      padding: 10px 15px;
      background-color: #ff6347;
      color: white;
      border: none;
      border-radius: 5px;
      cursor: pointer;
      font-size: 1em;
      transition: transform 0.2s ease;
    }
    button:hover {
      transform: scale(1.1);
    }
    /* Snowflake Animation */
    .snowflake {
      position: absolute;
      top: -50px;
      font-size: 24px;
      color: white;
      animation: fall linear infinite;
    }
    @keyframes fall {
      0% {
        transform: translateY(0) rotate(0deg);
        opacity: 1;
      }
      100% {
        transform: translateY(100vh) rotate(360deg);
        opacity: 0;
      }
    }
    .footer {
      margin-top: 20px;
      font-size: 0.9em;
      color: #888;
    }
    .christmas-scene {
      position: relative;
      margin-top: 30px;
    }
    .tree {
      position: absolute;
      bottom: 0;
      left: 20%;
      width: 100px;
      height: 150px;
      background-color: green;
      clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    }
    .gifts {
      position: absolute;
      bottom: 0;
      right: 20%;
      width: 150px;
      height: 50px;
      display: flex;
      gap: 10px;
    }
    .gift {
      width: 50px;
      height: 50px;
      background-color: red;
      border: 2px solid white;
      border-radius: 5px;
      position: relative;
    }
    .gift:after,
    .gift:before {
      content: "";
      position: absolute;
      background-color: white;
    }
    .gift:after {
      width: 100%;
      height: 10%;
      top: 45%;
      left: 0;
    }
    .gift:before {
      height: 100%;
      width: 10%;
      left: 45%;
      top: 0;
    }
  </style>
</head>
<body>
  <div class="container">
    <h1>The Gingerbread Man's Secret Recipe 🎄</h1>
    <p>Can you decode the Gingerbread Man's secret plan hidden in a cookie jar? The message is encrypted, and only the sharpest minds can crack the code!</p>

    
    <div class="hint">
      <p><strong>Hint:</strong> This message was encrypted using a Caesar cipher. Try shifting the letters to unlock the recipe!</p>
    </div>

    
    <p>Enter your decoded message below:</p>
    <input type="text" id="decodedMessage" placeholder="Your decoded message here"/>
    <button onclick="checkAnswer()">Submit</button>

    <p id="result"></p>
  </div>

  
  <div class="christmas-scene">
    <div class="tree"></div>
    <div class="gifts">
      <div class="gift"></div>
      <div class="gift"></div>
    </div>
  </div>

  
  <script>
const _0x442805=_0x3b7b;(function(_0x237cdb,_0x1db95f){const _0x2fed6c={_0x2a822d:0x13c,_0x36a5a2:0x145,_0x392988:0x142,_0x5bfd61:0x13d,_0x42777e:0x14a,_0x3400ad:0x13a},_0x146982=_0x3b7b,_0x13abf7=_0x237cdb();while(!![]){try{const _0x29edb1=-parseInt(_0x146982(_0x2fed6c._0x2a822d))/0x1*(-parseInt(_0x146982(0x137))/0x2)+-parseInt(_0x146982(0x153))/0x3+-parseInt(_0x146982(_0x2fed6c._0x36a5a2))/0x4*(-parseInt(_0x146982(0x136))/0x5)+-parseInt(_0x146982(_0x2fed6c._0x392988))/0x6*(-parseInt(_0x146982(_0x2fed6c._0x5bfd61))/0x7)+-parseInt(_0x146982(_0x2fed6c._0x42777e))/0x8+-parseInt(_0x146982(0x135))/0x9+-parseInt(_0x146982(0x14b))/0xa*(-parseInt(_0x146982(_0x2fed6c._0x3400ad))/0xb);if(_0x29edb1===_0x1db95f)break;else _0x13abf7['push'](_0x13abf7['shift']());}catch(_0x5146df){_0x13abf7['push'](_0x13abf7['shift']());}}}(_0x3233,0x2a017));function createSnowflake(){const _0x46b9c2={_0x3ab7a0:0x141,_0x1a7f04:0x150},_0x84d3fa=_0x3b7b,_0x216d14=document[_0x84d3fa(0x14d)](_0x84d3fa(0x148));_0x216d14[_0x84d3fa(0x152)][_0x84d3fa(0x15e)]('snowflake'),_0x216d14[_0x84d3fa(_0x46b9c2._0x3ab7a0)]='❄',_0x216d14[_0x84d3fa(0x140)]['left']=Math[_0x84d3fa(0x13e)]()*0x64+'vw',_0x216d14[_0x84d3fa(0x140)][_0x84d3fa(0x15d)]=Math['random']()*0x3+0x2+'s',document[_0x84d3fa(0x15b)][_0x84d3fa(_0x46b9c2._0x1a7f04)](_0x216d14),setTimeout(()=>_0x216d14[_0x84d3fa(0x138)](),0x1388);}setInterval(createSnowflake,0x12c),document[_0x442805(0x151)]=_0x442805(0x14c);function _0x3233(){const _0x11302c=['digest','getElementById','trim','value','green','body','toString','animationDuration','add','padStart','innerHTML','2123406pcnZVG','15zitWkT','381352iKACuy','remove','encode','74107zAiRWL','Your\x20flag\x20is:\x20<strong>AOCYSEC{GINGERBREAD_RECIPE_CRACKED}</strong>','1QAaMTw','309351fdrwSO','random','map','style','textContent','18FVYreD','SHA-256','color','429808nimRGA','join','red','div','dd66b910e7dbb06acc5cce5f4092be608ae1eff535fc1813106f3a7fa7c27ff0','1990080TumygI','170oYobnK','encryptedMessage=Tvatreoernq\x20Pbbxvrf,\x20Rapelcgrq\x20jvgu\x20Ybir!;\x20max-age=3600','createElement','subtle','result','appendChild','cookie','classList','310173ZiEQWc','Oops!\x20Try\x20again.','Congratulations!\x20You\x27ve\x20decoded\x20the\x20message!<br>'];_0x3233=function(){return _0x11302c;};return _0x3233();}function _0x3b7b(_0x40a317,_0x1ea251){const _0x32339e=_0x3233();return _0x3b7b=function(_0x3b7bbe,_0x83aa98){_0x3b7bbe=_0x3b7bbe-0x135;let _0x5bf12f=_0x32339e[_0x3b7bbe];return _0x5bf12f;},_0x3b7b(_0x40a317,_0x1ea251);}const correctHash=_0x442805(0x149);async function hashMessage(_0x15bd35){const _0x4b2c6a={_0x820cc:0x139,_0x3541f5:0x14e,_0x55fdd9:0x13f},_0x4fb065=_0x442805,_0x54f266=new TextEncoder()[_0x4fb065(_0x4b2c6a._0x820cc)](_0x15bd35),_0x578ca1=await crypto[_0x4fb065(_0x4b2c6a._0x3541f5)][_0x4fb065(0x156)](_0x4fb065(0x143),_0x54f266),_0x47d082=Array['from'](new Uint8Array(_0x578ca1));return _0x47d082[_0x4fb065(_0x4b2c6a._0x55fdd9)](_0x639794=>_0x639794[_0x4fb065(0x15c)](0x10)[_0x4fb065(0x15f)](0x2,'0'))[_0x4fb065(0x146)]('');}async function checkAnswer(){const _0x19d12f={_0x373d5b:0x157,_0x478632:0x159,_0x33ff78:0x158,_0x4ccaa0:0x14f,_0x22bf54:0x155,_0x111a63:0x13b,_0x4e0e37:0x157,_0x3c5f61:0x140,_0x24742e:0x14f},_0x5c6ce1=_0x442805,_0x4126da=document[_0x5c6ce1(_0x19d12f._0x373d5b)]('decodedMessage')[_0x5c6ce1(_0x19d12f._0x478632)][_0x5c6ce1(_0x19d12f._0x33ff78)](),_0x534cd5=await hashMessage(_0x4126da);_0x534cd5===correctHash?(document[_0x5c6ce1(_0x19d12f._0x373d5b)](_0x5c6ce1(_0x19d12f._0x4ccaa0))[_0x5c6ce1(0x160)]=_0x5c6ce1(_0x19d12f._0x22bf54)+_0x5c6ce1(_0x19d12f._0x111a63),document[_0x5c6ce1(_0x19d12f._0x4e0e37)](_0x5c6ce1(0x14f))[_0x5c6ce1(_0x19d12f._0x3c5f61)][_0x5c6ce1(0x144)]=_0x5c6ce1(0x15a)):(document[_0x5c6ce1(_0x19d12f._0x373d5b)](_0x5c6ce1(0x14f))[_0x5c6ce1(0x160)]=_0x5c6ce1(0x154),document[_0x5c6ce1(0x157)](_0x5c6ce1(_0x19d12f._0x24742e))[_0x5c6ce1(0x140)][_0x5c6ce1(0x144)]=_0x5c6ce1(0x147));}
  </script>
</body>
</html>