/* Reset and Base Styles */
* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: -apple-system, BlinkMacSystemFont, 'Segoe UI', Roboto, 
                 'Helvetica Neue', Arial, sans-serif;
    display: flex;
    flex-direction: column;
    align-items: center;
    justify-content: center;
    min-height: 100vh;
    margin: 0;
    background: linear-gradient(135deg, #667eea 0%, #764ba2 100%);
    color: white;
    text-align: center;
    padding: 20px;
}

/* Container */
.container {
    max-width: 400px;
    animation: fadeIn 0.5s ease-in;
}

/* Heading */
h1 {
    font-size: 2em;
    margin-bottom: 20px;
    font-weight: 600;
}

/* Status Text */
#status {
    font-size: 1.1em;
    margin-top: 20px;
    opacity: 0.9;
}

/* Loading Spinner */
.spinner {
    border: 4px solid rgba(255, 255, 255, 0.3);
    border-radius: 50%;
    border-top: 4px solid white;
    width: 50px;
    height: 50px;
    animation: spin 1s linear infinite;
    margin: 20px auto;
}

@keyframes spin {
    0% { transform: rotate(0deg); }
    100% { transform: rotate(360deg); }
}

@keyframes fadeIn {
    from {
        opacity: 0;
        transform: translateY(-10px);
    }
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

/* Manual Links Section */
.manual-links {
    margin-top: 40px;
    padding-top: 30px;
    border-top: 1px solid rgba(255, 255, 255, 0.3);
}

.manual-links p {
    margin-bottom: 15px;
    font-size: 0.9em;
    opacity: 0.8;
}

.manual-links a {
    display: inline-block;
    color: white;
    text-decoration: none;
    padding: 10px 20px;
    margin: 5px;
    border: 2px solid white;
    border-radius: 25px;
    font-weight: 500;
    transition: all 0.3s ease;
}

.manual-links a:hover {
    background-color: white;
    color: #667eea;
    transform: translateY(-2px);
    box-shadow: 0 5px 15px rgba(0, 0, 0, 0.2);
}

/* Responsive Design */
@media (max-width: 480px) {
    h1 {
        font-size: 1.5em;
    }
    
    .container {
        padding: 0 10px;
    }
    
    .manual-links a {
        display: block;
        margin: 10px 0;
    }
}

/* Dark mode support */
@media (prefers-color-scheme: dark) {
    body {
        background: linear-gradient(135deg, #434343 0%, #000000 100%);
    }
}

