:root {
    --bg-gradient: linear-gradient(135deg, #e0f2fe 0%, #bae6fd 100%);
    --card-bg: rgba(255, 255, 255, 0.9);
    --text-dark: #0f172a;
    --text-light: #475569;
    --primary: #0284c7;
}

* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
}

body {
    font-family: 'Roboto', sans-serif;
    background: var(--bg-gradient);
    color: var(--text-dark);
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
    position: relative;
    overflow: hidden;
}

.particles {
    position: absolute;
    top: 0; left: 0; right: 0; bottom: 0;
    background-image: radial-gradient(#bae6fd 2px, transparent 2px);
    background-size: 40px 40px;
    opacity: 0.5;
    animation: moveBackground 20s linear infinite;
}

@keyframes moveBackground {
    from { background-position: 0 0; }
    to { background-position: 400px 400px; }
}

.card {
    background: var(--card-bg);
    padding: 3rem;
    border-radius: 24px;
    box-shadow: 0 20px 40px rgba(2, 132, 199, 0.1);
    max-width: 500px;
    text-align: center;
    position: relative;
    z-index: 1;
    border: 1px solid rgba(255,255,255,0.5);
    backdrop-filter: blur(10px);
    transform: scale(0.95);
    opacity: 0;
    animation: scaleUp 0.6s ease-out forwards;
}

@keyframes scaleUp {
    to { transform: scale(1); opacity: 1; }
}

.gear-icon {
    width: 80px;
    height: 80px;
    background: #f0f9ff;
    border-radius: 50%;
    display: flex;
    justify-content: center;
    align-items: center;
    margin: 0 auto 1.5rem;
    color: var(--primary);
    box-shadow: inset 0 4px 6px rgba(0,0,0,0.05);
}

.gear-icon svg {
    width: 40px;
    height: 40px;
    animation: spin 6s linear infinite;
}

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

h1 {
    font-size: 2.25rem;
    font-weight: 700;
    margin-bottom: 1rem;
    color: #0c4a6e;
}

p {
    font-size: 1rem;
    color: var(--text-light);
    line-height: 1.6;
    margin-bottom: 2rem;
}

.status-box {
    display: inline-flex;
    align-items: center;
    gap: 0.75rem;
    padding: 0.75rem 1.25rem;
    background: #f8fafc;
    border-radius: 99px;
    font-weight: 500;
    color: #334155;
    margin-bottom: 2rem;
    border: 1px solid #e2e8f0;
}

.pulse {
    width: 10px;
    height: 10px;
    background: var(--primary);
    border-radius: 50%;
    position: relative;
}

.pulse::after {
    content: '';
    position: absolute;
    top: -4px; left: -4px; right: -4px; bottom: -4px;
    border-radius: 50%;
    border: 2px solid var(--primary);
    animation: pulseAnim 1.5s infinite;
}

@keyframes pulseAnim {
    0% { transform: scale(0.5); opacity: 1; }
    100% { transform: scale(1.5); opacity: 0; }
}

.refresh-btn {
    padding: 0.875rem 2rem;
    background: var(--primary);
    color: white;
    border: none;
    border-radius: 12px;
    font-size: 1rem;
    font-weight: 500;
    cursor: pointer;
    transition: all 0.2s;
    box-shadow: 0 4px 12px rgba(2, 132, 199, 0.3);
}

.refresh-btn:hover {
    background: #0369a1;
    transform: translateY(-2px);
    box-shadow: 0 6px 16px rgba(2, 132, 199, 0.4);
}
