* {
    margin: 0;
    padding: 0;
    box-sizing: border-box;
    font-family: "Consolas", "Courier New", monospace;
}

body {
    background: #0d0d0d;
    color: #00ff9c;
    height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    display: flex;
    flex-direction: column;
    gap: 1.4rem;
    background: rgba(0, 0, 0, 0.55);
    padding: 30px;
    border-radius: 12px;
    width: 50%;
    max-width: 650px;
    border: 2px solid rgba(0, 255, 140, 0.3);
    box-shadow: 0 0 18px rgba(0, 255, 140, 0.4);
}

h1 {
    text-align: center;
    font-size: 2.5rem;
    color: #00ffcc;
    text-shadow: 0 0 8px #00ffcc;
}

.user-container {
    display: flex;
    flex-direction: column;
    gap: 12px;
}

.user-input-container {
    display: flex;
    gap: 10px;
}

#user-input {
    width: 80%;
    padding: 0.7rem;
    border-radius: 6px;
    border: 2px solid #0aff9d;
    background: #1a1a1a;
    color: #00ffcc;
    font-size: 1rem;
    outline: none;
    transition: 0.3s;
}

#user-input:focus {
    border-color: #12fcb8;
    box-shadow: 0 0 8px #12fcb8;
}

#search-btn {
    padding: 0.7rem 1rem;
    border-radius: 6px;
    border: 2px solid #00ffe0;
    background: #000;
    cursor: pointer;
    color: #00ffe0;
    font-weight: 700;
    text-shadow: 0 0 5px #00ffe0;
    transition: 0.3s;
}

#search-btn:hover {
    transform: scale(1.08);
    background: #00ffe0;
    color: #000;
    text-shadow: none;
}

.circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    border: 3px solid #0aff9d;
    display: flex;
    flex-direction: column;
    justify-content: center;
    align-items: center;
    background: conic-gradient(#00ff88 var(--progress-degree, 0%), #003322 0%);
    color: #00ffcc;
    font-size: 1.1rem;
    font-weight: 700;
}

.circle p {
    font-size: 0.9rem;
    margin-top: 5px;
    opacity: 0.8;
}

.progress {
    display: flex;
    justify-content: space-evenly;
    flex-wrap: wrap;
    gap: 15px;
}

.stats-cards {
    margin-top: 2rem;
    margin-bottom: 1rem;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(220px, 1fr));
    gap: 20px;
}

.stat-card {
    background: rgba(0, 0, 0, 0.65);
    border: 2px solid rgba(0, 255, 170, 0.35);
    border-radius: 14px;
    padding: 20px;
    text-align: center;
    color: #00ffcc;
    position: relative;
    overflow: hidden;
    backdrop-filter: blur(10px);
    box-shadow: 0 0 14px rgba(0, 255, 170, 0.25);
    transition: transform 0.3s ease, box-shadow 0.3s ease;
    animation: glowPulse 3s infinite ease-in-out;
}

.stat-card:hover {
    transform: translateY(-6px) scale(1.03);
    box-shadow: 0 0 12px rgba(0, 255, 170, 0.6), 0 0 28px rgba(0, 255, 170, 0.35), inset 0 0 12px rgba(0, 255, 170, 0.2);
}

.stat-card h4 {
    font-size: 0.85rem;
    font-weight: 600;
    letter-spacing: 1px;
    margin-bottom: 10px;
    color: #00ffaa;
    text-transform: uppercase;
    text-shadow: 0 0 6px rgba(0, 255, 170, 0.6);
}

.stat-card p {
    font-size: 2.2rem;
    font-weight: 800;
    color: #ffffff;
    text-shadow: 0 0 10px rgba(0, 255, 170, 0.8);
}

.stat-card::after {
    content: "";
    position: absolute;
    inset: 0;
    background: repeating-linear-gradient(to bottom, rgba(0, 255, 170, 0.05), rgba(0, 255, 170, 0.05) 1px, transparent 1px, transparent 4px);
    pointer-events: none;
}

@keyframes glowPulse {
    0% {
        box-shadow: 0 0 8px rgba(0, 255, 170, 0.25);
    }
    50% {
        box-shadow: 0 0 20px rgba(0, 255, 170, 0.55);
    }
    100% {
        box-shadow: 0 0 8px rgba(0, 255, 170, 0.25);
    }
}
