body {
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
    overflow-x: hidden;
    margin: 0;
    padding: 0;
}

/* Left Side - Wheel Section */
.wheel-side {
    /* background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); */
    overflow: hidden;
    position: relative;
}

/* Right Side - Form Section */
.form-side {
    background: #f8f9fa;
    padding: 40px 20px;
}

.form-container {
    max-width: 550px;
    margin: 0 auto;
}

.logo {
    max-width: 200px;
    height: auto;
}

/* Wheel Container - Full wheel visible */
.wheel-container-left {
    position: relative;
    width: 600px;
    height: 600px;
    margin-right: 0px;
}

#wheelCanvas {
    max-width: 100%;
    height: auto;
    filter: drop-shadow(0 10px 40px rgba(0, 0, 0, 0.3));
}

/* Spin Button */
.spin-button {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: #ffffff;
    color: #667eea;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    font-weight: bold;
    font-size: 18px;
    cursor: pointer;
    box-shadow: 0 8px 30px rgba(0, 0, 0, 0.3);
    transition: all 0.3s ease;
    z-index: 10;
    border: 5px solid #667eea;
}

.spin-button:hover {
    transform: translate(-50%, -50%) scale(1.1);
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.4);
    background: #667eea;
    color: white;
}

.spin-button.spinning {
    pointer-events: none;
    opacity: 0.7;
}

.spin-button.disabled {
    pointer-events: none;
    /* opacity: 0.5; */
    cursor: not-allowed;
}

.bounce-note {
    animation: bounce 1.5s infinite;
}

@keyframes bounce {
    0%, 20%, 50%, 80%, 100% {
        transform: translateY(0);
    }
    40% {
        transform: translateY(-8px);
    }
    60% {
        transform: translateY(-4px);
    }
}


/* Wheel Pointer - Side arrow pointing to wheel center */
.wheel-pointer-side {
    position: absolute;
    top: 33%;
    right: -25px;
    width: 0;
    height: 0;
    border-top: 10px solid transparent;
    border-bottom: 10px solid transparent;
    border-left: 85px solid #ffffff;
    filter: drop-shadow(0 3px 10px rgba(0, 0, 0, 0.3));
    z-index: 15;
    transform: rotate(180deg);
}

.wheel-pointer-side::before {
    content: '';
    position: absolute;
    right: 0;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 30px solid transparent;
    border-bottom: 30px solid transparent;
    border-left: 50px solid #e91e63;
    filter: drop-shadow(0 4px 15px rgba(233, 30, 99, 0.5));
}

.wheel-pointer-side::after {
    content: '';
    position: absolute;
    right: 5px;
    top: 50%;
    transform: translateY(-50%);
    width: 0;
    height: 0;
    border-top: 25px solid transparent;
    border-bottom: 25px solid transparent;
    border-left: 40px solid #c2185b;
}

/* Form Styling */
.form-control-lg {
    transition: all 0.3s ease;
    width: 100%;
    border: 1px solid #0a254080 !important;
    height: 40px;
    padding: 0 8px;
    border-radius: 3px !important;
    margin: 0 0 20px;
    font-family: 'Inter', sans-serif;
        font-size: 16px;
    font-weight: 400;
}

.wheel_container{
        background: url(https://educationsummit.com/images/eduction_hub_bg.webp);
    background-position: center;
    background-attachment: fixed;
}

.form-control-lg::placeholder{
    font-size: 16px;
    color: grey;
}

.form-container h2{
    font-size: 20px;
}

.form-control-lg:focus {
    border-color: #667eea;
    box-shadow: 0 0 0 0.2rem rgba(102, 126, 234, 0.25);
}

.btn-danger {
    background: linear-gradient(135deg, #e74c3c 0%, #c0392b 100%);
    border: none;
    border-radius: 8px;
    transition: all 0.3s ease;
}

.btn-danger:hover {
    background: linear-gradient(135deg, #c0392b 0%, #e74c3c 100%);
    transform: translateY(-2px);
    box-shadow: 0 5px 20px rgba(231, 76, 60, 0.4);
}

/* Progress Bar */
.progress {
    border-radius: 15px;
    overflow: hidden;
}

.progress-bar {
    font-size: 14px;
    font-weight: 600;
}

/* Result Modal */
.result-icon {
    font-size: 80px;
    animation: bounce 1s infinite;
}

@keyframes bounce {

    0%,
    100% {
        transform: translateY(0);
    }

    50% {
        transform: translateY(-20px);
    }
}

.modal-content {
    border-radius: 20px;
    border: none;
    box-shadow: 0 10px 40px rgba(0, 0, 0, 0.2);
}

.modal-header.bg-success {
    background: linear-gradient(135deg, #27ae60 0%, #229954 100%) !important;
}

/* Responsive Design */
@media (max-width: 991px) {
    .wheel-side {
        min-height: 50vh;
        justify-content: center !important;
    }

    .wheel-container-left {
        margin-right: 0;
        width: 400px;
        height: 400px;
    }

    .form-side {
        min-height: 50vh;
    }

    .spin-button {
        width: 80px;
        height: 80px;
        font-size: 16px;
    }
}

@media (max-width: 576px) {
    .wheel-container-left {
        width: 300px;
        height: 300px;
    }

    .spin-button {
        width: 60px;
        height: 60px;
        font-size: 14px;
    }

    .form-container {
        padding: 20px 10px;
    }

    h2 {
        font-size: 1.5rem;
    }
}

/* Animation for wheel spinning */
@keyframes spin {
    from {
        transform: rotate(0deg);
    }

    to {
        transform: rotate(360deg);
    }
}