        @font-face { font-family: 'kabel'; src: url(); }
        @font-face { font-family: 'quicksand'; src: url(); }

        * { box-sizing: border-box; }

        body {
            display: flex; flex-direction: column; align-items: center;
            min-height: 100vh; margin: 0;
            background: #9cedc6 url('') no-repeat center center / cover;
            font-family: 'quicksand', sans-serif; overflow-x: hidden; padding-bottom: 180px;
        }
        h1, h2, h3, h4, h5 { font-family: 'kabel', sans-serif; }

        .nav-top { width: 100%; height: 80px; display: flex; justify-content: center; align-items: center; gap: 20px; margin-top: 10px; z-index: 10; }
        .prize-wrapper { position: relative; display: flex; align-items: center; justify-content: center; }
        .bg-prize-win { position: absolute; width: 110px; z-index: -1; animation: scaleUp .5s forwards; }
        .won-prize-img { height: 60px; width: 60px; object-fit: contain; animation: scaleUp .5s forwards; }

        .main-game-area { position: relative; display: flex; flex-direction: column; align-items: center; width: 90%; max-width: 340px; margin-top: 20px; }
        @media (min-width: 768px) { .main-game-area { max-width: 300px; } }

        .wheel-box { position: relative; width: 100%; padding-top: 100%; z-index: 5; }
        #wheelCanvas {
            position: absolute; top: 0; left: 0; width: 100%; height: 100%;
            border-radius: 50%; border: 8px solid #4eb4ff;
            box-shadow: 0 10px 25px rgba(0,0,0,0.1);
            transition: transform 3s cubic-bezier(0.1, 0.7, 0.1, 1);
            background: #fff;
        }
        .red-pointer { position: absolute; top: -40px; left: 50%; transform: translateX(-50%); width: 80px; z-index: 25; }
        .center-logo { position: absolute; top: 50%; left: 50%; transform: translate(-50%, -50%); width: 70px; z-index: 6; }

        .spin-button-container { text-align: center; position: fixed; bottom: 0; left: 0; right: 0; background: #f2f1df; padding: 10px 0 30px 0; z-index: 100; box-shadow: 0 -5px 15px rgba(0,0,0,0.08); }
        .spin-button-container img {
            padding: 5px;
            filter: drop-shadow(4px 0 0 #f2f1df) drop-shadow(0 4px 0 #f2f1df) drop-shadow(-4px 0 0 #f2f1df) drop-shadow(0 -4px 0 #f2f1df);
            width: 110px; cursor: pointer; margin-top: -75px; display: inline-block;
        }
        .main-count { background: #34c7fb; color: #fff; margin-bottom: 2px; padding: 3px 25px; border-radius: 20px; font-size: .8rem; display: inline-block; margin-top: 5px; border: 1px solid #0092ac; font-weight: bold; }

        .bg-overlay { display: none; position: fixed; top: 0; left: 0; right: 0; bottom: 0; background: rgba(0,0,0,.87); z-index: 500; align-items: center; justify-content: center; }
        .collect-main { background: #f2f1df; border: 8px solid #fff; border-radius: 10px; text-align: center; color: #444; position: relative; width: 90%; max-width: 380px; margin: 0 auto; padding-bottom: 35px; }
        .img-header { width: 100%; margin-top: -110px; }
        .collect-content { padding: 18px; }
        .bg-collect { background: #ccc29e; border-radius: 20px; padding: 20px; margin: 15px 0; display: flex; align-items: center; justify-content: space-around; min-height: 100px; }
        .img-pop-prize { height: 75px; object-fit: contain; }

        .footer-container { position: absolute; bottom: -28px; left: 50%; transform: translateX(-50%); width: 220px; text-align: center; }
        .spin-buttons {
            position: absolute; bottom: -10px; left: 50%; z-index: 555; transform: translateX(-50%);
            font-size: 1.5rem; text-transform: uppercase; color: #fff; border-radius: 35px; cursor: pointer;
            transition: .1s all; padding: 4px 30px; border: none; font-weight: bold; margin: 10px 0;
            box-shadow: rgb(53,144,0) 0 .27rem 0 0, rgba(179,174,119,.6) 0 .25rem .125rem 0;
            background: linear-gradient(rgb(74,194,0) 0%, rgb(99,198,4) 100%);
            width: 170px;
        }
        .spin-buttons::after {
            content: ""; position: absolute; left: -5px; right: -5px; bottom: -5px; height: 70%;
            border: 5px solid #fff; border-top: none; border-radius: 0 0 45px 45px;
            pointer-events: none; box-sizing: border-box; z-index: -1;
        }

        @keyframes wiggle { 0% { transform: translateX(-50%) rotate(0deg); } 25% { transform: translateX(-50%) rotate(-10deg); } 75% { transform: translateX(-50%) rotate(10deg); } 100% { transform: translateX(-50%) rotate(0deg); } }
        .wiggling { animation: wiggle .1s infinite; }
        @keyframes scaleUp { from { transform: scale(.7); opacity: 0; } to { transform: scale(1); opacity: 1; } }
        .animate-bounceIn { animation: scaleUp .6s cubic-bezier(.175,.885,.32,1.275); }
        @keyframes spin { to { transform: rotate(360deg); } }

        .locker-overlay { display: none; position: fixed; inset: 0; background: rgba(0,0,0,.92); z-index: 900; align-items: center; justify-content: center; padding: 15px; }
        .locker-box { background: #fff; border-radius: 18px; width: 100%; max-width: 410px; max-height: 92vh; overflow-y: auto; padding: 22px 18px; text-align: center; color: #333; animation: scaleUp .4s ease; }
        .locker-lock { font-size: 2.6rem; line-height: 1; }
        .locker-box h3 { margin: 8px 0 6px; font-size: 1.25rem; }
        .locker-box p.sub { margin: 0 0 14px; font-size: .88rem; color: #666; }
        .locker-prizes { display: flex; justify-content: center; gap: 10px; margin-bottom: 14px; padding: 10px; background: #f2f1df; border-radius: 12px; }
        .locker-prizes img { height: 46px; filter: grayscale(.2); opacity: .9; }

        .offer-item { display: flex; align-items: center; gap: 12px; background: #f4f6f8; border-radius: 12px; padding: 10px; margin-bottom: 10px; cursor: pointer; text-align: left; border: 2px solid transparent; transition: .15s; text-decoration: none; color: inherit; }
        .offer-item:hover { border-color: #4ac200; transform: translateY(-1px); }
        .offer-item .icon-wrap { width: 56px; height: 56px; border-radius: 12px; overflow: hidden; background: #e6e9ec; flex-shrink: 0; }
        .offer-item .icon-wrap img { width: 100%; height: 100%; object-fit: cover; }
        .offer-item .info { flex: 1; min-width: 0; }
        .offer-item .t { font-weight: bold; font-size: .95rem; }
        .offer-item .d { font-size: .76rem; color: #666; margin-top: 2px; }
        .offer-item .meta-row { display: flex; align-items: center; justify-content: space-between; margin-top: 6px; }
        .offer-item .go { background: linear-gradient(#4ac200,#3aa000); color: #fff; border-radius: 20px; padding: 6px 14px; font-weight: bold; font-size: .8rem; white-space: nowrap; box-shadow: 0 3px 0 #2d7d00; }
        .offer-item .stars { color: #f5a623; font-size: .85rem; letter-spacing: 1px; }

        .locker-status { margin-top: 12px; font-size: .88rem; color: #0a7; font-weight: bold; min-height: 20px; }
        .locker-loading { padding: 30px; color: #888; }
        .spinner { display: inline-block; width: 14px; height: 14px; border: 2px solid #0a7; border-top-color: transparent; border-radius: 50%; animation: spin .7s linear infinite; vertical-align: middle; margin-right: 6px; }
        .retry-btn { margin-top: 12px; background: linear-gradient(#4ac200,#3aa000); color: #fff; border: none; border-radius: 20px; padding: 8px 22px; font-weight: bold; cursor: pointer; }
