#cw-container { 
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: flex-start;
    text-align: center;
    width: 100%;
    max-width: 100%;
    margin: 0 auto;
    padding: 20px 20px 30px 20px;
    position: relative;
    background: linear-gradient(135deg, #f8f9fa 0%, #e9ecef 50%, #f8f9fa 100%);
    min-height: 100vh;
}

#cw-header {
    max-width: 800px;
    margin: 0 auto 30px auto;
    padding: 0 20px;
}

#cw-title {
    font-size: 36px;
    font-weight: bold;
    color: #2D7A6B;
    margin-bottom: 20px;
    text-shadow: 2px 2px 4px rgba(0, 0, 0, 0.1);
}

#cw-intro-text {
    font-size: 18px;
    line-height: 1.8;
    color: #333;
    margin-bottom: 10px;
}

#cw-intro-text p {
    margin: 12px 0;
}

#cw-intro-text strong {
    color: #2D7A6B;
    font-size: 20px;
}

#cw-wheel-wrapper {
    position: relative;
    display: inline-block;
    margin: 0 auto;
    z-index: 1;
}

#cw-wheel-wrapper.email-required #cw-wheel {
    filter: blur(5px) drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    opacity: 0.6;
    pointer-events: none;
}

#cw-wheel {
    display: block;
    margin: 0 auto;
    max-width: 500px;
    width: 500px;
    height: 500px;
    filter: drop-shadow(0 10px 25px rgba(0, 0, 0, 0.15));
    border-radius: 50%;
    background: linear-gradient(135deg, #fff 0%, #f8f8f8 100%);
    padding: 10px;
    box-shadow: 0 0 30px rgba(45, 122, 107, 0.2);
}

/* Responsive adjustments for mobile */
@media screen and (max-width: 768px) {
    #cw-container {
        padding: 15px;
        min-height: auto;
    }
    
    #cw-header {
        margin-bottom: 20px;
        padding: 0 10px;
    }
    
    #cw-title {
        font-size: 28px;
        margin-bottom: 15px;
    }
    
    #cw-intro-text {
        font-size: 16px;
        line-height: 1.6;
    }
    
    #cw-intro-text strong {
        font-size: 18px;
    }
    
    #cw-wheel-wrapper {
        width: 100%;
        max-width: calc(100vw - 30px);
    }
    
    #cw-wheel {
        max-width: 100%;
        width: 100%;
        height: auto;
        padding: 8px;
    }
    
    #cw-winner-message {
        font-size: 14px;
        padding: 15px 20px;
        width: calc(100vw - 60px);
        max-width: calc(100vw - 60px);
        max-height: 40vh;
        overflow-y: auto;
        top: 40%;
        transform: translate(-50%, -40%);
    }
    
    #cw-email-form {
        padding: 20px;
        gap: 12px;
        position: absolute;
        top: 50%;
        left: 50%;
        transform: translate(-50%, -50%);
        z-index: 1000;
    }
    
    #cw-spin-btn {
        padding: 12px 25px;
        font-size: 16px;
        margin-top: 15px;
    }
    
    #cw-winner-message {
        font-size: 16px;
        padding: 12px 15px;
        margin-top: 15px;
    }
    
    #cw-email-form label {
        font-size: 14px;
    }
    
    #cw-email {
        font-size: 14px;
        padding: 8px 12px;
    }
    
    #cw-submit-email {
        padding: 10px 20px;
        font-size: 14px;
    }
    
    #cw-message {
        font-size: 14px;
        padding: 12px 15px;
        max-width: 100%;
    }
}

#cw-spin-btn { 
    padding: 15px 35px; 
    font-size: 18px; 
    font-weight: bold;
    margin: 25px auto 0 auto;
    cursor: pointer;
    background: linear-gradient(135deg, #C41E3A 0%, #DC143C 100%);
    color: white;
    border: 3px solid #FFD700;
    border-radius: 8px;
    box-shadow: 0 4px 15px rgba(196, 30, 58, 0.4), 0 0 20px rgba(255, 215, 0, 0.3);
    transition: all 0.3s ease;
    text-transform: uppercase;
    letter-spacing: 1px;
    display: block;
    width: auto;
}

#cw-spin-btn:hover {
    background: linear-gradient(135deg, #DC143C 0%, #FF1744 100%);
    box-shadow: 0 6px 20px rgba(196, 30, 58, 0.6), 0 0 30px rgba(255, 215, 0, 0.5);
    transform: translateY(-2px);
}

#cw-spin-btn:disabled {
    background-color: #cccccc;
    cursor: not-allowed;
}

#cw-winner-message {
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    font-size: 18px;
    font-weight: bold;
    color: #2D7A6B;
    display: none;
    padding: 20px 25px;
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.4) 0%, rgba(255, 236, 179, 0.4) 100%);
    border-radius: 10px;
    border: 3px solid #FFD700;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    line-height: 1.6;
    z-index: 1000;
    width: 600px;
    max-width: 90vw;
    text-align: center;
    backdrop-filter: blur(3px);
}

#cw-email-form { 
    position: absolute;
    top: 50%;
    left: 50%;
    transform: translate(-50%, -50%);
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 15px;
    z-index: 1000;
    width: 600px;
    max-width: 90vw;
    padding: 25px 30px;
    background: linear-gradient(135deg, rgba(255, 248, 225, 0.4) 0%, rgba(255, 236, 179, 0.4) 100%);
    border-radius: 10px;
    border: 3px solid #FFD700;
    box-shadow: 0 6px 25px rgba(0, 0, 0, 0.3);
    backdrop-filter: blur(3px);
}

#cw-wheel-section {
    width: 100%;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 0;
}

#cw-email-form label {
    font-size: 16px;
    color: #2D7A6B;
    font-weight: 600;
    margin-bottom: 5px;
    text-align: center;
}

#cw-email {
    padding: 10px 15px;
    font-size: 16px;
    border: 2px solid #ddd;
    border-radius: 5px;
    width: 100%;
    max-width: 400px;
}

#cw-submit-email {
    padding: 12px 30px;
    font-size: 16px;
    font-weight: 600;
    background: linear-gradient(135deg, #2D7A6B 0%, #1a5d52 100%);
    color: white;
    border: 2px solid #FFD700;
    border-radius: 6px;
    cursor: pointer;
    transition: all 0.3s ease;
    box-shadow: 0 3px 10px rgba(45, 122, 107, 0.3);
}

#cw-submit-email:hover {
    background: linear-gradient(135deg, #1a5d52 0%, #2D7A6B 100%);
    box-shadow: 0 5px 15px rgba(45, 122, 107, 0.5);
    transform: translateY(-2px);
}

#cw-message {
    margin-top: 20px;
    padding: 15px 20px;
    border-radius: 5px;
    font-size: 16px;
    font-weight: 500;
    text-align: center;
    max-width: 500px;
    display: none;
}

#cw-message.success {
    background-color: #d4edda;
    color: #155724;
    border: 1px solid #c3e6cb;
    display: block;
}

#cw-message.error {
    background-color: #f8d7da;
    color: #721c24;
    border: 1px solid #f5c6cb;
    display: block;
}
