body {
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    background: #2c3e50;
    font-family: 'Padauk', sans-serif;
    overflow: hidden;
}

.wheel-container {
    position: relative;
    width: 300px;
    height: 300px;
    display: flex;
    align-items: center;
    justify-content: center;
    margin-bottom: 20px;
}

.pointer {
    position: absolute;
    width: 0;
    height: 0;
    border-left: 15px solid transparent;
    border-right: 15px solid transparent;
    border-top: 30px solid #e74c3c;
    top: -15px;
    z-index: 10;
    filter: drop-shadow(0 -2px 2px rgba(0,0,0,0.3));
}

.wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    border: 8px solid #ecf0f1;
    position: relative;
    overflow: hidden;
    transition: transform 6s cubic-bezier(0.1, 0.7, 0.1, 1);
}

.slice {
    position: absolute;
    width: 50%;
    height: 50%;
    background: var(--clr);
    transform-origin: 100% 100%;
    transform: rotate(calc(51.428deg * var(--i))); /* 360/7 = 51.428 */
    clip-path: polygon(0 0, 50% 100%, 100% 0);
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    color: #fff;
    text-shadow: 1px 1px 1px rgba(0,0,0,0.5);
    padding-bottom: 25px;
    box-sizing: border-box;
}

.slice span {
    display: block;
    transform: rotate(-65deg);
    font-size: 14px;
}

#spin-btn {
    margin-top: 20px;
    padding: 15px 30px;
    font-size: 1.5em;
    cursor: pointer;
    background-color: #e74c3c;
    color: white;
    border: none;
    border-radius: 8px;
    box-shadow: 0 5px #c0392b;
    transition: all 0.1s;
}

#spin-btn:active {
    transform: translateY(5px);
    box-shadow: 0 0 #c0392b;
}

.contact-buttons { margin-top: 30px; }
.btn { padding: 10px 15px; margin: 0 10px; text-decoration: none; color: white; border-radius: 5px; font-size: 1em; }
.telegram-btn { background-color: #0088cc; }
.viber-btn { background-color: #665CAC; }
.call-btn { background-color: #25D366; }

/* Modal Styles */
.modal-overlay {
    position: fixed; top: 0; left: 0; width: 100%; height: 100%;
    background-color: rgba(0, 0, 0, 0.6); display: none; align-items: center;
    justify-content: center; z-index: 100;
}
.modal-content {
    background: #fff; color: #333; padding: 30px 40px; border-radius: 15px;
    text-align: center; position: relative; box-shadow: 0 5px 15px rgba(0,0,0,0.3);
    transform: scale(0.7); animation: zoomIn 0.3s forwards;
}
@keyframes zoomIn { to { transform: scale(1); } }
.modal-content h2 { color: #34495e; margin-top: 0; font-size: 2.5em; }
.modal-content p { font-size: 1.2em; margin-bottom: 0; }
.close-btn { position: absolute; top: 10px; right: 15px; font-size: 2em; color: #aaa; cursor: pointer; }
