* {
    padding: 0;
    margin: 0;
    box-sizing: border-box;
    font-family: 'Segoe UI', Tahoma, Geneva, Verdana, sans-serif;
}

body {
    background: linear-gradient(135deg, #1f1c2c, #928dab);
    color: #ffffff;
    min-height: 100vh;
    display: flex;
    justify-content: center;
    align-items: center;
}

.container {
    width: 85%;
    max-width: 1200px;
    margin: auto;
    padding: 30px;
    background: linear-gradient(145deg, #ffffff, #f3f3f3);
    box-shadow: 0 12px 30px rgba(0, 0, 0, 0.25);
    border-radius: 16px;
    color: #333;
    transition: 0.3s ease-in-out;
}

h1 {
    text-align: center;
    margin-bottom: 30px;
    font-size: 2.5rem;
    font-weight: 900;
    color: #1f1c2c;
}

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

.user-input-container {
    display: flex;
    justify-content: space-between;
    align-items: center;
}

#user-input {
    width: 75%;
    padding: 12px 16px;
    border: 2px solid #ccc;
    border-radius: 6px;
    font-size: 1rem;
    outline: none;
    transition: 0.2s ease-in-out;
}

#user-input:focus {
    border-color: #5f27cd;
    box-shadow: 0 0 8px rgba(95, 39, 205, 0.2);
}

#search-btn {
    padding: 12px 24px;
    background: linear-gradient(to right, #43e97b, #38f9d7);
    color: #fff;
    font-weight: bold;
    border: none;
    border-radius: 6px;
    cursor: pointer;
    transition: background 0.3s ease;
}

#search-btn:hover {
    background: linear-gradient(to right, #38f9d7, #43e97b);
}

.progress {
    display: flex;
    justify-content: space-around;
    align-items: center;
    flex-wrap: wrap;
    gap: 20px;
    margin-top: 2rem;
}

.circle {
    width: 140px;
    height: 140px;
    border-radius: 50%;
    position: relative;
    display: flex;
    justify-content: center;
    align-items: center;
    font-size: 18px;
    font-weight: bold;
    color: #fff;
    text-align: center;
    flex-direction: column;
    box-shadow: 0 6px 20px rgba(0,0,0,0.2);
    transition: transform 0.2s ease-in-out;
}

.circle:hover {
    transform: scale(1.05);
}

.easy-progress {
    background: conic-gradient(#43e97b var(--progress-degree, 0%), #1f4037 0%);
    border: 4px solid #43e97b;
}

.medium-progress {
    background: conic-gradient(#f7971e var(--progress-degree, 0%), #ffd200 0%);
    border: 4px solid #f7971e;
}

.hard-progress {
   background: conic-gradient(#ff4d4f var(--progress-degree, 0%), #8b0000 0%);
    border: 4px solid #ff4d4f;
}

.circle span {
    position: relative;
    z-index: 2;
}

.stats-card {
    margin: 30px;
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(180px, 1fr));
    gap: 20px;
    justify-items: center;
}


.card {
    background: linear-gradient(135deg, #ffffff, #f2f2f2);
    color: #333;
    padding: 20px 24px;
    border-radius: 12px;
    box-shadow: 0 6px 18px rgba(0,0,0,0.1);
    width: 220px;
    text-align: center;
    transition: transform 0.3s ease-in-out;
}

.card:hover {
    transform: translateY(-5px);
}

.card h4 {
    font-size: 1.2rem;
    margin-bottom: 10px;
    color: #5f27cd;
}

.card p {
    font-size: 1.1rem;
    font-weight: 600;
}
