 body {
            background: url('360.jpeg') no-repeat center center fixed;
            background-size: cover;
            font-family: Arial, sans-serif;
            margin: 0;
            padding: 0;
            display: flex;
            flex-direction: column;
            justify-content: flex-start;
            align-items: center;
            height: 100vh;
            overflow-x: hidden;
        }

        .container {
            position: relative;
            display: flex;
            justify-content: center;
            align-items: center;
            width: 80%;
            height: 90%;
            z-index: 1;
        }

        .message-box {
            display: none;
            position: fixed;
            top: 20%;
            left: 50%;
            transform: translateX(-50%);
            background-color: #f8f9fa;
            border-radius: 8px;
            padding: 15px;
            width: 400px;
            box-shadow: 0 4px 8px rgba(0, 0, 0, 0.1);
            z-index: 1000;
            text-align: center;
            transition: opacity 0.1s ease;
            font-size: 30px;
        }

        .message-content {
            position: relative;
        }

        .close-message-btn {
            position: absolute;
            top: 5px;
            right: 10px;
            font-size: 18px;
            cursor: pointer;
            color: #333;
        }

        .success-message {
            background-color: #28a745;
            color: white;
        }

        .error-message {
            background-color: #dc3545;
            color: white;
        }
@keyframes glowEffect {
    0%, 100% {
        box-shadow:
            0 0 15px 5px rgba(0, 0, 0, 0.6),
            0 0 10px 3px rgba(255, 255, 255, 0.6),
            0 0 12px 4px rgba(30, 46, 106, 0.6),
            0 0 8px 2px rgba(255, 255, 255, 0.5);
    }
    25% {
        box-shadow:
            0 0 10px 3px rgba(255, 255, 255, 0.6),
            0 0 12px 4px rgba(0, 0, 0, 0.6),
            0 0 15px 5px rgba(30, 46, 106, 0.6),
            0 0 8px 2px rgba(255, 255, 255, 0.5);
    }
    50% {
        box-shadow:
            0 0 10px 3px rgba(0, 0, 0, 0.6),
            0 0 12px 4px rgba(30, 46, 106, 0.6),
            0 0 15px 5px rgba(255, 255, 255, 0.6),
            0 0 8px 2px rgba(30, 46, 106, 0.5);
    }
    100% {
        box-shadow:
            0 0 10px 3px rgba(255, 255, 255, 0.6),
            0 0 12px 4px rgba(30, 46, 106, 0.6),
            0 0 15px 5px rgba(0, 0, 0, 0.6),
            0 0 8px 2px rgba(255, 255, 255, 0.5);
    }
}

        canvas#wheel {
            max-width: 100%;
            max-height: 100%;
            width: 20vmin;
            height: 80vmin;
            border-radius: 50%;
           
            animation: glowEffect 5s infinite;
            z-index: 1;
        }

        .win-arrow {
            position: absolute;
            top: 10%;
            left: 50%;
            transform: translateX(-50%) rotate(180deg);
            border-left: 20px solid transparent;
            border-right: 20px solid transparent;
            border-bottom: 30px solid orange;
            z-index: 2;
        }

        .modal {
            display: none;
            position: fixed;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(0, 0, 0, 0.7);
            justify-content: center;
            align-items: center;
            z-index: 1000;
            animation: fadeIn 0.3s ease-out;
        }

        .modal-content {
            font-family: 'Dancing+Script', cursive;
            background: #fff;
            color: #333;
            padding: 30px;
            border-radius: 12px;
            text-align: center;
            max-width: 800px;
            width: 90%;
            font-size: 2.5rem;
            box-shadow: 0 6px 20px rgba(0, 0, 0, 0.3);
            z-index: 1001;
            transform: scale(0);
            animation: scaleUp 0.4s ease-out forwards, bounceIn 1s ease-out infinite;
        }

        .modal-content img#winImage {
            max-width: 200px;
            max-height: 200px;
            object-fit: contain;
            margin: 10px auto;
            display: block;
        }

        .modal h2 {
            font-family: 'Dancing+Script', cursive;
            margin-bottom: 20px;
            font-size: 4rem;
            color: #4CAF50;
            text-shadow: 2px 2px 5px rgba(0, 0, 0, 0.2);
        }

        .modal p {
            font-family: 'Dancing+Script', cursive;
            margin-bottom: 20px;
            font-size: 3rem;
        }

        .close-btn {
            background: #4CAF50;
            color: white;
            border: none;
            padding: 20px 40px;
            border-radius: 5px;
            cursor: pointer;
            font-size: 3rem;
            width: 100%;
            transition: transform 0.2s ease;
        }

        .close-btn:hover {
            background: #45a049;
            transform: scale(1.1);
        }

        @keyframes fadeIn {
            from { opacity: 0; }
            to { opacity: 1; }
        }

        @keyframes scaleUp {
            from { transform: scale(0); }
            to { transform: scale(1); }
        }

        @keyframes bounceIn {
            0% { transform: scale(1); }
            20% { transform: scale(1.1); }
            40% { transform: scale(1); }
            60% { transform: scale(1.05); }
            80% { transform: scale(1); }
            100% { transform: scale(1); }
        }

        #spin-btn {
            position: absolute;
            top: 50%;
            left: 50%;
            transform: translate(-50%, -50%);
            background: url('spin-icon.png') no-repeat center center;
            background-size: 100% 100%;
            width: 150px;
            height: 150px;
            border: none;
            border-radius: 50%;
            cursor: pointer;
            z-index: 10;
        }

        #user-form {
            margin-top: 75%;
            display: flex;
            flex-direction: column;
            justify-content: center;
            align-items: center;
            width: 100%;
            max-width: 800px;
        }

        input {
            margin-top: 10%;
            font-weight: 500;
            font-size: 40px;
            padding: 30px;
            width: 120%;
            box-sizing: border-box;
            border: 5px solid black;
            border-radius: 1px;
        }

        input::placeholder {
            font-size: 40px;
            color: #888;
            font-weight: 400;
        }

        input:focus {
            border-color: green;
            outline: none;
        }

        button {
            font-size: 30px;
            padding: 20px 25px;
            width: 120%;
        }

        @media (min-width: 1920px) {
            body {
                background: url('320.jpg') no-repeat center center fixed;
                background-size: cover;
                font-size: 1.2rem;
            }

            .container {
                width: 80%;
                height: 80%;
                padding: 20px;
            }

            canvas#wheel {
                width: 80vmin;
                height: 80vmin;
            }

            .modal-content {
                width: 60%;
            }

            .modal h2 {
                font-size: 2rem;
            }

            .modal p {
                font-size: 1.5rem;
            }

            .close-btn {
                font-size: 1.5rem;
                padding: 12px 24px;
            }

            .win-arrow {
                margin-top: 8%;
                left: 50%;
                transform: translateX(-50%) rotate(180deg);
                border-left: 20px solid transparent;
                border-right: 20px solid transparent;
                border-bottom: 30px solid orange;
            }
        }

        @media (max-width: 768px) {
            body {
                padding: 0px;
            }

            input::placeholder {
                font-size: 12px;
                color: #888;
                font-weight: 400;
            }

            #user-form {
               
                width: 100%;
            }

            #user-form input {
                 
                font-size: 1rem;
                padding: 8px;
                border-width: 3px;
            }

            .container {
                max-width: 100%;
            }

            .win-arrow {
                margin-top: -9.5%;
                left: 50%;
                transform: translateX(-50%) rotate(180deg);
                border-left: 15px solid transparent;
                border-right: 15px solid transparent;
                border-bottom: 40px solid orange;
            }

            canvas#wheel {
                width: 90%;
                height: auto;
                margin-top:-40%;
                font:1px;
            }

            .modal {
                width: 90%;
                padding: 15px;
            }

            .modal-content h2 {
                font-size: 20px;
            }

            .modal-content p {
                font-size: 16px;
            }

            .close-btn {
                font-size: 14px;
                padding: 8px 12px;
            }

            #spin-btn {
                width: 100px;
                height: 100px;
                margin-top:-20%;
            }
            
            
        }


        @media (max-width: 414px) {
            body {
                padding: 0;
                font-size: 14px;
                padding-top: 37%;
                overflow-y: hidden;
                height: 100vh;
                margin: 0;
            }

            .container {
                width: 95%;
                height: 70%;
            }

            canvas#wheel {
                width: 70vmin;
                height: 70vmin;
            }

            .win-arrow {
                top: 12%;
                left: 50%;
                transform: translateX(-50%) rotate(180deg);
                border-left: 8px solid transparent;
                border-right: 8px solid transparent;
                border-bottom: 16px solid orange;
            }

            #spin-btn {
                width: 60px;
                height: 60px;
            }

            .message-box {
                top: 10%;
                width: 80%;
                max-width: 250px;
                font-size: 14px;
                padding: 8px;
            }

            #user-form {
                margin-top: 5%;
                width: 95%;
            }

            input {
                font-size: 14px;
                padding: 8px;
            }

            button {
                font-size: 14px;
                padding: 8px 16px;
            }
        }

        @media (max-width: 375px) {
            body {
                padding: 0;
                font-size: 14px;
                padding-top: 37%;
                overflow-y: hidden;
                height: 100vh;
                margin: 0;
            }

            canvas#wheel {
                width: 65vmin;
                height: 65vmin;
            }

            .win-arrow {
                top: 9%;
                left: 50%;
                transform: translateX(-50%) rotate(180deg);
                border-left: 7px solid transparent;
                border-right: 7px solid transparent;
                border-bottom: 14px solid orange;
            }

            #spin-btn {
                width: 50px;
                height: 50px;
            }

            .message-box {
                font-size: 12px;
                padding: 6px;
            }

            input {
                font-size: 12px;
                padding: 6px;
            }

            button {
                font-size: 12px;
                padding: 6px 12px;
            }
        }