@keyframes spin {
    to { transform: rotate(360deg); }
}

#turnstile-overlay {
    position: fixed;
    top: 0; 
    left: 0;
    width: 100vw;
    height: 100vh;
    background: rgba(0, 0, 0, 0.7);
    display: flex;
    justify-content: center;
    align-items: center;
    z-index: 9999;
}

#turnstile-box {
    background: white;
    border-radius: 8px;
    box-shadow: 0 4px 20px rgba(0, 0, 0, 0.2);
    padding: 30px;
    max-width: 500px;
    width: 90%;
    text-align: center;
    min-height: 250px;
    max-height: 90vh;
    overflow-y: auto;
    font-family: Arial, sans-serif;
}

.turnstile-spinner {
    animation: spin 2s linear infinite;
}

/* Timer Styles */
#turnstile-timer {
    margin-top: 20px;
    font-size: 14px;
    color: #666;
}

/* Warning Box */
#delay-warning {
    margin-top: 15px;
    padding: 15px;
    background: #fef0f0;
    border: 1px solid #ec0016;
    border-radius: 5px;
}

#delay-warning div {
    font-size: 13px;
    color: #ec0016;
}

/* Mobile Optimierungen */
@media (max-width: 768px) {
    #turnstile-box {
        padding: 20px;
        width: 95%;
        min-height: 300px;
    }
    
    #turnstile-box button {
        font-size: 14px;
        padding: 12px 16px;
        width: 100%;
        margin-top: 10px;
    }
}