
#scratch-container {
    position: relative;
    width: 700px;
    height: 1100px;
    margin: 0 auto;
}
#scratchCanvas {
    position: absolute;
    top: 0;
    left: 0;
    width: 700px;
    height: 1100px;
    background-color: transparent;
    z-index: 5;
    border-radius: 20px;
}
#prizes-underneath {
    position: absolute;
    top: 30px;
    left: 30px;
    right: 30px;
    bottom: 30px;
    z-index: 1;
    display: grid;
    grid-template-columns: repeat(3, 1fr);
    gap: 20px;
    color: white;
    font-weight: bold;
    font-size: 26px;
    text-align: center;
    align-items: center;
    justify-items: center;
    pointer-events: none;
}
.prize {
    background: transparent;
}

/* Highlight winning prizes */
.prize.win-highlight {
    color: #ff8a00;
    font-weight: bold;
    text-shadow: 0 0 10px #ff8a00;
}

/* Modal Styles */
.modal {
    display: none;
    position: fixed;
    z-index: 9999;
    left: 0;
    top: 0;
    width: 100%;
    height: 100%;
    overflow: auto;
    background-color: rgba(0,0,0,0.6);
}
.modal-content {
    background-color: #222;
    margin: 15% auto;
    padding: 30px;
    border: 2px solid #ff8a00;
    width: 80%;
    max-width: 400px;
    text-align: center;
    border-radius: 15px;
    color: white;
    animation: bounceIn 1s ease;
}
#modal-message {
    font-size: 26px;
    font-weight: bold;
    margin-top: 20px;
}
#modal-close {
    color: #ff8a00;
    float: right;
    font-size: 30px;
    font-weight: bold;
    cursor: pointer;
}
#modal-close:hover {
    color: #fff;
}

#blow-bits-btn {
    margin-top: 20px;
    background-color: #ff8a00;
    border: none;
    padding: 12px 25px;
    border-radius: 8px;
    font-size: 18px;
    color: #fff;
    cursor: pointer;
    transition: background 0.3s ease;
}
#blow-bits-btn:hover {
    background-color: #ffa733;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); opacity: 0; }
    50% { transform: scale(1.2); opacity: 1; }
    100% { transform: scale(1); }
}
