.achievements-app { max-width: 800px; margin: 0 auto; padding: 20px; padding-top: 40px; }
.hero-section { margin-bottom: 30px; }

.achievements-grid {
    display: grid;
    grid-template-columns: repeat(auto-fit, minmax(280px, 1fr));
    gap: 15px;
    margin-bottom: 40px;
}

.ach-card {
    background: rgba(30, 41, 59, 0.7);
    padding: 20px;
    border-radius: 16px;
    border: 1px solid rgba(255, 255, 255, 0.05);
    display: flex;
    flex-direction: column;
    position: relative;
    overflow: hidden;
    transition: all 0.3s ease;
}

.ach-card.unlocked {
    background: linear-gradient(135deg, rgba(34, 197, 94, 0.1), rgba(30, 41, 59, 0.8));
    border: 1px solid #22c55e;
    box-shadow: 0 4px 15px rgba(34, 197, 94, 0.1);
}

.ach-header {
    display: flex;
    justify-content: space-between;
    align-items: center;
    margin-bottom: 8px;
}

.ach-title {
    color: #fff;
    font-size: 1.1rem;
    font-weight: 700;
}

.ach-icon { font-size: 1.5rem; }

.ach-desc {
    color: #94a3b8;
    font-size: 0.85rem;
    margin-bottom: 15px;
    flex-grow: 1;
}

/* Progress Bar Design */
.progress-bar-bg {
    height: 8px;
    background: #334155;
    border-radius: 4px;
    margin-bottom: 8px;
    overflow: hidden;
    position: relative;
}

.progress-fill {
    height: 100%;
    background: linear-gradient(90deg, #3b82f6, #8b5cf6);
    border-radius: 4px;
    transition: width 1s ease-in-out;
}

.ach-card.unlocked .progress-fill { background: linear-gradient(90deg, #22c55e, #10b981); }

.progress-text {
    font-size: 0.75rem;
    color: #cbd5e1;
    text-align: right;
    font-weight: 600;
}
