:root {
    --bg-color: #030712;
    --text-primary: #f9fafb;
    --text-secondary: #9ca3af;
    --accent-glow: #38bdf8;
    --accent-glow-2: #818cf8;
    --card-bg: rgba(17, 24, 39, 0.4);
    --card-border: rgba(55, 65, 81, 0.5);
    --focus-ring: rgba(56, 189, 248, 0.5);
}

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

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

.background-elements {
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    overflow: hidden;
    z-index: -1;
}

.blob {
    position: absolute;
    filter: blur(100px);
    border-radius: 50%;
    opacity: 0.5;
    animation: float 20s infinite alternate cubic-bezier(0.4, 0, 0.2, 1);
}

.blob-1 {
    width: 40vw;
    height: 40vw;
    background: radial-gradient(circle, var(--accent-glow) 0%, transparent 70%);
    top: -10%;
    left: -10%;
}

.blob-2 {
    width: 35vw;
    height: 35vw;
    background: radial-gradient(circle, var(--accent-glow-2) 0%, transparent 70%);
    bottom: -10%;
    right: -10%;
    animation-delay: -10s;
}

@keyframes float {
    0% { transform: translate(0, 0) scale(1); }
    100% { transform: translate(5%, 10%) scale(1.1); }
}

.container {
    max-width: 1200px;
    padding: 4rem 2rem;
    width: 100%;
    display: flex;
    flex-direction: column;
    gap: 4rem;
}

.hero {
    text-align: center;
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 1.5rem;
}

.status-badge {
    background: rgba(56, 189, 248, 0.1);
    border: 1px solid rgba(56, 189, 248, 0.2);
    padding: 0.5rem 1rem;
    border-radius: 9999px;
    display: flex;
    align-items: center;
    gap: 0.75rem;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 20px rgba(56, 189, 248, 0.1);
}

.pulse {
    width: 10px;
    height: 10px;
    background-color: #4ade80;
    border-radius: 50%;
    position: relative;
    box-shadow: 0 0 10px #4ade80;
    transition: all 0.3s ease;
}

.pulse::after {
    content: '';
    position: absolute;
    top: -5px;
    left: -5px;
    right: -5px;
    bottom: -5px;
    border-radius: 50%;
    border: 2px solid #4ade80;
    animation: pulsing 2s infinite ease-out;
    transition: all 0.3s ease;
}

.pulse.checking {
    background-color: #facc15;
    box-shadow: 0 0 10px #facc15;
}
.pulse.checking::after {
    border-color: #facc15;
}

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

.status-text {
    font-size: 0.875rem;
    font-weight: 600;
    letter-spacing: 0.05em;
    color: #4ade80;
    transition: color 0.3s ease;
}

.status-text.checking {
    color: #facc15;
}

.title {
    font-size: clamp(3rem, 8vw, 5rem);
    font-weight: 800;
    line-height: 1.1;
    letter-spacing: -0.02em;
}

.highlight {
    background: linear-gradient(135deg, var(--accent-glow), var(--accent-glow-2));
    -webkit-background-clip: text;
    -webkit-text-fill-color: transparent;
    background-clip: text;
}

.subtitle {
    font-size: 1.25rem;
    color: var(--text-secondary);
    max-width: 600px;
    line-height: 1.6;
}

.info-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(300px, 1fr));
    gap: 2rem;
}

.card {
    background: var(--card-bg);
    border: 1px solid var(--card-border);
    border-radius: 1.5rem;
    padding: 2.5rem;
    backdrop-filter: blur(20px);
    transition: transform 0.3s ease, box-shadow 0.3s ease, border-color 0.3s ease;
    display: flex;
    flex-direction: column;
    gap: 1rem;
    position: relative;
    overflow: hidden;
}

.card::before {
    content: '';
    position: absolute;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    background: linear-gradient(135deg, rgba(255,255,255,0.05) 0%, transparent 100%);
    opacity: 0;
    transition: opacity 0.3s ease;
}

.card:hover {
    transform: translateY(-5px);
    box-shadow: 0 20px 40px rgba(0, 0, 0, 0.4);
    border-color: rgba(56, 189, 248, 0.3);
}

.card:hover::before {
    opacity: 1;
}

.card-icon {
    font-size: 2.5rem;
    background: rgba(255, 255, 255, 0.05);
    width: 4rem;
    height: 4rem;
    display: flex;
    align-items: center;
    justify-content: center;
    border-radius: 1rem;
    border: 1px solid rgba(255, 255, 255, 0.1);
}

.card h3 {
    font-size: 1.5rem;
    font-weight: 600;
}

.card p {
    color: var(--text-secondary);
    line-height: 1.6;
}

.time-display {
    font-size: 2.5rem;
    font-weight: 600;
    color: var(--accent-glow);
    font-variant-numeric: tabular-nums;
    margin-top: -0.5rem;
}

footer {
    display: flex;
    flex-direction: column;
    align-items: center;
    gap: 2rem;
    margin-top: 2rem;
}

.action-btn {
    background: linear-gradient(135deg, var(--accent-glow-2), var(--accent-glow));
    color: white;
    border: none;
    padding: 1rem 2.5rem;
    border-radius: 9999px;
    font-size: 1.125rem;
    font-weight: 600;
    font-family: inherit;
    cursor: pointer;
    transition: all 0.3s cubic-bezier(0.4, 0, 0.2, 1);
    box-shadow: 0 10px 30px rgba(129, 140, 248, 0.4);
    display: flex;
    align-items: center;
    justify-content: center;
    gap: 0.75rem;
    position: relative;
    overflow: hidden;
    min-width: 250px;
}

.action-btn::after {
    content: '';
    position: absolute;
    top: -50%;
    left: -50%;
    width: 200%;
    height: 200%;
    background: radial-gradient(circle, rgba(255,255,255,0.3) 0%, transparent 60%);
    opacity: 0;
    transform: scale(0.5);
    transition: transform 0.3s ease, opacity 0.3s ease;
}

.action-btn:hover {
    transform: translateY(-2px);
    box-shadow: 0 15px 40px rgba(129, 140, 248, 0.6);
}

.action-btn:hover::after {
    opacity: 1;
    transform: scale(1);
}

.action-btn:active {
    transform: translateY(0);
}

.loader {
    width: 20px;
    height: 20px;
    border: 3px solid rgba(255,255,255,0.3);
    border-radius: 50%;
    border-top-color: white;
    animation: spin 1s ease-in-out infinite;
}

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

.footer-text {
    color: rgba(156, 163, 175, 0.5);
    font-size: 0.875rem;
}

/* Animations */
.fade-in {
    opacity: 0;
    transform: translateY(20px);
    animation: fadeIn 0.6s cubic-bezier(0.4, 0, 0.2, 1) forwards;
    animation-delay: var(--delay);
}

@keyframes fadeIn {
    to {
        opacity: 1;
        transform: translateY(0);
    }
}

@media (max-width: 768px) {
    .title {
        font-size: 2.5rem;
    }
    .container {
        padding: 2rem 1rem;
    }
    .card {
        padding: 1.5rem;
    }
}
