/* General Styles for Spin Wheel Plugin */
.stc-spin-wrapper {
    font-family: Arial, sans-serif;
}

/* Welcome Message Styles */
.stc-welcome-message {
    padding: 20px;
    color: white;
}
.stc-welcome-message h2 {
    margin-bottom: 20px;
    color: #fff;
}
@media only screen and (max-width: 767px) {
	.stc-welcome-message{
		text-align: center;
	}
	.stc-welcome-message h2 {
		font-size: font-size: 28px;
	}
}


/* Modal Popup Styles */
.stc-spin-modal {
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: rgba(0,0,0,0.8);
    backdrop-filter: blur(5px);
    z-index: 9999;
    display: flex;
    justify-content: center;
    align-items: center;
}
.stc-spin-container {
    background: #4f008c;
    padding: 2rem;
    border-radius: 15px;
    text-align: center;
    width: 90%;
    max-width: 500px;
    box-shadow: 0 0 30px rgba(0,0,0,0.4);
    position: relative;
    color: #fff;
}

/* Close Button */
.stc-close-modal {
    position: absolute;
    top: 10px;
    right: 10px;
    cursor: pointer;
    font-size: 1.5rem;
}

/* Input Styles */
.stc-phone-form input {
    padding: 12px;
    margin: 15px 0;
    width: 80%;
    border: 2px solid #ddd;
    border-radius: 8px;
    font-size: 1rem;
    transition: border-color 0.3s ease;
    color: #333;
}
.stc-phone-form input:valid {
    border-color: #00cc00;
}

/* Button Styles */
.stc-btn {
    padding: 12px 25px;
    background: #2DC28D;
    color: #fff;
    border: none;
    border-radius: 25px;
    cursor: pointer;
    font-size: 1.2rem;
    transition: all 0.3s ease;
    margin-top: 20px;
}
.stc-btn:hover {
    transform: scale(1.05);
    background: #28a078;
}

/* Wheel Styles */
.stc-wheel-wrapper {
    position: relative;
    margin: 40px 0;
}
.stc-wheel {
    width: 300px;
    height: 300px;
    border-radius: 50%;
    position: relative;
    margin: 0 auto 20px;
    overflow: hidden;
    border: 4px solid #fff;
    box-shadow: 0 0 20px rgba(0,0,0,0.3);
}
.stc-wheel-item {
    position: absolute;
    width: 50%;
    height: 50%;
    left: 50%;
    top: 0;
    transform-origin: 0% 100%;
    background: var(--color);
    clip-path: polygon(100% 0, 100% 100%, 0 100%);
}
.stc-wheel-item span {
    position: absolute;
    right: 0;
    bottom: 21px;
    transform: rotate(-24deg);
    font-weight: bold;
    text-shadow: 1px 1px 2px rgba(0, 0, 0, 0.5);
    font-size: 13px;
    width: 100%;
    text-align: center;
}
/* Position each of the 8 segments (45° each) */
.stc-wheel-item:nth-child(1) { transform: rotate(0deg); }
.stc-wheel-item:nth-child(2) { transform: rotate(45deg); }
.stc-wheel-item:nth-child(3) { transform: rotate(90deg); }
.stc-wheel-item:nth-child(4) { transform: rotate(135deg); }
.stc-wheel-item:nth-child(5) { transform: rotate(180deg); }
.stc-wheel-item:nth-child(6) { transform: rotate(225deg); }
.stc-wheel-item:nth-child(7) { transform: rotate(270deg); }
.stc-wheel-item:nth-child(8) { transform: rotate(315deg); }

/* Pointer Style */
.stc-wheel-pointer {
    position: absolute;
    top: -40px;
    left: 50%;
    transform: translateX(-50%) rotate(180deg);
    width: 60px;
    height: 40px;
    background: #ff4444;
    clip-path: polygon(50% 0%, 70% 100%, 30% 100%);
    z-index: 3;
    filter: drop-shadow(0 2px 2px rgba(0, 0, 0, 0.3));
}

/* Result & Error Message Styles */
.stc-result-message, .stc-error-message {
    animation: bounceIn 0.5s ease-out;
}
.stc-result-message h2{
    font-size: 30px;
}

@keyframes bounceIn {
    0% { transform: scale(0.5); }
    50% { transform: scale(1.1); }
    100% { transform: scale(1); }
}


.stc-prize-details {
    text-align: left;
    margin: 20px 0;
}

.prize-badge {
    background: #854db0;
    color: white;
    padding: 8px 15px;
    border-radius: 20px;
    display: inline-block;
    margin-bottom: 15px;
    font-weight: bold;
    width: 100%;
    text-align: center;
}

.stc-prize-details p {
    margin: 10px 0;
    line-height: 1.5;
}

.note {
    margin-top: 20px;
    font-size: 0.9em;
    color: #666;
    border-top: 1px solid #ddd;
    padding-top: 15px;
}