
body {
    background-color: #5d6df2;
    display: flex;
    justify-content: center;
    align-items: center;
    height: 100vh;
    margin: 0;
    font-family: 'Segoe UI', Roboto, Helvetica, Arial, sans-serif;
    color: white;
    overflow: hidden;
}


.game-container {
    display: flex;
    flex-direction: column;
    align-items: center;
    text-align: center;
}


h1 {
    font-size: 3.5rem;
    margin-bottom: 40px;
    text-transform: uppercase;
    letter-spacing: 4px;
    text-shadow: 4px 4px 0px #2e3b8e, 0 0 20px rgba(0,0,0,0.2);
    font-weight: 900;
}


.wheel-wrapper {
    position: relative;
    padding: 15px;
    background: white;
    border-radius: 50%;
    border: 10px solid #2e3b8e;
    display: inline-block;
    box-shadow: 0 15px 35px rgba(0,0,0,0.3);
    margin-bottom: 50px; 
}


.pointer {
    position: absolute;
    top: -25px;
    left: 50%;
    transform: translateX(-50%);
    width: 45px;
    height: 50px;
    background: #ff7e5f;
    clip-path: polygon(50% 100%, 0 0, 100% 0);
    z-index: 15;
    filter: drop-shadow(0 4px 2px rgba(0,0,0,0.2));
}

canvas {
    border-radius: 50%;
    display: block;
}

button {
    padding: 18px 70px;
    font-size: 28px;
    font-weight: 900;
    color: white;
    background: linear-gradient(180deg, #ff9a8b 0%, #ff7e5f 100%);
    border: none;
    border-radius: 60px;
    cursor: pointer;
    text-transform: uppercase;
    letter-spacing: 2px;
    box-shadow: 0 8px 0px #d6654a, 0 15px 25px rgba(0,0,0,0.2);
    transition: all 0.1s ease;
    outline: none;
}


button:hover {
    transform: translateY(-2px);
    box-shadow: 0 10px 0px #d6654a, 0 20px 30px rgba(0,0,0,0.3);
}


button:active {
    box-shadow: 0 2px 0px #d6654a;
    transform: translateY(6px);
}

button:disabled {
    background: #ccc;
    box-shadow: 0 4px 0px #999;
    cursor: not-allowed;
    transform: translateY(4px);
    opacity: 0.7;
}


.modal-overlay {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background-color: rgba(0, 0, 0, 0.85);
    display: none; /* JS მართავს ამას */
    justify-content: center;
    align-items: center;
    z-index: 1000;
    opacity: 0;
    transition: opacity 0.4s ease;
    backdrop-filter: blur(5px);
}

.modal-overlay.open {
    display: flex;
    opacity: 1;
}

.modal {
    background-color: white;
    padding: 50px;
    border-radius: 30px;
    text-align: center;
    color: #333;
    box-shadow: 0 20px 50px rgba(0,0,0,0.5);
    transform: scale(0.5);
    transition: transform 0.5s cubic-bezier(0.175, 0.885, 0.32, 1.275);
    width: 350px;
}

.modal-overlay.open .modal {
    transform: scale(1);
}

.modal h2 {
    margin-top: 0;
    color: #5d6df2;
    font-size: 2.5rem;
    font-weight: 900;
}

.modal p {
    font-size: 1.4rem;
    margin-bottom: 5px;
    color: #666;
}

.prize-display {
    font-size: 6rem;
    margin: 25px 0;
    filter: drop-shadow(0 10px 10px rgba(0,0,0,0.1));
    animation: pulsePrize 1.5s infinite ease-in-out;
}


#closeModalBtn {
    margin-top: 20px;
    padding: 15px 50px;
    font-size: 20px;
    background: #5d6df2;
    box-shadow: 0 6px 0px #3a4bb0;
}

#closeModalBtn:hover {
    background: #4a5bd9;
}

#closeModalBtn:active {
    box-shadow: 0 2px 0px #3a4bb0;
}


@keyframes pulsePrize {
    0% { transform: scale(1) rotate(0deg); }
    50% { transform: scale(1.2) rotate(5deg); }
    100% { transform: scale(1) rotate(0deg); }
}

/* ეს დაამატე style.css-ში */
.ad-visible {
    display: flex !important;
    opacity: 1 !important;
}

.promo-modal {
    /* წინა პასუხებში მოცემული სტილები */
    animation: fadeIn 0.5s ease-out;
}

@keyframes fadeIn {
    from { opacity: 0; transform: translateY(-20px); }
    to { opacity: 1; transform: translateY(0); }
}