body {
            font-family: 'Prompt', sans-serif;
            background: #f7f7f7;
            margin: 0;
            min-height: 100vh;
        }
        .app-container {
            max-width: 400px;
            margin: 32px auto;
            background: #fff;
            border-radius: 24px;
            box-shadow: 0 4px 24px rgba(0,0,0,0.08);
            padding: 24px 12px 32px 12px;
            position: relative;
        }
        h1 {
            text-align: center;
            color: #ff7f50;
            margin-top: 0;
            font-weight: 600;
            font-size: 1.5rem;
        }
        #soundToggle {
            position: absolute;
            top: 18px;
            right: 18px;
            background: #fff;
            border: 2px solid #fde74c;
            border-radius: 50%;
            width: 42px;
            height: 42px;
            font-size: 1.3rem;
            cursor: pointer;
            display: flex;
            align-items: center;
            justify-content: center;
            transition: background 0.2s, border 0.2s;
            box-shadow: 0 2px 8px rgba(253,231,76,0.09);
            outline: none;
        }
        #soundToggle.muted {
            background: #eee;
            border-color: #ccc;
            color: #bbb;
        }
        .wheel-container {
            position: relative;
            margin: 0 auto 20px auto;
            width: 320px;
            height: 320px;
        }
        #luckyWheel {
            display: block;
            margin: 0 auto;
            background: #fff;
            border-radius: 50%;
            box-shadow: 0 4px 12px rgba(0,0,0,0.1);
            border: 8px solid #fff7f3;
            transition: transform 0.2s ease;
        }
        #luckyWheel:hover {
            transform: scale(1.02);
        }
        .pointer-container {
            position: absolute;
            top: 0;
            left: 50%;
            transform: translateX(-50%);
            z-index: 10;
            width: 40px;
            height: 40px;
        }
        .pointer {
            width: 0; height: 0;
            border-left: 18px solid transparent;
            border-right: 18px solid transparent;
            border-bottom: 28px solid #ff7f50;
            position: absolute;
            left: 70%;
            top: 1px;
            transform: translateX(-50%);
            filter: drop-shadow(0 2px 3px rgba(0,0,0,0.2));
            z-index: 2;
        }
        .wheel-center {
            position: absolute;
            width: 30px;
            height: 30px;
            background: #ffffff;
            border-radius: 50%;
            top: 52%;
            left: 52%;
            transform: translate(-50%, -50%);
            box-shadow: 0 0 10px rgba(0,0,0,0.15);
            z-index: 5;
            display: flex;
            align-items: center;
            justify-content: center;
            border: 2px solid #ff7f50;
        }
        .wheel-center::after {
            content: '';
            width: 20px;
            height: 20px;
            background: #ff7f50;
            border-radius: 50%;
        }
        .input-group {
            display: flex;
            gap: 8px;
            margin-bottom: 12px;
        }
        .input-group input {
            flex: 1;
            padding: 10px 12px;
            border: 1.5px solid #eee;
            border-radius: 8px;
            font-size: 1rem;
            outline: none;
            transition: border 0.2s, box-shadow 0.2s;
        }
        .input-group input:focus {
            border-color: #ff7f50;
            box-shadow: 0 0 0 3px rgba(255,127,80,0.1);
        }
        .input-group button {
            background: #ff7f50;
            color: #fff;
            border: none;
            border-radius: 8px;
            padding: 0 16px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
        }
        .input-group button:hover {
            background: #fa7921;
        }
        .input-group button:active {
            transform: scale(0.98);
        }
        #spinButton {
            width: 100%;
            background: #ff7f50;
            color: #fff;
            border: none;
            border-radius: 12px;
            font-size: 1.1rem;
            font-weight: 600;
            padding: 14px 0;
            margin-top: 6px;
            margin-bottom: 18px;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            position: relative;
            overflow: hidden;
        }
        #spinButton::after {
            content: '';
            position: absolute;
            top: 0;
            left: 0;
            width: 100%;
            height: 100%;
            background: rgba(255,255,255,0.1);
            transform: translateX(-100%);
            transition: transform 0.3s;
        }
        #spinButton:hover::after {
            transform: translateX(0);
        }
        #spinButton:active {
            transform: scale(0.98);
        }
        #spinButton:disabled {
            background: #ffe7dd;
            color: #ccc;
            cursor: not-allowed;
        }
        #spinButton:disabled::after {
            display: none;
        }
        #result {
            text-align: center;
            font-size: 1.1rem;
            font-weight: 500;
            color: #ff7f50;
            min-height: 28px;
            margin-bottom: 10px;
            margin-top: 0;
        }
        #voucherCode {
            display: none;
            margin: 0 auto 8px auto;
            text-align: center;
            font-size: 1.3rem;
            font-weight: 700;
            color: #3b3b3b;
            background: #fbeee6;
            border-radius: 10px;
            padding: 7px 18px;
            letter-spacing: 2px;
            width: fit-content;
            box-shadow: 0 2px 6px rgba(255,127,80,0.08);
            animation: fadein 0.7s;
        }
        #copyBtn {
            display: none;
            margin: 0 auto 6px auto;
            background: #fde74c;
            color: #222;
            border: none;
            border-radius: 8px;
            padding: 4px 16px;
            font-size: 1rem;
            font-weight: 600;
            cursor: pointer;
            transition: background 0.2s, transform 0.1s;
            box-shadow: 0 2px 6px rgba(253,231,76,0.08);
        }
        #copyBtn:hover {
            background: #ffe066;
        }
        #copyBtn:active {
            transform: scale(0.98);
        }
        .rules-container {
            margin-top: 20px;
            background: #f9f9f9;
            border-radius: 12px;
            padding: 15px;
            font-size: 0.9rem;
        }
        .rules-container h3 {
            margin-top: 0;
            color: #ff7f50;
            font-size: 1rem;
            margin-bottom: 8px;
        }
        .rules-list {
            margin: 0;
            padding-left: 20px;
        }
        .rules-list li {
            margin-bottom: 6px;
            color: #555;
        }
        .prize-animation {
            animation: bounce 0.5s;
        }
        @keyframes bounce {
            0%, 20%, 50%, 80%, 100% {transform: translateY(0);}
            40% {transform: translateY(-10px);}
            60% {transform: translateY(-5px);}
        }
        @keyframes pulse {
            0% {transform: scale(1);}
            50% {transform: scale(1.05);}
            100% {transform: scale(1);}
        }
        @keyframes fadein {
            from { opacity: 0; transform: scale(0.9);}
            to { opacity: 1; transform: scale(1);}
        }
        .modal {
    display: none;
    position: fixed;
    z-index: 1000;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.5);
}

.modal-content {
    background-color: #fff;
    margin: 5% auto;
    padding: 20px;
    border-radius: 8px;
    box-shadow: 0 2px 8px rgba(0, 0, 0, 0.2);
    width: 90%;
    max-width: 500px;
    max-height: 80vh;
    overflow-y: auto;
    position: relative;
}

.close-modal {
    position: absolute;
    right: 20px;
    top: 15px;
    font-size: 24px;
    font-weight: bold;
    cursor: pointer;
    color: #666;
}

.close-modal:hover {
    color: #000;
}

.form-group {
    margin-bottom: 15px;
}

.form-group label {
    display: block;
    margin-bottom: 5px;
    font-weight: 500;
}

.form-group input,
.form-group textarea {
    width: 100%;
    padding: 8px;
    border: 1px solid #ddd;
    border-radius: 4px;
    font-size: 16px;
}

.form-group textarea {
    height: 100px;
    resize: vertical;
}

.submit-btn {
    background-color: #ff7f50;
    color: white;
    padding: 10px 20px;
    border: none;
    border-radius: 4px;
    cursor: pointer;
    font-size: 16px;
    width: 100%;
    margin-top: 15px;
}

.submit-btn:hover {
    background-color: #ff6b3a;
}

@media (max-width: 600px) {
    .modal-content {
        margin: 10% auto;
        width: 95%;
        padding: 15px;
    }
}

