* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Poppins', sans-serif;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    min-height: 100vh;
    padding: 20px;
    color: #333;
}

.container {
    max-width: 1200px;
    margin: 0 auto;
    background: white;
    border-radius: 20px;
    box-shadow: 0 15px 30px rgba(0, 0, 0, 0.2);
    overflow: hidden;
}

/* Header Styles */
header {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
}

.logo h1 {
    font-size: 28px;
    font-weight: 700;
    display: flex;
    align-items: center;
    gap: 10px;
}

.tagline {
    font-size: 16px;
    opacity: 0.9;
    margin-top: 5px;
}

.contact-info p {
    margin: 5px 0;
    font-size: 14px;
    display: flex;
    align-items: center;
    gap: 10px;
}

/* Offer Banner */
.offer-banner {
    background: linear-gradient(to right, #fbbf24, #f59e0b);
    padding: 25px 40px;
    display: flex;
    justify-content: space-between;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
}

.offer-text h2 {
    color: #1e293b;
    font-size: 24px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 10px;
}

.discount {
    font-size: 28px;
    font-weight: 700;
    color: #dc2626;
    text-shadow: 1px 1px 3px rgba(0, 0, 0, 0.2);
}

.deadline {
    font-size: 16px;
    color: #1e293b;
    margin-top: 5px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.courses h3 {
    color: #1e293b;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    gap: 8px;
}

.courses ul {
    list-style: none;
}

.courses li {
    margin: 5px 0;
    display: flex;
    align-items: center;
    gap: 8px;
    color: #1e293b;
}

/* Wheel Container */
.wheel-container {
    padding: 40px;
    text-align: center;
    background: #f8fafc;
}

.wheel-container h2 {
    color: #1e293b;
    font-size: 32px;
    margin-bottom: 10px;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
}

.subtitle {
    color: #64748b;
    font-size: 18px;
    margin-bottom: 30px;
}

.wheel-wrapper {
    position: relative;
    width: 500px;
    height: 500px;
    margin: 0 auto 40px;
}

.wheel-center {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    width: 100px;
    height: 100px;
    background: white;
    border-radius: 50%;
    display: flex;
    align-items: center;
    justify-content: center;
    box-shadow: 0 0 20px rgba(0, 0, 0, 0.2);
    z-index: 10;
}

.spin-btn {
    background: linear-gradient(to right, #10b981, #059669);
    color: white;
    border: none;
    padding: 15px 30px;
    border-radius: 50px;
    font-size: 18px;
    font-weight: 600;
    cursor: pointer;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    gap: 10px;
    box-shadow: 0 5px 15px rgba(16, 185, 129, 0.4);
}

.spin-btn:hover {
    transform: scale(1.05);
    box-shadow: 0 8px 20px rgba(16, 185, 129, 0.6);
}

.spin-btn:disabled {
    background: #94a3b8;
    cursor: not-allowed;
    transform: none;
}

.pointer {
    position: absolute;
    top: -30px;
    left: 50%;
    transform: translateX(-50%);
    width: 40px;
    height: 60px;
    background: #dc2626;
    clip-path: polygon(50% 0%, 0% 100%, 100% 100%);
    z-index: 5;
}

.prize-display {
    background: white;
    padding: 25px;
    border-radius: 15px;
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.1);
    margin: 30px auto;
    max-width: 500px;
    border: 3px dashed #10b981;
}

.prize-display h3 {
    font-size: 24px;
    color: #1e293b;
    margin-bottom: 20px;
}

#prizeText {
    color: #dc2626;
    font-weight: 700;
}

.prize-icon {
    font-size: 60px;
    color: #f59e0b;
}

.probability-info {
    background: #dbeafe;
    padding: 15px;
    border-radius: 10px;
    margin: 20px auto;
    max-width: 500px;
    border-left: 5px solid #2563eb;
}

.probability-info p {
    color: #1e40af;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 10px;
}

/* Registration Form */
.registration-form {
    background: white;
    padding: 40px;
    margin: 40px;
    border-radius: 20px;
    box-shadow: 0 10px 25px rgba(0, 0, 0, 0.1);
    border: 3px solid #2563eb;
}

.registration-form h2 {
    color: #1e293b;
    font-size: 28px;
    margin-bottom: 15px;
    display: flex;
    align-items: center;
    gap: 15px;
}

.form-subtitle {
    font-size: 18px;
    color: #64748b;
    margin-bottom: 30px;
}

.highlight-prize {
    color: #dc2626;
    font-weight: 700;
    font-size: 22px;
}

.form-group {
    margin-bottom: 25px;
}

.form-group label {
    display: block;
    margin-bottom: 8px;
    font-weight: 600;
    color: #374151;
    display: flex;
    align-items: center;
    gap: 10px;
}

.form-group input,
.form-group select,
.form-group textarea {
    width: 100%;
    padding: 15px;
    border: 2px solid #d1d5db;
    border-radius: 10px;
    font-size: 16px;
    transition: border 0.3s;
}

.form-group input:focus,
.form-group select:focus,
.form-group textarea:focus {
    border-color: #2563eb;
    outline: none;
}

.terms {
    margin: 30px 0;
    display: flex;
    align-items: flex-start;
    gap: 10px;
}

.terms input {
    margin-top: 5px;
}

.terms label {
    font-size: 14px;
    color: #4b5563;
}

.submit-btn {
    background: linear-gradient(to right, #2563eb, #4f46e5);
    color: white;
    border: none;
    padding: 18px 40px;
    border-radius: 50px;
    font-size: 20px;
    font-weight: 600;
    cursor: pointer;
    width: 100%;
    transition: all 0.3s;
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 15px;
    box-shadow: 0 5px 15px rgba(37, 99, 235, 0.4);
}

.submit-btn:hover {
    transform: translateY(-3px);
    box-shadow: 0 8px 20px rgba(37, 99, 235, 0.6);
}

/* Confirmation Message */
.confirmation-msg {
    text-align: center;
    padding: 40px;
    background: #f0fdf4;
    border-radius: 15px;
    border: 3px solid #10b981;
}

.success-icon {
    font-size: 80px;
    color: #10b981;
    margin-bottom: 20px;
}

.confirmation-msg h3 {
    color: #065f46;
    font-size: 28px;
    margin-bottom: 15px;
}

.confirmation-msg p {
    color: #047857;
    font-size: 18px;
    margin: 10px 0;
}

/* Footer */
footer {
    background: #1e293b;
    color: #cbd5e1;
    text-align: center;
    padding: 25px;
    margin-top: 40px;
}

footer p {
    margin: 5px 0;
    font-size: 14px;
}

/* Responsive Design */
@media (max-width: 768px) {
    header, .offer-banner {
        flex-direction: column;
        text-align: center;
        gap: 15px;
    }
    
    .wheel-wrapper {
        width: 300px;
        height: 300px;
    }
    
    #wheelCanvas {
        width: 300px;
        height: 300px;
    }
    
    .registration-form {
        margin: 20px;
        padding: 25px;
    }
    
    .wheel-container h2 {
        font-size: 24px;
    }
}